aix: Add AIX 7.3 configuration and SPDX License Identifiers.
[official-gcc.git] / libstdc++-v3 / configure
blob6f08b65c8ba769413a5f94ab3e6d0f6a4ef58982
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
2704 cat >config.log <<_ACEOF
2705 This file contains any messages produced by compilers while
2706 running configure, to aid debugging if configure makes a mistake.
2708 It was created by package-unused $as_me version-unused, which was
2709 generated by GNU Autoconf 2.69. Invocation command line was
2711 $ $0 $@
2713 _ACEOF
2714 exec 5>>config.log
2716 cat <<_ASUNAME
2717 ## --------- ##
2718 ## Platform. ##
2719 ## --------- ##
2721 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2722 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2723 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2724 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2725 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2727 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2728 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2730 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2731 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2732 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2733 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2734 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2735 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2736 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2738 _ASUNAME
2740 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2741 for as_dir in $PATH
2743 IFS=$as_save_IFS
2744 test -z "$as_dir" && as_dir=.
2745 $as_echo "PATH: $as_dir"
2746 done
2747 IFS=$as_save_IFS
2749 } >&5
2751 cat >&5 <<_ACEOF
2754 ## ----------- ##
2755 ## Core tests. ##
2756 ## ----------- ##
2758 _ACEOF
2761 # Keep a trace of the command line.
2762 # Strip out --no-create and --no-recursion so they do not pile up.
2763 # Strip out --silent because we don't want to record it for future runs.
2764 # Also quote any args containing shell meta-characters.
2765 # Make two passes to allow for proper duplicate-argument suppression.
2766 ac_configure_args=
2767 ac_configure_args0=
2768 ac_configure_args1=
2769 ac_must_keep_next=false
2770 for ac_pass in 1 2
2772 for ac_arg
2774 case $ac_arg in
2775 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2776 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2777 | -silent | --silent | --silen | --sile | --sil)
2778 continue ;;
2779 *\'*)
2780 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2781 esac
2782 case $ac_pass in
2783 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2785 as_fn_append ac_configure_args1 " '$ac_arg'"
2786 if test $ac_must_keep_next = true; then
2787 ac_must_keep_next=false # Got value, back to normal.
2788 else
2789 case $ac_arg in
2790 *=* | --config-cache | -C | -disable-* | --disable-* \
2791 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2792 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2793 | -with-* | --with-* | -without-* | --without-* | --x)
2794 case "$ac_configure_args0 " in
2795 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2796 esac
2798 -* ) ac_must_keep_next=true ;;
2799 esac
2801 as_fn_append ac_configure_args " '$ac_arg'"
2803 esac
2804 done
2805 done
2806 { ac_configure_args0=; unset ac_configure_args0;}
2807 { ac_configure_args1=; unset ac_configure_args1;}
2809 # When interrupted or exit'd, cleanup temporary files, and complete
2810 # config.log. We remove comments because anyway the quotes in there
2811 # would cause problems or look ugly.
2812 # WARNING: Use '\'' to represent an apostrophe within the trap.
2813 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2814 trap 'exit_status=$?
2815 # Save into config.log some information that might help in debugging.
2817 echo
2819 $as_echo "## ---------------- ##
2820 ## Cache variables. ##
2821 ## ---------------- ##"
2822 echo
2823 # The following way of writing the cache mishandles newlines in values,
2825 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2826 eval ac_val=\$$ac_var
2827 case $ac_val in #(
2828 *${as_nl}*)
2829 case $ac_var in #(
2830 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2831 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2832 esac
2833 case $ac_var in #(
2834 _ | IFS | as_nl) ;; #(
2835 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2836 *) { eval $ac_var=; unset $ac_var;} ;;
2837 esac ;;
2838 esac
2839 done
2840 (set) 2>&1 |
2841 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2842 *${as_nl}ac_space=\ *)
2843 sed -n \
2844 "s/'\''/'\''\\\\'\'''\''/g;
2845 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2846 ;; #(
2848 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2850 esac |
2851 sort
2853 echo
2855 $as_echo "## ----------------- ##
2856 ## Output variables. ##
2857 ## ----------------- ##"
2858 echo
2859 for ac_var in $ac_subst_vars
2861 eval ac_val=\$$ac_var
2862 case $ac_val in
2863 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2864 esac
2865 $as_echo "$ac_var='\''$ac_val'\''"
2866 done | sort
2867 echo
2869 if test -n "$ac_subst_files"; then
2870 $as_echo "## ------------------- ##
2871 ## File substitutions. ##
2872 ## ------------------- ##"
2873 echo
2874 for ac_var in $ac_subst_files
2876 eval ac_val=\$$ac_var
2877 case $ac_val in
2878 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2879 esac
2880 $as_echo "$ac_var='\''$ac_val'\''"
2881 done | sort
2882 echo
2885 if test -s confdefs.h; then
2886 $as_echo "## ----------- ##
2887 ## confdefs.h. ##
2888 ## ----------- ##"
2889 echo
2890 cat confdefs.h
2891 echo
2893 test "$ac_signal" != 0 &&
2894 $as_echo "$as_me: caught signal $ac_signal"
2895 $as_echo "$as_me: exit $exit_status"
2896 } >&5
2897 rm -f core *.core core.conftest.* &&
2898 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2899 exit $exit_status
2901 for ac_signal in 1 2 13 15; do
2902 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2903 done
2904 ac_signal=0
2906 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2907 rm -f -r conftest* confdefs.h
2909 $as_echo "/* confdefs.h */" > confdefs.h
2911 # Predefined preprocessor variables.
2913 cat >>confdefs.h <<_ACEOF
2914 #define PACKAGE_NAME "$PACKAGE_NAME"
2915 _ACEOF
2917 cat >>confdefs.h <<_ACEOF
2918 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2919 _ACEOF
2921 cat >>confdefs.h <<_ACEOF
2922 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2923 _ACEOF
2925 cat >>confdefs.h <<_ACEOF
2926 #define PACKAGE_STRING "$PACKAGE_STRING"
2927 _ACEOF
2929 cat >>confdefs.h <<_ACEOF
2930 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2931 _ACEOF
2933 cat >>confdefs.h <<_ACEOF
2934 #define PACKAGE_URL "$PACKAGE_URL"
2935 _ACEOF
2938 # Let the site file select an alternate cache file if it wants to.
2939 # Prefer an explicitly selected file to automatically selected ones.
2940 ac_site_file1=NONE
2941 ac_site_file2=NONE
2942 if test -n "$CONFIG_SITE"; then
2943 # We do not want a PATH search for config.site.
2944 case $CONFIG_SITE in #((
2945 -*) ac_site_file1=./$CONFIG_SITE;;
2946 */*) ac_site_file1=$CONFIG_SITE;;
2947 *) ac_site_file1=./$CONFIG_SITE;;
2948 esac
2949 elif test "x$prefix" != xNONE; then
2950 ac_site_file1=$prefix/share/config.site
2951 ac_site_file2=$prefix/etc/config.site
2952 else
2953 ac_site_file1=$ac_default_prefix/share/config.site
2954 ac_site_file2=$ac_default_prefix/etc/config.site
2956 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2958 test "x$ac_site_file" = xNONE && continue
2959 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2960 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2961 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2962 sed 's/^/| /' "$ac_site_file" >&5
2963 . "$ac_site_file" \
2964 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2965 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2966 as_fn_error $? "failed to load site script $ac_site_file
2967 See \`config.log' for more details" "$LINENO" 5; }
2969 done
2971 if test -r "$cache_file"; then
2972 # Some versions of bash will fail to source /dev/null (special files
2973 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2974 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2975 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2976 $as_echo "$as_me: loading cache $cache_file" >&6;}
2977 case $cache_file in
2978 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2979 *) . "./$cache_file";;
2980 esac
2982 else
2983 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2984 $as_echo "$as_me: creating cache $cache_file" >&6;}
2985 >$cache_file
2988 # Check that the precious variables saved in the cache have kept the same
2989 # value.
2990 ac_cache_corrupted=false
2991 for ac_var in $ac_precious_vars; do
2992 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2993 eval ac_new_set=\$ac_env_${ac_var}_set
2994 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2995 eval ac_new_val=\$ac_env_${ac_var}_value
2996 case $ac_old_set,$ac_new_set in
2997 set,)
2998 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2999 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3000 ac_cache_corrupted=: ;;
3001 ,set)
3002 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3003 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3004 ac_cache_corrupted=: ;;
3005 ,);;
3007 if test "x$ac_old_val" != "x$ac_new_val"; then
3008 # differences in whitespace do not lead to failure.
3009 ac_old_val_w=`echo x $ac_old_val`
3010 ac_new_val_w=`echo x $ac_new_val`
3011 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3012 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3013 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3014 ac_cache_corrupted=:
3015 else
3016 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3017 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3018 eval $ac_var=\$ac_old_val
3020 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3021 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3022 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3023 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3024 fi;;
3025 esac
3026 # Pass precious variables to config.status.
3027 if test "$ac_new_set" = set; then
3028 case $ac_new_val in
3029 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3030 *) ac_arg=$ac_var=$ac_new_val ;;
3031 esac
3032 case " $ac_configure_args " in
3033 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3034 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3035 esac
3037 done
3038 if $ac_cache_corrupted; then
3039 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3040 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3041 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3042 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3043 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3045 ## -------------------- ##
3046 ## Main body of script. ##
3047 ## -------------------- ##
3049 ac_ext=c
3050 ac_cpp='$CPP $CPPFLAGS'
3051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3060 ac_config_headers="$ac_config_headers config.h"
3063 # This works around the fact that libtool configuration may change LD
3064 # for this particular configuration, but some shells, instead of
3065 # keeping the changes in LD private, export them just because LD is
3066 # exported. Only used at the end of this file.
3067 ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD
3069 # Find the rest of the source tree framework.
3070 # Default to --enable-multilib
3071 # Check whether --enable-multilib was given.
3072 if test "${enable_multilib+set}" = set; then :
3073 enableval=$enable_multilib; case "$enableval" in
3074 yes) multilib=yes ;;
3075 no) multilib=no ;;
3076 *) as_fn_error $? "bad value $enableval for multilib option" "$LINENO" 5 ;;
3077 esac
3078 else
3079 multilib=yes
3083 # We may get other options which we leave undocumented:
3084 # --with-target-subdir, --with-multisrctop, --with-multisubdir
3085 # See config-ml.in if you want the gory details.
3087 if test "$srcdir" = "."; then
3088 if test "$with_target_subdir" != "."; then
3089 multi_basedir="$srcdir/$with_multisrctop../.."
3090 else
3091 multi_basedir="$srcdir/$with_multisrctop.."
3093 else
3094 multi_basedir="$srcdir/.."
3098 # Even if the default multilib is not a cross compilation,
3099 # it may be that some of the other multilibs are.
3100 if test $cross_compiling = no && test $multilib = yes \
3101 && test "x${with_multisubdir}" != x ; then
3102 cross_compiling=maybe
3105 ac_config_commands="$ac_config_commands default-1"
3108 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
3110 # You will slowly go insane if you do not grok the following fact: when
3111 # building v3 as part of the compiler, the top-level /target/ becomes the
3112 # library's /host/. configure then causes --target to default to --host,
3113 # exactly like any other package using autoconf. Therefore, 'target' and
3114 # 'host' will always be the same. This makes sense both for native and
3115 # cross compilers, just think about it for a little while. :-)
3117 # Also, if v3 is being configured as part of a cross compiler, the top-level
3118 # configure script will pass the "real" host as $with_cross_host.
3120 # Do not delete or change the following two lines. For why, see
3121 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
3122 ac_aux_dir=
3123 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3124 if test -f "$ac_dir/install-sh"; then
3125 ac_aux_dir=$ac_dir
3126 ac_install_sh="$ac_aux_dir/install-sh -c"
3127 break
3128 elif test -f "$ac_dir/install.sh"; then
3129 ac_aux_dir=$ac_dir
3130 ac_install_sh="$ac_aux_dir/install.sh -c"
3131 break
3132 elif test -f "$ac_dir/shtool"; then
3133 ac_aux_dir=$ac_dir
3134 ac_install_sh="$ac_aux_dir/shtool install -c"
3135 break
3137 done
3138 if test -z "$ac_aux_dir"; then
3139 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3142 # These three variables are undocumented and unsupported,
3143 # and are intended to be withdrawn in a future Autoconf release.
3144 # They can cause serious problems if a builder's source tree is in a directory
3145 # whose full name contains unusual characters.
3146 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3147 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3148 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3151 # Make sure we can run config.sub.
3152 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3153 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3156 $as_echo_n "checking build system type... " >&6; }
3157 if ${ac_cv_build+:} false; then :
3158 $as_echo_n "(cached) " >&6
3159 else
3160 ac_build_alias=$build_alias
3161 test "x$ac_build_alias" = x &&
3162 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3163 test "x$ac_build_alias" = x &&
3164 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3165 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3166 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3170 $as_echo "$ac_cv_build" >&6; }
3171 case $ac_cv_build in
3172 *-*-*) ;;
3173 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3174 esac
3175 build=$ac_cv_build
3176 ac_save_IFS=$IFS; IFS='-'
3177 set x $ac_cv_build
3178 shift
3179 build_cpu=$1
3180 build_vendor=$2
3181 shift; shift
3182 # Remember, the first character of IFS is used to create $*,
3183 # except with old shells:
3184 build_os=$*
3185 IFS=$ac_save_IFS
3186 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3190 $as_echo_n "checking host system type... " >&6; }
3191 if ${ac_cv_host+:} false; then :
3192 $as_echo_n "(cached) " >&6
3193 else
3194 if test "x$host_alias" = x; then
3195 ac_cv_host=$ac_cv_build
3196 else
3197 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3198 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3203 $as_echo "$ac_cv_host" >&6; }
3204 case $ac_cv_host in
3205 *-*-*) ;;
3206 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3207 esac
3208 host=$ac_cv_host
3209 ac_save_IFS=$IFS; IFS='-'
3210 set x $ac_cv_host
3211 shift
3212 host_cpu=$1
3213 host_vendor=$2
3214 shift; shift
3215 # Remember, the first character of IFS is used to create $*,
3216 # except with old shells:
3217 host_os=$*
3218 IFS=$ac_save_IFS
3219 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
3223 $as_echo_n "checking target system type... " >&6; }
3224 if ${ac_cv_target+:} false; then :
3225 $as_echo_n "(cached) " >&6
3226 else
3227 if test "x$target_alias" = x; then
3228 ac_cv_target=$ac_cv_host
3229 else
3230 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
3231 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
3235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
3236 $as_echo "$ac_cv_target" >&6; }
3237 case $ac_cv_target in
3238 *-*-*) ;;
3239 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
3240 esac
3241 target=$ac_cv_target
3242 ac_save_IFS=$IFS; IFS='-'
3243 set x $ac_cv_target
3244 shift
3245 target_cpu=$1
3246 target_vendor=$2
3247 shift; shift
3248 # Remember, the first character of IFS is used to create $*,
3249 # except with old shells:
3250 target_os=$*
3251 IFS=$ac_save_IFS
3252 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
3255 # The aliases save the names the user supplied, while $host etc.
3256 # will get canonicalized.
3257 test -n "$target_alias" &&
3258 test "$program_prefix$program_suffix$program_transform_name" = \
3259 NONENONEs,x,x, &&
3260 program_prefix=${target_alias}-
3262 target_alias=${target_alias-$host_alias}
3264 # Handy for debugging:
3265 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3267 if test "$build" != "$host"; then
3268 # We are being configured with some form of cross compiler.
3269 GLIBCXX_IS_NATIVE=false
3270 case "$host","$target" in
3271 # Darwin crosses can use the host system's libraries and headers,
3272 # because of the fat library support. Of course, it must be the
3273 # same version of Darwin on both sides. Allow the user to
3274 # just say --target=foo-darwin without a version number to mean
3275 # "the version on this system".
3276 *-*-darwin*,*-*-darwin*)
3277 hostos=`echo $host | sed 's/.*-darwin/darwin/'`
3278 targetos=`echo $target | sed 's/.*-darwin/darwin/'`
3279 if test $hostos = $targetos -o $targetos = darwin ; then
3280 GLIBCXX_IS_NATIVE=true
3287 esac
3288 else
3289 GLIBCXX_IS_NATIVE=true
3292 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
3293 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
3294 # 1.x: minimum required version
3295 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
3296 # of other PACKAGE_* variables will, however, and there's nothing
3297 # we can do about that; they come from AC_INIT).
3298 # foreign: we don't follow the normal rules for GNU packages (no COPYING
3299 # file in the top srcdir, etc, etc), so stop complaining.
3300 # no-dependencies: turns off auto dependency generation (just for now)
3301 # no-dist: we don't want 'dist' and related rules.
3302 # -Wall: turns on all automake warnings...
3303 # -Wno-portability: ...except this one, since GNU make is now required.
3304 am__api_version='1.15'
3306 # Find a good install program. We prefer a C program (faster),
3307 # so one script is as good as another. But avoid the broken or
3308 # incompatible versions:
3309 # SysV /etc/install, /usr/sbin/install
3310 # SunOS /usr/etc/install
3311 # IRIX /sbin/install
3312 # AIX /bin/install
3313 # AmigaOS /C/install, which installs bootblocks on floppy discs
3314 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3315 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3316 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3317 # OS/2's system install, which has a completely different semantic
3318 # ./install, which can be erroneously created by make from ./install.sh.
3319 # Reject install programs that cannot install multiple files.
3320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3321 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3322 if test -z "$INSTALL"; then
3323 if ${ac_cv_path_install+:} false; then :
3324 $as_echo_n "(cached) " >&6
3325 else
3326 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3327 for as_dir in $PATH
3329 IFS=$as_save_IFS
3330 test -z "$as_dir" && as_dir=.
3331 # Account for people who put trailing slashes in PATH elements.
3332 case $as_dir/ in #((
3333 ./ | .// | /[cC]/* | \
3334 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3335 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3336 /usr/ucb/* ) ;;
3338 # OSF1 and SCO ODT 3.0 have their own names for install.
3339 # Don't use installbsd from OSF since it installs stuff as root
3340 # by default.
3341 for ac_prog in ginstall scoinst install; do
3342 for ac_exec_ext in '' $ac_executable_extensions; do
3343 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3344 if test $ac_prog = install &&
3345 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3346 # AIX install. It has an incompatible calling convention.
3348 elif test $ac_prog = install &&
3349 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3350 # program-specific install script used by HP pwplus--don't use.
3352 else
3353 rm -rf conftest.one conftest.two conftest.dir
3354 echo one > conftest.one
3355 echo two > conftest.two
3356 mkdir conftest.dir
3357 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3358 test -s conftest.one && test -s conftest.two &&
3359 test -s conftest.dir/conftest.one &&
3360 test -s conftest.dir/conftest.two
3361 then
3362 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3363 break 3
3367 done
3368 done
3370 esac
3372 done
3373 IFS=$as_save_IFS
3375 rm -rf conftest.one conftest.two conftest.dir
3378 if test "${ac_cv_path_install+set}" = set; then
3379 INSTALL=$ac_cv_path_install
3380 else
3381 # As a last resort, use the slow shell script. Don't cache a
3382 # value for INSTALL within a source directory, because that will
3383 # break other packages using the cache if that directory is
3384 # removed, or if the value is a relative name.
3385 INSTALL=$ac_install_sh
3388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3389 $as_echo "$INSTALL" >&6; }
3391 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3392 # It thinks the first close brace ends the variable substitution.
3393 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3395 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3397 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3400 $as_echo_n "checking whether build environment is sane... " >&6; }
3401 # Reject unsafe characters in $srcdir or the absolute working directory
3402 # name. Accept space and tab only in the latter.
3403 am_lf='
3405 case `pwd` in
3406 *[\\\"\#\$\&\'\`$am_lf]*)
3407 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
3408 esac
3409 case $srcdir in
3410 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3411 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
3412 esac
3414 # Do 'set' in a subshell so we don't clobber the current shell's
3415 # arguments. Must try -L first in case configure is actually a
3416 # symlink; some systems play weird games with the mod time of symlinks
3417 # (eg FreeBSD returns the mod time of the symlink's containing
3418 # directory).
3419 if (
3420 am_has_slept=no
3421 for am_try in 1 2; do
3422 echo "timestamp, slept: $am_has_slept" > conftest.file
3423 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3424 if test "$*" = "X"; then
3425 # -L didn't work.
3426 set X `ls -t "$srcdir/configure" conftest.file`
3428 if test "$*" != "X $srcdir/configure conftest.file" \
3429 && test "$*" != "X conftest.file $srcdir/configure"; then
3431 # If neither matched, then we have a broken ls. This can happen
3432 # if, for instance, CONFIG_SHELL is bash and it inherits a
3433 # broken ls alias from the environment. This has actually
3434 # happened. Such a system could not be considered "sane".
3435 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
3436 alias in your environment" "$LINENO" 5
3438 if test "$2" = conftest.file || test $am_try -eq 2; then
3439 break
3441 # Just in case.
3442 sleep 1
3443 am_has_slept=yes
3444 done
3445 test "$2" = conftest.file
3447 then
3448 # Ok.
3450 else
3451 as_fn_error $? "newly created file is older than distributed files!
3452 Check your system clock" "$LINENO" 5
3454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3455 $as_echo "yes" >&6; }
3456 # If we didn't sleep, we still need to ensure time stamps of config.status and
3457 # generated files are strictly newer.
3458 am_sleep_pid=
3459 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
3460 ( sleep 1 ) &
3461 am_sleep_pid=$!
3464 rm -f conftest.file
3466 test "$program_prefix" != NONE &&
3467 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3468 # Use a double $ so make ignores it.
3469 test "$program_suffix" != NONE &&
3470 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3471 # Double any \ or $.
3472 # By default was `s,x,x', remove it if useless.
3473 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3474 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3476 # Expand $ac_aux_dir to an absolute path.
3477 am_aux_dir=`cd "$ac_aux_dir" && pwd`
3479 if test x"${MISSING+set}" != xset; then
3480 case $am_aux_dir in
3481 *\ * | *\ *)
3482 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3484 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3485 esac
3487 # Use eval to expand $SHELL
3488 if eval "$MISSING --is-lightweight"; then
3489 am_missing_run="$MISSING "
3490 else
3491 am_missing_run=
3492 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
3493 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
3496 if test x"${install_sh+set}" != xset; then
3497 case $am_aux_dir in
3498 *\ * | *\ *)
3499 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3501 install_sh="\${SHELL} $am_aux_dir/install-sh"
3502 esac
3505 # Installed binaries are usually stripped using 'strip' when the user
3506 # run "make install-strip". However 'strip' might not be the right
3507 # tool to use in cross-compilation environments, therefore Automake
3508 # will honor the 'STRIP' environment variable to overrule this program.
3509 if test "$cross_compiling" != no; then
3510 if test -n "$ac_tool_prefix"; then
3511 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3512 set dummy ${ac_tool_prefix}strip; ac_word=$2
3513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3514 $as_echo_n "checking for $ac_word... " >&6; }
3515 if ${ac_cv_prog_STRIP+:} false; then :
3516 $as_echo_n "(cached) " >&6
3517 else
3518 if test -n "$STRIP"; then
3519 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3520 else
3521 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3522 for as_dir in $PATH
3524 IFS=$as_save_IFS
3525 test -z "$as_dir" && as_dir=.
3526 for ac_exec_ext in '' $ac_executable_extensions; do
3527 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3528 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3529 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3530 break 2
3532 done
3533 done
3534 IFS=$as_save_IFS
3538 STRIP=$ac_cv_prog_STRIP
3539 if test -n "$STRIP"; then
3540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3541 $as_echo "$STRIP" >&6; }
3542 else
3543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3544 $as_echo "no" >&6; }
3549 if test -z "$ac_cv_prog_STRIP"; then
3550 ac_ct_STRIP=$STRIP
3551 # Extract the first word of "strip", so it can be a program name with args.
3552 set dummy strip; ac_word=$2
3553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3554 $as_echo_n "checking for $ac_word... " >&6; }
3555 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
3556 $as_echo_n "(cached) " >&6
3557 else
3558 if test -n "$ac_ct_STRIP"; then
3559 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3560 else
3561 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3562 for as_dir in $PATH
3564 IFS=$as_save_IFS
3565 test -z "$as_dir" && as_dir=.
3566 for ac_exec_ext in '' $ac_executable_extensions; do
3567 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3568 ac_cv_prog_ac_ct_STRIP="strip"
3569 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3570 break 2
3572 done
3573 done
3574 IFS=$as_save_IFS
3578 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3579 if test -n "$ac_ct_STRIP"; then
3580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3581 $as_echo "$ac_ct_STRIP" >&6; }
3582 else
3583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3584 $as_echo "no" >&6; }
3587 if test "x$ac_ct_STRIP" = x; then
3588 STRIP=":"
3589 else
3590 case $cross_compiling:$ac_tool_warned in
3591 yes:)
3592 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3593 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3594 ac_tool_warned=yes ;;
3595 esac
3596 STRIP=$ac_ct_STRIP
3598 else
3599 STRIP="$ac_cv_prog_STRIP"
3603 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3606 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3607 if test -z "$MKDIR_P"; then
3608 if ${ac_cv_path_mkdir+:} false; then :
3609 $as_echo_n "(cached) " >&6
3610 else
3611 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3612 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3614 IFS=$as_save_IFS
3615 test -z "$as_dir" && as_dir=.
3616 for ac_prog in mkdir gmkdir; do
3617 for ac_exec_ext in '' $ac_executable_extensions; do
3618 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
3619 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3620 'mkdir (GNU coreutils) '* | \
3621 'mkdir (coreutils) '* | \
3622 'mkdir (fileutils) '4.1*)
3623 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3624 break 3;;
3625 esac
3626 done
3627 done
3628 done
3629 IFS=$as_save_IFS
3633 test -d ./--version && rmdir ./--version
3634 if test "${ac_cv_path_mkdir+set}" = set; then
3635 MKDIR_P="$ac_cv_path_mkdir -p"
3636 else
3637 # As a last resort, use the slow shell script. Don't cache a
3638 # value for MKDIR_P within a source directory, because that will
3639 # break other packages using the cache if that directory is
3640 # removed, or if the value is a relative name.
3641 MKDIR_P="$ac_install_sh -d"
3644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3645 $as_echo "$MKDIR_P" >&6; }
3647 for ac_prog in gawk mawk nawk awk
3649 # Extract the first word of "$ac_prog", so it can be a program name with args.
3650 set dummy $ac_prog; ac_word=$2
3651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3652 $as_echo_n "checking for $ac_word... " >&6; }
3653 if ${ac_cv_prog_AWK+:} false; then :
3654 $as_echo_n "(cached) " >&6
3655 else
3656 if test -n "$AWK"; then
3657 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3658 else
3659 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3660 for as_dir in $PATH
3662 IFS=$as_save_IFS
3663 test -z "$as_dir" && as_dir=.
3664 for ac_exec_ext in '' $ac_executable_extensions; do
3665 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3666 ac_cv_prog_AWK="$ac_prog"
3667 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3668 break 2
3670 done
3671 done
3672 IFS=$as_save_IFS
3676 AWK=$ac_cv_prog_AWK
3677 if test -n "$AWK"; then
3678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3679 $as_echo "$AWK" >&6; }
3680 else
3681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3682 $as_echo "no" >&6; }
3686 test -n "$AWK" && break
3687 done
3689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3690 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3691 set x ${MAKE-make}
3692 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3693 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3694 $as_echo_n "(cached) " >&6
3695 else
3696 cat >conftest.make <<\_ACEOF
3697 SHELL = /bin/sh
3698 all:
3699 @echo '@@@%%%=$(MAKE)=@@@%%%'
3700 _ACEOF
3701 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3702 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3703 *@@@%%%=?*=@@@%%%*)
3704 eval ac_cv_prog_make_${ac_make}_set=yes;;
3706 eval ac_cv_prog_make_${ac_make}_set=no;;
3707 esac
3708 rm -f conftest.make
3710 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3712 $as_echo "yes" >&6; }
3713 SET_MAKE=
3714 else
3715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3716 $as_echo "no" >&6; }
3717 SET_MAKE="MAKE=${MAKE-make}"
3720 rm -rf .tst 2>/dev/null
3721 mkdir .tst 2>/dev/null
3722 if test -d .tst; then
3723 am__leading_dot=.
3724 else
3725 am__leading_dot=_
3727 rmdir .tst 2>/dev/null
3729 # Check whether --enable-silent-rules was given.
3730 if test "${enable_silent_rules+set}" = set; then :
3731 enableval=$enable_silent_rules;
3734 case $enable_silent_rules in # (((
3735 yes) AM_DEFAULT_VERBOSITY=0;;
3736 no) AM_DEFAULT_VERBOSITY=1;;
3737 *) AM_DEFAULT_VERBOSITY=1;;
3738 esac
3739 am_make=${MAKE-make}
3740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3741 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3742 if ${am_cv_make_support_nested_variables+:} false; then :
3743 $as_echo_n "(cached) " >&6
3744 else
3745 if $as_echo 'TRUE=$(BAR$(V))
3746 BAR0=false
3747 BAR1=true
3749 am__doit:
3750 @$(TRUE)
3751 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3752 am_cv_make_support_nested_variables=yes
3753 else
3754 am_cv_make_support_nested_variables=no
3757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3758 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3759 if test $am_cv_make_support_nested_variables = yes; then
3760 AM_V='$(V)'
3761 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3762 else
3763 AM_V=$AM_DEFAULT_VERBOSITY
3764 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3766 AM_BACKSLASH='\'
3768 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3769 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3770 # is not polluted with repeated "-I."
3771 am__isrc=' -I$(srcdir)'
3772 # test to see if srcdir already configured
3773 if test -f $srcdir/config.status; then
3774 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3778 # test whether we have cygpath
3779 if test -z "$CYGPATH_W"; then
3780 if (cygpath --version) >/dev/null 2>/dev/null; then
3781 CYGPATH_W='cygpath -w'
3782 else
3783 CYGPATH_W=echo
3788 # Define the identity of the package.
3789 PACKAGE='libstdc++'
3790 VERSION='version-unused'
3793 # Some tools Automake needs.
3795 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3798 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3801 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3804 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3807 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3809 # For better backward compatibility. To be removed once Automake 1.9.x
3810 # dies out for good. For more background, see:
3811 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3812 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3813 mkdir_p='$(MKDIR_P)'
3815 # We need awk for the "check" target (and possibly the TAP driver). The
3816 # system "awk" is bad on some platforms.
3817 # Always define AMTAR for backward compatibility. Yes, it's still used
3818 # in the wild :-( We should find a proper way to deprecate it ...
3819 AMTAR='$${TAR-tar}'
3822 # We'll loop over all known methods to create a tar archive until one works.
3823 _am_tools='gnutar pax cpio none'
3825 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3832 # POSIX will say in a future version that running "rm -f" with no argument
3833 # is OK; and we want to be able to make that assumption in our Makefile
3834 # recipes. So use an aggressive probe to check that the usage we want is
3835 # actually supported "in the wild" to an acceptable degree.
3836 # See automake bug#10828.
3837 # To make any issue more visible, cause the running configure to be aborted
3838 # by default if the 'rm' program in use doesn't match our expectations; the
3839 # user can still override this though.
3840 if rm -f && rm -fr && rm -rf; then : OK; else
3841 cat >&2 <<'END'
3842 Oops!
3844 Your 'rm' program seems unable to run without file operands specified
3845 on the command line, even when the '-f' option is present. This is contrary
3846 to the behaviour of most rm programs out there, and not conforming with
3847 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3849 Please tell bug-automake@gnu.org about your system, including the value
3850 of your $PATH and any error possibly output before this message. This
3851 can help us improve future automake versions.
3854 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3855 echo 'Configuration will proceed anyway, since you have set the' >&2
3856 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3857 echo >&2
3858 else
3859 cat >&2 <<'END'
3860 Aborting the configuration process, to ensure you take notice of the issue.
3862 You can download and install GNU coreutils to get an 'rm' implementation
3863 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3865 If you want to complete the configuration process using your problematic
3866 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3867 to "yes", and re-run configure.
3870 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3877 # -fno-builtin must be present here so that a non-conflicting form of
3878 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
3880 save_CXXFLAGS="$CXXFLAGS"
3881 CXXFLAGS="$CXXFLAGS -fno-builtin"
3882 ac_ext=c
3883 ac_cpp='$CPP $CPPFLAGS'
3884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3887 if test -n "$ac_tool_prefix"; then
3888 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3889 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3891 $as_echo_n "checking for $ac_word... " >&6; }
3892 if ${ac_cv_prog_CC+:} false; then :
3893 $as_echo_n "(cached) " >&6
3894 else
3895 if test -n "$CC"; then
3896 ac_cv_prog_CC="$CC" # Let the user override the test.
3897 else
3898 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3899 for as_dir in $PATH
3901 IFS=$as_save_IFS
3902 test -z "$as_dir" && as_dir=.
3903 for ac_exec_ext in '' $ac_executable_extensions; do
3904 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3905 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3906 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3907 break 2
3909 done
3910 done
3911 IFS=$as_save_IFS
3915 CC=$ac_cv_prog_CC
3916 if test -n "$CC"; then
3917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3918 $as_echo "$CC" >&6; }
3919 else
3920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3921 $as_echo "no" >&6; }
3926 if test -z "$ac_cv_prog_CC"; then
3927 ac_ct_CC=$CC
3928 # Extract the first word of "gcc", so it can be a program name with args.
3929 set dummy gcc; ac_word=$2
3930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3931 $as_echo_n "checking for $ac_word... " >&6; }
3932 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3933 $as_echo_n "(cached) " >&6
3934 else
3935 if test -n "$ac_ct_CC"; then
3936 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3937 else
3938 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3939 for as_dir in $PATH
3941 IFS=$as_save_IFS
3942 test -z "$as_dir" && as_dir=.
3943 for ac_exec_ext in '' $ac_executable_extensions; do
3944 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3945 ac_cv_prog_ac_ct_CC="gcc"
3946 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3947 break 2
3949 done
3950 done
3951 IFS=$as_save_IFS
3955 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3956 if test -n "$ac_ct_CC"; then
3957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3958 $as_echo "$ac_ct_CC" >&6; }
3959 else
3960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3961 $as_echo "no" >&6; }
3964 if test "x$ac_ct_CC" = x; then
3965 CC=""
3966 else
3967 case $cross_compiling:$ac_tool_warned in
3968 yes:)
3969 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3970 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3971 ac_tool_warned=yes ;;
3972 esac
3973 CC=$ac_ct_CC
3975 else
3976 CC="$ac_cv_prog_CC"
3979 if test -z "$CC"; then
3980 if test -n "$ac_tool_prefix"; then
3981 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3982 set dummy ${ac_tool_prefix}cc; ac_word=$2
3983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3984 $as_echo_n "checking for $ac_word... " >&6; }
3985 if ${ac_cv_prog_CC+:} false; then :
3986 $as_echo_n "(cached) " >&6
3987 else
3988 if test -n "$CC"; then
3989 ac_cv_prog_CC="$CC" # Let the user override the test.
3990 else
3991 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3992 for as_dir in $PATH
3994 IFS=$as_save_IFS
3995 test -z "$as_dir" && as_dir=.
3996 for ac_exec_ext in '' $ac_executable_extensions; do
3997 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3998 ac_cv_prog_CC="${ac_tool_prefix}cc"
3999 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4000 break 2
4002 done
4003 done
4004 IFS=$as_save_IFS
4008 CC=$ac_cv_prog_CC
4009 if test -n "$CC"; then
4010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4011 $as_echo "$CC" >&6; }
4012 else
4013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4014 $as_echo "no" >&6; }
4020 if test -z "$CC"; then
4021 # Extract the first word of "cc", so it can be a program name with args.
4022 set dummy cc; ac_word=$2
4023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4024 $as_echo_n "checking for $ac_word... " >&6; }
4025 if ${ac_cv_prog_CC+:} false; then :
4026 $as_echo_n "(cached) " >&6
4027 else
4028 if test -n "$CC"; then
4029 ac_cv_prog_CC="$CC" # Let the user override the test.
4030 else
4031 ac_prog_rejected=no
4032 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4033 for as_dir in $PATH
4035 IFS=$as_save_IFS
4036 test -z "$as_dir" && as_dir=.
4037 for ac_exec_ext in '' $ac_executable_extensions; do
4038 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4039 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4040 ac_prog_rejected=yes
4041 continue
4043 ac_cv_prog_CC="cc"
4044 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4045 break 2
4047 done
4048 done
4049 IFS=$as_save_IFS
4051 if test $ac_prog_rejected = yes; then
4052 # We found a bogon in the path, so make sure we never use it.
4053 set dummy $ac_cv_prog_CC
4054 shift
4055 if test $# != 0; then
4056 # We chose a different compiler from the bogus one.
4057 # However, it has the same basename, so the bogon will be chosen
4058 # first if we set CC to just the basename; use the full file name.
4059 shift
4060 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4065 CC=$ac_cv_prog_CC
4066 if test -n "$CC"; then
4067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4068 $as_echo "$CC" >&6; }
4069 else
4070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4071 $as_echo "no" >&6; }
4076 if test -z "$CC"; then
4077 if test -n "$ac_tool_prefix"; then
4078 for ac_prog in cl.exe
4080 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4081 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4083 $as_echo_n "checking for $ac_word... " >&6; }
4084 if ${ac_cv_prog_CC+:} false; then :
4085 $as_echo_n "(cached) " >&6
4086 else
4087 if test -n "$CC"; then
4088 ac_cv_prog_CC="$CC" # Let the user override the test.
4089 else
4090 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4091 for as_dir in $PATH
4093 IFS=$as_save_IFS
4094 test -z "$as_dir" && as_dir=.
4095 for ac_exec_ext in '' $ac_executable_extensions; do
4096 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4097 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4098 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4099 break 2
4101 done
4102 done
4103 IFS=$as_save_IFS
4107 CC=$ac_cv_prog_CC
4108 if test -n "$CC"; then
4109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4110 $as_echo "$CC" >&6; }
4111 else
4112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4113 $as_echo "no" >&6; }
4117 test -n "$CC" && break
4118 done
4120 if test -z "$CC"; then
4121 ac_ct_CC=$CC
4122 for ac_prog in cl.exe
4124 # Extract the first word of "$ac_prog", so it can be a program name with args.
4125 set dummy $ac_prog; ac_word=$2
4126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4127 $as_echo_n "checking for $ac_word... " >&6; }
4128 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4129 $as_echo_n "(cached) " >&6
4130 else
4131 if test -n "$ac_ct_CC"; then
4132 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4133 else
4134 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4135 for as_dir in $PATH
4137 IFS=$as_save_IFS
4138 test -z "$as_dir" && as_dir=.
4139 for ac_exec_ext in '' $ac_executable_extensions; do
4140 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4141 ac_cv_prog_ac_ct_CC="$ac_prog"
4142 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4143 break 2
4145 done
4146 done
4147 IFS=$as_save_IFS
4151 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4152 if test -n "$ac_ct_CC"; then
4153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4154 $as_echo "$ac_ct_CC" >&6; }
4155 else
4156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4157 $as_echo "no" >&6; }
4161 test -n "$ac_ct_CC" && break
4162 done
4164 if test "x$ac_ct_CC" = x; then
4165 CC=""
4166 else
4167 case $cross_compiling:$ac_tool_warned in
4168 yes:)
4169 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4170 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4171 ac_tool_warned=yes ;;
4172 esac
4173 CC=$ac_ct_CC
4180 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4181 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4182 as_fn_error $? "no acceptable C compiler found in \$PATH
4183 See \`config.log' for more details" "$LINENO" 5; }
4185 # Provide some information about the compiler.
4186 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4187 set X $ac_compile
4188 ac_compiler=$2
4189 for ac_option in --version -v -V -qversion; do
4190 { { ac_try="$ac_compiler $ac_option >&5"
4191 case "(($ac_try" in
4192 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4193 *) ac_try_echo=$ac_try;;
4194 esac
4195 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4196 $as_echo "$ac_try_echo"; } >&5
4197 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4198 ac_status=$?
4199 if test -s conftest.err; then
4200 sed '10a\
4201 ... rest of stderr output deleted ...
4202 10q' conftest.err >conftest.er1
4203 cat conftest.er1 >&5
4205 rm -f conftest.er1 conftest.err
4206 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4207 test $ac_status = 0; }
4208 done
4210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4211 /* end confdefs.h. */
4212 #include <stdio.h>
4214 main ()
4216 printf ("hello world\n");
4218 return 0;
4220 _ACEOF
4221 # FIXME: Cleanup?
4222 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
4223 (eval $ac_link) 2>&5
4224 ac_status=$?
4225 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4226 test $ac_status = 0; }; then :
4227 gcc_no_link=no
4228 else
4229 gcc_no_link=yes
4231 if test x$gcc_no_link = xyes; then
4232 # Setting cross_compile will disable run tests; it will
4233 # also disable AC_CHECK_FILE but that's generally
4234 # correct if we can't link.
4235 cross_compiling=yes
4236 EXEEXT=
4237 else
4238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4239 /* end confdefs.h. */
4242 main ()
4246 return 0;
4248 _ACEOF
4249 ac_clean_files_save=$ac_clean_files
4250 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4251 # Try to create an executable without -o first, disregard a.out.
4252 # It will help us diagnose broken compilers, and finding out an intuition
4253 # of exeext.
4254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4255 $as_echo_n "checking whether the C compiler works... " >&6; }
4256 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4258 # The possible output files:
4259 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4261 ac_rmfiles=
4262 for ac_file in $ac_files
4264 case $ac_file in
4265 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4266 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4267 esac
4268 done
4269 rm -f $ac_rmfiles
4271 if { { ac_try="$ac_link_default"
4272 case "(($ac_try" in
4273 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4274 *) ac_try_echo=$ac_try;;
4275 esac
4276 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4277 $as_echo "$ac_try_echo"; } >&5
4278 (eval "$ac_link_default") 2>&5
4279 ac_status=$?
4280 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4281 test $ac_status = 0; }; then :
4282 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4283 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4284 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4285 # so that the user can short-circuit this test for compilers unknown to
4286 # Autoconf.
4287 for ac_file in $ac_files ''
4289 test -f "$ac_file" || continue
4290 case $ac_file in
4291 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4293 [ab].out )
4294 # We found the default executable, but exeext='' is most
4295 # certainly right.
4296 break;;
4297 *.* )
4298 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4299 then :; else
4300 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4302 # We set ac_cv_exeext here because the later test for it is not
4303 # safe: cross compilers may not add the suffix if given an `-o'
4304 # argument, so we may need to know it at that point already.
4305 # Even if this section looks crufty: it has the advantage of
4306 # actually working.
4307 break;;
4309 break;;
4310 esac
4311 done
4312 test "$ac_cv_exeext" = no && ac_cv_exeext=
4314 else
4315 ac_file=''
4317 if test -z "$ac_file"; then :
4318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4319 $as_echo "no" >&6; }
4320 $as_echo "$as_me: failed program was:" >&5
4321 sed 's/^/| /' conftest.$ac_ext >&5
4323 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4324 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4325 as_fn_error 77 "C compiler cannot create executables
4326 See \`config.log' for more details" "$LINENO" 5; }
4327 else
4328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4329 $as_echo "yes" >&6; }
4331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4332 $as_echo_n "checking for C compiler default output file name... " >&6; }
4333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4334 $as_echo "$ac_file" >&6; }
4335 ac_exeext=$ac_cv_exeext
4337 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4338 ac_clean_files=$ac_clean_files_save
4339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4340 $as_echo_n "checking for suffix of executables... " >&6; }
4341 if { { ac_try="$ac_link"
4342 case "(($ac_try" in
4343 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4344 *) ac_try_echo=$ac_try;;
4345 esac
4346 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4347 $as_echo "$ac_try_echo"; } >&5
4348 (eval "$ac_link") 2>&5
4349 ac_status=$?
4350 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4351 test $ac_status = 0; }; then :
4352 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4353 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4354 # work properly (i.e., refer to `conftest.exe'), while it won't with
4355 # `rm'.
4356 for ac_file in conftest.exe conftest conftest.*; do
4357 test -f "$ac_file" || continue
4358 case $ac_file in
4359 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4360 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4361 break;;
4362 * ) break;;
4363 esac
4364 done
4365 else
4366 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4367 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4368 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4369 See \`config.log' for more details" "$LINENO" 5; }
4371 rm -f conftest conftest$ac_cv_exeext
4372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4373 $as_echo "$ac_cv_exeext" >&6; }
4375 rm -f conftest.$ac_ext
4376 EXEEXT=$ac_cv_exeext
4377 ac_exeext=$EXEEXT
4378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4379 /* end confdefs.h. */
4380 #include <stdio.h>
4382 main ()
4384 FILE *f = fopen ("conftest.out", "w");
4385 return ferror (f) || fclose (f) != 0;
4388 return 0;
4390 _ACEOF
4391 ac_clean_files="$ac_clean_files conftest.out"
4392 # Check that the compiler produces executables we can run. If not, either
4393 # the compiler is broken, or we cross compile.
4394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4395 $as_echo_n "checking whether we are cross compiling... " >&6; }
4396 if test "$cross_compiling" != yes; then
4397 { { ac_try="$ac_link"
4398 case "(($ac_try" in
4399 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4400 *) ac_try_echo=$ac_try;;
4401 esac
4402 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4403 $as_echo "$ac_try_echo"; } >&5
4404 (eval "$ac_link") 2>&5
4405 ac_status=$?
4406 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4407 test $ac_status = 0; }
4408 if { ac_try='./conftest$ac_cv_exeext'
4409 { { case "(($ac_try" in
4410 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4411 *) ac_try_echo=$ac_try;;
4412 esac
4413 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4414 $as_echo "$ac_try_echo"; } >&5
4415 (eval "$ac_try") 2>&5
4416 ac_status=$?
4417 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4418 test $ac_status = 0; }; }; then
4419 cross_compiling=no
4420 else
4421 if test "$cross_compiling" = maybe; then
4422 cross_compiling=yes
4423 else
4424 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4425 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4426 as_fn_error $? "cannot run C compiled programs.
4427 If you meant to cross compile, use \`--host'.
4428 See \`config.log' for more details" "$LINENO" 5; }
4432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4433 $as_echo "$cross_compiling" >&6; }
4435 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4436 ac_clean_files=$ac_clean_files_save
4438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4439 $as_echo_n "checking for suffix of object files... " >&6; }
4440 if ${ac_cv_objext+:} false; then :
4441 $as_echo_n "(cached) " >&6
4442 else
4443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4444 /* end confdefs.h. */
4447 main ()
4451 return 0;
4453 _ACEOF
4454 rm -f conftest.o conftest.obj
4455 if { { ac_try="$ac_compile"
4456 case "(($ac_try" in
4457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4458 *) ac_try_echo=$ac_try;;
4459 esac
4460 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4461 $as_echo "$ac_try_echo"; } >&5
4462 (eval "$ac_compile") 2>&5
4463 ac_status=$?
4464 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4465 test $ac_status = 0; }; then :
4466 for ac_file in conftest.o conftest.obj conftest.*; do
4467 test -f "$ac_file" || continue;
4468 case $ac_file in
4469 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4470 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4471 break;;
4472 esac
4473 done
4474 else
4475 $as_echo "$as_me: failed program was:" >&5
4476 sed 's/^/| /' conftest.$ac_ext >&5
4478 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4479 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4480 as_fn_error $? "cannot compute suffix of object files: cannot compile
4481 See \`config.log' for more details" "$LINENO" 5; }
4483 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4486 $as_echo "$ac_cv_objext" >&6; }
4487 OBJEXT=$ac_cv_objext
4488 ac_objext=$OBJEXT
4489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4490 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4491 if ${ac_cv_c_compiler_gnu+:} false; then :
4492 $as_echo_n "(cached) " >&6
4493 else
4494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4495 /* end confdefs.h. */
4498 main ()
4500 #ifndef __GNUC__
4501 choke me
4502 #endif
4505 return 0;
4507 _ACEOF
4508 if ac_fn_c_try_compile "$LINENO"; then :
4509 ac_compiler_gnu=yes
4510 else
4511 ac_compiler_gnu=no
4513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4514 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4518 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4519 if test $ac_compiler_gnu = yes; then
4520 GCC=yes
4521 else
4522 GCC=
4524 ac_test_CFLAGS=${CFLAGS+set}
4525 ac_save_CFLAGS=$CFLAGS
4526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4527 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4528 if ${ac_cv_prog_cc_g+:} false; then :
4529 $as_echo_n "(cached) " >&6
4530 else
4531 ac_save_c_werror_flag=$ac_c_werror_flag
4532 ac_c_werror_flag=yes
4533 ac_cv_prog_cc_g=no
4534 CFLAGS="-g"
4535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4536 /* end confdefs.h. */
4539 main ()
4543 return 0;
4545 _ACEOF
4546 if ac_fn_c_try_compile "$LINENO"; then :
4547 ac_cv_prog_cc_g=yes
4548 else
4549 CFLAGS=""
4550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4551 /* end confdefs.h. */
4554 main ()
4558 return 0;
4560 _ACEOF
4561 if ac_fn_c_try_compile "$LINENO"; then :
4563 else
4564 ac_c_werror_flag=$ac_save_c_werror_flag
4565 CFLAGS="-g"
4566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4567 /* end confdefs.h. */
4570 main ()
4574 return 0;
4576 _ACEOF
4577 if ac_fn_c_try_compile "$LINENO"; then :
4578 ac_cv_prog_cc_g=yes
4580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4585 ac_c_werror_flag=$ac_save_c_werror_flag
4587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4588 $as_echo "$ac_cv_prog_cc_g" >&6; }
4589 if test "$ac_test_CFLAGS" = set; then
4590 CFLAGS=$ac_save_CFLAGS
4591 elif test $ac_cv_prog_cc_g = yes; then
4592 if test "$GCC" = yes; then
4593 CFLAGS="-g -O2"
4594 else
4595 CFLAGS="-g"
4597 else
4598 if test "$GCC" = yes; then
4599 CFLAGS="-O2"
4600 else
4601 CFLAGS=
4604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4605 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4606 if ${ac_cv_prog_cc_c89+:} false; then :
4607 $as_echo_n "(cached) " >&6
4608 else
4609 ac_cv_prog_cc_c89=no
4610 ac_save_CC=$CC
4611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4612 /* end confdefs.h. */
4613 #include <stdarg.h>
4614 #include <stdio.h>
4615 struct stat;
4616 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4617 struct buf { int x; };
4618 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4619 static char *e (p, i)
4620 char **p;
4621 int i;
4623 return p[i];
4625 static char *f (char * (*g) (char **, int), char **p, ...)
4627 char *s;
4628 va_list v;
4629 va_start (v,p);
4630 s = g (p, va_arg (v,int));
4631 va_end (v);
4632 return s;
4635 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4636 function prototypes and stuff, but not '\xHH' hex character constants.
4637 These don't provoke an error unfortunately, instead are silently treated
4638 as 'x'. The following induces an error, until -std is added to get
4639 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4640 array size at least. It's necessary to write '\x00'==0 to get something
4641 that's true only with -std. */
4642 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4644 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4645 inside strings and character constants. */
4646 #define FOO(x) 'x'
4647 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4649 int test (int i, double x);
4650 struct s1 {int (*f) (int a);};
4651 struct s2 {int (*f) (double a);};
4652 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4653 int argc;
4654 char **argv;
4656 main ()
4658 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4660 return 0;
4662 _ACEOF
4663 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4664 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4666 CC="$ac_save_CC $ac_arg"
4667 if ac_fn_c_try_compile "$LINENO"; then :
4668 ac_cv_prog_cc_c89=$ac_arg
4670 rm -f core conftest.err conftest.$ac_objext
4671 test "x$ac_cv_prog_cc_c89" != "xno" && break
4672 done
4673 rm -f conftest.$ac_ext
4674 CC=$ac_save_CC
4677 # AC_CACHE_VAL
4678 case "x$ac_cv_prog_cc_c89" in
4680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4681 $as_echo "none needed" >&6; } ;;
4682 xno)
4683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4684 $as_echo "unsupported" >&6; } ;;
4686 CC="$CC $ac_cv_prog_cc_c89"
4687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4688 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4689 esac
4690 if test "x$ac_cv_prog_cc_c89" != xno; then :
4694 ac_ext=c
4695 ac_cpp='$CPP $CPPFLAGS'
4696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4700 ac_ext=c
4701 ac_cpp='$CPP $CPPFLAGS'
4702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4706 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4707 if ${am_cv_prog_cc_c_o+:} false; then :
4708 $as_echo_n "(cached) " >&6
4709 else
4710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4711 /* end confdefs.h. */
4714 main ()
4718 return 0;
4720 _ACEOF
4721 # Make sure it works both with $CC and with simple cc.
4722 # Following AC_PROG_CC_C_O, we do the test twice because some
4723 # compilers refuse to overwrite an existing .o file with -o,
4724 # though they will create one.
4725 am_cv_prog_cc_c_o=yes
4726 for am_i in 1 2; do
4727 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4728 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4729 ac_status=$?
4730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4731 (exit $ac_status); } \
4732 && test -f conftest2.$ac_objext; then
4733 : OK
4734 else
4735 am_cv_prog_cc_c_o=no
4736 break
4738 done
4739 rm -f core conftest*
4740 unset am_i
4742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4743 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4744 if test "$am_cv_prog_cc_c_o" != yes; then
4745 # Losing compiler, so override with the script.
4746 # FIXME: It is wrong to rewrite CC.
4747 # But if we don't then we get into trouble of one sort or another.
4748 # A longer-term fix would be to have automake use am__CC in this case,
4749 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4750 CC="$am_aux_dir/compile $CC"
4752 ac_ext=c
4753 ac_cpp='$CPP $CPPFLAGS'
4754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4759 ac_ext=cpp
4760 ac_cpp='$CXXCPP $CPPFLAGS'
4761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4764 if test -z "$CXX"; then
4765 if test -n "$CCC"; then
4766 CXX=$CCC
4767 else
4768 if test -n "$ac_tool_prefix"; then
4769 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4771 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4772 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4774 $as_echo_n "checking for $ac_word... " >&6; }
4775 if ${ac_cv_prog_CXX+:} false; then :
4776 $as_echo_n "(cached) " >&6
4777 else
4778 if test -n "$CXX"; then
4779 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4780 else
4781 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4782 for as_dir in $PATH
4784 IFS=$as_save_IFS
4785 test -z "$as_dir" && as_dir=.
4786 for ac_exec_ext in '' $ac_executable_extensions; do
4787 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4788 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4789 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4790 break 2
4792 done
4793 done
4794 IFS=$as_save_IFS
4798 CXX=$ac_cv_prog_CXX
4799 if test -n "$CXX"; then
4800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4801 $as_echo "$CXX" >&6; }
4802 else
4803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4804 $as_echo "no" >&6; }
4808 test -n "$CXX" && break
4809 done
4811 if test -z "$CXX"; then
4812 ac_ct_CXX=$CXX
4813 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4815 # Extract the first word of "$ac_prog", so it can be a program name with args.
4816 set dummy $ac_prog; ac_word=$2
4817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4818 $as_echo_n "checking for $ac_word... " >&6; }
4819 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4820 $as_echo_n "(cached) " >&6
4821 else
4822 if test -n "$ac_ct_CXX"; then
4823 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4824 else
4825 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4826 for as_dir in $PATH
4828 IFS=$as_save_IFS
4829 test -z "$as_dir" && as_dir=.
4830 for ac_exec_ext in '' $ac_executable_extensions; do
4831 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4832 ac_cv_prog_ac_ct_CXX="$ac_prog"
4833 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4834 break 2
4836 done
4837 done
4838 IFS=$as_save_IFS
4842 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4843 if test -n "$ac_ct_CXX"; then
4844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4845 $as_echo "$ac_ct_CXX" >&6; }
4846 else
4847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4848 $as_echo "no" >&6; }
4852 test -n "$ac_ct_CXX" && break
4853 done
4855 if test "x$ac_ct_CXX" = x; then
4856 CXX="g++"
4857 else
4858 case $cross_compiling:$ac_tool_warned in
4859 yes:)
4860 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4861 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4862 ac_tool_warned=yes ;;
4863 esac
4864 CXX=$ac_ct_CXX
4870 # Provide some information about the compiler.
4871 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4872 set X $ac_compile
4873 ac_compiler=$2
4874 for ac_option in --version -v -V -qversion; do
4875 { { ac_try="$ac_compiler $ac_option >&5"
4876 case "(($ac_try" in
4877 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4878 *) ac_try_echo=$ac_try;;
4879 esac
4880 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4881 $as_echo "$ac_try_echo"; } >&5
4882 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4883 ac_status=$?
4884 if test -s conftest.err; then
4885 sed '10a\
4886 ... rest of stderr output deleted ...
4887 10q' conftest.err >conftest.er1
4888 cat conftest.er1 >&5
4890 rm -f conftest.er1 conftest.err
4891 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4892 test $ac_status = 0; }
4893 done
4895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4896 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4897 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4898 $as_echo_n "(cached) " >&6
4899 else
4900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4901 /* end confdefs.h. */
4904 main ()
4906 #ifndef __GNUC__
4907 choke me
4908 #endif
4911 return 0;
4913 _ACEOF
4914 if ac_fn_cxx_try_compile "$LINENO"; then :
4915 ac_compiler_gnu=yes
4916 else
4917 ac_compiler_gnu=no
4919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4920 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4924 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4925 if test $ac_compiler_gnu = yes; then
4926 GXX=yes
4927 else
4928 GXX=
4930 ac_test_CXXFLAGS=${CXXFLAGS+set}
4931 ac_save_CXXFLAGS=$CXXFLAGS
4932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4933 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4934 if ${ac_cv_prog_cxx_g+:} false; then :
4935 $as_echo_n "(cached) " >&6
4936 else
4937 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4938 ac_cxx_werror_flag=yes
4939 ac_cv_prog_cxx_g=no
4940 CXXFLAGS="-g"
4941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4942 /* end confdefs.h. */
4945 main ()
4949 return 0;
4951 _ACEOF
4952 if ac_fn_cxx_try_compile "$LINENO"; then :
4953 ac_cv_prog_cxx_g=yes
4954 else
4955 CXXFLAGS=""
4956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4957 /* end confdefs.h. */
4960 main ()
4964 return 0;
4966 _ACEOF
4967 if ac_fn_cxx_try_compile "$LINENO"; then :
4969 else
4970 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4971 CXXFLAGS="-g"
4972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4973 /* end confdefs.h. */
4976 main ()
4980 return 0;
4982 _ACEOF
4983 if ac_fn_cxx_try_compile "$LINENO"; then :
4984 ac_cv_prog_cxx_g=yes
4986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4991 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4994 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4995 if test "$ac_test_CXXFLAGS" = set; then
4996 CXXFLAGS=$ac_save_CXXFLAGS
4997 elif test $ac_cv_prog_cxx_g = yes; then
4998 if test "$GXX" = yes; then
4999 CXXFLAGS="-g -O2"
5000 else
5001 CXXFLAGS="-g"
5003 else
5004 if test "$GXX" = yes; then
5005 CXXFLAGS="-O2"
5006 else
5007 CXXFLAGS=
5010 ac_ext=c
5011 ac_cpp='$CPP $CPPFLAGS'
5012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5016 CXXFLAGS="$save_CXXFLAGS"
5019 # Check whether --enable-largefile was given.
5020 if test "${enable_largefile+set}" = set; then :
5021 enableval=$enable_largefile;
5024 if test "$enable_largefile" != no; then
5026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
5027 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
5028 if ${ac_cv_sys_largefile_CC+:} false; then :
5029 $as_echo_n "(cached) " >&6
5030 else
5031 ac_cv_sys_largefile_CC=no
5032 if test "$GCC" != yes; then
5033 ac_save_CC=$CC
5034 while :; do
5035 # IRIX 6.2 and later do not support large files by default,
5036 # so use the C compiler's -n32 option if that helps.
5037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5038 /* end confdefs.h. */
5039 #include <sys/types.h>
5040 /* Check that off_t can represent 2**63 - 1 correctly.
5041 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5042 since some C++ compilers masquerading as C compilers
5043 incorrectly reject 9223372036854775807. */
5044 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5045 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5046 && LARGE_OFF_T % 2147483647 == 1)
5047 ? 1 : -1];
5049 main ()
5053 return 0;
5055 _ACEOF
5056 if ac_fn_c_try_compile "$LINENO"; then :
5057 break
5059 rm -f core conftest.err conftest.$ac_objext
5060 CC="$CC -n32"
5061 if ac_fn_c_try_compile "$LINENO"; then :
5062 ac_cv_sys_largefile_CC=' -n32'; break
5064 rm -f core conftest.err conftest.$ac_objext
5065 break
5066 done
5067 CC=$ac_save_CC
5068 rm -f conftest.$ac_ext
5071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
5072 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
5073 if test "$ac_cv_sys_largefile_CC" != no; then
5074 CC=$CC$ac_cv_sys_largefile_CC
5077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
5078 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
5079 if ${ac_cv_sys_file_offset_bits+:} false; then :
5080 $as_echo_n "(cached) " >&6
5081 else
5082 while :; do
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 ac_cv_sys_file_offset_bits=no; break
5105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5107 /* end confdefs.h. */
5108 #define _FILE_OFFSET_BITS 64
5109 #include <sys/types.h>
5110 /* Check that off_t can represent 2**63 - 1 correctly.
5111 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5112 since some C++ compilers masquerading as C compilers
5113 incorrectly reject 9223372036854775807. */
5114 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5115 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5116 && LARGE_OFF_T % 2147483647 == 1)
5117 ? 1 : -1];
5119 main ()
5123 return 0;
5125 _ACEOF
5126 if ac_fn_c_try_compile "$LINENO"; then :
5127 ac_cv_sys_file_offset_bits=64; break
5129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5130 ac_cv_sys_file_offset_bits=unknown
5131 break
5132 done
5134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
5135 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
5136 case $ac_cv_sys_file_offset_bits in #(
5137 no | unknown) ;;
5139 cat >>confdefs.h <<_ACEOF
5140 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
5141 _ACEOF
5143 esac
5144 rm -rf conftest*
5145 if test $ac_cv_sys_file_offset_bits = unknown; then
5146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
5147 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
5148 if ${ac_cv_sys_large_files+:} false; then :
5149 $as_echo_n "(cached) " >&6
5150 else
5151 while :; do
5152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5153 /* end confdefs.h. */
5154 #include <sys/types.h>
5155 /* Check that off_t can represent 2**63 - 1 correctly.
5156 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5157 since some C++ compilers masquerading as C compilers
5158 incorrectly reject 9223372036854775807. */
5159 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5160 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5161 && LARGE_OFF_T % 2147483647 == 1)
5162 ? 1 : -1];
5164 main ()
5168 return 0;
5170 _ACEOF
5171 if ac_fn_c_try_compile "$LINENO"; then :
5172 ac_cv_sys_large_files=no; break
5174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5176 /* end confdefs.h. */
5177 #define _LARGE_FILES 1
5178 #include <sys/types.h>
5179 /* Check that off_t can represent 2**63 - 1 correctly.
5180 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5181 since some C++ compilers masquerading as C compilers
5182 incorrectly reject 9223372036854775807. */
5183 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5184 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5185 && LARGE_OFF_T % 2147483647 == 1)
5186 ? 1 : -1];
5188 main ()
5192 return 0;
5194 _ACEOF
5195 if ac_fn_c_try_compile "$LINENO"; then :
5196 ac_cv_sys_large_files=1; break
5198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5199 ac_cv_sys_large_files=unknown
5200 break
5201 done
5203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
5204 $as_echo "$ac_cv_sys_large_files" >&6; }
5205 case $ac_cv_sys_large_files in #(
5206 no | unknown) ;;
5208 cat >>confdefs.h <<_ACEOF
5209 #define _LARGE_FILES $ac_cv_sys_large_files
5210 _ACEOF
5212 esac
5213 rm -rf conftest*
5220 # Runs configure.host, and assorted other critical bits. Sets
5221 # up critical shell variables.
5222 ac_ext=c
5223 ac_cpp='$CPP $CPPFLAGS'
5224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5228 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5229 # On Suns, sometimes $CPP names a directory.
5230 if test -n "$CPP" && test -d "$CPP"; then
5231 CPP=
5233 if test -z "$CPP"; then
5234 if ${ac_cv_prog_CPP+:} false; then :
5235 $as_echo_n "(cached) " >&6
5236 else
5237 # Double quotes because CPP needs to be expanded
5238 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5240 ac_preproc_ok=false
5241 for ac_c_preproc_warn_flag in '' yes
5243 # Use a header file that comes with gcc, so configuring glibc
5244 # with a fresh cross-compiler works.
5245 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5246 # <limits.h> exists even on freestanding compilers.
5247 # On the NeXT, cc -E runs the code through the compiler's parser,
5248 # not just through cpp. "Syntax error" is here to catch this case.
5249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5250 /* end confdefs.h. */
5251 #ifdef __STDC__
5252 # include <limits.h>
5253 #else
5254 # include <assert.h>
5255 #endif
5256 Syntax error
5257 _ACEOF
5258 if ac_fn_c_try_cpp "$LINENO"; then :
5260 else
5261 # Broken: fails on valid input.
5262 continue
5264 rm -f conftest.err conftest.i conftest.$ac_ext
5266 # OK, works on sane cases. Now check whether nonexistent headers
5267 # can be detected and how.
5268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5269 /* end confdefs.h. */
5270 #include <ac_nonexistent.h>
5271 _ACEOF
5272 if ac_fn_c_try_cpp "$LINENO"; then :
5273 # Broken: success on invalid input.
5274 continue
5275 else
5276 # Passes both tests.
5277 ac_preproc_ok=:
5278 break
5280 rm -f conftest.err conftest.i conftest.$ac_ext
5282 done
5283 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5284 rm -f conftest.i conftest.err conftest.$ac_ext
5285 if $ac_preproc_ok; then :
5286 break
5289 done
5290 ac_cv_prog_CPP=$CPP
5293 CPP=$ac_cv_prog_CPP
5294 else
5295 ac_cv_prog_CPP=$CPP
5297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5298 $as_echo "$CPP" >&6; }
5299 ac_preproc_ok=false
5300 for ac_c_preproc_warn_flag in '' yes
5302 # Use a header file that comes with gcc, so configuring glibc
5303 # with a fresh cross-compiler works.
5304 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5305 # <limits.h> exists even on freestanding compilers.
5306 # On the NeXT, cc -E runs the code through the compiler's parser,
5307 # not just through cpp. "Syntax error" is here to catch this case.
5308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5309 /* end confdefs.h. */
5310 #ifdef __STDC__
5311 # include <limits.h>
5312 #else
5313 # include <assert.h>
5314 #endif
5315 Syntax error
5316 _ACEOF
5317 if ac_fn_c_try_cpp "$LINENO"; then :
5319 else
5320 # Broken: fails on valid input.
5321 continue
5323 rm -f conftest.err conftest.i conftest.$ac_ext
5325 # OK, works on sane cases. Now check whether nonexistent headers
5326 # can be detected and how.
5327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5328 /* end confdefs.h. */
5329 #include <ac_nonexistent.h>
5330 _ACEOF
5331 if ac_fn_c_try_cpp "$LINENO"; then :
5332 # Broken: success on invalid input.
5333 continue
5334 else
5335 # Passes both tests.
5336 ac_preproc_ok=:
5337 break
5339 rm -f conftest.err conftest.i conftest.$ac_ext
5341 done
5342 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5343 rm -f conftest.i conftest.err conftest.$ac_ext
5344 if $ac_preproc_ok; then :
5346 else
5347 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5348 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5349 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
5350 See \`config.log' for more details" "$LINENO" 5; }
5353 ac_ext=c
5354 ac_cpp='$CPP $CPPFLAGS'
5355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5361 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5362 if ${ac_cv_path_GREP+:} false; then :
5363 $as_echo_n "(cached) " >&6
5364 else
5365 if test -z "$GREP"; then
5366 ac_path_GREP_found=false
5367 # Loop through the user's path and test for each of PROGNAME-LIST
5368 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5369 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5371 IFS=$as_save_IFS
5372 test -z "$as_dir" && as_dir=.
5373 for ac_prog in grep ggrep; do
5374 for ac_exec_ext in '' $ac_executable_extensions; do
5375 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5376 as_fn_executable_p "$ac_path_GREP" || continue
5377 # Check for GNU ac_path_GREP and select it if it is found.
5378 # Check for GNU $ac_path_GREP
5379 case `"$ac_path_GREP" --version 2>&1` in
5380 *GNU*)
5381 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5383 ac_count=0
5384 $as_echo_n 0123456789 >"conftest.in"
5385 while :
5387 cat "conftest.in" "conftest.in" >"conftest.tmp"
5388 mv "conftest.tmp" "conftest.in"
5389 cp "conftest.in" "conftest.nl"
5390 $as_echo 'GREP' >> "conftest.nl"
5391 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5392 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5393 as_fn_arith $ac_count + 1 && ac_count=$as_val
5394 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5395 # Best one so far, save it but keep looking for a better one
5396 ac_cv_path_GREP="$ac_path_GREP"
5397 ac_path_GREP_max=$ac_count
5399 # 10*(2^10) chars as input seems more than enough
5400 test $ac_count -gt 10 && break
5401 done
5402 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5403 esac
5405 $ac_path_GREP_found && break 3
5406 done
5407 done
5408 done
5409 IFS=$as_save_IFS
5410 if test -z "$ac_cv_path_GREP"; then
5411 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5413 else
5414 ac_cv_path_GREP=$GREP
5418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5419 $as_echo "$ac_cv_path_GREP" >&6; }
5420 GREP="$ac_cv_path_GREP"
5423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5424 $as_echo_n "checking for egrep... " >&6; }
5425 if ${ac_cv_path_EGREP+:} false; then :
5426 $as_echo_n "(cached) " >&6
5427 else
5428 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5429 then ac_cv_path_EGREP="$GREP -E"
5430 else
5431 if test -z "$EGREP"; then
5432 ac_path_EGREP_found=false
5433 # Loop through the user's path and test for each of PROGNAME-LIST
5434 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5435 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5437 IFS=$as_save_IFS
5438 test -z "$as_dir" && as_dir=.
5439 for ac_prog in egrep; do
5440 for ac_exec_ext in '' $ac_executable_extensions; do
5441 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5442 as_fn_executable_p "$ac_path_EGREP" || continue
5443 # Check for GNU ac_path_EGREP and select it if it is found.
5444 # Check for GNU $ac_path_EGREP
5445 case `"$ac_path_EGREP" --version 2>&1` in
5446 *GNU*)
5447 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5449 ac_count=0
5450 $as_echo_n 0123456789 >"conftest.in"
5451 while :
5453 cat "conftest.in" "conftest.in" >"conftest.tmp"
5454 mv "conftest.tmp" "conftest.in"
5455 cp "conftest.in" "conftest.nl"
5456 $as_echo 'EGREP' >> "conftest.nl"
5457 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5458 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5459 as_fn_arith $ac_count + 1 && ac_count=$as_val
5460 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5461 # Best one so far, save it but keep looking for a better one
5462 ac_cv_path_EGREP="$ac_path_EGREP"
5463 ac_path_EGREP_max=$ac_count
5465 # 10*(2^10) chars as input seems more than enough
5466 test $ac_count -gt 10 && break
5467 done
5468 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5469 esac
5471 $ac_path_EGREP_found && break 3
5472 done
5473 done
5474 done
5475 IFS=$as_save_IFS
5476 if test -z "$ac_cv_path_EGREP"; then
5477 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5479 else
5480 ac_cv_path_EGREP=$EGREP
5485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5486 $as_echo "$ac_cv_path_EGREP" >&6; }
5487 EGREP="$ac_cv_path_EGREP"
5491 # Keep these sync'd with the list in Makefile.am. The first provides an
5492 # expandable list at autoconf time; the second provides an expandable list
5493 # (i.e., shell variable) at configure time.
5495 SUBDIRS='include libsupc++ src src/c++98 src/c++11 src/c++17 src/c++20 src/filesystem doc po testsuite python'
5497 # These need to be absolute paths, yet at the same time need to
5498 # canonicalize only relative paths, because then amd will not unmount
5499 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
5500 glibcxx_builddir=`${PWDCMD-pwd}`
5501 case $srcdir in
5502 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
5503 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
5504 esac
5505 toplevel_builddir=${glibcxx_builddir}/..
5506 toplevel_srcdir=${glibcxx_srcdir}/..
5512 # We use these options to decide which functions to include. They are
5513 # set from the top level.
5515 # Check whether --with-target-subdir was given.
5516 if test "${with_target_subdir+set}" = set; then :
5517 withval=$with_target_subdir;
5522 # Check whether --with-cross-host was given.
5523 if test "${with_cross_host+set}" = set; then :
5524 withval=$with_cross_host;
5529 # Check whether --with-newlib was given.
5530 if test "${with_newlib+set}" = set; then :
5531 withval=$with_newlib;
5535 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
5536 # available). Uncomment the next line to force a particular method.
5537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5538 $as_echo_n "checking whether ln -s works... " >&6; }
5539 LN_S=$as_ln_s
5540 if test "$LN_S" = "ln -s"; then
5541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5542 $as_echo "yes" >&6; }
5543 else
5544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5545 $as_echo "no, using $LN_S" >&6; }
5548 #LN_S='cp -p'
5550 if test -n "$ac_tool_prefix"; then
5551 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
5552 set dummy ${ac_tool_prefix}as; ac_word=$2
5553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5554 $as_echo_n "checking for $ac_word... " >&6; }
5555 if ${ac_cv_prog_AS+:} false; then :
5556 $as_echo_n "(cached) " >&6
5557 else
5558 if test -n "$AS"; then
5559 ac_cv_prog_AS="$AS" # Let the user override the test.
5560 else
5561 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5562 for as_dir in $PATH
5564 IFS=$as_save_IFS
5565 test -z "$as_dir" && as_dir=.
5566 for ac_exec_ext in '' $ac_executable_extensions; do
5567 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5568 ac_cv_prog_AS="${ac_tool_prefix}as"
5569 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5570 break 2
5572 done
5573 done
5574 IFS=$as_save_IFS
5578 AS=$ac_cv_prog_AS
5579 if test -n "$AS"; then
5580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
5581 $as_echo "$AS" >&6; }
5582 else
5583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5584 $as_echo "no" >&6; }
5589 if test -z "$ac_cv_prog_AS"; then
5590 ac_ct_AS=$AS
5591 # Extract the first word of "as", so it can be a program name with args.
5592 set dummy as; ac_word=$2
5593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5594 $as_echo_n "checking for $ac_word... " >&6; }
5595 if ${ac_cv_prog_ac_ct_AS+:} false; then :
5596 $as_echo_n "(cached) " >&6
5597 else
5598 if test -n "$ac_ct_AS"; then
5599 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5600 else
5601 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5602 for as_dir in $PATH
5604 IFS=$as_save_IFS
5605 test -z "$as_dir" && as_dir=.
5606 for ac_exec_ext in '' $ac_executable_extensions; do
5607 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5608 ac_cv_prog_ac_ct_AS="as"
5609 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5610 break 2
5612 done
5613 done
5614 IFS=$as_save_IFS
5618 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5619 if test -n "$ac_ct_AS"; then
5620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
5621 $as_echo "$ac_ct_AS" >&6; }
5622 else
5623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5624 $as_echo "no" >&6; }
5627 if test "x$ac_ct_AS" = x; then
5628 AS=""
5629 else
5630 case $cross_compiling:$ac_tool_warned in
5631 yes:)
5632 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5633 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5634 ac_tool_warned=yes ;;
5635 esac
5636 AS=$ac_ct_AS
5638 else
5639 AS="$ac_cv_prog_AS"
5642 if test -n "$ac_tool_prefix"; then
5643 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5644 set dummy ${ac_tool_prefix}ar; ac_word=$2
5645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5646 $as_echo_n "checking for $ac_word... " >&6; }
5647 if ${ac_cv_prog_AR+:} false; then :
5648 $as_echo_n "(cached) " >&6
5649 else
5650 if test -n "$AR"; then
5651 ac_cv_prog_AR="$AR" # Let the user override the test.
5652 else
5653 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5654 for as_dir in $PATH
5656 IFS=$as_save_IFS
5657 test -z "$as_dir" && as_dir=.
5658 for ac_exec_ext in '' $ac_executable_extensions; do
5659 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5660 ac_cv_prog_AR="${ac_tool_prefix}ar"
5661 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5662 break 2
5664 done
5665 done
5666 IFS=$as_save_IFS
5670 AR=$ac_cv_prog_AR
5671 if test -n "$AR"; then
5672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5673 $as_echo "$AR" >&6; }
5674 else
5675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5676 $as_echo "no" >&6; }
5681 if test -z "$ac_cv_prog_AR"; then
5682 ac_ct_AR=$AR
5683 # Extract the first word of "ar", so it can be a program name with args.
5684 set dummy ar; ac_word=$2
5685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5686 $as_echo_n "checking for $ac_word... " >&6; }
5687 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5688 $as_echo_n "(cached) " >&6
5689 else
5690 if test -n "$ac_ct_AR"; then
5691 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5692 else
5693 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5694 for as_dir in $PATH
5696 IFS=$as_save_IFS
5697 test -z "$as_dir" && as_dir=.
5698 for ac_exec_ext in '' $ac_executable_extensions; do
5699 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5700 ac_cv_prog_ac_ct_AR="ar"
5701 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5702 break 2
5704 done
5705 done
5706 IFS=$as_save_IFS
5710 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5711 if test -n "$ac_ct_AR"; then
5712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5713 $as_echo "$ac_ct_AR" >&6; }
5714 else
5715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5716 $as_echo "no" >&6; }
5719 if test "x$ac_ct_AR" = x; then
5720 AR=""
5721 else
5722 case $cross_compiling:$ac_tool_warned in
5723 yes:)
5724 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5725 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5726 ac_tool_warned=yes ;;
5727 esac
5728 AR=$ac_ct_AR
5730 else
5731 AR="$ac_cv_prog_AR"
5734 if test -n "$ac_tool_prefix"; then
5735 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5736 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5738 $as_echo_n "checking for $ac_word... " >&6; }
5739 if ${ac_cv_prog_RANLIB+:} false; then :
5740 $as_echo_n "(cached) " >&6
5741 else
5742 if test -n "$RANLIB"; then
5743 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5744 else
5745 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5746 for as_dir in $PATH
5748 IFS=$as_save_IFS
5749 test -z "$as_dir" && as_dir=.
5750 for ac_exec_ext in '' $ac_executable_extensions; do
5751 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5752 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5753 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5754 break 2
5756 done
5757 done
5758 IFS=$as_save_IFS
5762 RANLIB=$ac_cv_prog_RANLIB
5763 if test -n "$RANLIB"; then
5764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5765 $as_echo "$RANLIB" >&6; }
5766 else
5767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5768 $as_echo "no" >&6; }
5773 if test -z "$ac_cv_prog_RANLIB"; then
5774 ac_ct_RANLIB=$RANLIB
5775 # Extract the first word of "ranlib", so it can be a program name with args.
5776 set dummy ranlib; ac_word=$2
5777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5778 $as_echo_n "checking for $ac_word... " >&6; }
5779 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5780 $as_echo_n "(cached) " >&6
5781 else
5782 if test -n "$ac_ct_RANLIB"; then
5783 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5784 else
5785 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5786 for as_dir in $PATH
5788 IFS=$as_save_IFS
5789 test -z "$as_dir" && as_dir=.
5790 for ac_exec_ext in '' $ac_executable_extensions; do
5791 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5792 ac_cv_prog_ac_ct_RANLIB="ranlib"
5793 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5794 break 2
5796 done
5797 done
5798 IFS=$as_save_IFS
5802 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5803 if test -n "$ac_ct_RANLIB"; then
5804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5805 $as_echo "$ac_ct_RANLIB" >&6; }
5806 else
5807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5808 $as_echo "no" >&6; }
5811 if test "x$ac_ct_RANLIB" = x; then
5812 RANLIB="ranlib-not-found-in-path-error"
5813 else
5814 case $cross_compiling:$ac_tool_warned in
5815 yes:)
5816 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5817 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5818 ac_tool_warned=yes ;;
5819 esac
5820 RANLIB=$ac_ct_RANLIB
5822 else
5823 RANLIB="$ac_cv_prog_RANLIB"
5828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5829 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5830 # Check whether --enable-maintainer-mode was given.
5831 if test "${enable_maintainer_mode+set}" = set; then :
5832 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
5833 else
5834 USE_MAINTAINER_MODE=no
5837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5838 $as_echo "$USE_MAINTAINER_MODE" >&6; }
5839 if test $USE_MAINTAINER_MODE = yes; then
5840 MAINTAINER_MODE_TRUE=
5841 MAINTAINER_MODE_FALSE='#'
5842 else
5843 MAINTAINER_MODE_TRUE='#'
5844 MAINTAINER_MODE_FALSE=
5847 MAINT=$MAINTAINER_MODE_TRUE
5851 # Set up safe default values for all subsequent AM_CONDITIONAL tests
5852 # which are themselves conditionally expanded.
5853 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
5854 ## other macros from doing the same. This should be automated.) -pme
5856 # Check for C library flavor since GNU/Linux platforms use different
5857 # configuration directories depending on the C library in use.
5858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5859 /* end confdefs.h. */
5861 #include <stdio.h>
5862 #if __UCLIBC__
5863 _using_uclibc
5864 #endif
5866 _ACEOF
5867 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5868 $EGREP "_using_uclibc" >/dev/null 2>&1; then :
5869 uclibc=yes
5870 else
5871 uclibc=no
5873 rm -f conftest*
5876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5877 /* end confdefs.h. */
5879 #include <stdio.h>
5880 #if __BIONIC__
5881 _using_bionic
5882 #endif
5884 _ACEOF
5885 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5886 $EGREP "_using_bionic" >/dev/null 2>&1; then :
5887 bionic=yes
5888 else
5889 bionic=no
5891 rm -f conftest*
5894 # Find platform-specific directories containing configuration info.
5895 # Also possibly modify flags used elsewhere, as needed by the platform.
5897 . $glibcxx_srcdir/configure.host
5898 { $as_echo "$as_me:${as_lineno-$LINENO}: CPU config directory is $cpu_include_dir" >&5
5899 $as_echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
5900 { $as_echo "$as_me:${as_lineno-$LINENO}: OS config directory is $os_include_dir" >&5
5901 $as_echo "$as_me: OS config directory is $os_include_dir" >&6;}
5905 # Libtool setup.
5906 if test "x${with_newlib}" != "xyes" && test "x${with_avrlibc}" != "xyes"; then
5907 enable_dlopen=yes
5912 case `pwd` in
5913 *\ * | *\ *)
5914 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5915 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5916 esac
5920 macro_version='2.2.7a'
5921 macro_revision='1.3134'
5935 ltmain="$ac_aux_dir/ltmain.sh"
5937 # Backslashify metacharacters that are still active within
5938 # double-quoted strings.
5939 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5941 # Same as above, but do not quote variable references.
5942 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5944 # Sed substitution to delay expansion of an escaped shell variable in a
5945 # double_quote_subst'ed string.
5946 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5948 # Sed substitution to delay expansion of an escaped single quote.
5949 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5951 # Sed substitution to avoid accidental globbing in evaled expressions
5952 no_glob_subst='s/\*/\\\*/g'
5954 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5955 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5956 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5959 $as_echo_n "checking how to print strings... " >&6; }
5960 # Test print first, because it will be a builtin if present.
5961 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5962 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5963 ECHO='print -r --'
5964 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5965 ECHO='printf %s\n'
5966 else
5967 # Use this function as a fallback that always works.
5968 func_fallback_echo ()
5970 eval 'cat <<_LTECHO_EOF
5972 _LTECHO_EOF'
5974 ECHO='func_fallback_echo'
5977 # func_echo_all arg...
5978 # Invoke $ECHO with all args, space-separated.
5979 func_echo_all ()
5981 $ECHO ""
5984 case "$ECHO" in
5985 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5986 $as_echo "printf" >&6; } ;;
5987 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5988 $as_echo "print -r" >&6; } ;;
5989 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5990 $as_echo "cat" >&6; } ;;
5991 esac
6006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
6007 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
6008 if ${ac_cv_path_SED+:} false; then :
6009 $as_echo_n "(cached) " >&6
6010 else
6011 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6012 for ac_i in 1 2 3 4 5 6 7; do
6013 ac_script="$ac_script$as_nl$ac_script"
6014 done
6015 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6016 { ac_script=; unset ac_script;}
6017 if test -z "$SED"; then
6018 ac_path_SED_found=false
6019 # Loop through the user's path and test for each of PROGNAME-LIST
6020 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6021 for as_dir in $PATH
6023 IFS=$as_save_IFS
6024 test -z "$as_dir" && as_dir=.
6025 for ac_prog in sed gsed; do
6026 for ac_exec_ext in '' $ac_executable_extensions; do
6027 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
6028 as_fn_executable_p "$ac_path_SED" || continue
6029 # Check for GNU ac_path_SED and select it if it is found.
6030 # Check for GNU $ac_path_SED
6031 case `"$ac_path_SED" --version 2>&1` in
6032 *GNU*)
6033 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
6035 ac_count=0
6036 $as_echo_n 0123456789 >"conftest.in"
6037 while :
6039 cat "conftest.in" "conftest.in" >"conftest.tmp"
6040 mv "conftest.tmp" "conftest.in"
6041 cp "conftest.in" "conftest.nl"
6042 $as_echo '' >> "conftest.nl"
6043 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
6044 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6045 as_fn_arith $ac_count + 1 && ac_count=$as_val
6046 if test $ac_count -gt ${ac_path_SED_max-0}; then
6047 # Best one so far, save it but keep looking for a better one
6048 ac_cv_path_SED="$ac_path_SED"
6049 ac_path_SED_max=$ac_count
6051 # 10*(2^10) chars as input seems more than enough
6052 test $ac_count -gt 10 && break
6053 done
6054 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6055 esac
6057 $ac_path_SED_found && break 3
6058 done
6059 done
6060 done
6061 IFS=$as_save_IFS
6062 if test -z "$ac_cv_path_SED"; then
6063 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
6065 else
6066 ac_cv_path_SED=$SED
6070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6071 $as_echo "$ac_cv_path_SED" >&6; }
6072 SED="$ac_cv_path_SED"
6073 rm -f conftest.sed
6075 test -z "$SED" && SED=sed
6076 Xsed="$SED -e 1s/^X//"
6088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
6089 $as_echo_n "checking for fgrep... " >&6; }
6090 if ${ac_cv_path_FGREP+:} false; then :
6091 $as_echo_n "(cached) " >&6
6092 else
6093 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
6094 then ac_cv_path_FGREP="$GREP -F"
6095 else
6096 if test -z "$FGREP"; then
6097 ac_path_FGREP_found=false
6098 # Loop through the user's path and test for each of PROGNAME-LIST
6099 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6100 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6102 IFS=$as_save_IFS
6103 test -z "$as_dir" && as_dir=.
6104 for ac_prog in fgrep; do
6105 for ac_exec_ext in '' $ac_executable_extensions; do
6106 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
6107 as_fn_executable_p "$ac_path_FGREP" || continue
6108 # Check for GNU ac_path_FGREP and select it if it is found.
6109 # Check for GNU $ac_path_FGREP
6110 case `"$ac_path_FGREP" --version 2>&1` in
6111 *GNU*)
6112 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
6114 ac_count=0
6115 $as_echo_n 0123456789 >"conftest.in"
6116 while :
6118 cat "conftest.in" "conftest.in" >"conftest.tmp"
6119 mv "conftest.tmp" "conftest.in"
6120 cp "conftest.in" "conftest.nl"
6121 $as_echo 'FGREP' >> "conftest.nl"
6122 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
6123 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6124 as_fn_arith $ac_count + 1 && ac_count=$as_val
6125 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6126 # Best one so far, save it but keep looking for a better one
6127 ac_cv_path_FGREP="$ac_path_FGREP"
6128 ac_path_FGREP_max=$ac_count
6130 # 10*(2^10) chars as input seems more than enough
6131 test $ac_count -gt 10 && break
6132 done
6133 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6134 esac
6136 $ac_path_FGREP_found && break 3
6137 done
6138 done
6139 done
6140 IFS=$as_save_IFS
6141 if test -z "$ac_cv_path_FGREP"; then
6142 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6144 else
6145 ac_cv_path_FGREP=$FGREP
6150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6151 $as_echo "$ac_cv_path_FGREP" >&6; }
6152 FGREP="$ac_cv_path_FGREP"
6155 test -z "$GREP" && GREP=grep
6175 # Check whether --with-gnu-ld was given.
6176 if test "${with_gnu_ld+set}" = set; then :
6177 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
6178 else
6179 with_gnu_ld=no
6182 ac_prog=ld
6183 if test "$GCC" = yes; then
6184 # Check if gcc -print-prog-name=ld gives a path.
6185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6186 $as_echo_n "checking for ld used by $CC... " >&6; }
6187 case $host in
6188 *-*-mingw*)
6189 # gcc leaves a trailing carriage return which upsets mingw
6190 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6192 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
6193 esac
6194 case $ac_prog in
6195 # Accept absolute paths.
6196 [\\/]* | ?:[\\/]*)
6197 re_direlt='/[^/][^/]*/\.\./'
6198 # Canonicalize the pathname of ld
6199 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6200 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
6201 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
6202 done
6203 test -z "$LD" && LD="$ac_prog"
6206 # If it fails, then pretend we aren't using GCC.
6207 ac_prog=ld
6210 # If it is relative, then search for the first ld in PATH.
6211 with_gnu_ld=unknown
6213 esac
6214 elif test "$with_gnu_ld" = yes; then
6215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6216 $as_echo_n "checking for GNU ld... " >&6; }
6217 else
6218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6219 $as_echo_n "checking for non-GNU ld... " >&6; }
6221 if ${lt_cv_path_LD+:} false; then :
6222 $as_echo_n "(cached) " >&6
6223 else
6224 if test -z "$LD"; then
6225 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6226 for ac_dir in $PATH; do
6227 IFS="$lt_save_ifs"
6228 test -z "$ac_dir" && ac_dir=.
6229 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6230 lt_cv_path_LD="$ac_dir/$ac_prog"
6231 # Check to see if the program is GNU ld. I'd rather use --version,
6232 # but apparently some variants of GNU ld only accept -v.
6233 # Break only if it was the GNU/non-GNU ld that we prefer.
6234 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6235 *GNU* | *'with BFD'*)
6236 test "$with_gnu_ld" != no && break
6239 test "$with_gnu_ld" != yes && break
6241 esac
6243 done
6244 IFS="$lt_save_ifs"
6245 else
6246 lt_cv_path_LD="$LD" # Let the user override the test with a path.
6250 LD="$lt_cv_path_LD"
6251 if test -n "$LD"; then
6252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6253 $as_echo "$LD" >&6; }
6254 else
6255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6256 $as_echo "no" >&6; }
6258 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
6259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6260 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6261 if ${lt_cv_prog_gnu_ld+:} false; then :
6262 $as_echo_n "(cached) " >&6
6263 else
6264 # I'd rather use --version here, but apparently some GNU lds only accept -v.
6265 case `$LD -v 2>&1 </dev/null` in
6266 *GNU* | *'with BFD'*)
6267 lt_cv_prog_gnu_ld=yes
6270 lt_cv_prog_gnu_ld=no
6272 esac
6274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6275 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6276 with_gnu_ld=$lt_cv_prog_gnu_ld
6286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6287 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6288 if ${lt_cv_path_NM+:} false; then :
6289 $as_echo_n "(cached) " >&6
6290 else
6291 if test -n "$NM"; then
6292 # Let the user override the test.
6293 lt_cv_path_NM="$NM"
6294 else
6295 lt_nm_to_check="${ac_tool_prefix}nm"
6296 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6297 lt_nm_to_check="$lt_nm_to_check nm"
6299 for lt_tmp_nm in $lt_nm_to_check; do
6300 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6301 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6302 IFS="$lt_save_ifs"
6303 test -z "$ac_dir" && ac_dir=.
6304 tmp_nm="$ac_dir/$lt_tmp_nm"
6305 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
6306 # Check to see if the nm accepts a BSD-compat flag.
6307 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6308 # nm: unknown option "B" ignored
6309 # Tru64's nm complains that /dev/null is an invalid object file
6310 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6311 */dev/null* | *'Invalid file or object type'*)
6312 lt_cv_path_NM="$tmp_nm -B"
6313 break
6316 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6317 */dev/null*)
6318 lt_cv_path_NM="$tmp_nm -p"
6319 break
6322 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6323 continue # so that we can try to find one that supports BSD flags
6325 esac
6327 esac
6329 done
6330 IFS="$lt_save_ifs"
6331 done
6332 : ${lt_cv_path_NM=no}
6335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6336 $as_echo "$lt_cv_path_NM" >&6; }
6337 if test "$lt_cv_path_NM" != "no"; then
6338 NM="$lt_cv_path_NM"
6339 else
6340 # Didn't find any BSD compatible name lister, look for dumpbin.
6341 if test -n "$DUMPBIN"; then :
6342 # Let the user override the test.
6343 else
6344 if test -n "$ac_tool_prefix"; then
6345 for ac_prog in dumpbin "link -dump"
6347 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6348 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6350 $as_echo_n "checking for $ac_word... " >&6; }
6351 if ${ac_cv_prog_DUMPBIN+:} false; then :
6352 $as_echo_n "(cached) " >&6
6353 else
6354 if test -n "$DUMPBIN"; then
6355 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
6356 else
6357 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6358 for as_dir in $PATH
6360 IFS=$as_save_IFS
6361 test -z "$as_dir" && as_dir=.
6362 for ac_exec_ext in '' $ac_executable_extensions; do
6363 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6364 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
6365 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6366 break 2
6368 done
6369 done
6370 IFS=$as_save_IFS
6374 DUMPBIN=$ac_cv_prog_DUMPBIN
6375 if test -n "$DUMPBIN"; then
6376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6377 $as_echo "$DUMPBIN" >&6; }
6378 else
6379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6380 $as_echo "no" >&6; }
6384 test -n "$DUMPBIN" && break
6385 done
6387 if test -z "$DUMPBIN"; then
6388 ac_ct_DUMPBIN=$DUMPBIN
6389 for ac_prog in dumpbin "link -dump"
6391 # Extract the first word of "$ac_prog", so it can be a program name with args.
6392 set dummy $ac_prog; ac_word=$2
6393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6394 $as_echo_n "checking for $ac_word... " >&6; }
6395 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
6396 $as_echo_n "(cached) " >&6
6397 else
6398 if test -n "$ac_ct_DUMPBIN"; then
6399 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6400 else
6401 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6402 for as_dir in $PATH
6404 IFS=$as_save_IFS
6405 test -z "$as_dir" && as_dir=.
6406 for ac_exec_ext in '' $ac_executable_extensions; do
6407 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6408 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6409 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6410 break 2
6412 done
6413 done
6414 IFS=$as_save_IFS
6418 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6419 if test -n "$ac_ct_DUMPBIN"; then
6420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6421 $as_echo "$ac_ct_DUMPBIN" >&6; }
6422 else
6423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6424 $as_echo "no" >&6; }
6428 test -n "$ac_ct_DUMPBIN" && break
6429 done
6431 if test "x$ac_ct_DUMPBIN" = x; then
6432 DUMPBIN=":"
6433 else
6434 case $cross_compiling:$ac_tool_warned in
6435 yes:)
6436 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6437 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6438 ac_tool_warned=yes ;;
6439 esac
6440 DUMPBIN=$ac_ct_DUMPBIN
6444 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
6445 *COFF*)
6446 DUMPBIN="$DUMPBIN -symbols"
6449 DUMPBIN=:
6451 esac
6454 if test "$DUMPBIN" != ":"; then
6455 NM="$DUMPBIN"
6458 test -z "$NM" && NM=nm
6465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6466 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
6467 if ${lt_cv_nm_interface+:} false; then :
6468 $as_echo_n "(cached) " >&6
6469 else
6470 lt_cv_nm_interface="BSD nm"
6471 echo "int some_variable = 0;" > conftest.$ac_ext
6472 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6473 (eval "$ac_compile" 2>conftest.err)
6474 cat conftest.err >&5
6475 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6476 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
6477 cat conftest.err >&5
6478 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6479 cat conftest.out >&5
6480 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6481 lt_cv_nm_interface="MS dumpbin"
6483 rm -f conftest*
6485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6486 $as_echo "$lt_cv_nm_interface" >&6; }
6488 # find the maximum length of command line arguments
6489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6490 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
6491 if ${lt_cv_sys_max_cmd_len+:} false; then :
6492 $as_echo_n "(cached) " >&6
6493 else
6495 teststring="ABCD"
6497 case $build_os in
6498 msdosdjgpp*)
6499 # On DJGPP, this test can blow up pretty badly due to problems in libc
6500 # (any single argument exceeding 2000 bytes causes a buffer overrun
6501 # during glob expansion). Even if it were fixed, the result of this
6502 # check would be larger than it should be.
6503 lt_cv_sys_max_cmd_len=12288; # 12K is about right
6506 gnu*)
6507 # Under GNU Hurd, this test is not required because there is
6508 # no limit to the length of command line arguments.
6509 # Libtool will interpret -1 as no limit whatsoever
6510 lt_cv_sys_max_cmd_len=-1;
6513 cygwin* | mingw* | cegcc*)
6514 # On Win9x/ME, this test blows up -- it succeeds, but takes
6515 # about 5 minutes as the teststring grows exponentially.
6516 # Worse, since 9x/ME are not pre-emptively multitasking,
6517 # you end up with a "frozen" computer, even though with patience
6518 # the test eventually succeeds (with a max line length of 256k).
6519 # Instead, let's just punt: use the minimum linelength reported by
6520 # all of the supported platforms: 8192 (on NT/2K/XP).
6521 lt_cv_sys_max_cmd_len=8192;
6524 mint*)
6525 # On MiNT this can take a long time and run out of memory.
6526 lt_cv_sys_max_cmd_len=8192;
6529 amigaos*)
6530 # On AmigaOS with pdksh, this test takes hours, literally.
6531 # So we just punt and use a minimum line length of 8192.
6532 lt_cv_sys_max_cmd_len=8192;
6535 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6536 # This has been around since 386BSD, at least. Likely further.
6537 if test -x /sbin/sysctl; then
6538 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6539 elif test -x /usr/sbin/sysctl; then
6540 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6541 else
6542 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
6544 # And add a safety zone
6545 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6546 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6549 interix*)
6550 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6551 lt_cv_sys_max_cmd_len=196608
6554 osf*)
6555 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6556 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6557 # nice to cause kernel panics so lets avoid the loop below.
6558 # First set a reasonable default.
6559 lt_cv_sys_max_cmd_len=16384
6561 if test -x /sbin/sysconfig; then
6562 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6563 *1*) lt_cv_sys_max_cmd_len=-1 ;;
6564 esac
6567 sco3.2v5*)
6568 lt_cv_sys_max_cmd_len=102400
6570 sysv5* | sco5v6* | sysv4.2uw2*)
6571 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6572 if test -n "$kargmax"; then
6573 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6574 else
6575 lt_cv_sys_max_cmd_len=32768
6579 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6580 if test -n "$lt_cv_sys_max_cmd_len"; then
6581 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6582 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6583 else
6584 # Make teststring a little bigger before we do anything with it.
6585 # a 1K string should be a reasonable start.
6586 for i in 1 2 3 4 5 6 7 8 ; do
6587 teststring=$teststring$teststring
6588 done
6589 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6590 # If test is not a shell built-in, we'll probably end up computing a
6591 # maximum length that is only half of the actual maximum length, but
6592 # we can't tell.
6593 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
6594 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6595 test $i != 17 # 1/2 MB should be enough
6597 i=`expr $i + 1`
6598 teststring=$teststring$teststring
6599 done
6600 # Only check the string length outside the loop.
6601 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6602 teststring=
6603 # Add a significant safety factor because C++ compilers can tack on
6604 # massive amounts of additional arguments before passing them to the
6605 # linker. It appears as though 1/2 is a usable value.
6606 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6609 esac
6613 if test -n $lt_cv_sys_max_cmd_len ; then
6614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6615 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6616 else
6617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6618 $as_echo "none" >&6; }
6620 max_cmd_len=$lt_cv_sys_max_cmd_len
6627 : ${CP="cp -f"}
6628 : ${MV="mv -f"}
6629 : ${RM="rm -f"}
6631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6632 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6633 # Try some XSI features
6634 xsi_shell=no
6635 ( _lt_dummy="a/b/c"
6636 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6637 = c,a/b,, \
6638 && eval 'test $(( 1 + 1 )) -eq 2 \
6639 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6640 && xsi_shell=yes
6641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6642 $as_echo "$xsi_shell" >&6; }
6645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6646 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6647 lt_shell_append=no
6648 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6649 >/dev/null 2>&1 \
6650 && lt_shell_append=yes
6651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6652 $as_echo "$lt_shell_append" >&6; }
6655 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6656 lt_unset=unset
6657 else
6658 lt_unset=false
6665 # test EBCDIC or ASCII
6666 case `echo X|tr X '\101'` in
6667 A) # ASCII based system
6668 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6669 lt_SP2NL='tr \040 \012'
6670 lt_NL2SP='tr \015\012 \040\040'
6672 *) # EBCDIC based system
6673 lt_SP2NL='tr \100 \n'
6674 lt_NL2SP='tr \r\n \100\100'
6676 esac
6686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6687 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6688 if ${lt_cv_ld_reload_flag+:} false; then :
6689 $as_echo_n "(cached) " >&6
6690 else
6691 lt_cv_ld_reload_flag='-r'
6693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6694 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6695 reload_flag=$lt_cv_ld_reload_flag
6696 case $reload_flag in
6697 "" | " "*) ;;
6698 *) reload_flag=" $reload_flag" ;;
6699 esac
6700 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6701 case $host_os in
6702 darwin*)
6703 if test "$GCC" = yes; then
6704 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6705 else
6706 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6709 esac
6719 if test -n "$ac_tool_prefix"; then
6720 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6721 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6723 $as_echo_n "checking for $ac_word... " >&6; }
6724 if ${ac_cv_prog_OBJDUMP+:} false; then :
6725 $as_echo_n "(cached) " >&6
6726 else
6727 if test -n "$OBJDUMP"; then
6728 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6729 else
6730 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6731 for as_dir in $PATH
6733 IFS=$as_save_IFS
6734 test -z "$as_dir" && as_dir=.
6735 for ac_exec_ext in '' $ac_executable_extensions; do
6736 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6737 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6738 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6739 break 2
6741 done
6742 done
6743 IFS=$as_save_IFS
6747 OBJDUMP=$ac_cv_prog_OBJDUMP
6748 if test -n "$OBJDUMP"; then
6749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6750 $as_echo "$OBJDUMP" >&6; }
6751 else
6752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6753 $as_echo "no" >&6; }
6758 if test -z "$ac_cv_prog_OBJDUMP"; then
6759 ac_ct_OBJDUMP=$OBJDUMP
6760 # Extract the first word of "objdump", so it can be a program name with args.
6761 set dummy objdump; ac_word=$2
6762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6763 $as_echo_n "checking for $ac_word... " >&6; }
6764 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6765 $as_echo_n "(cached) " >&6
6766 else
6767 if test -n "$ac_ct_OBJDUMP"; then
6768 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6769 else
6770 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6771 for as_dir in $PATH
6773 IFS=$as_save_IFS
6774 test -z "$as_dir" && as_dir=.
6775 for ac_exec_ext in '' $ac_executable_extensions; do
6776 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6777 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6778 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6779 break 2
6781 done
6782 done
6783 IFS=$as_save_IFS
6787 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6788 if test -n "$ac_ct_OBJDUMP"; then
6789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6790 $as_echo "$ac_ct_OBJDUMP" >&6; }
6791 else
6792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6793 $as_echo "no" >&6; }
6796 if test "x$ac_ct_OBJDUMP" = x; then
6797 OBJDUMP="false"
6798 else
6799 case $cross_compiling:$ac_tool_warned in
6800 yes:)
6801 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6802 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6803 ac_tool_warned=yes ;;
6804 esac
6805 OBJDUMP=$ac_ct_OBJDUMP
6807 else
6808 OBJDUMP="$ac_cv_prog_OBJDUMP"
6811 test -z "$OBJDUMP" && OBJDUMP=objdump
6821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6822 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6823 if ${lt_cv_deplibs_check_method+:} false; then :
6824 $as_echo_n "(cached) " >&6
6825 else
6826 lt_cv_file_magic_cmd='$MAGIC_CMD'
6827 lt_cv_file_magic_test_file=
6828 lt_cv_deplibs_check_method='unknown'
6829 # Need to set the preceding variable on all platforms that support
6830 # interlibrary dependencies.
6831 # 'none' -- dependencies not supported.
6832 # `unknown' -- same as none, but documents that we really don't know.
6833 # 'pass_all' -- all dependencies passed with no checks.
6834 # 'test_compile' -- check by making test program.
6835 # 'file_magic [[regex]]' -- check by looking for files in library path
6836 # which responds to the $file_magic_cmd with a given extended regex.
6837 # If you have `file' or equivalent on your system and you're not sure
6838 # whether `pass_all' will *always* work, you probably want this one.
6840 case $host_os in
6841 aix[4-9]*)
6842 lt_cv_deplibs_check_method=pass_all
6845 beos*)
6846 lt_cv_deplibs_check_method=pass_all
6849 bsdi[45]*)
6850 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6851 lt_cv_file_magic_cmd='/usr/bin/file -L'
6852 lt_cv_file_magic_test_file=/shlib/libc.so
6855 cygwin*)
6856 # func_win32_libid is a shell function defined in ltmain.sh
6857 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6858 lt_cv_file_magic_cmd='func_win32_libid'
6861 mingw* | pw32*)
6862 # Base MSYS/MinGW do not provide the 'file' command needed by
6863 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6864 # unless we find 'file', for example because we are cross-compiling.
6865 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6866 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6867 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6868 lt_cv_file_magic_cmd='func_win32_libid'
6869 else
6870 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6871 lt_cv_file_magic_cmd='$OBJDUMP -f'
6875 cegcc*)
6876 # use the weaker test based on 'objdump'. See mingw*.
6877 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6878 lt_cv_file_magic_cmd='$OBJDUMP -f'
6881 darwin* | rhapsody*)
6882 lt_cv_deplibs_check_method=pass_all
6885 freebsd* | dragonfly*)
6886 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6887 case $host_cpu in
6888 i*86 )
6889 # Not sure whether the presence of OpenBSD here was a mistake.
6890 # Let's accept both of them until this is cleared up.
6891 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6892 lt_cv_file_magic_cmd=/usr/bin/file
6893 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6895 esac
6896 else
6897 lt_cv_deplibs_check_method=pass_all
6901 gnu*)
6902 lt_cv_deplibs_check_method=pass_all
6905 haiku*)
6906 lt_cv_deplibs_check_method=pass_all
6909 hpux10.20* | hpux11*)
6910 lt_cv_file_magic_cmd=/usr/bin/file
6911 case $host_cpu in
6912 ia64*)
6913 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6914 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6916 hppa*64*)
6917 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]'
6918 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6921 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6922 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6924 esac
6927 interix[3-9]*)
6928 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6929 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6932 irix5* | irix6* | nonstopux*)
6933 case $LD in
6934 *-32|*"-32 ") libmagic=32-bit;;
6935 *-n32|*"-n32 ") libmagic=N32;;
6936 *-64|*"-64 ") libmagic=64-bit;;
6937 *) libmagic=never-match;;
6938 esac
6939 lt_cv_deplibs_check_method=pass_all
6942 # This must be Linux ELF.
6943 linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
6944 lt_cv_deplibs_check_method=pass_all
6947 netbsd*)
6948 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6949 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6950 else
6951 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6955 newos6*)
6956 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6957 lt_cv_file_magic_cmd=/usr/bin/file
6958 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6961 *nto* | *qnx*)
6962 lt_cv_deplibs_check_method=pass_all
6965 openbsd*)
6966 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6967 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6968 else
6969 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6973 osf3* | osf4* | osf5*)
6974 lt_cv_deplibs_check_method=pass_all
6977 rdos*)
6978 lt_cv_deplibs_check_method=pass_all
6981 solaris*)
6982 lt_cv_deplibs_check_method=pass_all
6985 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6986 lt_cv_deplibs_check_method=pass_all
6989 sysv4 | sysv4.3*)
6990 case $host_vendor in
6991 motorola)
6992 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]'
6993 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6995 ncr)
6996 lt_cv_deplibs_check_method=pass_all
6998 sequent)
6999 lt_cv_file_magic_cmd='/bin/file'
7000 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7002 sni)
7003 lt_cv_file_magic_cmd='/bin/file'
7004 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
7005 lt_cv_file_magic_test_file=/lib/libc.so
7007 siemens)
7008 lt_cv_deplibs_check_method=pass_all
7011 lt_cv_deplibs_check_method=pass_all
7013 esac
7016 tpf*)
7017 lt_cv_deplibs_check_method=pass_all
7019 esac
7022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
7023 $as_echo "$lt_cv_deplibs_check_method" >&6; }
7024 file_magic_cmd=$lt_cv_file_magic_cmd
7025 deplibs_check_method=$lt_cv_deplibs_check_method
7026 test -z "$deplibs_check_method" && deplibs_check_method=unknown
7039 if test -n "$ac_tool_prefix"; then
7040 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7041 set dummy ${ac_tool_prefix}ar; ac_word=$2
7042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7043 $as_echo_n "checking for $ac_word... " >&6; }
7044 if ${ac_cv_prog_AR+:} false; then :
7045 $as_echo_n "(cached) " >&6
7046 else
7047 if test -n "$AR"; then
7048 ac_cv_prog_AR="$AR" # Let the user override the test.
7049 else
7050 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7051 for as_dir in $PATH
7053 IFS=$as_save_IFS
7054 test -z "$as_dir" && as_dir=.
7055 for ac_exec_ext in '' $ac_executable_extensions; do
7056 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7057 ac_cv_prog_AR="${ac_tool_prefix}ar"
7058 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7059 break 2
7061 done
7062 done
7063 IFS=$as_save_IFS
7067 AR=$ac_cv_prog_AR
7068 if test -n "$AR"; then
7069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7070 $as_echo "$AR" >&6; }
7071 else
7072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7073 $as_echo "no" >&6; }
7078 if test -z "$ac_cv_prog_AR"; then
7079 ac_ct_AR=$AR
7080 # Extract the first word of "ar", so it can be a program name with args.
7081 set dummy ar; ac_word=$2
7082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7083 $as_echo_n "checking for $ac_word... " >&6; }
7084 if ${ac_cv_prog_ac_ct_AR+:} false; then :
7085 $as_echo_n "(cached) " >&6
7086 else
7087 if test -n "$ac_ct_AR"; then
7088 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7089 else
7090 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7091 for as_dir in $PATH
7093 IFS=$as_save_IFS
7094 test -z "$as_dir" && as_dir=.
7095 for ac_exec_ext in '' $ac_executable_extensions; do
7096 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7097 ac_cv_prog_ac_ct_AR="ar"
7098 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7099 break 2
7101 done
7102 done
7103 IFS=$as_save_IFS
7107 ac_ct_AR=$ac_cv_prog_ac_ct_AR
7108 if test -n "$ac_ct_AR"; then
7109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7110 $as_echo "$ac_ct_AR" >&6; }
7111 else
7112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7113 $as_echo "no" >&6; }
7116 if test "x$ac_ct_AR" = x; then
7117 AR="false"
7118 else
7119 case $cross_compiling:$ac_tool_warned in
7120 yes:)
7121 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7122 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7123 ac_tool_warned=yes ;;
7124 esac
7125 AR=$ac_ct_AR
7127 else
7128 AR="$ac_cv_prog_AR"
7131 test -z "$AR" && AR=ar
7132 test -z "$AR_FLAGS" && AR_FLAGS=cru
7144 if test -n "$ac_tool_prefix"; then
7145 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7146 set dummy ${ac_tool_prefix}strip; ac_word=$2
7147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7148 $as_echo_n "checking for $ac_word... " >&6; }
7149 if ${ac_cv_prog_STRIP+:} false; then :
7150 $as_echo_n "(cached) " >&6
7151 else
7152 if test -n "$STRIP"; then
7153 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7154 else
7155 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7156 for as_dir in $PATH
7158 IFS=$as_save_IFS
7159 test -z "$as_dir" && as_dir=.
7160 for ac_exec_ext in '' $ac_executable_extensions; do
7161 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7162 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7163 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7164 break 2
7166 done
7167 done
7168 IFS=$as_save_IFS
7172 STRIP=$ac_cv_prog_STRIP
7173 if test -n "$STRIP"; then
7174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7175 $as_echo "$STRIP" >&6; }
7176 else
7177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7178 $as_echo "no" >&6; }
7183 if test -z "$ac_cv_prog_STRIP"; then
7184 ac_ct_STRIP=$STRIP
7185 # Extract the first word of "strip", so it can be a program name with args.
7186 set dummy strip; ac_word=$2
7187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7188 $as_echo_n "checking for $ac_word... " >&6; }
7189 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
7190 $as_echo_n "(cached) " >&6
7191 else
7192 if test -n "$ac_ct_STRIP"; then
7193 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7194 else
7195 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7196 for as_dir in $PATH
7198 IFS=$as_save_IFS
7199 test -z "$as_dir" && as_dir=.
7200 for ac_exec_ext in '' $ac_executable_extensions; do
7201 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7202 ac_cv_prog_ac_ct_STRIP="strip"
7203 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7204 break 2
7206 done
7207 done
7208 IFS=$as_save_IFS
7212 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7213 if test -n "$ac_ct_STRIP"; then
7214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7215 $as_echo "$ac_ct_STRIP" >&6; }
7216 else
7217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7218 $as_echo "no" >&6; }
7221 if test "x$ac_ct_STRIP" = x; then
7222 STRIP=":"
7223 else
7224 case $cross_compiling:$ac_tool_warned in
7225 yes:)
7226 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7227 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7228 ac_tool_warned=yes ;;
7229 esac
7230 STRIP=$ac_ct_STRIP
7232 else
7233 STRIP="$ac_cv_prog_STRIP"
7236 test -z "$STRIP" && STRIP=:
7243 if test -n "$ac_tool_prefix"; then
7244 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7245 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7247 $as_echo_n "checking for $ac_word... " >&6; }
7248 if ${ac_cv_prog_RANLIB+:} false; then :
7249 $as_echo_n "(cached) " >&6
7250 else
7251 if test -n "$RANLIB"; then
7252 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7253 else
7254 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7255 for as_dir in $PATH
7257 IFS=$as_save_IFS
7258 test -z "$as_dir" && as_dir=.
7259 for ac_exec_ext in '' $ac_executable_extensions; do
7260 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7261 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7262 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7263 break 2
7265 done
7266 done
7267 IFS=$as_save_IFS
7271 RANLIB=$ac_cv_prog_RANLIB
7272 if test -n "$RANLIB"; then
7273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7274 $as_echo "$RANLIB" >&6; }
7275 else
7276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7277 $as_echo "no" >&6; }
7282 if test -z "$ac_cv_prog_RANLIB"; then
7283 ac_ct_RANLIB=$RANLIB
7284 # Extract the first word of "ranlib", so it can be a program name with args.
7285 set dummy ranlib; ac_word=$2
7286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7287 $as_echo_n "checking for $ac_word... " >&6; }
7288 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
7289 $as_echo_n "(cached) " >&6
7290 else
7291 if test -n "$ac_ct_RANLIB"; then
7292 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7293 else
7294 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7295 for as_dir in $PATH
7297 IFS=$as_save_IFS
7298 test -z "$as_dir" && as_dir=.
7299 for ac_exec_ext in '' $ac_executable_extensions; do
7300 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7301 ac_cv_prog_ac_ct_RANLIB="ranlib"
7302 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7303 break 2
7305 done
7306 done
7307 IFS=$as_save_IFS
7311 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7312 if test -n "$ac_ct_RANLIB"; then
7313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7314 $as_echo "$ac_ct_RANLIB" >&6; }
7315 else
7316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7317 $as_echo "no" >&6; }
7320 if test "x$ac_ct_RANLIB" = x; then
7321 RANLIB=":"
7322 else
7323 case $cross_compiling:$ac_tool_warned in
7324 yes:)
7325 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7326 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7327 ac_tool_warned=yes ;;
7328 esac
7329 RANLIB=$ac_ct_RANLIB
7331 else
7332 RANLIB="$ac_cv_prog_RANLIB"
7335 test -z "$RANLIB" && RANLIB=:
7342 # Determine commands to create old-style static archives.
7343 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7344 old_postinstall_cmds='chmod 644 $oldlib'
7345 old_postuninstall_cmds=
7347 if test -n "$RANLIB"; then
7348 case $host_os in
7349 openbsd*)
7350 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
7353 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
7355 esac
7356 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
7359 case $host_os in
7360 darwin*)
7361 lock_old_archive_extraction=yes ;;
7363 lock_old_archive_extraction=no ;;
7364 esac
7404 # If no C compiler was specified, use CC.
7405 LTCC=${LTCC-"$CC"}
7407 # If no C compiler flags were specified, use CFLAGS.
7408 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7410 # Allow CC to be a program name with arguments.
7411 compiler=$CC
7414 # Check for command to grab the raw symbol name followed by C symbol from nm.
7415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7416 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7417 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7418 $as_echo_n "(cached) " >&6
7419 else
7421 # These are sane defaults that work on at least a few old systems.
7422 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7424 # Character class describing NM global symbol codes.
7425 symcode='[BCDEGRST]'
7427 # Regexp to match symbols that can be accessed directly from C.
7428 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7430 # Define system-specific variables.
7431 case $host_os in
7432 aix*)
7433 symcode='[BCDT]'
7435 cygwin* | mingw* | pw32* | cegcc*)
7436 symcode='[ABCDGISTW]'
7438 hpux*)
7439 if test "$host_cpu" = ia64; then
7440 symcode='[ABCDEGRST]'
7443 irix* | nonstopux*)
7444 symcode='[BCDEGRST]'
7446 osf*)
7447 symcode='[BCDEGQRST]'
7449 solaris*)
7450 symcode='[BDRT]'
7452 sco3.2v5*)
7453 symcode='[DT]'
7455 sysv4.2uw2*)
7456 symcode='[DT]'
7458 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7459 symcode='[ABDT]'
7461 sysv4)
7462 symcode='[DFNSTU]'
7464 esac
7466 # If we're using GNU nm, then use its standard symbol codes.
7467 case `$NM -V 2>&1` in
7468 *GNU* | *'with BFD'*)
7469 symcode='[ABCDGIRSTW]' ;;
7470 esac
7472 # Transform an extracted symbol line into a proper C declaration.
7473 # Some systems (esp. on ia64) link data and code symbols differently,
7474 # so use this general approach.
7475 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7477 # Transform an extracted symbol line into symbol name and symbol address
7478 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7479 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'"
7481 # Handle CRLF in mingw tool chain
7482 opt_cr=
7483 case $build_os in
7484 mingw*)
7485 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7487 esac
7489 # Try without a prefix underscore, then with it.
7490 for ac_symprfx in "" "_"; do
7492 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7493 symxfrm="\\1 $ac_symprfx\\2 \\2"
7495 # Write the raw and C identifiers.
7496 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7497 # Fake it for dumpbin and say T for any non-static function
7498 # and D for any global variable.
7499 # Also find C++ and __fastcall symbols from MSVC++,
7500 # which start with @ or ?.
7501 lt_cv_sys_global_symbol_pipe="$AWK '"\
7502 " {last_section=section; section=\$ 3};"\
7503 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7504 " \$ 0!~/External *\|/{next};"\
7505 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7506 " {if(hide[section]) next};"\
7507 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7508 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7509 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7510 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7511 " ' prfx=^$ac_symprfx"
7512 else
7513 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7516 # Check to see that the pipe works correctly.
7517 pipe_works=no
7519 rm -f conftest*
7520 cat > conftest.$ac_ext <<_LT_EOF
7521 #ifdef __cplusplus
7522 extern "C" {
7523 #endif
7524 char nm_test_var;
7525 void nm_test_func(void);
7526 void nm_test_func(void){}
7527 #ifdef __cplusplus
7529 #endif
7530 int main(){nm_test_var='a';nm_test_func();return(0);}
7531 _LT_EOF
7533 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7534 (eval $ac_compile) 2>&5
7535 ac_status=$?
7536 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7537 test $ac_status = 0; }; then
7538 # Now try to grab the symbols.
7539 nlist=conftest.nm
7540 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7541 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7542 ac_status=$?
7543 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7544 test $ac_status = 0; } && test -s "$nlist"; then
7545 # Try sorting and uniquifying the output.
7546 if sort "$nlist" | uniq > "$nlist"T; then
7547 mv -f "$nlist"T "$nlist"
7548 else
7549 rm -f "$nlist"T
7552 # Make sure that we snagged all the symbols we need.
7553 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7554 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7555 cat <<_LT_EOF > conftest.$ac_ext
7556 #ifdef __cplusplus
7557 extern "C" {
7558 #endif
7560 _LT_EOF
7561 # Now generate the symbol file.
7562 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7564 cat <<_LT_EOF >> conftest.$ac_ext
7566 /* The mapping between symbol names and symbols. */
7567 const struct {
7568 const char *name;
7569 void *address;
7571 lt__PROGRAM__LTX_preloaded_symbols[] =
7573 { "@PROGRAM@", (void *) 0 },
7574 _LT_EOF
7575 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7576 cat <<\_LT_EOF >> conftest.$ac_ext
7577 {0, (void *) 0}
7580 /* This works around a problem in FreeBSD linker */
7581 #ifdef FREEBSD_WORKAROUND
7582 static const void *lt_preloaded_setup() {
7583 return lt__PROGRAM__LTX_preloaded_symbols;
7585 #endif
7587 #ifdef __cplusplus
7589 #endif
7590 _LT_EOF
7591 # Now try linking the two files.
7592 mv conftest.$ac_objext conftstm.$ac_objext
7593 lt_save_LIBS="$LIBS"
7594 lt_save_CFLAGS="$CFLAGS"
7595 LIBS="conftstm.$ac_objext"
7596 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7597 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7598 (eval $ac_link) 2>&5
7599 ac_status=$?
7600 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7601 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7602 pipe_works=yes
7604 LIBS="$lt_save_LIBS"
7605 CFLAGS="$lt_save_CFLAGS"
7606 else
7607 echo "cannot find nm_test_func in $nlist" >&5
7609 else
7610 echo "cannot find nm_test_var in $nlist" >&5
7612 else
7613 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7615 else
7616 echo "$progname: failed program was:" >&5
7617 cat conftest.$ac_ext >&5
7619 rm -rf conftest* conftst*
7621 # Do not use the global_symbol_pipe unless it works.
7622 if test "$pipe_works" = yes; then
7623 break
7624 else
7625 lt_cv_sys_global_symbol_pipe=
7627 done
7631 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7632 lt_cv_sys_global_symbol_to_cdecl=
7634 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7636 $as_echo "failed" >&6; }
7637 else
7638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7639 $as_echo "ok" >&6; }
7663 # Check whether --enable-libtool-lock was given.
7664 if test "${enable_libtool_lock+set}" = set; then :
7665 enableval=$enable_libtool_lock;
7668 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7670 # Some flags need to be propagated to the compiler or linker for good
7671 # libtool support.
7672 case $host in
7673 ia64-*-hpux*)
7674 # Find out which ABI we are using.
7675 echo 'int i;' > conftest.$ac_ext
7676 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7677 (eval $ac_compile) 2>&5
7678 ac_status=$?
7679 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7680 test $ac_status = 0; }; then
7681 case `/usr/bin/file conftest.$ac_objext` in
7682 *ELF-32*)
7683 HPUX_IA64_MODE="32"
7685 *ELF-64*)
7686 HPUX_IA64_MODE="64"
7688 esac
7690 rm -rf conftest*
7692 *-*-irix6*)
7693 # Find out which ABI we are using.
7694 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7695 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7696 (eval $ac_compile) 2>&5
7697 ac_status=$?
7698 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7699 test $ac_status = 0; }; then
7700 if test "$lt_cv_prog_gnu_ld" = yes; then
7701 case `/usr/bin/file conftest.$ac_objext` in
7702 *32-bit*)
7703 LD="${LD-ld} -melf32bsmip"
7705 *N32*)
7706 LD="${LD-ld} -melf32bmipn32"
7708 *64-bit*)
7709 LD="${LD-ld} -melf64bmip"
7711 esac
7712 else
7713 case `/usr/bin/file conftest.$ac_objext` in
7714 *32-bit*)
7715 LD="${LD-ld} -32"
7717 *N32*)
7718 LD="${LD-ld} -n32"
7720 *64-bit*)
7721 LD="${LD-ld} -64"
7723 esac
7726 rm -rf conftest*
7729 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7730 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7731 # Find out which ABI we are using.
7732 echo 'int i;' > conftest.$ac_ext
7733 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7734 (eval $ac_compile) 2>&5
7735 ac_status=$?
7736 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7737 test $ac_status = 0; }; then
7738 case `/usr/bin/file conftest.o` in
7739 *32-bit*)
7740 case $host in
7741 x86_64-*kfreebsd*-gnu)
7742 LD="${LD-ld} -m elf_i386_fbsd"
7744 x86_64-*linux*)
7745 case `/usr/bin/file conftest.o` in
7746 *x86-64*)
7747 LD="${LD-ld} -m elf32_x86_64"
7750 LD="${LD-ld} -m elf_i386"
7752 esac
7754 powerpc64le-*linux*)
7755 LD="${LD-ld} -m elf32lppclinux"
7757 powerpc64-*linux*)
7758 LD="${LD-ld} -m elf32ppclinux"
7760 s390x-*linux*)
7761 LD="${LD-ld} -m elf_s390"
7763 sparc64-*linux*)
7764 LD="${LD-ld} -m elf32_sparc"
7766 esac
7768 *64-bit*)
7769 case $host in
7770 x86_64-*kfreebsd*-gnu)
7771 LD="${LD-ld} -m elf_x86_64_fbsd"
7773 x86_64-*linux*)
7774 LD="${LD-ld} -m elf_x86_64"
7776 powerpcle-*linux*)
7777 LD="${LD-ld} -m elf64lppc"
7779 powerpc-*linux*)
7780 LD="${LD-ld} -m elf64ppc"
7782 s390*-*linux*|s390*-*tpf*)
7783 LD="${LD-ld} -m elf64_s390"
7785 sparc*-*linux*)
7786 LD="${LD-ld} -m elf64_sparc"
7788 esac
7790 esac
7792 rm -rf conftest*
7795 *-*-sco3.2v5*)
7796 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7797 SAVE_CFLAGS="$CFLAGS"
7798 CFLAGS="$CFLAGS -belf"
7799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7800 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7801 if ${lt_cv_cc_needs_belf+:} false; then :
7802 $as_echo_n "(cached) " >&6
7803 else
7804 ac_ext=c
7805 ac_cpp='$CPP $CPPFLAGS'
7806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7810 if test x$gcc_no_link = xyes; then
7811 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7814 /* end confdefs.h. */
7817 main ()
7821 return 0;
7823 _ACEOF
7824 if ac_fn_c_try_link "$LINENO"; then :
7825 lt_cv_cc_needs_belf=yes
7826 else
7827 lt_cv_cc_needs_belf=no
7829 rm -f core conftest.err conftest.$ac_objext \
7830 conftest$ac_exeext conftest.$ac_ext
7831 ac_ext=c
7832 ac_cpp='$CPP $CPPFLAGS'
7833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7839 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7840 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7841 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7842 CFLAGS="$SAVE_CFLAGS"
7845 sparc*-*solaris*)
7846 # Find out which ABI we are using.
7847 echo 'int i;' > conftest.$ac_ext
7848 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7849 (eval $ac_compile) 2>&5
7850 ac_status=$?
7851 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7852 test $ac_status = 0; }; then
7853 case `/usr/bin/file conftest.o` in
7854 *64-bit*)
7855 case $lt_cv_prog_gnu_ld in
7856 yes*) LD="${LD-ld} -m elf64_sparc" ;;
7858 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7859 LD="${LD-ld} -64"
7862 esac
7864 esac
7866 rm -rf conftest*
7868 esac
7870 need_locks="$enable_libtool_lock"
7873 case $host_os in
7874 rhapsody* | darwin*)
7875 if test -n "$ac_tool_prefix"; then
7876 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7877 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7879 $as_echo_n "checking for $ac_word... " >&6; }
7880 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7881 $as_echo_n "(cached) " >&6
7882 else
7883 if test -n "$DSYMUTIL"; then
7884 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7885 else
7886 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7887 for as_dir in $PATH
7889 IFS=$as_save_IFS
7890 test -z "$as_dir" && as_dir=.
7891 for ac_exec_ext in '' $ac_executable_extensions; do
7892 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7893 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7894 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7895 break 2
7897 done
7898 done
7899 IFS=$as_save_IFS
7903 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7904 if test -n "$DSYMUTIL"; then
7905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7906 $as_echo "$DSYMUTIL" >&6; }
7907 else
7908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7909 $as_echo "no" >&6; }
7914 if test -z "$ac_cv_prog_DSYMUTIL"; then
7915 ac_ct_DSYMUTIL=$DSYMUTIL
7916 # Extract the first word of "dsymutil", so it can be a program name with args.
7917 set dummy dsymutil; ac_word=$2
7918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7919 $as_echo_n "checking for $ac_word... " >&6; }
7920 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7921 $as_echo_n "(cached) " >&6
7922 else
7923 if test -n "$ac_ct_DSYMUTIL"; then
7924 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7925 else
7926 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7927 for as_dir in $PATH
7929 IFS=$as_save_IFS
7930 test -z "$as_dir" && as_dir=.
7931 for ac_exec_ext in '' $ac_executable_extensions; do
7932 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7933 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7934 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7935 break 2
7937 done
7938 done
7939 IFS=$as_save_IFS
7943 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7944 if test -n "$ac_ct_DSYMUTIL"; then
7945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7946 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7947 else
7948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7949 $as_echo "no" >&6; }
7952 if test "x$ac_ct_DSYMUTIL" = x; then
7953 DSYMUTIL=":"
7954 else
7955 case $cross_compiling:$ac_tool_warned in
7956 yes:)
7957 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7958 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7959 ac_tool_warned=yes ;;
7960 esac
7961 DSYMUTIL=$ac_ct_DSYMUTIL
7963 else
7964 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7967 if test -n "$ac_tool_prefix"; then
7968 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7969 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7971 $as_echo_n "checking for $ac_word... " >&6; }
7972 if ${ac_cv_prog_NMEDIT+:} false; then :
7973 $as_echo_n "(cached) " >&6
7974 else
7975 if test -n "$NMEDIT"; then
7976 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7977 else
7978 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7979 for as_dir in $PATH
7981 IFS=$as_save_IFS
7982 test -z "$as_dir" && as_dir=.
7983 for ac_exec_ext in '' $ac_executable_extensions; do
7984 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7985 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7986 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7987 break 2
7989 done
7990 done
7991 IFS=$as_save_IFS
7995 NMEDIT=$ac_cv_prog_NMEDIT
7996 if test -n "$NMEDIT"; then
7997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7998 $as_echo "$NMEDIT" >&6; }
7999 else
8000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8001 $as_echo "no" >&6; }
8006 if test -z "$ac_cv_prog_NMEDIT"; then
8007 ac_ct_NMEDIT=$NMEDIT
8008 # Extract the first word of "nmedit", so it can be a program name with args.
8009 set dummy nmedit; ac_word=$2
8010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8011 $as_echo_n "checking for $ac_word... " >&6; }
8012 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
8013 $as_echo_n "(cached) " >&6
8014 else
8015 if test -n "$ac_ct_NMEDIT"; then
8016 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8017 else
8018 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8019 for as_dir in $PATH
8021 IFS=$as_save_IFS
8022 test -z "$as_dir" && as_dir=.
8023 for ac_exec_ext in '' $ac_executable_extensions; do
8024 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8025 ac_cv_prog_ac_ct_NMEDIT="nmedit"
8026 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8027 break 2
8029 done
8030 done
8031 IFS=$as_save_IFS
8035 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8036 if test -n "$ac_ct_NMEDIT"; then
8037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8038 $as_echo "$ac_ct_NMEDIT" >&6; }
8039 else
8040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8041 $as_echo "no" >&6; }
8044 if test "x$ac_ct_NMEDIT" = x; then
8045 NMEDIT=":"
8046 else
8047 case $cross_compiling:$ac_tool_warned in
8048 yes:)
8049 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8050 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8051 ac_tool_warned=yes ;;
8052 esac
8053 NMEDIT=$ac_ct_NMEDIT
8055 else
8056 NMEDIT="$ac_cv_prog_NMEDIT"
8059 if test -n "$ac_tool_prefix"; then
8060 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8061 set dummy ${ac_tool_prefix}lipo; ac_word=$2
8062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8063 $as_echo_n "checking for $ac_word... " >&6; }
8064 if ${ac_cv_prog_LIPO+:} false; then :
8065 $as_echo_n "(cached) " >&6
8066 else
8067 if test -n "$LIPO"; then
8068 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8069 else
8070 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8071 for as_dir in $PATH
8073 IFS=$as_save_IFS
8074 test -z "$as_dir" && as_dir=.
8075 for ac_exec_ext in '' $ac_executable_extensions; do
8076 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8077 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
8078 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8079 break 2
8081 done
8082 done
8083 IFS=$as_save_IFS
8087 LIPO=$ac_cv_prog_LIPO
8088 if test -n "$LIPO"; then
8089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8090 $as_echo "$LIPO" >&6; }
8091 else
8092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8093 $as_echo "no" >&6; }
8098 if test -z "$ac_cv_prog_LIPO"; then
8099 ac_ct_LIPO=$LIPO
8100 # Extract the first word of "lipo", so it can be a program name with args.
8101 set dummy lipo; ac_word=$2
8102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8103 $as_echo_n "checking for $ac_word... " >&6; }
8104 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
8105 $as_echo_n "(cached) " >&6
8106 else
8107 if test -n "$ac_ct_LIPO"; then
8108 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8109 else
8110 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8111 for as_dir in $PATH
8113 IFS=$as_save_IFS
8114 test -z "$as_dir" && as_dir=.
8115 for ac_exec_ext in '' $ac_executable_extensions; do
8116 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8117 ac_cv_prog_ac_ct_LIPO="lipo"
8118 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8119 break 2
8121 done
8122 done
8123 IFS=$as_save_IFS
8127 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8128 if test -n "$ac_ct_LIPO"; then
8129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8130 $as_echo "$ac_ct_LIPO" >&6; }
8131 else
8132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8133 $as_echo "no" >&6; }
8136 if test "x$ac_ct_LIPO" = x; then
8137 LIPO=":"
8138 else
8139 case $cross_compiling:$ac_tool_warned in
8140 yes:)
8141 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8142 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8143 ac_tool_warned=yes ;;
8144 esac
8145 LIPO=$ac_ct_LIPO
8147 else
8148 LIPO="$ac_cv_prog_LIPO"
8151 if test -n "$ac_tool_prefix"; then
8152 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8153 set dummy ${ac_tool_prefix}otool; ac_word=$2
8154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8155 $as_echo_n "checking for $ac_word... " >&6; }
8156 if ${ac_cv_prog_OTOOL+:} false; then :
8157 $as_echo_n "(cached) " >&6
8158 else
8159 if test -n "$OTOOL"; then
8160 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8161 else
8162 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8163 for as_dir in $PATH
8165 IFS=$as_save_IFS
8166 test -z "$as_dir" && as_dir=.
8167 for ac_exec_ext in '' $ac_executable_extensions; do
8168 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8169 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8170 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8171 break 2
8173 done
8174 done
8175 IFS=$as_save_IFS
8179 OTOOL=$ac_cv_prog_OTOOL
8180 if test -n "$OTOOL"; then
8181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8182 $as_echo "$OTOOL" >&6; }
8183 else
8184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8185 $as_echo "no" >&6; }
8190 if test -z "$ac_cv_prog_OTOOL"; then
8191 ac_ct_OTOOL=$OTOOL
8192 # Extract the first word of "otool", so it can be a program name with args.
8193 set dummy otool; ac_word=$2
8194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8195 $as_echo_n "checking for $ac_word... " >&6; }
8196 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8197 $as_echo_n "(cached) " >&6
8198 else
8199 if test -n "$ac_ct_OTOOL"; then
8200 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8201 else
8202 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8203 for as_dir in $PATH
8205 IFS=$as_save_IFS
8206 test -z "$as_dir" && as_dir=.
8207 for ac_exec_ext in '' $ac_executable_extensions; do
8208 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8209 ac_cv_prog_ac_ct_OTOOL="otool"
8210 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8211 break 2
8213 done
8214 done
8215 IFS=$as_save_IFS
8219 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8220 if test -n "$ac_ct_OTOOL"; then
8221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8222 $as_echo "$ac_ct_OTOOL" >&6; }
8223 else
8224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8225 $as_echo "no" >&6; }
8228 if test "x$ac_ct_OTOOL" = x; then
8229 OTOOL=":"
8230 else
8231 case $cross_compiling:$ac_tool_warned in
8232 yes:)
8233 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8234 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8235 ac_tool_warned=yes ;;
8236 esac
8237 OTOOL=$ac_ct_OTOOL
8239 else
8240 OTOOL="$ac_cv_prog_OTOOL"
8243 if test -n "$ac_tool_prefix"; then
8244 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8245 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8247 $as_echo_n "checking for $ac_word... " >&6; }
8248 if ${ac_cv_prog_OTOOL64+:} false; then :
8249 $as_echo_n "(cached) " >&6
8250 else
8251 if test -n "$OTOOL64"; then
8252 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8253 else
8254 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8255 for as_dir in $PATH
8257 IFS=$as_save_IFS
8258 test -z "$as_dir" && as_dir=.
8259 for ac_exec_ext in '' $ac_executable_extensions; do
8260 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8261 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8262 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8263 break 2
8265 done
8266 done
8267 IFS=$as_save_IFS
8271 OTOOL64=$ac_cv_prog_OTOOL64
8272 if test -n "$OTOOL64"; then
8273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8274 $as_echo "$OTOOL64" >&6; }
8275 else
8276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8277 $as_echo "no" >&6; }
8282 if test -z "$ac_cv_prog_OTOOL64"; then
8283 ac_ct_OTOOL64=$OTOOL64
8284 # Extract the first word of "otool64", so it can be a program name with args.
8285 set dummy otool64; ac_word=$2
8286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8287 $as_echo_n "checking for $ac_word... " >&6; }
8288 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8289 $as_echo_n "(cached) " >&6
8290 else
8291 if test -n "$ac_ct_OTOOL64"; then
8292 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8293 else
8294 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8295 for as_dir in $PATH
8297 IFS=$as_save_IFS
8298 test -z "$as_dir" && as_dir=.
8299 for ac_exec_ext in '' $ac_executable_extensions; do
8300 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8301 ac_cv_prog_ac_ct_OTOOL64="otool64"
8302 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8303 break 2
8305 done
8306 done
8307 IFS=$as_save_IFS
8311 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8312 if test -n "$ac_ct_OTOOL64"; then
8313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8314 $as_echo "$ac_ct_OTOOL64" >&6; }
8315 else
8316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8317 $as_echo "no" >&6; }
8320 if test "x$ac_ct_OTOOL64" = x; then
8321 OTOOL64=":"
8322 else
8323 case $cross_compiling:$ac_tool_warned in
8324 yes:)
8325 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8326 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8327 ac_tool_warned=yes ;;
8328 esac
8329 OTOOL64=$ac_ct_OTOOL64
8331 else
8332 OTOOL64="$ac_cv_prog_OTOOL64"
8361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8362 $as_echo_n "checking for -single_module linker flag... " >&6; }
8363 if ${lt_cv_apple_cc_single_mod+:} false; then :
8364 $as_echo_n "(cached) " >&6
8365 else
8366 lt_cv_apple_cc_single_mod=no
8367 if test -z "${LT_MULTI_MODULE}"; then
8368 # By default we will add the -single_module flag. You can override
8369 # by either setting the environment variable LT_MULTI_MODULE
8370 # non-empty at configure time, or by adding -multi_module to the
8371 # link flags.
8372 rm -rf libconftest.dylib*
8373 echo "int foo(void){return 1;}" > conftest.c
8374 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8375 -dynamiclib -Wl,-single_module conftest.c" >&5
8376 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8377 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8378 _lt_result=$?
8379 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
8380 lt_cv_apple_cc_single_mod=yes
8381 else
8382 cat conftest.err >&5
8384 rm -rf libconftest.dylib*
8385 rm -f conftest.*
8388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8389 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8391 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8392 if ${lt_cv_ld_exported_symbols_list+:} false; then :
8393 $as_echo_n "(cached) " >&6
8394 else
8395 lt_cv_ld_exported_symbols_list=no
8396 save_LDFLAGS=$LDFLAGS
8397 echo "_main" > conftest.sym
8398 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8399 if test x$gcc_no_link = xyes; then
8400 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8403 /* end confdefs.h. */
8406 main ()
8410 return 0;
8412 _ACEOF
8413 if ac_fn_c_try_link "$LINENO"; then :
8414 lt_cv_ld_exported_symbols_list=yes
8415 else
8416 lt_cv_ld_exported_symbols_list=no
8418 rm -f core conftest.err conftest.$ac_objext \
8419 conftest$ac_exeext conftest.$ac_ext
8420 LDFLAGS="$save_LDFLAGS"
8423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8424 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8426 $as_echo_n "checking for -force_load linker flag... " >&6; }
8427 if ${lt_cv_ld_force_load+:} false; then :
8428 $as_echo_n "(cached) " >&6
8429 else
8430 lt_cv_ld_force_load=no
8431 cat > conftest.c << _LT_EOF
8432 int forced_loaded() { return 2;}
8433 _LT_EOF
8434 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8435 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8436 echo "$AR cru libconftest.a conftest.o" >&5
8437 $AR cru libconftest.a conftest.o 2>&5
8438 cat > conftest.c << _LT_EOF
8439 int main() { return 0;}
8440 _LT_EOF
8441 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8442 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8443 _lt_result=$?
8444 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
8445 lt_cv_ld_force_load=yes
8446 else
8447 cat conftest.err >&5
8449 rm -f conftest.err libconftest.a conftest conftest.c
8450 rm -rf conftest.dSYM
8453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8454 $as_echo "$lt_cv_ld_force_load" >&6; }
8455 # Allow for Darwin 4-7 (macOS 10.0-10.3) although these are not expect to
8456 # build without first building modern cctools / linker.
8457 case $host_cpu-$host_os in
8458 *-rhapsody* | *-darwin1.[012])
8459 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8460 *-darwin1.*)
8461 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8462 *-darwin*)
8463 # darwin 5.x (macOS 10.1) onwards we only need to adjust when the
8464 # deployment target is forced to an earlier version.
8465 case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host in
8466 UNSET,*-darwin[89]*|UNSET,*-darwin[12][0123456789]*)
8468 10.[012][,.]*)
8469 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8473 esac
8475 esac
8476 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8477 _lt_dar_single_mod='$single_module'
8479 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8480 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8481 else
8482 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8484 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8485 _lt_dsymutil='~$DSYMUTIL $lib || :'
8486 else
8487 _lt_dsymutil=
8490 esac
8492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
8493 $as_echo_n "checking for ANSI C header files... " >&6; }
8494 if ${ac_cv_header_stdc+:} false; then :
8495 $as_echo_n "(cached) " >&6
8496 else
8497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8498 /* end confdefs.h. */
8499 #include <stdlib.h>
8500 #include <stdarg.h>
8501 #include <string.h>
8502 #include <float.h>
8505 main ()
8509 return 0;
8511 _ACEOF
8512 if ac_fn_c_try_compile "$LINENO"; then :
8513 ac_cv_header_stdc=yes
8514 else
8515 ac_cv_header_stdc=no
8517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8519 if test $ac_cv_header_stdc = yes; then
8520 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8522 /* end confdefs.h. */
8523 #include <string.h>
8525 _ACEOF
8526 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8527 $EGREP "memchr" >/dev/null 2>&1; then :
8529 else
8530 ac_cv_header_stdc=no
8532 rm -f conftest*
8536 if test $ac_cv_header_stdc = yes; then
8537 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8539 /* end confdefs.h. */
8540 #include <stdlib.h>
8542 _ACEOF
8543 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8544 $EGREP "free" >/dev/null 2>&1; then :
8546 else
8547 ac_cv_header_stdc=no
8549 rm -f conftest*
8553 if test $ac_cv_header_stdc = yes; then
8554 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8555 if test "$cross_compiling" = yes; then :
8557 else
8558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8559 /* end confdefs.h. */
8560 #include <ctype.h>
8561 #include <stdlib.h>
8562 #if ((' ' & 0x0FF) == 0x020)
8563 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8564 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8565 #else
8566 # define ISLOWER(c) \
8567 (('a' <= (c) && (c) <= 'i') \
8568 || ('j' <= (c) && (c) <= 'r') \
8569 || ('s' <= (c) && (c) <= 'z'))
8570 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8571 #endif
8573 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8575 main ()
8577 int i;
8578 for (i = 0; i < 256; i++)
8579 if (XOR (islower (i), ISLOWER (i))
8580 || toupper (i) != TOUPPER (i))
8581 return 2;
8582 return 0;
8584 _ACEOF
8585 if ac_fn_c_try_run "$LINENO"; then :
8587 else
8588 ac_cv_header_stdc=no
8590 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8591 conftest.$ac_objext conftest.beam conftest.$ac_ext
8596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8597 $as_echo "$ac_cv_header_stdc" >&6; }
8598 if test $ac_cv_header_stdc = yes; then
8600 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8604 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8605 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8606 inttypes.h stdint.h unistd.h
8607 do :
8608 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8609 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8611 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8612 cat >>confdefs.h <<_ACEOF
8613 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8614 _ACEOF
8618 done
8621 for ac_header in dlfcn.h
8622 do :
8623 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8625 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8626 cat >>confdefs.h <<_ACEOF
8627 #define HAVE_DLFCN_H 1
8628 _ACEOF
8632 done
8639 # Set options
8644 enable_win32_dll=no
8647 # Check whether --enable-shared was given.
8648 if test "${enable_shared+set}" = set; then :
8649 enableval=$enable_shared; p=${PACKAGE-default}
8650 case $enableval in
8651 yes) enable_shared=yes ;;
8652 no) enable_shared=no ;;
8654 enable_shared=no
8655 # Look at the argument we got. We use all the common list separators.
8656 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8657 for pkg in $enableval; do
8658 IFS="$lt_save_ifs"
8659 if test "X$pkg" = "X$p"; then
8660 enable_shared=yes
8662 done
8663 IFS="$lt_save_ifs"
8665 esac
8666 else
8667 enable_shared=yes
8678 # Check whether --enable-static was given.
8679 if test "${enable_static+set}" = set; then :
8680 enableval=$enable_static; p=${PACKAGE-default}
8681 case $enableval in
8682 yes) enable_static=yes ;;
8683 no) enable_static=no ;;
8685 enable_static=no
8686 # Look at the argument we got. We use all the common list separators.
8687 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8688 for pkg in $enableval; do
8689 IFS="$lt_save_ifs"
8690 if test "X$pkg" = "X$p"; then
8691 enable_static=yes
8693 done
8694 IFS="$lt_save_ifs"
8696 esac
8697 else
8698 enable_static=yes
8710 # Check whether --with-pic was given.
8711 if test "${with_pic+set}" = set; then :
8712 withval=$with_pic; pic_mode="$withval"
8713 else
8714 pic_mode=default
8718 test -z "$pic_mode" && pic_mode=default
8726 # Check whether --enable-fast-install was given.
8727 if test "${enable_fast_install+set}" = set; then :
8728 enableval=$enable_fast_install; p=${PACKAGE-default}
8729 case $enableval in
8730 yes) enable_fast_install=yes ;;
8731 no) enable_fast_install=no ;;
8733 enable_fast_install=no
8734 # Look at the argument we got. We use all the common list separators.
8735 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8736 for pkg in $enableval; do
8737 IFS="$lt_save_ifs"
8738 if test "X$pkg" = "X$p"; then
8739 enable_fast_install=yes
8741 done
8742 IFS="$lt_save_ifs"
8744 esac
8745 else
8746 enable_fast_install=yes
8759 # This can be used to rebuild libtool when needed
8760 LIBTOOL_DEPS="$ltmain"
8762 # Always use our own libtool.
8763 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8790 test -z "$LN_S" && LN_S="ln -s"
8805 if test -n "${ZSH_VERSION+set}" ; then
8806 setopt NO_GLOB_SUBST
8809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8810 $as_echo_n "checking for objdir... " >&6; }
8811 if ${lt_cv_objdir+:} false; then :
8812 $as_echo_n "(cached) " >&6
8813 else
8814 rm -f .libs 2>/dev/null
8815 mkdir .libs 2>/dev/null
8816 if test -d .libs; then
8817 lt_cv_objdir=.libs
8818 else
8819 # MS-DOS does not allow filenames that begin with a dot.
8820 lt_cv_objdir=_libs
8822 rmdir .libs 2>/dev/null
8824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8825 $as_echo "$lt_cv_objdir" >&6; }
8826 objdir=$lt_cv_objdir
8832 cat >>confdefs.h <<_ACEOF
8833 #define LT_OBJDIR "$lt_cv_objdir/"
8834 _ACEOF
8839 case $host_os in
8840 aix3*)
8841 # AIX sometimes has problems with the GCC collect2 program. For some
8842 # reason, if we set the COLLECT_NAMES environment variable, the problems
8843 # vanish in a puff of smoke.
8844 if test "X${COLLECT_NAMES+set}" != Xset; then
8845 COLLECT_NAMES=
8846 export COLLECT_NAMES
8849 esac
8851 # Global variables:
8852 ofile=libtool
8853 can_build_shared=yes
8855 # All known linkers require a `.a' archive for static linking (except MSVC,
8856 # which needs '.lib').
8857 libext=a
8859 with_gnu_ld="$lt_cv_prog_gnu_ld"
8861 old_CC="$CC"
8862 old_CFLAGS="$CFLAGS"
8864 # Set sane defaults for various variables
8865 test -z "$CC" && CC=cc
8866 test -z "$LTCC" && LTCC=$CC
8867 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8868 test -z "$LD" && LD=ld
8869 test -z "$ac_objext" && ac_objext=o
8871 for cc_temp in $compiler""; do
8872 case $cc_temp in
8873 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8874 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8875 \-*) ;;
8876 *) break;;
8877 esac
8878 done
8879 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8882 # Only perform the check for file, if the check method requires it
8883 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8884 case $deplibs_check_method in
8885 file_magic*)
8886 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8888 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8889 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8890 $as_echo_n "(cached) " >&6
8891 else
8892 case $MAGIC_CMD in
8893 [\\/*] | ?:[\\/]*)
8894 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8897 lt_save_MAGIC_CMD="$MAGIC_CMD"
8898 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8899 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8900 for ac_dir in $ac_dummy; do
8901 IFS="$lt_save_ifs"
8902 test -z "$ac_dir" && ac_dir=.
8903 if test -f $ac_dir/${ac_tool_prefix}file; then
8904 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8905 if test -n "$file_magic_test_file"; then
8906 case $deplibs_check_method in
8907 "file_magic "*)
8908 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8909 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8910 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8911 $EGREP "$file_magic_regex" > /dev/null; then
8913 else
8914 cat <<_LT_EOF 1>&2
8916 *** Warning: the command libtool uses to detect shared libraries,
8917 *** $file_magic_cmd, produces output that libtool cannot recognize.
8918 *** The result is that libtool may fail to recognize shared libraries
8919 *** as such. This will affect the creation of libtool libraries that
8920 *** depend on shared libraries, but programs linked with such libtool
8921 *** libraries will work regardless of this problem. Nevertheless, you
8922 *** may want to report the problem to your system manager and/or to
8923 *** bug-libtool@gnu.org
8925 _LT_EOF
8926 fi ;;
8927 esac
8929 break
8931 done
8932 IFS="$lt_save_ifs"
8933 MAGIC_CMD="$lt_save_MAGIC_CMD"
8935 esac
8938 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8939 if test -n "$MAGIC_CMD"; then
8940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8941 $as_echo "$MAGIC_CMD" >&6; }
8942 else
8943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8944 $as_echo "no" >&6; }
8951 if test -z "$lt_cv_path_MAGIC_CMD"; then
8952 if test -n "$ac_tool_prefix"; then
8953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8954 $as_echo_n "checking for file... " >&6; }
8955 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8956 $as_echo_n "(cached) " >&6
8957 else
8958 case $MAGIC_CMD in
8959 [\\/*] | ?:[\\/]*)
8960 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8963 lt_save_MAGIC_CMD="$MAGIC_CMD"
8964 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8965 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8966 for ac_dir in $ac_dummy; do
8967 IFS="$lt_save_ifs"
8968 test -z "$ac_dir" && ac_dir=.
8969 if test -f $ac_dir/file; then
8970 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8971 if test -n "$file_magic_test_file"; then
8972 case $deplibs_check_method in
8973 "file_magic "*)
8974 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8975 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8976 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8977 $EGREP "$file_magic_regex" > /dev/null; then
8979 else
8980 cat <<_LT_EOF 1>&2
8982 *** Warning: the command libtool uses to detect shared libraries,
8983 *** $file_magic_cmd, produces output that libtool cannot recognize.
8984 *** The result is that libtool may fail to recognize shared libraries
8985 *** as such. This will affect the creation of libtool libraries that
8986 *** depend on shared libraries, but programs linked with such libtool
8987 *** libraries will work regardless of this problem. Nevertheless, you
8988 *** may want to report the problem to your system manager and/or to
8989 *** bug-libtool@gnu.org
8991 _LT_EOF
8992 fi ;;
8993 esac
8995 break
8997 done
8998 IFS="$lt_save_ifs"
8999 MAGIC_CMD="$lt_save_MAGIC_CMD"
9001 esac
9004 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9005 if test -n "$MAGIC_CMD"; then
9006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9007 $as_echo "$MAGIC_CMD" >&6; }
9008 else
9009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9010 $as_echo "no" >&6; }
9014 else
9015 MAGIC_CMD=:
9021 esac
9023 # Use C for the default configuration in the libtool script
9025 lt_save_CC="$CC"
9026 ac_ext=c
9027 ac_cpp='$CPP $CPPFLAGS'
9028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9033 # Source file extension for C test sources.
9034 ac_ext=c
9036 # Object file extension for compiled C test sources.
9037 objext=o
9038 objext=$objext
9040 # Code to be used in simple compile tests
9041 lt_simple_compile_test_code="int some_variable = 0;"
9043 # Code to be used in simple link tests
9044 lt_simple_link_test_code='int main(){return(0);}'
9052 # If no C compiler was specified, use CC.
9053 LTCC=${LTCC-"$CC"}
9055 # If no C compiler flags were specified, use CFLAGS.
9056 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9058 # Allow CC to be a program name with arguments.
9059 compiler=$CC
9061 # Save the default compiler, since it gets overwritten when the other
9062 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9063 compiler_DEFAULT=$CC
9065 # save warnings/boilerplate of simple test code
9066 ac_outfile=conftest.$ac_objext
9067 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9068 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9069 _lt_compiler_boilerplate=`cat conftest.err`
9070 $RM conftest*
9072 ac_outfile=conftest.$ac_objext
9073 echo "$lt_simple_link_test_code" >conftest.$ac_ext
9074 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9075 _lt_linker_boilerplate=`cat conftest.err`
9076 $RM -r conftest*
9079 ## CAVEAT EMPTOR:
9080 ## There is no encapsulation within the following macros, do not change
9081 ## the running order or otherwise move them around unless you know exactly
9082 ## what you are doing...
9083 if test -n "$compiler"; then
9085 lt_prog_compiler_no_builtin_flag=
9087 if test "$GCC" = yes; then
9088 case $cc_basename in
9089 nvcc*)
9090 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9092 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9093 esac
9095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9096 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9097 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
9098 $as_echo_n "(cached) " >&6
9099 else
9100 lt_cv_prog_compiler_rtti_exceptions=no
9101 ac_outfile=conftest.$ac_objext
9102 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9103 lt_compiler_flag="-fno-rtti -fno-exceptions"
9104 # Insert the option either (1) after the last *FLAGS variable, or
9105 # (2) before a word containing "conftest.", or (3) at the end.
9106 # Note that $ac_compile itself does not contain backslashes and begins
9107 # with a dollar sign (not a hyphen), so the echo should work correctly.
9108 # The option is referenced via a variable to avoid confusing sed.
9109 lt_compile=`echo "$ac_compile" | $SED \
9110 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9111 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9112 -e 's:$: $lt_compiler_flag:'`
9113 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9114 (eval "$lt_compile" 2>conftest.err)
9115 ac_status=$?
9116 cat conftest.err >&5
9117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9118 if (exit $ac_status) && test -s "$ac_outfile"; then
9119 # The compiler can only warn and ignore the option if not recognized
9120 # So say no if there are warnings other than the usual output.
9121 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9122 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9123 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9124 lt_cv_prog_compiler_rtti_exceptions=yes
9127 $RM conftest*
9130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9131 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9133 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9134 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9135 else
9146 lt_prog_compiler_wl=
9147 lt_prog_compiler_pic=
9148 lt_prog_compiler_static=
9150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9151 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9153 if test "$GCC" = yes; then
9154 lt_prog_compiler_wl='-Wl,'
9155 lt_prog_compiler_static='-static'
9157 case $host_os in
9158 aix*)
9159 # All AIX code is PIC.
9160 if test "$host_cpu" = ia64; then
9161 # AIX 5 now supports IA64 processor
9162 lt_prog_compiler_static='-Bstatic'
9164 lt_prog_compiler_pic='-fPIC'
9167 amigaos*)
9168 case $host_cpu in
9169 powerpc)
9170 # see comment about AmigaOS4 .so support
9171 lt_prog_compiler_pic='-fPIC'
9173 m68k)
9174 # FIXME: we need at least 68020 code to build shared libraries, but
9175 # adding the `-m68020' flag to GCC prevents building anything better,
9176 # like `-m68040'.
9177 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9179 esac
9182 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9183 # PIC is the default for these OSes.
9186 mingw* | cygwin* | pw32* | os2* | cegcc*)
9187 # This hack is so that the source file can tell whether it is being
9188 # built for inclusion in a dll (and should export symbols for example).
9189 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9190 # (--disable-auto-import) libraries
9191 lt_prog_compiler_pic='-DDLL_EXPORT'
9194 darwin* | rhapsody*)
9195 # PIC is the default on this platform
9196 # Common symbols not allowed in MH_DYLIB files
9197 lt_prog_compiler_pic='-fno-common'
9200 haiku*)
9201 # PIC is the default for Haiku.
9202 # The "-static" flag exists, but is broken.
9203 lt_prog_compiler_static=
9206 hpux*)
9207 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9208 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9209 # sets the default TLS model and affects inlining.
9210 case $host_cpu in
9211 hppa*64*)
9212 # +Z the default
9215 lt_prog_compiler_pic='-fPIC'
9217 esac
9220 interix[3-9]*)
9221 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9222 # Instead, we relocate shared libraries at runtime.
9225 msdosdjgpp*)
9226 # Just because we use GCC doesn't mean we suddenly get shared libraries
9227 # on systems that don't support them.
9228 lt_prog_compiler_can_build_shared=no
9229 enable_shared=no
9232 *nto* | *qnx*)
9233 # QNX uses GNU C++, but need to define -shared option too, otherwise
9234 # it will coredump.
9235 lt_prog_compiler_pic='-fPIC -shared'
9238 sysv4*MP*)
9239 if test -d /usr/nec; then
9240 lt_prog_compiler_pic=-Kconform_pic
9245 lt_prog_compiler_pic='-fPIC'
9247 esac
9249 case $cc_basename in
9250 nvcc*) # Cuda Compiler Driver 2.2
9251 lt_prog_compiler_wl='-Xlinker '
9252 lt_prog_compiler_pic='-Xcompiler -fPIC'
9254 esac
9255 else
9256 # PORTME Check for flag to pass linker flags through the system compiler.
9257 case $host_os in
9258 aix*)
9259 lt_prog_compiler_wl='-Wl,'
9260 if test "$host_cpu" = ia64; then
9261 # AIX 5 now supports IA64 processor
9262 lt_prog_compiler_static='-Bstatic'
9263 else
9264 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9268 mingw* | cygwin* | pw32* | os2* | cegcc*)
9269 # This hack is so that the source file can tell whether it is being
9270 # built for inclusion in a dll (and should export symbols for example).
9271 lt_prog_compiler_pic='-DDLL_EXPORT'
9274 hpux9* | hpux10* | hpux11*)
9275 lt_prog_compiler_wl='-Wl,'
9276 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9277 # not for PA HP-UX.
9278 case $host_cpu in
9279 hppa*64*|ia64*)
9280 # +Z the default
9283 lt_prog_compiler_pic='+Z'
9285 esac
9286 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9287 lt_prog_compiler_static='${wl}-a ${wl}archive'
9290 irix5* | irix6* | nonstopux*)
9291 lt_prog_compiler_wl='-Wl,'
9292 # PIC (with -KPIC) is the default.
9293 lt_prog_compiler_static='-non_shared'
9296 linux* | k*bsd*-gnu | kopensolaris*-gnu)
9297 case $cc_basename in
9298 # old Intel for x86_64 which still supported -KPIC.
9299 ecc*)
9300 lt_prog_compiler_wl='-Wl,'
9301 lt_prog_compiler_pic='-KPIC'
9302 lt_prog_compiler_static='-static'
9304 # icc used to be incompatible with GCC.
9305 # ICC 10 doesn't accept -KPIC any more.
9306 icc* | ifort*)
9307 lt_prog_compiler_wl='-Wl,'
9308 lt_prog_compiler_pic='-fPIC'
9309 lt_prog_compiler_static='-static'
9311 # Lahey Fortran 8.1.
9312 lf95*)
9313 lt_prog_compiler_wl='-Wl,'
9314 lt_prog_compiler_pic='--shared'
9315 lt_prog_compiler_static='--static'
9317 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9318 # Portland Group compilers (*not* the Pentium gcc compiler,
9319 # which looks to be a dead project)
9320 lt_prog_compiler_wl='-Wl,'
9321 lt_prog_compiler_pic='-fpic'
9322 lt_prog_compiler_static='-Bstatic'
9324 ccc*)
9325 lt_prog_compiler_wl='-Wl,'
9326 # All Alpha code is PIC.
9327 lt_prog_compiler_static='-non_shared'
9329 xl* | bgxl* | bgf* | mpixl*)
9330 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9331 lt_prog_compiler_wl='-Wl,'
9332 lt_prog_compiler_pic='-qpic'
9333 lt_prog_compiler_static='-qstaticlink'
9336 case `$CC -V 2>&1 | sed 5q` in
9337 *Sun\ F* | *Sun*Fortran*)
9338 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9339 lt_prog_compiler_pic='-KPIC'
9340 lt_prog_compiler_static='-Bstatic'
9341 lt_prog_compiler_wl=''
9343 *Sun\ C*)
9344 # Sun C 5.9
9345 lt_prog_compiler_pic='-KPIC'
9346 lt_prog_compiler_static='-Bstatic'
9347 lt_prog_compiler_wl='-Wl,'
9349 esac
9351 esac
9354 newsos6)
9355 lt_prog_compiler_pic='-KPIC'
9356 lt_prog_compiler_static='-Bstatic'
9359 *nto* | *qnx*)
9360 # QNX uses GNU C++, but need to define -shared option too, otherwise
9361 # it will coredump.
9362 lt_prog_compiler_pic='-fPIC -shared'
9365 osf3* | osf4* | osf5*)
9366 lt_prog_compiler_wl='-Wl,'
9367 # All OSF/1 code is PIC.
9368 lt_prog_compiler_static='-non_shared'
9371 rdos*)
9372 lt_prog_compiler_static='-non_shared'
9375 solaris*)
9376 lt_prog_compiler_pic='-KPIC'
9377 lt_prog_compiler_static='-Bstatic'
9378 case $cc_basename in
9379 f77* | f90* | f95*)
9380 lt_prog_compiler_wl='-Qoption ld ';;
9382 lt_prog_compiler_wl='-Wl,';;
9383 esac
9386 sunos4*)
9387 lt_prog_compiler_wl='-Qoption ld '
9388 lt_prog_compiler_pic='-PIC'
9389 lt_prog_compiler_static='-Bstatic'
9392 sysv4 | sysv4.2uw2* | sysv4.3*)
9393 lt_prog_compiler_wl='-Wl,'
9394 lt_prog_compiler_pic='-KPIC'
9395 lt_prog_compiler_static='-Bstatic'
9398 sysv4*MP*)
9399 if test -d /usr/nec ;then
9400 lt_prog_compiler_pic='-Kconform_pic'
9401 lt_prog_compiler_static='-Bstatic'
9405 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9406 lt_prog_compiler_wl='-Wl,'
9407 lt_prog_compiler_pic='-KPIC'
9408 lt_prog_compiler_static='-Bstatic'
9411 unicos*)
9412 lt_prog_compiler_wl='-Wl,'
9413 lt_prog_compiler_can_build_shared=no
9416 uts4*)
9417 lt_prog_compiler_pic='-pic'
9418 lt_prog_compiler_static='-Bstatic'
9422 lt_prog_compiler_can_build_shared=no
9424 esac
9427 case $host_os in
9428 # For platforms which do not support PIC, -DPIC is meaningless:
9429 *djgpp*)
9430 lt_prog_compiler_pic=
9433 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9435 esac
9436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
9437 $as_echo "$lt_prog_compiler_pic" >&6; }
9445 # Check to make sure the PIC flag actually works.
9447 if test -n "$lt_prog_compiler_pic"; then
9448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9449 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9450 if ${lt_cv_prog_compiler_pic_works+:} false; then :
9451 $as_echo_n "(cached) " >&6
9452 else
9453 lt_cv_prog_compiler_pic_works=no
9454 ac_outfile=conftest.$ac_objext
9455 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9456 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9457 # Insert the option either (1) after the last *FLAGS variable, or
9458 # (2) before a word containing "conftest.", or (3) at the end.
9459 # Note that $ac_compile itself does not contain backslashes and begins
9460 # with a dollar sign (not a hyphen), so the echo should work correctly.
9461 # The option is referenced via a variable to avoid confusing sed.
9462 lt_compile=`echo "$ac_compile" | $SED \
9463 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9464 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9465 -e 's:$: $lt_compiler_flag:'`
9466 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9467 (eval "$lt_compile" 2>conftest.err)
9468 ac_status=$?
9469 cat conftest.err >&5
9470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9471 if (exit $ac_status) && test -s "$ac_outfile"; then
9472 # The compiler can only warn and ignore the option if not recognized
9473 # So say no if there are warnings other than the usual output.
9474 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9475 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9476 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9477 lt_cv_prog_compiler_pic_works=yes
9480 $RM conftest*
9483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9484 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9486 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9487 case $lt_prog_compiler_pic in
9488 "" | " "*) ;;
9489 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9490 esac
9491 else
9492 lt_prog_compiler_pic=
9493 lt_prog_compiler_can_build_shared=no
9504 # Check to make sure the static flag actually works.
9506 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9508 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9509 if ${lt_cv_prog_compiler_static_works+:} false; then :
9510 $as_echo_n "(cached) " >&6
9511 else
9512 lt_cv_prog_compiler_static_works=no
9513 save_LDFLAGS="$LDFLAGS"
9514 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9515 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9516 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9517 # The linker can only warn and ignore the option if not recognized
9518 # So say no if there are warnings
9519 if test -s conftest.err; then
9520 # Append any errors to the config.log.
9521 cat conftest.err 1>&5
9522 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9523 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9524 if diff conftest.exp conftest.er2 >/dev/null; then
9525 lt_cv_prog_compiler_static_works=yes
9527 else
9528 lt_cv_prog_compiler_static_works=yes
9531 $RM -r conftest*
9532 LDFLAGS="$save_LDFLAGS"
9535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9536 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9538 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9540 else
9541 lt_prog_compiler_static=
9550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9551 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9552 if ${lt_cv_prog_compiler_c_o+:} false; then :
9553 $as_echo_n "(cached) " >&6
9554 else
9555 lt_cv_prog_compiler_c_o=no
9556 $RM -r conftest 2>/dev/null
9557 mkdir conftest
9558 cd conftest
9559 mkdir out
9560 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9562 lt_compiler_flag="-o out/conftest2.$ac_objext"
9563 # Insert the option either (1) after the last *FLAGS variable, or
9564 # (2) before a word containing "conftest.", or (3) at the end.
9565 # Note that $ac_compile itself does not contain backslashes and begins
9566 # with a dollar sign (not a hyphen), so the echo should work correctly.
9567 lt_compile=`echo "$ac_compile" | $SED \
9568 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9569 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9570 -e 's:$: $lt_compiler_flag:'`
9571 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9572 (eval "$lt_compile" 2>out/conftest.err)
9573 ac_status=$?
9574 cat out/conftest.err >&5
9575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9576 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9577 then
9578 # The compiler can only warn and ignore the option if not recognized
9579 # So say no if there are warnings
9580 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9581 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9582 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9583 lt_cv_prog_compiler_c_o=yes
9586 chmod u+w . 2>&5
9587 $RM conftest*
9588 # SGI C++ compiler will create directory out/ii_files/ for
9589 # template instantiation
9590 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9591 $RM out/* && rmdir out
9592 cd ..
9593 $RM -r conftest
9594 $RM conftest*
9597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9598 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9606 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9607 if ${lt_cv_prog_compiler_c_o+:} false; then :
9608 $as_echo_n "(cached) " >&6
9609 else
9610 lt_cv_prog_compiler_c_o=no
9611 $RM -r conftest 2>/dev/null
9612 mkdir conftest
9613 cd conftest
9614 mkdir out
9615 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9617 lt_compiler_flag="-o out/conftest2.$ac_objext"
9618 # Insert the option either (1) after the last *FLAGS variable, or
9619 # (2) before a word containing "conftest.", or (3) at the end.
9620 # Note that $ac_compile itself does not contain backslashes and begins
9621 # with a dollar sign (not a hyphen), so the echo should work correctly.
9622 lt_compile=`echo "$ac_compile" | $SED \
9623 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9624 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9625 -e 's:$: $lt_compiler_flag:'`
9626 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9627 (eval "$lt_compile" 2>out/conftest.err)
9628 ac_status=$?
9629 cat out/conftest.err >&5
9630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9631 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9632 then
9633 # The compiler can only warn and ignore the option if not recognized
9634 # So say no if there are warnings
9635 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9636 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9637 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9638 lt_cv_prog_compiler_c_o=yes
9641 chmod u+w . 2>&5
9642 $RM conftest*
9643 # SGI C++ compiler will create directory out/ii_files/ for
9644 # template instantiation
9645 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9646 $RM out/* && rmdir out
9647 cd ..
9648 $RM -r conftest
9649 $RM conftest*
9652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9653 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9658 hard_links="nottested"
9659 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9660 # do not overwrite the value of need_locks provided by the user
9661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9662 $as_echo_n "checking if we can lock with hard links... " >&6; }
9663 hard_links=yes
9664 $RM conftest*
9665 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9666 touch conftest.a
9667 ln conftest.a conftest.b 2>&5 || hard_links=no
9668 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9670 $as_echo "$hard_links" >&6; }
9671 if test "$hard_links" = no; then
9672 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9673 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9674 need_locks=warn
9676 else
9677 need_locks=no
9685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9686 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9688 runpath_var=
9689 allow_undefined_flag=
9690 always_export_symbols=no
9691 archive_cmds=
9692 archive_expsym_cmds=
9693 compiler_needs_object=no
9694 enable_shared_with_static_runtimes=no
9695 export_dynamic_flag_spec=
9696 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9697 hardcode_automatic=no
9698 hardcode_direct=no
9699 hardcode_direct_absolute=no
9700 hardcode_libdir_flag_spec=
9701 hardcode_libdir_flag_spec_ld=
9702 hardcode_libdir_separator=
9703 hardcode_minus_L=no
9704 hardcode_shlibpath_var=unsupported
9705 inherit_rpath=no
9706 link_all_deplibs=unknown
9707 module_cmds=
9708 module_expsym_cmds=
9709 old_archive_from_new_cmds=
9710 old_archive_from_expsyms_cmds=
9711 thread_safe_flag_spec=
9712 whole_archive_flag_spec=
9713 # include_expsyms should be a list of space-separated symbols to be *always*
9714 # included in the symbol list
9715 include_expsyms=
9716 # exclude_expsyms can be an extended regexp of symbols to exclude
9717 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9718 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9719 # as well as any symbol that contains `d'.
9720 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9721 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9722 # platforms (ab)use it in PIC code, but their linkers get confused if
9723 # the symbol is explicitly referenced. Since portable code cannot
9724 # rely on this symbol name, it's probably fine to never include it in
9725 # preloaded symbol tables.
9726 # Exclude shared library initialization/finalization symbols.
9727 extract_expsyms_cmds=
9729 case $host_os in
9730 cygwin* | mingw* | pw32* | cegcc*)
9731 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9732 # When not using gcc, we currently assume that we are using
9733 # Microsoft Visual C++.
9734 if test "$GCC" != yes; then
9735 with_gnu_ld=no
9738 interix*)
9739 # we just hope/assume this is gcc and not c89 (= MSVC++)
9740 with_gnu_ld=yes
9742 openbsd*)
9743 with_gnu_ld=no
9745 esac
9747 ld_shlibs=yes
9749 # On some targets, GNU ld is compatible enough with the native linker
9750 # that we're better off using the native interface for both.
9751 lt_use_gnu_ld_interface=no
9752 if test "$with_gnu_ld" = yes; then
9753 case $host_os in
9754 aix*)
9755 # The AIX port of GNU ld has always aspired to compatibility
9756 # with the native linker. However, as the warning in the GNU ld
9757 # block says, versions before 2.19.5* couldn't really create working
9758 # shared libraries, regardless of the interface used.
9759 case `$LD -v 2>&1` in
9760 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9761 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9762 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9764 lt_use_gnu_ld_interface=yes
9766 esac
9769 lt_use_gnu_ld_interface=yes
9771 esac
9774 if test "$lt_use_gnu_ld_interface" = yes; then
9775 # If archive_cmds runs LD, not CC, wlarc should be empty
9776 wlarc='${wl}'
9778 # Set some defaults for GNU ld with shared library support. These
9779 # are reset later if shared libraries are not supported. Putting them
9780 # here allows them to be overridden if necessary.
9781 runpath_var=LD_RUN_PATH
9782 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9783 export_dynamic_flag_spec='${wl}--export-dynamic'
9784 # ancient GNU ld didn't support --whole-archive et. al.
9785 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9786 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9787 else
9788 whole_archive_flag_spec=
9790 supports_anon_versioning=no
9791 case `$LD -v 2>&1` in
9792 *GNU\ gold*) supports_anon_versioning=yes ;;
9793 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9794 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9795 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9796 *\ 2.11.*) ;; # other 2.11 versions
9797 *) supports_anon_versioning=yes ;;
9798 esac
9800 # See if GNU ld supports shared libraries.
9801 case $host_os in
9802 aix[3-9]*)
9803 # On AIX/PPC, the GNU linker is very broken
9804 if test "$host_cpu" != ia64; then
9805 ld_shlibs=no
9806 cat <<_LT_EOF 1>&2
9808 *** Warning: the GNU linker, at least up to release 2.19, is reported
9809 *** to be unable to reliably create shared libraries on AIX.
9810 *** Therefore, libtool is disabling shared libraries support. If you
9811 *** really care for shared libraries, you may want to install binutils
9812 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9813 *** You will then need to restart the configuration process.
9815 _LT_EOF
9819 amigaos*)
9820 case $host_cpu in
9821 powerpc)
9822 # see comment about AmigaOS4 .so support
9823 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9824 archive_expsym_cmds=''
9826 m68k)
9827 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)'
9828 hardcode_libdir_flag_spec='-L$libdir'
9829 hardcode_minus_L=yes
9831 esac
9834 beos*)
9835 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9836 allow_undefined_flag=unsupported
9837 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9838 # support --undefined. This deserves some investigation. FIXME
9839 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9840 else
9841 ld_shlibs=no
9845 cygwin* | mingw* | pw32* | cegcc*)
9846 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9847 # as there is no search path for DLLs.
9848 hardcode_libdir_flag_spec='-L$libdir'
9849 export_dynamic_flag_spec='${wl}--export-all-symbols'
9850 allow_undefined_flag=unsupported
9851 always_export_symbols=no
9852 enable_shared_with_static_runtimes=yes
9853 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9855 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9856 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9857 # If the export-symbols file already is a .def file (1st line
9858 # is EXPORTS), use it as is; otherwise, prepend...
9859 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9860 cp $export_symbols $output_objdir/$soname.def;
9861 else
9862 echo EXPORTS > $output_objdir/$soname.def;
9863 cat $export_symbols >> $output_objdir/$soname.def;
9865 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9866 else
9867 ld_shlibs=no
9871 haiku*)
9872 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9873 link_all_deplibs=yes
9876 interix[3-9]*)
9877 hardcode_direct=no
9878 hardcode_shlibpath_var=no
9879 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9880 export_dynamic_flag_spec='${wl}-E'
9881 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9882 # Instead, shared libraries are loaded at an image base (0x10000000 by
9883 # default) and relocated if they conflict, which is a slow very memory
9884 # consuming and fragmenting process. To avoid this, we pick a random,
9885 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9886 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9887 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9888 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'
9891 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
9892 tmp_diet=no
9893 if test "$host_os" = linux-dietlibc; then
9894 case $cc_basename in
9895 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9896 esac
9898 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9899 && test "$tmp_diet" = no
9900 then
9901 tmp_addflag=' $pic_flag'
9902 tmp_sharedflag='-shared'
9903 case $cc_basename,$host_cpu in
9904 pgcc*) # Portland Group C compiler
9905 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'
9906 tmp_addflag=' $pic_flag'
9908 pgf77* | pgf90* | pgf95* | pgfortran*)
9909 # Portland Group f77 and f90 compilers
9910 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'
9911 tmp_addflag=' $pic_flag -Mnomain' ;;
9912 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9913 tmp_addflag=' -i_dynamic' ;;
9914 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9915 tmp_addflag=' -i_dynamic -nofor_main' ;;
9916 ifc* | ifort*) # Intel Fortran compiler
9917 tmp_addflag=' -nofor_main' ;;
9918 lf95*) # Lahey Fortran 8.1
9919 whole_archive_flag_spec=
9920 tmp_sharedflag='--shared' ;;
9921 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9922 tmp_sharedflag='-qmkshrobj'
9923 tmp_addflag= ;;
9924 nvcc*) # Cuda Compiler Driver 2.2
9925 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'
9926 compiler_needs_object=yes
9928 esac
9929 case `$CC -V 2>&1 | sed 5q` in
9930 *Sun\ C*) # Sun C 5.9
9931 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'
9932 compiler_needs_object=yes
9933 tmp_sharedflag='-G' ;;
9934 *Sun\ F*) # Sun Fortran 8.3
9935 tmp_sharedflag='-G' ;;
9936 esac
9937 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9939 if test "x$supports_anon_versioning" = xyes; then
9940 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9941 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9942 echo "local: *; };" >> $output_objdir/$libname.ver~
9943 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9946 case $cc_basename in
9947 xlf* | bgf* | bgxlf* | mpixlf*)
9948 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9949 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9950 hardcode_libdir_flag_spec=
9951 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9952 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9953 if test "x$supports_anon_versioning" = xyes; then
9954 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9955 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9956 echo "local: *; };" >> $output_objdir/$libname.ver~
9957 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9960 esac
9961 else
9962 ld_shlibs=no
9966 netbsd*)
9967 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9968 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9969 wlarc=
9970 else
9971 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9972 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9976 solaris*)
9977 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9978 ld_shlibs=no
9979 cat <<_LT_EOF 1>&2
9981 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9982 *** create shared libraries on Solaris systems. Therefore, libtool
9983 *** is disabling shared libraries support. We urge you to upgrade GNU
9984 *** binutils to release 2.9.1 or newer. Another option is to modify
9985 *** your PATH or compiler configuration so that the native linker is
9986 *** used, and then restart.
9988 _LT_EOF
9989 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9990 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9991 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9992 else
9993 ld_shlibs=no
9997 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9998 case `$LD -v 2>&1` in
9999 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
10000 ld_shlibs=no
10001 cat <<_LT_EOF 1>&2
10003 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10004 *** reliably create shared libraries on SCO systems. Therefore, libtool
10005 *** is disabling shared libraries support. We urge you to upgrade GNU
10006 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10007 *** your PATH or compiler configuration so that the native linker is
10008 *** used, and then restart.
10010 _LT_EOF
10013 # For security reasons, it is highly recommended that you always
10014 # use absolute paths for naming shared libraries, and exclude the
10015 # DT_RUNPATH tag from executables and libraries. But doing so
10016 # requires that you compile everything twice, which is a pain.
10017 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10018 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10019 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10020 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10021 else
10022 ld_shlibs=no
10025 esac
10028 sunos4*)
10029 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10030 wlarc=
10031 hardcode_direct=yes
10032 hardcode_shlibpath_var=no
10036 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10037 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10038 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10039 else
10040 ld_shlibs=no
10043 esac
10045 if test "$ld_shlibs" = no; then
10046 runpath_var=
10047 hardcode_libdir_flag_spec=
10048 export_dynamic_flag_spec=
10049 whole_archive_flag_spec=
10051 else
10052 # PORTME fill in a description of your system's linker (not GNU ld)
10053 case $host_os in
10054 aix3*)
10055 allow_undefined_flag=unsupported
10056 always_export_symbols=yes
10057 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'
10058 # Note: this linker hardcodes the directories in LIBPATH if there
10059 # are no directories specified by -L.
10060 hardcode_minus_L=yes
10061 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10062 # Neither direct hardcoding nor static linking is supported with a
10063 # broken collect2.
10064 hardcode_direct=unsupported
10068 aix[4-9]*)
10069 if test "$host_cpu" = ia64; then
10070 # On IA64, the linker does run time linking by default, so we don't
10071 # have to do anything special.
10072 aix_use_runtimelinking=no
10073 exp_sym_flag='-Bexport'
10074 no_entry_flag=""
10075 else
10076 # If we're using GNU nm, then we don't want the "-C" option.
10077 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10078 # Also, AIX nm treats weak defined symbols like other global
10079 # defined symbols, whereas GNU nm marks them as "W".
10080 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10081 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'
10082 else
10083 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'
10085 aix_use_runtimelinking=no
10087 # Test if we are trying to use run time linking or normal
10088 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10089 # need to do runtime linking.
10090 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10091 for ld_flag in $LDFLAGS; do
10092 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
10093 aix_use_runtimelinking=yes
10094 break
10096 done
10098 esac
10100 exp_sym_flag='-bexport'
10101 no_entry_flag='-bnoentry'
10104 # When large executables or shared objects are built, AIX ld can
10105 # have problems creating the table of contents. If linking a library
10106 # or program results in "error TOC overflow" add -mminimal-toc to
10107 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10108 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10110 archive_cmds=''
10111 hardcode_direct=yes
10112 hardcode_direct_absolute=yes
10113 hardcode_libdir_separator=':'
10114 link_all_deplibs=yes
10115 file_list_spec='${wl}-f,'
10117 if test "$GCC" = yes; then
10118 case $host_os in aix4.[012]|aix4.[012].*)
10119 # We only want to do this on AIX 4.2 and lower, the check
10120 # below for broken collect2 doesn't work under 4.3+
10121 collect2name=`${CC} -print-prog-name=collect2`
10122 if test -f "$collect2name" &&
10123 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10124 then
10125 # We have reworked collect2
10127 else
10128 # We have old collect2
10129 hardcode_direct=unsupported
10130 # It fails to find uninstalled libraries when the uninstalled
10131 # path is not listed in the libpath. Setting hardcode_minus_L
10132 # to unsupported forces relinking
10133 hardcode_minus_L=yes
10134 hardcode_libdir_flag_spec='-L$libdir'
10135 hardcode_libdir_separator=
10138 esac
10139 shared_flag='-shared'
10140 if test "$aix_use_runtimelinking" = yes; then
10141 shared_flag="$shared_flag "'${wl}-G'
10143 else
10144 # not using gcc
10145 if test "$host_cpu" = ia64; then
10146 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10147 # chokes on -Wl,-G. The following line is correct:
10148 shared_flag='-G'
10149 else
10150 if test "$aix_use_runtimelinking" = yes; then
10151 shared_flag='${wl}-G'
10152 else
10153 shared_flag='${wl}-bM:SRE'
10158 export_dynamic_flag_spec='${wl}-bexpall'
10159 # It seems that -bexpall does not export symbols beginning with
10160 # underscore (_), so it is better to generate a list of symbols to export.
10161 always_export_symbols=yes
10162 if test "$aix_use_runtimelinking" = yes; then
10163 # Warning - without using the other runtime loading flags (-brtl),
10164 # -berok will link without error, but may produce a broken library.
10165 allow_undefined_flag='-berok'
10166 # Determine the default libpath from the value encoded in an
10167 # empty executable.
10168 if test x$gcc_no_link = xyes; then
10169 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10172 /* end confdefs.h. */
10175 main ()
10179 return 0;
10181 _ACEOF
10182 if ac_fn_c_try_link "$LINENO"; then :
10184 lt_aix_libpath_sed='
10185 /Import File Strings/,/^$/ {
10186 /^0/ {
10187 s/^0 *\(.*\)$/\1/
10191 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10192 # Check for a 64-bit object if we didn't find anything.
10193 if test -z "$aix_libpath"; then
10194 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10197 rm -f core conftest.err conftest.$ac_objext \
10198 conftest$ac_exeext conftest.$ac_ext
10199 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10201 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10202 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"
10203 else
10204 if test "$host_cpu" = ia64; then
10205 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
10206 allow_undefined_flag="-z nodefs"
10207 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"
10208 else
10209 # Determine the default libpath from the value encoded in an
10210 # empty executable.
10211 if test x$gcc_no_link = xyes; then
10212 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10215 /* end confdefs.h. */
10218 main ()
10222 return 0;
10224 _ACEOF
10225 if ac_fn_c_try_link "$LINENO"; then :
10227 lt_aix_libpath_sed='
10228 /Import File Strings/,/^$/ {
10229 /^0/ {
10230 s/^0 *\(.*\)$/\1/
10234 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10235 # Check for a 64-bit object if we didn't find anything.
10236 if test -z "$aix_libpath"; then
10237 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10240 rm -f core conftest.err conftest.$ac_objext \
10241 conftest$ac_exeext conftest.$ac_ext
10242 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10244 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10245 # Warning - without using the other run time loading flags,
10246 # -berok will link without error, but may produce a broken library.
10247 no_undefined_flag=' ${wl}-bernotok'
10248 allow_undefined_flag=' ${wl}-berok'
10249 if test "$with_gnu_ld" = yes; then
10250 # We only use this code for GNU lds that support --whole-archive.
10251 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10252 else
10253 # Exported symbols can be pulled into shared objects from archives
10254 whole_archive_flag_spec='$convenience'
10256 archive_cmds_need_lc=yes
10257 # This is similar to how AIX traditionally builds its shared libraries.
10258 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'
10263 amigaos*)
10264 case $host_cpu in
10265 powerpc)
10266 # see comment about AmigaOS4 .so support
10267 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10268 archive_expsym_cmds=''
10270 m68k)
10271 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)'
10272 hardcode_libdir_flag_spec='-L$libdir'
10273 hardcode_minus_L=yes
10275 esac
10278 bsdi[45]*)
10279 export_dynamic_flag_spec=-rdynamic
10282 cygwin* | mingw* | pw32* | cegcc*)
10283 # When not using gcc, we currently assume that we are using
10284 # Microsoft Visual C++.
10285 # hardcode_libdir_flag_spec is actually meaningless, as there is
10286 # no search path for DLLs.
10287 hardcode_libdir_flag_spec=' '
10288 allow_undefined_flag=unsupported
10289 # Tell ltmain to make .lib files, not .a files.
10290 libext=lib
10291 # Tell ltmain to make .dll files, not .so files.
10292 shrext_cmds=".dll"
10293 # FIXME: Setting linknames here is a bad hack.
10294 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10295 # The linker will automatically build a .lib file if we build a DLL.
10296 old_archive_from_new_cmds='true'
10297 # FIXME: Should let the user specify the lib program.
10298 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10299 fix_srcfile_path='`cygpath -w "$srcfile"`'
10300 enable_shared_with_static_runtimes=yes
10303 darwin* | rhapsody*)
10306 archive_cmds_need_lc=no
10307 hardcode_direct=no
10308 hardcode_automatic=yes
10309 hardcode_shlibpath_var=unsupported
10310 if test "$lt_cv_ld_force_load" = "yes"; then
10311 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\"`'
10312 else
10313 whole_archive_flag_spec=''
10315 link_all_deplibs=yes
10316 allow_undefined_flag="$_lt_dar_allow_undefined"
10317 case $cc_basename in
10318 ifort*) _lt_dar_can_shared=yes ;;
10319 *) _lt_dar_can_shared=$GCC ;;
10320 esac
10321 if test "$_lt_dar_can_shared" = "yes"; then
10322 output_verbose_link_cmd=func_echo_all
10323 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10324 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10325 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}"
10326 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}"
10328 else
10329 ld_shlibs=no
10334 dgux*)
10335 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10336 hardcode_libdir_flag_spec='-L$libdir'
10337 hardcode_shlibpath_var=no
10340 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10341 # support. Future versions do this automatically, but an explicit c++rt0.o
10342 # does not break anything, and helps significantly (at the cost of a little
10343 # extra space).
10344 freebsd2.2*)
10345 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10346 hardcode_libdir_flag_spec='-R$libdir'
10347 hardcode_direct=yes
10348 hardcode_shlibpath_var=no
10351 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10352 freebsd2.*)
10353 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10354 hardcode_direct=yes
10355 hardcode_minus_L=yes
10356 hardcode_shlibpath_var=no
10359 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10360 freebsd* | dragonfly*)
10361 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10362 hardcode_libdir_flag_spec='-R$libdir'
10363 hardcode_direct=yes
10364 hardcode_shlibpath_var=no
10367 hpux9*)
10368 if test "$GCC" = yes; then
10369 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'
10370 else
10371 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'
10373 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10374 hardcode_libdir_separator=:
10375 hardcode_direct=yes
10377 # hardcode_minus_L: Not really in the search PATH,
10378 # but as the default location of the library.
10379 hardcode_minus_L=yes
10380 export_dynamic_flag_spec='${wl}-E'
10383 hpux10*)
10384 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10385 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10386 else
10387 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10389 if test "$with_gnu_ld" = no; then
10390 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10391 hardcode_libdir_flag_spec_ld='+b $libdir'
10392 hardcode_libdir_separator=:
10393 hardcode_direct=yes
10394 hardcode_direct_absolute=yes
10395 export_dynamic_flag_spec='${wl}-E'
10396 # hardcode_minus_L: Not really in the search PATH,
10397 # but as the default location of the library.
10398 hardcode_minus_L=yes
10402 hpux11*)
10403 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10404 case $host_cpu in
10405 hppa*64*)
10406 archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10408 ia64*)
10409 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10412 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10414 esac
10415 else
10416 case $host_cpu in
10417 hppa*64*)
10418 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10420 ia64*)
10421 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10425 # Older versions of the 11.00 compiler do not understand -b yet
10426 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10428 $as_echo_n "checking if $CC understands -b... " >&6; }
10429 if ${lt_cv_prog_compiler__b+:} false; then :
10430 $as_echo_n "(cached) " >&6
10431 else
10432 lt_cv_prog_compiler__b=no
10433 save_LDFLAGS="$LDFLAGS"
10434 LDFLAGS="$LDFLAGS -b"
10435 echo "$lt_simple_link_test_code" > conftest.$ac_ext
10436 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10437 # The linker can only warn and ignore the option if not recognized
10438 # So say no if there are warnings
10439 if test -s conftest.err; then
10440 # Append any errors to the config.log.
10441 cat conftest.err 1>&5
10442 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10443 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10444 if diff conftest.exp conftest.er2 >/dev/null; then
10445 lt_cv_prog_compiler__b=yes
10447 else
10448 lt_cv_prog_compiler__b=yes
10451 $RM -r conftest*
10452 LDFLAGS="$save_LDFLAGS"
10455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10456 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10458 if test x"$lt_cv_prog_compiler__b" = xyes; then
10459 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10460 else
10461 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10465 esac
10467 if test "$with_gnu_ld" = no; then
10468 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10469 hardcode_libdir_separator=:
10471 case $host_cpu in
10472 hppa*64*|ia64*)
10473 hardcode_direct=no
10474 hardcode_shlibpath_var=no
10477 hardcode_direct=yes
10478 hardcode_direct_absolute=yes
10479 export_dynamic_flag_spec='${wl}-E'
10481 # hardcode_minus_L: Not really in the search PATH,
10482 # but as the default location of the library.
10483 hardcode_minus_L=yes
10485 esac
10489 irix5* | irix6* | nonstopux*)
10490 if test "$GCC" = yes; then
10491 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'
10492 # Try to use the -exported_symbol ld option, if it does not
10493 # work, assume that -exports_file does not work either and
10494 # implicitly export all symbols.
10495 save_LDFLAGS="$LDFLAGS"
10496 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10497 if test x$gcc_no_link = xyes; then
10498 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10501 /* end confdefs.h. */
10502 int foo(void) {}
10503 _ACEOF
10504 if ac_fn_c_try_link "$LINENO"; then :
10505 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'
10508 rm -f core conftest.err conftest.$ac_objext \
10509 conftest$ac_exeext conftest.$ac_ext
10510 LDFLAGS="$save_LDFLAGS"
10511 else
10512 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'
10513 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'
10515 archive_cmds_need_lc='no'
10516 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10517 hardcode_libdir_separator=:
10518 inherit_rpath=yes
10519 link_all_deplibs=yes
10522 netbsd*)
10523 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10524 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10525 else
10526 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10528 hardcode_libdir_flag_spec='-R$libdir'
10529 hardcode_direct=yes
10530 hardcode_shlibpath_var=no
10533 newsos6)
10534 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10535 hardcode_direct=yes
10536 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10537 hardcode_libdir_separator=:
10538 hardcode_shlibpath_var=no
10541 *nto* | *qnx*)
10544 openbsd*)
10545 if test -f /usr/libexec/ld.so; then
10546 hardcode_direct=yes
10547 hardcode_shlibpath_var=no
10548 hardcode_direct_absolute=yes
10549 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10550 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10551 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10552 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10553 export_dynamic_flag_spec='${wl}-E'
10554 else
10555 case $host_os in
10556 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10557 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10558 hardcode_libdir_flag_spec='-R$libdir'
10561 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10562 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10564 esac
10566 else
10567 ld_shlibs=no
10571 os2*)
10572 hardcode_libdir_flag_spec='-L$libdir'
10573 hardcode_minus_L=yes
10574 allow_undefined_flag=unsupported
10575 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'
10576 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10579 osf3*)
10580 if test "$GCC" = yes; then
10581 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10582 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'
10583 else
10584 allow_undefined_flag=' -expect_unresolved \*'
10585 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'
10587 archive_cmds_need_lc='no'
10588 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10589 hardcode_libdir_separator=:
10592 osf4* | osf5*) # as osf3* with the addition of -msym flag
10593 if test "$GCC" = yes; then
10594 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10595 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'
10596 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10597 else
10598 allow_undefined_flag=' -expect_unresolved \*'
10599 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'
10600 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~
10601 $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'
10603 # Both c and cxx compiler support -rpath directly
10604 hardcode_libdir_flag_spec='-rpath $libdir'
10606 archive_cmds_need_lc='no'
10607 hardcode_libdir_separator=:
10610 solaris*)
10611 no_undefined_flag=' -z defs'
10612 if test "$GCC" = yes; then
10613 wlarc='${wl}'
10614 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10615 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10616 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10617 else
10618 case `$CC -V 2>&1` in
10619 *"Compilers 5.0"*)
10620 wlarc=''
10621 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10622 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10623 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10626 wlarc='${wl}'
10627 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10628 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10629 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10631 esac
10633 hardcode_libdir_flag_spec='-R$libdir'
10634 hardcode_shlibpath_var=no
10635 case $host_os in
10636 solaris2.[0-5] | solaris2.[0-5].*) ;;
10638 # The compiler driver will combine and reorder linker options,
10639 # but understands `-z linker_flag'. GCC discards it without `$wl',
10640 # but is careful enough not to reorder.
10641 # Supported since Solaris 2.6 (maybe 2.5.1?)
10642 if test "$GCC" = yes; then
10643 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10644 else
10645 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10648 esac
10649 link_all_deplibs=yes
10652 sunos4*)
10653 if test "x$host_vendor" = xsequent; then
10654 # Use $CC to link under sequent, because it throws in some extra .o
10655 # files that make .init and .fini sections work.
10656 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10657 else
10658 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10660 hardcode_libdir_flag_spec='-L$libdir'
10661 hardcode_direct=yes
10662 hardcode_minus_L=yes
10663 hardcode_shlibpath_var=no
10666 sysv4)
10667 case $host_vendor in
10668 sni)
10669 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10670 hardcode_direct=yes # is this really true???
10672 siemens)
10673 ## LD is ld it makes a PLAMLIB
10674 ## CC just makes a GrossModule.
10675 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10676 reload_cmds='$CC -r -o $output$reload_objs'
10677 hardcode_direct=no
10679 motorola)
10680 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10681 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10683 esac
10684 runpath_var='LD_RUN_PATH'
10685 hardcode_shlibpath_var=no
10688 sysv4.3*)
10689 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10690 hardcode_shlibpath_var=no
10691 export_dynamic_flag_spec='-Bexport'
10694 sysv4*MP*)
10695 if test -d /usr/nec; then
10696 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10697 hardcode_shlibpath_var=no
10698 runpath_var=LD_RUN_PATH
10699 hardcode_runpath_var=yes
10700 ld_shlibs=yes
10704 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10705 no_undefined_flag='${wl}-z,text'
10706 archive_cmds_need_lc=no
10707 hardcode_shlibpath_var=no
10708 runpath_var='LD_RUN_PATH'
10710 if test "$GCC" = yes; then
10711 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10712 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10713 else
10714 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10715 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10719 sysv5* | sco3.2v5* | sco5v6*)
10720 # Note: We can NOT use -z defs as we might desire, because we do not
10721 # link with -lc, and that would cause any symbols used from libc to
10722 # always be unresolved, which means just about no library would
10723 # ever link correctly. If we're not using GNU ld we use -z text
10724 # though, which does catch some bad symbols but isn't as heavy-handed
10725 # as -z defs.
10726 no_undefined_flag='${wl}-z,text'
10727 allow_undefined_flag='${wl}-z,nodefs'
10728 archive_cmds_need_lc=no
10729 hardcode_shlibpath_var=no
10730 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10731 hardcode_libdir_separator=':'
10732 link_all_deplibs=yes
10733 export_dynamic_flag_spec='${wl}-Bexport'
10734 runpath_var='LD_RUN_PATH'
10736 if test "$GCC" = yes; then
10737 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10738 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10739 else
10740 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10741 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10745 uts4*)
10746 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10747 hardcode_libdir_flag_spec='-L$libdir'
10748 hardcode_shlibpath_var=no
10752 ld_shlibs=no
10754 esac
10756 if test x$host_vendor = xsni; then
10757 case $host in
10758 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10759 export_dynamic_flag_spec='${wl}-Blargedynsym'
10761 esac
10765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10766 $as_echo "$ld_shlibs" >&6; }
10767 test "$ld_shlibs" = no && can_build_shared=no
10769 with_gnu_ld=$with_gnu_ld
10786 # Do we need to explicitly link libc?
10788 case "x$archive_cmds_need_lc" in
10789 x|xyes)
10790 # Assume -lc should be added
10791 archive_cmds_need_lc=yes
10793 if test "$enable_shared" = yes && test "$GCC" = yes; then
10794 case $archive_cmds in
10795 *'~'*)
10796 # FIXME: we may have to deal with multi-command sequences.
10798 '$CC '*)
10799 # Test whether the compiler implicitly links with -lc since on some
10800 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10801 # to ld, don't add -lc before -lgcc.
10802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10803 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10804 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10805 $as_echo_n "(cached) " >&6
10806 else
10807 $RM conftest*
10808 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10810 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10811 (eval $ac_compile) 2>&5
10812 ac_status=$?
10813 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10814 test $ac_status = 0; } 2>conftest.err; then
10815 soname=conftest
10816 lib=conftest
10817 libobjs=conftest.$ac_objext
10818 deplibs=
10819 wl=$lt_prog_compiler_wl
10820 pic_flag=$lt_prog_compiler_pic
10821 compiler_flags=-v
10822 linker_flags=-v
10823 verstring=
10824 output_objdir=.
10825 libname=conftest
10826 lt_save_allow_undefined_flag=$allow_undefined_flag
10827 allow_undefined_flag=
10828 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10829 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10830 ac_status=$?
10831 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10832 test $ac_status = 0; }
10833 then
10834 lt_cv_archive_cmds_need_lc=no
10835 else
10836 lt_cv_archive_cmds_need_lc=yes
10838 allow_undefined_flag=$lt_save_allow_undefined_flag
10839 else
10840 cat conftest.err 1>&5
10842 $RM conftest*
10845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10846 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10847 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10849 esac
10852 esac
11010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11011 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11013 if test "$GCC" = yes; then
11014 case $host_os in
11015 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
11016 *) lt_awk_arg="/^libraries:/" ;;
11017 esac
11018 case $host_os in
11019 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
11020 *) lt_sed_strip_eq="s,=/,/,g" ;;
11021 esac
11022 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11023 case $lt_search_path_spec in
11024 *\;*)
11025 # if the path contains ";" then we assume it to be the separator
11026 # otherwise default to the standard path separator (i.e. ":") - it is
11027 # assumed that no part of a normal pathname contains ";" but that should
11028 # okay in the real world where ";" in dirpaths is itself problematic.
11029 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11032 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11034 esac
11035 # Ok, now we have the path, separated by spaces, we can step through it
11036 # and add multilib dir if necessary.
11037 lt_tmp_lt_search_path_spec=
11038 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11039 for lt_sys_path in $lt_search_path_spec; do
11040 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11041 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11042 else
11043 test -d "$lt_sys_path" && \
11044 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11046 done
11047 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11048 BEGIN {RS=" "; FS="/|\n";} {
11049 lt_foo="";
11050 lt_count=0;
11051 for (lt_i = NF; lt_i > 0; lt_i--) {
11052 if ($lt_i != "" && $lt_i != ".") {
11053 if ($lt_i == "..") {
11054 lt_count++;
11055 } else {
11056 if (lt_count == 0) {
11057 lt_foo="/" $lt_i lt_foo;
11058 } else {
11059 lt_count--;
11064 if (lt_foo != "") { lt_freq[lt_foo]++; }
11065 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11067 # AWK program above erroneously prepends '/' to C:/dos/paths
11068 # for these hosts.
11069 case $host_os in
11070 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
11071 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11072 esac
11073 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11074 else
11075 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11077 library_names_spec=
11078 libname_spec='lib$name'
11079 soname_spec=
11080 shrext_cmds=".so"
11081 postinstall_cmds=
11082 postuninstall_cmds=
11083 finish_cmds=
11084 finish_eval=
11085 shlibpath_var=
11086 shlibpath_overrides_runpath=unknown
11087 version_type=none
11088 dynamic_linker="$host_os ld.so"
11089 sys_lib_dlsearch_path_spec="/lib /usr/lib"
11090 need_lib_prefix=unknown
11091 hardcode_into_libs=no
11093 # when you set need_version to no, make sure it does not cause -set_version
11094 # flags to be left without arguments
11095 need_version=unknown
11097 case $host_os in
11098 aix3*)
11099 version_type=linux
11100 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11101 shlibpath_var=LIBPATH
11103 # AIX 3 has no versioning support, so we append a major version to the name.
11104 soname_spec='${libname}${release}${shared_ext}$major'
11107 aix[4-9]*)
11108 version_type=linux
11109 need_lib_prefix=no
11110 need_version=no
11111 hardcode_into_libs=yes
11112 if test "$host_cpu" = ia64; then
11113 # AIX 5 supports IA64
11114 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11115 shlibpath_var=LD_LIBRARY_PATH
11116 else
11117 # With GCC up to 2.95.x, collect2 would create an import file
11118 # for dependence libraries. The import file would start with
11119 # the line `#! .'. This would cause the generated library to
11120 # depend on `.', always an invalid library. This was fixed in
11121 # development snapshots of GCC prior to 3.0.
11122 case $host_os in
11123 aix4 | aix4.[01] | aix4.[01].*)
11124 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11125 echo ' yes '
11126 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
11128 else
11129 can_build_shared=no
11132 esac
11133 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11134 # soname into executable. Probably we can add versioning support to
11135 # collect2, so additional links can be useful in future.
11136 if test "$aix_use_runtimelinking" = yes; then
11137 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11138 # instead of lib<name>.a to let people know that these are not
11139 # typical AIX shared libraries.
11140 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11141 else
11142 # We preserve .a as extension for shared libraries through AIX4.2
11143 # and later when we are not doing run time linking.
11144 library_names_spec='${libname}${release}.a $libname.a'
11145 soname_spec='${libname}${release}${shared_ext}$major'
11147 shlibpath_var=LIBPATH
11151 amigaos*)
11152 case $host_cpu in
11153 powerpc)
11154 # Since July 2007 AmigaOS4 officially supports .so libraries.
11155 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11156 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11158 m68k)
11159 library_names_spec='$libname.ixlibrary $libname.a'
11160 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11161 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'
11163 esac
11166 beos*)
11167 library_names_spec='${libname}${shared_ext}'
11168 dynamic_linker="$host_os ld.so"
11169 shlibpath_var=LIBRARY_PATH
11172 bsdi[45]*)
11173 version_type=linux
11174 need_version=no
11175 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11176 soname_spec='${libname}${release}${shared_ext}$major'
11177 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11178 shlibpath_var=LD_LIBRARY_PATH
11179 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11180 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11181 # the default ld.so.conf also contains /usr/contrib/lib and
11182 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11183 # libtool to hard-code these into programs
11186 cygwin* | mingw* | pw32* | cegcc*)
11187 version_type=windows
11188 shrext_cmds=".dll"
11189 need_version=no
11190 need_lib_prefix=no
11192 case $GCC,$host_os in
11193 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
11194 library_names_spec='$libname.dll.a'
11195 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11196 postinstall_cmds='base_file=`basename \${file}`~
11197 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11198 dldir=$destdir/`dirname \$dlpath`~
11199 test -d \$dldir || mkdir -p \$dldir~
11200 $install_prog $dir/$dlname \$dldir/$dlname~
11201 chmod a+x \$dldir/$dlname~
11202 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11203 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11205 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11206 dlpath=$dir/\$dldll~
11207 $RM \$dlpath'
11208 shlibpath_overrides_runpath=yes
11210 case $host_os in
11211 cygwin*)
11212 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11213 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11215 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11217 mingw* | cegcc*)
11218 # MinGW DLLs use traditional 'lib' prefix
11219 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11221 pw32*)
11222 # pw32 DLLs use 'pw' prefix rather than 'lib'
11223 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11225 esac
11229 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11231 esac
11232 dynamic_linker='Win32 ld.exe'
11233 # FIXME: first we should search . and the directory the executable is in
11234 shlibpath_var=PATH
11237 darwin* | rhapsody*)
11238 dynamic_linker="$host_os dyld"
11239 version_type=darwin
11240 need_lib_prefix=no
11241 need_version=no
11242 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11243 soname_spec='${libname}${release}${major}$shared_ext'
11244 shlibpath_overrides_runpath=yes
11245 shlibpath_var=DYLD_LIBRARY_PATH
11246 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11248 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11249 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11252 dgux*)
11253 version_type=linux
11254 need_lib_prefix=no
11255 need_version=no
11256 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11257 soname_spec='${libname}${release}${shared_ext}$major'
11258 shlibpath_var=LD_LIBRARY_PATH
11261 freebsd* | dragonfly*)
11262 # DragonFly does not have aout. When/if they implement a new
11263 # versioning mechanism, adjust this.
11264 if test -x /usr/bin/objformat; then
11265 objformat=`/usr/bin/objformat`
11266 else
11267 case $host_os in
11268 freebsd[23].*) objformat=aout ;;
11269 *) objformat=elf ;;
11270 esac
11272 version_type=freebsd-$objformat
11273 case $version_type in
11274 freebsd-elf*)
11275 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11276 need_version=no
11277 need_lib_prefix=no
11279 freebsd-*)
11280 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11281 need_version=yes
11283 esac
11284 shlibpath_var=LD_LIBRARY_PATH
11285 case $host_os in
11286 freebsd2.*)
11287 shlibpath_overrides_runpath=yes
11289 freebsd3.[01]* | freebsdelf3.[01]*)
11290 shlibpath_overrides_runpath=yes
11291 hardcode_into_libs=yes
11293 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11294 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11295 shlibpath_overrides_runpath=no
11296 hardcode_into_libs=yes
11298 *) # from 4.6 on, and DragonFly
11299 shlibpath_overrides_runpath=yes
11300 hardcode_into_libs=yes
11302 esac
11305 haiku*)
11306 version_type=linux
11307 need_lib_prefix=no
11308 need_version=no
11309 dynamic_linker="$host_os runtime_loader"
11310 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11311 soname_spec='${libname}${release}${shared_ext}$major'
11312 shlibpath_var=LIBRARY_PATH
11313 shlibpath_overrides_runpath=yes
11314 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
11315 hardcode_into_libs=yes
11318 hpux9* | hpux10* | hpux11*)
11319 # Give a soname corresponding to the major version so that dld.sl refuses to
11320 # link against other versions.
11321 version_type=sunos
11322 need_lib_prefix=no
11323 need_version=no
11324 case $host_cpu in
11325 ia64*)
11326 shrext_cmds='.so'
11327 hardcode_into_libs=yes
11328 dynamic_linker="$host_os dld.so"
11329 shlibpath_var=LD_LIBRARY_PATH
11330 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11331 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11332 soname_spec='${libname}${release}${shared_ext}$major'
11333 if test "X$HPUX_IA64_MODE" = X32; then
11334 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11335 else
11336 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11338 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11340 hppa*64*)
11341 shrext_cmds='.sl'
11342 hardcode_into_libs=yes
11343 dynamic_linker="$host_os dld.sl"
11344 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11345 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11346 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11347 soname_spec='${libname}${release}${shared_ext}$major'
11348 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11349 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11352 shrext_cmds='.sl'
11353 dynamic_linker="$host_os dld.sl"
11354 shlibpath_var=SHLIB_PATH
11355 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
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'
11359 esac
11360 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11361 postinstall_cmds='chmod 555 $lib'
11362 # or fails outright, so override atomically:
11363 install_override_mode=555
11366 interix[3-9]*)
11367 version_type=linux
11368 need_lib_prefix=no
11369 need_version=no
11370 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11371 soname_spec='${libname}${release}${shared_ext}$major'
11372 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11373 shlibpath_var=LD_LIBRARY_PATH
11374 shlibpath_overrides_runpath=no
11375 hardcode_into_libs=yes
11378 irix5* | irix6* | nonstopux*)
11379 case $host_os in
11380 nonstopux*) version_type=nonstopux ;;
11382 if test "$lt_cv_prog_gnu_ld" = yes; then
11383 version_type=linux
11384 else
11385 version_type=irix
11386 fi ;;
11387 esac
11388 need_lib_prefix=no
11389 need_version=no
11390 soname_spec='${libname}${release}${shared_ext}$major'
11391 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11392 case $host_os in
11393 irix5* | nonstopux*)
11394 libsuff= shlibsuff=
11397 case $LD in # libtool.m4 will add one of these switches to LD
11398 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11399 libsuff= shlibsuff= libmagic=32-bit;;
11400 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11401 libsuff=32 shlibsuff=N32 libmagic=N32;;
11402 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11403 libsuff=64 shlibsuff=64 libmagic=64-bit;;
11404 *) libsuff= shlibsuff= libmagic=never-match;;
11405 esac
11407 esac
11408 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11409 shlibpath_overrides_runpath=no
11410 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11411 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11412 hardcode_into_libs=yes
11415 # No shared lib support for Linux oldld, aout, or coff.
11416 linux*oldld* | linux*aout* | linux*coff*)
11417 dynamic_linker=no
11420 # This must be Linux ELF.
11422 # uclinux* changes (here and below) have been submitted to the libtool
11423 # project, but have not yet been accepted: they are GCC-local changes
11424 # for the time being. (See
11425 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
11426 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu* | uclinuxfdpiceabi)
11427 version_type=linux
11428 need_lib_prefix=no
11429 need_version=no
11430 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11431 soname_spec='${libname}${release}${shared_ext}$major'
11432 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11433 shlibpath_var=LD_LIBRARY_PATH
11434 shlibpath_overrides_runpath=no
11436 # Some binutils ld are patched to set DT_RUNPATH
11437 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11438 $as_echo_n "(cached) " >&6
11439 else
11440 lt_cv_shlibpath_overrides_runpath=no
11441 save_LDFLAGS=$LDFLAGS
11442 save_libdir=$libdir
11443 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11444 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11445 if test x$gcc_no_link = xyes; then
11446 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11449 /* end confdefs.h. */
11452 main ()
11456 return 0;
11458 _ACEOF
11459 if ac_fn_c_try_link "$LINENO"; then :
11460 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11461 lt_cv_shlibpath_overrides_runpath=yes
11464 rm -f core conftest.err conftest.$ac_objext \
11465 conftest$ac_exeext conftest.$ac_ext
11466 LDFLAGS=$save_LDFLAGS
11467 libdir=$save_libdir
11471 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11473 # This implies no fast_install, which is unacceptable.
11474 # Some rework will be needed to allow for fast_install
11475 # before this can be enabled.
11476 hardcode_into_libs=yes
11478 # Append ld.so.conf contents to the search path
11479 if test -f /etc/ld.so.conf; then
11480 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' ' '`
11481 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11484 # We used to test for /lib/ld.so.1 and disable shared libraries on
11485 # powerpc, because MkLinux only supported shared libraries with the
11486 # GNU dynamic linker. Since this was broken with cross compilers,
11487 # most powerpc-linux boxes support dynamic linking these days and
11488 # people can always --disable-shared, the test was removed, and we
11489 # assume the GNU/Linux dynamic linker is in use.
11490 dynamic_linker='GNU/Linux ld.so'
11493 netbsd*)
11494 version_type=sunos
11495 need_lib_prefix=no
11496 need_version=no
11497 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11498 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11499 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11500 dynamic_linker='NetBSD (a.out) ld.so'
11501 else
11502 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11503 soname_spec='${libname}${release}${shared_ext}$major'
11504 dynamic_linker='NetBSD ld.elf_so'
11506 shlibpath_var=LD_LIBRARY_PATH
11507 shlibpath_overrides_runpath=yes
11508 hardcode_into_libs=yes
11511 newsos6)
11512 version_type=linux
11513 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11514 shlibpath_var=LD_LIBRARY_PATH
11515 shlibpath_overrides_runpath=yes
11518 *nto* | *qnx*)
11519 version_type=qnx
11520 need_lib_prefix=no
11521 need_version=no
11522 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11523 soname_spec='${libname}${release}${shared_ext}$major'
11524 shlibpath_var=LD_LIBRARY_PATH
11525 shlibpath_overrides_runpath=no
11526 hardcode_into_libs=yes
11527 dynamic_linker='ldqnx.so'
11530 openbsd*)
11531 version_type=sunos
11532 sys_lib_dlsearch_path_spec="/usr/lib"
11533 need_lib_prefix=no
11534 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11535 case $host_os in
11536 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11537 *) need_version=no ;;
11538 esac
11539 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11540 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11541 shlibpath_var=LD_LIBRARY_PATH
11542 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11543 case $host_os in
11544 openbsd2.[89] | openbsd2.[89].*)
11545 shlibpath_overrides_runpath=no
11548 shlibpath_overrides_runpath=yes
11550 esac
11551 else
11552 shlibpath_overrides_runpath=yes
11556 os2*)
11557 libname_spec='$name'
11558 shrext_cmds=".dll"
11559 need_lib_prefix=no
11560 library_names_spec='$libname${shared_ext} $libname.a'
11561 dynamic_linker='OS/2 ld.exe'
11562 shlibpath_var=LIBPATH
11565 osf3* | osf4* | osf5*)
11566 version_type=osf
11567 need_lib_prefix=no
11568 need_version=no
11569 soname_spec='${libname}${release}${shared_ext}$major'
11570 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11571 shlibpath_var=LD_LIBRARY_PATH
11572 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11573 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11576 rdos*)
11577 dynamic_linker=no
11580 solaris*)
11581 version_type=linux
11582 need_lib_prefix=no
11583 need_version=no
11584 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11585 soname_spec='${libname}${release}${shared_ext}$major'
11586 shlibpath_var=LD_LIBRARY_PATH
11587 shlibpath_overrides_runpath=yes
11588 hardcode_into_libs=yes
11589 # ldd complains unless libraries are executable
11590 postinstall_cmds='chmod +x $lib'
11593 sunos4*)
11594 version_type=sunos
11595 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11596 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11597 shlibpath_var=LD_LIBRARY_PATH
11598 shlibpath_overrides_runpath=yes
11599 if test "$with_gnu_ld" = yes; then
11600 need_lib_prefix=no
11602 need_version=yes
11605 sysv4 | sysv4.3*)
11606 version_type=linux
11607 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11608 soname_spec='${libname}${release}${shared_ext}$major'
11609 shlibpath_var=LD_LIBRARY_PATH
11610 case $host_vendor in
11611 sni)
11612 shlibpath_overrides_runpath=no
11613 need_lib_prefix=no
11614 runpath_var=LD_RUN_PATH
11616 siemens)
11617 need_lib_prefix=no
11619 motorola)
11620 need_lib_prefix=no
11621 need_version=no
11622 shlibpath_overrides_runpath=no
11623 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11625 esac
11628 sysv4*MP*)
11629 if test -d /usr/nec ;then
11630 version_type=linux
11631 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11632 soname_spec='$libname${shared_ext}.$major'
11633 shlibpath_var=LD_LIBRARY_PATH
11637 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11638 version_type=freebsd-elf
11639 need_lib_prefix=no
11640 need_version=no
11641 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11642 soname_spec='${libname}${release}${shared_ext}$major'
11643 shlibpath_var=LD_LIBRARY_PATH
11644 shlibpath_overrides_runpath=yes
11645 hardcode_into_libs=yes
11646 if test "$with_gnu_ld" = yes; then
11647 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11648 else
11649 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11650 case $host_os in
11651 sco3.2v5*)
11652 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11654 esac
11656 sys_lib_dlsearch_path_spec='/usr/lib'
11659 tpf*)
11660 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11661 version_type=linux
11662 need_lib_prefix=no
11663 need_version=no
11664 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11665 shlibpath_var=LD_LIBRARY_PATH
11666 shlibpath_overrides_runpath=no
11667 hardcode_into_libs=yes
11670 uts4*)
11671 version_type=linux
11672 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11673 soname_spec='${libname}${release}${shared_ext}$major'
11674 shlibpath_var=LD_LIBRARY_PATH
11678 dynamic_linker=no
11680 esac
11681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11682 $as_echo "$dynamic_linker" >&6; }
11683 test "$dynamic_linker" = no && can_build_shared=no
11685 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11686 if test "$GCC" = yes; then
11687 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11690 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11691 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11693 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11694 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11789 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11790 hardcode_action=
11791 if test -n "$hardcode_libdir_flag_spec" ||
11792 test -n "$runpath_var" ||
11793 test "X$hardcode_automatic" = "Xyes" ; then
11795 # We can hardcode non-existent directories.
11796 if test "$hardcode_direct" != no &&
11797 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11798 # have to relink, otherwise we might link with an installed library
11799 # when we should be linking with a yet-to-be-installed one
11800 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11801 test "$hardcode_minus_L" != no; then
11802 # Linking always hardcodes the temporary library directory.
11803 hardcode_action=relink
11804 else
11805 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11806 hardcode_action=immediate
11808 else
11809 # We cannot hardcode anything, or else we can only hardcode existing
11810 # directories.
11811 hardcode_action=unsupported
11813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11814 $as_echo "$hardcode_action" >&6; }
11816 if test "$hardcode_action" = relink ||
11817 test "$inherit_rpath" = yes; then
11818 # Fast installation is not supported
11819 enable_fast_install=no
11820 elif test "$shlibpath_overrides_runpath" = yes ||
11821 test "$enable_shared" = no; then
11822 # Fast installation is not necessary
11823 enable_fast_install=needless
11831 if test "x$enable_dlopen" != xyes; then
11832 enable_dlopen=unknown
11833 enable_dlopen_self=unknown
11834 enable_dlopen_self_static=unknown
11835 else
11836 lt_cv_dlopen=no
11837 lt_cv_dlopen_libs=
11839 case $host_os in
11840 beos*)
11841 lt_cv_dlopen="load_add_on"
11842 lt_cv_dlopen_libs=
11843 lt_cv_dlopen_self=yes
11846 mingw* | pw32* | cegcc*)
11847 lt_cv_dlopen="LoadLibrary"
11848 lt_cv_dlopen_libs=
11851 cygwin*)
11852 lt_cv_dlopen="dlopen"
11853 lt_cv_dlopen_libs=
11856 darwin*)
11857 # if libdl is installed we need to link against it
11858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11859 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11860 if ${ac_cv_lib_dl_dlopen+:} false; then :
11861 $as_echo_n "(cached) " >&6
11862 else
11863 ac_check_lib_save_LIBS=$LIBS
11864 LIBS="-ldl $LIBS"
11865 if test x$gcc_no_link = xyes; then
11866 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11869 /* end confdefs.h. */
11871 /* Override any GCC internal prototype to avoid an error.
11872 Use char because int might match the return type of a GCC
11873 builtin and then its argument prototype would still apply. */
11874 #ifdef __cplusplus
11875 extern "C"
11876 #endif
11877 char dlopen ();
11879 main ()
11881 return dlopen ();
11883 return 0;
11885 _ACEOF
11886 if ac_fn_c_try_link "$LINENO"; then :
11887 ac_cv_lib_dl_dlopen=yes
11888 else
11889 ac_cv_lib_dl_dlopen=no
11891 rm -f core conftest.err conftest.$ac_objext \
11892 conftest$ac_exeext conftest.$ac_ext
11893 LIBS=$ac_check_lib_save_LIBS
11895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11896 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11897 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11898 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11899 else
11901 lt_cv_dlopen="dyld"
11902 lt_cv_dlopen_libs=
11903 lt_cv_dlopen_self=yes
11910 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11911 if test "x$ac_cv_func_shl_load" = xyes; then :
11912 lt_cv_dlopen="shl_load"
11913 else
11914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11915 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11916 if ${ac_cv_lib_dld_shl_load+:} false; then :
11917 $as_echo_n "(cached) " >&6
11918 else
11919 ac_check_lib_save_LIBS=$LIBS
11920 LIBS="-ldld $LIBS"
11921 if test x$gcc_no_link = xyes; then
11922 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11925 /* end confdefs.h. */
11927 /* Override any GCC internal prototype to avoid an error.
11928 Use char because int might match the return type of a GCC
11929 builtin and then its argument prototype would still apply. */
11930 #ifdef __cplusplus
11931 extern "C"
11932 #endif
11933 char shl_load ();
11935 main ()
11937 return shl_load ();
11939 return 0;
11941 _ACEOF
11942 if ac_fn_c_try_link "$LINENO"; then :
11943 ac_cv_lib_dld_shl_load=yes
11944 else
11945 ac_cv_lib_dld_shl_load=no
11947 rm -f core conftest.err conftest.$ac_objext \
11948 conftest$ac_exeext conftest.$ac_ext
11949 LIBS=$ac_check_lib_save_LIBS
11951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11952 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11953 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11954 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11955 else
11956 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11957 if test "x$ac_cv_func_dlopen" = xyes; then :
11958 lt_cv_dlopen="dlopen"
11959 else
11960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11961 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11962 if ${ac_cv_lib_dl_dlopen+:} false; then :
11963 $as_echo_n "(cached) " >&6
11964 else
11965 ac_check_lib_save_LIBS=$LIBS
11966 LIBS="-ldl $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 dlopen ();
11981 main ()
11983 return dlopen ();
11985 return 0;
11987 _ACEOF
11988 if ac_fn_c_try_link "$LINENO"; then :
11989 ac_cv_lib_dl_dlopen=yes
11990 else
11991 ac_cv_lib_dl_dlopen=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_dl_dlopen" >&5
11998 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11999 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12000 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12001 else
12002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12003 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12004 if ${ac_cv_lib_svld_dlopen+:} false; then :
12005 $as_echo_n "(cached) " >&6
12006 else
12007 ac_check_lib_save_LIBS=$LIBS
12008 LIBS="-lsvld $LIBS"
12009 if test x$gcc_no_link = xyes; then
12010 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12013 /* end confdefs.h. */
12015 /* Override any GCC internal prototype to avoid an error.
12016 Use char because int might match the return type of a GCC
12017 builtin and then its argument prototype would still apply. */
12018 #ifdef __cplusplus
12019 extern "C"
12020 #endif
12021 char dlopen ();
12023 main ()
12025 return dlopen ();
12027 return 0;
12029 _ACEOF
12030 if ac_fn_c_try_link "$LINENO"; then :
12031 ac_cv_lib_svld_dlopen=yes
12032 else
12033 ac_cv_lib_svld_dlopen=no
12035 rm -f core conftest.err conftest.$ac_objext \
12036 conftest$ac_exeext conftest.$ac_ext
12037 LIBS=$ac_check_lib_save_LIBS
12039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12040 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12041 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12042 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12043 else
12044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12045 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12046 if ${ac_cv_lib_dld_dld_link+:} false; then :
12047 $as_echo_n "(cached) " >&6
12048 else
12049 ac_check_lib_save_LIBS=$LIBS
12050 LIBS="-ldld $LIBS"
12051 if test x$gcc_no_link = xyes; then
12052 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12055 /* end confdefs.h. */
12057 /* Override any GCC internal prototype to avoid an error.
12058 Use char because int might match the return type of a GCC
12059 builtin and then its argument prototype would still apply. */
12060 #ifdef __cplusplus
12061 extern "C"
12062 #endif
12063 char dld_link ();
12065 main ()
12067 return dld_link ();
12069 return 0;
12071 _ACEOF
12072 if ac_fn_c_try_link "$LINENO"; then :
12073 ac_cv_lib_dld_dld_link=yes
12074 else
12075 ac_cv_lib_dld_dld_link=no
12077 rm -f core conftest.err conftest.$ac_objext \
12078 conftest$ac_exeext conftest.$ac_ext
12079 LIBS=$ac_check_lib_save_LIBS
12081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12082 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12083 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12084 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
12103 esac
12105 if test "x$lt_cv_dlopen" != xno; then
12106 enable_dlopen=yes
12107 else
12108 enable_dlopen=no
12111 case $lt_cv_dlopen in
12112 dlopen)
12113 save_CPPFLAGS="$CPPFLAGS"
12114 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12116 save_LDFLAGS="$LDFLAGS"
12117 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12119 save_LIBS="$LIBS"
12120 LIBS="$lt_cv_dlopen_libs $LIBS"
12122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12123 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12124 if ${lt_cv_dlopen_self+:} false; then :
12125 $as_echo_n "(cached) " >&6
12126 else
12127 if test "$cross_compiling" = yes; then :
12128 lt_cv_dlopen_self=cross
12129 else
12130 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12131 lt_status=$lt_dlunknown
12132 cat > conftest.$ac_ext <<_LT_EOF
12133 #line 12133 "configure"
12134 #include "confdefs.h"
12136 #if HAVE_DLFCN_H
12137 #include <dlfcn.h>
12138 #endif
12140 #include <stdio.h>
12142 #ifdef RTLD_GLOBAL
12143 # define LT_DLGLOBAL RTLD_GLOBAL
12144 #else
12145 # ifdef DL_GLOBAL
12146 # define LT_DLGLOBAL DL_GLOBAL
12147 # else
12148 # define LT_DLGLOBAL 0
12149 # endif
12150 #endif
12152 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12153 find out it does not work in some platform. */
12154 #ifndef LT_DLLAZY_OR_NOW
12155 # ifdef RTLD_LAZY
12156 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12157 # else
12158 # ifdef DL_LAZY
12159 # define LT_DLLAZY_OR_NOW DL_LAZY
12160 # else
12161 # ifdef RTLD_NOW
12162 # define LT_DLLAZY_OR_NOW RTLD_NOW
12163 # else
12164 # ifdef DL_NOW
12165 # define LT_DLLAZY_OR_NOW DL_NOW
12166 # else
12167 # define LT_DLLAZY_OR_NOW 0
12168 # endif
12169 # endif
12170 # endif
12171 # endif
12172 #endif
12174 /* When -fvisbility=hidden is used, assume the code has been annotated
12175 correspondingly for the symbols needed. */
12176 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12177 void fnord () __attribute__((visibility("default")));
12178 #endif
12180 void fnord () { int i=42; }
12181 int main ()
12183 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12184 int status = $lt_dlunknown;
12186 if (self)
12188 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12189 else
12191 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12192 else puts (dlerror ());
12194 /* dlclose (self); */
12196 else
12197 puts (dlerror ());
12199 return status;
12201 _LT_EOF
12202 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12203 (eval $ac_link) 2>&5
12204 ac_status=$?
12205 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12206 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12207 (./conftest; exit; ) >&5 2>/dev/null
12208 lt_status=$?
12209 case x$lt_status in
12210 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12211 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12212 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12213 esac
12214 else :
12215 # compilation failed
12216 lt_cv_dlopen_self=no
12219 rm -fr conftest*
12223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12224 $as_echo "$lt_cv_dlopen_self" >&6; }
12226 if test "x$lt_cv_dlopen_self" = xyes; then
12227 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12229 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12230 if ${lt_cv_dlopen_self_static+:} false; then :
12231 $as_echo_n "(cached) " >&6
12232 else
12233 if test "$cross_compiling" = yes; then :
12234 lt_cv_dlopen_self_static=cross
12235 else
12236 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12237 lt_status=$lt_dlunknown
12238 cat > conftest.$ac_ext <<_LT_EOF
12239 #line 12239 "configure"
12240 #include "confdefs.h"
12242 #if HAVE_DLFCN_H
12243 #include <dlfcn.h>
12244 #endif
12246 #include <stdio.h>
12248 #ifdef RTLD_GLOBAL
12249 # define LT_DLGLOBAL RTLD_GLOBAL
12250 #else
12251 # ifdef DL_GLOBAL
12252 # define LT_DLGLOBAL DL_GLOBAL
12253 # else
12254 # define LT_DLGLOBAL 0
12255 # endif
12256 #endif
12258 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12259 find out it does not work in some platform. */
12260 #ifndef LT_DLLAZY_OR_NOW
12261 # ifdef RTLD_LAZY
12262 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12263 # else
12264 # ifdef DL_LAZY
12265 # define LT_DLLAZY_OR_NOW DL_LAZY
12266 # else
12267 # ifdef RTLD_NOW
12268 # define LT_DLLAZY_OR_NOW RTLD_NOW
12269 # else
12270 # ifdef DL_NOW
12271 # define LT_DLLAZY_OR_NOW DL_NOW
12272 # else
12273 # define LT_DLLAZY_OR_NOW 0
12274 # endif
12275 # endif
12276 # endif
12277 # endif
12278 #endif
12280 /* When -fvisbility=hidden is used, assume the code has been annotated
12281 correspondingly for the symbols needed. */
12282 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12283 void fnord () __attribute__((visibility("default")));
12284 #endif
12286 void fnord () { int i=42; }
12287 int main ()
12289 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12290 int status = $lt_dlunknown;
12292 if (self)
12294 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12295 else
12297 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12298 else puts (dlerror ());
12300 /* dlclose (self); */
12302 else
12303 puts (dlerror ());
12305 return status;
12307 _LT_EOF
12308 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12309 (eval $ac_link) 2>&5
12310 ac_status=$?
12311 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12312 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12313 (./conftest; exit; ) >&5 2>/dev/null
12314 lt_status=$?
12315 case x$lt_status in
12316 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12317 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12318 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12319 esac
12320 else :
12321 # compilation failed
12322 lt_cv_dlopen_self_static=no
12325 rm -fr conftest*
12329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12330 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12333 CPPFLAGS="$save_CPPFLAGS"
12334 LDFLAGS="$save_LDFLAGS"
12335 LIBS="$save_LIBS"
12337 esac
12339 case $lt_cv_dlopen_self in
12340 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12341 *) enable_dlopen_self=unknown ;;
12342 esac
12344 case $lt_cv_dlopen_self_static in
12345 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12346 *) enable_dlopen_self_static=unknown ;;
12347 esac
12366 striplib=
12367 old_striplib=
12368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12369 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12370 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12371 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12372 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12374 $as_echo "yes" >&6; }
12375 else
12376 # FIXME - insert some real tests, host_os isn't really good enough
12377 case $host_os in
12378 darwin*)
12379 if test -n "$STRIP" ; then
12380 striplib="$STRIP -x"
12381 old_striplib="$STRIP -S"
12382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12383 $as_echo "yes" >&6; }
12384 else
12385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12386 $as_echo "no" >&6; }
12390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12391 $as_echo "no" >&6; }
12393 esac
12407 # Report which library types will actually be built
12408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12409 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12411 $as_echo "$can_build_shared" >&6; }
12413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12414 $as_echo_n "checking whether to build shared libraries... " >&6; }
12415 test "$can_build_shared" = "no" && enable_shared=no
12417 # On AIX, shared libraries and static libraries use the same namespace, and
12418 # are all built from PIC.
12419 case $host_os in
12420 aix3*)
12421 test "$enable_shared" = yes && enable_static=no
12422 if test -n "$RANLIB"; then
12423 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12424 postinstall_cmds='$RANLIB $lib'
12428 aix[4-9]*)
12429 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12430 test "$enable_shared" = yes && enable_static=no
12433 esac
12434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12435 $as_echo "$enable_shared" >&6; }
12437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12438 $as_echo_n "checking whether to build static libraries... " >&6; }
12439 # Make sure either enable_shared or enable_static is yes.
12440 test "$enable_shared" = yes || enable_static=yes
12441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12442 $as_echo "$enable_static" >&6; }
12448 ac_ext=c
12449 ac_cpp='$CPP $CPPFLAGS'
12450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12454 CC="$lt_save_CC"
12456 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
12457 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
12458 (test "X$CXX" != "Xg++"))) ; then
12459 ac_ext=cpp
12460 ac_cpp='$CXXCPP $CPPFLAGS'
12461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
12465 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
12466 if test -z "$CXXCPP"; then
12467 if ${ac_cv_prog_CXXCPP+:} false; then :
12468 $as_echo_n "(cached) " >&6
12469 else
12470 # Double quotes because CXXCPP needs to be expanded
12471 for CXXCPP in "$CXX -E" "/lib/cpp"
12473 ac_preproc_ok=false
12474 for ac_cxx_preproc_warn_flag in '' yes
12476 # Use a header file that comes with gcc, so configuring glibc
12477 # with a fresh cross-compiler works.
12478 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12479 # <limits.h> exists even on freestanding compilers.
12480 # On the NeXT, cc -E runs the code through the compiler's parser,
12481 # not just through cpp. "Syntax error" is here to catch this case.
12482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12483 /* end confdefs.h. */
12484 #ifdef __STDC__
12485 # include <limits.h>
12486 #else
12487 # include <assert.h>
12488 #endif
12489 Syntax error
12490 _ACEOF
12491 if ac_fn_cxx_try_cpp "$LINENO"; then :
12493 else
12494 # Broken: fails on valid input.
12495 continue
12497 rm -f conftest.err conftest.i conftest.$ac_ext
12499 # OK, works on sane cases. Now check whether nonexistent headers
12500 # can be detected and how.
12501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12502 /* end confdefs.h. */
12503 #include <ac_nonexistent.h>
12504 _ACEOF
12505 if ac_fn_cxx_try_cpp "$LINENO"; then :
12506 # Broken: success on invalid input.
12507 continue
12508 else
12509 # Passes both tests.
12510 ac_preproc_ok=:
12511 break
12513 rm -f conftest.err conftest.i conftest.$ac_ext
12515 done
12516 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12517 rm -f conftest.i conftest.err conftest.$ac_ext
12518 if $ac_preproc_ok; then :
12519 break
12522 done
12523 ac_cv_prog_CXXCPP=$CXXCPP
12526 CXXCPP=$ac_cv_prog_CXXCPP
12527 else
12528 ac_cv_prog_CXXCPP=$CXXCPP
12530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
12531 $as_echo "$CXXCPP" >&6; }
12532 ac_preproc_ok=false
12533 for ac_cxx_preproc_warn_flag in '' yes
12535 # Use a header file that comes with gcc, so configuring glibc
12536 # with a fresh cross-compiler works.
12537 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12538 # <limits.h> exists even on freestanding compilers.
12539 # On the NeXT, cc -E runs the code through the compiler's parser,
12540 # not just through cpp. "Syntax error" is here to catch this case.
12541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12542 /* end confdefs.h. */
12543 #ifdef __STDC__
12544 # include <limits.h>
12545 #else
12546 # include <assert.h>
12547 #endif
12548 Syntax error
12549 _ACEOF
12550 if ac_fn_cxx_try_cpp "$LINENO"; then :
12552 else
12553 # Broken: fails on valid input.
12554 continue
12556 rm -f conftest.err conftest.i conftest.$ac_ext
12558 # OK, works on sane cases. Now check whether nonexistent headers
12559 # can be detected and how.
12560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12561 /* end confdefs.h. */
12562 #include <ac_nonexistent.h>
12563 _ACEOF
12564 if ac_fn_cxx_try_cpp "$LINENO"; then :
12565 # Broken: success on invalid input.
12566 continue
12567 else
12568 # Passes both tests.
12569 ac_preproc_ok=:
12570 break
12572 rm -f conftest.err conftest.i conftest.$ac_ext
12574 done
12575 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12576 rm -f conftest.i conftest.err conftest.$ac_ext
12577 if $ac_preproc_ok; then :
12579 else
12580 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12581 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12582 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
12583 See \`config.log' for more details" "$LINENO" 5; }
12586 ac_ext=c
12587 ac_cpp='$CPP $CPPFLAGS'
12588 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12589 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12590 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12592 else
12593 _lt_caught_CXX_error=yes
12596 ac_ext=cpp
12597 ac_cpp='$CXXCPP $CPPFLAGS'
12598 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12599 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12600 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12602 archive_cmds_need_lc_CXX=no
12603 allow_undefined_flag_CXX=
12604 always_export_symbols_CXX=no
12605 archive_expsym_cmds_CXX=
12606 compiler_needs_object_CXX=no
12607 export_dynamic_flag_spec_CXX=
12608 hardcode_direct_CXX=no
12609 hardcode_direct_absolute_CXX=no
12610 hardcode_libdir_flag_spec_CXX=
12611 hardcode_libdir_flag_spec_ld_CXX=
12612 hardcode_libdir_separator_CXX=
12613 hardcode_minus_L_CXX=no
12614 hardcode_shlibpath_var_CXX=unsupported
12615 hardcode_automatic_CXX=no
12616 inherit_rpath_CXX=no
12617 module_cmds_CXX=
12618 module_expsym_cmds_CXX=
12619 link_all_deplibs_CXX=unknown
12620 old_archive_cmds_CXX=$old_archive_cmds
12621 reload_flag_CXX=$reload_flag
12622 reload_cmds_CXX=$reload_cmds
12623 no_undefined_flag_CXX=
12624 whole_archive_flag_spec_CXX=
12625 enable_shared_with_static_runtimes_CXX=no
12627 # Source file extension for C++ test sources.
12628 ac_ext=cpp
12630 # Object file extension for compiled C++ test sources.
12631 objext=o
12632 objext_CXX=$objext
12634 # No sense in running all these tests if we already determined that
12635 # the CXX compiler isn't working. Some variables (like enable_shared)
12636 # are currently assumed to apply to all compilers on this platform,
12637 # and will be corrupted by setting them based on a non-working compiler.
12638 if test "$_lt_caught_CXX_error" != yes; then
12639 # Code to be used in simple compile tests
12640 lt_simple_compile_test_code="int some_variable = 0;"
12642 # Code to be used in simple link tests
12643 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12645 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12652 # If no C compiler was specified, use CC.
12653 LTCC=${LTCC-"$CC"}
12655 # If no C compiler flags were specified, use CFLAGS.
12656 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12658 # Allow CC to be a program name with arguments.
12659 compiler=$CC
12662 # save warnings/boilerplate of simple test code
12663 ac_outfile=conftest.$ac_objext
12664 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12665 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12666 _lt_compiler_boilerplate=`cat conftest.err`
12667 $RM conftest*
12669 ac_outfile=conftest.$ac_objext
12670 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12671 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12672 _lt_linker_boilerplate=`cat conftest.err`
12673 $RM -r conftest*
12676 # Allow CC to be a program name with arguments.
12677 lt_save_CC=$CC
12678 lt_save_LD=$LD
12679 lt_save_GCC=$GCC
12680 GCC=$GXX
12681 lt_save_with_gnu_ld=$with_gnu_ld
12682 lt_save_path_LD=$lt_cv_path_LD
12683 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12684 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12685 else
12686 $as_unset lt_cv_prog_gnu_ld
12688 if test -n "${lt_cv_path_LDCXX+set}"; then
12689 lt_cv_path_LD=$lt_cv_path_LDCXX
12690 else
12691 $as_unset lt_cv_path_LD
12693 test -z "${LDCXX+set}" || LD=$LDCXX
12694 CC=${CXX-"c++"}
12695 compiler=$CC
12696 compiler_CXX=$CC
12697 for cc_temp in $compiler""; do
12698 case $cc_temp in
12699 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12700 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12701 \-*) ;;
12702 *) break;;
12703 esac
12704 done
12705 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12708 if test -n "$compiler"; then
12709 # We don't want -fno-exception when compiling C++ code, so set the
12710 # no_builtin_flag separately
12711 if test "$GXX" = yes; then
12712 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12713 else
12714 lt_prog_compiler_no_builtin_flag_CXX=
12717 if test "$GXX" = yes; then
12718 # Set up default GNU C++ configuration
12722 # Check whether --with-gnu-ld was given.
12723 if test "${with_gnu_ld+set}" = set; then :
12724 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12725 else
12726 with_gnu_ld=no
12729 ac_prog=ld
12730 if test "$GCC" = yes; then
12731 # Check if gcc -print-prog-name=ld gives a path.
12732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12733 $as_echo_n "checking for ld used by $CC... " >&6; }
12734 case $host in
12735 *-*-mingw*)
12736 # gcc leaves a trailing carriage return which upsets mingw
12737 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12739 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12740 esac
12741 case $ac_prog in
12742 # Accept absolute paths.
12743 [\\/]* | ?:[\\/]*)
12744 re_direlt='/[^/][^/]*/\.\./'
12745 # Canonicalize the pathname of ld
12746 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12747 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12748 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12749 done
12750 test -z "$LD" && LD="$ac_prog"
12753 # If it fails, then pretend we aren't using GCC.
12754 ac_prog=ld
12757 # If it is relative, then search for the first ld in PATH.
12758 with_gnu_ld=unknown
12760 esac
12761 elif test "$with_gnu_ld" = yes; then
12762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12763 $as_echo_n "checking for GNU ld... " >&6; }
12764 else
12765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12766 $as_echo_n "checking for non-GNU ld... " >&6; }
12768 if ${lt_cv_path_LD+:} false; then :
12769 $as_echo_n "(cached) " >&6
12770 else
12771 if test -z "$LD"; then
12772 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12773 for ac_dir in $PATH; do
12774 IFS="$lt_save_ifs"
12775 test -z "$ac_dir" && ac_dir=.
12776 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12777 lt_cv_path_LD="$ac_dir/$ac_prog"
12778 # Check to see if the program is GNU ld. I'd rather use --version,
12779 # but apparently some variants of GNU ld only accept -v.
12780 # Break only if it was the GNU/non-GNU ld that we prefer.
12781 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12782 *GNU* | *'with BFD'*)
12783 test "$with_gnu_ld" != no && break
12786 test "$with_gnu_ld" != yes && break
12788 esac
12790 done
12791 IFS="$lt_save_ifs"
12792 else
12793 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12797 LD="$lt_cv_path_LD"
12798 if test -n "$LD"; then
12799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12800 $as_echo "$LD" >&6; }
12801 else
12802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12803 $as_echo "no" >&6; }
12805 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
12806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12807 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12808 if ${lt_cv_prog_gnu_ld+:} false; then :
12809 $as_echo_n "(cached) " >&6
12810 else
12811 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12812 case `$LD -v 2>&1 </dev/null` in
12813 *GNU* | *'with BFD'*)
12814 lt_cv_prog_gnu_ld=yes
12817 lt_cv_prog_gnu_ld=no
12819 esac
12821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12822 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12823 with_gnu_ld=$lt_cv_prog_gnu_ld
12831 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12832 # archiving commands below assume that GNU ld is being used.
12833 if test "$with_gnu_ld" = yes; then
12834 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12835 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'
12837 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12838 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12840 # If archive_cmds runs LD, not CC, wlarc should be empty
12841 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12842 # investigate it a little bit more. (MM)
12843 wlarc='${wl}'
12845 # ancient GNU ld didn't support --whole-archive et. al.
12846 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12847 $GREP 'no-whole-archive' > /dev/null; then
12848 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12849 else
12850 whole_archive_flag_spec_CXX=
12852 else
12853 with_gnu_ld=no
12854 wlarc=
12856 # A generic and very simple default shared library creation
12857 # command for GNU C++ for the case where it uses the native
12858 # linker, instead of GNU ld. If possible, this setting should
12859 # overridden to take advantage of the native linker features on
12860 # the platform it is being used on.
12861 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12864 # Commands to make compiler produce verbose output that lists
12865 # what "hidden" libraries, object files and flags are used when
12866 # linking a shared library.
12867 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12869 else
12870 GXX=no
12871 with_gnu_ld=no
12872 wlarc=
12875 # PORTME: fill in a description of your system's C++ link characteristics
12876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12877 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12878 ld_shlibs_CXX=yes
12879 case $host_os in
12880 aix3*)
12881 # FIXME: insert proper C++ library support
12882 ld_shlibs_CXX=no
12884 aix[4-9]*)
12885 if test "$host_cpu" = ia64; then
12886 # On IA64, the linker does run time linking by default, so we don't
12887 # have to do anything special.
12888 aix_use_runtimelinking=no
12889 exp_sym_flag='-Bexport'
12890 no_entry_flag=""
12891 else
12892 aix_use_runtimelinking=no
12894 # Test if we are trying to use run time linking or normal
12895 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12896 # need to do runtime linking.
12897 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12898 for ld_flag in $LDFLAGS; do
12899 case $ld_flag in
12900 *-brtl*)
12901 aix_use_runtimelinking=yes
12902 break
12904 esac
12905 done
12907 esac
12909 exp_sym_flag='-bexport'
12910 no_entry_flag='-bnoentry'
12913 # When large executables or shared objects are built, AIX ld can
12914 # have problems creating the table of contents. If linking a library
12915 # or program results in "error TOC overflow" add -mminimal-toc to
12916 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12917 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12919 archive_cmds_CXX=''
12920 hardcode_direct_CXX=yes
12921 hardcode_direct_absolute_CXX=yes
12922 hardcode_libdir_separator_CXX=':'
12923 link_all_deplibs_CXX=yes
12924 file_list_spec_CXX='${wl}-f,'
12926 if test "$GXX" = yes; then
12927 case $host_os in aix4.[012]|aix4.[012].*)
12928 # We only want to do this on AIX 4.2 and lower, the check
12929 # below for broken collect2 doesn't work under 4.3+
12930 collect2name=`${CC} -print-prog-name=collect2`
12931 if test -f "$collect2name" &&
12932 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12933 then
12934 # We have reworked collect2
12936 else
12937 # We have old collect2
12938 hardcode_direct_CXX=unsupported
12939 # It fails to find uninstalled libraries when the uninstalled
12940 # path is not listed in the libpath. Setting hardcode_minus_L
12941 # to unsupported forces relinking
12942 hardcode_minus_L_CXX=yes
12943 hardcode_libdir_flag_spec_CXX='-L$libdir'
12944 hardcode_libdir_separator_CXX=
12946 esac
12947 shared_flag='-shared'
12948 if test "$aix_use_runtimelinking" = yes; then
12949 shared_flag="$shared_flag "'${wl}-G'
12951 else
12952 # not using gcc
12953 if test "$host_cpu" = ia64; then
12954 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12955 # chokes on -Wl,-G. The following line is correct:
12956 shared_flag='-G'
12957 else
12958 if test "$aix_use_runtimelinking" = yes; then
12959 shared_flag='${wl}-G'
12960 else
12961 shared_flag='${wl}-bM:SRE'
12966 export_dynamic_flag_spec_CXX='${wl}-bexpall'
12967 # It seems that -bexpall does not export symbols beginning with
12968 # underscore (_), so it is better to generate a list of symbols to
12969 # export.
12970 always_export_symbols_CXX=yes
12971 if test "$aix_use_runtimelinking" = yes; then
12972 # Warning - without using the other runtime loading flags (-brtl),
12973 # -berok will link without error, but may produce a broken library.
12974 allow_undefined_flag_CXX='-berok'
12975 # Determine the default libpath from the value encoded in an empty
12976 # executable.
12977 if test x$gcc_no_link = xyes; then
12978 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12981 /* end confdefs.h. */
12984 main ()
12988 return 0;
12990 _ACEOF
12991 if ac_fn_cxx_try_link "$LINENO"; then :
12993 lt_aix_libpath_sed='
12994 /Import File Strings/,/^$/ {
12995 /^0/ {
12996 s/^0 *\(.*\)$/\1/
13000 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13001 # Check for a 64-bit object if we didn't find anything.
13002 if test -z "$aix_libpath"; then
13003 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13006 rm -f core conftest.err conftest.$ac_objext \
13007 conftest$ac_exeext conftest.$ac_ext
13008 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13010 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
13012 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"
13013 else
13014 if test "$host_cpu" = ia64; then
13015 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
13016 allow_undefined_flag_CXX="-z nodefs"
13017 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"
13018 else
13019 # Determine the default libpath from the value encoded in an
13020 # empty executable.
13021 if test x$gcc_no_link = xyes; then
13022 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13025 /* end confdefs.h. */
13028 main ()
13032 return 0;
13034 _ACEOF
13035 if ac_fn_cxx_try_link "$LINENO"; then :
13037 lt_aix_libpath_sed='
13038 /Import File Strings/,/^$/ {
13039 /^0/ {
13040 s/^0 *\(.*\)$/\1/
13044 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13045 # Check for a 64-bit object if we didn't find anything.
13046 if test -z "$aix_libpath"; then
13047 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13050 rm -f core conftest.err conftest.$ac_objext \
13051 conftest$ac_exeext conftest.$ac_ext
13052 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13054 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
13055 # Warning - without using the other run time loading flags,
13056 # -berok will link without error, but may produce a broken library.
13057 no_undefined_flag_CXX=' ${wl}-bernotok'
13058 allow_undefined_flag_CXX=' ${wl}-berok'
13059 if test "$with_gnu_ld" = yes; then
13060 # We only use this code for GNU lds that support --whole-archive.
13061 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13062 else
13063 # Exported symbols can be pulled into shared objects from archives
13064 whole_archive_flag_spec_CXX='$convenience'
13066 archive_cmds_need_lc_CXX=yes
13067 # This is similar to how AIX traditionally builds its shared
13068 # libraries.
13069 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'
13074 beos*)
13075 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
13076 allow_undefined_flag_CXX=unsupported
13077 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13078 # support --undefined. This deserves some investigation. FIXME
13079 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13080 else
13081 ld_shlibs_CXX=no
13085 chorus*)
13086 case $cc_basename in
13088 # FIXME: insert proper C++ library support
13089 ld_shlibs_CXX=no
13091 esac
13094 cygwin* | mingw* | pw32* | cegcc*)
13095 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
13096 # as there is no search path for DLLs.
13097 hardcode_libdir_flag_spec_CXX='-L$libdir'
13098 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
13099 allow_undefined_flag_CXX=unsupported
13100 always_export_symbols_CXX=no
13101 enable_shared_with_static_runtimes_CXX=yes
13103 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
13104 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'
13105 # If the export-symbols file already is a .def file (1st line
13106 # is EXPORTS), use it as is; otherwise, prepend...
13107 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13108 cp $export_symbols $output_objdir/$soname.def;
13109 else
13110 echo EXPORTS > $output_objdir/$soname.def;
13111 cat $export_symbols >> $output_objdir/$soname.def;
13113 $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'
13114 else
13115 ld_shlibs_CXX=no
13118 darwin* | rhapsody*)
13121 archive_cmds_need_lc_CXX=no
13122 hardcode_direct_CXX=no
13123 hardcode_automatic_CXX=yes
13124 hardcode_shlibpath_var_CXX=unsupported
13125 if test "$lt_cv_ld_force_load" = "yes"; then
13126 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\"`'
13127 else
13128 whole_archive_flag_spec_CXX=''
13130 link_all_deplibs_CXX=yes
13131 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
13132 case $cc_basename in
13133 ifort*) _lt_dar_can_shared=yes ;;
13134 *) _lt_dar_can_shared=$GCC ;;
13135 esac
13136 if test "$_lt_dar_can_shared" = "yes"; then
13137 output_verbose_link_cmd=func_echo_all
13138 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}"
13139 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
13140 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}"
13141 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}"
13142 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
13143 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}"
13144 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}"
13147 else
13148 ld_shlibs_CXX=no
13153 dgux*)
13154 case $cc_basename in
13155 ec++*)
13156 # FIXME: insert proper C++ library support
13157 ld_shlibs_CXX=no
13159 ghcx*)
13160 # Green Hills C++ Compiler
13161 # FIXME: insert proper C++ library support
13162 ld_shlibs_CXX=no
13165 # FIXME: insert proper C++ library support
13166 ld_shlibs_CXX=no
13168 esac
13171 freebsd2.*)
13172 # C++ shared libraries reported to be fairly broken before
13173 # switch to ELF
13174 ld_shlibs_CXX=no
13177 freebsd-elf*)
13178 archive_cmds_need_lc_CXX=no
13181 freebsd* | dragonfly*)
13182 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
13183 # conventions
13184 ld_shlibs_CXX=yes
13187 gnu*)
13190 haiku*)
13191 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13192 link_all_deplibs_CXX=yes
13195 hpux9*)
13196 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13197 hardcode_libdir_separator_CXX=:
13198 export_dynamic_flag_spec_CXX='${wl}-E'
13199 hardcode_direct_CXX=yes
13200 hardcode_minus_L_CXX=yes # Not in the search PATH,
13201 # but as the default
13202 # location of the library.
13204 case $cc_basename in
13205 CC*)
13206 # FIXME: insert proper C++ library support
13207 ld_shlibs_CXX=no
13209 aCC*)
13210 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'
13211 # Commands to make compiler produce verbose output that lists
13212 # what "hidden" libraries, object files and flags are used when
13213 # linking a shared library.
13215 # There doesn't appear to be a way to prevent this compiler from
13216 # explicitly linking system object files so we need to strip them
13217 # from the output so that they don't get included in the library
13218 # dependencies.
13219 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"'
13222 if test "$GXX" = yes; then
13223 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'
13224 else
13225 # FIXME: insert proper C++ library support
13226 ld_shlibs_CXX=no
13229 esac
13232 hpux10*|hpux11*)
13233 if test $with_gnu_ld = no; then
13234 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13235 hardcode_libdir_separator_CXX=:
13237 case $host_cpu in
13238 hppa*64*|ia64*)
13241 export_dynamic_flag_spec_CXX='${wl}-E'
13243 esac
13245 case $host_cpu in
13246 hppa*64*|ia64*)
13247 hardcode_direct_CXX=no
13248 hardcode_shlibpath_var_CXX=no
13251 hardcode_direct_CXX=yes
13252 hardcode_direct_absolute_CXX=yes
13253 hardcode_minus_L_CXX=yes # Not in the search PATH,
13254 # but as the default
13255 # location of the library.
13257 esac
13259 case $cc_basename in
13260 CC*)
13261 # FIXME: insert proper C++ library support
13262 ld_shlibs_CXX=no
13264 aCC*)
13265 case $host_cpu in
13266 hppa*64*)
13267 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13269 ia64*)
13270 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13273 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13275 esac
13276 # Commands to make compiler produce verbose output that lists
13277 # what "hidden" libraries, object files and flags are used when
13278 # linking a shared library.
13280 # There doesn't appear to be a way to prevent this compiler from
13281 # explicitly linking system object files so we need to strip them
13282 # from the output so that they don't get included in the library
13283 # dependencies.
13284 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"'
13287 if test "$GXX" = yes; then
13288 if test $with_gnu_ld = no; then
13289 case $host_cpu in
13290 hppa*64*)
13291 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13293 ia64*)
13294 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13297 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'
13299 esac
13301 else
13302 # FIXME: insert proper C++ library support
13303 ld_shlibs_CXX=no
13306 esac
13309 interix[3-9]*)
13310 hardcode_direct_CXX=no
13311 hardcode_shlibpath_var_CXX=no
13312 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13313 export_dynamic_flag_spec_CXX='${wl}-E'
13314 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13315 # Instead, shared libraries are loaded at an image base (0x10000000 by
13316 # default) and relocated if they conflict, which is a slow very memory
13317 # consuming and fragmenting process. To avoid this, we pick a random,
13318 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13319 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
13320 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'
13321 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'
13323 irix5* | irix6*)
13324 case $cc_basename in
13325 CC*)
13326 # SGI C++
13327 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'
13329 # Archives containing C++ object files must be created using
13330 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
13331 # necessary to make sure instantiated templates are included
13332 # in the archive.
13333 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
13336 if test "$GXX" = yes; then
13337 if test "$with_gnu_ld" = no; then
13338 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'
13339 else
13340 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'
13343 link_all_deplibs_CXX=yes
13345 esac
13346 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13347 hardcode_libdir_separator_CXX=:
13348 inherit_rpath_CXX=yes
13351 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13352 case $cc_basename in
13353 KCC*)
13354 # Kuck and Associates, Inc. (KAI) C++ Compiler
13356 # KCC will only create a shared library if the output file
13357 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13358 # to its proper name (with version) after linking.
13359 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'
13360 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'
13361 # Commands to make compiler produce verbose output that lists
13362 # what "hidden" libraries, object files and flags are used when
13363 # linking a shared library.
13365 # There doesn't appear to be a way to prevent this compiler from
13366 # explicitly linking system object files so we need to strip them
13367 # from the output so that they don't get included in the library
13368 # dependencies.
13369 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"'
13371 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13372 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13374 # Archives containing C++ object files must be created using
13375 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13376 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
13378 icpc* | ecpc* )
13379 # Intel C++
13380 with_gnu_ld=yes
13381 # version 8.0 and above of icpc choke on multiply defined symbols
13382 # if we add $predep_objects and $postdep_objects, however 7.1 and
13383 # earlier do not add the objects themselves.
13384 case `$CC -V 2>&1` in
13385 *"Version 7."*)
13386 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13387 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'
13389 *) # Version 8.0 or newer
13390 tmp_idyn=
13391 case $host_cpu in
13392 ia64*) tmp_idyn=' -i_dynamic';;
13393 esac
13394 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13395 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'
13397 esac
13398 archive_cmds_need_lc_CXX=no
13399 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13400 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13401 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13403 pgCC* | pgcpp*)
13404 # Portland Group C++ compiler
13405 case `$CC -V` in
13406 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
13407 prelink_cmds_CXX='tpldir=Template.dir~
13408 rm -rf $tpldir~
13409 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
13410 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
13411 old_archive_cmds_CXX='tpldir=Template.dir~
13412 rm -rf $tpldir~
13413 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
13414 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
13415 $RANLIB $oldlib'
13416 archive_cmds_CXX='tpldir=Template.dir~
13417 rm -rf $tpldir~
13418 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13419 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13420 archive_expsym_cmds_CXX='tpldir=Template.dir~
13421 rm -rf $tpldir~
13422 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13423 $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'
13425 *) # Version 6 and above use weak symbols
13426 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13427 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'
13429 esac
13431 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
13432 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13433 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'
13435 cxx*)
13436 # Compaq C++
13437 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13438 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'
13440 runpath_var=LD_RUN_PATH
13441 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13442 hardcode_libdir_separator_CXX=:
13444 # Commands to make compiler produce verbose output that lists
13445 # what "hidden" libraries, object files and flags are used when
13446 # linking a shared library.
13448 # There doesn't appear to be a way to prevent this compiler from
13449 # explicitly linking system object files so we need to strip them
13450 # from the output so that they don't get included in the library
13451 # dependencies.
13452 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'
13454 xl* | mpixl* | bgxl*)
13455 # IBM XL 8.0 on PPC, with GNU ld
13456 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13457 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13458 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13459 if test "x$supports_anon_versioning" = xyes; then
13460 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
13461 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13462 echo "local: *; };" >> $output_objdir/$libname.ver~
13463 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13467 case `$CC -V 2>&1 | sed 5q` in
13468 *Sun\ C*)
13469 # Sun C++ 5.9
13470 no_undefined_flag_CXX=' -zdefs'
13471 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13472 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'
13473 hardcode_libdir_flag_spec_CXX='-R$libdir'
13474 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'
13475 compiler_needs_object_CXX=yes
13477 # Not sure whether something based on
13478 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13479 # would be better.
13480 output_verbose_link_cmd='func_echo_all'
13482 # Archives containing C++ object files must be created using
13483 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13484 # necessary to make sure instantiated templates are included
13485 # in the archive.
13486 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13488 esac
13490 esac
13493 lynxos*)
13494 # FIXME: insert proper C++ library support
13495 ld_shlibs_CXX=no
13498 m88k*)
13499 # FIXME: insert proper C++ library support
13500 ld_shlibs_CXX=no
13503 mvs*)
13504 case $cc_basename in
13505 cxx*)
13506 # FIXME: insert proper C++ library support
13507 ld_shlibs_CXX=no
13510 # FIXME: insert proper C++ library support
13511 ld_shlibs_CXX=no
13513 esac
13516 netbsd*)
13517 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13518 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13519 wlarc=
13520 hardcode_libdir_flag_spec_CXX='-R$libdir'
13521 hardcode_direct_CXX=yes
13522 hardcode_shlibpath_var_CXX=no
13524 # Workaround some broken pre-1.5 toolchains
13525 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13528 *nto* | *qnx*)
13529 ld_shlibs_CXX=yes
13532 openbsd2*)
13533 # C++ shared libraries are fairly broken
13534 ld_shlibs_CXX=no
13537 openbsd*)
13538 if test -f /usr/libexec/ld.so; then
13539 hardcode_direct_CXX=yes
13540 hardcode_shlibpath_var_CXX=no
13541 hardcode_direct_absolute_CXX=yes
13542 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13543 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13544 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13545 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13546 export_dynamic_flag_spec_CXX='${wl}-E'
13547 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13549 output_verbose_link_cmd=func_echo_all
13550 else
13551 ld_shlibs_CXX=no
13555 osf3* | osf4* | osf5*)
13556 case $cc_basename in
13557 KCC*)
13558 # Kuck and Associates, Inc. (KAI) C++ Compiler
13560 # KCC will only create a shared library if the output file
13561 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13562 # to its proper name (with version) after linking.
13563 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'
13565 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13566 hardcode_libdir_separator_CXX=:
13568 # Archives containing C++ object files must be created using
13569 # the KAI C++ compiler.
13570 case $host in
13571 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
13572 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
13573 esac
13575 RCC*)
13576 # Rational C++ 2.4.1
13577 # FIXME: insert proper C++ library support
13578 ld_shlibs_CXX=no
13580 cxx*)
13581 case $host in
13582 osf3*)
13583 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13584 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'
13585 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13588 allow_undefined_flag_CXX=' -expect_unresolved \*'
13589 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'
13590 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13591 echo "-hidden">> $lib.exp~
13592 $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~
13593 $RM $lib.exp'
13594 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13596 esac
13598 hardcode_libdir_separator_CXX=:
13600 # Commands to make compiler produce verbose output that lists
13601 # what "hidden" libraries, object files and flags are used when
13602 # linking a shared library.
13604 # There doesn't appear to be a way to prevent this compiler from
13605 # explicitly linking system object files so we need to strip them
13606 # from the output so that they don't get included in the library
13607 # dependencies.
13608 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"'
13611 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13612 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13613 case $host in
13614 osf3*)
13615 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'
13618 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'
13620 esac
13622 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13623 hardcode_libdir_separator_CXX=:
13625 # Commands to make compiler produce verbose output that lists
13626 # what "hidden" libraries, object files and flags are used when
13627 # linking a shared library.
13628 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13630 else
13631 # FIXME: insert proper C++ library support
13632 ld_shlibs_CXX=no
13635 esac
13638 psos*)
13639 # FIXME: insert proper C++ library support
13640 ld_shlibs_CXX=no
13643 sunos4*)
13644 case $cc_basename in
13645 CC*)
13646 # Sun C++ 4.x
13647 # FIXME: insert proper C++ library support
13648 ld_shlibs_CXX=no
13650 lcc*)
13651 # Lucid
13652 # FIXME: insert proper C++ library support
13653 ld_shlibs_CXX=no
13656 # FIXME: insert proper C++ library support
13657 ld_shlibs_CXX=no
13659 esac
13662 solaris*)
13663 case $cc_basename in
13664 CC*)
13665 # Sun C++ 4.2, 5.x and Centerline C++
13666 archive_cmds_need_lc_CXX=yes
13667 no_undefined_flag_CXX=' -zdefs'
13668 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13669 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13670 $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'
13672 hardcode_libdir_flag_spec_CXX='-R$libdir'
13673 hardcode_shlibpath_var_CXX=no
13674 case $host_os in
13675 solaris2.[0-5] | solaris2.[0-5].*) ;;
13677 # The compiler driver will combine and reorder linker options,
13678 # but understands `-z linker_flag'.
13679 # Supported since Solaris 2.6 (maybe 2.5.1?)
13680 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13682 esac
13683 link_all_deplibs_CXX=yes
13685 output_verbose_link_cmd='func_echo_all'
13687 # Archives containing C++ object files must be created using
13688 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13689 # necessary to make sure instantiated templates are included
13690 # in the archive.
13691 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13693 gcx*)
13694 # Green Hills C++ Compiler
13695 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13697 # The C++ compiler must be used to create the archive.
13698 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13701 # GNU C++ compiler with Solaris linker
13702 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13703 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13704 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13705 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13706 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13707 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13709 # Commands to make compiler produce verbose output that lists
13710 # what "hidden" libraries, object files and flags are used when
13711 # linking a shared library.
13712 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13713 else
13714 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13715 # platform.
13716 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13717 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13718 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13720 # Commands to make compiler produce verbose output that lists
13721 # what "hidden" libraries, object files and flags are used when
13722 # linking a shared library.
13723 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13726 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13727 case $host_os in
13728 solaris2.[0-5] | solaris2.[0-5].*) ;;
13730 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13732 esac
13735 esac
13738 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13739 no_undefined_flag_CXX='${wl}-z,text'
13740 archive_cmds_need_lc_CXX=no
13741 hardcode_shlibpath_var_CXX=no
13742 runpath_var='LD_RUN_PATH'
13744 case $cc_basename in
13745 CC*)
13746 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13747 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13750 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13751 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13753 esac
13756 sysv5* | sco3.2v5* | sco5v6*)
13757 # Note: We can NOT use -z defs as we might desire, because we do not
13758 # link with -lc, and that would cause any symbols used from libc to
13759 # always be unresolved, which means just about no library would
13760 # ever link correctly. If we're not using GNU ld we use -z text
13761 # though, which does catch some bad symbols but isn't as heavy-handed
13762 # as -z defs.
13763 no_undefined_flag_CXX='${wl}-z,text'
13764 allow_undefined_flag_CXX='${wl}-z,nodefs'
13765 archive_cmds_need_lc_CXX=no
13766 hardcode_shlibpath_var_CXX=no
13767 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13768 hardcode_libdir_separator_CXX=':'
13769 link_all_deplibs_CXX=yes
13770 export_dynamic_flag_spec_CXX='${wl}-Bexport'
13771 runpath_var='LD_RUN_PATH'
13773 case $cc_basename in
13774 CC*)
13775 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13776 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13777 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13778 '"$old_archive_cmds_CXX"
13779 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13780 '"$reload_cmds_CXX"
13783 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13784 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13786 esac
13789 tandem*)
13790 case $cc_basename in
13791 NCC*)
13792 # NonStop-UX NCC 3.20
13793 # FIXME: insert proper C++ library support
13794 ld_shlibs_CXX=no
13797 # FIXME: insert proper C++ library support
13798 ld_shlibs_CXX=no
13800 esac
13803 vxworks*)
13804 # FIXME: insert proper C++ library support
13805 ld_shlibs_CXX=no
13809 # FIXME: insert proper C++ library support
13810 ld_shlibs_CXX=no
13812 esac
13814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13815 $as_echo "$ld_shlibs_CXX" >&6; }
13816 test "$ld_shlibs_CXX" = no && can_build_shared=no
13818 GCC_CXX="$GXX"
13819 LD_CXX="$LD"
13821 ## CAVEAT EMPTOR:
13822 ## There is no encapsulation within the following macros, do not change
13823 ## the running order or otherwise move them around unless you know exactly
13824 ## what you are doing...
13825 # Dependencies to place before and after the object being linked:
13826 predep_objects_CXX=
13827 postdep_objects_CXX=
13828 predeps_CXX=
13829 postdeps_CXX=
13830 compiler_lib_search_path_CXX=
13832 cat > conftest.$ac_ext <<_LT_EOF
13833 class Foo
13835 public:
13836 Foo (void) { a = 0; }
13837 private:
13838 int a;
13840 _LT_EOF
13842 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13843 (eval $ac_compile) 2>&5
13844 ac_status=$?
13845 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13846 test $ac_status = 0; }; then
13847 # Parse the compiler output and extract the necessary
13848 # objects, libraries and library flags.
13850 # Sentinel used to keep track of whether or not we are before
13851 # the conftest object file.
13852 pre_test_object_deps_done=no
13854 for p in `eval "$output_verbose_link_cmd"`; do
13855 case $p in
13857 -L* | -R* | -l*)
13858 # Some compilers place space between "-{L,R}" and the path.
13859 # Remove the space.
13860 if test $p = "-L" ||
13861 test $p = "-R"; then
13862 prev=$p
13863 continue
13864 else
13865 prev=
13868 if test "$pre_test_object_deps_done" = no; then
13869 case $p in
13870 -L* | -R*)
13871 # Internal compiler library paths should come after those
13872 # provided the user. The postdeps already come after the
13873 # user supplied libs so there is no need to process them.
13874 if test -z "$compiler_lib_search_path_CXX"; then
13875 compiler_lib_search_path_CXX="${prev}${p}"
13876 else
13877 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13880 # The "-l" case would never come before the object being
13881 # linked, so don't bother handling this case.
13882 esac
13883 else
13884 if test -z "$postdeps_CXX"; then
13885 postdeps_CXX="${prev}${p}"
13886 else
13887 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13892 *.$objext)
13893 # This assumes that the test object file only shows up
13894 # once in the compiler output.
13895 if test "$p" = "conftest.$objext"; then
13896 pre_test_object_deps_done=yes
13897 continue
13900 if test "$pre_test_object_deps_done" = no; then
13901 if test -z "$predep_objects_CXX"; then
13902 predep_objects_CXX="$p"
13903 else
13904 predep_objects_CXX="$predep_objects_CXX $p"
13906 else
13907 if test -z "$postdep_objects_CXX"; then
13908 postdep_objects_CXX="$p"
13909 else
13910 postdep_objects_CXX="$postdep_objects_CXX $p"
13915 *) ;; # Ignore the rest.
13917 esac
13918 done
13920 # Clean up.
13921 rm -f a.out a.exe
13922 else
13923 echo "libtool.m4: error: problem compiling CXX test program"
13926 $RM -f confest.$objext
13928 # PORTME: override above test on systems where it is broken
13929 case $host_os in
13930 interix[3-9]*)
13931 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13932 # hack all around it, let's just trust "g++" to DTRT.
13933 predep_objects_CXX=
13934 postdep_objects_CXX=
13935 postdeps_CXX=
13938 linux*)
13939 case `$CC -V 2>&1 | sed 5q` in
13940 *Sun\ C*)
13941 # Sun C++ 5.9
13943 # The more standards-conforming stlport4 library is
13944 # incompatible with the Cstd library. Avoid specifying
13945 # it if it's in CXXFLAGS. Ignore libCrun as
13946 # -library=stlport4 depends on it.
13947 case " $CXX $CXXFLAGS " in
13948 *" -library=stlport4 "*)
13949 solaris_use_stlport4=yes
13951 esac
13953 if test "$solaris_use_stlport4" != yes; then
13954 postdeps_CXX='-library=Cstd -library=Crun'
13957 esac
13960 solaris*)
13961 case $cc_basename in
13962 CC*)
13963 # The more standards-conforming stlport4 library is
13964 # incompatible with the Cstd library. Avoid specifying
13965 # it if it's in CXXFLAGS. Ignore libCrun as
13966 # -library=stlport4 depends on it.
13967 case " $CXX $CXXFLAGS " in
13968 *" -library=stlport4 "*)
13969 solaris_use_stlport4=yes
13971 esac
13973 # Adding this requires a known-good setup of shared libraries for
13974 # Sun compiler versions before 5.6, else PIC objects from an old
13975 # archive will be linked into the output, leading to subtle bugs.
13976 if test "$solaris_use_stlport4" != yes; then
13977 postdeps_CXX='-library=Cstd -library=Crun'
13980 esac
13982 esac
13985 case " $postdeps_CXX " in
13986 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
13987 esac
13988 compiler_lib_search_dirs_CXX=
13989 if test -n "${compiler_lib_search_path_CXX}"; then
13990 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
14023 lt_prog_compiler_wl_CXX=
14024 lt_prog_compiler_pic_CXX=
14025 lt_prog_compiler_static_CXX=
14027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
14028 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
14030 # C++ specific cases for pic, static, wl, etc.
14031 if test "$GXX" = yes; then
14032 lt_prog_compiler_wl_CXX='-Wl,'
14033 lt_prog_compiler_static_CXX='-static'
14035 case $host_os in
14036 aix*)
14037 # All AIX code is PIC.
14038 if test "$host_cpu" = ia64; then
14039 # AIX 5 now supports IA64 processor
14040 lt_prog_compiler_static_CXX='-Bstatic'
14042 lt_prog_compiler_pic_CXX='-fPIC'
14045 amigaos*)
14046 case $host_cpu in
14047 powerpc)
14048 # see comment about AmigaOS4 .so support
14049 lt_prog_compiler_pic_CXX='-fPIC'
14051 m68k)
14052 # FIXME: we need at least 68020 code to build shared libraries, but
14053 # adding the `-m68020' flag to GCC prevents building anything better,
14054 # like `-m68040'.
14055 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
14057 esac
14060 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
14061 # PIC is the default for these OSes.
14063 mingw* | cygwin* | os2* | pw32* | cegcc*)
14064 # This hack is so that the source file can tell whether it is being
14065 # built for inclusion in a dll (and should export symbols for example).
14066 # Although the cygwin gcc ignores -fPIC, still need this for old-style
14067 # (--disable-auto-import) libraries
14068 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
14070 darwin* | rhapsody*)
14071 # PIC is the default on this platform
14072 # Common symbols not allowed in MH_DYLIB files
14073 lt_prog_compiler_pic_CXX='-fno-common'
14075 *djgpp*)
14076 # DJGPP does not support shared libraries at all
14077 lt_prog_compiler_pic_CXX=
14079 haiku*)
14080 # PIC is the default for Haiku.
14081 # The "-static" flag exists, but is broken.
14082 lt_prog_compiler_static_CXX=
14084 interix[3-9]*)
14085 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14086 # Instead, we relocate shared libraries at runtime.
14088 sysv4*MP*)
14089 if test -d /usr/nec; then
14090 lt_prog_compiler_pic_CXX=-Kconform_pic
14093 hpux*)
14094 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
14095 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
14096 # sets the default TLS model and affects inlining.
14097 case $host_cpu in
14098 hppa*64*)
14101 lt_prog_compiler_pic_CXX='-fPIC'
14103 esac
14105 *qnx* | *nto*)
14106 # QNX uses GNU C++, but need to define -shared option too, otherwise
14107 # it will coredump.
14108 lt_prog_compiler_pic_CXX='-fPIC -shared'
14111 lt_prog_compiler_pic_CXX='-fPIC'
14113 esac
14114 else
14115 case $host_os in
14116 aix[4-9]*)
14117 # All AIX code is PIC.
14118 if test "$host_cpu" = ia64; then
14119 # AIX 5 now supports IA64 processor
14120 lt_prog_compiler_static_CXX='-Bstatic'
14121 else
14122 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
14125 chorus*)
14126 case $cc_basename in
14127 cxch68*)
14128 # Green Hills C++ Compiler
14129 # _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"
14131 esac
14133 dgux*)
14134 case $cc_basename in
14135 ec++*)
14136 lt_prog_compiler_pic_CXX='-KPIC'
14138 ghcx*)
14139 # Green Hills C++ Compiler
14140 lt_prog_compiler_pic_CXX='-pic'
14144 esac
14146 freebsd* | dragonfly*)
14147 # FreeBSD uses GNU C++
14149 hpux9* | hpux10* | hpux11*)
14150 case $cc_basename in
14151 CC*)
14152 lt_prog_compiler_wl_CXX='-Wl,'
14153 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
14154 if test "$host_cpu" != ia64; then
14155 lt_prog_compiler_pic_CXX='+Z'
14158 aCC*)
14159 lt_prog_compiler_wl_CXX='-Wl,'
14160 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
14161 case $host_cpu in
14162 hppa*64*|ia64*)
14163 # +Z the default
14166 lt_prog_compiler_pic_CXX='+Z'
14168 esac
14172 esac
14174 interix*)
14175 # This is c89, which is MS Visual C++ (no shared libs)
14176 # Anyone wants to do a port?
14178 irix5* | irix6* | nonstopux*)
14179 case $cc_basename in
14180 CC*)
14181 lt_prog_compiler_wl_CXX='-Wl,'
14182 lt_prog_compiler_static_CXX='-non_shared'
14183 # CC pic flag -KPIC is the default.
14187 esac
14189 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14190 case $cc_basename in
14191 KCC*)
14192 # KAI C++ Compiler
14193 lt_prog_compiler_wl_CXX='--backend -Wl,'
14194 lt_prog_compiler_pic_CXX='-fPIC'
14196 ecpc* )
14197 # old Intel C++ for x86_64 which still supported -KPIC.
14198 lt_prog_compiler_wl_CXX='-Wl,'
14199 lt_prog_compiler_pic_CXX='-KPIC'
14200 lt_prog_compiler_static_CXX='-static'
14202 icpc* )
14203 # Intel C++, used to be incompatible with GCC.
14204 # ICC 10 doesn't accept -KPIC any more.
14205 lt_prog_compiler_wl_CXX='-Wl,'
14206 lt_prog_compiler_pic_CXX='-fPIC'
14207 lt_prog_compiler_static_CXX='-static'
14209 pgCC* | pgcpp*)
14210 # Portland Group C++ compiler
14211 lt_prog_compiler_wl_CXX='-Wl,'
14212 lt_prog_compiler_pic_CXX='-fpic'
14213 lt_prog_compiler_static_CXX='-Bstatic'
14215 cxx*)
14216 # Compaq C++
14217 # Make sure the PIC flag is empty. It appears that all Alpha
14218 # Linux and Compaq Tru64 Unix objects are PIC.
14219 lt_prog_compiler_pic_CXX=
14220 lt_prog_compiler_static_CXX='-non_shared'
14222 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
14223 # IBM XL 8.0, 9.0 on PPC and BlueGene
14224 lt_prog_compiler_wl_CXX='-Wl,'
14225 lt_prog_compiler_pic_CXX='-qpic'
14226 lt_prog_compiler_static_CXX='-qstaticlink'
14229 case `$CC -V 2>&1 | sed 5q` in
14230 *Sun\ C*)
14231 # Sun C++ 5.9
14232 lt_prog_compiler_pic_CXX='-KPIC'
14233 lt_prog_compiler_static_CXX='-Bstatic'
14234 lt_prog_compiler_wl_CXX='-Qoption ld '
14236 esac
14238 esac
14240 lynxos*)
14242 m88k*)
14244 mvs*)
14245 case $cc_basename in
14246 cxx*)
14247 lt_prog_compiler_pic_CXX='-W c,exportall'
14251 esac
14253 netbsd*)
14255 *qnx* | *nto*)
14256 # QNX uses GNU C++, but need to define -shared option too, otherwise
14257 # it will coredump.
14258 lt_prog_compiler_pic_CXX='-fPIC -shared'
14260 osf3* | osf4* | osf5*)
14261 case $cc_basename in
14262 KCC*)
14263 lt_prog_compiler_wl_CXX='--backend -Wl,'
14265 RCC*)
14266 # Rational C++ 2.4.1
14267 lt_prog_compiler_pic_CXX='-pic'
14269 cxx*)
14270 # Digital/Compaq C++
14271 lt_prog_compiler_wl_CXX='-Wl,'
14272 # Make sure the PIC flag is empty. It appears that all Alpha
14273 # Linux and Compaq Tru64 Unix objects are PIC.
14274 lt_prog_compiler_pic_CXX=
14275 lt_prog_compiler_static_CXX='-non_shared'
14279 esac
14281 psos*)
14283 solaris*)
14284 case $cc_basename in
14285 CC*)
14286 # Sun C++ 4.2, 5.x and Centerline C++
14287 lt_prog_compiler_pic_CXX='-KPIC'
14288 lt_prog_compiler_static_CXX='-Bstatic'
14289 lt_prog_compiler_wl_CXX='-Qoption ld '
14291 gcx*)
14292 # Green Hills C++ Compiler
14293 lt_prog_compiler_pic_CXX='-PIC'
14297 esac
14299 sunos4*)
14300 case $cc_basename in
14301 CC*)
14302 # Sun C++ 4.x
14303 lt_prog_compiler_pic_CXX='-pic'
14304 lt_prog_compiler_static_CXX='-Bstatic'
14306 lcc*)
14307 # Lucid
14308 lt_prog_compiler_pic_CXX='-pic'
14312 esac
14314 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
14315 case $cc_basename in
14316 CC*)
14317 lt_prog_compiler_wl_CXX='-Wl,'
14318 lt_prog_compiler_pic_CXX='-KPIC'
14319 lt_prog_compiler_static_CXX='-Bstatic'
14321 esac
14323 tandem*)
14324 case $cc_basename in
14325 NCC*)
14326 # NonStop-UX NCC 3.20
14327 lt_prog_compiler_pic_CXX='-KPIC'
14331 esac
14333 vxworks*)
14336 lt_prog_compiler_can_build_shared_CXX=no
14338 esac
14341 case $host_os in
14342 # For platforms which do not support PIC, -DPIC is meaningless:
14343 *djgpp*)
14344 lt_prog_compiler_pic_CXX=
14347 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
14349 esac
14350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
14351 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
14356 # Check to make sure the PIC flag actually works.
14358 if test -n "$lt_prog_compiler_pic_CXX"; then
14359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14360 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
14361 if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
14362 $as_echo_n "(cached) " >&6
14363 else
14364 lt_cv_prog_compiler_pic_works_CXX=no
14365 ac_outfile=conftest.$ac_objext
14366 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14367 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
14368 # Insert the option either (1) after the last *FLAGS variable, or
14369 # (2) before a word containing "conftest.", or (3) at the end.
14370 # Note that $ac_compile itself does not contain backslashes and begins
14371 # with a dollar sign (not a hyphen), so the echo should work correctly.
14372 # The option is referenced via a variable to avoid confusing sed.
14373 lt_compile=`echo "$ac_compile" | $SED \
14374 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14375 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14376 -e 's:$: $lt_compiler_flag:'`
14377 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14378 (eval "$lt_compile" 2>conftest.err)
14379 ac_status=$?
14380 cat conftest.err >&5
14381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14382 if (exit $ac_status) && test -s "$ac_outfile"; then
14383 # The compiler can only warn and ignore the option if not recognized
14384 # So say no if there are warnings other than the usual output.
14385 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
14386 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14387 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
14388 lt_cv_prog_compiler_pic_works_CXX=yes
14391 $RM conftest*
14394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
14395 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
14397 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
14398 case $lt_prog_compiler_pic_CXX in
14399 "" | " "*) ;;
14400 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
14401 esac
14402 else
14403 lt_prog_compiler_pic_CXX=
14404 lt_prog_compiler_can_build_shared_CXX=no
14412 # Check to make sure the static flag actually works.
14414 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
14415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14416 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14417 if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
14418 $as_echo_n "(cached) " >&6
14419 else
14420 lt_cv_prog_compiler_static_works_CXX=no
14421 save_LDFLAGS="$LDFLAGS"
14422 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
14423 echo "$lt_simple_link_test_code" > conftest.$ac_ext
14424 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
14425 # The linker can only warn and ignore the option if not recognized
14426 # So say no if there are warnings
14427 if test -s conftest.err; then
14428 # Append any errors to the config.log.
14429 cat conftest.err 1>&5
14430 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
14431 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14432 if diff conftest.exp conftest.er2 >/dev/null; then
14433 lt_cv_prog_compiler_static_works_CXX=yes
14435 else
14436 lt_cv_prog_compiler_static_works_CXX=yes
14439 $RM -r conftest*
14440 LDFLAGS="$save_LDFLAGS"
14443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
14444 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
14446 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
14448 else
14449 lt_prog_compiler_static_CXX=
14455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14456 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14457 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
14458 $as_echo_n "(cached) " >&6
14459 else
14460 lt_cv_prog_compiler_c_o_CXX=no
14461 $RM -r conftest 2>/dev/null
14462 mkdir conftest
14463 cd conftest
14464 mkdir out
14465 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14467 lt_compiler_flag="-o out/conftest2.$ac_objext"
14468 # Insert the option either (1) after the last *FLAGS variable, or
14469 # (2) before a word containing "conftest.", or (3) at the end.
14470 # Note that $ac_compile itself does not contain backslashes and begins
14471 # with a dollar sign (not a hyphen), so the echo should work correctly.
14472 lt_compile=`echo "$ac_compile" | $SED \
14473 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14474 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14475 -e 's:$: $lt_compiler_flag:'`
14476 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14477 (eval "$lt_compile" 2>out/conftest.err)
14478 ac_status=$?
14479 cat out/conftest.err >&5
14480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14481 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14482 then
14483 # The compiler can only warn and ignore the option if not recognized
14484 # So say no if there are warnings
14485 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14486 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14487 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14488 lt_cv_prog_compiler_c_o_CXX=yes
14491 chmod u+w . 2>&5
14492 $RM conftest*
14493 # SGI C++ compiler will create directory out/ii_files/ for
14494 # template instantiation
14495 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14496 $RM out/* && rmdir out
14497 cd ..
14498 $RM -r conftest
14499 $RM conftest*
14502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14503 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14508 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14509 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
14510 $as_echo_n "(cached) " >&6
14511 else
14512 lt_cv_prog_compiler_c_o_CXX=no
14513 $RM -r conftest 2>/dev/null
14514 mkdir conftest
14515 cd conftest
14516 mkdir out
14517 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14519 lt_compiler_flag="-o out/conftest2.$ac_objext"
14520 # Insert the option either (1) after the last *FLAGS variable, or
14521 # (2) before a word containing "conftest.", or (3) at the end.
14522 # Note that $ac_compile itself does not contain backslashes and begins
14523 # with a dollar sign (not a hyphen), so the echo should work correctly.
14524 lt_compile=`echo "$ac_compile" | $SED \
14525 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14526 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14527 -e 's:$: $lt_compiler_flag:'`
14528 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14529 (eval "$lt_compile" 2>out/conftest.err)
14530 ac_status=$?
14531 cat out/conftest.err >&5
14532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14533 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14534 then
14535 # The compiler can only warn and ignore the option if not recognized
14536 # So say no if there are warnings
14537 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14538 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14539 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14540 lt_cv_prog_compiler_c_o_CXX=yes
14543 chmod u+w . 2>&5
14544 $RM conftest*
14545 # SGI C++ compiler will create directory out/ii_files/ for
14546 # template instantiation
14547 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14548 $RM out/* && rmdir out
14549 cd ..
14550 $RM -r conftest
14551 $RM conftest*
14554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14555 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14560 hard_links="nottested"
14561 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
14562 # do not overwrite the value of need_locks provided by the user
14563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14564 $as_echo_n "checking if we can lock with hard links... " >&6; }
14565 hard_links=yes
14566 $RM conftest*
14567 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14568 touch conftest.a
14569 ln conftest.a conftest.b 2>&5 || hard_links=no
14570 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14572 $as_echo "$hard_links" >&6; }
14573 if test "$hard_links" = no; then
14574 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14575 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14576 need_locks=warn
14578 else
14579 need_locks=no
14584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14585 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14587 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14588 case $host_os in
14589 aix[4-9]*)
14590 # If we're using GNU nm, then we don't want the "-C" option.
14591 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14592 # Also, AIX nm treats weak defined symbols like other global defined
14593 # symbols, whereas GNU nm marks them as "W".
14594 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14595 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'
14596 else
14597 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'
14600 pw32*)
14601 export_symbols_cmds_CXX="$ltdll_cmds"
14603 cygwin* | mingw* | cegcc*)
14604 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'
14607 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14609 esac
14610 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14613 $as_echo "$ld_shlibs_CXX" >&6; }
14614 test "$ld_shlibs_CXX" = no && can_build_shared=no
14616 with_gnu_ld_CXX=$with_gnu_ld
14624 # Do we need to explicitly link libc?
14626 case "x$archive_cmds_need_lc_CXX" in
14627 x|xyes)
14628 # Assume -lc should be added
14629 archive_cmds_need_lc_CXX=yes
14631 if test "$enable_shared" = yes && test "$GCC" = yes; then
14632 case $archive_cmds_CXX in
14633 *'~'*)
14634 # FIXME: we may have to deal with multi-command sequences.
14636 '$CC '*)
14637 # Test whether the compiler implicitly links with -lc since on some
14638 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14639 # to ld, don't add -lc before -lgcc.
14640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14641 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14642 if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
14643 $as_echo_n "(cached) " >&6
14644 else
14645 $RM conftest*
14646 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14648 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14649 (eval $ac_compile) 2>&5
14650 ac_status=$?
14651 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14652 test $ac_status = 0; } 2>conftest.err; then
14653 soname=conftest
14654 lib=conftest
14655 libobjs=conftest.$ac_objext
14656 deplibs=
14657 wl=$lt_prog_compiler_wl_CXX
14658 pic_flag=$lt_prog_compiler_pic_CXX
14659 compiler_flags=-v
14660 linker_flags=-v
14661 verstring=
14662 output_objdir=.
14663 libname=conftest
14664 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14665 allow_undefined_flag_CXX=
14666 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14667 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14668 ac_status=$?
14669 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14670 test $ac_status = 0; }
14671 then
14672 lt_cv_archive_cmds_need_lc_CXX=no
14673 else
14674 lt_cv_archive_cmds_need_lc_CXX=yes
14676 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14677 else
14678 cat conftest.err 1>&5
14680 $RM conftest*
14683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14684 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14685 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14687 esac
14690 esac
14755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14756 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14758 library_names_spec=
14759 libname_spec='lib$name'
14760 soname_spec=
14761 shrext_cmds=".so"
14762 postinstall_cmds=
14763 postuninstall_cmds=
14764 finish_cmds=
14765 finish_eval=
14766 shlibpath_var=
14767 shlibpath_overrides_runpath=unknown
14768 version_type=none
14769 dynamic_linker="$host_os ld.so"
14770 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14771 need_lib_prefix=unknown
14772 hardcode_into_libs=no
14774 # when you set need_version to no, make sure it does not cause -set_version
14775 # flags to be left without arguments
14776 need_version=unknown
14778 case $host_os in
14779 aix3*)
14780 version_type=linux
14781 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14782 shlibpath_var=LIBPATH
14784 # AIX 3 has no versioning support, so we append a major version to the name.
14785 soname_spec='${libname}${release}${shared_ext}$major'
14788 aix[4-9]*)
14789 version_type=linux
14790 need_lib_prefix=no
14791 need_version=no
14792 hardcode_into_libs=yes
14793 if test "$host_cpu" = ia64; then
14794 # AIX 5 supports IA64
14795 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14796 shlibpath_var=LD_LIBRARY_PATH
14797 else
14798 # With GCC up to 2.95.x, collect2 would create an import file
14799 # for dependence libraries. The import file would start with
14800 # the line `#! .'. This would cause the generated library to
14801 # depend on `.', always an invalid library. This was fixed in
14802 # development snapshots of GCC prior to 3.0.
14803 case $host_os in
14804 aix4 | aix4.[01] | aix4.[01].*)
14805 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14806 echo ' yes '
14807 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14809 else
14810 can_build_shared=no
14813 esac
14814 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14815 # soname into executable. Probably we can add versioning support to
14816 # collect2, so additional links can be useful in future.
14817 if test "$aix_use_runtimelinking" = yes; then
14818 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14819 # instead of lib<name>.a to let people know that these are not
14820 # typical AIX shared libraries.
14821 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14822 else
14823 # We preserve .a as extension for shared libraries through AIX4.2
14824 # and later when we are not doing run time linking.
14825 library_names_spec='${libname}${release}.a $libname.a'
14826 soname_spec='${libname}${release}${shared_ext}$major'
14828 shlibpath_var=LIBPATH
14832 amigaos*)
14833 case $host_cpu in
14834 powerpc)
14835 # Since July 2007 AmigaOS4 officially supports .so libraries.
14836 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14837 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14839 m68k)
14840 library_names_spec='$libname.ixlibrary $libname.a'
14841 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14842 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'
14844 esac
14847 beos*)
14848 library_names_spec='${libname}${shared_ext}'
14849 dynamic_linker="$host_os ld.so"
14850 shlibpath_var=LIBRARY_PATH
14853 bsdi[45]*)
14854 version_type=linux
14855 need_version=no
14856 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14857 soname_spec='${libname}${release}${shared_ext}$major'
14858 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14859 shlibpath_var=LD_LIBRARY_PATH
14860 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14861 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14862 # the default ld.so.conf also contains /usr/contrib/lib and
14863 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14864 # libtool to hard-code these into programs
14867 cygwin* | mingw* | pw32* | cegcc*)
14868 version_type=windows
14869 shrext_cmds=".dll"
14870 need_version=no
14871 need_lib_prefix=no
14873 case $GCC,$host_os in
14874 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14875 library_names_spec='$libname.dll.a'
14876 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14877 postinstall_cmds='base_file=`basename \${file}`~
14878 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14879 dldir=$destdir/`dirname \$dlpath`~
14880 test -d \$dldir || mkdir -p \$dldir~
14881 $install_prog $dir/$dlname \$dldir/$dlname~
14882 chmod a+x \$dldir/$dlname~
14883 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14884 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14886 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14887 dlpath=$dir/\$dldll~
14888 $RM \$dlpath'
14889 shlibpath_overrides_runpath=yes
14891 case $host_os in
14892 cygwin*)
14893 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14894 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14897 mingw* | cegcc*)
14898 # MinGW DLLs use traditional 'lib' prefix
14899 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14901 pw32*)
14902 # pw32 DLLs use 'pw' prefix rather than 'lib'
14903 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14905 esac
14909 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14911 esac
14912 dynamic_linker='Win32 ld.exe'
14913 # FIXME: first we should search . and the directory the executable is in
14914 shlibpath_var=PATH
14917 darwin* | rhapsody*)
14918 dynamic_linker="$host_os dyld"
14919 version_type=darwin
14920 need_lib_prefix=no
14921 need_version=no
14922 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14923 soname_spec='${libname}${release}${major}$shared_ext'
14924 shlibpath_overrides_runpath=yes
14925 shlibpath_var=DYLD_LIBRARY_PATH
14926 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14928 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14931 dgux*)
14932 version_type=linux
14933 need_lib_prefix=no
14934 need_version=no
14935 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14936 soname_spec='${libname}${release}${shared_ext}$major'
14937 shlibpath_var=LD_LIBRARY_PATH
14940 freebsd* | dragonfly*)
14941 # DragonFly does not have aout. When/if they implement a new
14942 # versioning mechanism, adjust this.
14943 if test -x /usr/bin/objformat; then
14944 objformat=`/usr/bin/objformat`
14945 else
14946 case $host_os in
14947 freebsd[23].*) objformat=aout ;;
14948 *) objformat=elf ;;
14949 esac
14951 version_type=freebsd-$objformat
14952 case $version_type in
14953 freebsd-elf*)
14954 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14955 need_version=no
14956 need_lib_prefix=no
14958 freebsd-*)
14959 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14960 need_version=yes
14962 esac
14963 shlibpath_var=LD_LIBRARY_PATH
14964 case $host_os in
14965 freebsd2.*)
14966 shlibpath_overrides_runpath=yes
14968 freebsd3.[01]* | freebsdelf3.[01]*)
14969 shlibpath_overrides_runpath=yes
14970 hardcode_into_libs=yes
14972 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14973 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14974 shlibpath_overrides_runpath=no
14975 hardcode_into_libs=yes
14977 *) # from 4.6 on, and DragonFly
14978 shlibpath_overrides_runpath=yes
14979 hardcode_into_libs=yes
14981 esac
14984 haiku*)
14985 version_type=linux
14986 need_lib_prefix=no
14987 need_version=no
14988 dynamic_linker="$host_os runtime_loader"
14989 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14990 soname_spec='${libname}${release}${shared_ext}$major'
14991 shlibpath_var=LIBRARY_PATH
14992 shlibpath_overrides_runpath=yes
14993 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14994 hardcode_into_libs=yes
14997 hpux9* | hpux10* | hpux11*)
14998 # Give a soname corresponding to the major version so that dld.sl refuses to
14999 # link against other versions.
15000 version_type=sunos
15001 need_lib_prefix=no
15002 need_version=no
15003 case $host_cpu in
15004 ia64*)
15005 shrext_cmds='.so'
15006 hardcode_into_libs=yes
15007 dynamic_linker="$host_os dld.so"
15008 shlibpath_var=LD_LIBRARY_PATH
15009 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15010 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15011 soname_spec='${libname}${release}${shared_ext}$major'
15012 if test "X$HPUX_IA64_MODE" = X32; then
15013 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15014 else
15015 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
15017 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15019 hppa*64*)
15020 shrext_cmds='.sl'
15021 hardcode_into_libs=yes
15022 dynamic_linker="$host_os dld.sl"
15023 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
15024 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15025 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15026 soname_spec='${libname}${release}${shared_ext}$major'
15027 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15028 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15031 shrext_cmds='.sl'
15032 dynamic_linker="$host_os dld.sl"
15033 shlibpath_var=SHLIB_PATH
15034 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
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'
15038 esac
15039 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15040 postinstall_cmds='chmod 555 $lib'
15041 # or fails outright, so override atomically:
15042 install_override_mode=555
15045 interix[3-9]*)
15046 version_type=linux
15047 need_lib_prefix=no
15048 need_version=no
15049 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15050 soname_spec='${libname}${release}${shared_ext}$major'
15051 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
15052 shlibpath_var=LD_LIBRARY_PATH
15053 shlibpath_overrides_runpath=no
15054 hardcode_into_libs=yes
15057 irix5* | irix6* | nonstopux*)
15058 case $host_os in
15059 nonstopux*) version_type=nonstopux ;;
15061 if test "$lt_cv_prog_gnu_ld" = yes; then
15062 version_type=linux
15063 else
15064 version_type=irix
15065 fi ;;
15066 esac
15067 need_lib_prefix=no
15068 need_version=no
15069 soname_spec='${libname}${release}${shared_ext}$major'
15070 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15071 case $host_os in
15072 irix5* | nonstopux*)
15073 libsuff= shlibsuff=
15076 case $LD in # libtool.m4 will add one of these switches to LD
15077 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
15078 libsuff= shlibsuff= libmagic=32-bit;;
15079 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
15080 libsuff=32 shlibsuff=N32 libmagic=N32;;
15081 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
15082 libsuff=64 shlibsuff=64 libmagic=64-bit;;
15083 *) libsuff= shlibsuff= libmagic=never-match;;
15084 esac
15086 esac
15087 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
15088 shlibpath_overrides_runpath=no
15089 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15090 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
15091 hardcode_into_libs=yes
15094 # No shared lib support for Linux oldld, aout, or coff.
15095 linux*oldld* | linux*aout* | linux*coff*)
15096 dynamic_linker=no
15099 # This must be Linux ELF.
15101 # uclinux* changes (here and below) have been submitted to the libtool
15102 # project, but have not yet been accepted: they are GCC-local changes
15103 # for the time being. (See
15104 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
15105 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu* | uclinuxfdpiceabi)
15106 version_type=linux
15107 need_lib_prefix=no
15108 need_version=no
15109 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15110 soname_spec='${libname}${release}${shared_ext}$major'
15111 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15112 shlibpath_var=LD_LIBRARY_PATH
15113 shlibpath_overrides_runpath=no
15115 # Some binutils ld are patched to set DT_RUNPATH
15116 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
15117 $as_echo_n "(cached) " >&6
15118 else
15119 lt_cv_shlibpath_overrides_runpath=no
15120 save_LDFLAGS=$LDFLAGS
15121 save_libdir=$libdir
15122 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
15123 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
15124 if test x$gcc_no_link = xyes; then
15125 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15128 /* end confdefs.h. */
15131 main ()
15135 return 0;
15137 _ACEOF
15138 if ac_fn_cxx_try_link "$LINENO"; then :
15139 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
15140 lt_cv_shlibpath_overrides_runpath=yes
15143 rm -f core conftest.err conftest.$ac_objext \
15144 conftest$ac_exeext conftest.$ac_ext
15145 LDFLAGS=$save_LDFLAGS
15146 libdir=$save_libdir
15150 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
15152 # This implies no fast_install, which is unacceptable.
15153 # Some rework will be needed to allow for fast_install
15154 # before this can be enabled.
15155 hardcode_into_libs=yes
15157 # Append ld.so.conf contents to the search path
15158 if test -f /etc/ld.so.conf; then
15159 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' ' '`
15160 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
15163 # We used to test for /lib/ld.so.1 and disable shared libraries on
15164 # powerpc, because MkLinux only supported shared libraries with the
15165 # GNU dynamic linker. Since this was broken with cross compilers,
15166 # most powerpc-linux boxes support dynamic linking these days and
15167 # people can always --disable-shared, the test was removed, and we
15168 # assume the GNU/Linux dynamic linker is in use.
15169 dynamic_linker='GNU/Linux ld.so'
15172 netbsd*)
15173 version_type=sunos
15174 need_lib_prefix=no
15175 need_version=no
15176 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
15177 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15178 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15179 dynamic_linker='NetBSD (a.out) ld.so'
15180 else
15181 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15182 soname_spec='${libname}${release}${shared_ext}$major'
15183 dynamic_linker='NetBSD ld.elf_so'
15185 shlibpath_var=LD_LIBRARY_PATH
15186 shlibpath_overrides_runpath=yes
15187 hardcode_into_libs=yes
15190 newsos6)
15191 version_type=linux
15192 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15193 shlibpath_var=LD_LIBRARY_PATH
15194 shlibpath_overrides_runpath=yes
15197 *nto* | *qnx*)
15198 version_type=qnx
15199 need_lib_prefix=no
15200 need_version=no
15201 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15202 soname_spec='${libname}${release}${shared_ext}$major'
15203 shlibpath_var=LD_LIBRARY_PATH
15204 shlibpath_overrides_runpath=no
15205 hardcode_into_libs=yes
15206 dynamic_linker='ldqnx.so'
15209 openbsd*)
15210 version_type=sunos
15211 sys_lib_dlsearch_path_spec="/usr/lib"
15212 need_lib_prefix=no
15213 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15214 case $host_os in
15215 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
15216 *) need_version=no ;;
15217 esac
15218 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15219 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15220 shlibpath_var=LD_LIBRARY_PATH
15221 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15222 case $host_os in
15223 openbsd2.[89] | openbsd2.[89].*)
15224 shlibpath_overrides_runpath=no
15227 shlibpath_overrides_runpath=yes
15229 esac
15230 else
15231 shlibpath_overrides_runpath=yes
15235 os2*)
15236 libname_spec='$name'
15237 shrext_cmds=".dll"
15238 need_lib_prefix=no
15239 library_names_spec='$libname${shared_ext} $libname.a'
15240 dynamic_linker='OS/2 ld.exe'
15241 shlibpath_var=LIBPATH
15244 osf3* | osf4* | osf5*)
15245 version_type=osf
15246 need_lib_prefix=no
15247 need_version=no
15248 soname_spec='${libname}${release}${shared_ext}$major'
15249 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15250 shlibpath_var=LD_LIBRARY_PATH
15251 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15252 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
15255 rdos*)
15256 dynamic_linker=no
15259 solaris*)
15260 version_type=linux
15261 need_lib_prefix=no
15262 need_version=no
15263 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15264 soname_spec='${libname}${release}${shared_ext}$major'
15265 shlibpath_var=LD_LIBRARY_PATH
15266 shlibpath_overrides_runpath=yes
15267 hardcode_into_libs=yes
15268 # ldd complains unless libraries are executable
15269 postinstall_cmds='chmod +x $lib'
15272 sunos4*)
15273 version_type=sunos
15274 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15275 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15276 shlibpath_var=LD_LIBRARY_PATH
15277 shlibpath_overrides_runpath=yes
15278 if test "$with_gnu_ld" = yes; then
15279 need_lib_prefix=no
15281 need_version=yes
15284 sysv4 | sysv4.3*)
15285 version_type=linux
15286 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15287 soname_spec='${libname}${release}${shared_ext}$major'
15288 shlibpath_var=LD_LIBRARY_PATH
15289 case $host_vendor in
15290 sni)
15291 shlibpath_overrides_runpath=no
15292 need_lib_prefix=no
15293 runpath_var=LD_RUN_PATH
15295 siemens)
15296 need_lib_prefix=no
15298 motorola)
15299 need_lib_prefix=no
15300 need_version=no
15301 shlibpath_overrides_runpath=no
15302 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
15304 esac
15307 sysv4*MP*)
15308 if test -d /usr/nec ;then
15309 version_type=linux
15310 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15311 soname_spec='$libname${shared_ext}.$major'
15312 shlibpath_var=LD_LIBRARY_PATH
15316 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
15317 version_type=freebsd-elf
15318 need_lib_prefix=no
15319 need_version=no
15320 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15321 soname_spec='${libname}${release}${shared_ext}$major'
15322 shlibpath_var=LD_LIBRARY_PATH
15323 shlibpath_overrides_runpath=yes
15324 hardcode_into_libs=yes
15325 if test "$with_gnu_ld" = yes; then
15326 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15327 else
15328 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
15329 case $host_os in
15330 sco3.2v5*)
15331 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
15333 esac
15335 sys_lib_dlsearch_path_spec='/usr/lib'
15338 tpf*)
15339 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
15340 version_type=linux
15341 need_lib_prefix=no
15342 need_version=no
15343 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15344 shlibpath_var=LD_LIBRARY_PATH
15345 shlibpath_overrides_runpath=no
15346 hardcode_into_libs=yes
15349 uts4*)
15350 version_type=linux
15351 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15352 soname_spec='${libname}${release}${shared_ext}$major'
15353 shlibpath_var=LD_LIBRARY_PATH
15357 dynamic_linker=no
15359 esac
15360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15361 $as_echo "$dynamic_linker" >&6; }
15362 test "$dynamic_linker" = no && can_build_shared=no
15364 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
15365 if test "$GCC" = yes; then
15366 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15369 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15370 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
15372 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15373 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
15413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15414 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15415 hardcode_action_CXX=
15416 if test -n "$hardcode_libdir_flag_spec_CXX" ||
15417 test -n "$runpath_var_CXX" ||
15418 test "X$hardcode_automatic_CXX" = "Xyes" ; then
15420 # We can hardcode non-existent directories.
15421 if test "$hardcode_direct_CXX" != no &&
15422 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15423 # have to relink, otherwise we might link with an installed library
15424 # when we should be linking with a yet-to-be-installed one
15425 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
15426 test "$hardcode_minus_L_CXX" != no; then
15427 # Linking always hardcodes the temporary library directory.
15428 hardcode_action_CXX=relink
15429 else
15430 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15431 hardcode_action_CXX=immediate
15433 else
15434 # We cannot hardcode anything, or else we can only hardcode existing
15435 # directories.
15436 hardcode_action_CXX=unsupported
15438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
15439 $as_echo "$hardcode_action_CXX" >&6; }
15441 if test "$hardcode_action_CXX" = relink ||
15442 test "$inherit_rpath_CXX" = yes; then
15443 # Fast installation is not supported
15444 enable_fast_install=no
15445 elif test "$shlibpath_overrides_runpath" = yes ||
15446 test "$enable_shared" = no; then
15447 # Fast installation is not necessary
15448 enable_fast_install=needless
15457 fi # test -n "$compiler"
15459 CC=$lt_save_CC
15460 LDCXX=$LD
15461 LD=$lt_save_LD
15462 GCC=$lt_save_GCC
15463 with_gnu_ld=$lt_save_with_gnu_ld
15464 lt_cv_path_LDCXX=$lt_cv_path_LD
15465 lt_cv_path_LD=$lt_save_path_LD
15466 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
15467 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
15468 fi # test "$_lt_caught_CXX_error" != yes
15470 ac_ext=c
15471 ac_cpp='$CPP $CPPFLAGS'
15472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15488 ac_config_commands="$ac_config_commands libtool"
15493 # Only expand once:
15499 case $host in
15500 *-cygwin* | *-mingw*)
15501 # 'host' will be top-level target in the case of a target lib,
15502 # we must compare to with_cross_host to decide if this is a native
15503 # or cross-compiler and select where to install dlls appropriately.
15504 if test -n "$with_cross_host" &&
15505 test x"$with_cross_host" != x"no"; then
15506 lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
15507 else
15508 lt_host_flags='-no-undefined -bindir "$(bindir)"';
15512 lt_host_flags=
15514 esac
15521 if test "$enable_vtable_verify" = yes; then
15522 predep_objects_CXX="${predep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_start.o"
15523 postdep_objects_CXX="${postdep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_end.o"
15527 # libtool variables for C++ shared and position-independent compiles.
15529 # Use glibcxx_lt_pic_flag to designate the automake variable
15530 # used to encapsulate the default libtool approach to creating objects
15531 # with position-independent code. Default: -prefer-pic.
15533 # Use glibcxx_compiler_shared_flag to designate a compile-time flags for
15534 # creating shared objects. Default: -D_GLIBCXX_SHARED.
15536 # Use glibcxx_compiler_pic_flag to designate a compile-time flags for
15537 # creating position-independent objects. This varies with the target
15538 # hardware and operating system, but is often: -DPIC -fPIC.
15539 if test "$enable_shared" = yes; then
15540 glibcxx_lt_pic_flag="-prefer-pic"
15541 glibcxx_compiler_pic_flag="$lt_prog_compiler_pic_CXX"
15542 glibcxx_compiler_shared_flag="-D_GLIBCXX_SHARED"
15544 else
15545 glibcxx_lt_pic_flag=
15546 glibcxx_compiler_pic_flag=
15547 glibcxx_compiler_shared_flag=
15553 # Override the libtool's pic_flag and pic_mode.
15554 # Do this step after AM_PROG_LIBTOOL, but before AC_OUTPUT.
15555 # NB: this impacts --with-pic and --without-pic.
15556 lt_prog_compiler_pic_CXX="$glibcxx_compiler_pic_flag $glibcxx_compiler_shared_flag"
15557 pic_mode='default'
15559 # Eliminate -lstdc++ addition to postdeps for cross compiles.
15560 postdeps_CXX=`echo " $postdeps_CXX " | sed 's, -lstdc++ ,,g'`
15562 # Possibly disable most of the library.
15563 ## TODO: Consider skipping unncessary tests altogether in this case, rather
15564 ## than just ignoring the results. Faster /and/ more correct, win win.
15566 # Check whether --enable-hosted-libstdcxx was given.
15567 if test "${enable_hosted_libstdcxx+set}" = set; then :
15568 enableval=$enable_hosted_libstdcxx;
15569 else
15570 case "$host" in
15571 arm*-*-symbianelf*)
15572 enable_hosted_libstdcxx=no
15575 enable_hosted_libstdcxx=yes
15577 esac
15580 if test "$enable_hosted_libstdcxx" = no; then
15581 { $as_echo "$as_me:${as_lineno-$LINENO}: Only freestanding libraries will be built" >&5
15582 $as_echo "$as_me: Only freestanding libraries will be built" >&6;}
15583 is_hosted=no
15584 hosted_define=0
15585 enable_abi_check=no
15586 enable_libstdcxx_pch=no
15587 else
15588 is_hosted=yes
15589 hosted_define=1
15593 cat >>confdefs.h <<_ACEOF
15594 #define _GLIBCXX_HOSTED $hosted_define
15595 _ACEOF
15599 # Enable descriptive messages to standard output on termination.
15601 # Check whether --enable-libstdcxx-verbose was given.
15602 if test "${enable_libstdcxx_verbose+set}" = set; then :
15603 enableval=$enable_libstdcxx_verbose;
15604 else
15605 enable_libstdcxx_verbose=yes
15608 if test x"$enable_libstdcxx_verbose" = xyes; then
15609 verbose_define=1
15610 else
15611 { $as_echo "$as_me:${as_lineno-$LINENO}: verbose termination messages are disabled" >&5
15612 $as_echo "$as_me: verbose termination messages are disabled" >&6;}
15613 verbose_define=0
15616 cat >>confdefs.h <<_ACEOF
15617 #define _GLIBCXX_VERBOSE $verbose_define
15618 _ACEOF
15622 # Enable compiler support that doesn't require linking.
15624 # Check whether --enable-libstdcxx-pch was given.
15625 if test "${enable_libstdcxx_pch+set}" = set; then :
15626 enableval=$enable_libstdcxx_pch;
15627 case "$enableval" in
15628 yes|no) ;;
15629 *) as_fn_error $? "Argument to enable/disable libstdcxx-pch must be yes or no" "$LINENO" 5 ;;
15630 esac
15632 else
15633 enable_libstdcxx_pch=$is_hosted
15637 if test $enable_libstdcxx_pch = yes; then
15638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler with PCH support" >&5
15639 $as_echo_n "checking for compiler with PCH support... " >&6; }
15640 if ${glibcxx_cv_prog_CXX_pch+:} false; then :
15641 $as_echo_n "(cached) " >&6
15642 else
15643 ac_save_CXXFLAGS="$CXXFLAGS"
15644 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
15646 ac_ext=cpp
15647 ac_cpp='$CXXCPP $CPPFLAGS'
15648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15652 echo '#include <math.h>' > conftest.h
15653 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
15654 -o conftest.h.gch 1>&5 2>&1 &&
15655 echo '#error "pch failed"' > conftest.h &&
15656 echo '#include "conftest.h"' > conftest.cc &&
15657 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
15658 then
15659 glibcxx_cv_prog_CXX_pch=yes
15660 else
15661 glibcxx_cv_prog_CXX_pch=no
15663 rm -f conftest*
15664 CXXFLAGS=$ac_save_CXXFLAGS
15665 ac_ext=c
15666 ac_cpp='$CPP $CPPFLAGS'
15667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_prog_CXX_pch" >&5
15674 $as_echo "$glibcxx_cv_prog_CXX_pch" >&6; }
15675 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
15678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled PCH" >&5
15679 $as_echo_n "checking for enabled PCH... " >&6; }
15680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_pch" >&5
15681 $as_echo "$enable_libstdcxx_pch" >&6; }
15684 if test $enable_libstdcxx_pch = yes; then
15685 glibcxx_PCHFLAGS="-include bits/stdc++.h"
15686 else
15687 glibcxx_PCHFLAGS=""
15692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
15693 $as_echo_n "checking for thread model used by GCC... " >&6; }
15694 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
15695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5
15696 $as_echo "$target_thread_file" >&6; }
15698 case $target_thread_file in
15699 aix) thread_header=config/rs6000/gthr-aix.h ;;
15700 dce) thread_header=config/pa/gthr-dce.h ;;
15701 gcn) thread_header=config/gcn/gthr-gcn.h ;;
15702 lynx) thread_header=config/gthr-lynx.h ;;
15703 mipssde) thread_header=config/mips/gthr-mipssde.h ;;
15704 posix) thread_header=gthr-posix.h ;;
15705 rtems) thread_header=config/gthr-rtems.h ;;
15706 single) thread_header=gthr-single.h ;;
15707 tpf) thread_header=config/s390/gthr-tpf.h ;;
15708 vxworks) thread_header=config/gthr-vxworks.h ;;
15709 win32) thread_header=config/i386/gthr-win32.h ;;
15710 esac
15716 ac_ext=cpp
15717 ac_cpp='$CXXCPP $CPPFLAGS'
15718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15722 old_CXXFLAGS="$CXXFLAGS"
15724 # Do link tests if possible, instead asm tests, limited to some platforms
15725 # see discussion in PR target/40134, PR libstdc++/40133 and the thread
15726 # starting at http://gcc.gnu.org/ml/gcc-patches/2009-07/msg00322.html
15727 atomic_builtins_link_tests=no
15728 if test x$gcc_no_link != xyes; then
15729 # Can do link tests. Limit to some tested platforms
15730 case "$host" in
15731 *-*-linux* | *-*-uclinux* | *-*-kfreebsd*-gnu | *-*-gnu*)
15732 atomic_builtins_link_tests=yes
15734 esac
15737 if test x$atomic_builtins_link_tests = xyes; then
15739 # Do link tests.
15741 CXXFLAGS="$CXXFLAGS -fno-exceptions"
15743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15744 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15745 if ${glibcxx_cv_atomic_bool+:} false; then :
15746 $as_echo_n "(cached) " >&6
15747 else
15749 if test x$gcc_no_link = xyes; then
15750 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15753 /* end confdefs.h. */
15756 main ()
15758 typedef bool atomic_type;
15759 atomic_type c1;
15760 atomic_type c2;
15761 atomic_type c3(0);
15762 // N.B. __atomic_fetch_add is not supported for bool.
15763 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15764 __ATOMIC_RELAXED);
15765 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15766 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15769 return 0;
15771 _ACEOF
15772 if ac_fn_cxx_try_link "$LINENO"; then :
15773 glibcxx_cv_atomic_bool=yes
15774 else
15775 glibcxx_cv_atomic_bool=no
15777 rm -f core conftest.err conftest.$ac_objext \
15778 conftest$ac_exeext conftest.$ac_ext
15782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15783 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15786 $as_echo_n "checking for atomic builtins for short... " >&6; }
15787 if ${glibcxx_cv_atomic_short+:} false; then :
15788 $as_echo_n "(cached) " >&6
15789 else
15791 if test x$gcc_no_link = xyes; then
15792 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15795 /* end confdefs.h. */
15798 main ()
15800 typedef short atomic_type;
15801 atomic_type c1;
15802 atomic_type c2;
15803 atomic_type c3(0);
15804 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15805 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15806 __ATOMIC_RELAXED);
15807 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15808 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15811 return 0;
15813 _ACEOF
15814 if ac_fn_cxx_try_link "$LINENO"; then :
15815 glibcxx_cv_atomic_short=yes
15816 else
15817 glibcxx_cv_atomic_short=no
15819 rm -f core conftest.err conftest.$ac_objext \
15820 conftest$ac_exeext conftest.$ac_ext
15824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15825 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15828 $as_echo_n "checking for atomic builtins for int... " >&6; }
15829 if ${glibcxx_cv_atomic_int+:} false; then :
15830 $as_echo_n "(cached) " >&6
15831 else
15833 if test x$gcc_no_link = xyes; then
15834 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15837 /* end confdefs.h. */
15840 main ()
15842 typedef int atomic_type;
15843 atomic_type c1;
15844 atomic_type c2;
15845 atomic_type c3(0);
15846 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15847 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15848 __ATOMIC_RELAXED);
15849 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15850 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15853 return 0;
15855 _ACEOF
15856 if ac_fn_cxx_try_link "$LINENO"; then :
15857 glibcxx_cv_atomic_int=yes
15858 else
15859 glibcxx_cv_atomic_int=no
15861 rm -f core conftest.err conftest.$ac_objext \
15862 conftest$ac_exeext conftest.$ac_ext
15866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15867 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15870 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15871 if ${glibcxx_cv_atomic_long_long+:} false; then :
15872 $as_echo_n "(cached) " >&6
15873 else
15875 if test x$gcc_no_link = xyes; then
15876 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15879 /* end confdefs.h. */
15882 main ()
15884 typedef long long atomic_type;
15885 atomic_type c1;
15886 atomic_type c2;
15887 atomic_type c3(0);
15888 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15889 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15890 __ATOMIC_RELAXED);
15891 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15892 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15895 return 0;
15897 _ACEOF
15898 if ac_fn_cxx_try_link "$LINENO"; then :
15899 glibcxx_cv_atomic_long_long=yes
15900 else
15901 glibcxx_cv_atomic_long_long=no
15903 rm -f core conftest.err conftest.$ac_objext \
15904 conftest$ac_exeext conftest.$ac_ext
15908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15909 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15911 else
15913 # Do asm tests.
15915 # Compile unoptimized.
15916 CXXFLAGS='-O0 -S'
15918 # Fake what AC_TRY_COMPILE does.
15920 cat > conftest.$ac_ext << EOF
15921 #line 15921 "configure"
15922 int main()
15924 typedef bool atomic_type;
15925 atomic_type c1;
15926 atomic_type c2;
15927 atomic_type c3(0);
15928 // N.B. __atomic_fetch_add is not supported for bool.
15929 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15930 __ATOMIC_RELAXED);
15931 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15932 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15934 return 0;
15938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15939 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15940 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15941 (eval $ac_compile) 2>&5
15942 ac_status=$?
15943 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15944 test $ac_status = 0; }; then
15945 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15946 glibcxx_cv_atomic_bool=no
15947 else
15948 glibcxx_cv_atomic_bool=yes
15951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15952 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15953 rm -f conftest*
15955 cat > conftest.$ac_ext << EOF
15956 #line 15956 "configure"
15957 int main()
15959 typedef short atomic_type;
15960 atomic_type c1;
15961 atomic_type c2;
15962 atomic_type c3(0);
15963 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15964 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15965 __ATOMIC_RELAXED);
15966 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15967 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15969 return 0;
15973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15974 $as_echo_n "checking for atomic builtins for short... " >&6; }
15975 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15976 (eval $ac_compile) 2>&5
15977 ac_status=$?
15978 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15979 test $ac_status = 0; }; then
15980 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15981 glibcxx_cv_atomic_short=no
15982 else
15983 glibcxx_cv_atomic_short=yes
15986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15987 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15988 rm -f conftest*
15990 cat > conftest.$ac_ext << EOF
15991 #line 15991 "configure"
15992 int main()
15994 // NB: _Atomic_word not necessarily int.
15995 typedef int atomic_type;
15996 atomic_type c1;
15997 atomic_type c2;
15998 atomic_type c3(0);
15999 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
16000 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
16001 __ATOMIC_RELAXED);
16002 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
16003 __atomic_load_n(&c1, __ATOMIC_RELAXED);
16005 return 0;
16009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
16010 $as_echo_n "checking for atomic builtins for int... " >&6; }
16011 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16012 (eval $ac_compile) 2>&5
16013 ac_status=$?
16014 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16015 test $ac_status = 0; }; then
16016 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
16017 glibcxx_cv_atomic_int=no
16018 else
16019 glibcxx_cv_atomic_int=yes
16022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
16023 $as_echo "$glibcxx_cv_atomic_int" >&6; }
16024 rm -f conftest*
16026 cat > conftest.$ac_ext << EOF
16027 #line 16027 "configure"
16028 int main()
16030 typedef long long atomic_type;
16031 atomic_type c1;
16032 atomic_type c2;
16033 atomic_type c3(0);
16034 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
16035 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
16036 __ATOMIC_RELAXED);
16037 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
16038 __atomic_load_n(&c1, __ATOMIC_RELAXED);
16040 return 0;
16044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
16045 $as_echo_n "checking for atomic builtins for long long... " >&6; }
16046 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16047 (eval $ac_compile) 2>&5
16048 ac_status=$?
16049 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16050 test $ac_status = 0; }; then
16051 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
16052 glibcxx_cv_atomic_long_long=no
16053 else
16054 glibcxx_cv_atomic_long_long=yes
16057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
16058 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
16059 rm -f conftest*
16063 CXXFLAGS="$old_CXXFLAGS"
16064 ac_ext=c
16065 ac_cpp='$CPP $CPPFLAGS'
16066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16071 # Set atomicity_dir to builtins if all but the long long test above passes,
16072 # or if the builtins were already chosen (e.g. by configure.host).
16073 if { test "$glibcxx_cv_atomic_bool" = yes \
16074 && test "$glibcxx_cv_atomic_short" = yes \
16075 && test "$glibcxx_cv_atomic_int" = yes; } \
16076 || test "$atomicity_dir" = "cpu/generic/atomicity_builtins"; then
16078 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS 1" >>confdefs.h
16080 atomicity_dir=cpu/generic/atomicity_builtins
16083 # If still generic, set to mutex.
16084 if test $atomicity_dir = "cpu/generic" ; then
16085 atomicity_dir=cpu/generic/atomicity_mutex
16086 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No native atomic operations are provided for this platform." >&5
16087 $as_echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
16088 if test "x$target_thread_file" = xsingle; then
16089 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They cannot be faked when thread support is disabled." >&5
16090 $as_echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
16091 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Thread-safety of certain classes is not guaranteed." >&5
16092 $as_echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
16093 else
16094 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They will be faked using a mutex." >&5
16095 $as_echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
16096 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Performance of certain classes will degrade as a result." >&5
16097 $as_echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
16105 # Check whether --with-libstdcxx-lock-policy was given.
16106 if test "${with_libstdcxx_lock_policy+set}" = set; then :
16107 withval=$with_libstdcxx_lock_policy; libstdcxx_atomic_lock_policy=$withval
16108 else
16109 libstdcxx_atomic_lock_policy=auto
16113 case "$libstdcxx_atomic_lock_policy" in
16114 atomic|mutex|auto) ;;
16115 *) as_fn_error $? "Invalid argument for --with-libstdcxx-lock-policy" "$LINENO" 5 ;;
16116 esac
16117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lock policy for shared_ptr reference counts" >&5
16118 $as_echo_n "checking for lock policy for shared_ptr reference counts... " >&6; }
16120 if test x"$libstdcxx_atomic_lock_policy" = x"auto"; then
16122 ac_ext=cpp
16123 ac_cpp='$CXXCPP $CPPFLAGS'
16124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16128 ac_save_CXXFLAGS="$CXXFLAGS"
16130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16131 /* end confdefs.h. */
16133 #if ! defined __GCC_HAVE_SYNC_COMPARE_AND_SWAP_2
16134 # error "No 2-byte compare-and-swap"
16135 #elif ! defined __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4
16136 # error "No 4-byte compare-and-swap"
16137 #endif
16140 main ()
16144 return 0;
16146 _ACEOF
16147 if ac_fn_cxx_try_compile "$LINENO"; then :
16148 libstdcxx_atomic_lock_policy=atomic
16149 else
16150 libstdcxx_atomic_lock_policy=mutex
16152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16153 ac_ext=c
16154 ac_cpp='$CPP $CPPFLAGS'
16155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16159 CXXFLAGS="$ac_save_CXXFLAGS"
16162 if test x"$libstdcxx_atomic_lock_policy" = x"atomic"; then
16163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: atomic" >&5
16164 $as_echo "atomic" >&6; }
16166 $as_echo "#define HAVE_ATOMIC_LOCK_POLICY 1" >>confdefs.h
16168 else
16169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: mutex" >&5
16170 $as_echo "mutex" >&6; }
16176 # Fake what AC_TRY_COMPILE does, without linking as this is
16177 # unnecessary for this test.
16179 cat > conftest.$ac_ext << EOF
16180 #line 16180 "configure"
16181 int main()
16183 _Decimal32 d1;
16184 _Decimal64 d2;
16185 _Decimal128 d3;
16186 return 0;
16190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO/IEC TR 24733 " >&5
16191 $as_echo_n "checking for ISO/IEC TR 24733 ... " >&6; }
16192 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16193 (eval $ac_compile) 2>&5
16194 ac_status=$?
16195 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16196 test $ac_status = 0; }; then
16198 $as_echo "#define _GLIBCXX_USE_DECIMAL_FLOAT 1" >>confdefs.h
16200 enable_dfp=yes
16201 else
16202 enable_dfp=no
16204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dfp" >&5
16205 $as_echo "$enable_dfp" >&6; }
16206 rm -f conftest*
16211 ac_ext=cpp
16212 ac_cpp='$CXXCPP $CPPFLAGS'
16213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16218 # Fake what AC_TRY_COMPILE does, without linking as this is
16219 # unnecessary for this test.
16221 cat > conftest.$ac_ext << EOF
16222 #line 16222 "configure"
16223 template<typename T1, typename T2>
16224 struct same
16225 { typedef T2 type; };
16227 template<typename T>
16228 struct same<T, T>;
16230 int main()
16232 typename same<double, __float128>::type f1;
16233 typename same<long double, __float128>::type f2;
16237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __float128" >&5
16238 $as_echo_n "checking for __float128... " >&6; }
16239 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16240 (eval $ac_compile) 2>&5
16241 ac_status=$?
16242 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16243 test $ac_status = 0; }; then
16244 enable_float128=yes
16245 else
16246 enable_float128=no
16248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_float128" >&5
16249 $as_echo "$enable_float128" >&6; }
16251 rm -f conftest*
16253 ac_ext=c
16254 ac_cpp='$CPP $CPPFLAGS'
16255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16260 if test "$enable_float128" = yes; then
16261 port_specific_symbol_files="$port_specific_symbol_files \$(top_srcdir)/config/abi/pre/float128.ver"
16264 # Checks for compiler support that doesn't require linking.
16266 # All these tests are for C++; save the language and the compiler flags.
16267 # The CXXFLAGS thing is suspicious, but based on similar bits previously
16268 # found in GLIBCXX_CONFIGURE.
16270 ac_ext=cpp
16271 ac_cpp='$CXXCPP $CPPFLAGS'
16272 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16273 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16274 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16276 ac_test_CXXFLAGS="${CXXFLAGS+set}"
16277 ac_save_CXXFLAGS="$CXXFLAGS"
16279 # Check for -ffunction-sections -fdata-sections
16280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
16281 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
16282 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
16283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16284 /* end confdefs.h. */
16285 int foo; void bar() { };
16287 main ()
16291 return 0;
16293 _ACEOF
16294 if ac_fn_cxx_try_compile "$LINENO"; then :
16295 ac_fdsections=yes
16296 else
16297 ac_fdsections=no
16299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16300 if test "$ac_test_CXXFLAGS" = set; then
16301 CXXFLAGS="$ac_save_CXXFLAGS"
16302 else
16303 # this is the suspicious part
16304 CXXFLAGS=''
16306 if test x"$ac_fdsections" = x"yes"; then
16307 SECTION_FLAGS='-ffunction-sections -fdata-sections'
16309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
16310 $as_echo "$ac_fdsections" >&6; }
16312 ac_ext=c
16313 ac_cpp='$CPP $CPPFLAGS'
16314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16321 # Enable all the variable C++ runtime options that don't require linking.
16323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for underlying I/O to use" >&5
16324 $as_echo_n "checking for underlying I/O to use... " >&6; }
16325 # Check whether --enable-cstdio was given.
16326 if test "${enable_cstdio+set}" = set; then :
16327 enableval=$enable_cstdio;
16328 case "$enableval" in
16329 stdio|stdio_posix|stdio_pure) ;;
16330 *) as_fn_error $? "Unknown argument to enable/disable cstdio" "$LINENO" 5 ;;
16331 esac
16333 else
16334 enable_cstdio=stdio
16339 # The only available I/O model is based on stdio, via basic_file_stdio.
16340 # The default "stdio" is actually "stdio + POSIX" because it uses fdopen(3)
16341 # to get a file descriptor and then uses read(3) and write(3) with it.
16342 # The "stdio_pure" model doesn't use fdopen and only uses FILE* for I/O.
16343 case ${enable_cstdio} in
16344 stdio*)
16345 CSTDIO_H=config/io/c_io_stdio.h
16346 BASIC_FILE_H=config/io/basic_file_stdio.h
16347 BASIC_FILE_CC=config/io/basic_file_stdio.cc
16348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: stdio" >&5
16349 $as_echo "stdio" >&6; }
16351 if test "x$enable_cstdio" = "xstdio_pure" ; then
16353 $as_echo "#define _GLIBCXX_USE_STDIO_PURE 1" >>confdefs.h
16357 esac
16364 # Check whether --enable-clocale was given.
16365 if test "${enable_clocale+set}" = set; then :
16366 enableval=$enable_clocale;
16367 case "$enableval" in
16368 generic|gnu|ieee_1003.1-2001|newlib|yes|no|auto) ;;
16369 *) as_fn_error $? "Unknown argument to enable/disable clocale" "$LINENO" 5 ;;
16370 esac
16372 else
16373 enable_clocale=auto
16378 # Deal with gettext issues. Default to not using it (=no) until we detect
16379 # support for it later. Let the user turn it off via --e/d, but let that
16380 # default to on for easier handling.
16381 USE_NLS=no
16382 # Check whether --enable-nls was given.
16383 if test "${enable_nls+set}" = set; then :
16384 enableval=$enable_nls;
16385 else
16386 enable_nls=yes
16390 # Either a known package, or "auto"
16391 if test $enable_clocale = no || test $enable_clocale = yes; then
16392 enable_clocale=auto
16394 enable_clocale_flag=$enable_clocale
16396 # Probe for locale model to use if none specified.
16397 # Default to "generic".
16398 if test $enable_clocale_flag = auto; then
16399 case ${target_os} in
16400 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16401 enable_clocale_flag=gnu
16403 darwin*)
16404 enable_clocale_flag=darwin
16406 vxworks*)
16407 enable_clocale_flag=vxworks
16409 dragonfly* | freebsd*)
16410 enable_clocale_flag=dragonfly
16412 openbsd*)
16413 enable_clocale_flag=newlib
16416 if test x"$with_newlib" = x"yes"; then
16417 enable_clocale_flag=newlib
16418 else
16419 enable_clocale_flag=generic
16422 esac
16425 # Sanity check model, and test for special functionality.
16426 if test $enable_clocale_flag = gnu; then
16427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16428 /* end confdefs.h. */
16430 #include <features.h>
16431 #if (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) && !defined(__UCLIBC__)
16432 _GLIBCXX_ok
16433 #endif
16435 _ACEOF
16436 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16437 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then :
16438 enable_clocale_flag=gnu
16439 else
16440 enable_clocale_flag=generic
16442 rm -f conftest*
16445 # Set it to scream when it hurts.
16446 ac_save_CFLAGS="$CFLAGS"
16447 CFLAGS="-Wimplicit-function-declaration -Werror"
16449 # Use strxfrm_l if available.
16450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16451 /* end confdefs.h. */
16452 #define _GNU_SOURCE 1
16453 #include <string.h>
16454 #include <locale.h>
16456 main ()
16458 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
16460 return 0;
16462 _ACEOF
16463 if ac_fn_c_try_compile "$LINENO"; then :
16465 $as_echo "#define HAVE_STRXFRM_L 1" >>confdefs.h
16468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16470 # Use strerror_l if available.
16471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16472 /* end confdefs.h. */
16473 #define _GNU_SOURCE 1
16474 #include <string.h>
16475 #include <locale.h>
16477 main ()
16479 __locale_t loc; strerror_l(5, loc);
16481 return 0;
16483 _ACEOF
16484 if ac_fn_c_try_compile "$LINENO"; then :
16486 $as_echo "#define HAVE_STRERROR_L 1" >>confdefs.h
16489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16491 CFLAGS="$ac_save_CFLAGS"
16494 # Perhaps use strerror_r if available, and strerror_l isn't.
16495 ac_save_CFLAGS="$CFLAGS"
16496 CFLAGS="-Wimplicit-function-declaration -Werror"
16497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16498 /* end confdefs.h. */
16499 #define _GNU_SOURCE 1
16500 #include <string.h>
16501 #include <locale.h>
16503 main ()
16505 char s[128]; strerror_r(5, s, 128);
16507 return 0;
16509 _ACEOF
16510 if ac_fn_c_try_compile "$LINENO"; then :
16512 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
16515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16516 CFLAGS="$ac_save_CFLAGS"
16518 # Set configure bits for specified locale package
16519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C locale to use" >&5
16520 $as_echo_n "checking for C locale to use... " >&6; }
16521 case ${enable_clocale_flag} in
16522 generic)
16523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: generic" >&5
16524 $as_echo "generic" >&6; }
16526 CLOCALE_H=config/locale/generic/c_locale.h
16527 CLOCALE_CC=config/locale/generic/c_locale.cc
16528 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16529 CCOLLATE_CC=config/locale/generic/collate_members.cc
16530 CCTYPE_CC=config/locale/generic/ctype_members.cc
16531 CMESSAGES_H=config/locale/generic/messages_members.h
16532 CMESSAGES_CC=config/locale/generic/messages_members.cc
16533 CMONEY_CC=config/locale/generic/monetary_members.cc
16534 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16535 CTIME_H=config/locale/generic/time_members.h
16536 CTIME_CC=config/locale/generic/time_members.cc
16537 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16539 darwin)
16540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: darwin" >&5
16541 $as_echo "darwin" >&6; }
16543 CLOCALE_H=config/locale/generic/c_locale.h
16544 CLOCALE_CC=config/locale/generic/c_locale.cc
16545 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16546 CCOLLATE_CC=config/locale/generic/collate_members.cc
16547 CCTYPE_CC=config/locale/darwin/ctype_members.cc
16548 CMESSAGES_H=config/locale/generic/messages_members.h
16549 CMESSAGES_CC=config/locale/generic/messages_members.cc
16550 CMONEY_CC=config/locale/generic/monetary_members.cc
16551 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16552 CTIME_H=config/locale/generic/time_members.h
16553 CTIME_CC=config/locale/generic/time_members.cc
16554 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16556 vxworks)
16557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: vxworks" >&5
16558 $as_echo "vxworks" >&6; }
16560 CLOCALE_H=config/locale/generic/c_locale.h
16561 CLOCALE_CC=config/locale/generic/c_locale.cc
16562 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16563 CCOLLATE_CC=config/locale/generic/collate_members.cc
16564 CCTYPE_CC=config/locale/vxworks/ctype_members.cc
16565 CMESSAGES_H=config/locale/generic/messages_members.h
16566 CMESSAGES_CC=config/locale/generic/messages_members.cc
16567 CMONEY_CC=config/locale/generic/monetary_members.cc
16568 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16569 CTIME_H=config/locale/generic/time_members.h
16570 CTIME_CC=config/locale/generic/time_members.cc
16571 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16573 dragonfly)
16574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: dragonfly or freebsd" >&5
16575 $as_echo "dragonfly or freebsd" >&6; }
16577 CLOCALE_H=config/locale/dragonfly/c_locale.h
16578 CLOCALE_CC=config/locale/dragonfly/c_locale.cc
16579 CCODECVT_CC=config/locale/dragonfly/codecvt_members.cc
16580 CCOLLATE_CC=config/locale/dragonfly/collate_members.cc
16581 CCTYPE_CC=config/locale/dragonfly/ctype_members.cc
16582 CMESSAGES_H=config/locale/generic/messages_members.h
16583 CMESSAGES_CC=config/locale/generic/messages_members.cc
16584 CMONEY_CC=config/locale/dragonfly/monetary_members.cc
16585 CNUMERIC_CC=config/locale/dragonfly/numeric_members.cc
16586 CTIME_H=config/locale/dragonfly/time_members.h
16587 CTIME_CC=config/locale/dragonfly/time_members.cc
16588 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16591 gnu)
16592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gnu" >&5
16593 $as_echo "gnu" >&6; }
16595 # Declare intention to use gettext, and add support for specific
16596 # languages.
16597 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
16598 ALL_LINGUAS="de fr"
16600 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
16601 # Extract the first word of "msgfmt", so it can be a program name with args.
16602 set dummy msgfmt; ac_word=$2
16603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16604 $as_echo_n "checking for $ac_word... " >&6; }
16605 if ${ac_cv_prog_check_msgfmt+:} false; then :
16606 $as_echo_n "(cached) " >&6
16607 else
16608 if test -n "$check_msgfmt"; then
16609 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
16610 else
16611 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16612 for as_dir in $PATH
16614 IFS=$as_save_IFS
16615 test -z "$as_dir" && as_dir=.
16616 for ac_exec_ext in '' $ac_executable_extensions; do
16617 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16618 ac_cv_prog_check_msgfmt="yes"
16619 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16620 break 2
16622 done
16623 done
16624 IFS=$as_save_IFS
16626 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
16629 check_msgfmt=$ac_cv_prog_check_msgfmt
16630 if test -n "$check_msgfmt"; then
16631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $check_msgfmt" >&5
16632 $as_echo "$check_msgfmt" >&6; }
16633 else
16634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16635 $as_echo "no" >&6; }
16639 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
16640 USE_NLS=yes
16642 # Export the build objects.
16643 for ling in $ALL_LINGUAS; do \
16644 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
16645 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
16646 done
16650 CLOCALE_H=config/locale/gnu/c_locale.h
16651 CLOCALE_CC=config/locale/gnu/c_locale.cc
16652 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
16653 CCOLLATE_CC=config/locale/gnu/collate_members.cc
16654 CCTYPE_CC=config/locale/gnu/ctype_members.cc
16655 CMESSAGES_H=config/locale/gnu/messages_members.h
16656 CMESSAGES_CC=config/locale/gnu/messages_members.cc
16657 CMONEY_CC=config/locale/gnu/monetary_members.cc
16658 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
16659 CTIME_H=config/locale/gnu/time_members.h
16660 CTIME_CC=config/locale/gnu/time_members.cc
16661 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
16663 ieee_1003.1-2001)
16664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: IEEE 1003.1" >&5
16665 $as_echo "IEEE 1003.1" >&6; }
16667 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
16668 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
16669 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16670 CCOLLATE_CC=config/locale/generic/collate_members.cc
16671 CCTYPE_CC=config/locale/generic/ctype_members.cc
16672 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
16673 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
16674 CMONEY_CC=config/locale/generic/monetary_members.cc
16675 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16676 CTIME_H=config/locale/generic/time_members.h
16677 CTIME_CC=config/locale/generic/time_members.cc
16678 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16680 newlib)
16681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: newlib" >&5
16682 $as_echo "newlib" >&6; }
16684 CLOCALE_H=config/locale/generic/c_locale.h
16685 CLOCALE_CC=config/locale/generic/c_locale.cc
16686 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16687 CCOLLATE_CC=config/locale/generic/collate_members.cc
16688 CCTYPE_CC=config/locale/newlib/ctype_members.cc
16689 CMESSAGES_H=config/locale/generic/messages_members.h
16690 CMESSAGES_CC=config/locale/generic/messages_members.cc
16691 CMONEY_CC=config/locale/generic/monetary_members.cc
16692 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16693 CTIME_H=config/locale/generic/time_members.h
16694 CTIME_CC=config/locale/generic/time_members.cc
16695 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16697 esac
16699 # This is where the testsuite looks for locale catalogs, using the
16700 # -DLOCALEDIR define during testsuite compilation.
16701 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
16704 # A standalone libintl (e.g., GNU libintl) may be in use.
16705 if test $USE_NLS = yes; then
16706 for ac_header in libintl.h
16707 do :
16708 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
16709 if test "x$ac_cv_header_libintl_h" = xyes; then :
16710 cat >>confdefs.h <<_ACEOF
16711 #define HAVE_LIBINTL_H 1
16712 _ACEOF
16714 else
16715 USE_NLS=no
16718 done
16720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5
16721 $as_echo_n "checking for library containing gettext... " >&6; }
16722 if ${ac_cv_search_gettext+:} false; then :
16723 $as_echo_n "(cached) " >&6
16724 else
16725 ac_func_search_save_LIBS=$LIBS
16726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16727 /* end confdefs.h. */
16729 /* Override any GCC internal prototype to avoid an error.
16730 Use char because int might match the return type of a GCC
16731 builtin and then its argument prototype would still apply. */
16732 #ifdef __cplusplus
16733 extern "C"
16734 #endif
16735 char gettext ();
16737 main ()
16739 return gettext ();
16741 return 0;
16743 _ACEOF
16744 for ac_lib in '' intl; do
16745 if test -z "$ac_lib"; then
16746 ac_res="none required"
16747 else
16748 ac_res=-l$ac_lib
16749 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16751 if test x$gcc_no_link = xyes; then
16752 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16754 if ac_fn_c_try_link "$LINENO"; then :
16755 ac_cv_search_gettext=$ac_res
16757 rm -f core conftest.err conftest.$ac_objext \
16758 conftest$ac_exeext
16759 if ${ac_cv_search_gettext+:} false; then :
16760 break
16762 done
16763 if ${ac_cv_search_gettext+:} false; then :
16765 else
16766 ac_cv_search_gettext=no
16768 rm conftest.$ac_ext
16769 LIBS=$ac_func_search_save_LIBS
16771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5
16772 $as_echo "$ac_cv_search_gettext" >&6; }
16773 ac_res=$ac_cv_search_gettext
16774 if test "$ac_res" != no; then :
16775 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16777 else
16778 USE_NLS=no
16782 if test $USE_NLS = yes; then
16784 $as_echo "#define _GLIBCXX_USE_NLS 1" >>confdefs.h
16803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::allocator base class" >&5
16804 $as_echo_n "checking for std::allocator base class... " >&6; }
16805 # Check whether --enable-libstdcxx-allocator was given.
16806 if test "${enable_libstdcxx_allocator+set}" = set; then :
16807 enableval=$enable_libstdcxx_allocator;
16808 case "$enableval" in
16809 new|malloc|mt|bitmap|pool|yes|no|auto) ;;
16810 *) as_fn_error $? "Unknown argument to enable/disable libstdcxx-allocator" "$LINENO" 5 ;;
16811 esac
16813 else
16814 enable_libstdcxx_allocator=auto
16819 # If they didn't use this option switch, or if they specified --enable
16820 # with no specific model, we'll have to look for one. If they
16821 # specified --disable (???), do likewise.
16822 if test $enable_libstdcxx_allocator = no ||
16823 test $enable_libstdcxx_allocator = yes;
16824 then
16825 enable_libstdcxx_allocator=auto
16828 # Either a known package, or "auto". Auto implies the default choice
16829 # for a particular platform.
16830 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
16832 # Probe for host-specific support if no specific model is specified.
16833 # Default to "new".
16834 if test $enable_libstdcxx_allocator_flag = auto; then
16835 case ${target_os} in
16836 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16837 enable_libstdcxx_allocator_flag=new
16840 enable_libstdcxx_allocator_flag=new
16842 esac
16844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_allocator_flag" >&5
16845 $as_echo "$enable_libstdcxx_allocator_flag" >&6; }
16848 # Set configure bits for specified locale package
16849 case ${enable_libstdcxx_allocator_flag} in
16850 bitmap)
16851 ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
16852 ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
16854 malloc)
16855 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
16856 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
16859 ALLOCATOR_H=config/allocator/mt_allocator_base.h
16860 ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
16862 new)
16863 ALLOCATOR_H=config/allocator/new_allocator_base.h
16864 ALLOCATOR_NAME=__gnu_cxx::new_allocator
16866 pool)
16867 ALLOCATOR_H=config/allocator/pool_allocator_base.h
16868 ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
16870 esac
16877 # Check whether --enable-cheaders-obsolete was given.
16878 if test "${enable_cheaders_obsolete+set}" = set; then :
16879 enableval=$enable_cheaders_obsolete;
16880 case "$enableval" in
16881 yes|no) ;;
16882 *) as_fn_error $? "Argument to enable/disable cheaders-obsolete must be yes or no" "$LINENO" 5 ;;
16883 esac
16885 else
16886 enable_cheaders_obsolete=no
16890 # Check whether --enable-cheaders was given.
16891 if test "${enable_cheaders+set}" = set; then :
16892 enableval=$enable_cheaders;
16893 case "$enableval" in
16894 c|c_global|c_std) ;;
16895 *) as_fn_error $? "Unknown argument to enable/disable cheaders" "$LINENO" 5 ;;
16896 esac
16898 else
16899 enable_cheaders=$c_model
16903 { $as_echo "$as_me:${as_lineno-$LINENO}: \"C\" header strategy set to $enable_cheaders" >&5
16904 $as_echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
16905 if test $enable_cheaders = c_std ; then
16906 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: the --enable-cheaders=c_std configuration is obsolete, c_global should be used instead" >&5
16907 $as_echo "$as_me: WARNING: the --enable-cheaders=c_std configuration is obsolete, c_global should be used instead" >&2;}
16908 { $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
16909 $as_echo "$as_me: WARNING: if you are unable to use c_global please report a bug or inform libstdc++@gcc.gnu.org" >&2;}
16910 if test $enable_cheaders_obsolete != yes ; then
16911 as_fn_error $? "use --enable-cheaders-obsolete to use c_std \"C\" headers" "$LINENO" 5
16915 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
16917 # Allow overrides to configure.host here.
16918 if test $enable_cheaders = c_global; then
16919 c_compatibility=yes
16928 # Check whether --enable-long-long was given.
16929 if test "${enable_long_long+set}" = set; then :
16930 enableval=$enable_long_long;
16931 case "$enableval" in
16932 yes|no) ;;
16933 *) as_fn_error $? "Argument to enable/disable long-long must be yes or no" "$LINENO" 5 ;;
16934 esac
16936 else
16937 enable_long_long=yes
16941 if test $enable_long_long = yes; then
16943 $as_echo "#define _GLIBCXX_USE_LONG_LONG 1" >>confdefs.h
16946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled long long specializations" >&5
16947 $as_echo_n "checking for enabled long long specializations... " >&6; }
16948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_long_long" >&5
16949 $as_echo "$enable_long_long" >&6; }
16952 # Check whether --enable-wchar_t was given.
16953 if test "${enable_wchar_t+set}" = set; then :
16954 enableval=$enable_wchar_t;
16955 case "$enableval" in
16956 yes|no) ;;
16957 *) as_fn_error $? "Argument to enable/disable wchar_t must be yes or no" "$LINENO" 5 ;;
16958 esac
16960 else
16961 enable_wchar_t=yes
16966 # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
16967 for ac_header in wchar.h
16968 do :
16969 ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
16970 if test "x$ac_cv_header_wchar_h" = xyes; then :
16971 cat >>confdefs.h <<_ACEOF
16972 #define HAVE_WCHAR_H 1
16973 _ACEOF
16974 ac_has_wchar_h=yes
16975 else
16976 ac_has_wchar_h=no
16979 done
16981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
16982 $as_echo_n "checking for mbstate_t... " >&6; }
16983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16984 /* end confdefs.h. */
16985 #include <wchar.h>
16987 main ()
16989 mbstate_t teststate;
16991 return 0;
16993 _ACEOF
16994 if ac_fn_c_try_compile "$LINENO"; then :
16995 have_mbstate_t=yes
16996 else
16997 have_mbstate_t=no
16999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_mbstate_t" >&5
17001 $as_echo "$have_mbstate_t" >&6; }
17002 if test x"$have_mbstate_t" = xyes; then
17004 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
17008 # Test it always, for use in GLIBCXX_ENABLE_C99, together with
17009 # ac_has_wchar_h.
17010 for ac_header in wctype.h
17011 do :
17012 ac_fn_c_check_header_mongrel "$LINENO" "wctype.h" "ac_cv_header_wctype_h" "$ac_includes_default"
17013 if test "x$ac_cv_header_wctype_h" = xyes; then :
17014 cat >>confdefs.h <<_ACEOF
17015 #define HAVE_WCTYPE_H 1
17016 _ACEOF
17017 ac_has_wctype_h=yes
17018 else
17019 ac_has_wctype_h=no
17022 done
17025 if test x"$enable_wchar_t" = x"yes"; then
17028 ac_ext=cpp
17029 ac_cpp='$CXXCPP $CPPFLAGS'
17030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17031 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17035 if test x"$ac_has_wchar_h" = xyes &&
17036 test x"$ac_has_wctype_h" = xyes; then
17037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17038 /* end confdefs.h. */
17039 #include <wchar.h>
17040 #include <stddef.h>
17041 wint_t i;
17042 long l = WEOF;
17043 long j = WCHAR_MIN;
17044 long k = WCHAR_MAX;
17045 namespace test
17047 using ::btowc;
17048 using ::fgetwc;
17049 using ::fgetws;
17050 using ::fputwc;
17051 using ::fputws;
17052 using ::fwide;
17053 using ::fwprintf;
17054 using ::fwscanf;
17055 using ::getwc;
17056 using ::getwchar;
17057 using ::mbrlen;
17058 using ::mbrtowc;
17059 using ::mbsinit;
17060 using ::mbsrtowcs;
17061 using ::putwc;
17062 using ::putwchar;
17063 using ::swprintf;
17064 using ::swscanf;
17065 using ::ungetwc;
17066 using ::vfwprintf;
17067 using ::vswprintf;
17068 using ::vwprintf;
17069 using ::wcrtomb;
17070 using ::wcscat;
17071 using ::wcschr;
17072 using ::wcscmp;
17073 using ::wcscoll;
17074 using ::wcscpy;
17075 using ::wcscspn;
17076 using ::wcsftime;
17077 using ::wcslen;
17078 using ::wcsncat;
17079 using ::wcsncmp;
17080 using ::wcsncpy;
17081 using ::wcspbrk;
17082 using ::wcsrchr;
17083 using ::wcsrtombs;
17084 using ::wcsspn;
17085 using ::wcsstr;
17086 using ::wcstod;
17087 using ::wcstok;
17088 using ::wcstol;
17089 using ::wcstoul;
17090 using ::wcsxfrm;
17091 using ::wctob;
17092 using ::wmemchr;
17093 using ::wmemcmp;
17094 using ::wmemcpy;
17095 using ::wmemmove;
17096 using ::wmemset;
17097 using ::wprintf;
17098 using ::wscanf;
17102 main ()
17106 return 0;
17108 _ACEOF
17109 if ac_fn_cxx_try_compile "$LINENO"; then :
17111 else
17112 enable_wchar_t=no
17114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17115 else
17116 enable_wchar_t=no
17119 ac_ext=c
17120 ac_cpp='$CPP $CPPFLAGS'
17121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17127 if test x"$enable_wchar_t" = x"yes"; then
17129 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
17133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled wchar_t specializations" >&5
17134 $as_echo_n "checking for enabled wchar_t specializations... " >&6; }
17135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_wchar_t" >&5
17136 $as_echo "$enable_wchar_t" >&6; }
17140 # Check whether --enable-c99 was given.
17141 if test "${enable_c99+set}" = set; then :
17142 enableval=$enable_c99;
17143 case "$enableval" in
17144 yes|no) ;;
17145 *) as_fn_error $? "Argument to enable/disable c99 must be yes or no" "$LINENO" 5 ;;
17146 esac
17148 else
17149 enable_c99=yes
17154 if test x"$enable_c99" = x"yes"; then
17156 ac_ext=cpp
17157 ac_cpp='$CXXCPP $CPPFLAGS'
17158 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17159 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17160 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17163 # Use -std=c++98 (instead of -std=gnu++98) because leaving __STRICT_ANSI__
17164 # undefined may cause fake C99 facilities, like pre-standard snprintf,
17165 # to be spuriously enabled.
17166 ac_save_CXXFLAGS="$CXXFLAGS"
17167 CXXFLAGS="$CXXFLAGS -std=c++98"
17168 ac_save_LIBS="$LIBS"
17169 ac_save_gcc_no_link="$gcc_no_link"
17171 if test x$gcc_no_link != xyes; then
17172 # Use -fno-exceptions to that the C driver can link these tests without
17173 # hitting undefined references to personality routines.
17174 CXXFLAGS="$CXXFLAGS -fno-exceptions"
17175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
17176 $as_echo_n "checking for sin in -lm... " >&6; }
17177 if ${ac_cv_lib_m_sin+:} false; then :
17178 $as_echo_n "(cached) " >&6
17179 else
17180 ac_check_lib_save_LIBS=$LIBS
17181 LIBS="-lm $LIBS"
17182 if test x$gcc_no_link = xyes; then
17183 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17186 /* end confdefs.h. */
17188 /* Override any GCC internal prototype to avoid an error.
17189 Use char because int might match the return type of a GCC
17190 builtin and then its argument prototype would still apply. */
17191 #ifdef __cplusplus
17192 extern "C"
17193 #endif
17194 char sin ();
17196 main ()
17198 return sin ();
17200 return 0;
17202 _ACEOF
17203 if ac_fn_cxx_try_link "$LINENO"; then :
17204 ac_cv_lib_m_sin=yes
17205 else
17206 ac_cv_lib_m_sin=no
17208 rm -f core conftest.err conftest.$ac_objext \
17209 conftest$ac_exeext conftest.$ac_ext
17210 LIBS=$ac_check_lib_save_LIBS
17212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
17213 $as_echo "$ac_cv_lib_m_sin" >&6; }
17214 if test "x$ac_cv_lib_m_sin" = xyes; then :
17215 LIBS="$LIBS -lm"
17216 else
17218 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
17219 gcc_no_link=yes
17225 # Check for the existence of <math.h> functions used if C99 is enabled.
17226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h> for C++98" >&5
17227 $as_echo_n "checking for ISO C99 support in <math.h> for C++98... " >&6; }
17228 if ${glibcxx_cv_c99_math_cxx98+:} false; then :
17229 $as_echo_n "(cached) " >&6
17230 else
17232 if test x$gcc_no_link = xyes; then
17233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17234 /* end confdefs.h. */
17235 #include <math.h>
17236 volatile double d1, d2;
17237 volatile int i;
17239 main ()
17241 i = fpclassify(d1);
17242 i = isfinite(d1);
17243 i = isinf(d1);
17244 i = isnan(d1);
17245 i = isnormal(d1);
17246 i = signbit(d1);
17247 i = isgreater(d1, d2);
17248 i = isgreaterequal(d1, d2);
17249 i = isless(d1, d2);
17250 i = islessequal(d1, d2);
17251 i = islessgreater(d1, d2);
17252 i = islessgreater(d1, d2);
17253 i = isunordered(d1, d2);
17256 return 0;
17258 _ACEOF
17259 if ac_fn_cxx_try_compile "$LINENO"; then :
17260 glibcxx_cv_c99_math_cxx98=yes
17261 else
17262 glibcxx_cv_c99_math_cxx98=no
17264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17265 else
17266 if test x$gcc_no_link = xyes; then
17267 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17270 /* end confdefs.h. */
17271 #include <math.h>
17272 volatile double d1, d2;
17273 volatile int i;
17275 main ()
17277 i = fpclassify(d1);
17278 i = isfinite(d1);
17279 i = isinf(d1);
17280 i = isnan(d1);
17281 i = isnormal(d1);
17282 i = signbit(d1);
17283 i = isgreater(d1, d2);
17284 i = isgreaterequal(d1, d2);
17285 i = isless(d1, d2);
17286 i = islessequal(d1, d2);
17287 i = islessgreater(d1, d2);
17288 i = islessgreater(d1, d2);
17289 i = isunordered(d1, d2);
17292 return 0;
17294 _ACEOF
17295 if ac_fn_cxx_try_link "$LINENO"; then :
17296 glibcxx_cv_c99_math_cxx98=yes
17297 else
17298 glibcxx_cv_c99_math_cxx98=no
17300 rm -f core conftest.err conftest.$ac_objext \
17301 conftest$ac_exeext conftest.$ac_ext
17306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_cxx98" >&5
17307 $as_echo "$glibcxx_cv_c99_math_cxx98" >&6; }
17308 if test x"$glibcxx_cv_c99_math_cxx98" = x"yes"; then
17310 $as_echo "#define _GLIBCXX98_USE_C99_MATH 1" >>confdefs.h
17314 # Check for the existence of <complex.h> complex math functions.
17315 # This is necessary even though libstdc++ uses the builtin versions
17316 # of these functions, because if the builtin cannot be used, a reference
17317 # to the library function is emitted.
17318 for ac_header in tgmath.h
17319 do :
17320 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
17321 if test "x$ac_cv_header_tgmath_h" = xyes; then :
17322 cat >>confdefs.h <<_ACEOF
17323 #define HAVE_TGMATH_H 1
17324 _ACEOF
17325 ac_has_tgmath_h=yes
17326 else
17327 ac_has_tgmath_h=no
17330 done
17332 for ac_header in complex.h
17333 do :
17334 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
17335 if test "x$ac_cv_header_complex_h" = xyes; then :
17336 cat >>confdefs.h <<_ACEOF
17337 #define HAVE_COMPLEX_H 1
17338 _ACEOF
17339 ac_has_complex_h=yes
17340 else
17341 ac_has_complex_h=no
17344 done
17346 if test x"$ac_has_complex_h" = x"yes"; then
17347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h> for C++98" >&5
17348 $as_echo_n "checking for ISO C99 support in <complex.h> for C++98... " >&6; }
17349 if ${glibcxx_cv_c99_complex_cxx98+:} false; then :
17350 $as_echo_n "(cached) " >&6
17351 else
17353 if test x$gcc_no_link = xyes; then
17354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17355 /* end confdefs.h. */
17356 #include <complex.h>
17357 typedef __complex__ float float_type;
17358 typedef __complex__ double double_type;
17359 typedef __complex__ long double ld_type;
17360 volatile float_type tmpf;
17361 volatile double_type tmpd;
17362 volatile ld_type tmpld;
17363 volatile float f;
17364 volatile double d;
17365 volatile long double ld;
17367 main ()
17369 f = cabsf(tmpf);
17370 f = cargf(tmpf);
17371 tmpf = ccosf(tmpf);
17372 tmpf = ccoshf(tmpf);
17373 tmpf = cexpf(tmpf);
17374 tmpf = clogf(tmpf);
17375 tmpf = csinf(tmpf);
17376 tmpf = csinhf(tmpf);
17377 tmpf = csqrtf(tmpf);
17378 tmpf = ctanf(tmpf);
17379 tmpf = ctanhf(tmpf);
17380 tmpf = cpowf(tmpf, tmpf);
17381 tmpf = cprojf(tmpf);
17382 d = cabs(tmpd);
17383 d = carg(tmpd);
17384 tmpd = ccos(tmpd);
17385 tmpd = ccosh(tmpd);
17386 tmpd = cexp(tmpd);
17387 tmpd = clog(tmpd);
17388 tmpd = csin(tmpd);
17389 tmpd = csinh(tmpd);
17390 tmpd = csqrt(tmpd);
17391 tmpd = ctan(tmpd);
17392 tmpd = ctanh(tmpd);
17393 tmpd = cpow(tmpd, tmpd);
17394 tmpd = cproj(tmpd);
17395 ld = cabsl(tmpld);
17396 ld = cargl(tmpld);
17397 tmpld = ccosl(tmpld);
17398 tmpld = ccoshl(tmpld);
17399 tmpld = cexpl(tmpld);
17400 tmpld = clogl(tmpld);
17401 tmpld = csinl(tmpld);
17402 tmpld = csinhl(tmpld);
17403 tmpld = csqrtl(tmpld);
17404 tmpld = ctanl(tmpld);
17405 tmpld = ctanhl(tmpld);
17406 tmpld = cpowl(tmpld, tmpld);
17407 tmpld = cprojl(tmpld);
17410 return 0;
17412 _ACEOF
17413 if ac_fn_cxx_try_compile "$LINENO"; then :
17414 glibcxx_cv_c99_complex_cxx98=yes
17415 else
17416 glibcxx_cv_c99_complex_cxx98=no
17418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17419 else
17420 if test x$gcc_no_link = xyes; then
17421 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17424 /* end confdefs.h. */
17425 #include <complex.h>
17426 typedef __complex__ float float_type;
17427 typedef __complex__ double double_type;
17428 typedef __complex__ long double ld_type;
17429 volatile float_type tmpf;
17430 volatile double_type tmpd;
17431 volatile ld_type tmpld;
17432 volatile float f;
17433 volatile double d;
17434 volatile long double ld;
17436 main ()
17438 f = cabsf(tmpf);
17439 f = cargf(tmpf);
17440 tmpf = ccosf(tmpf);
17441 tmpf = ccoshf(tmpf);
17442 tmpf = cexpf(tmpf);
17443 tmpf = clogf(tmpf);
17444 tmpf = csinf(tmpf);
17445 tmpf = csinhf(tmpf);
17446 tmpf = csqrtf(tmpf);
17447 tmpf = ctanf(tmpf);
17448 tmpf = ctanhf(tmpf);
17449 tmpf = cpowf(tmpf, tmpf);
17450 tmpf = cprojf(tmpf);
17451 d = cabs(tmpd);
17452 d = carg(tmpd);
17453 tmpd = ccos(tmpd);
17454 tmpd = ccosh(tmpd);
17455 tmpd = cexp(tmpd);
17456 tmpd = clog(tmpd);
17457 tmpd = csin(tmpd);
17458 tmpd = csinh(tmpd);
17459 tmpd = csqrt(tmpd);
17460 tmpd = ctan(tmpd);
17461 tmpd = ctanh(tmpd);
17462 tmpd = cpow(tmpd, tmpd);
17463 tmpd = cproj(tmpd);
17464 ld = cabsl(tmpld);
17465 ld = cargl(tmpld);
17466 tmpld = ccosl(tmpld);
17467 tmpld = ccoshl(tmpld);
17468 tmpld = cexpl(tmpld);
17469 tmpld = clogl(tmpld);
17470 tmpld = csinl(tmpld);
17471 tmpld = csinhl(tmpld);
17472 tmpld = csqrtl(tmpld);
17473 tmpld = ctanl(tmpld);
17474 tmpld = ctanhl(tmpld);
17475 tmpld = cpowl(tmpld, tmpld);
17476 tmpld = cprojl(tmpld);
17479 return 0;
17481 _ACEOF
17482 if ac_fn_cxx_try_link "$LINENO"; then :
17483 glibcxx_cv_c99_complex_cxx98=yes
17484 else
17485 glibcxx_cv_c99_complex_cxx98=no
17487 rm -f core conftest.err conftest.$ac_objext \
17488 conftest$ac_exeext conftest.$ac_ext
17494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex_cxx98" >&5
17495 $as_echo "$glibcxx_cv_c99_complex_cxx98" >&6; }
17496 if test x"$glibcxx_cv_c99_complex_cxx98" = x"yes"; then
17498 $as_echo "#define _GLIBCXX98_USE_C99_COMPLEX 1" >>confdefs.h
17502 # Check for the existence in <stdio.h> of vscanf, et. al.
17503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h> for C++98" >&5
17504 $as_echo_n "checking for ISO C99 support in <stdio.h> for C++98... " >&6; }
17505 if ${glibcxx_cv_c99_stdio_cxx98+:} false; then :
17506 $as_echo_n "(cached) " >&6
17507 else
17509 if test x$gcc_no_link = xyes; then
17510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17511 /* end confdefs.h. */
17512 #include <stdio.h>
17513 #include <stdarg.h>
17514 void foo(char* fmt, ...)
17516 va_list args; va_start(args, fmt);
17517 vfscanf(stderr, "%i", args);
17518 vscanf("%i", args);
17519 vsnprintf(fmt, 0, "%i", args);
17520 vsscanf(fmt, "%i", args);
17521 snprintf(fmt, 0, "%i");
17524 main ()
17528 return 0;
17530 _ACEOF
17531 if ac_fn_cxx_try_compile "$LINENO"; then :
17532 glibcxx_cv_c99_stdio_cxx98=yes
17533 else
17534 glibcxx_cv_c99_stdio_cxx98=no
17536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17537 else
17538 if test x$gcc_no_link = xyes; then
17539 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17542 /* end confdefs.h. */
17543 #include <stdio.h>
17544 #include <stdarg.h>
17545 void foo(char* fmt, ...)
17547 va_list args; va_start(args, fmt);
17548 vfscanf(stderr, "%i", args);
17549 vscanf("%i", args);
17550 vsnprintf(fmt, 0, "%i", args);
17551 vsscanf(fmt, "%i", args);
17552 snprintf(fmt, 0, "%i");
17555 main ()
17559 return 0;
17561 _ACEOF
17562 if ac_fn_cxx_try_link "$LINENO"; then :
17563 glibcxx_cv_c99_stdio_cxx98=yes
17564 else
17565 glibcxx_cv_c99_stdio_cxx98=no
17567 rm -f core conftest.err conftest.$ac_objext \
17568 conftest$ac_exeext conftest.$ac_ext
17573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio_cxx98" >&5
17574 $as_echo "$glibcxx_cv_c99_stdio_cxx98" >&6; }
17575 if test x"$glibcxx_cv_c99_stdio_cxx98" = x"yes"; then
17577 $as_echo "#define _GLIBCXX98_USE_C99_STDIO 1" >>confdefs.h
17581 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
17582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h> for C++98" >&5
17583 $as_echo_n "checking for ISO C99 support in <stdlib.h> for C++98... " >&6; }
17584 if ${glibcxx_cv_c99_stdlib_cxx98+:} false; then :
17585 $as_echo_n "(cached) " >&6
17586 else
17588 if test x$gcc_no_link = xyes; then
17589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17590 /* end confdefs.h. */
17591 #include <stdlib.h>
17592 volatile float f;
17593 volatile long double ld;
17594 volatile unsigned long long ll;
17595 lldiv_t mydivt;
17597 main ()
17599 char* tmp;
17600 f = strtof("gnu", &tmp);
17601 ld = strtold("gnu", &tmp);
17602 ll = strtoll("gnu", &tmp, 10);
17603 ll = strtoull("gnu", &tmp, 10);
17604 ll = llabs(10);
17605 mydivt = lldiv(10,1);
17606 ll = mydivt.quot;
17607 ll = mydivt.rem;
17608 ll = atoll("10");
17609 _Exit(0);
17612 return 0;
17614 _ACEOF
17615 if ac_fn_cxx_try_compile "$LINENO"; then :
17616 glibcxx_cv_c99_stdlib_cxx98=yes
17617 else
17618 glibcxx_cv_c99_stdlib_cxx98=no
17620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17621 else
17622 if test x$gcc_no_link = xyes; then
17623 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17626 /* end confdefs.h. */
17627 #include <stdlib.h>
17628 volatile float f;
17629 volatile long double ld;
17630 volatile unsigned long long ll;
17631 lldiv_t mydivt;
17633 main ()
17635 char* tmp;
17636 f = strtof("gnu", &tmp);
17637 ld = strtold("gnu", &tmp);
17638 ll = strtoll("gnu", &tmp, 10);
17639 ll = strtoull("gnu", &tmp, 10);
17640 ll = llabs(10);
17641 mydivt = lldiv(10,1);
17642 ll = mydivt.quot;
17643 ll = mydivt.rem;
17644 ll = atoll("10");
17645 _Exit(0);
17648 return 0;
17650 _ACEOF
17651 if ac_fn_cxx_try_link "$LINENO"; then :
17652 glibcxx_cv_c99_stdlib_cxx98=yes
17653 else
17654 glibcxx_cv_c99_stdlib_cxx98=no
17656 rm -f core conftest.err conftest.$ac_objext \
17657 conftest$ac_exeext conftest.$ac_ext
17662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib_cxx98" >&5
17663 $as_echo "$glibcxx_cv_c99_stdlib_cxx98" >&6; }
17664 if test x"$glibcxx_cv_c99_stdlib_cxx98" = x"yes"; then
17666 $as_echo "#define _GLIBCXX98_USE_C99_STDLIB 1" >>confdefs.h
17670 # Check for the existence in <wchar.h> of wcstold, etc.
17671 if test x"$ac_has_wchar_h" = xyes &&
17672 test x"$ac_has_wctype_h" = xyes; then
17673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h> for C++98" >&5
17674 $as_echo_n "checking for ISO C99 support in <wchar.h> for C++98... " >&6; }
17675 if ${glibcxx_cv_c99_wchar_cxx98+:} false; then :
17676 $as_echo_n "(cached) " >&6
17677 else
17679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17680 /* end confdefs.h. */
17681 #include <wchar.h>
17682 namespace test
17684 using ::wcstold;
17685 using ::wcstoll;
17686 using ::wcstoull;
17690 main ()
17694 return 0;
17696 _ACEOF
17697 if ac_fn_cxx_try_compile "$LINENO"; then :
17698 glibcxx_cv_c99_wchar_cxx98=yes
17699 else
17700 glibcxx_cv_c99_wchar_cxx98=no
17702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17707 # Checks for wide character functions that may not be present.
17708 # Injection of these is wrapped with guard macros.
17709 # NB: only put functions here, instead of immediately above, if
17710 # absolutely necessary.
17711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17712 /* end confdefs.h. */
17713 #include <wchar.h>
17714 namespace test { using ::vfwscanf; }
17716 main ()
17720 return 0;
17722 _ACEOF
17723 if ac_fn_cxx_try_compile "$LINENO"; then :
17725 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
17728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17731 /* end confdefs.h. */
17732 #include <wchar.h>
17733 namespace test { using ::vswscanf; }
17735 main ()
17739 return 0;
17741 _ACEOF
17742 if ac_fn_cxx_try_compile "$LINENO"; then :
17744 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
17747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17750 /* end confdefs.h. */
17751 #include <wchar.h>
17752 namespace test { using ::vwscanf; }
17754 main ()
17758 return 0;
17760 _ACEOF
17761 if ac_fn_cxx_try_compile "$LINENO"; then :
17763 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
17766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17769 /* end confdefs.h. */
17770 #include <wchar.h>
17771 namespace test { using ::wcstof; }
17773 main ()
17777 return 0;
17779 _ACEOF
17780 if ac_fn_cxx_try_compile "$LINENO"; then :
17782 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
17785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17788 /* end confdefs.h. */
17789 #include <wctype.h>
17791 main ()
17793 wint_t t; int i = iswblank(t);
17795 return 0;
17797 _ACEOF
17798 if ac_fn_cxx_try_compile "$LINENO"; then :
17800 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
17803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar_cxx98" >&5
17806 $as_echo "$glibcxx_cv_c99_wchar_cxx98" >&6; }
17807 if test x"$glibcxx_cv_c99_wchar_cxx98" = x"yes"; then
17809 $as_echo "#define _GLIBCXX98_USE_C99_WCHAR 1" >>confdefs.h
17814 # Option parsed, now set things appropriately.
17815 if test x"$glibcxx_cv_c99_math_cxx98" = x"no" ||
17816 test x"$glibcxx_cv_c99_complex_cxx98" = x"no" ||
17817 test x"$glibcxx_cv_c99_stdio_cxx98" = x"no" ||
17818 test x"$glibcxx_cv_c99_stdlib_cxx98" = x"no" ||
17819 test x"$glibcxx_cv_c99_wchar_cxx98" = x"no"; then
17820 enable_c99=no;
17821 else
17823 $as_echo "#define _GLIBCXX_USE_C99 1" >>confdefs.h
17827 gcc_no_link="$ac_save_gcc_no_link"
17828 LIBS="$ac_save_LIBS"
17829 CXXFLAGS="$ac_save_CXXFLAGS"
17830 ac_ext=c
17831 ac_cpp='$CPP $CPPFLAGS'
17832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17838 ac_ext=cpp
17839 ac_cpp='$CXXCPP $CPPFLAGS'
17840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17845 # Use -std=c++11 and test again for C99 library feature in C++11 mode.
17846 # For the reasons given above we use -std=c++11 not -std=gnu++11.
17847 ac_save_CXXFLAGS="$CXXFLAGS"
17848 CXXFLAGS="$CXXFLAGS -std=c++11"
17849 ac_save_LIBS="$LIBS"
17850 ac_save_gcc_no_link="$gcc_no_link"
17852 if test x$gcc_no_link != xyes; then
17853 # Use -fno-exceptions to that the C driver can link these tests without
17854 # hitting undefined references to personality routines.
17855 CXXFLAGS="$CXXFLAGS -fno-exceptions"
17856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
17857 $as_echo_n "checking for sin in -lm... " >&6; }
17858 if ${ac_cv_lib_m_sin+:} false; then :
17859 $as_echo_n "(cached) " >&6
17860 else
17861 ac_check_lib_save_LIBS=$LIBS
17862 LIBS="-lm $LIBS"
17863 if test x$gcc_no_link = xyes; then
17864 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17867 /* end confdefs.h. */
17869 /* Override any GCC internal prototype to avoid an error.
17870 Use char because int might match the return type of a GCC
17871 builtin and then its argument prototype would still apply. */
17872 #ifdef __cplusplus
17873 extern "C"
17874 #endif
17875 char sin ();
17877 main ()
17879 return sin ();
17881 return 0;
17883 _ACEOF
17884 if ac_fn_cxx_try_link "$LINENO"; then :
17885 ac_cv_lib_m_sin=yes
17886 else
17887 ac_cv_lib_m_sin=no
17889 rm -f core conftest.err conftest.$ac_objext \
17890 conftest$ac_exeext conftest.$ac_ext
17891 LIBS=$ac_check_lib_save_LIBS
17893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
17894 $as_echo "$ac_cv_lib_m_sin" >&6; }
17895 if test "x$ac_cv_lib_m_sin" = xyes; then :
17896 LIBS="$LIBS -lm"
17897 else
17899 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
17900 gcc_no_link=yes
17906 # Check for the existence of <math.h> functions used if C99 is enabled.
17907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h> for C++11" >&5
17908 $as_echo_n "checking for ISO C99 support in <math.h> for C++11... " >&6; }
17909 if ${glibcxx_cv_c99_math_cxx11+:} false; then :
17910 $as_echo_n "(cached) " >&6
17911 else
17913 if test x$gcc_no_link = xyes; then
17914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17915 /* end confdefs.h. */
17916 #include <math.h>
17917 volatile double d1, d2;
17918 volatile int i;
17920 main ()
17922 i = fpclassify(d1);
17923 i = isfinite(d1);
17924 i = isinf(d1);
17925 i = isnan(d1);
17926 i = isnormal(d1);
17927 i = signbit(d1);
17928 i = isgreater(d1, d2);
17929 i = isgreaterequal(d1, d2);
17930 i = isless(d1, d2);
17931 i = islessequal(d1, d2);
17932 i = islessgreater(d1, d2);
17933 i = islessgreater(d1, d2);
17934 i = isunordered(d1, d2);
17937 return 0;
17939 _ACEOF
17940 if ac_fn_cxx_try_compile "$LINENO"; then :
17941 glibcxx_cv_c99_math_cxx11=yes
17942 else
17943 glibcxx_cv_c99_math_cxx11=no
17945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17946 else
17947 if test x$gcc_no_link = xyes; then
17948 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17951 /* end confdefs.h. */
17952 #include <math.h>
17953 volatile double d1, d2;
17954 volatile int i;
17956 main ()
17958 i = fpclassify(d1);
17959 i = isfinite(d1);
17960 i = isinf(d1);
17961 i = isnan(d1);
17962 i = isnormal(d1);
17963 i = signbit(d1);
17964 i = isgreater(d1, d2);
17965 i = isgreaterequal(d1, d2);
17966 i = isless(d1, d2);
17967 i = islessequal(d1, d2);
17968 i = islessgreater(d1, d2);
17969 i = islessgreater(d1, d2);
17970 i = isunordered(d1, d2);
17973 return 0;
17975 _ACEOF
17976 if ac_fn_cxx_try_link "$LINENO"; then :
17977 glibcxx_cv_c99_math_cxx11=yes
17978 else
17979 glibcxx_cv_c99_math_cxx11=no
17981 rm -f core conftest.err conftest.$ac_objext \
17982 conftest$ac_exeext conftest.$ac_ext
17987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_cxx11" >&5
17988 $as_echo "$glibcxx_cv_c99_math_cxx11" >&6; }
17989 if test x"$glibcxx_cv_c99_math_cxx11" = x"yes"; then
17991 $as_echo "#define _GLIBCXX11_USE_C99_MATH 1" >>confdefs.h
17995 # Check for the existence of <complex.h> complex math functions.
17996 # This is necessary even though libstdc++ uses the builtin versions
17997 # of these functions, because if the builtin cannot be used, a reference
17998 # to the library function is emitted.
17999 for ac_header in tgmath.h
18000 do :
18001 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
18002 if test "x$ac_cv_header_tgmath_h" = xyes; then :
18003 cat >>confdefs.h <<_ACEOF
18004 #define HAVE_TGMATH_H 1
18005 _ACEOF
18006 ac_has_tgmath_h=yes
18007 else
18008 ac_has_tgmath_h=no
18011 done
18013 for ac_header in complex.h
18014 do :
18015 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
18016 if test "x$ac_cv_header_complex_h" = xyes; then :
18017 cat >>confdefs.h <<_ACEOF
18018 #define HAVE_COMPLEX_H 1
18019 _ACEOF
18020 ac_has_complex_h=yes
18021 else
18022 ac_has_complex_h=no
18025 done
18027 if test x"$ac_has_complex_h" = x"yes"; then
18028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h> for C++11" >&5
18029 $as_echo_n "checking for ISO C99 support in <complex.h> for C++11... " >&6; }
18030 if ${glibcxx_cv_c99_complex_cxx11+:} false; then :
18031 $as_echo_n "(cached) " >&6
18032 else
18034 if test x$gcc_no_link = xyes; then
18035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18036 /* end confdefs.h. */
18037 #include <complex.h>
18038 typedef __complex__ float float_type;
18039 typedef __complex__ double double_type;
18040 typedef __complex__ long double ld_type;
18041 volatile float_type tmpf;
18042 volatile double_type tmpd;
18043 volatile ld_type tmpld;
18044 volatile float f;
18045 volatile double d;
18046 volatile long double ld;
18048 main ()
18050 f = cabsf(tmpf);
18051 f = cargf(tmpf);
18052 tmpf = ccosf(tmpf);
18053 tmpf = ccoshf(tmpf);
18054 tmpf = cexpf(tmpf);
18055 tmpf = clogf(tmpf);
18056 tmpf = csinf(tmpf);
18057 tmpf = csinhf(tmpf);
18058 tmpf = csqrtf(tmpf);
18059 tmpf = ctanf(tmpf);
18060 tmpf = ctanhf(tmpf);
18061 tmpf = cpowf(tmpf, tmpf);
18062 tmpf = cprojf(tmpf);
18063 d = cabs(tmpd);
18064 d = carg(tmpd);
18065 tmpd = ccos(tmpd);
18066 tmpd = ccosh(tmpd);
18067 tmpd = cexp(tmpd);
18068 tmpd = clog(tmpd);
18069 tmpd = csin(tmpd);
18070 tmpd = csinh(tmpd);
18071 tmpd = csqrt(tmpd);
18072 tmpd = ctan(tmpd);
18073 tmpd = ctanh(tmpd);
18074 tmpd = cpow(tmpd, tmpd);
18075 tmpd = cproj(tmpd);
18076 ld = cabsl(tmpld);
18077 ld = cargl(tmpld);
18078 tmpld = ccosl(tmpld);
18079 tmpld = ccoshl(tmpld);
18080 tmpld = cexpl(tmpld);
18081 tmpld = clogl(tmpld);
18082 tmpld = csinl(tmpld);
18083 tmpld = csinhl(tmpld);
18084 tmpld = csqrtl(tmpld);
18085 tmpld = ctanl(tmpld);
18086 tmpld = ctanhl(tmpld);
18087 tmpld = cpowl(tmpld, tmpld);
18088 tmpld = cprojl(tmpld);
18091 return 0;
18093 _ACEOF
18094 if ac_fn_cxx_try_compile "$LINENO"; then :
18095 glibcxx_cv_c99_complex_cxx11=yes
18096 else
18097 glibcxx_cv_c99_complex_cxx11=no
18099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18100 else
18101 if test x$gcc_no_link = xyes; then
18102 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18105 /* end confdefs.h. */
18106 #include <complex.h>
18107 typedef __complex__ float float_type;
18108 typedef __complex__ double double_type;
18109 typedef __complex__ long double ld_type;
18110 volatile float_type tmpf;
18111 volatile double_type tmpd;
18112 volatile ld_type tmpld;
18113 volatile float f;
18114 volatile double d;
18115 volatile long double ld;
18117 main ()
18119 f = cabsf(tmpf);
18120 f = cargf(tmpf);
18121 tmpf = ccosf(tmpf);
18122 tmpf = ccoshf(tmpf);
18123 tmpf = cexpf(tmpf);
18124 tmpf = clogf(tmpf);
18125 tmpf = csinf(tmpf);
18126 tmpf = csinhf(tmpf);
18127 tmpf = csqrtf(tmpf);
18128 tmpf = ctanf(tmpf);
18129 tmpf = ctanhf(tmpf);
18130 tmpf = cpowf(tmpf, tmpf);
18131 tmpf = cprojf(tmpf);
18132 d = cabs(tmpd);
18133 d = carg(tmpd);
18134 tmpd = ccos(tmpd);
18135 tmpd = ccosh(tmpd);
18136 tmpd = cexp(tmpd);
18137 tmpd = clog(tmpd);
18138 tmpd = csin(tmpd);
18139 tmpd = csinh(tmpd);
18140 tmpd = csqrt(tmpd);
18141 tmpd = ctan(tmpd);
18142 tmpd = ctanh(tmpd);
18143 tmpd = cpow(tmpd, tmpd);
18144 tmpd = cproj(tmpd);
18145 ld = cabsl(tmpld);
18146 ld = cargl(tmpld);
18147 tmpld = ccosl(tmpld);
18148 tmpld = ccoshl(tmpld);
18149 tmpld = cexpl(tmpld);
18150 tmpld = clogl(tmpld);
18151 tmpld = csinl(tmpld);
18152 tmpld = csinhl(tmpld);
18153 tmpld = csqrtl(tmpld);
18154 tmpld = ctanl(tmpld);
18155 tmpld = ctanhl(tmpld);
18156 tmpld = cpowl(tmpld, tmpld);
18157 tmpld = cprojl(tmpld);
18160 return 0;
18162 _ACEOF
18163 if ac_fn_cxx_try_link "$LINENO"; then :
18164 glibcxx_cv_c99_complex_cxx11=yes
18165 else
18166 glibcxx_cv_c99_complex_cxx11=no
18168 rm -f core conftest.err conftest.$ac_objext \
18169 conftest$ac_exeext conftest.$ac_ext
18175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex_cxx11" >&5
18176 $as_echo "$glibcxx_cv_c99_complex_cxx11" >&6; }
18177 if test x"$glibcxx_cv_c99_complex_cxx11" = x"yes"; then
18179 $as_echo "#define _GLIBCXX11_USE_C99_COMPLEX 1" >>confdefs.h
18183 # Check for the existence in <stdio.h> of vscanf, et. al.
18184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h> for C++11" >&5
18185 $as_echo_n "checking for ISO C99 support in <stdio.h> for C++11... " >&6; }
18186 if ${glibcxx_cv_c99_stdio_cxx11+:} false; then :
18187 $as_echo_n "(cached) " >&6
18188 else
18190 if test x$gcc_no_link = xyes; then
18191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18192 /* end confdefs.h. */
18193 #include <stdio.h>
18194 #include <stdarg.h>
18195 void foo(char* fmt, ...)
18197 va_list args; va_start(args, fmt);
18198 vfscanf(stderr, "%i", args);
18199 vscanf("%i", args);
18200 vsnprintf(fmt, 0, "%i", args);
18201 vsscanf(fmt, "%i", args);
18202 snprintf(fmt, 0, "%i");
18205 main ()
18209 return 0;
18211 _ACEOF
18212 if ac_fn_cxx_try_compile "$LINENO"; then :
18213 glibcxx_cv_c99_stdio_cxx11=yes
18214 else
18215 glibcxx_cv_c99_stdio_cxx11=no
18217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18218 else
18219 if test x$gcc_no_link = xyes; then
18220 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18223 /* end confdefs.h. */
18224 #include <stdio.h>
18225 #include <stdarg.h>
18226 void foo(char* fmt, ...)
18228 va_list args; va_start(args, fmt);
18229 vfscanf(stderr, "%i", args);
18230 vscanf("%i", args);
18231 vsnprintf(fmt, 0, "%i", args);
18232 vsscanf(fmt, "%i", args);
18233 snprintf(fmt, 0, "%i");
18236 main ()
18240 return 0;
18242 _ACEOF
18243 if ac_fn_cxx_try_link "$LINENO"; then :
18244 glibcxx_cv_c99_stdio_cxx11=yes
18245 else
18246 glibcxx_cv_c99_stdio_cxx11=no
18248 rm -f core conftest.err conftest.$ac_objext \
18249 conftest$ac_exeext conftest.$ac_ext
18254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio_cxx11" >&5
18255 $as_echo "$glibcxx_cv_c99_stdio_cxx11" >&6; }
18256 if test x"$glibcxx_cv_c99_stdio_cxx11" = x"yes"; then
18258 $as_echo "#define _GLIBCXX11_USE_C99_STDIO 1" >>confdefs.h
18262 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
18263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h> for C++11" >&5
18264 $as_echo_n "checking for ISO C99 support in <stdlib.h> for C++11... " >&6; }
18265 if ${glibcxx_cv_c99_stdlib_cxx11+:} false; then :
18266 $as_echo_n "(cached) " >&6
18267 else
18269 if test x$gcc_no_link = xyes; then
18270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18271 /* end confdefs.h. */
18272 #include <stdlib.h>
18273 volatile float f;
18274 volatile long double ld;
18275 volatile unsigned long long ll;
18276 lldiv_t mydivt;
18278 main ()
18280 char* tmp;
18281 f = strtof("gnu", &tmp);
18282 ld = strtold("gnu", &tmp);
18283 ll = strtoll("gnu", &tmp, 10);
18284 ll = strtoull("gnu", &tmp, 10);
18285 ll = llabs(10);
18286 mydivt = lldiv(10,1);
18287 ll = mydivt.quot;
18288 ll = mydivt.rem;
18289 ll = atoll("10");
18290 _Exit(0);
18293 return 0;
18295 _ACEOF
18296 if ac_fn_cxx_try_compile "$LINENO"; then :
18297 glibcxx_cv_c99_stdlib_cxx11=yes
18298 else
18299 glibcxx_cv_c99_stdlib_cxx11=no
18301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18302 else
18303 if test x$gcc_no_link = xyes; then
18304 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18307 /* end confdefs.h. */
18308 #include <stdlib.h>
18309 volatile float f;
18310 volatile long double ld;
18311 volatile unsigned long long ll;
18312 lldiv_t mydivt;
18314 main ()
18316 char* tmp;
18317 f = strtof("gnu", &tmp);
18318 ld = strtold("gnu", &tmp);
18319 ll = strtoll("gnu", &tmp, 10);
18320 ll = strtoull("gnu", &tmp, 10);
18321 ll = llabs(10);
18322 mydivt = lldiv(10,1);
18323 ll = mydivt.quot;
18324 ll = mydivt.rem;
18325 ll = atoll("10");
18326 _Exit(0);
18329 return 0;
18331 _ACEOF
18332 if ac_fn_cxx_try_link "$LINENO"; then :
18333 glibcxx_cv_c99_stdlib_cxx11=yes
18334 else
18335 glibcxx_cv_c99_stdlib_cxx11=no
18337 rm -f core conftest.err conftest.$ac_objext \
18338 conftest$ac_exeext conftest.$ac_ext
18343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib_cxx11" >&5
18344 $as_echo "$glibcxx_cv_c99_stdlib_cxx11" >&6; }
18345 if test x"$glibcxx_cv_c99_stdlib_cxx11" = x"yes"; then
18347 $as_echo "#define _GLIBCXX11_USE_C99_STDLIB 1" >>confdefs.h
18351 # Check for the existence in <wchar.h> of wcstold, etc.
18352 if test x"$ac_has_wchar_h" = xyes &&
18353 test x"$ac_has_wctype_h" = xyes; then
18354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h> for C++11" >&5
18355 $as_echo_n "checking for ISO C99 support in <wchar.h> for C++11... " >&6; }
18356 if ${glibcxx_cv_c99_wchar_cxx11+:} false; then :
18357 $as_echo_n "(cached) " >&6
18358 else
18360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18361 /* end confdefs.h. */
18362 #include <wchar.h>
18363 namespace test
18365 using ::wcstold;
18366 using ::wcstoll;
18367 using ::wcstoull;
18371 main ()
18375 return 0;
18377 _ACEOF
18378 if ac_fn_cxx_try_compile "$LINENO"; then :
18379 glibcxx_cv_c99_wchar_cxx11=yes
18380 else
18381 glibcxx_cv_c99_wchar_cxx11=no
18383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18388 # Checks for wide character functions that may not be present.
18389 # Injection of these is wrapped with guard macros.
18390 # NB: only put functions here, instead of immediately above, if
18391 # absolutely necessary.
18392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18393 /* end confdefs.h. */
18394 #include <wchar.h>
18395 namespace test { using ::vfwscanf; }
18397 main ()
18401 return 0;
18403 _ACEOF
18404 if ac_fn_cxx_try_compile "$LINENO"; then :
18406 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
18409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18412 /* end confdefs.h. */
18413 #include <wchar.h>
18414 namespace test { using ::vswscanf; }
18416 main ()
18420 return 0;
18422 _ACEOF
18423 if ac_fn_cxx_try_compile "$LINENO"; then :
18425 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
18428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18431 /* end confdefs.h. */
18432 #include <wchar.h>
18433 namespace test { using ::vwscanf; }
18435 main ()
18439 return 0;
18441 _ACEOF
18442 if ac_fn_cxx_try_compile "$LINENO"; then :
18444 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
18447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18450 /* end confdefs.h. */
18451 #include <wchar.h>
18452 namespace test { using ::wcstof; }
18454 main ()
18458 return 0;
18460 _ACEOF
18461 if ac_fn_cxx_try_compile "$LINENO"; then :
18463 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
18466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18469 /* end confdefs.h. */
18470 #include <wctype.h>
18472 main ()
18474 wint_t t; int i = iswblank(t);
18476 return 0;
18478 _ACEOF
18479 if ac_fn_cxx_try_compile "$LINENO"; then :
18481 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
18484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar_cxx11" >&5
18487 $as_echo "$glibcxx_cv_c99_wchar_cxx11" >&6; }
18488 if test x"$glibcxx_cv_c99_wchar_cxx11" = x"yes"; then
18490 $as_echo "#define _GLIBCXX11_USE_C99_WCHAR 1" >>confdefs.h
18495 gcc_no_link="$ac_save_gcc_no_link"
18496 LIBS="$ac_save_LIBS"
18497 CXXFLAGS="$ac_save_CXXFLAGS"
18498 ac_ext=c
18499 ac_cpp='$CPP $CPPFLAGS'
18500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fully enabled ISO C99 support" >&5
18507 $as_echo_n "checking for fully enabled ISO C99 support... " >&6; }
18508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_c99" >&5
18509 $as_echo "$enable_c99" >&6; }
18512 # Check whether --enable-concept-checks was given.
18513 if test "${enable_concept_checks+set}" = set; then :
18514 enableval=$enable_concept_checks;
18515 case "$enableval" in
18516 yes|no) ;;
18517 *) as_fn_error $? "Argument to enable/disable concept-checks must be yes or no" "$LINENO" 5 ;;
18518 esac
18520 else
18521 enable_concept_checks=no
18525 if test $enable_concept_checks = yes; then
18527 $as_echo "#define _GLIBCXX_CONCEPT_CHECKS 1" >>confdefs.h
18532 # Check whether --enable-libstdcxx-debug-flags was given.
18533 if test "${enable_libstdcxx_debug_flags+set}" = set; then :
18534 enableval=$enable_libstdcxx_debug_flags; case "x$enable_libstdcxx_debug_flags" in
18535 xno | x) enable_libstdcxx_debug_flags= ;;
18536 x-*) ;;
18537 *) as_fn_error $? "--enable-libstdcxx-debug-flags needs compiler flags as arguments" "$LINENO" 5 ;;
18538 esac
18539 else
18540 enable_libstdcxx_debug_flags="-gdwarf-4 -g3 -O0 -D_GLIBCXX_ASSERTIONS"
18545 # Option parsed, now set things appropriately
18546 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
18549 { $as_echo "$as_me:${as_lineno-$LINENO}: Debug build flags set to $DEBUG_FLAGS" >&5
18550 $as_echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
18553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional debug build" >&5
18554 $as_echo_n "checking for additional debug build... " >&6; }
18555 skip_debug_build=
18556 # Check whether --enable-libstdcxx-debug was given.
18557 if test "${enable_libstdcxx_debug+set}" = set; then :
18558 enableval=$enable_libstdcxx_debug;
18559 case "$enableval" in
18560 yes|no) ;;
18561 *) as_fn_error $? "Argument to enable/disable libstdcxx-debug must be yes or no" "$LINENO" 5 ;;
18562 esac
18564 else
18565 enable_libstdcxx_debug=no
18569 if test x$enable_libstdcxx_debug = xyes; then
18570 if test -f $toplevel_builddir/../stage_final \
18571 && test -f $toplevel_builddir/../stage_current; then
18572 stage_final=`cat $toplevel_builddir/../stage_final`
18573 stage_current=`cat $toplevel_builddir/../stage_current`
18574 if test x$stage_current != x$stage_final ; then
18575 skip_debug_build=" (skipped for bootstrap stage $stage_current)"
18576 enable_libstdcxx_debug=no
18580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_debug$skip_debug_build" >&5
18581 $as_echo "$enable_libstdcxx_debug$skip_debug_build" >&6; }
18586 enable_parallel=no;
18588 # See if configured libgomp/omp.h exists. (libgomp may be in
18589 # noconfigdirs but not explicitly disabled.)
18590 if echo " ${TARGET_CONFIGDIRS} " | grep " libgomp " > /dev/null 2>&1 ; then
18591 enable_parallel=yes;
18592 else
18593 { $as_echo "$as_me:${as_lineno-$LINENO}: target-libgomp not built" >&5
18594 $as_echo "$as_me: target-libgomp not built" >&6;}
18597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parallel mode support" >&5
18598 $as_echo_n "checking for parallel mode support... " >&6; }
18599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_parallel" >&5
18600 $as_echo "$enable_parallel" >&6; }
18602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra compiler flags for building" >&5
18603 $as_echo_n "checking for extra compiler flags for building... " >&6; }
18604 # Check whether --enable-cxx-flags was given.
18605 if test "${enable_cxx_flags+set}" = set; then :
18606 enableval=$enable_cxx_flags; case "x$enable_cxx_flags" in
18607 xno | x) enable_cxx_flags= ;;
18608 x-*) ;;
18609 *) as_fn_error $? "--enable-cxx-flags needs compiler flags as arguments" "$LINENO" 5 ;;
18610 esac
18611 else
18612 enable_cxx_flags=
18617 # Run through flags (either default or command-line) and set anything
18618 # extra (e.g., #defines) that must accompany particular g++ options.
18619 if test -n "$enable_cxx_flags"; then
18620 for f in $enable_cxx_flags; do
18621 case "$f" in
18622 -fhonor-std) ;;
18623 -*) ;;
18624 *) # and we're trying to pass /what/ exactly?
18625 as_fn_error $? "compiler flags start with a -" "$LINENO" 5 ;;
18626 esac
18627 done
18630 EXTRA_CXX_FLAGS="$enable_cxx_flags"
18631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXTRA_CXX_FLAGS" >&5
18632 $as_echo "$EXTRA_CXX_FLAGS" >&6; }
18636 # Check whether --enable-fully-dynamic-string was given.
18637 if test "${enable_fully_dynamic_string+set}" = set; then :
18638 enableval=$enable_fully_dynamic_string;
18639 case "$enableval" in
18640 yes|no) ;;
18641 *) as_fn_error $? "Argument to enable/disable fully-dynamic-string must be yes or no" "$LINENO" 5 ;;
18642 esac
18644 else
18645 enable_fully_dynamic_string=no
18649 if test $enable_fully_dynamic_string = yes; then
18650 enable_fully_dynamic_string_def=1
18651 else
18652 enable_fully_dynamic_string_def=0
18655 cat >>confdefs.h <<_ACEOF
18656 #define _GLIBCXX_FULLY_DYNAMIC_STRING ${enable_fully_dynamic_string_def}
18657 _ACEOF
18662 # Check whether --enable-extern-template was given.
18663 if test "${enable_extern_template+set}" = set; then :
18664 enableval=$enable_extern_template;
18665 case "$enableval" in
18666 yes|no) ;;
18667 *) as_fn_error $? "Argument to enable/disable extern-template must be yes or no" "$LINENO" 5 ;;
18668 esac
18670 else
18671 enable_extern_template=yes
18676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extern template support" >&5
18677 $as_echo_n "checking for extern template support... " >&6; }
18678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_extern_template" >&5
18679 $as_echo "$enable_extern_template" >&6; }
18685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for custom python install directory" >&5
18686 $as_echo_n "checking for custom python install directory... " >&6; }
18688 # Check whether --with-python-dir was given.
18689 if test "${with_python_dir+set}" = set; then :
18690 withval=$with_python_dir; with_python_dir=$withval
18691 else
18692 with_python_dir="no"
18695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_python_dir}" >&5
18696 $as_echo "${with_python_dir}" >&6; }
18698 # Needed for installing Python modules during make install.
18699 python_mod_dir="${with_python_dir}"
18704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Werror" >&5
18705 $as_echo_n "checking for -Werror... " >&6; }
18706 # Check whether --enable-werror was given.
18707 if test "${enable_werror+set}" = set; then :
18708 enableval=$enable_werror;
18709 case "$enableval" in
18710 yes|no) ;;
18711 *) as_fn_error $? "Argument to enable/disable werror must be yes or no" "$LINENO" 5 ;;
18712 esac
18714 else
18715 enable_werror=no
18719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_werror" >&5
18720 $as_echo "$enable_werror" >&6; }
18725 # Check whether --enable-vtable-verify was given.
18726 if test "${enable_vtable_verify+set}" = set; then :
18727 enableval=$enable_vtable_verify;
18728 case "$enableval" in
18729 yes|no) ;;
18730 *) as_fn_error $? "Argument to enable/disable vtable-verify must be yes or no" "$LINENO" 5 ;;
18731 esac
18733 else
18734 enable_vtable_verify=no
18739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vtable verify support" >&5
18740 $as_echo_n "checking for vtable verify support... " >&6; }
18741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_vtable_verify" >&5
18742 $as_echo "$enable_vtable_verify" >&6; }
18744 vtv_cygmin=no
18745 if test $enable_vtable_verify = yes; then
18746 case ${target_os} in
18747 cygwin*|mingw32*)
18748 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-lvtv,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
18749 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,--rpath -Wl,${toplevel_builddir}/libvtv/.libs"
18750 vtv_cygmin=yes
18752 darwin*)
18753 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u,_vtable_map_vars_start -Wl,-u,_vtable_map_vars_end"
18754 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,-rpath,${toplevel_builddir}/libvtv/.libs"
18756 solaris2*)
18757 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
18758 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,-R -Wl,${toplevel_builddir}/libvtv/.libs"
18761 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
18762 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,--rpath -Wl,${toplevel_builddir}/libvtv/.libs"
18764 esac
18765 VTV_PCH_CXXFLAGS="-fvtable-verify=std"
18766 else
18767 VTV_CXXFLAGS=
18768 VTV_PCH_CXXFLAGS=
18769 VTV_CXXLINKFLAGS=
18775 if test x$vtv_cygmin = xyes; then
18776 VTV_CYGMIN_TRUE=
18777 VTV_CYGMIN_FALSE='#'
18778 else
18779 VTV_CYGMIN_TRUE='#'
18780 VTV_CYGMIN_FALSE=
18786 # Checks for operating systems support that doesn't require linking.
18790 ac_ext=cpp
18791 ac_cpp='$CXXCPP $CPPFLAGS'
18792 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18793 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18794 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18796 # Use C++11 because a conforming <stdio.h> won't define gets for C++14,
18797 # and we don't need a declaration for C++14 anyway.
18798 ac_save_CXXFLAGS="$CXXFLAGS"
18799 CXXFLAGS="$CXXFLAGS -std=gnu++11"
18801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gets declaration" >&5
18802 $as_echo_n "checking for gets declaration... " >&6; }
18803 if ${glibcxx_cv_gets+:} false; then :
18804 $as_echo_n "(cached) " >&6
18805 else
18807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18808 /* end confdefs.h. */
18809 #include <stdio.h>
18810 namespace test
18812 using ::gets;
18815 _ACEOF
18816 if ac_fn_cxx_try_compile "$LINENO"; then :
18817 glibcxx_cv_gets=yes
18818 else
18819 glibcxx_cv_gets=no
18822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18826 if test $glibcxx_cv_gets = yes; then
18828 $as_echo "#define HAVE_GETS 1" >>confdefs.h
18831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_gets" >&5
18832 $as_echo "$glibcxx_cv_gets" >&6; }
18834 CXXFLAGS="$ac_save_CXXFLAGS"
18835 ac_ext=c
18836 ac_cpp='$CPP $CPPFLAGS'
18837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18845 ac_ext=cpp
18846 ac_cpp='$CXXCPP $CPPFLAGS'
18847 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18848 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18851 ac_save_CXXFLAGS="$CXXFLAGS"
18852 CXXFLAGS="$CXXFLAGS -std=c++11"
18854 case "$host" in
18855 *-*-solaris2.*)
18856 # Solaris 12 Build 86, Solaris 11.3 SRU 3.6, and Solaris 10 Patch
18857 # 11996[67]-02 introduced the C++11 <math.h> floating point overloads.
18858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++11 <math.h> floating point overloads" >&5
18859 $as_echo_n "checking for C++11 <math.h> floating point overloads... " >&6; }
18860 if ${glibcxx_cv_math11_fp_overload+:} false; then :
18861 $as_echo_n "(cached) " >&6
18862 else
18864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18865 /* end confdefs.h. */
18866 #include <math.h>
18867 #undef isfinite
18868 namespace std {
18869 inline bool isfinite(float __x)
18870 { return __builtin_isfinite(__x); }
18873 _ACEOF
18874 if ac_fn_cxx_try_compile "$LINENO"; then :
18875 glibcxx_cv_math11_fp_overload=no
18876 else
18877 glibcxx_cv_math11_fp_overload=yes
18880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18884 # autoheader cannot handle indented templates.
18887 if test $glibcxx_cv_math11_fp_overload = yes; then
18888 $as_echo "#define __CORRECT_ISO_CPP11_MATH_H_PROTO_FP 1" >>confdefs.h
18891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_math11_fp_overload" >&5
18892 $as_echo "$glibcxx_cv_math11_fp_overload" >&6; }
18894 # Solaris 12 Build 90, Solaris 11.3 SRU 5.6, and Solaris 10 Patch
18895 # 11996[67]-02 introduced the C++11 <math.h> integral type overloads.
18896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++11 <math.h> integral type overloads" >&5
18897 $as_echo_n "checking for C++11 <math.h> integral type overloads... " >&6; }
18898 if ${glibcxx_cv_math11_int_overload+:} false; then :
18899 $as_echo_n "(cached) " >&6
18900 else
18902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18903 /* end confdefs.h. */
18904 #include <math.h>
18905 namespace std {
18906 template<typename _Tp>
18907 struct __is_integer;
18908 template<>
18909 struct __is_integer<int>
18911 enum { __value = 1 };
18914 namespace __gnu_cxx {
18915 template<bool, typename>
18916 struct __enable_if;
18917 template<typename _Tp>
18918 struct __enable_if<true, _Tp>
18919 { typedef _Tp __type; };
18921 namespace std {
18922 template<typename _Tp>
18923 constexpr typename __gnu_cxx::__enable_if
18924 <__is_integer<_Tp>::__value, double>::__type
18925 log2(_Tp __x)
18926 { return __builtin_log2(__x); }
18929 main (void)
18931 int i = 1000;
18932 return std::log2(i);
18935 _ACEOF
18936 if ac_fn_cxx_try_compile "$LINENO"; then :
18937 glibcxx_cv_math11_int_overload=no
18938 else
18939 glibcxx_cv_math11_int_overload=yes
18942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18946 # autoheader cannot handle indented templates.
18949 if test $glibcxx_cv_math11_int_overload = yes; then
18950 $as_echo "#define __CORRECT_ISO_CPP11_MATH_H_PROTO_INT 1" >>confdefs.h
18953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_math11_int_overload" >&5
18954 $as_echo "$glibcxx_cv_math11_int_overload" >&6; }
18957 # If <math.h> defines the obsolete isinf(double) and isnan(double)
18958 # functions (instead of or as well as the C99 generic macros) then we
18959 # can't define std::isinf(double) and std::isnan(double) in <cmath>
18960 # and must use the ones from <math.h> instead.
18961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for obsolete isinf function in <math.h>" >&5
18962 $as_echo_n "checking for obsolete isinf function in <math.h>... " >&6; }
18963 if ${glibcxx_cv_obsolete_isinf+:} false; then :
18964 $as_echo_n "(cached) " >&6
18965 else
18967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18968 /* end confdefs.h. */
18969 #define _GLIBCXX_INCLUDE_NEXT_C_HEADERS
18970 #include <math.h>
18971 #undef isinf
18972 namespace std {
18973 using ::isinf;
18974 bool isinf(float);
18975 bool isinf(long double);
18977 using std::isinf;
18978 bool b = isinf(0.0);
18980 _ACEOF
18981 if ac_fn_cxx_try_compile "$LINENO"; then :
18982 glibcxx_cv_obsolete_isinf=yes
18983 else
18984 glibcxx_cv_obsolete_isinf=no
18987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_obsolete_isinf" >&5
18991 $as_echo "$glibcxx_cv_obsolete_isinf" >&6; }
18992 if test $glibcxx_cv_obsolete_isinf = yes; then
18994 $as_echo "#define HAVE_OBSOLETE_ISINF 1" >>confdefs.h
18998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for obsolete isnan function in <math.h>" >&5
18999 $as_echo_n "checking for obsolete isnan function in <math.h>... " >&6; }
19000 if ${glibcxx_cv_obsolete_isnan+:} false; then :
19001 $as_echo_n "(cached) " >&6
19002 else
19004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19005 /* end confdefs.h. */
19006 #define _GLIBCXX_INCLUDE_NEXT_C_HEADERS
19007 #include <math.h>
19008 #undef isnan
19009 namespace std {
19010 using ::isnan;
19011 bool isnan(float);
19012 bool isnan(long double);
19014 using std::isnan;
19015 bool b = isnan(0.0);
19017 _ACEOF
19018 if ac_fn_cxx_try_compile "$LINENO"; then :
19019 glibcxx_cv_obsolete_isnan=yes
19020 else
19021 glibcxx_cv_obsolete_isnan=no
19024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_obsolete_isnan" >&5
19028 $as_echo "$glibcxx_cv_obsolete_isnan" >&6; }
19029 if test $glibcxx_cv_obsolete_isnan = yes; then
19031 $as_echo "#define HAVE_OBSOLETE_ISNAN 1" >>confdefs.h
19035 esac
19037 CXXFLAGS="$ac_save_CXXFLAGS"
19038 ac_ext=c
19039 ac_cpp='$CPP $CPPFLAGS'
19040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19047 # Test uchar.h.
19048 for ac_header in uchar.h
19049 do :
19050 ac_fn_c_check_header_mongrel "$LINENO" "uchar.h" "ac_cv_header_uchar_h" "$ac_includes_default"
19051 if test "x$ac_cv_header_uchar_h" = xyes; then :
19052 cat >>confdefs.h <<_ACEOF
19053 #define HAVE_UCHAR_H 1
19054 _ACEOF
19055 ac_has_uchar_h=yes
19056 else
19057 ac_has_uchar_h=no
19060 done
19064 ac_ext=cpp
19065 ac_cpp='$CXXCPP $CPPFLAGS'
19066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19070 ac_save_CXXFLAGS="$CXXFLAGS"
19071 CXXFLAGS="$CXXFLAGS -std=c++11"
19073 if test x"$ac_has_uchar_h" = x"yes"; then
19074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C11 support for <uchar.h>" >&5
19075 $as_echo_n "checking for ISO C11 support for <uchar.h>... " >&6; }
19076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19077 /* end confdefs.h. */
19078 #include <uchar.h>
19079 #ifdef __STDC_UTF_16__
19080 long i = __STDC_UTF_16__;
19081 #endif
19082 #ifdef __STDC_UTF_32__
19083 long j = __STDC_UTF_32__;
19084 #endif
19085 namespace test
19087 using ::c16rtomb;
19088 using ::c32rtomb;
19089 using ::mbrtoc16;
19090 using ::mbrtoc32;
19094 main ()
19098 return 0;
19100 _ACEOF
19101 if ac_fn_cxx_try_compile "$LINENO"; then :
19102 ac_c11_uchar_cxx11=yes
19103 else
19104 ac_c11_uchar_cxx11=no
19106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19107 else
19108 ac_c11_uchar_cxx11=no
19110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c11_uchar_cxx11" >&5
19111 $as_echo "$ac_c11_uchar_cxx11" >&6; }
19112 if test x"$ac_c11_uchar_cxx11" = x"yes"; then
19114 $as_echo "#define _GLIBCXX_USE_C11_UCHAR_CXX11 1" >>confdefs.h
19118 CXXFLAGS="$ac_save_CXXFLAGS"
19119 ac_ext=c
19120 ac_cpp='$CPP $CPPFLAGS'
19121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19127 # For LFS support.
19130 ac_ext=cpp
19131 ac_cpp='$CXXCPP $CPPFLAGS'
19132 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19133 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19134 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19136 ac_save_CXXFLAGS="$CXXFLAGS"
19137 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LFS support" >&5
19139 $as_echo_n "checking for LFS support... " >&6; }
19140 if ${glibcxx_cv_LFS+:} false; then :
19141 $as_echo_n "(cached) " >&6
19142 else
19144 if test x$gcc_no_link = xyes; then
19145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19146 /* end confdefs.h. */
19147 #include <unistd.h>
19148 #include <stdio.h>
19149 #include <sys/stat.h>
19152 main ()
19154 FILE* fp;
19155 fopen64("t", "w");
19156 fseeko64(fp, 0, SEEK_CUR);
19157 ftello64(fp);
19158 lseek64(1, 0, SEEK_CUR);
19159 struct stat64 buf;
19160 fstat64(1, &buf);
19162 return 0;
19164 _ACEOF
19165 if ac_fn_cxx_try_compile "$LINENO"; then :
19166 glibcxx_cv_LFS=yes
19167 else
19168 glibcxx_cv_LFS=no
19170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19171 else
19172 if test x$gcc_no_link = xyes; then
19173 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19176 /* end confdefs.h. */
19177 #include <unistd.h>
19178 #include <stdio.h>
19179 #include <sys/stat.h>
19182 main ()
19184 FILE* fp;
19185 fopen64("t", "w");
19186 fseeko64(fp, 0, SEEK_CUR);
19187 ftello64(fp);
19188 lseek64(1, 0, SEEK_CUR);
19189 struct stat64 buf;
19190 fstat64(1, &buf);
19192 return 0;
19194 _ACEOF
19195 if ac_fn_cxx_try_link "$LINENO"; then :
19196 glibcxx_cv_LFS=yes
19197 else
19198 glibcxx_cv_LFS=no
19200 rm -f core conftest.err conftest.$ac_objext \
19201 conftest$ac_exeext conftest.$ac_ext
19206 if test $glibcxx_cv_LFS = yes; then
19208 $as_echo "#define _GLIBCXX_USE_LFS 1" >>confdefs.h
19211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_LFS" >&5
19212 $as_echo "$glibcxx_cv_LFS" >&6; }
19213 CXXFLAGS="$ac_save_CXXFLAGS"
19214 ac_ext=c
19215 ac_cpp='$CPP $CPPFLAGS'
19216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19217 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19218 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19222 # For showmanyc_helper().
19223 for ac_header in sys/ioctl.h sys/filio.h
19224 do :
19225 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19226 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19227 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
19228 cat >>confdefs.h <<_ACEOF
19229 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19230 _ACEOF
19234 done
19239 ac_ext=cpp
19240 ac_cpp='$CXXCPP $CPPFLAGS'
19241 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19242 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19243 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19245 ac_save_CXXFLAGS="$CXXFLAGS"
19246 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll" >&5
19249 $as_echo_n "checking for poll... " >&6; }
19250 if ${glibcxx_cv_POLL+:} false; then :
19251 $as_echo_n "(cached) " >&6
19252 else
19254 if test x$gcc_no_link = xyes; then
19255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19256 /* end confdefs.h. */
19257 #include <poll.h>
19259 main ()
19261 struct pollfd pfd[1];
19262 pfd[0].events = POLLIN;
19263 poll(pfd, 1, 0);
19265 return 0;
19267 _ACEOF
19268 if ac_fn_cxx_try_compile "$LINENO"; then :
19269 glibcxx_cv_POLL=yes
19270 else
19271 glibcxx_cv_POLL=no
19273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19274 else
19275 if test x$gcc_no_link = xyes; then
19276 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19279 /* end confdefs.h. */
19280 #include <poll.h>
19282 main ()
19284 struct pollfd pfd[1];
19285 pfd[0].events = POLLIN;
19286 poll(pfd, 1, 0);
19288 return 0;
19290 _ACEOF
19291 if ac_fn_cxx_try_link "$LINENO"; then :
19292 glibcxx_cv_POLL=yes
19293 else
19294 glibcxx_cv_POLL=no
19296 rm -f core conftest.err conftest.$ac_objext \
19297 conftest$ac_exeext conftest.$ac_ext
19302 if test $glibcxx_cv_POLL = yes; then
19304 $as_echo "#define HAVE_POLL 1" >>confdefs.h
19307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_POLL" >&5
19308 $as_echo "$glibcxx_cv_POLL" >&6; }
19310 CXXFLAGS="$ac_save_CXXFLAGS"
19311 ac_ext=c
19312 ac_cpp='$CPP $CPPFLAGS'
19313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19321 ac_ext=cpp
19322 ac_cpp='$CXXCPP $CPPFLAGS'
19323 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19324 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19325 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19327 ac_save_CXXFLAGS="$CXXFLAGS"
19328 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for S_ISREG or S_IFREG" >&5
19331 $as_echo_n "checking for S_ISREG or S_IFREG... " >&6; }
19332 if ${glibcxx_cv_S_ISREG+:} false; then :
19333 $as_echo_n "(cached) " >&6
19334 else
19336 if test x$gcc_no_link = xyes; then
19337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19338 /* end confdefs.h. */
19339 #include <sys/stat.h>
19341 main ()
19343 struct stat buffer;
19344 fstat(0, &buffer);
19345 S_ISREG(buffer.st_mode);
19347 return 0;
19349 _ACEOF
19350 if ac_fn_cxx_try_compile "$LINENO"; then :
19351 glibcxx_cv_S_ISREG=yes
19352 else
19353 glibcxx_cv_S_ISREG=no
19355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19356 else
19357 if test x$gcc_no_link = xyes; then
19358 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19361 /* end confdefs.h. */
19362 #include <sys/stat.h>
19364 main ()
19366 struct stat buffer;
19367 fstat(0, &buffer);
19368 S_ISREG(buffer.st_mode);
19370 return 0;
19372 _ACEOF
19373 if ac_fn_cxx_try_link "$LINENO"; then :
19374 glibcxx_cv_S_ISREG=yes
19375 else
19376 glibcxx_cv_S_ISREG=no
19378 rm -f core conftest.err conftest.$ac_objext \
19379 conftest$ac_exeext conftest.$ac_ext
19384 if ${glibcxx_cv_S_IFREG+:} false; then :
19385 $as_echo_n "(cached) " >&6
19386 else
19388 if test x$gcc_no_link = xyes; then
19389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19390 /* end confdefs.h. */
19391 #include <sys/stat.h>
19393 main ()
19395 struct stat buffer;
19396 fstat(0, &buffer);
19397 S_IFREG & buffer.st_mode;
19399 return 0;
19401 _ACEOF
19402 if ac_fn_cxx_try_compile "$LINENO"; then :
19403 glibcxx_cv_S_IFREG=yes
19404 else
19405 glibcxx_cv_S_IFREG=no
19407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19408 else
19409 if test x$gcc_no_link = xyes; then
19410 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19413 /* end confdefs.h. */
19414 #include <sys/stat.h>
19416 main ()
19418 struct stat buffer;
19419 fstat(0, &buffer);
19420 S_IFREG & buffer.st_mode;
19422 return 0;
19424 _ACEOF
19425 if ac_fn_cxx_try_link "$LINENO"; then :
19426 glibcxx_cv_S_IFREG=yes
19427 else
19428 glibcxx_cv_S_IFREG=no
19430 rm -f core conftest.err conftest.$ac_objext \
19431 conftest$ac_exeext conftest.$ac_ext
19436 res=no
19437 if test $glibcxx_cv_S_ISREG = yes; then
19439 $as_echo "#define HAVE_S_ISREG 1" >>confdefs.h
19441 res=S_ISREG
19442 elif test $glibcxx_cv_S_IFREG = yes; then
19444 $as_echo "#define HAVE_S_IFREG 1" >>confdefs.h
19446 res=S_IFREG
19448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
19449 $as_echo "$res" >&6; }
19451 CXXFLAGS="$ac_save_CXXFLAGS"
19452 ac_ext=c
19453 ac_cpp='$CPP $CPPFLAGS'
19454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19460 # For xsputn_2().
19461 for ac_header in sys/uio.h
19462 do :
19463 ac_fn_c_check_header_mongrel "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
19464 if test "x$ac_cv_header_sys_uio_h" = xyes; then :
19465 cat >>confdefs.h <<_ACEOF
19466 #define HAVE_SYS_UIO_H 1
19467 _ACEOF
19471 done
19476 ac_ext=cpp
19477 ac_cpp='$CXXCPP $CPPFLAGS'
19478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19482 ac_save_CXXFLAGS="$CXXFLAGS"
19483 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for writev" >&5
19486 $as_echo_n "checking for writev... " >&6; }
19487 if ${glibcxx_cv_WRITEV+:} false; then :
19488 $as_echo_n "(cached) " >&6
19489 else
19491 if test x$gcc_no_link = xyes; then
19492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19493 /* end confdefs.h. */
19494 #include <sys/uio.h>
19496 main ()
19498 struct iovec iov[2];
19499 writev(0, iov, 0);
19501 return 0;
19503 _ACEOF
19504 if ac_fn_cxx_try_compile "$LINENO"; then :
19505 glibcxx_cv_WRITEV=yes
19506 else
19507 glibcxx_cv_WRITEV=no
19509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19510 else
19511 if test x$gcc_no_link = xyes; then
19512 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19515 /* end confdefs.h. */
19516 #include <sys/uio.h>
19518 main ()
19520 struct iovec iov[2];
19521 writev(0, iov, 0);
19523 return 0;
19525 _ACEOF
19526 if ac_fn_cxx_try_link "$LINENO"; then :
19527 glibcxx_cv_WRITEV=yes
19528 else
19529 glibcxx_cv_WRITEV=no
19531 rm -f core conftest.err conftest.$ac_objext \
19532 conftest$ac_exeext conftest.$ac_ext
19537 if test $glibcxx_cv_WRITEV = yes; then
19539 $as_echo "#define HAVE_WRITEV 1" >>confdefs.h
19542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_WRITEV" >&5
19543 $as_echo "$glibcxx_cv_WRITEV" >&6; }
19545 CXXFLAGS="$ac_save_CXXFLAGS"
19546 ac_ext=c
19547 ac_cpp='$CPP $CPPFLAGS'
19548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19554 # Check for fenv.h and complex.h before GLIBCXX_CHECK_C99_TR1
19555 # so that the check is done with the C compiler (not C++).
19556 # Checking with C++ can break a canadian cross build if either
19557 # file does not exist in C but does in C++.
19558 for ac_header in fenv.h complex.h
19559 do :
19560 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19561 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19562 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
19563 cat >>confdefs.h <<_ACEOF
19564 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19565 _ACEOF
19569 done
19572 # For C99 support to TR1.
19576 ac_ext=cpp
19577 ac_cpp='$CXXCPP $CPPFLAGS'
19578 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19579 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19580 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19583 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
19584 # undefined and fake C99 facilities may be spuriously enabled.
19585 ac_save_CXXFLAGS="$CXXFLAGS"
19586 CXXFLAGS="$CXXFLAGS -std=c++98"
19588 # Check for the existence of <complex.h> complex math functions used
19589 # by tr1/complex.
19590 for ac_header in complex.h
19591 do :
19592 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
19593 if test "x$ac_cv_header_complex_h" = xyes; then :
19594 cat >>confdefs.h <<_ACEOF
19595 #define HAVE_COMPLEX_H 1
19596 _ACEOF
19597 ac_has_complex_h=yes
19598 else
19599 ac_has_complex_h=no
19602 done
19604 ac_c99_complex_tr1=no;
19605 if test x"$ac_has_complex_h" = x"yes"; then
19606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <complex.h>" >&5
19607 $as_echo_n "checking for ISO C99 support to TR1 in <complex.h>... " >&6; }
19608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19609 /* end confdefs.h. */
19610 #include <complex.h>
19612 main ()
19614 typedef __complex__ float float_type; float_type tmpf;
19615 cacosf(tmpf);
19616 casinf(tmpf);
19617 catanf(tmpf);
19618 cacoshf(tmpf);
19619 casinhf(tmpf);
19620 catanhf(tmpf);
19621 typedef __complex__ double double_type; double_type tmpd;
19622 cacos(tmpd);
19623 casin(tmpd);
19624 catan(tmpd);
19625 cacosh(tmpd);
19626 casinh(tmpd);
19627 catanh(tmpd);
19628 typedef __complex__ long double ld_type; ld_type tmpld;
19629 cacosl(tmpld);
19630 casinl(tmpld);
19631 catanl(tmpld);
19632 cacoshl(tmpld);
19633 casinhl(tmpld);
19634 catanhl(tmpld);
19637 return 0;
19639 _ACEOF
19640 if ac_fn_cxx_try_compile "$LINENO"; then :
19641 ac_c99_complex_tr1=yes
19642 else
19643 ac_c99_complex_tr1=no
19645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_complex_tr1" >&5
19648 $as_echo "$ac_c99_complex_tr1" >&6; }
19649 if test x"$ac_c99_complex_tr1" = x"yes"; then
19651 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX_TR1 1" >>confdefs.h
19655 # Check for the existence of <ctype.h> functions.
19656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <ctype.h>" >&5
19657 $as_echo_n "checking for ISO C99 support to TR1 in <ctype.h>... " >&6; }
19658 if ${glibcxx_cv_c99_ctype_tr1+:} false; then :
19659 $as_echo_n "(cached) " >&6
19660 else
19662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19663 /* end confdefs.h. */
19664 #include <ctype.h>
19666 main ()
19668 int ch;
19669 int ret;
19670 ret = isblank(ch);
19673 return 0;
19675 _ACEOF
19676 if ac_fn_cxx_try_compile "$LINENO"; then :
19677 glibcxx_cv_c99_ctype_tr1=yes
19678 else
19679 glibcxx_cv_c99_ctype_tr1=no
19681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_ctype_tr1" >&5
19686 $as_echo "$glibcxx_cv_c99_ctype_tr1" >&6; }
19687 if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
19689 $as_echo "#define _GLIBCXX_USE_C99_CTYPE_TR1 1" >>confdefs.h
19693 # Check for the existence of <fenv.h> functions.
19694 for ac_header in fenv.h
19695 do :
19696 ac_fn_cxx_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
19697 if test "x$ac_cv_header_fenv_h" = xyes; then :
19698 cat >>confdefs.h <<_ACEOF
19699 #define HAVE_FENV_H 1
19700 _ACEOF
19701 ac_has_fenv_h=yes
19702 else
19703 ac_has_fenv_h=no
19706 done
19708 ac_c99_fenv_tr1=no;
19709 if test x"$ac_has_fenv_h" = x"yes"; then
19710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <fenv.h>" >&5
19711 $as_echo_n "checking for ISO C99 support to TR1 in <fenv.h>... " >&6; }
19712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19713 /* end confdefs.h. */
19714 #include <fenv.h>
19716 main ()
19718 int except, mode;
19719 fexcept_t* pflag;
19720 fenv_t* penv;
19721 int ret;
19722 ret = feclearexcept(except);
19723 ret = fegetexceptflag(pflag, except);
19724 ret = feraiseexcept(except);
19725 ret = fesetexceptflag(pflag, except);
19726 ret = fetestexcept(except);
19727 ret = fegetround();
19728 ret = fesetround(mode);
19729 ret = fegetenv(penv);
19730 ret = feholdexcept(penv);
19731 ret = fesetenv(penv);
19732 ret = feupdateenv(penv);
19735 return 0;
19737 _ACEOF
19738 if ac_fn_cxx_try_compile "$LINENO"; then :
19739 ac_c99_fenv_tr1=yes
19740 else
19741 ac_c99_fenv_tr1=no
19743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_fenv_tr1" >&5
19746 $as_echo "$ac_c99_fenv_tr1" >&6; }
19747 if test x"$ac_c99_fenv_tr1" = x"yes"; then
19749 $as_echo "#define _GLIBCXX_USE_C99_FENV_TR1 1" >>confdefs.h
19753 # Check for the existence of <stdint.h> types.
19754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <stdint.h>" >&5
19755 $as_echo_n "checking for ISO C99 support to TR1 in <stdint.h>... " >&6; }
19756 if ${glibcxx_cv_c99_stdint_tr1+:} false; then :
19757 $as_echo_n "(cached) " >&6
19758 else
19760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19761 /* end confdefs.h. */
19762 #define __STDC_LIMIT_MACROS
19763 #define __STDC_CONSTANT_MACROS
19764 #include <stdint.h>
19766 main ()
19768 typedef int8_t my_int8_t;
19769 my_int8_t i8 = INT8_MIN;
19770 i8 = INT8_MAX;
19771 typedef int16_t my_int16_t;
19772 my_int16_t i16 = INT16_MIN;
19773 i16 = INT16_MAX;
19774 typedef int32_t my_int32_t;
19775 my_int32_t i32 = INT32_MIN;
19776 i32 = INT32_MAX;
19777 typedef int64_t my_int64_t;
19778 my_int64_t i64 = INT64_MIN;
19779 i64 = INT64_MAX;
19780 typedef int_fast8_t my_int_fast8_t;
19781 my_int_fast8_t if8 = INT_FAST8_MIN;
19782 if8 = INT_FAST8_MAX;
19783 typedef int_fast16_t my_int_fast16_t;
19784 my_int_fast16_t if16 = INT_FAST16_MIN;
19785 if16 = INT_FAST16_MAX;
19786 typedef int_fast32_t my_int_fast32_t;
19787 my_int_fast32_t if32 = INT_FAST32_MIN;
19788 if32 = INT_FAST32_MAX;
19789 typedef int_fast64_t my_int_fast64_t;
19790 my_int_fast64_t if64 = INT_FAST64_MIN;
19791 if64 = INT_FAST64_MAX;
19792 typedef int_least8_t my_int_least8_t;
19793 my_int_least8_t il8 = INT_LEAST8_MIN;
19794 il8 = INT_LEAST8_MAX;
19795 typedef int_least16_t my_int_least16_t;
19796 my_int_least16_t il16 = INT_LEAST16_MIN;
19797 il16 = INT_LEAST16_MAX;
19798 typedef int_least32_t my_int_least32_t;
19799 my_int_least32_t il32 = INT_LEAST32_MIN;
19800 il32 = INT_LEAST32_MAX;
19801 typedef int_least64_t my_int_least64_t;
19802 my_int_least64_t il64 = INT_LEAST64_MIN;
19803 il64 = INT_LEAST64_MAX;
19804 typedef intmax_t my_intmax_t;
19805 my_intmax_t im = INTMAX_MAX;
19806 im = INTMAX_MIN;
19807 typedef intptr_t my_intptr_t;
19808 my_intptr_t ip = INTPTR_MAX;
19809 ip = INTPTR_MIN;
19810 typedef uint8_t my_uint8_t;
19811 my_uint8_t ui8 = UINT8_MAX;
19812 ui8 = UINT8_MAX;
19813 typedef uint16_t my_uint16_t;
19814 my_uint16_t ui16 = UINT16_MAX;
19815 ui16 = UINT16_MAX;
19816 typedef uint32_t my_uint32_t;
19817 my_uint32_t ui32 = UINT32_MAX;
19818 ui32 = UINT32_MAX;
19819 typedef uint64_t my_uint64_t;
19820 my_uint64_t ui64 = UINT64_MAX;
19821 ui64 = UINT64_MAX;
19822 typedef uint_fast8_t my_uint_fast8_t;
19823 my_uint_fast8_t uif8 = UINT_FAST8_MAX;
19824 uif8 = UINT_FAST8_MAX;
19825 typedef uint_fast16_t my_uint_fast16_t;
19826 my_uint_fast16_t uif16 = UINT_FAST16_MAX;
19827 uif16 = UINT_FAST16_MAX;
19828 typedef uint_fast32_t my_uint_fast32_t;
19829 my_uint_fast32_t uif32 = UINT_FAST32_MAX;
19830 uif32 = UINT_FAST32_MAX;
19831 typedef uint_fast64_t my_uint_fast64_t;
19832 my_uint_fast64_t uif64 = UINT_FAST64_MAX;
19833 uif64 = UINT_FAST64_MAX;
19834 typedef uint_least8_t my_uint_least8_t;
19835 my_uint_least8_t uil8 = UINT_LEAST8_MAX;
19836 uil8 = UINT_LEAST8_MAX;
19837 typedef uint_least16_t my_uint_least16_t;
19838 my_uint_least16_t uil16 = UINT_LEAST16_MAX;
19839 uil16 = UINT_LEAST16_MAX;
19840 typedef uint_least32_t my_uint_least32_t;
19841 my_uint_least32_t uil32 = UINT_LEAST32_MAX;
19842 uil32 = UINT_LEAST32_MAX;
19843 typedef uint_least64_t my_uint_least64_t;
19844 my_uint_least64_t uil64 = UINT_LEAST64_MAX;
19845 uil64 = UINT_LEAST64_MAX;
19846 typedef uintmax_t my_uintmax_t;
19847 my_uintmax_t uim = UINTMAX_MAX;
19848 uim = UINTMAX_MAX;
19849 typedef uintptr_t my_uintptr_t;
19850 my_uintptr_t uip = UINTPTR_MAX;
19851 uip = UINTPTR_MAX;
19854 return 0;
19856 _ACEOF
19857 if ac_fn_cxx_try_compile "$LINENO"; then :
19858 glibcxx_cv_c99_stdint_tr1=yes
19859 else
19860 glibcxx_cv_c99_stdint_tr1=no
19862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdint_tr1" >&5
19867 $as_echo "$glibcxx_cv_c99_stdint_tr1" >&6; }
19868 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
19870 $as_echo "#define _GLIBCXX_USE_C99_STDINT_TR1 1" >>confdefs.h
19874 # Check for the existence of <math.h> functions.
19875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <math.h>" >&5
19876 $as_echo_n "checking for ISO C99 support to TR1 in <math.h>... " >&6; }
19877 if ${glibcxx_cv_c99_math_tr1+:} false; then :
19878 $as_echo_n "(cached) " >&6
19879 else
19881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19882 /* end confdefs.h. */
19883 #include <math.h>
19885 main ()
19887 typedef double_t my_double_t;
19888 typedef float_t my_float_t;
19889 acosh(0.0);
19890 acoshf(0.0f);
19891 acoshl(0.0l);
19892 asinh(0.0);
19893 asinhf(0.0f);
19894 asinhl(0.0l);
19895 atanh(0.0);
19896 atanhf(0.0f);
19897 atanhl(0.0l);
19898 cbrt(0.0);
19899 cbrtf(0.0f);
19900 cbrtl(0.0l);
19901 copysign(0.0, 0.0);
19902 copysignf(0.0f, 0.0f);
19903 copysignl(0.0l, 0.0l);
19904 erf(0.0);
19905 erff(0.0f);
19906 erfl(0.0l);
19907 erfc(0.0);
19908 erfcf(0.0f);
19909 erfcl(0.0l);
19910 exp2(0.0);
19911 exp2f(0.0f);
19912 exp2l(0.0l);
19913 expm1(0.0);
19914 expm1f(0.0f);
19915 expm1l(0.0l);
19916 fdim(0.0, 0.0);
19917 fdimf(0.0f, 0.0f);
19918 fdiml(0.0l, 0.0l);
19919 fma(0.0, 0.0, 0.0);
19920 fmaf(0.0f, 0.0f, 0.0f);
19921 fmal(0.0l, 0.0l, 0.0l);
19922 fmax(0.0, 0.0);
19923 fmaxf(0.0f, 0.0f);
19924 fmaxl(0.0l, 0.0l);
19925 fmin(0.0, 0.0);
19926 fminf(0.0f, 0.0f);
19927 fminl(0.0l, 0.0l);
19928 hypot(0.0, 0.0);
19929 hypotf(0.0f, 0.0f);
19930 hypotl(0.0l, 0.0l);
19931 ilogb(0.0);
19932 ilogbf(0.0f);
19933 ilogbl(0.0l);
19934 lgamma(0.0);
19935 lgammaf(0.0f);
19936 lgammal(0.0l);
19937 #ifndef __APPLE__ /* see below */
19938 llrint(0.0);
19939 llrintf(0.0f);
19940 llrintl(0.0l);
19941 llround(0.0);
19942 llroundf(0.0f);
19943 llroundl(0.0l);
19944 #endif
19945 log1p(0.0);
19946 log1pf(0.0f);
19947 log1pl(0.0l);
19948 log2(0.0);
19949 log2f(0.0f);
19950 log2l(0.0l);
19951 logb(0.0);
19952 logbf(0.0f);
19953 logbl(0.0l);
19954 lrint(0.0);
19955 lrintf(0.0f);
19956 lrintl(0.0l);
19957 lround(0.0);
19958 lroundf(0.0f);
19959 lroundl(0.0l);
19960 nan(0);
19961 nanf(0);
19962 nanl(0);
19963 nearbyint(0.0);
19964 nearbyintf(0.0f);
19965 nearbyintl(0.0l);
19966 nextafter(0.0, 0.0);
19967 nextafterf(0.0f, 0.0f);
19968 nextafterl(0.0l, 0.0l);
19969 nexttoward(0.0, 0.0);
19970 nexttowardf(0.0f, 0.0f);
19971 nexttowardl(0.0l, 0.0l);
19972 remainder(0.0, 0.0);
19973 remainderf(0.0f, 0.0f);
19974 remainderl(0.0l, 0.0l);
19975 remquo(0.0, 0.0, 0);
19976 remquof(0.0f, 0.0f, 0);
19977 remquol(0.0l, 0.0l, 0);
19978 rint(0.0);
19979 rintf(0.0f);
19980 rintl(0.0l);
19981 round(0.0);
19982 roundf(0.0f);
19983 roundl(0.0l);
19984 scalbln(0.0, 0l);
19985 scalblnf(0.0f, 0l);
19986 scalblnl(0.0l, 0l);
19987 scalbn(0.0, 0);
19988 scalbnf(0.0f, 0);
19989 scalbnl(0.0l, 0);
19990 tgamma(0.0);
19991 tgammaf(0.0f);
19992 tgammal(0.0l);
19993 trunc(0.0);
19994 truncf(0.0f);
19995 truncl(0.0l);
19998 return 0;
20000 _ACEOF
20001 if ac_fn_cxx_try_compile "$LINENO"; then :
20002 glibcxx_cv_c99_math_tr1=yes
20003 else
20004 glibcxx_cv_c99_math_tr1=no
20006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_tr1" >&5
20011 $as_echo "$glibcxx_cv_c99_math_tr1" >&6; }
20012 if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
20014 $as_echo "#define _GLIBCXX_USE_C99_MATH_TR1 1" >>confdefs.h
20017 case "${target_os}" in
20018 darwin*)
20019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 rounding functions in <math.h>" >&5
20020 $as_echo_n "checking for ISO C99 rounding functions in <math.h>... " >&6; }
20021 if ${glibcxx_cv_c99_math_llround+:} false; then :
20022 $as_echo_n "(cached) " >&6
20023 else
20025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20026 /* end confdefs.h. */
20027 #include <math.h>
20029 main ()
20031 llrint(0.0);
20032 llrintf(0.0f);
20033 llrintl(0.0l);
20034 llround(0.0);
20035 llroundf(0.0f);
20036 llroundl(0.0l);
20039 return 0;
20041 _ACEOF
20042 if ac_fn_cxx_try_compile "$LINENO"; then :
20043 glibcxx_cv_c99_math_llround=yes
20044 else
20045 glibcxx_cv_c99_math_llround=no
20047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_llround" >&5
20052 $as_echo "$glibcxx_cv_c99_math_llround" >&6; }
20054 esac
20055 if test x"$glibcxx_cv_c99_math_llround" = x"no"; then
20057 $as_echo "#define _GLIBCXX_NO_C99_ROUNDING_FUNCS 1" >>confdefs.h
20062 # Check for the existence of <inttypes.h> functions (NB: doesn't make
20063 # sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
20064 ac_c99_inttypes_tr1=no;
20065 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
20066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
20067 $as_echo_n "checking for ISO C99 support to TR1 in <inttypes.h>... " >&6; }
20068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20069 /* end confdefs.h. */
20070 #include <inttypes.h>
20072 main ()
20074 intmax_t i, numer, denom, base;
20075 const char* s;
20076 char** endptr;
20077 intmax_t ret = imaxabs(i);
20078 imaxdiv_t dret = imaxdiv(numer, denom);
20079 ret = strtoimax(s, endptr, base);
20080 uintmax_t uret = strtoumax(s, endptr, base);
20083 return 0;
20085 _ACEOF
20086 if ac_fn_cxx_try_compile "$LINENO"; then :
20087 ac_c99_inttypes_tr1=yes
20088 else
20089 ac_c99_inttypes_tr1=no
20091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_tr1" >&5
20094 $as_echo "$ac_c99_inttypes_tr1" >&6; }
20095 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
20097 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_TR1 1" >>confdefs.h
20101 # Check for the existence of wchar_t <inttypes.h> functions (NB: doesn't
20102 # make sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
20103 ac_c99_inttypes_wchar_t_tr1=no;
20104 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
20105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t ISO C99 support to TR1 in <inttypes.h>" >&5
20106 $as_echo_n "checking for wchar_t ISO C99 support to TR1 in <inttypes.h>... " >&6; }
20107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20108 /* end confdefs.h. */
20109 #include <inttypes.h>
20111 main ()
20113 intmax_t base;
20114 const wchar_t* s;
20115 wchar_t** endptr;
20116 intmax_t ret = wcstoimax(s, endptr, base);
20117 uintmax_t uret = wcstoumax(s, endptr, base);
20120 return 0;
20122 _ACEOF
20123 if ac_fn_cxx_try_compile "$LINENO"; then :
20124 ac_c99_inttypes_wchar_t_tr1=yes
20125 else
20126 ac_c99_inttypes_wchar_t_tr1=no
20128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_wchar_t_tr1" >&5
20131 $as_echo "$ac_c99_inttypes_wchar_t_tr1" >&6; }
20132 if test x"$ac_c99_inttypes_wchar_t_tr1" = x"yes"; then
20134 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1 1" >>confdefs.h
20138 # Check for the existence of the <stdbool.h> header.
20139 for ac_header in stdbool.h
20140 do :
20141 ac_fn_cxx_check_header_mongrel "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
20142 if test "x$ac_cv_header_stdbool_h" = xyes; then :
20143 cat >>confdefs.h <<_ACEOF
20144 #define HAVE_STDBOOL_H 1
20145 _ACEOF
20149 done
20152 # Check for the existence of the <stdalign.h> header.
20153 for ac_header in stdalign.h
20154 do :
20155 ac_fn_cxx_check_header_mongrel "$LINENO" "stdalign.h" "ac_cv_header_stdalign_h" "$ac_includes_default"
20156 if test "x$ac_cv_header_stdalign_h" = xyes; then :
20157 cat >>confdefs.h <<_ACEOF
20158 #define HAVE_STDALIGN_H 1
20159 _ACEOF
20163 done
20166 CXXFLAGS="$ac_save_CXXFLAGS"
20167 ac_ext=c
20168 ac_cpp='$CPP $CPPFLAGS'
20169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20175 # For the EOF, SEEK_CUR, and SEEK_END integer constants.
20178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of EOF" >&5
20179 $as_echo_n "checking for the value of EOF... " >&6; }
20180 if ${glibcxx_cv_stdio_eof+:} false; then :
20181 $as_echo_n "(cached) " >&6
20182 else
20184 if ac_fn_c_compute_int "$LINENO" "EOF" "glibcxx_cv_stdio_eof" "#include <stdio.h>"; then :
20186 else
20187 as_fn_error $? "computing EOF failed" "$LINENO" 5
20192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_eof" >&5
20193 $as_echo "$glibcxx_cv_stdio_eof" >&6; }
20195 cat >>confdefs.h <<_ACEOF
20196 #define _GLIBCXX_STDIO_EOF $glibcxx_cv_stdio_eof
20197 _ACEOF
20200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_CUR" >&5
20201 $as_echo_n "checking for the value of SEEK_CUR... " >&6; }
20202 if ${glibcxx_cv_stdio_seek_cur+:} false; then :
20203 $as_echo_n "(cached) " >&6
20204 else
20206 if ac_fn_c_compute_int "$LINENO" "SEEK_CUR" "glibcxx_cv_stdio_seek_cur" "#include <stdio.h>"; then :
20208 else
20209 as_fn_error $? "computing SEEK_CUR failed" "$LINENO" 5
20214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_cur" >&5
20215 $as_echo "$glibcxx_cv_stdio_seek_cur" >&6; }
20217 cat >>confdefs.h <<_ACEOF
20218 #define _GLIBCXX_STDIO_SEEK_CUR $glibcxx_cv_stdio_seek_cur
20219 _ACEOF
20222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_END" >&5
20223 $as_echo_n "checking for the value of SEEK_END... " >&6; }
20224 if ${glibcxx_cv_stdio_seek_end+:} false; then :
20225 $as_echo_n "(cached) " >&6
20226 else
20228 if ac_fn_c_compute_int "$LINENO" "SEEK_END" "glibcxx_cv_stdio_seek_end" "#include <stdio.h>"; then :
20230 else
20231 as_fn_error $? "computing SEEK_END failed" "$LINENO" 5
20236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_end" >&5
20237 $as_echo "$glibcxx_cv_stdio_seek_end" >&6; }
20239 cat >>confdefs.h <<_ACEOF
20240 #define _GLIBCXX_STDIO_SEEK_END $glibcxx_cv_stdio_seek_end
20241 _ACEOF
20245 # For gettimeofday support.
20248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
20249 $as_echo_n "checking for gettimeofday... " >&6; }
20252 ac_ext=cpp
20253 ac_cpp='$CXXCPP $CPPFLAGS'
20254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20258 ac_save_CXXFLAGS="$CXXFLAGS"
20259 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20261 ac_has_gettimeofday=no;
20262 for ac_header in sys/time.h
20263 do :
20264 ac_fn_cxx_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
20265 if test "x$ac_cv_header_sys_time_h" = xyes; then :
20266 cat >>confdefs.h <<_ACEOF
20267 #define HAVE_SYS_TIME_H 1
20268 _ACEOF
20269 ac_has_sys_time_h=yes
20270 else
20271 ac_has_sys_time_h=no
20274 done
20276 if test x"$ac_has_sys_time_h" = x"yes"; then
20277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
20278 $as_echo_n "checking for gettimeofday... " >&6; }
20279 if test x$gcc_no_link = xyes; then
20280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20281 /* end confdefs.h. */
20282 #include <sys/time.h>
20284 main ()
20286 timeval tv; gettimeofday(&tv, 0);
20288 return 0;
20290 _ACEOF
20291 if ac_fn_cxx_try_compile "$LINENO"; then :
20292 ac_has_gettimeofday=yes
20293 else
20294 ac_has_gettimeofday=no
20296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20297 else
20298 if test x$gcc_no_link = xyes; then
20299 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20302 /* end confdefs.h. */
20303 #include <sys/time.h>
20305 main ()
20307 timeval tv; gettimeofday(&tv, 0);
20309 return 0;
20311 _ACEOF
20312 if ac_fn_cxx_try_link "$LINENO"; then :
20313 ac_has_gettimeofday=yes
20314 else
20315 ac_has_gettimeofday=no
20317 rm -f core conftest.err conftest.$ac_objext \
20318 conftest$ac_exeext conftest.$ac_ext
20321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gettimeofday" >&5
20322 $as_echo "$ac_has_gettimeofday" >&6; }
20325 if test x"$ac_has_gettimeofday" = x"yes"; then
20327 $as_echo "#define _GLIBCXX_USE_GETTIMEOFDAY 1" >>confdefs.h
20331 CXXFLAGS="$ac_save_CXXFLAGS"
20332 ac_ext=c
20333 ac_cpp='$CPP $CPPFLAGS'
20334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20340 # For clock_gettime, nanosleep and sched_yield support.
20343 # Check whether --enable-libstdcxx-time was given.
20344 if test "${enable_libstdcxx_time+set}" = set; then :
20345 enableval=$enable_libstdcxx_time;
20346 case "$enableval" in
20347 yes|no|rt) ;;
20348 *) as_fn_error $? "Unknown argument to enable/disable libstdcxx-time" "$LINENO" 5 ;;
20349 esac
20351 else
20352 enable_libstdcxx_time=auto
20358 ac_ext=cpp
20359 ac_cpp='$CXXCPP $CPPFLAGS'
20360 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20361 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20362 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20364 ac_save_CXXFLAGS="$CXXFLAGS"
20365 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20366 ac_save_LIBS="$LIBS"
20368 ac_has_clock_monotonic=no
20369 ac_has_clock_realtime=no
20370 ac_has_nanosleep=no
20371 ac_has_sched_yield=no
20373 if test x"$enable_libstdcxx_time" = x"auto"; then
20375 case "${target_os}" in
20376 cygwin*)
20377 ac_has_nanosleep=yes
20379 darwin*)
20380 ac_has_nanosleep=yes
20381 ac_has_sched_yield=yes
20383 # VxWorks has nanosleep as soon as the kernel is configured with
20384 # INCLUDE_POSIX_TIMERS, which is normally/most-often the case.
20385 vxworks*)
20386 ac_has_nanosleep=yes
20388 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
20389 # Don't use link test for freestanding library, in case gcc_no_link=yes
20390 if test x"$is_hosted" = xyes; then
20391 # Versions of glibc before 2.17 needed -lrt for clock_gettime.
20392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20393 $as_echo_n "checking for library containing clock_gettime... " >&6; }
20394 if ${ac_cv_search_clock_gettime+:} false; then :
20395 $as_echo_n "(cached) " >&6
20396 else
20397 ac_func_search_save_LIBS=$LIBS
20398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20399 /* end confdefs.h. */
20401 /* Override any GCC internal prototype to avoid an error.
20402 Use char because int might match the return type of a GCC
20403 builtin and then its argument prototype would still apply. */
20404 #ifdef __cplusplus
20405 extern "C"
20406 #endif
20407 char clock_gettime ();
20409 main ()
20411 return clock_gettime ();
20413 return 0;
20415 _ACEOF
20416 for ac_lib in '' rt; do
20417 if test -z "$ac_lib"; then
20418 ac_res="none required"
20419 else
20420 ac_res=-l$ac_lib
20421 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20423 if test x$gcc_no_link = xyes; then
20424 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20426 if ac_fn_cxx_try_link "$LINENO"; then :
20427 ac_cv_search_clock_gettime=$ac_res
20429 rm -f core conftest.err conftest.$ac_objext \
20430 conftest$ac_exeext
20431 if ${ac_cv_search_clock_gettime+:} false; then :
20432 break
20434 done
20435 if ${ac_cv_search_clock_gettime+:} false; then :
20437 else
20438 ac_cv_search_clock_gettime=no
20440 rm conftest.$ac_ext
20441 LIBS=$ac_func_search_save_LIBS
20443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20444 $as_echo "$ac_cv_search_clock_gettime" >&6; }
20445 ac_res=$ac_cv_search_clock_gettime
20446 if test "$ac_res" != no; then :
20447 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20451 if test x"$ac_cv_search_clock_gettime" = x"none required"; then
20452 ac_has_clock_monotonic=yes
20453 ac_has_clock_realtime=yes
20456 ac_has_nanosleep=yes
20457 ac_has_sched_yield=yes
20459 freebsd*|netbsd*|dragonfly*|rtems*)
20460 ac_has_clock_monotonic=yes
20461 ac_has_clock_realtime=yes
20462 ac_has_nanosleep=yes
20463 ac_has_sched_yield=yes
20465 openbsd*)
20466 ac_has_clock_monotonic=yes
20467 ac_has_clock_realtime=yes
20468 ac_has_nanosleep=yes
20470 solaris*)
20471 ac_has_clock_monotonic=yes
20472 ac_has_clock_realtime=yes
20473 ac_has_nanosleep=yes
20474 ac_has_sched_yield=yes
20476 uclinux*)
20477 ac_has_nanosleep=yes
20478 ac_has_sched_yield=yes
20479 esac
20481 elif test x"$enable_libstdcxx_time" != x"no"; then
20483 if test x"$enable_libstdcxx_time" = x"rt"; then
20484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20485 $as_echo_n "checking for library containing clock_gettime... " >&6; }
20486 if ${ac_cv_search_clock_gettime+:} false; then :
20487 $as_echo_n "(cached) " >&6
20488 else
20489 ac_func_search_save_LIBS=$LIBS
20490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20491 /* end confdefs.h. */
20493 /* Override any GCC internal prototype to avoid an error.
20494 Use char because int might match the return type of a GCC
20495 builtin and then its argument prototype would still apply. */
20496 #ifdef __cplusplus
20497 extern "C"
20498 #endif
20499 char clock_gettime ();
20501 main ()
20503 return clock_gettime ();
20505 return 0;
20507 _ACEOF
20508 for ac_lib in '' rt; do
20509 if test -z "$ac_lib"; then
20510 ac_res="none required"
20511 else
20512 ac_res=-l$ac_lib
20513 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20515 if test x$gcc_no_link = xyes; then
20516 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20518 if ac_fn_cxx_try_link "$LINENO"; then :
20519 ac_cv_search_clock_gettime=$ac_res
20521 rm -f core conftest.err conftest.$ac_objext \
20522 conftest$ac_exeext
20523 if ${ac_cv_search_clock_gettime+:} false; then :
20524 break
20526 done
20527 if ${ac_cv_search_clock_gettime+:} false; then :
20529 else
20530 ac_cv_search_clock_gettime=no
20532 rm conftest.$ac_ext
20533 LIBS=$ac_func_search_save_LIBS
20535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20536 $as_echo "$ac_cv_search_clock_gettime" >&6; }
20537 ac_res=$ac_cv_search_clock_gettime
20538 if test "$ac_res" != no; then :
20539 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
20544 $as_echo_n "checking for library containing nanosleep... " >&6; }
20545 if ${ac_cv_search_nanosleep+:} false; then :
20546 $as_echo_n "(cached) " >&6
20547 else
20548 ac_func_search_save_LIBS=$LIBS
20549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20550 /* end confdefs.h. */
20552 /* Override any GCC internal prototype to avoid an error.
20553 Use char because int might match the return type of a GCC
20554 builtin and then its argument prototype would still apply. */
20555 #ifdef __cplusplus
20556 extern "C"
20557 #endif
20558 char nanosleep ();
20560 main ()
20562 return nanosleep ();
20564 return 0;
20566 _ACEOF
20567 for ac_lib in '' rt; do
20568 if test -z "$ac_lib"; then
20569 ac_res="none required"
20570 else
20571 ac_res=-l$ac_lib
20572 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20574 if test x$gcc_no_link = xyes; then
20575 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20577 if ac_fn_cxx_try_link "$LINENO"; then :
20578 ac_cv_search_nanosleep=$ac_res
20580 rm -f core conftest.err conftest.$ac_objext \
20581 conftest$ac_exeext
20582 if ${ac_cv_search_nanosleep+:} false; then :
20583 break
20585 done
20586 if ${ac_cv_search_nanosleep+:} false; then :
20588 else
20589 ac_cv_search_nanosleep=no
20591 rm conftest.$ac_ext
20592 LIBS=$ac_func_search_save_LIBS
20594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
20595 $as_echo "$ac_cv_search_nanosleep" >&6; }
20596 ac_res=$ac_cv_search_nanosleep
20597 if test "$ac_res" != no; then :
20598 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20602 else
20603 ac_fn_cxx_check_func "$LINENO" "clock_gettime" "ac_cv_func_clock_gettime"
20604 if test "x$ac_cv_func_clock_gettime" = xyes; then :
20608 ac_fn_cxx_check_func "$LINENO" "nanosleep" "ac_cv_func_nanosleep"
20609 if test "x$ac_cv_func_nanosleep" = xyes; then :
20615 case "$ac_cv_search_clock_gettime" in
20616 -l*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
20618 esac
20619 case "$ac_cv_search_nanosleep" in
20620 -l*) GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_nanosleep"
20622 esac
20624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
20625 $as_echo_n "checking for library containing sched_yield... " >&6; }
20626 if ${ac_cv_search_sched_yield+:} false; then :
20627 $as_echo_n "(cached) " >&6
20628 else
20629 ac_func_search_save_LIBS=$LIBS
20630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20631 /* end confdefs.h. */
20633 /* Override any GCC internal prototype to avoid an error.
20634 Use char because int might match the return type of a GCC
20635 builtin and then its argument prototype would still apply. */
20636 #ifdef __cplusplus
20637 extern "C"
20638 #endif
20639 char sched_yield ();
20641 main ()
20643 return sched_yield ();
20645 return 0;
20647 _ACEOF
20648 for ac_lib in '' rt; do
20649 if test -z "$ac_lib"; then
20650 ac_res="none required"
20651 else
20652 ac_res=-l$ac_lib
20653 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20655 if test x$gcc_no_link = xyes; then
20656 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20658 if ac_fn_cxx_try_link "$LINENO"; then :
20659 ac_cv_search_sched_yield=$ac_res
20661 rm -f core conftest.err conftest.$ac_objext \
20662 conftest$ac_exeext
20663 if ${ac_cv_search_sched_yield+:} false; then :
20664 break
20666 done
20667 if ${ac_cv_search_sched_yield+:} false; then :
20669 else
20670 ac_cv_search_sched_yield=no
20672 rm conftest.$ac_ext
20673 LIBS=$ac_func_search_save_LIBS
20675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
20676 $as_echo "$ac_cv_search_sched_yield" >&6; }
20677 ac_res=$ac_cv_search_sched_yield
20678 if test "$ac_res" != no; then :
20679 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20684 case "$ac_cv_search_sched_yield" in
20685 -lrt*)
20686 if test x"$enable_libstdcxx_time" = x"rt"; then
20687 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
20688 ac_has_sched_yield=yes
20692 ac_has_sched_yield=yes
20694 esac
20696 for ac_header in unistd.h
20697 do :
20698 ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
20699 if test "x$ac_cv_header_unistd_h" = xyes; then :
20700 cat >>confdefs.h <<_ACEOF
20701 #define HAVE_UNISTD_H 1
20702 _ACEOF
20703 ac_has_unistd_h=yes
20704 else
20705 ac_has_unistd_h=no
20708 done
20711 if test x"$ac_has_unistd_h" = x"yes"; then
20712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock" >&5
20713 $as_echo_n "checking for monotonic clock... " >&6; }
20714 if test x$gcc_no_link = xyes; then
20715 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20718 /* end confdefs.h. */
20719 #include <unistd.h>
20720 #include <time.h>
20723 main ()
20725 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
20726 timespec tp;
20727 #endif
20728 clock_gettime(CLOCK_MONOTONIC, &tp);
20731 return 0;
20733 _ACEOF
20734 if ac_fn_cxx_try_link "$LINENO"; then :
20735 ac_has_clock_monotonic=yes
20736 else
20737 ac_has_clock_monotonic=no
20739 rm -f core conftest.err conftest.$ac_objext \
20740 conftest$ac_exeext conftest.$ac_ext
20742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic" >&5
20743 $as_echo "$ac_has_clock_monotonic" >&6; }
20745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realtime clock" >&5
20746 $as_echo_n "checking for realtime clock... " >&6; }
20747 if test x$gcc_no_link = xyes; then
20748 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20751 /* end confdefs.h. */
20752 #include <unistd.h>
20753 #include <time.h>
20756 main ()
20758 #if _POSIX_TIMERS > 0
20759 timespec tp;
20760 #endif
20761 clock_gettime(CLOCK_REALTIME, &tp);
20764 return 0;
20766 _ACEOF
20767 if ac_fn_cxx_try_link "$LINENO"; then :
20768 ac_has_clock_realtime=yes
20769 else
20770 ac_has_clock_realtime=no
20772 rm -f core conftest.err conftest.$ac_objext \
20773 conftest$ac_exeext conftest.$ac_ext
20775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_realtime" >&5
20776 $as_echo "$ac_has_clock_realtime" >&6; }
20778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep" >&5
20779 $as_echo_n "checking for nanosleep... " >&6; }
20780 if test x$gcc_no_link = xyes; then
20781 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20784 /* end confdefs.h. */
20785 #include <unistd.h>
20786 #include <time.h>
20789 main ()
20791 #if _POSIX_TIMERS > 0
20792 timespec tp;
20793 #endif
20794 nanosleep(&tp, 0);
20797 return 0;
20799 _ACEOF
20800 if ac_fn_cxx_try_link "$LINENO"; then :
20801 ac_has_nanosleep=yes
20802 else
20803 ac_has_nanosleep=no
20805 rm -f core conftest.err conftest.$ac_objext \
20806 conftest$ac_exeext conftest.$ac_ext
20808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_nanosleep" >&5
20809 $as_echo "$ac_has_nanosleep" >&6; }
20813 if test x"$ac_has_clock_monotonic" != x"yes"; then
20814 case ${target_os} in
20815 linux* | uclinux*)
20816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime syscall" >&5
20817 $as_echo_n "checking for clock_gettime syscall... " >&6; }
20818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20819 /* end confdefs.h. */
20820 #include <unistd.h>
20821 #include <time.h>
20822 #include <sys/syscall.h>
20825 main ()
20827 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
20828 timespec tp;
20829 #endif
20830 syscall(SYS_clock_gettime, CLOCK_MONOTONIC, &tp);
20831 syscall(SYS_clock_gettime, CLOCK_REALTIME, &tp);
20834 return 0;
20836 _ACEOF
20837 if ac_fn_cxx_try_compile "$LINENO"; then :
20838 ac_has_clock_gettime_syscall=yes
20839 else
20840 ac_has_clock_gettime_syscall=no
20842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_gettime_syscall" >&5
20844 $as_echo "$ac_has_clock_gettime_syscall" >&6; }
20845 if test x"$ac_has_clock_gettime_syscall" = x"yes"; then
20847 $as_echo "#define _GLIBCXX_USE_CLOCK_GETTIME_SYSCALL 1" >>confdefs.h
20849 ac_has_clock_monotonic=yes
20850 ac_has_clock_realtime=yes
20851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct timespec that matches syscall" >&5
20852 $as_echo_n "checking for struct timespec that matches syscall... " >&6; }
20853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20854 /* end confdefs.h. */
20855 #include <time.h>
20856 #include <sys/syscall.h>
20859 main ()
20861 #ifdef SYS_clock_gettime64
20862 #if SYS_clock_gettime64 != SYS_clock_gettime
20863 // We need to use SYS_clock_gettime and libc appears to
20864 // also know about the SYS_clock_gettime64 syscall.
20865 // Check that userspace doesn't use time64 version of timespec.
20866 static_assert(sizeof(timespec::tv_sec) == sizeof(long),
20867 "struct timespec must be compatible with SYS_clock_gettime");
20868 #endif
20869 #endif
20872 return 0;
20874 _ACEOF
20875 if ac_fn_cxx_try_compile "$LINENO"; then :
20876 ac_timespec_matches_syscall=yes
20877 else
20878 ac_timespec_matches_syscall=no
20880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_timespec_matches_syscall" >&5
20882 $as_echo "$ac_timespec_matches_syscall" >&6; }
20883 if test x"$ac_timespec_matches_syscall" = no; then
20884 as_fn_error $? "struct timespec is not compatible with SYS_clock_gettime, please report a bug to http://gcc.gnu.org/bugzilla" "$LINENO" 5
20886 fi;;
20887 esac
20890 if test x"$ac_has_clock_monotonic" = x"yes"; then
20892 $as_echo "#define _GLIBCXX_USE_CLOCK_MONOTONIC 1" >>confdefs.h
20896 if test x"$ac_has_clock_realtime" = x"yes"; then
20898 $as_echo "#define _GLIBCXX_USE_CLOCK_REALTIME 1" >>confdefs.h
20902 if test x"$ac_has_sched_yield" = x"yes"; then
20904 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
20908 if test x"$ac_has_nanosleep" = x"yes"; then
20910 $as_echo "#define _GLIBCXX_USE_NANOSLEEP 1" >>confdefs.h
20912 else
20913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sleep" >&5
20914 $as_echo_n "checking for sleep... " >&6; }
20915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20916 /* end confdefs.h. */
20917 #include <unistd.h>
20919 main ()
20921 sleep(1)
20923 return 0;
20925 _ACEOF
20926 if ac_fn_cxx_try_compile "$LINENO"; then :
20927 ac_has_sleep=yes
20928 else
20929 ac_has_sleep=no
20931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20932 if test x"$ac_has_sleep" = x"yes"; then
20934 $as_echo "#define HAVE_SLEEP 1" >>confdefs.h
20937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_sleep" >&5
20938 $as_echo "$ac_has_sleep" >&6; }
20939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for usleep" >&5
20940 $as_echo_n "checking for usleep... " >&6; }
20941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20942 /* end confdefs.h. */
20943 #include <unistd.h>
20945 main ()
20947 sleep(1);
20948 usleep(100);
20950 return 0;
20952 _ACEOF
20953 if ac_fn_cxx_try_compile "$LINENO"; then :
20954 ac_has_usleep=yes
20955 else
20956 ac_has_usleep=no
20958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20959 if test x"$ac_has_usleep" = x"yes"; then
20961 $as_echo "#define HAVE_USLEEP 1" >>confdefs.h
20964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_usleep" >&5
20965 $as_echo "$ac_has_usleep" >&6; }
20968 if test x"$ac_has_nanosleep$ac_has_sleep" = x"nono"; then
20969 ac_no_sleep=yes
20970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Sleep" >&5
20971 $as_echo_n "checking for Sleep... " >&6; }
20972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20973 /* end confdefs.h. */
20974 #include <windows.h>
20976 main ()
20978 Sleep(1)
20980 return 0;
20982 _ACEOF
20983 if ac_fn_cxx_try_compile "$LINENO"; then :
20984 ac_has_win32_sleep=yes
20985 else
20986 ac_has_win32_sleep=no
20988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20989 if test x"$ac_has_win32_sleep" = x"yes"; then
20991 $as_echo "#define HAVE_WIN32_SLEEP 1" >>confdefs.h
20993 ac_no_sleep=no
20995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_win32_sleep" >&5
20996 $as_echo "$ac_has_win32_sleep" >&6; }
20999 if test x"$ac_no_sleep" = x"yes"; then
21001 $as_echo "#define NO_SLEEP 1" >>confdefs.h
21007 CXXFLAGS="$ac_save_CXXFLAGS"
21008 LIBS="$ac_save_LIBS"
21009 ac_ext=c
21010 ac_cpp='$CPP $CPPFLAGS'
21011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21017 # Check for tmpnam which is obsolescent in POSIX.1-2008
21019 ac_ext=cpp
21020 ac_cpp='$CXXCPP $CPPFLAGS'
21021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21025 ac_save_CXXFLAGS="$CXXFLAGS"
21026 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tmpnam" >&5
21028 $as_echo_n "checking for tmpnam... " >&6; }
21029 if ${glibcxx_cv_TMPNAM+:} false; then :
21030 $as_echo_n "(cached) " >&6
21031 else
21032 if test x$gcc_no_link = xyes; then
21033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21034 /* end confdefs.h. */
21035 #include <stdio.h>
21037 main ()
21039 char *tmp = tmpnam(NULL);
21041 return 0;
21043 _ACEOF
21044 if ac_fn_cxx_try_compile "$LINENO"; then :
21045 glibcxx_cv_TMPNAM=yes
21046 else
21047 glibcxx_cv_TMPNAM=no
21049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21050 else
21051 if test x$gcc_no_link = xyes; then
21052 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21055 /* end confdefs.h. */
21056 #include <stdio.h>
21058 main ()
21060 char *tmp = tmpnam(NULL);
21062 return 0;
21064 _ACEOF
21065 if ac_fn_cxx_try_link "$LINENO"; then :
21066 glibcxx_cv_TMPNAM=yes
21067 else
21068 glibcxx_cv_TMPNAM=no
21070 rm -f core conftest.err conftest.$ac_objext \
21071 conftest$ac_exeext conftest.$ac_ext
21076 if test $glibcxx_cv_TMPNAM = yes; then
21078 $as_echo "#define _GLIBCXX_USE_TMPNAM 1" >>confdefs.h
21081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_TMPNAM" >&5
21082 $as_echo "$glibcxx_cv_TMPNAM" >&6; }
21083 CXXFLAGS="$ac_save_CXXFLAGS"
21084 ac_ext=c
21085 ac_cpp='$CPP $CPPFLAGS'
21086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21092 # For pthread_cond_clockwait
21096 ac_ext=cpp
21097 ac_cpp='$CXXCPP $CPPFLAGS'
21098 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21099 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21100 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21102 ac_save_CXXFLAGS="$CXXFLAGS"
21103 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21104 ac_save_LIBS="$LIBS"
21105 LIBS="$LIBS -lpthread"
21107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_cond_clockwait" >&5
21108 $as_echo_n "checking for pthread_cond_clockwait... " >&6; }
21109 if ${glibcxx_cv_PTHREAD_COND_CLOCKWAIT+:} false; then :
21110 $as_echo_n "(cached) " >&6
21111 else
21113 if test x$gcc_no_link = xyes; then
21114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21115 /* end confdefs.h. */
21116 #include <pthread.h>
21118 main ()
21120 pthread_mutex_t mutex; pthread_cond_t cond; struct timespec ts; int n = pthread_cond_clockwait(&cond, &mutex, 0, &ts);
21122 return 0;
21124 _ACEOF
21125 if ac_fn_cxx_try_compile "$LINENO"; then :
21126 glibcxx_cv_PTHREAD_COND_CLOCKWAIT=yes
21127 else
21128 glibcxx_cv_PTHREAD_COND_CLOCKWAIT=no
21130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21131 else
21132 if test x$gcc_no_link = xyes; then
21133 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21136 /* end confdefs.h. */
21137 #include <pthread.h>
21139 main ()
21141 pthread_mutex_t mutex; pthread_cond_t cond; struct timespec ts; int n = pthread_cond_clockwait(&cond, &mutex, 0, &ts);
21143 return 0;
21145 _ACEOF
21146 if ac_fn_cxx_try_link "$LINENO"; then :
21147 glibcxx_cv_PTHREAD_COND_CLOCKWAIT=yes
21148 else
21149 glibcxx_cv_PTHREAD_COND_CLOCKWAIT=no
21151 rm -f core conftest.err conftest.$ac_objext \
21152 conftest$ac_exeext conftest.$ac_ext
21157 if test $glibcxx_cv_PTHREAD_COND_CLOCKWAIT = yes; then
21159 $as_echo "#define _GLIBCXX_USE_PTHREAD_COND_CLOCKWAIT 1" >>confdefs.h
21162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREAD_COND_CLOCKWAIT" >&5
21163 $as_echo "$glibcxx_cv_PTHREAD_COND_CLOCKWAIT" >&6; }
21165 CXXFLAGS="$ac_save_CXXFLAGS"
21166 LIBS="$ac_save_LIBS"
21167 ac_ext=c
21168 ac_cpp='$CPP $CPPFLAGS'
21169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21175 # For pthread_mutex_clocklock
21179 ac_ext=cpp
21180 ac_cpp='$CXXCPP $CPPFLAGS'
21181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21185 ac_save_CXXFLAGS="$CXXFLAGS"
21186 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21187 ac_save_LIBS="$LIBS"
21188 LIBS="$LIBS -lpthread"
21190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutex_clocklock" >&5
21191 $as_echo_n "checking for pthread_mutex_clocklock... " >&6; }
21192 if ${glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK+:} false; then :
21193 $as_echo_n "(cached) " >&6
21194 else
21196 if test x$gcc_no_link = xyes; then
21197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21198 /* end confdefs.h. */
21199 #include <pthread.h>
21201 main ()
21203 pthread_mutex_t mutex; struct timespec ts; int n = pthread_mutex_clocklock(&mutex, CLOCK_REALTIME, &ts);
21205 return 0;
21207 _ACEOF
21208 if ac_fn_cxx_try_compile "$LINENO"; then :
21209 glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK=yes
21210 else
21211 glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK=no
21213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21214 else
21215 if test x$gcc_no_link = xyes; then
21216 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21219 /* end confdefs.h. */
21220 #include <pthread.h>
21222 main ()
21224 pthread_mutex_t mutex; struct timespec ts; int n = pthread_mutex_clocklock(&mutex, CLOCK_REALTIME, &ts);
21226 return 0;
21228 _ACEOF
21229 if ac_fn_cxx_try_link "$LINENO"; then :
21230 glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK=yes
21231 else
21232 glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK=no
21234 rm -f core conftest.err conftest.$ac_objext \
21235 conftest$ac_exeext conftest.$ac_ext
21240 if test $glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK = yes; then
21242 $as_echo "#define _GLIBCXX_USE_PTHREAD_MUTEX_CLOCKLOCK 1" >>confdefs.h
21245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK" >&5
21246 $as_echo "$glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK" >&6; }
21248 CXXFLAGS="$ac_save_CXXFLAGS"
21249 LIBS="$ac_save_LIBS"
21250 ac_ext=c
21251 ac_cpp='$CPP $CPPFLAGS'
21252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21258 # For pthread_rwlock_clockrdlock and pthread_rwlock_clockwrlock
21262 ac_ext=cpp
21263 ac_cpp='$CXXCPP $CPPFLAGS'
21264 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21265 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21266 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21268 ac_save_CXXFLAGS="$CXXFLAGS"
21269 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21270 ac_save_LIBS="$LIBS"
21271 LIBS="$LIBS -lpthread"
21273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_rwlock_clockrdlock, pthread_wlock_clockwrlock" >&5
21274 $as_echo_n "checking for pthread_rwlock_clockrdlock, pthread_wlock_clockwrlock... " >&6; }
21275 if ${glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK+:} false; then :
21276 $as_echo_n "(cached) " >&6
21277 else
21279 if test x$gcc_no_link = xyes; then
21280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21281 /* end confdefs.h. */
21282 #include <pthread.h>
21284 main ()
21286 pthread_rwlock_t rwl; struct timespec ts;
21287 int n = pthread_rwlock_clockrdlock(&rwl, CLOCK_REALTIME, &ts);
21288 int m = pthread_rwlock_clockwrlock(&rwl, CLOCK_REALTIME, &ts);
21290 return 0;
21292 _ACEOF
21293 if ac_fn_cxx_try_compile "$LINENO"; then :
21294 glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK=yes
21295 else
21296 glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK=no
21298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21299 else
21300 if test x$gcc_no_link = xyes; then
21301 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21304 /* end confdefs.h. */
21305 #include <pthread.h>
21307 main ()
21309 pthread_rwlock_t rwl; struct timespec ts;
21310 int n = pthread_rwlock_clockrdlock(&rwl, CLOCK_REALTIME, &ts);
21311 int m = pthread_rwlock_clockwrlock(&rwl, CLOCK_REALTIME, &ts);
21313 return 0;
21315 _ACEOF
21316 if ac_fn_cxx_try_link "$LINENO"; then :
21317 glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK=yes
21318 else
21319 glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK=no
21321 rm -f core conftest.err conftest.$ac_objext \
21322 conftest$ac_exeext conftest.$ac_ext
21327 if test $glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK = yes; then
21329 $as_echo "#define _GLIBCXX_USE_PTHREAD_RWLOCK_CLOCKLOCK 1" >>confdefs.h
21332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK" >&5
21333 $as_echo "$glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK" >&6; }
21335 CXXFLAGS="$ac_save_CXXFLAGS"
21336 LIBS="$ac_save_LIBS"
21337 ac_ext=c
21338 ac_cpp='$CPP $CPPFLAGS'
21339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21346 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
21347 if test "x$ac_cv_header_locale_h" = xyes; then :
21349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
21350 $as_echo_n "checking for LC_MESSAGES... " >&6; }
21351 if ${ac_cv_val_LC_MESSAGES+:} false; then :
21352 $as_echo_n "(cached) " >&6
21353 else
21354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21355 /* end confdefs.h. */
21356 #include <locale.h>
21358 main ()
21360 return LC_MESSAGES
21362 return 0;
21364 _ACEOF
21365 if ac_fn_c_try_compile "$LINENO"; then :
21366 ac_cv_val_LC_MESSAGES=yes
21367 else
21368 ac_cv_val_LC_MESSAGES=no
21370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_val_LC_MESSAGES" >&5
21373 $as_echo "$ac_cv_val_LC_MESSAGES" >&6; }
21374 if test $ac_cv_val_LC_MESSAGES = yes; then
21376 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
21385 # For hardware_concurrency
21386 for ac_header in sys/sysinfo.h
21387 do :
21388 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
21389 if test "x$ac_cv_header_sys_sysinfo_h" = xyes; then :
21390 cat >>confdefs.h <<_ACEOF
21391 #define HAVE_SYS_SYSINFO_H 1
21392 _ACEOF
21396 done
21401 ac_ext=cpp
21402 ac_cpp='$CXXCPP $CPPFLAGS'
21403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21404 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21407 ac_save_CXXFLAGS="$CXXFLAGS"
21408 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for get_nprocs" >&5
21411 $as_echo_n "checking for get_nprocs... " >&6; }
21412 if ${glibcxx_cv_GET_NPROCS+:} false; then :
21413 $as_echo_n "(cached) " >&6
21414 else
21416 if test x$gcc_no_link = xyes; then
21417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21418 /* end confdefs.h. */
21419 #include <sys/sysinfo.h>
21421 main ()
21423 int n = get_nprocs();
21425 return 0;
21427 _ACEOF
21428 if ac_fn_cxx_try_compile "$LINENO"; then :
21429 glibcxx_cv_GET_NPROCS=yes
21430 else
21431 glibcxx_cv_GET_NPROCS=no
21433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21434 else
21435 if test x$gcc_no_link = xyes; then
21436 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21439 /* end confdefs.h. */
21440 #include <sys/sysinfo.h>
21442 main ()
21444 int n = get_nprocs();
21446 return 0;
21448 _ACEOF
21449 if ac_fn_cxx_try_link "$LINENO"; then :
21450 glibcxx_cv_GET_NPROCS=yes
21451 else
21452 glibcxx_cv_GET_NPROCS=no
21454 rm -f core conftest.err conftest.$ac_objext \
21455 conftest$ac_exeext conftest.$ac_ext
21460 if test $glibcxx_cv_GET_NPROCS = yes; then
21462 $as_echo "#define _GLIBCXX_USE_GET_NPROCS 1" >>confdefs.h
21465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_GET_NPROCS" >&5
21466 $as_echo "$glibcxx_cv_GET_NPROCS" >&6; }
21468 CXXFLAGS="$ac_save_CXXFLAGS"
21469 ac_ext=c
21470 ac_cpp='$CPP $CPPFLAGS'
21471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21476 for ac_header in unistd.h
21477 do :
21478 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
21479 if test "x$ac_cv_header_unistd_h" = xyes; then :
21480 cat >>confdefs.h <<_ACEOF
21481 #define HAVE_UNISTD_H 1
21482 _ACEOF
21486 done
21491 ac_ext=cpp
21492 ac_cpp='$CXXCPP $CPPFLAGS'
21493 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21494 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21495 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21497 ac_save_CXXFLAGS="$CXXFLAGS"
21498 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROCESSORS_ONLN" >&5
21501 $as_echo_n "checking for _SC_NPROCESSORS_ONLN... " >&6; }
21502 if ${glibcxx_cv_SC_NPROCESSORS_ONLN+:} false; then :
21503 $as_echo_n "(cached) " >&6
21504 else
21506 if test x$gcc_no_link = xyes; then
21507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21508 /* end confdefs.h. */
21509 #include <unistd.h>
21511 main ()
21513 int n = sysconf(_SC_NPROCESSORS_ONLN);
21515 return 0;
21517 _ACEOF
21518 if ac_fn_cxx_try_compile "$LINENO"; then :
21519 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
21520 else
21521 glibcxx_cv_SC_NPROCESSORS_ONLN=no
21523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21524 else
21525 if test x$gcc_no_link = xyes; then
21526 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21529 /* end confdefs.h. */
21530 #include <unistd.h>
21532 main ()
21534 int n = sysconf(_SC_NPROCESSORS_ONLN);
21536 return 0;
21538 _ACEOF
21539 if ac_fn_cxx_try_link "$LINENO"; then :
21540 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
21541 else
21542 glibcxx_cv_SC_NPROCESSORS_ONLN=no
21544 rm -f core conftest.err conftest.$ac_objext \
21545 conftest$ac_exeext conftest.$ac_ext
21550 if test $glibcxx_cv_SC_NPROCESSORS_ONLN = yes; then
21552 $as_echo "#define _GLIBCXX_USE_SC_NPROCESSORS_ONLN 1" >>confdefs.h
21555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROCESSORS_ONLN" >&5
21556 $as_echo "$glibcxx_cv_SC_NPROCESSORS_ONLN" >&6; }
21558 CXXFLAGS="$ac_save_CXXFLAGS"
21559 ac_ext=c
21560 ac_cpp='$CPP $CPPFLAGS'
21561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21569 ac_ext=cpp
21570 ac_cpp='$CXXCPP $CPPFLAGS'
21571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21575 ac_save_CXXFLAGS="$CXXFLAGS"
21576 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROC_ONLN" >&5
21579 $as_echo_n "checking for _SC_NPROC_ONLN... " >&6; }
21580 if ${glibcxx_cv_SC_NPROC_ONLN+:} false; then :
21581 $as_echo_n "(cached) " >&6
21582 else
21584 if test x$gcc_no_link = xyes; then
21585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21586 /* end confdefs.h. */
21587 #include <unistd.h>
21589 main ()
21591 int n = sysconf(_SC_NPROC_ONLN);
21593 return 0;
21595 _ACEOF
21596 if ac_fn_cxx_try_compile "$LINENO"; then :
21597 glibcxx_cv_SC_NPROC_ONLN=yes
21598 else
21599 glibcxx_cv_SC_NPROC_ONLN=no
21601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21602 else
21603 if test x$gcc_no_link = xyes; then
21604 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21607 /* end confdefs.h. */
21608 #include <unistd.h>
21610 main ()
21612 int n = sysconf(_SC_NPROC_ONLN);
21614 return 0;
21616 _ACEOF
21617 if ac_fn_cxx_try_link "$LINENO"; then :
21618 glibcxx_cv_SC_NPROC_ONLN=yes
21619 else
21620 glibcxx_cv_SC_NPROC_ONLN=no
21622 rm -f core conftest.err conftest.$ac_objext \
21623 conftest$ac_exeext conftest.$ac_ext
21628 if test $glibcxx_cv_SC_NPROC_ONLN = yes; then
21630 $as_echo "#define _GLIBCXX_USE_SC_NPROC_ONLN 1" >>confdefs.h
21633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROC_ONLN" >&5
21634 $as_echo "$glibcxx_cv_SC_NPROC_ONLN" >&6; }
21636 CXXFLAGS="$ac_save_CXXFLAGS"
21637 ac_ext=c
21638 ac_cpp='$CPP $CPPFLAGS'
21639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21640 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21641 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21647 ac_ext=cpp
21648 ac_cpp='$CXXCPP $CPPFLAGS'
21649 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21650 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21651 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21653 ac_save_CXXFLAGS="$CXXFLAGS"
21654 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthreads_num_processors_np" >&5
21657 $as_echo_n "checking for pthreads_num_processors_np... " >&6; }
21658 if ${glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP+:} false; then :
21659 $as_echo_n "(cached) " >&6
21660 else
21662 if test x$gcc_no_link = xyes; then
21663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21664 /* end confdefs.h. */
21665 #include <pthread.h>
21667 main ()
21669 int n = pthread_num_processors_np();
21671 return 0;
21673 _ACEOF
21674 if ac_fn_cxx_try_compile "$LINENO"; then :
21675 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
21676 else
21677 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
21679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21680 else
21681 if test x$gcc_no_link = xyes; then
21682 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21685 /* end confdefs.h. */
21686 #include <pthread.h>
21688 main ()
21690 int n = pthread_num_processors_np();
21692 return 0;
21694 _ACEOF
21695 if ac_fn_cxx_try_link "$LINENO"; then :
21696 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
21697 else
21698 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
21700 rm -f core conftest.err conftest.$ac_objext \
21701 conftest$ac_exeext conftest.$ac_ext
21706 if test $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP = yes; then
21708 $as_echo "#define _GLIBCXX_USE_PTHREADS_NUM_PROCESSORS_NP 1" >>confdefs.h
21711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&5
21712 $as_echo "$glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&6; }
21714 CXXFLAGS="$ac_save_CXXFLAGS"
21715 ac_ext=c
21716 ac_cpp='$CPP $CPPFLAGS'
21717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21725 ac_ext=cpp
21726 ac_cpp='$CXXCPP $CPPFLAGS'
21727 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21728 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21729 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21731 ac_save_CXXFLAGS="$CXXFLAGS"
21732 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hw.ncpu sysctl" >&5
21735 $as_echo_n "checking for hw.ncpu sysctl... " >&6; }
21736 if ${glibcxx_cv_SYSCTL_HW_NCPU+:} false; then :
21737 $as_echo_n "(cached) " >&6
21738 else
21740 if test x$gcc_no_link = xyes; then
21741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21742 /* end confdefs.h. */
21744 #include <stddef.h>
21745 #include <sys/sysctl.h>
21748 main ()
21751 int count;
21752 size_t size = sizeof(count);
21753 int mib[] = { CTL_HW, HW_NCPU };
21754 sysctl(mib, 2, &count, &size, NULL, 0);
21757 return 0;
21759 _ACEOF
21760 if ac_fn_cxx_try_compile "$LINENO"; then :
21761 glibcxx_cv_SYSCTL_HW_NCPU=yes
21762 else
21763 glibcxx_cv_SYSCTL_HW_NCPU=no
21765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21766 else
21767 if test x$gcc_no_link = xyes; then
21768 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21771 /* end confdefs.h. */
21773 #include <stddef.h>
21774 #include <sys/sysctl.h>
21777 main ()
21780 int count;
21781 size_t size = sizeof(count);
21782 int mib[] = { CTL_HW, HW_NCPU };
21783 sysctl(mib, 2, &count, &size, NULL, 0);
21786 return 0;
21788 _ACEOF
21789 if ac_fn_cxx_try_link "$LINENO"; then :
21790 glibcxx_cv_SYSCTL_HW_NCPU=yes
21791 else
21792 glibcxx_cv_SYSCTL_HW_NCPU=no
21794 rm -f core conftest.err conftest.$ac_objext \
21795 conftest$ac_exeext conftest.$ac_ext
21800 if test $glibcxx_cv_SYSCTL_HW_NCPU = yes; then
21802 $as_echo "#define _GLIBCXX_USE_SYSCTL_HW_NCPU 1" >>confdefs.h
21805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SYSCTL_HW_NCPU" >&5
21806 $as_echo "$glibcxx_cv_SYSCTL_HW_NCPU" >&6; }
21808 CXXFLAGS="$ac_save_CXXFLAGS"
21809 ac_ext=c
21810 ac_cpp='$CPP $CPPFLAGS'
21811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suitable sys/sdt.h" >&5
21818 $as_echo_n "checking for suitable sys/sdt.h... " >&6; }
21819 # Note that this test has to be run with the C language.
21820 # Otherwise, sdt.h will try to include some headers from
21821 # libstdc++ itself.
21823 ac_ext=c
21824 ac_cpp='$CPP $CPPFLAGS'
21825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21829 if ${glibcxx_cv_sys_sdt_h+:} false; then :
21830 $as_echo_n "(cached) " >&6
21831 else
21833 # Because we have to run the test in C, we use grep rather
21834 # than the compiler to check for the bug. The bug is that
21835 # were strings without trailing whitespace, causing g++
21836 # to look for operator"". The pattern searches for the fixed
21837 # output.
21838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21839 /* end confdefs.h. */
21841 #include <sys/sdt.h>
21842 int f() { STAP_PROBE(hi, bob); }
21844 _ACEOF
21845 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21846 $EGREP " \",\" " >/dev/null 2>&1; then :
21847 glibcxx_cv_sys_sdt_h=yes
21848 else
21849 glibcxx_cv_sys_sdt_h=no
21851 rm -f conftest*
21856 ac_ext=c
21857 ac_cpp='$CPP $CPPFLAGS'
21858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21862 if test $glibcxx_cv_sys_sdt_h = yes; then
21864 $as_echo "#define HAVE_SYS_SDT_H 1" >>confdefs.h
21867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sys_sdt_h" >&5
21868 $as_echo "$glibcxx_cv_sys_sdt_h" >&6; }
21871 # Check for available headers.
21872 for ac_header in endian.h execinfo.h float.h fp.h ieeefp.h inttypes.h \
21873 locale.h machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
21874 strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
21875 sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
21876 wchar.h wctype.h linux/types.h
21877 do :
21878 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
21879 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
21880 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
21881 cat >>confdefs.h <<_ACEOF
21882 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
21883 _ACEOF
21887 done
21890 for ac_header in linux/random.h
21891 do :
21892 ac_fn_c_check_header_compile "$LINENO" "linux/random.h" "ac_cv_header_linux_random_h" "#ifdef HAVE_LINUX_TYPES_H
21893 # include <linux/types.h>
21894 #endif
21897 if test "x$ac_cv_header_linux_random_h" = xyes; then :
21898 cat >>confdefs.h <<_ACEOF
21899 #define HAVE_LINUX_RANDOM_H 1
21900 _ACEOF
21904 done
21907 for ac_header in xlocale.h
21908 do :
21909 ac_fn_c_check_header_mongrel "$LINENO" "xlocale.h" "ac_cv_header_xlocale_h" "$ac_includes_default"
21910 if test "x$ac_cv_header_xlocale_h" = xyes; then :
21911 cat >>confdefs.h <<_ACEOF
21912 #define HAVE_XLOCALE_H 1
21913 _ACEOF
21917 done
21920 # Only do link tests if native. Else, hardcode.
21921 if $GLIBCXX_IS_NATIVE; then
21923 # We can do more elaborate tests that assume a working linker.
21924 CANADIAN=no
21928 # Check whether --with-gnu-ld was given.
21929 if test "${with_gnu_ld+set}" = set; then :
21930 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
21931 else
21932 with_gnu_ld=no
21935 ac_prog=ld
21936 if test "$GCC" = yes; then
21937 # Check if gcc -print-prog-name=ld gives a path.
21938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
21939 $as_echo_n "checking for ld used by $CC... " >&6; }
21940 case $host in
21941 *-*-mingw*)
21942 # gcc leaves a trailing carriage return which upsets mingw
21943 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
21945 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
21946 esac
21947 case $ac_prog in
21948 # Accept absolute paths.
21949 [\\/]* | ?:[\\/]*)
21950 re_direlt='/[^/][^/]*/\.\./'
21951 # Canonicalize the pathname of ld
21952 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
21953 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
21954 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
21955 done
21956 test -z "$LD" && LD="$ac_prog"
21959 # If it fails, then pretend we aren't using GCC.
21960 ac_prog=ld
21963 # If it is relative, then search for the first ld in PATH.
21964 with_gnu_ld=unknown
21966 esac
21967 elif test "$with_gnu_ld" = yes; then
21968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
21969 $as_echo_n "checking for GNU ld... " >&6; }
21970 else
21971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
21972 $as_echo_n "checking for non-GNU ld... " >&6; }
21974 if ${lt_cv_path_LD+:} false; then :
21975 $as_echo_n "(cached) " >&6
21976 else
21977 if test -z "$LD"; then
21978 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
21979 for ac_dir in $PATH; do
21980 IFS="$lt_save_ifs"
21981 test -z "$ac_dir" && ac_dir=.
21982 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
21983 lt_cv_path_LD="$ac_dir/$ac_prog"
21984 # Check to see if the program is GNU ld. I'd rather use --version,
21985 # but apparently some variants of GNU ld only accept -v.
21986 # Break only if it was the GNU/non-GNU ld that we prefer.
21987 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
21988 *GNU* | *'with BFD'*)
21989 test "$with_gnu_ld" != no && break
21992 test "$with_gnu_ld" != yes && break
21994 esac
21996 done
21997 IFS="$lt_save_ifs"
21998 else
21999 lt_cv_path_LD="$LD" # Let the user override the test with a path.
22003 LD="$lt_cv_path_LD"
22004 if test -n "$LD"; then
22005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
22006 $as_echo "$LD" >&6; }
22007 else
22008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22009 $as_echo "no" >&6; }
22011 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
22012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
22013 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
22014 if ${lt_cv_prog_gnu_ld+:} false; then :
22015 $as_echo_n "(cached) " >&6
22016 else
22017 # I'd rather use --version here, but apparently some GNU lds only accept -v.
22018 case `$LD -v 2>&1 </dev/null` in
22019 *GNU* | *'with BFD'*)
22020 lt_cv_prog_gnu_ld=yes
22023 lt_cv_prog_gnu_ld=no
22025 esac
22027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
22028 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
22029 with_gnu_ld=$lt_cv_prog_gnu_ld
22037 # If we're not using GNU ld, then there's no point in even trying these
22038 # tests. Check for that first. We should have already tested for gld
22039 # by now (in libtool), but require it now just to be safe...
22040 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
22041 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
22045 # The name set by libtool depends on the version of libtool. Shame on us
22046 # for depending on an impl detail, but c'est la vie. Older versions used
22047 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
22048 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
22049 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
22050 # set (hence we're using an older libtool), then set it.
22051 if test x${with_gnu_ld+set} != xset; then
22052 if test x${ac_cv_prog_gnu_ld+set} != xset; then
22053 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
22054 with_gnu_ld=no
22055 else
22056 with_gnu_ld=$ac_cv_prog_gnu_ld
22060 # Start by getting the version number. I think the libtool test already
22061 # does some of this, but throws away the result.
22062 glibcxx_ld_is_gold=no
22063 if test x"$with_gnu_ld" = x"yes"; then
22064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
22065 $as_echo_n "checking for ld version... " >&6; }
22067 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
22068 glibcxx_ld_is_gold=yes
22070 ldver=`$LD --version 2>/dev/null |
22071 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
22073 glibcxx_gnu_ld_version=`echo $ldver | \
22074 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
22075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
22076 $as_echo "$glibcxx_gnu_ld_version" >&6; }
22079 # Set --gc-sections.
22080 glibcxx_have_gc_sections=no
22081 if test "$glibcxx_ld_is_gold" = "yes"; then
22082 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
22083 glibcxx_have_gc_sections=yes
22085 else
22086 glibcxx_gcsections_min_ld=21602
22087 if test x"$with_gnu_ld" = x"yes" &&
22088 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
22089 glibcxx_have_gc_sections=yes
22092 if test "$glibcxx_have_gc_sections" = "yes"; then
22093 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
22094 # NB: This flag only works reliably after 2.16.1. Configure tests
22095 # for this are difficult, so hard wire a value that should work.
22097 ac_test_CFLAGS="${CFLAGS+set}"
22098 ac_save_CFLAGS="$CFLAGS"
22099 CFLAGS='-Wl,--gc-sections'
22101 # Check for -Wl,--gc-sections
22102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
22103 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
22104 if test x$gcc_no_link = xyes; then
22105 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22108 /* end confdefs.h. */
22109 int one(void) { return 1; }
22110 int two(void) { return 2; }
22113 main ()
22115 two();
22117 return 0;
22119 _ACEOF
22120 if ac_fn_c_try_link "$LINENO"; then :
22121 ac_gcsections=yes
22122 else
22123 ac_gcsections=no
22125 rm -f core conftest.err conftest.$ac_objext \
22126 conftest$ac_exeext conftest.$ac_ext
22127 if test "$ac_gcsections" = "yes"; then
22128 rm -f conftest.c
22129 touch conftest.c
22130 if $CC -c conftest.c; then
22131 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
22132 grep "Warning: gc-sections option ignored" > /dev/null; then
22133 ac_gcsections=no
22136 rm -f conftest.c conftest.o conftest
22138 if test "$ac_gcsections" = "yes"; then
22139 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
22141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
22142 $as_echo "$ac_gcsections" >&6; }
22144 if test "$ac_test_CFLAGS" = set; then
22145 CFLAGS="$ac_save_CFLAGS"
22146 else
22147 # this is the suspicious part
22148 CFLAGS=''
22152 # Set -z,relro.
22153 # Note this is only for shared objects.
22154 ac_ld_relro=no
22155 if test x"$with_gnu_ld" = x"yes"; then
22156 # cygwin and mingw uses PE, which has no ELF relro support,
22157 # multi target ld may confuse configure machinery
22158 case "$host" in
22159 *-*-cygwin*)
22161 *-*-mingw*)
22164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
22165 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
22166 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
22167 if test -n "$cxx_z_relo"; then
22168 OPT_LDFLAGS="-Wl,-z,relro"
22169 ac_ld_relro=yes
22171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
22172 $as_echo "$ac_ld_relro" >&6; }
22173 esac
22176 # Set linker optimization flags.
22177 if test x"$with_gnu_ld" = x"yes"; then
22178 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
22185 ac_test_CXXFLAGS="${CXXFLAGS+set}"
22186 ac_save_CXXFLAGS="$CXXFLAGS"
22187 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
22189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
22190 $as_echo_n "checking for sin in -lm... " >&6; }
22191 if ${ac_cv_lib_m_sin+:} false; then :
22192 $as_echo_n "(cached) " >&6
22193 else
22194 ac_check_lib_save_LIBS=$LIBS
22195 LIBS="-lm $LIBS"
22196 if test x$gcc_no_link = xyes; then
22197 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22200 /* end confdefs.h. */
22202 /* Override any GCC internal prototype to avoid an error.
22203 Use char because int might match the return type of a GCC
22204 builtin and then its argument prototype would still apply. */
22205 #ifdef __cplusplus
22206 extern "C"
22207 #endif
22208 char sin ();
22210 main ()
22212 return sin ();
22214 return 0;
22216 _ACEOF
22217 if ac_fn_c_try_link "$LINENO"; then :
22218 ac_cv_lib_m_sin=yes
22219 else
22220 ac_cv_lib_m_sin=no
22222 rm -f core conftest.err conftest.$ac_objext \
22223 conftest$ac_exeext conftest.$ac_ext
22224 LIBS=$ac_check_lib_save_LIBS
22226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
22227 $as_echo "$ac_cv_lib_m_sin" >&6; }
22228 if test "x$ac_cv_lib_m_sin" = xyes; then :
22229 libm="-lm"
22232 ac_save_LIBS="$LIBS"
22233 LIBS="$LIBS $libm"
22237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
22238 $as_echo_n "checking for isinf declaration... " >&6; }
22239 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
22240 if ${glibcxx_cv_func_isinf_use+:} false; then :
22241 $as_echo_n "(cached) " >&6
22242 else
22245 ac_ext=cpp
22246 ac_cpp='$CXXCPP $CPPFLAGS'
22247 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22248 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22249 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22252 /* end confdefs.h. */
22253 #include <math.h>
22254 #ifdef HAVE_IEEEFP_H
22255 #include <ieeefp.h>
22256 #endif
22259 main ()
22261 isinf(0);
22263 return 0;
22265 _ACEOF
22266 if ac_fn_cxx_try_compile "$LINENO"; then :
22267 glibcxx_cv_func_isinf_use=yes
22268 else
22269 glibcxx_cv_func_isinf_use=no
22271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22272 ac_ext=c
22273 ac_cpp='$CPP $CPPFLAGS'
22274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
22283 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
22285 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
22286 for ac_func in isinf
22287 do :
22288 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
22289 if test "x$ac_cv_func_isinf" = xyes; then :
22290 cat >>confdefs.h <<_ACEOF
22291 #define HAVE_ISINF 1
22292 _ACEOF
22295 done
22297 else
22299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
22300 $as_echo_n "checking for _isinf declaration... " >&6; }
22301 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
22302 if ${glibcxx_cv_func__isinf_use+:} false; then :
22303 $as_echo_n "(cached) " >&6
22304 else
22307 ac_ext=cpp
22308 ac_cpp='$CXXCPP $CPPFLAGS'
22309 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22310 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22311 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22314 /* end confdefs.h. */
22315 #include <math.h>
22316 #ifdef HAVE_IEEEFP_H
22317 #include <ieeefp.h>
22318 #endif
22321 main ()
22323 _isinf(0);
22325 return 0;
22327 _ACEOF
22328 if ac_fn_cxx_try_compile "$LINENO"; then :
22329 glibcxx_cv_func__isinf_use=yes
22330 else
22331 glibcxx_cv_func__isinf_use=no
22333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22334 ac_ext=c
22335 ac_cpp='$CPP $CPPFLAGS'
22336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
22345 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
22347 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
22348 for ac_func in _isinf
22349 do :
22350 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
22351 if test "x$ac_cv_func__isinf" = xyes; then :
22352 cat >>confdefs.h <<_ACEOF
22353 #define HAVE__ISINF 1
22354 _ACEOF
22357 done
22366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
22367 $as_echo_n "checking for isnan declaration... " >&6; }
22368 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
22369 if ${glibcxx_cv_func_isnan_use+:} false; then :
22370 $as_echo_n "(cached) " >&6
22371 else
22374 ac_ext=cpp
22375 ac_cpp='$CXXCPP $CPPFLAGS'
22376 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22377 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22378 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22381 /* end confdefs.h. */
22382 #include <math.h>
22383 #ifdef HAVE_IEEEFP_H
22384 #include <ieeefp.h>
22385 #endif
22388 main ()
22390 isnan(0);
22392 return 0;
22394 _ACEOF
22395 if ac_fn_cxx_try_compile "$LINENO"; then :
22396 glibcxx_cv_func_isnan_use=yes
22397 else
22398 glibcxx_cv_func_isnan_use=no
22400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22401 ac_ext=c
22402 ac_cpp='$CPP $CPPFLAGS'
22403 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22404 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
22412 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
22414 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
22415 for ac_func in isnan
22416 do :
22417 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
22418 if test "x$ac_cv_func_isnan" = xyes; then :
22419 cat >>confdefs.h <<_ACEOF
22420 #define HAVE_ISNAN 1
22421 _ACEOF
22424 done
22426 else
22428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
22429 $as_echo_n "checking for _isnan declaration... " >&6; }
22430 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
22431 if ${glibcxx_cv_func__isnan_use+:} false; then :
22432 $as_echo_n "(cached) " >&6
22433 else
22436 ac_ext=cpp
22437 ac_cpp='$CXXCPP $CPPFLAGS'
22438 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22439 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22440 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22443 /* end confdefs.h. */
22444 #include <math.h>
22445 #ifdef HAVE_IEEEFP_H
22446 #include <ieeefp.h>
22447 #endif
22450 main ()
22452 _isnan(0);
22454 return 0;
22456 _ACEOF
22457 if ac_fn_cxx_try_compile "$LINENO"; then :
22458 glibcxx_cv_func__isnan_use=yes
22459 else
22460 glibcxx_cv_func__isnan_use=no
22462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22463 ac_ext=c
22464 ac_cpp='$CPP $CPPFLAGS'
22465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
22474 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
22476 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
22477 for ac_func in _isnan
22478 do :
22479 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
22480 if test "x$ac_cv_func__isnan" = xyes; then :
22481 cat >>confdefs.h <<_ACEOF
22482 #define HAVE__ISNAN 1
22483 _ACEOF
22486 done
22495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
22496 $as_echo_n "checking for finite declaration... " >&6; }
22497 if test x${glibcxx_cv_func_finite_use+set} != xset; then
22498 if ${glibcxx_cv_func_finite_use+:} false; then :
22499 $as_echo_n "(cached) " >&6
22500 else
22503 ac_ext=cpp
22504 ac_cpp='$CXXCPP $CPPFLAGS'
22505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22510 /* end confdefs.h. */
22511 #include <math.h>
22512 #ifdef HAVE_IEEEFP_H
22513 #include <ieeefp.h>
22514 #endif
22517 main ()
22519 finite(0);
22521 return 0;
22523 _ACEOF
22524 if ac_fn_cxx_try_compile "$LINENO"; then :
22525 glibcxx_cv_func_finite_use=yes
22526 else
22527 glibcxx_cv_func_finite_use=no
22529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22530 ac_ext=c
22531 ac_cpp='$CPP $CPPFLAGS'
22532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
22541 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
22543 if test x$glibcxx_cv_func_finite_use = x"yes"; then
22544 for ac_func in finite
22545 do :
22546 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
22547 if test "x$ac_cv_func_finite" = xyes; then :
22548 cat >>confdefs.h <<_ACEOF
22549 #define HAVE_FINITE 1
22550 _ACEOF
22553 done
22555 else
22557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
22558 $as_echo_n "checking for _finite declaration... " >&6; }
22559 if test x${glibcxx_cv_func__finite_use+set} != xset; then
22560 if ${glibcxx_cv_func__finite_use+:} false; then :
22561 $as_echo_n "(cached) " >&6
22562 else
22565 ac_ext=cpp
22566 ac_cpp='$CXXCPP $CPPFLAGS'
22567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22572 /* end confdefs.h. */
22573 #include <math.h>
22574 #ifdef HAVE_IEEEFP_H
22575 #include <ieeefp.h>
22576 #endif
22579 main ()
22581 _finite(0);
22583 return 0;
22585 _ACEOF
22586 if ac_fn_cxx_try_compile "$LINENO"; then :
22587 glibcxx_cv_func__finite_use=yes
22588 else
22589 glibcxx_cv_func__finite_use=no
22591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22592 ac_ext=c
22593 ac_cpp='$CPP $CPPFLAGS'
22594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
22603 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
22605 if test x$glibcxx_cv_func__finite_use = x"yes"; then
22606 for ac_func in _finite
22607 do :
22608 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
22609 if test "x$ac_cv_func__finite" = xyes; then :
22610 cat >>confdefs.h <<_ACEOF
22611 #define HAVE__FINITE 1
22612 _ACEOF
22615 done
22624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
22625 $as_echo_n "checking for sincos declaration... " >&6; }
22626 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
22627 if ${glibcxx_cv_func_sincos_use+:} false; then :
22628 $as_echo_n "(cached) " >&6
22629 else
22632 ac_ext=cpp
22633 ac_cpp='$CXXCPP $CPPFLAGS'
22634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22639 /* end confdefs.h. */
22640 #include <math.h>
22642 main ()
22644 sincos(0, 0, 0);
22646 return 0;
22648 _ACEOF
22649 if ac_fn_cxx_try_compile "$LINENO"; then :
22650 glibcxx_cv_func_sincos_use=yes
22651 else
22652 glibcxx_cv_func_sincos_use=no
22654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22655 ac_ext=c
22656 ac_cpp='$CPP $CPPFLAGS'
22657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
22666 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
22668 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
22669 for ac_func in sincos
22670 do :
22671 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
22672 if test "x$ac_cv_func_sincos" = xyes; then :
22673 cat >>confdefs.h <<_ACEOF
22674 #define HAVE_SINCOS 1
22675 _ACEOF
22678 done
22680 else
22682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
22683 $as_echo_n "checking for _sincos declaration... " >&6; }
22684 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
22685 if ${glibcxx_cv_func__sincos_use+:} false; then :
22686 $as_echo_n "(cached) " >&6
22687 else
22690 ac_ext=cpp
22691 ac_cpp='$CXXCPP $CPPFLAGS'
22692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22697 /* end confdefs.h. */
22698 #include <math.h>
22700 main ()
22702 _sincos(0, 0, 0);
22704 return 0;
22706 _ACEOF
22707 if ac_fn_cxx_try_compile "$LINENO"; then :
22708 glibcxx_cv_func__sincos_use=yes
22709 else
22710 glibcxx_cv_func__sincos_use=no
22712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22713 ac_ext=c
22714 ac_cpp='$CPP $CPPFLAGS'
22715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
22724 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
22726 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
22727 for ac_func in _sincos
22728 do :
22729 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
22730 if test "x$ac_cv_func__sincos" = xyes; then :
22731 cat >>confdefs.h <<_ACEOF
22732 #define HAVE__SINCOS 1
22733 _ACEOF
22736 done
22745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
22746 $as_echo_n "checking for fpclass declaration... " >&6; }
22747 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
22748 if ${glibcxx_cv_func_fpclass_use+:} false; then :
22749 $as_echo_n "(cached) " >&6
22750 else
22753 ac_ext=cpp
22754 ac_cpp='$CXXCPP $CPPFLAGS'
22755 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22756 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22757 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22760 /* end confdefs.h. */
22761 #include <math.h>
22762 #ifdef HAVE_IEEEFP_H
22763 #include <ieeefp.h>
22764 #endif
22767 main ()
22769 fpclass(0);
22771 return 0;
22773 _ACEOF
22774 if ac_fn_cxx_try_compile "$LINENO"; then :
22775 glibcxx_cv_func_fpclass_use=yes
22776 else
22777 glibcxx_cv_func_fpclass_use=no
22779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22780 ac_ext=c
22781 ac_cpp='$CPP $CPPFLAGS'
22782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
22791 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
22793 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
22794 for ac_func in fpclass
22795 do :
22796 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
22797 if test "x$ac_cv_func_fpclass" = xyes; then :
22798 cat >>confdefs.h <<_ACEOF
22799 #define HAVE_FPCLASS 1
22800 _ACEOF
22803 done
22805 else
22807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
22808 $as_echo_n "checking for _fpclass declaration... " >&6; }
22809 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
22810 if ${glibcxx_cv_func__fpclass_use+:} false; then :
22811 $as_echo_n "(cached) " >&6
22812 else
22815 ac_ext=cpp
22816 ac_cpp='$CXXCPP $CPPFLAGS'
22817 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22818 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22819 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22822 /* end confdefs.h. */
22823 #include <math.h>
22824 #ifdef HAVE_IEEEFP_H
22825 #include <ieeefp.h>
22826 #endif
22829 main ()
22831 _fpclass(0);
22833 return 0;
22835 _ACEOF
22836 if ac_fn_cxx_try_compile "$LINENO"; then :
22837 glibcxx_cv_func__fpclass_use=yes
22838 else
22839 glibcxx_cv_func__fpclass_use=no
22841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22842 ac_ext=c
22843 ac_cpp='$CPP $CPPFLAGS'
22844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
22853 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
22855 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
22856 for ac_func in _fpclass
22857 do :
22858 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
22859 if test "x$ac_cv_func__fpclass" = xyes; then :
22860 cat >>confdefs.h <<_ACEOF
22861 #define HAVE__FPCLASS 1
22862 _ACEOF
22865 done
22874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
22875 $as_echo_n "checking for qfpclass declaration... " >&6; }
22876 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
22877 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
22878 $as_echo_n "(cached) " >&6
22879 else
22882 ac_ext=cpp
22883 ac_cpp='$CXXCPP $CPPFLAGS'
22884 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22885 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22886 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22889 /* end confdefs.h. */
22890 #include <math.h>
22891 #ifdef HAVE_IEEEFP_H
22892 #include <ieeefp.h>
22893 #endif
22896 main ()
22898 qfpclass(0);
22900 return 0;
22902 _ACEOF
22903 if ac_fn_cxx_try_compile "$LINENO"; then :
22904 glibcxx_cv_func_qfpclass_use=yes
22905 else
22906 glibcxx_cv_func_qfpclass_use=no
22908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22909 ac_ext=c
22910 ac_cpp='$CPP $CPPFLAGS'
22911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
22920 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
22922 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
22923 for ac_func in qfpclass
22924 do :
22925 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
22926 if test "x$ac_cv_func_qfpclass" = xyes; then :
22927 cat >>confdefs.h <<_ACEOF
22928 #define HAVE_QFPCLASS 1
22929 _ACEOF
22932 done
22934 else
22936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
22937 $as_echo_n "checking for _qfpclass declaration... " >&6; }
22938 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
22939 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
22940 $as_echo_n "(cached) " >&6
22941 else
22944 ac_ext=cpp
22945 ac_cpp='$CXXCPP $CPPFLAGS'
22946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22951 /* end confdefs.h. */
22952 #include <math.h>
22953 #ifdef HAVE_IEEEFP_H
22954 #include <ieeefp.h>
22955 #endif
22958 main ()
22960 _qfpclass(0);
22962 return 0;
22964 _ACEOF
22965 if ac_fn_cxx_try_compile "$LINENO"; then :
22966 glibcxx_cv_func__qfpclass_use=yes
22967 else
22968 glibcxx_cv_func__qfpclass_use=no
22970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22971 ac_ext=c
22972 ac_cpp='$CPP $CPPFLAGS'
22973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
22982 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
22984 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
22985 for ac_func in _qfpclass
22986 do :
22987 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
22988 if test "x$ac_cv_func__qfpclass" = xyes; then :
22989 cat >>confdefs.h <<_ACEOF
22990 #define HAVE__QFPCLASS 1
22991 _ACEOF
22994 done
23003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
23004 $as_echo_n "checking for hypot declaration... " >&6; }
23005 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
23006 if ${glibcxx_cv_func_hypot_use+:} false; then :
23007 $as_echo_n "(cached) " >&6
23008 else
23011 ac_ext=cpp
23012 ac_cpp='$CXXCPP $CPPFLAGS'
23013 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23014 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23015 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23018 /* end confdefs.h. */
23019 #include <math.h>
23021 main ()
23023 hypot(0, 0);
23025 return 0;
23027 _ACEOF
23028 if ac_fn_cxx_try_compile "$LINENO"; then :
23029 glibcxx_cv_func_hypot_use=yes
23030 else
23031 glibcxx_cv_func_hypot_use=no
23033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23034 ac_ext=c
23035 ac_cpp='$CPP $CPPFLAGS'
23036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
23045 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
23047 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
23048 for ac_func in hypot
23049 do :
23050 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
23051 if test "x$ac_cv_func_hypot" = xyes; then :
23052 cat >>confdefs.h <<_ACEOF
23053 #define HAVE_HYPOT 1
23054 _ACEOF
23057 done
23059 else
23061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
23062 $as_echo_n "checking for _hypot declaration... " >&6; }
23063 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
23064 if ${glibcxx_cv_func__hypot_use+:} false; then :
23065 $as_echo_n "(cached) " >&6
23066 else
23069 ac_ext=cpp
23070 ac_cpp='$CXXCPP $CPPFLAGS'
23071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23076 /* end confdefs.h. */
23077 #include <math.h>
23079 main ()
23081 _hypot(0, 0);
23083 return 0;
23085 _ACEOF
23086 if ac_fn_cxx_try_compile "$LINENO"; then :
23087 glibcxx_cv_func__hypot_use=yes
23088 else
23089 glibcxx_cv_func__hypot_use=no
23091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23092 ac_ext=c
23093 ac_cpp='$CPP $CPPFLAGS'
23094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
23103 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
23105 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
23106 for ac_func in _hypot
23107 do :
23108 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
23109 if test "x$ac_cv_func__hypot" = xyes; then :
23110 cat >>confdefs.h <<_ACEOF
23111 #define HAVE__HYPOT 1
23112 _ACEOF
23115 done
23124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
23125 $as_echo_n "checking for float trig functions... " >&6; }
23126 if ${glibcxx_cv_func_float_trig_use+:} false; then :
23127 $as_echo_n "(cached) " >&6
23128 else
23131 ac_ext=cpp
23132 ac_cpp='$CXXCPP $CPPFLAGS'
23133 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23134 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23135 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23138 /* end confdefs.h. */
23139 #include <math.h>
23141 main ()
23143 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
23145 return 0;
23147 _ACEOF
23148 if ac_fn_cxx_try_compile "$LINENO"; then :
23149 glibcxx_cv_func_float_trig_use=yes
23150 else
23151 glibcxx_cv_func_float_trig_use=no
23153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23154 ac_ext=c
23155 ac_cpp='$CPP $CPPFLAGS'
23156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
23163 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
23164 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
23165 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
23166 do :
23167 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23168 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23169 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
23170 cat >>confdefs.h <<_ACEOF
23171 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23172 _ACEOF
23175 done
23177 else
23178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
23179 $as_echo_n "checking for _float trig functions... " >&6; }
23180 if ${glibcxx_cv_func__float_trig_use+:} false; then :
23181 $as_echo_n "(cached) " >&6
23182 else
23185 ac_ext=cpp
23186 ac_cpp='$CXXCPP $CPPFLAGS'
23187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23192 /* end confdefs.h. */
23193 #include <math.h>
23195 main ()
23197 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
23199 return 0;
23201 _ACEOF
23202 if ac_fn_cxx_try_compile "$LINENO"; then :
23203 glibcxx_cv_func__float_trig_use=yes
23204 else
23205 glibcxx_cv_func__float_trig_use=no
23207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23208 ac_ext=c
23209 ac_cpp='$CPP $CPPFLAGS'
23210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
23217 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
23218 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
23219 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
23220 do :
23221 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23222 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23223 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
23224 cat >>confdefs.h <<_ACEOF
23225 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23226 _ACEOF
23229 done
23238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
23239 $as_echo_n "checking for float round functions... " >&6; }
23240 if ${glibcxx_cv_func_float_round_use+:} false; then :
23241 $as_echo_n "(cached) " >&6
23242 else
23245 ac_ext=cpp
23246 ac_cpp='$CXXCPP $CPPFLAGS'
23247 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23248 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23249 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23252 /* end confdefs.h. */
23253 #include <math.h>
23255 main ()
23257 ceilf (0); floorf (0);
23259 return 0;
23261 _ACEOF
23262 if ac_fn_cxx_try_compile "$LINENO"; then :
23263 glibcxx_cv_func_float_round_use=yes
23264 else
23265 glibcxx_cv_func_float_round_use=no
23267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23268 ac_ext=c
23269 ac_cpp='$CPP $CPPFLAGS'
23270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
23277 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
23278 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
23279 for ac_func in ceilf floorf
23280 do :
23281 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23282 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23283 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
23284 cat >>confdefs.h <<_ACEOF
23285 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23286 _ACEOF
23289 done
23291 else
23292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
23293 $as_echo_n "checking for _float round functions... " >&6; }
23294 if ${glibcxx_cv_func__float_round_use+:} false; then :
23295 $as_echo_n "(cached) " >&6
23296 else
23299 ac_ext=cpp
23300 ac_cpp='$CXXCPP $CPPFLAGS'
23301 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23302 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23303 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23306 /* end confdefs.h. */
23307 #include <math.h>
23309 main ()
23311 _ceilf (0); _floorf (0);
23313 return 0;
23315 _ACEOF
23316 if ac_fn_cxx_try_compile "$LINENO"; then :
23317 glibcxx_cv_func__float_round_use=yes
23318 else
23319 glibcxx_cv_func__float_round_use=no
23321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23322 ac_ext=c
23323 ac_cpp='$CPP $CPPFLAGS'
23324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
23331 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
23332 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
23333 for ac_func in _ceilf _floorf
23334 do :
23335 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23336 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23337 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
23338 cat >>confdefs.h <<_ACEOF
23339 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23340 _ACEOF
23343 done
23353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
23354 $as_echo_n "checking for expf declaration... " >&6; }
23355 if test x${glibcxx_cv_func_expf_use+set} != xset; then
23356 if ${glibcxx_cv_func_expf_use+:} false; then :
23357 $as_echo_n "(cached) " >&6
23358 else
23361 ac_ext=cpp
23362 ac_cpp='$CXXCPP $CPPFLAGS'
23363 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23364 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23365 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23368 /* end confdefs.h. */
23369 #include <math.h>
23370 #ifdef HAVE_IEEEFP_H
23371 #include <ieeefp.h>
23372 #endif
23375 main ()
23377 expf(0);
23379 return 0;
23381 _ACEOF
23382 if ac_fn_cxx_try_compile "$LINENO"; then :
23383 glibcxx_cv_func_expf_use=yes
23384 else
23385 glibcxx_cv_func_expf_use=no
23387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23388 ac_ext=c
23389 ac_cpp='$CPP $CPPFLAGS'
23390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
23399 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
23401 if test x$glibcxx_cv_func_expf_use = x"yes"; then
23402 for ac_func in expf
23403 do :
23404 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
23405 if test "x$ac_cv_func_expf" = xyes; then :
23406 cat >>confdefs.h <<_ACEOF
23407 #define HAVE_EXPF 1
23408 _ACEOF
23411 done
23413 else
23415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
23416 $as_echo_n "checking for _expf declaration... " >&6; }
23417 if test x${glibcxx_cv_func__expf_use+set} != xset; then
23418 if ${glibcxx_cv_func__expf_use+:} false; then :
23419 $as_echo_n "(cached) " >&6
23420 else
23423 ac_ext=cpp
23424 ac_cpp='$CXXCPP $CPPFLAGS'
23425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23430 /* end confdefs.h. */
23431 #include <math.h>
23432 #ifdef HAVE_IEEEFP_H
23433 #include <ieeefp.h>
23434 #endif
23437 main ()
23439 _expf(0);
23441 return 0;
23443 _ACEOF
23444 if ac_fn_cxx_try_compile "$LINENO"; then :
23445 glibcxx_cv_func__expf_use=yes
23446 else
23447 glibcxx_cv_func__expf_use=no
23449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23450 ac_ext=c
23451 ac_cpp='$CPP $CPPFLAGS'
23452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
23461 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
23463 if test x$glibcxx_cv_func__expf_use = x"yes"; then
23464 for ac_func in _expf
23465 do :
23466 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
23467 if test "x$ac_cv_func__expf" = xyes; then :
23468 cat >>confdefs.h <<_ACEOF
23469 #define HAVE__EXPF 1
23470 _ACEOF
23473 done
23482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
23483 $as_echo_n "checking for isnanf declaration... " >&6; }
23484 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
23485 if ${glibcxx_cv_func_isnanf_use+:} false; then :
23486 $as_echo_n "(cached) " >&6
23487 else
23490 ac_ext=cpp
23491 ac_cpp='$CXXCPP $CPPFLAGS'
23492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23497 /* end confdefs.h. */
23498 #include <math.h>
23499 #ifdef HAVE_IEEEFP_H
23500 #include <ieeefp.h>
23501 #endif
23504 main ()
23506 isnanf(0);
23508 return 0;
23510 _ACEOF
23511 if ac_fn_cxx_try_compile "$LINENO"; then :
23512 glibcxx_cv_func_isnanf_use=yes
23513 else
23514 glibcxx_cv_func_isnanf_use=no
23516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23517 ac_ext=c
23518 ac_cpp='$CPP $CPPFLAGS'
23519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
23528 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
23530 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
23531 for ac_func in isnanf
23532 do :
23533 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
23534 if test "x$ac_cv_func_isnanf" = xyes; then :
23535 cat >>confdefs.h <<_ACEOF
23536 #define HAVE_ISNANF 1
23537 _ACEOF
23540 done
23542 else
23544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
23545 $as_echo_n "checking for _isnanf declaration... " >&6; }
23546 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
23547 if ${glibcxx_cv_func__isnanf_use+:} false; then :
23548 $as_echo_n "(cached) " >&6
23549 else
23552 ac_ext=cpp
23553 ac_cpp='$CXXCPP $CPPFLAGS'
23554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23559 /* end confdefs.h. */
23560 #include <math.h>
23561 #ifdef HAVE_IEEEFP_H
23562 #include <ieeefp.h>
23563 #endif
23566 main ()
23568 _isnanf(0);
23570 return 0;
23572 _ACEOF
23573 if ac_fn_cxx_try_compile "$LINENO"; then :
23574 glibcxx_cv_func__isnanf_use=yes
23575 else
23576 glibcxx_cv_func__isnanf_use=no
23578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23579 ac_ext=c
23580 ac_cpp='$CPP $CPPFLAGS'
23581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
23590 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
23592 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
23593 for ac_func in _isnanf
23594 do :
23595 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
23596 if test "x$ac_cv_func__isnanf" = xyes; then :
23597 cat >>confdefs.h <<_ACEOF
23598 #define HAVE__ISNANF 1
23599 _ACEOF
23602 done
23611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
23612 $as_echo_n "checking for isinff declaration... " >&6; }
23613 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
23614 if ${glibcxx_cv_func_isinff_use+:} false; then :
23615 $as_echo_n "(cached) " >&6
23616 else
23619 ac_ext=cpp
23620 ac_cpp='$CXXCPP $CPPFLAGS'
23621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23626 /* end confdefs.h. */
23627 #include <math.h>
23628 #ifdef HAVE_IEEEFP_H
23629 #include <ieeefp.h>
23630 #endif
23633 main ()
23635 isinff(0);
23637 return 0;
23639 _ACEOF
23640 if ac_fn_cxx_try_compile "$LINENO"; then :
23641 glibcxx_cv_func_isinff_use=yes
23642 else
23643 glibcxx_cv_func_isinff_use=no
23645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23646 ac_ext=c
23647 ac_cpp='$CPP $CPPFLAGS'
23648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
23657 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
23659 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
23660 for ac_func in isinff
23661 do :
23662 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
23663 if test "x$ac_cv_func_isinff" = xyes; then :
23664 cat >>confdefs.h <<_ACEOF
23665 #define HAVE_ISINFF 1
23666 _ACEOF
23669 done
23671 else
23673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
23674 $as_echo_n "checking for _isinff declaration... " >&6; }
23675 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
23676 if ${glibcxx_cv_func__isinff_use+:} false; then :
23677 $as_echo_n "(cached) " >&6
23678 else
23681 ac_ext=cpp
23682 ac_cpp='$CXXCPP $CPPFLAGS'
23683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23688 /* end confdefs.h. */
23689 #include <math.h>
23690 #ifdef HAVE_IEEEFP_H
23691 #include <ieeefp.h>
23692 #endif
23695 main ()
23697 _isinff(0);
23699 return 0;
23701 _ACEOF
23702 if ac_fn_cxx_try_compile "$LINENO"; then :
23703 glibcxx_cv_func__isinff_use=yes
23704 else
23705 glibcxx_cv_func__isinff_use=no
23707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23708 ac_ext=c
23709 ac_cpp='$CPP $CPPFLAGS'
23710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
23719 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
23721 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
23722 for ac_func in _isinff
23723 do :
23724 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
23725 if test "x$ac_cv_func__isinff" = xyes; then :
23726 cat >>confdefs.h <<_ACEOF
23727 #define HAVE__ISINFF 1
23728 _ACEOF
23731 done
23740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
23741 $as_echo_n "checking for atan2f declaration... " >&6; }
23742 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
23743 if ${glibcxx_cv_func_atan2f_use+:} false; then :
23744 $as_echo_n "(cached) " >&6
23745 else
23748 ac_ext=cpp
23749 ac_cpp='$CXXCPP $CPPFLAGS'
23750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23755 /* end confdefs.h. */
23756 #include <math.h>
23758 main ()
23760 atan2f(0, 0);
23762 return 0;
23764 _ACEOF
23765 if ac_fn_cxx_try_compile "$LINENO"; then :
23766 glibcxx_cv_func_atan2f_use=yes
23767 else
23768 glibcxx_cv_func_atan2f_use=no
23770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23771 ac_ext=c
23772 ac_cpp='$CPP $CPPFLAGS'
23773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
23782 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
23784 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
23785 for ac_func in atan2f
23786 do :
23787 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
23788 if test "x$ac_cv_func_atan2f" = xyes; then :
23789 cat >>confdefs.h <<_ACEOF
23790 #define HAVE_ATAN2F 1
23791 _ACEOF
23794 done
23796 else
23798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
23799 $as_echo_n "checking for _atan2f declaration... " >&6; }
23800 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
23801 if ${glibcxx_cv_func__atan2f_use+:} false; then :
23802 $as_echo_n "(cached) " >&6
23803 else
23806 ac_ext=cpp
23807 ac_cpp='$CXXCPP $CPPFLAGS'
23808 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23809 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23810 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23813 /* end confdefs.h. */
23814 #include <math.h>
23816 main ()
23818 _atan2f(0, 0);
23820 return 0;
23822 _ACEOF
23823 if ac_fn_cxx_try_compile "$LINENO"; then :
23824 glibcxx_cv_func__atan2f_use=yes
23825 else
23826 glibcxx_cv_func__atan2f_use=no
23828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23829 ac_ext=c
23830 ac_cpp='$CPP $CPPFLAGS'
23831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
23840 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
23842 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
23843 for ac_func in _atan2f
23844 do :
23845 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
23846 if test "x$ac_cv_func__atan2f" = xyes; then :
23847 cat >>confdefs.h <<_ACEOF
23848 #define HAVE__ATAN2F 1
23849 _ACEOF
23852 done
23861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
23862 $as_echo_n "checking for fabsf declaration... " >&6; }
23863 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
23864 if ${glibcxx_cv_func_fabsf_use+:} false; then :
23865 $as_echo_n "(cached) " >&6
23866 else
23869 ac_ext=cpp
23870 ac_cpp='$CXXCPP $CPPFLAGS'
23871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23876 /* end confdefs.h. */
23877 #include <math.h>
23878 #ifdef HAVE_IEEEFP_H
23879 #include <ieeefp.h>
23880 #endif
23883 main ()
23885 fabsf(0);
23887 return 0;
23889 _ACEOF
23890 if ac_fn_cxx_try_compile "$LINENO"; then :
23891 glibcxx_cv_func_fabsf_use=yes
23892 else
23893 glibcxx_cv_func_fabsf_use=no
23895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23896 ac_ext=c
23897 ac_cpp='$CPP $CPPFLAGS'
23898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
23907 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
23909 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
23910 for ac_func in fabsf
23911 do :
23912 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
23913 if test "x$ac_cv_func_fabsf" = xyes; then :
23914 cat >>confdefs.h <<_ACEOF
23915 #define HAVE_FABSF 1
23916 _ACEOF
23919 done
23921 else
23923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
23924 $as_echo_n "checking for _fabsf declaration... " >&6; }
23925 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
23926 if ${glibcxx_cv_func__fabsf_use+:} false; then :
23927 $as_echo_n "(cached) " >&6
23928 else
23931 ac_ext=cpp
23932 ac_cpp='$CXXCPP $CPPFLAGS'
23933 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23934 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23935 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23938 /* end confdefs.h. */
23939 #include <math.h>
23940 #ifdef HAVE_IEEEFP_H
23941 #include <ieeefp.h>
23942 #endif
23945 main ()
23947 _fabsf(0);
23949 return 0;
23951 _ACEOF
23952 if ac_fn_cxx_try_compile "$LINENO"; then :
23953 glibcxx_cv_func__fabsf_use=yes
23954 else
23955 glibcxx_cv_func__fabsf_use=no
23957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23958 ac_ext=c
23959 ac_cpp='$CPP $CPPFLAGS'
23960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
23969 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
23971 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
23972 for ac_func in _fabsf
23973 do :
23974 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
23975 if test "x$ac_cv_func__fabsf" = xyes; then :
23976 cat >>confdefs.h <<_ACEOF
23977 #define HAVE__FABSF 1
23978 _ACEOF
23981 done
23990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
23991 $as_echo_n "checking for fmodf declaration... " >&6; }
23992 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
23993 if ${glibcxx_cv_func_fmodf_use+:} false; then :
23994 $as_echo_n "(cached) " >&6
23995 else
23998 ac_ext=cpp
23999 ac_cpp='$CXXCPP $CPPFLAGS'
24000 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24001 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24002 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24005 /* end confdefs.h. */
24006 #include <math.h>
24008 main ()
24010 fmodf(0, 0);
24012 return 0;
24014 _ACEOF
24015 if ac_fn_cxx_try_compile "$LINENO"; then :
24016 glibcxx_cv_func_fmodf_use=yes
24017 else
24018 glibcxx_cv_func_fmodf_use=no
24020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24021 ac_ext=c
24022 ac_cpp='$CPP $CPPFLAGS'
24023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
24032 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
24034 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
24035 for ac_func in fmodf
24036 do :
24037 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
24038 if test "x$ac_cv_func_fmodf" = xyes; then :
24039 cat >>confdefs.h <<_ACEOF
24040 #define HAVE_FMODF 1
24041 _ACEOF
24044 done
24046 else
24048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
24049 $as_echo_n "checking for _fmodf declaration... " >&6; }
24050 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
24051 if ${glibcxx_cv_func__fmodf_use+:} false; then :
24052 $as_echo_n "(cached) " >&6
24053 else
24056 ac_ext=cpp
24057 ac_cpp='$CXXCPP $CPPFLAGS'
24058 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24059 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24060 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24063 /* end confdefs.h. */
24064 #include <math.h>
24066 main ()
24068 _fmodf(0, 0);
24070 return 0;
24072 _ACEOF
24073 if ac_fn_cxx_try_compile "$LINENO"; then :
24074 glibcxx_cv_func__fmodf_use=yes
24075 else
24076 glibcxx_cv_func__fmodf_use=no
24078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24079 ac_ext=c
24080 ac_cpp='$CPP $CPPFLAGS'
24081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
24090 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
24092 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
24093 for ac_func in _fmodf
24094 do :
24095 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
24096 if test "x$ac_cv_func__fmodf" = xyes; then :
24097 cat >>confdefs.h <<_ACEOF
24098 #define HAVE__FMODF 1
24099 _ACEOF
24102 done
24111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
24112 $as_echo_n "checking for frexpf declaration... " >&6; }
24113 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
24114 if ${glibcxx_cv_func_frexpf_use+:} false; then :
24115 $as_echo_n "(cached) " >&6
24116 else
24119 ac_ext=cpp
24120 ac_cpp='$CXXCPP $CPPFLAGS'
24121 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24122 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24123 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24126 /* end confdefs.h. */
24127 #include <math.h>
24129 main ()
24131 frexpf(0, 0);
24133 return 0;
24135 _ACEOF
24136 if ac_fn_cxx_try_compile "$LINENO"; then :
24137 glibcxx_cv_func_frexpf_use=yes
24138 else
24139 glibcxx_cv_func_frexpf_use=no
24141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24142 ac_ext=c
24143 ac_cpp='$CPP $CPPFLAGS'
24144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
24153 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
24155 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
24156 for ac_func in frexpf
24157 do :
24158 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
24159 if test "x$ac_cv_func_frexpf" = xyes; then :
24160 cat >>confdefs.h <<_ACEOF
24161 #define HAVE_FREXPF 1
24162 _ACEOF
24165 done
24167 else
24169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
24170 $as_echo_n "checking for _frexpf declaration... " >&6; }
24171 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
24172 if ${glibcxx_cv_func__frexpf_use+:} false; then :
24173 $as_echo_n "(cached) " >&6
24174 else
24177 ac_ext=cpp
24178 ac_cpp='$CXXCPP $CPPFLAGS'
24179 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24180 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24181 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24184 /* end confdefs.h. */
24185 #include <math.h>
24187 main ()
24189 _frexpf(0, 0);
24191 return 0;
24193 _ACEOF
24194 if ac_fn_cxx_try_compile "$LINENO"; then :
24195 glibcxx_cv_func__frexpf_use=yes
24196 else
24197 glibcxx_cv_func__frexpf_use=no
24199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24200 ac_ext=c
24201 ac_cpp='$CPP $CPPFLAGS'
24202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
24211 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
24213 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
24214 for ac_func in _frexpf
24215 do :
24216 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
24217 if test "x$ac_cv_func__frexpf" = xyes; then :
24218 cat >>confdefs.h <<_ACEOF
24219 #define HAVE__FREXPF 1
24220 _ACEOF
24223 done
24232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
24233 $as_echo_n "checking for hypotf declaration... " >&6; }
24234 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
24235 if ${glibcxx_cv_func_hypotf_use+:} false; then :
24236 $as_echo_n "(cached) " >&6
24237 else
24240 ac_ext=cpp
24241 ac_cpp='$CXXCPP $CPPFLAGS'
24242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24247 /* end confdefs.h. */
24248 #include <math.h>
24250 main ()
24252 hypotf(0, 0);
24254 return 0;
24256 _ACEOF
24257 if ac_fn_cxx_try_compile "$LINENO"; then :
24258 glibcxx_cv_func_hypotf_use=yes
24259 else
24260 glibcxx_cv_func_hypotf_use=no
24262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24263 ac_ext=c
24264 ac_cpp='$CPP $CPPFLAGS'
24265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
24274 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
24276 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
24277 for ac_func in hypotf
24278 do :
24279 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
24280 if test "x$ac_cv_func_hypotf" = xyes; then :
24281 cat >>confdefs.h <<_ACEOF
24282 #define HAVE_HYPOTF 1
24283 _ACEOF
24286 done
24288 else
24290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
24291 $as_echo_n "checking for _hypotf declaration... " >&6; }
24292 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
24293 if ${glibcxx_cv_func__hypotf_use+:} false; then :
24294 $as_echo_n "(cached) " >&6
24295 else
24298 ac_ext=cpp
24299 ac_cpp='$CXXCPP $CPPFLAGS'
24300 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24301 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24302 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24305 /* end confdefs.h. */
24306 #include <math.h>
24308 main ()
24310 _hypotf(0, 0);
24312 return 0;
24314 _ACEOF
24315 if ac_fn_cxx_try_compile "$LINENO"; then :
24316 glibcxx_cv_func__hypotf_use=yes
24317 else
24318 glibcxx_cv_func__hypotf_use=no
24320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24321 ac_ext=c
24322 ac_cpp='$CPP $CPPFLAGS'
24323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
24332 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
24334 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
24335 for ac_func in _hypotf
24336 do :
24337 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
24338 if test "x$ac_cv_func__hypotf" = xyes; then :
24339 cat >>confdefs.h <<_ACEOF
24340 #define HAVE__HYPOTF 1
24341 _ACEOF
24344 done
24353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
24354 $as_echo_n "checking for ldexpf declaration... " >&6; }
24355 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
24356 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
24357 $as_echo_n "(cached) " >&6
24358 else
24361 ac_ext=cpp
24362 ac_cpp='$CXXCPP $CPPFLAGS'
24363 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24364 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24365 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24368 /* end confdefs.h. */
24369 #include <math.h>
24371 main ()
24373 ldexpf(0, 0);
24375 return 0;
24377 _ACEOF
24378 if ac_fn_cxx_try_compile "$LINENO"; then :
24379 glibcxx_cv_func_ldexpf_use=yes
24380 else
24381 glibcxx_cv_func_ldexpf_use=no
24383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24384 ac_ext=c
24385 ac_cpp='$CPP $CPPFLAGS'
24386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
24395 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
24397 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
24398 for ac_func in ldexpf
24399 do :
24400 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
24401 if test "x$ac_cv_func_ldexpf" = xyes; then :
24402 cat >>confdefs.h <<_ACEOF
24403 #define HAVE_LDEXPF 1
24404 _ACEOF
24407 done
24409 else
24411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
24412 $as_echo_n "checking for _ldexpf declaration... " >&6; }
24413 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
24414 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
24415 $as_echo_n "(cached) " >&6
24416 else
24419 ac_ext=cpp
24420 ac_cpp='$CXXCPP $CPPFLAGS'
24421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24422 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24426 /* end confdefs.h. */
24427 #include <math.h>
24429 main ()
24431 _ldexpf(0, 0);
24433 return 0;
24435 _ACEOF
24436 if ac_fn_cxx_try_compile "$LINENO"; then :
24437 glibcxx_cv_func__ldexpf_use=yes
24438 else
24439 glibcxx_cv_func__ldexpf_use=no
24441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24442 ac_ext=c
24443 ac_cpp='$CPP $CPPFLAGS'
24444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
24453 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
24455 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
24456 for ac_func in _ldexpf
24457 do :
24458 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
24459 if test "x$ac_cv_func__ldexpf" = xyes; then :
24460 cat >>confdefs.h <<_ACEOF
24461 #define HAVE__LDEXPF 1
24462 _ACEOF
24465 done
24474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
24475 $as_echo_n "checking for logf declaration... " >&6; }
24476 if test x${glibcxx_cv_func_logf_use+set} != xset; then
24477 if ${glibcxx_cv_func_logf_use+:} false; then :
24478 $as_echo_n "(cached) " >&6
24479 else
24482 ac_ext=cpp
24483 ac_cpp='$CXXCPP $CPPFLAGS'
24484 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24485 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24486 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24489 /* end confdefs.h. */
24490 #include <math.h>
24491 #ifdef HAVE_IEEEFP_H
24492 #include <ieeefp.h>
24493 #endif
24496 main ()
24498 logf(0);
24500 return 0;
24502 _ACEOF
24503 if ac_fn_cxx_try_compile "$LINENO"; then :
24504 glibcxx_cv_func_logf_use=yes
24505 else
24506 glibcxx_cv_func_logf_use=no
24508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24509 ac_ext=c
24510 ac_cpp='$CPP $CPPFLAGS'
24511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
24520 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
24522 if test x$glibcxx_cv_func_logf_use = x"yes"; then
24523 for ac_func in logf
24524 do :
24525 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
24526 if test "x$ac_cv_func_logf" = xyes; then :
24527 cat >>confdefs.h <<_ACEOF
24528 #define HAVE_LOGF 1
24529 _ACEOF
24532 done
24534 else
24536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
24537 $as_echo_n "checking for _logf declaration... " >&6; }
24538 if test x${glibcxx_cv_func__logf_use+set} != xset; then
24539 if ${glibcxx_cv_func__logf_use+:} false; then :
24540 $as_echo_n "(cached) " >&6
24541 else
24544 ac_ext=cpp
24545 ac_cpp='$CXXCPP $CPPFLAGS'
24546 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24547 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24548 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24551 /* end confdefs.h. */
24552 #include <math.h>
24553 #ifdef HAVE_IEEEFP_H
24554 #include <ieeefp.h>
24555 #endif
24558 main ()
24560 _logf(0);
24562 return 0;
24564 _ACEOF
24565 if ac_fn_cxx_try_compile "$LINENO"; then :
24566 glibcxx_cv_func__logf_use=yes
24567 else
24568 glibcxx_cv_func__logf_use=no
24570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24571 ac_ext=c
24572 ac_cpp='$CPP $CPPFLAGS'
24573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
24582 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
24584 if test x$glibcxx_cv_func__logf_use = x"yes"; then
24585 for ac_func in _logf
24586 do :
24587 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
24588 if test "x$ac_cv_func__logf" = xyes; then :
24589 cat >>confdefs.h <<_ACEOF
24590 #define HAVE__LOGF 1
24591 _ACEOF
24594 done
24603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
24604 $as_echo_n "checking for log10f declaration... " >&6; }
24605 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
24606 if ${glibcxx_cv_func_log10f_use+:} false; then :
24607 $as_echo_n "(cached) " >&6
24608 else
24611 ac_ext=cpp
24612 ac_cpp='$CXXCPP $CPPFLAGS'
24613 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24614 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24615 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24618 /* end confdefs.h. */
24619 #include <math.h>
24620 #ifdef HAVE_IEEEFP_H
24621 #include <ieeefp.h>
24622 #endif
24625 main ()
24627 log10f(0);
24629 return 0;
24631 _ACEOF
24632 if ac_fn_cxx_try_compile "$LINENO"; then :
24633 glibcxx_cv_func_log10f_use=yes
24634 else
24635 glibcxx_cv_func_log10f_use=no
24637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24638 ac_ext=c
24639 ac_cpp='$CPP $CPPFLAGS'
24640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
24649 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
24651 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
24652 for ac_func in log10f
24653 do :
24654 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
24655 if test "x$ac_cv_func_log10f" = xyes; then :
24656 cat >>confdefs.h <<_ACEOF
24657 #define HAVE_LOG10F 1
24658 _ACEOF
24661 done
24663 else
24665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
24666 $as_echo_n "checking for _log10f declaration... " >&6; }
24667 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
24668 if ${glibcxx_cv_func__log10f_use+:} false; then :
24669 $as_echo_n "(cached) " >&6
24670 else
24673 ac_ext=cpp
24674 ac_cpp='$CXXCPP $CPPFLAGS'
24675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24680 /* end confdefs.h. */
24681 #include <math.h>
24682 #ifdef HAVE_IEEEFP_H
24683 #include <ieeefp.h>
24684 #endif
24687 main ()
24689 _log10f(0);
24691 return 0;
24693 _ACEOF
24694 if ac_fn_cxx_try_compile "$LINENO"; then :
24695 glibcxx_cv_func__log10f_use=yes
24696 else
24697 glibcxx_cv_func__log10f_use=no
24699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24700 ac_ext=c
24701 ac_cpp='$CPP $CPPFLAGS'
24702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
24711 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
24713 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
24714 for ac_func in _log10f
24715 do :
24716 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
24717 if test "x$ac_cv_func__log10f" = xyes; then :
24718 cat >>confdefs.h <<_ACEOF
24719 #define HAVE__LOG10F 1
24720 _ACEOF
24723 done
24732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
24733 $as_echo_n "checking for modff declaration... " >&6; }
24734 if test x${glibcxx_cv_func_modff_use+set} != xset; then
24735 if ${glibcxx_cv_func_modff_use+:} false; then :
24736 $as_echo_n "(cached) " >&6
24737 else
24740 ac_ext=cpp
24741 ac_cpp='$CXXCPP $CPPFLAGS'
24742 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24743 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24744 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24747 /* end confdefs.h. */
24748 #include <math.h>
24750 main ()
24752 modff(0, 0);
24754 return 0;
24756 _ACEOF
24757 if ac_fn_cxx_try_compile "$LINENO"; then :
24758 glibcxx_cv_func_modff_use=yes
24759 else
24760 glibcxx_cv_func_modff_use=no
24762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24763 ac_ext=c
24764 ac_cpp='$CPP $CPPFLAGS'
24765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
24774 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
24776 if test x$glibcxx_cv_func_modff_use = x"yes"; then
24777 for ac_func in modff
24778 do :
24779 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
24780 if test "x$ac_cv_func_modff" = xyes; then :
24781 cat >>confdefs.h <<_ACEOF
24782 #define HAVE_MODFF 1
24783 _ACEOF
24786 done
24788 else
24790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
24791 $as_echo_n "checking for _modff declaration... " >&6; }
24792 if test x${glibcxx_cv_func__modff_use+set} != xset; then
24793 if ${glibcxx_cv_func__modff_use+:} false; then :
24794 $as_echo_n "(cached) " >&6
24795 else
24798 ac_ext=cpp
24799 ac_cpp='$CXXCPP $CPPFLAGS'
24800 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24801 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24802 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24805 /* end confdefs.h. */
24806 #include <math.h>
24808 main ()
24810 _modff(0, 0);
24812 return 0;
24814 _ACEOF
24815 if ac_fn_cxx_try_compile "$LINENO"; then :
24816 glibcxx_cv_func__modff_use=yes
24817 else
24818 glibcxx_cv_func__modff_use=no
24820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24821 ac_ext=c
24822 ac_cpp='$CPP $CPPFLAGS'
24823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
24832 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
24834 if test x$glibcxx_cv_func__modff_use = x"yes"; then
24835 for ac_func in _modff
24836 do :
24837 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
24838 if test "x$ac_cv_func__modff" = xyes; then :
24839 cat >>confdefs.h <<_ACEOF
24840 #define HAVE__MODFF 1
24841 _ACEOF
24844 done
24853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
24854 $as_echo_n "checking for modf declaration... " >&6; }
24855 if test x${glibcxx_cv_func_modf_use+set} != xset; then
24856 if ${glibcxx_cv_func_modf_use+:} false; then :
24857 $as_echo_n "(cached) " >&6
24858 else
24861 ac_ext=cpp
24862 ac_cpp='$CXXCPP $CPPFLAGS'
24863 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24864 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24865 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24868 /* end confdefs.h. */
24869 #include <math.h>
24871 main ()
24873 modf(0, 0);
24875 return 0;
24877 _ACEOF
24878 if ac_fn_cxx_try_compile "$LINENO"; then :
24879 glibcxx_cv_func_modf_use=yes
24880 else
24881 glibcxx_cv_func_modf_use=no
24883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24884 ac_ext=c
24885 ac_cpp='$CPP $CPPFLAGS'
24886 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24887 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24888 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
24895 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
24897 if test x$glibcxx_cv_func_modf_use = x"yes"; then
24898 for ac_func in modf
24899 do :
24900 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
24901 if test "x$ac_cv_func_modf" = xyes; then :
24902 cat >>confdefs.h <<_ACEOF
24903 #define HAVE_MODF 1
24904 _ACEOF
24907 done
24909 else
24911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
24912 $as_echo_n "checking for _modf declaration... " >&6; }
24913 if test x${glibcxx_cv_func__modf_use+set} != xset; then
24914 if ${glibcxx_cv_func__modf_use+:} false; then :
24915 $as_echo_n "(cached) " >&6
24916 else
24919 ac_ext=cpp
24920 ac_cpp='$CXXCPP $CPPFLAGS'
24921 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24922 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24923 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24926 /* end confdefs.h. */
24927 #include <math.h>
24929 main ()
24931 _modf(0, 0);
24933 return 0;
24935 _ACEOF
24936 if ac_fn_cxx_try_compile "$LINENO"; then :
24937 glibcxx_cv_func__modf_use=yes
24938 else
24939 glibcxx_cv_func__modf_use=no
24941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24942 ac_ext=c
24943 ac_cpp='$CPP $CPPFLAGS'
24944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
24953 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
24955 if test x$glibcxx_cv_func__modf_use = x"yes"; then
24956 for ac_func in _modf
24957 do :
24958 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
24959 if test "x$ac_cv_func__modf" = xyes; then :
24960 cat >>confdefs.h <<_ACEOF
24961 #define HAVE__MODF 1
24962 _ACEOF
24965 done
24974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
24975 $as_echo_n "checking for powf declaration... " >&6; }
24976 if test x${glibcxx_cv_func_powf_use+set} != xset; then
24977 if ${glibcxx_cv_func_powf_use+:} false; then :
24978 $as_echo_n "(cached) " >&6
24979 else
24982 ac_ext=cpp
24983 ac_cpp='$CXXCPP $CPPFLAGS'
24984 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24985 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24986 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24989 /* end confdefs.h. */
24990 #include <math.h>
24992 main ()
24994 powf(0, 0);
24996 return 0;
24998 _ACEOF
24999 if ac_fn_cxx_try_compile "$LINENO"; then :
25000 glibcxx_cv_func_powf_use=yes
25001 else
25002 glibcxx_cv_func_powf_use=no
25004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25005 ac_ext=c
25006 ac_cpp='$CPP $CPPFLAGS'
25007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
25016 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
25018 if test x$glibcxx_cv_func_powf_use = x"yes"; then
25019 for ac_func in powf
25020 do :
25021 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
25022 if test "x$ac_cv_func_powf" = xyes; then :
25023 cat >>confdefs.h <<_ACEOF
25024 #define HAVE_POWF 1
25025 _ACEOF
25028 done
25030 else
25032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
25033 $as_echo_n "checking for _powf declaration... " >&6; }
25034 if test x${glibcxx_cv_func__powf_use+set} != xset; then
25035 if ${glibcxx_cv_func__powf_use+:} false; then :
25036 $as_echo_n "(cached) " >&6
25037 else
25040 ac_ext=cpp
25041 ac_cpp='$CXXCPP $CPPFLAGS'
25042 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25043 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25044 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25047 /* end confdefs.h. */
25048 #include <math.h>
25050 main ()
25052 _powf(0, 0);
25054 return 0;
25056 _ACEOF
25057 if ac_fn_cxx_try_compile "$LINENO"; then :
25058 glibcxx_cv_func__powf_use=yes
25059 else
25060 glibcxx_cv_func__powf_use=no
25062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25063 ac_ext=c
25064 ac_cpp='$CPP $CPPFLAGS'
25065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
25074 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
25076 if test x$glibcxx_cv_func__powf_use = x"yes"; then
25077 for ac_func in _powf
25078 do :
25079 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
25080 if test "x$ac_cv_func__powf" = xyes; then :
25081 cat >>confdefs.h <<_ACEOF
25082 #define HAVE__POWF 1
25083 _ACEOF
25086 done
25095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
25096 $as_echo_n "checking for sqrtf declaration... " >&6; }
25097 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
25098 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
25099 $as_echo_n "(cached) " >&6
25100 else
25103 ac_ext=cpp
25104 ac_cpp='$CXXCPP $CPPFLAGS'
25105 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25106 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25107 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25110 /* end confdefs.h. */
25111 #include <math.h>
25112 #ifdef HAVE_IEEEFP_H
25113 #include <ieeefp.h>
25114 #endif
25117 main ()
25119 sqrtf(0);
25121 return 0;
25123 _ACEOF
25124 if ac_fn_cxx_try_compile "$LINENO"; then :
25125 glibcxx_cv_func_sqrtf_use=yes
25126 else
25127 glibcxx_cv_func_sqrtf_use=no
25129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25130 ac_ext=c
25131 ac_cpp='$CPP $CPPFLAGS'
25132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
25141 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
25143 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
25144 for ac_func in sqrtf
25145 do :
25146 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
25147 if test "x$ac_cv_func_sqrtf" = xyes; then :
25148 cat >>confdefs.h <<_ACEOF
25149 #define HAVE_SQRTF 1
25150 _ACEOF
25153 done
25155 else
25157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
25158 $as_echo_n "checking for _sqrtf declaration... " >&6; }
25159 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
25160 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
25161 $as_echo_n "(cached) " >&6
25162 else
25165 ac_ext=cpp
25166 ac_cpp='$CXXCPP $CPPFLAGS'
25167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25172 /* end confdefs.h. */
25173 #include <math.h>
25174 #ifdef HAVE_IEEEFP_H
25175 #include <ieeefp.h>
25176 #endif
25179 main ()
25181 _sqrtf(0);
25183 return 0;
25185 _ACEOF
25186 if ac_fn_cxx_try_compile "$LINENO"; then :
25187 glibcxx_cv_func__sqrtf_use=yes
25188 else
25189 glibcxx_cv_func__sqrtf_use=no
25191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25192 ac_ext=c
25193 ac_cpp='$CPP $CPPFLAGS'
25194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
25203 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
25205 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
25206 for ac_func in _sqrtf
25207 do :
25208 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
25209 if test "x$ac_cv_func__sqrtf" = xyes; then :
25210 cat >>confdefs.h <<_ACEOF
25211 #define HAVE__SQRTF 1
25212 _ACEOF
25215 done
25224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
25225 $as_echo_n "checking for sincosf declaration... " >&6; }
25226 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
25227 if ${glibcxx_cv_func_sincosf_use+:} false; then :
25228 $as_echo_n "(cached) " >&6
25229 else
25232 ac_ext=cpp
25233 ac_cpp='$CXXCPP $CPPFLAGS'
25234 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25235 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25236 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25239 /* end confdefs.h. */
25240 #include <math.h>
25242 main ()
25244 sincosf(0, 0, 0);
25246 return 0;
25248 _ACEOF
25249 if ac_fn_cxx_try_compile "$LINENO"; then :
25250 glibcxx_cv_func_sincosf_use=yes
25251 else
25252 glibcxx_cv_func_sincosf_use=no
25254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25255 ac_ext=c
25256 ac_cpp='$CPP $CPPFLAGS'
25257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
25266 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
25268 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
25269 for ac_func in sincosf
25270 do :
25271 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
25272 if test "x$ac_cv_func_sincosf" = xyes; then :
25273 cat >>confdefs.h <<_ACEOF
25274 #define HAVE_SINCOSF 1
25275 _ACEOF
25278 done
25280 else
25282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
25283 $as_echo_n "checking for _sincosf declaration... " >&6; }
25284 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
25285 if ${glibcxx_cv_func__sincosf_use+:} false; then :
25286 $as_echo_n "(cached) " >&6
25287 else
25290 ac_ext=cpp
25291 ac_cpp='$CXXCPP $CPPFLAGS'
25292 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25293 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25294 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25297 /* end confdefs.h. */
25298 #include <math.h>
25300 main ()
25302 _sincosf(0, 0, 0);
25304 return 0;
25306 _ACEOF
25307 if ac_fn_cxx_try_compile "$LINENO"; then :
25308 glibcxx_cv_func__sincosf_use=yes
25309 else
25310 glibcxx_cv_func__sincosf_use=no
25312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25313 ac_ext=c
25314 ac_cpp='$CPP $CPPFLAGS'
25315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
25324 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
25326 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
25327 for ac_func in _sincosf
25328 do :
25329 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
25330 if test "x$ac_cv_func__sincosf" = xyes; then :
25331 cat >>confdefs.h <<_ACEOF
25332 #define HAVE__SINCOSF 1
25333 _ACEOF
25336 done
25345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
25346 $as_echo_n "checking for finitef declaration... " >&6; }
25347 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
25348 if ${glibcxx_cv_func_finitef_use+:} false; then :
25349 $as_echo_n "(cached) " >&6
25350 else
25353 ac_ext=cpp
25354 ac_cpp='$CXXCPP $CPPFLAGS'
25355 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25356 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25357 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25360 /* end confdefs.h. */
25361 #include <math.h>
25362 #ifdef HAVE_IEEEFP_H
25363 #include <ieeefp.h>
25364 #endif
25367 main ()
25369 finitef(0);
25371 return 0;
25373 _ACEOF
25374 if ac_fn_cxx_try_compile "$LINENO"; then :
25375 glibcxx_cv_func_finitef_use=yes
25376 else
25377 glibcxx_cv_func_finitef_use=no
25379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25380 ac_ext=c
25381 ac_cpp='$CPP $CPPFLAGS'
25382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
25391 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
25393 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
25394 for ac_func in finitef
25395 do :
25396 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
25397 if test "x$ac_cv_func_finitef" = xyes; then :
25398 cat >>confdefs.h <<_ACEOF
25399 #define HAVE_FINITEF 1
25400 _ACEOF
25403 done
25405 else
25407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
25408 $as_echo_n "checking for _finitef declaration... " >&6; }
25409 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
25410 if ${glibcxx_cv_func__finitef_use+:} false; then :
25411 $as_echo_n "(cached) " >&6
25412 else
25415 ac_ext=cpp
25416 ac_cpp='$CXXCPP $CPPFLAGS'
25417 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25418 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25419 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25422 /* end confdefs.h. */
25423 #include <math.h>
25424 #ifdef HAVE_IEEEFP_H
25425 #include <ieeefp.h>
25426 #endif
25429 main ()
25431 _finitef(0);
25433 return 0;
25435 _ACEOF
25436 if ac_fn_cxx_try_compile "$LINENO"; then :
25437 glibcxx_cv_func__finitef_use=yes
25438 else
25439 glibcxx_cv_func__finitef_use=no
25441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25442 ac_ext=c
25443 ac_cpp='$CPP $CPPFLAGS'
25444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
25453 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
25455 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
25456 for ac_func in _finitef
25457 do :
25458 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
25459 if test "x$ac_cv_func__finitef" = xyes; then :
25460 cat >>confdefs.h <<_ACEOF
25461 #define HAVE__FINITEF 1
25462 _ACEOF
25465 done
25474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
25475 $as_echo_n "checking for long double trig functions... " >&6; }
25476 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
25477 $as_echo_n "(cached) " >&6
25478 else
25481 ac_ext=cpp
25482 ac_cpp='$CXXCPP $CPPFLAGS'
25483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25488 /* end confdefs.h. */
25489 #include <math.h>
25491 main ()
25493 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
25495 return 0;
25497 _ACEOF
25498 if ac_fn_cxx_try_compile "$LINENO"; then :
25499 glibcxx_cv_func_long_double_trig_use=yes
25500 else
25501 glibcxx_cv_func_long_double_trig_use=no
25503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25504 ac_ext=c
25505 ac_cpp='$CPP $CPPFLAGS'
25506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
25513 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
25514 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
25515 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
25516 do :
25517 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25518 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25519 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
25520 cat >>confdefs.h <<_ACEOF
25521 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25522 _ACEOF
25525 done
25527 else
25528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
25529 $as_echo_n "checking for _long double trig functions... " >&6; }
25530 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
25531 $as_echo_n "(cached) " >&6
25532 else
25535 ac_ext=cpp
25536 ac_cpp='$CXXCPP $CPPFLAGS'
25537 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25538 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25539 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25542 /* end confdefs.h. */
25543 #include <math.h>
25545 main ()
25547 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
25549 return 0;
25551 _ACEOF
25552 if ac_fn_cxx_try_compile "$LINENO"; then :
25553 glibcxx_cv_func__long_double_trig_use=yes
25554 else
25555 glibcxx_cv_func__long_double_trig_use=no
25557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25558 ac_ext=c
25559 ac_cpp='$CPP $CPPFLAGS'
25560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
25567 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
25568 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
25569 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
25570 do :
25571 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25572 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25573 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
25574 cat >>confdefs.h <<_ACEOF
25575 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25576 _ACEOF
25579 done
25588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
25589 $as_echo_n "checking for long double round functions... " >&6; }
25590 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
25591 $as_echo_n "(cached) " >&6
25592 else
25595 ac_ext=cpp
25596 ac_cpp='$CXXCPP $CPPFLAGS'
25597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25602 /* end confdefs.h. */
25603 #include <math.h>
25605 main ()
25607 ceill (0); floorl (0);
25609 return 0;
25611 _ACEOF
25612 if ac_fn_cxx_try_compile "$LINENO"; then :
25613 glibcxx_cv_func_long_double_round_use=yes
25614 else
25615 glibcxx_cv_func_long_double_round_use=no
25617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25618 ac_ext=c
25619 ac_cpp='$CPP $CPPFLAGS'
25620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
25627 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
25628 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
25629 for ac_func in ceill floorl
25630 do :
25631 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25632 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25633 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
25634 cat >>confdefs.h <<_ACEOF
25635 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25636 _ACEOF
25639 done
25641 else
25642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
25643 $as_echo_n "checking for _long double round functions... " >&6; }
25644 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
25645 $as_echo_n "(cached) " >&6
25646 else
25649 ac_ext=cpp
25650 ac_cpp='$CXXCPP $CPPFLAGS'
25651 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25652 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25653 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25656 /* end confdefs.h. */
25657 #include <math.h>
25659 main ()
25661 _ceill (0); _floorl (0);
25663 return 0;
25665 _ACEOF
25666 if ac_fn_cxx_try_compile "$LINENO"; then :
25667 glibcxx_cv_func__long_double_round_use=yes
25668 else
25669 glibcxx_cv_func__long_double_round_use=no
25671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25672 ac_ext=c
25673 ac_cpp='$CPP $CPPFLAGS'
25674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
25681 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
25682 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
25683 for ac_func in _ceill _floorl
25684 do :
25685 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25686 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25687 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
25688 cat >>confdefs.h <<_ACEOF
25689 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25690 _ACEOF
25693 done
25703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
25704 $as_echo_n "checking for isnanl declaration... " >&6; }
25705 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
25706 if ${glibcxx_cv_func_isnanl_use+:} false; then :
25707 $as_echo_n "(cached) " >&6
25708 else
25711 ac_ext=cpp
25712 ac_cpp='$CXXCPP $CPPFLAGS'
25713 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25714 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25715 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25718 /* end confdefs.h. */
25719 #include <math.h>
25720 #ifdef HAVE_IEEEFP_H
25721 #include <ieeefp.h>
25722 #endif
25725 main ()
25727 isnanl(0);
25729 return 0;
25731 _ACEOF
25732 if ac_fn_cxx_try_compile "$LINENO"; then :
25733 glibcxx_cv_func_isnanl_use=yes
25734 else
25735 glibcxx_cv_func_isnanl_use=no
25737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25738 ac_ext=c
25739 ac_cpp='$CPP $CPPFLAGS'
25740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
25749 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
25751 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
25752 for ac_func in isnanl
25753 do :
25754 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
25755 if test "x$ac_cv_func_isnanl" = xyes; then :
25756 cat >>confdefs.h <<_ACEOF
25757 #define HAVE_ISNANL 1
25758 _ACEOF
25761 done
25763 else
25765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
25766 $as_echo_n "checking for _isnanl declaration... " >&6; }
25767 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
25768 if ${glibcxx_cv_func__isnanl_use+:} false; then :
25769 $as_echo_n "(cached) " >&6
25770 else
25773 ac_ext=cpp
25774 ac_cpp='$CXXCPP $CPPFLAGS'
25775 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25776 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25777 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25780 /* end confdefs.h. */
25781 #include <math.h>
25782 #ifdef HAVE_IEEEFP_H
25783 #include <ieeefp.h>
25784 #endif
25787 main ()
25789 _isnanl(0);
25791 return 0;
25793 _ACEOF
25794 if ac_fn_cxx_try_compile "$LINENO"; then :
25795 glibcxx_cv_func__isnanl_use=yes
25796 else
25797 glibcxx_cv_func__isnanl_use=no
25799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25800 ac_ext=c
25801 ac_cpp='$CPP $CPPFLAGS'
25802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
25811 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
25813 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
25814 for ac_func in _isnanl
25815 do :
25816 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
25817 if test "x$ac_cv_func__isnanl" = xyes; then :
25818 cat >>confdefs.h <<_ACEOF
25819 #define HAVE__ISNANL 1
25820 _ACEOF
25823 done
25832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
25833 $as_echo_n "checking for isinfl declaration... " >&6; }
25834 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
25835 if ${glibcxx_cv_func_isinfl_use+:} false; then :
25836 $as_echo_n "(cached) " >&6
25837 else
25840 ac_ext=cpp
25841 ac_cpp='$CXXCPP $CPPFLAGS'
25842 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25843 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25844 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25847 /* end confdefs.h. */
25848 #include <math.h>
25849 #ifdef HAVE_IEEEFP_H
25850 #include <ieeefp.h>
25851 #endif
25854 main ()
25856 isinfl(0);
25858 return 0;
25860 _ACEOF
25861 if ac_fn_cxx_try_compile "$LINENO"; then :
25862 glibcxx_cv_func_isinfl_use=yes
25863 else
25864 glibcxx_cv_func_isinfl_use=no
25866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25867 ac_ext=c
25868 ac_cpp='$CPP $CPPFLAGS'
25869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
25878 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
25880 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
25881 for ac_func in isinfl
25882 do :
25883 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
25884 if test "x$ac_cv_func_isinfl" = xyes; then :
25885 cat >>confdefs.h <<_ACEOF
25886 #define HAVE_ISINFL 1
25887 _ACEOF
25890 done
25892 else
25894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
25895 $as_echo_n "checking for _isinfl declaration... " >&6; }
25896 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
25897 if ${glibcxx_cv_func__isinfl_use+:} false; then :
25898 $as_echo_n "(cached) " >&6
25899 else
25902 ac_ext=cpp
25903 ac_cpp='$CXXCPP $CPPFLAGS'
25904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25909 /* end confdefs.h. */
25910 #include <math.h>
25911 #ifdef HAVE_IEEEFP_H
25912 #include <ieeefp.h>
25913 #endif
25916 main ()
25918 _isinfl(0);
25920 return 0;
25922 _ACEOF
25923 if ac_fn_cxx_try_compile "$LINENO"; then :
25924 glibcxx_cv_func__isinfl_use=yes
25925 else
25926 glibcxx_cv_func__isinfl_use=no
25928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25929 ac_ext=c
25930 ac_cpp='$CPP $CPPFLAGS'
25931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
25940 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
25942 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
25943 for ac_func in _isinfl
25944 do :
25945 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
25946 if test "x$ac_cv_func__isinfl" = xyes; then :
25947 cat >>confdefs.h <<_ACEOF
25948 #define HAVE__ISINFL 1
25949 _ACEOF
25952 done
25961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
25962 $as_echo_n "checking for atan2l declaration... " >&6; }
25963 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
25964 if ${glibcxx_cv_func_atan2l_use+:} false; then :
25965 $as_echo_n "(cached) " >&6
25966 else
25969 ac_ext=cpp
25970 ac_cpp='$CXXCPP $CPPFLAGS'
25971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25976 /* end confdefs.h. */
25977 #include <math.h>
25979 main ()
25981 atan2l(0, 0);
25983 return 0;
25985 _ACEOF
25986 if ac_fn_cxx_try_compile "$LINENO"; then :
25987 glibcxx_cv_func_atan2l_use=yes
25988 else
25989 glibcxx_cv_func_atan2l_use=no
25991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25992 ac_ext=c
25993 ac_cpp='$CPP $CPPFLAGS'
25994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
26003 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
26005 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
26006 for ac_func in atan2l
26007 do :
26008 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
26009 if test "x$ac_cv_func_atan2l" = xyes; then :
26010 cat >>confdefs.h <<_ACEOF
26011 #define HAVE_ATAN2L 1
26012 _ACEOF
26015 done
26017 else
26019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
26020 $as_echo_n "checking for _atan2l declaration... " >&6; }
26021 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
26022 if ${glibcxx_cv_func__atan2l_use+:} false; then :
26023 $as_echo_n "(cached) " >&6
26024 else
26027 ac_ext=cpp
26028 ac_cpp='$CXXCPP $CPPFLAGS'
26029 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26030 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26031 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26034 /* end confdefs.h. */
26035 #include <math.h>
26037 main ()
26039 _atan2l(0, 0);
26041 return 0;
26043 _ACEOF
26044 if ac_fn_cxx_try_compile "$LINENO"; then :
26045 glibcxx_cv_func__atan2l_use=yes
26046 else
26047 glibcxx_cv_func__atan2l_use=no
26049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26050 ac_ext=c
26051 ac_cpp='$CPP $CPPFLAGS'
26052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
26061 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
26063 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
26064 for ac_func in _atan2l
26065 do :
26066 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
26067 if test "x$ac_cv_func__atan2l" = xyes; then :
26068 cat >>confdefs.h <<_ACEOF
26069 #define HAVE__ATAN2L 1
26070 _ACEOF
26073 done
26082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
26083 $as_echo_n "checking for expl declaration... " >&6; }
26084 if test x${glibcxx_cv_func_expl_use+set} != xset; then
26085 if ${glibcxx_cv_func_expl_use+:} false; then :
26086 $as_echo_n "(cached) " >&6
26087 else
26090 ac_ext=cpp
26091 ac_cpp='$CXXCPP $CPPFLAGS'
26092 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26093 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26094 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26097 /* end confdefs.h. */
26098 #include <math.h>
26099 #ifdef HAVE_IEEEFP_H
26100 #include <ieeefp.h>
26101 #endif
26104 main ()
26106 expl(0);
26108 return 0;
26110 _ACEOF
26111 if ac_fn_cxx_try_compile "$LINENO"; then :
26112 glibcxx_cv_func_expl_use=yes
26113 else
26114 glibcxx_cv_func_expl_use=no
26116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26117 ac_ext=c
26118 ac_cpp='$CPP $CPPFLAGS'
26119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
26128 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
26130 if test x$glibcxx_cv_func_expl_use = x"yes"; then
26131 for ac_func in expl
26132 do :
26133 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
26134 if test "x$ac_cv_func_expl" = xyes; then :
26135 cat >>confdefs.h <<_ACEOF
26136 #define HAVE_EXPL 1
26137 _ACEOF
26140 done
26142 else
26144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
26145 $as_echo_n "checking for _expl declaration... " >&6; }
26146 if test x${glibcxx_cv_func__expl_use+set} != xset; then
26147 if ${glibcxx_cv_func__expl_use+:} false; then :
26148 $as_echo_n "(cached) " >&6
26149 else
26152 ac_ext=cpp
26153 ac_cpp='$CXXCPP $CPPFLAGS'
26154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26159 /* end confdefs.h. */
26160 #include <math.h>
26161 #ifdef HAVE_IEEEFP_H
26162 #include <ieeefp.h>
26163 #endif
26166 main ()
26168 _expl(0);
26170 return 0;
26172 _ACEOF
26173 if ac_fn_cxx_try_compile "$LINENO"; then :
26174 glibcxx_cv_func__expl_use=yes
26175 else
26176 glibcxx_cv_func__expl_use=no
26178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26179 ac_ext=c
26180 ac_cpp='$CPP $CPPFLAGS'
26181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
26190 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
26192 if test x$glibcxx_cv_func__expl_use = x"yes"; then
26193 for ac_func in _expl
26194 do :
26195 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
26196 if test "x$ac_cv_func__expl" = xyes; then :
26197 cat >>confdefs.h <<_ACEOF
26198 #define HAVE__EXPL 1
26199 _ACEOF
26202 done
26211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
26212 $as_echo_n "checking for fabsl declaration... " >&6; }
26213 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
26214 if ${glibcxx_cv_func_fabsl_use+:} false; then :
26215 $as_echo_n "(cached) " >&6
26216 else
26219 ac_ext=cpp
26220 ac_cpp='$CXXCPP $CPPFLAGS'
26221 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26222 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26223 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26226 /* end confdefs.h. */
26227 #include <math.h>
26228 #ifdef HAVE_IEEEFP_H
26229 #include <ieeefp.h>
26230 #endif
26233 main ()
26235 fabsl(0);
26237 return 0;
26239 _ACEOF
26240 if ac_fn_cxx_try_compile "$LINENO"; then :
26241 glibcxx_cv_func_fabsl_use=yes
26242 else
26243 glibcxx_cv_func_fabsl_use=no
26245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26246 ac_ext=c
26247 ac_cpp='$CPP $CPPFLAGS'
26248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
26257 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
26259 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
26260 for ac_func in fabsl
26261 do :
26262 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
26263 if test "x$ac_cv_func_fabsl" = xyes; then :
26264 cat >>confdefs.h <<_ACEOF
26265 #define HAVE_FABSL 1
26266 _ACEOF
26269 done
26271 else
26273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
26274 $as_echo_n "checking for _fabsl declaration... " >&6; }
26275 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
26276 if ${glibcxx_cv_func__fabsl_use+:} false; then :
26277 $as_echo_n "(cached) " >&6
26278 else
26281 ac_ext=cpp
26282 ac_cpp='$CXXCPP $CPPFLAGS'
26283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26288 /* end confdefs.h. */
26289 #include <math.h>
26290 #ifdef HAVE_IEEEFP_H
26291 #include <ieeefp.h>
26292 #endif
26295 main ()
26297 _fabsl(0);
26299 return 0;
26301 _ACEOF
26302 if ac_fn_cxx_try_compile "$LINENO"; then :
26303 glibcxx_cv_func__fabsl_use=yes
26304 else
26305 glibcxx_cv_func__fabsl_use=no
26307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26308 ac_ext=c
26309 ac_cpp='$CPP $CPPFLAGS'
26310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
26319 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
26321 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
26322 for ac_func in _fabsl
26323 do :
26324 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
26325 if test "x$ac_cv_func__fabsl" = xyes; then :
26326 cat >>confdefs.h <<_ACEOF
26327 #define HAVE__FABSL 1
26328 _ACEOF
26331 done
26340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
26341 $as_echo_n "checking for fmodl declaration... " >&6; }
26342 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
26343 if ${glibcxx_cv_func_fmodl_use+:} false; then :
26344 $as_echo_n "(cached) " >&6
26345 else
26348 ac_ext=cpp
26349 ac_cpp='$CXXCPP $CPPFLAGS'
26350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26355 /* end confdefs.h. */
26356 #include <math.h>
26358 main ()
26360 fmodl(0, 0);
26362 return 0;
26364 _ACEOF
26365 if ac_fn_cxx_try_compile "$LINENO"; then :
26366 glibcxx_cv_func_fmodl_use=yes
26367 else
26368 glibcxx_cv_func_fmodl_use=no
26370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26371 ac_ext=c
26372 ac_cpp='$CPP $CPPFLAGS'
26373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
26382 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
26384 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
26385 for ac_func in fmodl
26386 do :
26387 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
26388 if test "x$ac_cv_func_fmodl" = xyes; then :
26389 cat >>confdefs.h <<_ACEOF
26390 #define HAVE_FMODL 1
26391 _ACEOF
26394 done
26396 else
26398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
26399 $as_echo_n "checking for _fmodl declaration... " >&6; }
26400 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
26401 if ${glibcxx_cv_func__fmodl_use+:} false; then :
26402 $as_echo_n "(cached) " >&6
26403 else
26406 ac_ext=cpp
26407 ac_cpp='$CXXCPP $CPPFLAGS'
26408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26413 /* end confdefs.h. */
26414 #include <math.h>
26416 main ()
26418 _fmodl(0, 0);
26420 return 0;
26422 _ACEOF
26423 if ac_fn_cxx_try_compile "$LINENO"; then :
26424 glibcxx_cv_func__fmodl_use=yes
26425 else
26426 glibcxx_cv_func__fmodl_use=no
26428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26429 ac_ext=c
26430 ac_cpp='$CPP $CPPFLAGS'
26431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
26440 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
26442 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
26443 for ac_func in _fmodl
26444 do :
26445 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
26446 if test "x$ac_cv_func__fmodl" = xyes; then :
26447 cat >>confdefs.h <<_ACEOF
26448 #define HAVE__FMODL 1
26449 _ACEOF
26452 done
26461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
26462 $as_echo_n "checking for frexpl declaration... " >&6; }
26463 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
26464 if ${glibcxx_cv_func_frexpl_use+:} false; then :
26465 $as_echo_n "(cached) " >&6
26466 else
26469 ac_ext=cpp
26470 ac_cpp='$CXXCPP $CPPFLAGS'
26471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26476 /* end confdefs.h. */
26477 #include <math.h>
26479 main ()
26481 frexpl(0, 0);
26483 return 0;
26485 _ACEOF
26486 if ac_fn_cxx_try_compile "$LINENO"; then :
26487 glibcxx_cv_func_frexpl_use=yes
26488 else
26489 glibcxx_cv_func_frexpl_use=no
26491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26492 ac_ext=c
26493 ac_cpp='$CPP $CPPFLAGS'
26494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
26503 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
26505 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
26506 for ac_func in frexpl
26507 do :
26508 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
26509 if test "x$ac_cv_func_frexpl" = xyes; then :
26510 cat >>confdefs.h <<_ACEOF
26511 #define HAVE_FREXPL 1
26512 _ACEOF
26515 done
26517 else
26519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
26520 $as_echo_n "checking for _frexpl declaration... " >&6; }
26521 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
26522 if ${glibcxx_cv_func__frexpl_use+:} false; then :
26523 $as_echo_n "(cached) " >&6
26524 else
26527 ac_ext=cpp
26528 ac_cpp='$CXXCPP $CPPFLAGS'
26529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26534 /* end confdefs.h. */
26535 #include <math.h>
26537 main ()
26539 _frexpl(0, 0);
26541 return 0;
26543 _ACEOF
26544 if ac_fn_cxx_try_compile "$LINENO"; then :
26545 glibcxx_cv_func__frexpl_use=yes
26546 else
26547 glibcxx_cv_func__frexpl_use=no
26549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26550 ac_ext=c
26551 ac_cpp='$CPP $CPPFLAGS'
26552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
26561 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
26563 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
26564 for ac_func in _frexpl
26565 do :
26566 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
26567 if test "x$ac_cv_func__frexpl" = xyes; then :
26568 cat >>confdefs.h <<_ACEOF
26569 #define HAVE__FREXPL 1
26570 _ACEOF
26573 done
26582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
26583 $as_echo_n "checking for hypotl declaration... " >&6; }
26584 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
26585 if ${glibcxx_cv_func_hypotl_use+:} false; then :
26586 $as_echo_n "(cached) " >&6
26587 else
26590 ac_ext=cpp
26591 ac_cpp='$CXXCPP $CPPFLAGS'
26592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26597 /* end confdefs.h. */
26598 #include <math.h>
26600 main ()
26602 hypotl(0, 0);
26604 return 0;
26606 _ACEOF
26607 if ac_fn_cxx_try_compile "$LINENO"; then :
26608 glibcxx_cv_func_hypotl_use=yes
26609 else
26610 glibcxx_cv_func_hypotl_use=no
26612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26613 ac_ext=c
26614 ac_cpp='$CPP $CPPFLAGS'
26615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
26624 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
26626 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
26627 for ac_func in hypotl
26628 do :
26629 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
26630 if test "x$ac_cv_func_hypotl" = xyes; then :
26631 cat >>confdefs.h <<_ACEOF
26632 #define HAVE_HYPOTL 1
26633 _ACEOF
26636 done
26638 else
26640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
26641 $as_echo_n "checking for _hypotl declaration... " >&6; }
26642 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
26643 if ${glibcxx_cv_func__hypotl_use+:} false; then :
26644 $as_echo_n "(cached) " >&6
26645 else
26648 ac_ext=cpp
26649 ac_cpp='$CXXCPP $CPPFLAGS'
26650 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26651 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26652 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26655 /* end confdefs.h. */
26656 #include <math.h>
26658 main ()
26660 _hypotl(0, 0);
26662 return 0;
26664 _ACEOF
26665 if ac_fn_cxx_try_compile "$LINENO"; then :
26666 glibcxx_cv_func__hypotl_use=yes
26667 else
26668 glibcxx_cv_func__hypotl_use=no
26670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26671 ac_ext=c
26672 ac_cpp='$CPP $CPPFLAGS'
26673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
26682 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
26684 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
26685 for ac_func in _hypotl
26686 do :
26687 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
26688 if test "x$ac_cv_func__hypotl" = xyes; then :
26689 cat >>confdefs.h <<_ACEOF
26690 #define HAVE__HYPOTL 1
26691 _ACEOF
26694 done
26703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
26704 $as_echo_n "checking for ldexpl declaration... " >&6; }
26705 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
26706 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
26707 $as_echo_n "(cached) " >&6
26708 else
26711 ac_ext=cpp
26712 ac_cpp='$CXXCPP $CPPFLAGS'
26713 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26714 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26715 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26718 /* end confdefs.h. */
26719 #include <math.h>
26721 main ()
26723 ldexpl(0, 0);
26725 return 0;
26727 _ACEOF
26728 if ac_fn_cxx_try_compile "$LINENO"; then :
26729 glibcxx_cv_func_ldexpl_use=yes
26730 else
26731 glibcxx_cv_func_ldexpl_use=no
26733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26734 ac_ext=c
26735 ac_cpp='$CPP $CPPFLAGS'
26736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
26745 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
26747 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
26748 for ac_func in ldexpl
26749 do :
26750 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
26751 if test "x$ac_cv_func_ldexpl" = xyes; then :
26752 cat >>confdefs.h <<_ACEOF
26753 #define HAVE_LDEXPL 1
26754 _ACEOF
26757 done
26759 else
26761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
26762 $as_echo_n "checking for _ldexpl declaration... " >&6; }
26763 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
26764 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
26765 $as_echo_n "(cached) " >&6
26766 else
26769 ac_ext=cpp
26770 ac_cpp='$CXXCPP $CPPFLAGS'
26771 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26772 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26773 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26776 /* end confdefs.h. */
26777 #include <math.h>
26779 main ()
26781 _ldexpl(0, 0);
26783 return 0;
26785 _ACEOF
26786 if ac_fn_cxx_try_compile "$LINENO"; then :
26787 glibcxx_cv_func__ldexpl_use=yes
26788 else
26789 glibcxx_cv_func__ldexpl_use=no
26791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26792 ac_ext=c
26793 ac_cpp='$CPP $CPPFLAGS'
26794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
26803 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
26805 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
26806 for ac_func in _ldexpl
26807 do :
26808 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
26809 if test "x$ac_cv_func__ldexpl" = xyes; then :
26810 cat >>confdefs.h <<_ACEOF
26811 #define HAVE__LDEXPL 1
26812 _ACEOF
26815 done
26824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
26825 $as_echo_n "checking for logl declaration... " >&6; }
26826 if test x${glibcxx_cv_func_logl_use+set} != xset; then
26827 if ${glibcxx_cv_func_logl_use+:} false; then :
26828 $as_echo_n "(cached) " >&6
26829 else
26832 ac_ext=cpp
26833 ac_cpp='$CXXCPP $CPPFLAGS'
26834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26839 /* end confdefs.h. */
26840 #include <math.h>
26841 #ifdef HAVE_IEEEFP_H
26842 #include <ieeefp.h>
26843 #endif
26846 main ()
26848 logl(0);
26850 return 0;
26852 _ACEOF
26853 if ac_fn_cxx_try_compile "$LINENO"; then :
26854 glibcxx_cv_func_logl_use=yes
26855 else
26856 glibcxx_cv_func_logl_use=no
26858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26859 ac_ext=c
26860 ac_cpp='$CPP $CPPFLAGS'
26861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
26870 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
26872 if test x$glibcxx_cv_func_logl_use = x"yes"; then
26873 for ac_func in logl
26874 do :
26875 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
26876 if test "x$ac_cv_func_logl" = xyes; then :
26877 cat >>confdefs.h <<_ACEOF
26878 #define HAVE_LOGL 1
26879 _ACEOF
26882 done
26884 else
26886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
26887 $as_echo_n "checking for _logl declaration... " >&6; }
26888 if test x${glibcxx_cv_func__logl_use+set} != xset; then
26889 if ${glibcxx_cv_func__logl_use+:} false; then :
26890 $as_echo_n "(cached) " >&6
26891 else
26894 ac_ext=cpp
26895 ac_cpp='$CXXCPP $CPPFLAGS'
26896 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26897 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26898 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26901 /* end confdefs.h. */
26902 #include <math.h>
26903 #ifdef HAVE_IEEEFP_H
26904 #include <ieeefp.h>
26905 #endif
26908 main ()
26910 _logl(0);
26912 return 0;
26914 _ACEOF
26915 if ac_fn_cxx_try_compile "$LINENO"; then :
26916 glibcxx_cv_func__logl_use=yes
26917 else
26918 glibcxx_cv_func__logl_use=no
26920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26921 ac_ext=c
26922 ac_cpp='$CPP $CPPFLAGS'
26923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
26932 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
26934 if test x$glibcxx_cv_func__logl_use = x"yes"; then
26935 for ac_func in _logl
26936 do :
26937 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
26938 if test "x$ac_cv_func__logl" = xyes; then :
26939 cat >>confdefs.h <<_ACEOF
26940 #define HAVE__LOGL 1
26941 _ACEOF
26944 done
26953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
26954 $as_echo_n "checking for log10l declaration... " >&6; }
26955 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
26956 if ${glibcxx_cv_func_log10l_use+:} false; then :
26957 $as_echo_n "(cached) " >&6
26958 else
26961 ac_ext=cpp
26962 ac_cpp='$CXXCPP $CPPFLAGS'
26963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26968 /* end confdefs.h. */
26969 #include <math.h>
26970 #ifdef HAVE_IEEEFP_H
26971 #include <ieeefp.h>
26972 #endif
26975 main ()
26977 log10l(0);
26979 return 0;
26981 _ACEOF
26982 if ac_fn_cxx_try_compile "$LINENO"; then :
26983 glibcxx_cv_func_log10l_use=yes
26984 else
26985 glibcxx_cv_func_log10l_use=no
26987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26988 ac_ext=c
26989 ac_cpp='$CPP $CPPFLAGS'
26990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
26999 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
27001 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
27002 for ac_func in log10l
27003 do :
27004 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
27005 if test "x$ac_cv_func_log10l" = xyes; then :
27006 cat >>confdefs.h <<_ACEOF
27007 #define HAVE_LOG10L 1
27008 _ACEOF
27011 done
27013 else
27015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
27016 $as_echo_n "checking for _log10l declaration... " >&6; }
27017 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
27018 if ${glibcxx_cv_func__log10l_use+:} false; then :
27019 $as_echo_n "(cached) " >&6
27020 else
27023 ac_ext=cpp
27024 ac_cpp='$CXXCPP $CPPFLAGS'
27025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27030 /* end confdefs.h. */
27031 #include <math.h>
27032 #ifdef HAVE_IEEEFP_H
27033 #include <ieeefp.h>
27034 #endif
27037 main ()
27039 _log10l(0);
27041 return 0;
27043 _ACEOF
27044 if ac_fn_cxx_try_compile "$LINENO"; then :
27045 glibcxx_cv_func__log10l_use=yes
27046 else
27047 glibcxx_cv_func__log10l_use=no
27049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27050 ac_ext=c
27051 ac_cpp='$CPP $CPPFLAGS'
27052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
27061 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
27063 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
27064 for ac_func in _log10l
27065 do :
27066 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
27067 if test "x$ac_cv_func__log10l" = xyes; then :
27068 cat >>confdefs.h <<_ACEOF
27069 #define HAVE__LOG10L 1
27070 _ACEOF
27073 done
27082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
27083 $as_echo_n "checking for modfl declaration... " >&6; }
27084 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
27085 if ${glibcxx_cv_func_modfl_use+:} false; then :
27086 $as_echo_n "(cached) " >&6
27087 else
27090 ac_ext=cpp
27091 ac_cpp='$CXXCPP $CPPFLAGS'
27092 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27093 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27094 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27097 /* end confdefs.h. */
27098 #include <math.h>
27100 main ()
27102 modfl(0, 0);
27104 return 0;
27106 _ACEOF
27107 if ac_fn_cxx_try_compile "$LINENO"; then :
27108 glibcxx_cv_func_modfl_use=yes
27109 else
27110 glibcxx_cv_func_modfl_use=no
27112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27113 ac_ext=c
27114 ac_cpp='$CPP $CPPFLAGS'
27115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
27124 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
27126 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
27127 for ac_func in modfl
27128 do :
27129 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
27130 if test "x$ac_cv_func_modfl" = xyes; then :
27131 cat >>confdefs.h <<_ACEOF
27132 #define HAVE_MODFL 1
27133 _ACEOF
27136 done
27138 else
27140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
27141 $as_echo_n "checking for _modfl declaration... " >&6; }
27142 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
27143 if ${glibcxx_cv_func__modfl_use+:} false; then :
27144 $as_echo_n "(cached) " >&6
27145 else
27148 ac_ext=cpp
27149 ac_cpp='$CXXCPP $CPPFLAGS'
27150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27155 /* end confdefs.h. */
27156 #include <math.h>
27158 main ()
27160 _modfl(0, 0);
27162 return 0;
27164 _ACEOF
27165 if ac_fn_cxx_try_compile "$LINENO"; then :
27166 glibcxx_cv_func__modfl_use=yes
27167 else
27168 glibcxx_cv_func__modfl_use=no
27170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27171 ac_ext=c
27172 ac_cpp='$CPP $CPPFLAGS'
27173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
27182 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
27184 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
27185 for ac_func in _modfl
27186 do :
27187 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
27188 if test "x$ac_cv_func__modfl" = xyes; then :
27189 cat >>confdefs.h <<_ACEOF
27190 #define HAVE__MODFL 1
27191 _ACEOF
27194 done
27203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
27204 $as_echo_n "checking for powl declaration... " >&6; }
27205 if test x${glibcxx_cv_func_powl_use+set} != xset; then
27206 if ${glibcxx_cv_func_powl_use+:} false; then :
27207 $as_echo_n "(cached) " >&6
27208 else
27211 ac_ext=cpp
27212 ac_cpp='$CXXCPP $CPPFLAGS'
27213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27218 /* end confdefs.h. */
27219 #include <math.h>
27221 main ()
27223 powl(0, 0);
27225 return 0;
27227 _ACEOF
27228 if ac_fn_cxx_try_compile "$LINENO"; then :
27229 glibcxx_cv_func_powl_use=yes
27230 else
27231 glibcxx_cv_func_powl_use=no
27233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27234 ac_ext=c
27235 ac_cpp='$CPP $CPPFLAGS'
27236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
27245 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
27247 if test x$glibcxx_cv_func_powl_use = x"yes"; then
27248 for ac_func in powl
27249 do :
27250 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
27251 if test "x$ac_cv_func_powl" = xyes; then :
27252 cat >>confdefs.h <<_ACEOF
27253 #define HAVE_POWL 1
27254 _ACEOF
27257 done
27259 else
27261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
27262 $as_echo_n "checking for _powl declaration... " >&6; }
27263 if test x${glibcxx_cv_func__powl_use+set} != xset; then
27264 if ${glibcxx_cv_func__powl_use+:} false; then :
27265 $as_echo_n "(cached) " >&6
27266 else
27269 ac_ext=cpp
27270 ac_cpp='$CXXCPP $CPPFLAGS'
27271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27272 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27276 /* end confdefs.h. */
27277 #include <math.h>
27279 main ()
27281 _powl(0, 0);
27283 return 0;
27285 _ACEOF
27286 if ac_fn_cxx_try_compile "$LINENO"; then :
27287 glibcxx_cv_func__powl_use=yes
27288 else
27289 glibcxx_cv_func__powl_use=no
27291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27292 ac_ext=c
27293 ac_cpp='$CPP $CPPFLAGS'
27294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
27303 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
27305 if test x$glibcxx_cv_func__powl_use = x"yes"; then
27306 for ac_func in _powl
27307 do :
27308 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
27309 if test "x$ac_cv_func__powl" = xyes; then :
27310 cat >>confdefs.h <<_ACEOF
27311 #define HAVE__POWL 1
27312 _ACEOF
27315 done
27324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
27325 $as_echo_n "checking for sqrtl declaration... " >&6; }
27326 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
27327 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
27328 $as_echo_n "(cached) " >&6
27329 else
27332 ac_ext=cpp
27333 ac_cpp='$CXXCPP $CPPFLAGS'
27334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27339 /* end confdefs.h. */
27340 #include <math.h>
27341 #ifdef HAVE_IEEEFP_H
27342 #include <ieeefp.h>
27343 #endif
27346 main ()
27348 sqrtl(0);
27350 return 0;
27352 _ACEOF
27353 if ac_fn_cxx_try_compile "$LINENO"; then :
27354 glibcxx_cv_func_sqrtl_use=yes
27355 else
27356 glibcxx_cv_func_sqrtl_use=no
27358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27359 ac_ext=c
27360 ac_cpp='$CPP $CPPFLAGS'
27361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
27370 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
27372 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
27373 for ac_func in sqrtl
27374 do :
27375 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
27376 if test "x$ac_cv_func_sqrtl" = xyes; then :
27377 cat >>confdefs.h <<_ACEOF
27378 #define HAVE_SQRTL 1
27379 _ACEOF
27382 done
27384 else
27386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
27387 $as_echo_n "checking for _sqrtl declaration... " >&6; }
27388 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
27389 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
27390 $as_echo_n "(cached) " >&6
27391 else
27394 ac_ext=cpp
27395 ac_cpp='$CXXCPP $CPPFLAGS'
27396 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27397 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27398 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27401 /* end confdefs.h. */
27402 #include <math.h>
27403 #ifdef HAVE_IEEEFP_H
27404 #include <ieeefp.h>
27405 #endif
27408 main ()
27410 _sqrtl(0);
27412 return 0;
27414 _ACEOF
27415 if ac_fn_cxx_try_compile "$LINENO"; then :
27416 glibcxx_cv_func__sqrtl_use=yes
27417 else
27418 glibcxx_cv_func__sqrtl_use=no
27420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27421 ac_ext=c
27422 ac_cpp='$CPP $CPPFLAGS'
27423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
27432 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
27434 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
27435 for ac_func in _sqrtl
27436 do :
27437 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
27438 if test "x$ac_cv_func__sqrtl" = xyes; then :
27439 cat >>confdefs.h <<_ACEOF
27440 #define HAVE__SQRTL 1
27441 _ACEOF
27444 done
27453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
27454 $as_echo_n "checking for sincosl declaration... " >&6; }
27455 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
27456 if ${glibcxx_cv_func_sincosl_use+:} false; then :
27457 $as_echo_n "(cached) " >&6
27458 else
27461 ac_ext=cpp
27462 ac_cpp='$CXXCPP $CPPFLAGS'
27463 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27464 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27465 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27468 /* end confdefs.h. */
27469 #include <math.h>
27471 main ()
27473 sincosl(0, 0, 0);
27475 return 0;
27477 _ACEOF
27478 if ac_fn_cxx_try_compile "$LINENO"; then :
27479 glibcxx_cv_func_sincosl_use=yes
27480 else
27481 glibcxx_cv_func_sincosl_use=no
27483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27484 ac_ext=c
27485 ac_cpp='$CPP $CPPFLAGS'
27486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
27495 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
27497 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
27498 for ac_func in sincosl
27499 do :
27500 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
27501 if test "x$ac_cv_func_sincosl" = xyes; then :
27502 cat >>confdefs.h <<_ACEOF
27503 #define HAVE_SINCOSL 1
27504 _ACEOF
27507 done
27509 else
27511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
27512 $as_echo_n "checking for _sincosl declaration... " >&6; }
27513 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
27514 if ${glibcxx_cv_func__sincosl_use+:} false; then :
27515 $as_echo_n "(cached) " >&6
27516 else
27519 ac_ext=cpp
27520 ac_cpp='$CXXCPP $CPPFLAGS'
27521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27526 /* end confdefs.h. */
27527 #include <math.h>
27529 main ()
27531 _sincosl(0, 0, 0);
27533 return 0;
27535 _ACEOF
27536 if ac_fn_cxx_try_compile "$LINENO"; then :
27537 glibcxx_cv_func__sincosl_use=yes
27538 else
27539 glibcxx_cv_func__sincosl_use=no
27541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27542 ac_ext=c
27543 ac_cpp='$CPP $CPPFLAGS'
27544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
27553 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
27555 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
27556 for ac_func in _sincosl
27557 do :
27558 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
27559 if test "x$ac_cv_func__sincosl" = xyes; then :
27560 cat >>confdefs.h <<_ACEOF
27561 #define HAVE__SINCOSL 1
27562 _ACEOF
27565 done
27574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
27575 $as_echo_n "checking for finitel declaration... " >&6; }
27576 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
27577 if ${glibcxx_cv_func_finitel_use+:} false; then :
27578 $as_echo_n "(cached) " >&6
27579 else
27582 ac_ext=cpp
27583 ac_cpp='$CXXCPP $CPPFLAGS'
27584 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27585 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27586 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27589 /* end confdefs.h. */
27590 #include <math.h>
27591 #ifdef HAVE_IEEEFP_H
27592 #include <ieeefp.h>
27593 #endif
27596 main ()
27598 finitel(0);
27600 return 0;
27602 _ACEOF
27603 if ac_fn_cxx_try_compile "$LINENO"; then :
27604 glibcxx_cv_func_finitel_use=yes
27605 else
27606 glibcxx_cv_func_finitel_use=no
27608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27609 ac_ext=c
27610 ac_cpp='$CPP $CPPFLAGS'
27611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
27620 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
27622 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
27623 for ac_func in finitel
27624 do :
27625 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
27626 if test "x$ac_cv_func_finitel" = xyes; then :
27627 cat >>confdefs.h <<_ACEOF
27628 #define HAVE_FINITEL 1
27629 _ACEOF
27632 done
27634 else
27636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
27637 $as_echo_n "checking for _finitel declaration... " >&6; }
27638 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
27639 if ${glibcxx_cv_func__finitel_use+:} false; then :
27640 $as_echo_n "(cached) " >&6
27641 else
27644 ac_ext=cpp
27645 ac_cpp='$CXXCPP $CPPFLAGS'
27646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27651 /* end confdefs.h. */
27652 #include <math.h>
27653 #ifdef HAVE_IEEEFP_H
27654 #include <ieeefp.h>
27655 #endif
27658 main ()
27660 _finitel(0);
27662 return 0;
27664 _ACEOF
27665 if ac_fn_cxx_try_compile "$LINENO"; then :
27666 glibcxx_cv_func__finitel_use=yes
27667 else
27668 glibcxx_cv_func__finitel_use=no
27670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27671 ac_ext=c
27672 ac_cpp='$CPP $CPPFLAGS'
27673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
27682 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
27684 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
27685 for ac_func in _finitel
27686 do :
27687 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
27688 if test "x$ac_cv_func__finitel" = xyes; then :
27689 cat >>confdefs.h <<_ACEOF
27690 #define HAVE__FINITEL 1
27691 _ACEOF
27694 done
27702 LIBS="$ac_save_LIBS"
27703 CXXFLAGS="$ac_save_CXXFLAGS"
27706 ac_test_CXXFLAGS="${CXXFLAGS+set}"
27707 ac_save_CXXFLAGS="$CXXFLAGS"
27708 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
27711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
27712 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
27713 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
27714 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
27715 $as_echo_n "(cached) " >&6
27716 else
27719 ac_ext=cpp
27720 ac_cpp='$CXXCPP $CPPFLAGS'
27721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27726 /* end confdefs.h. */
27727 #include <stdlib.h>
27729 main ()
27731 at_quick_exit(0);
27733 return 0;
27735 _ACEOF
27736 if ac_fn_cxx_try_compile "$LINENO"; then :
27737 glibcxx_cv_func_at_quick_exit_use=yes
27738 else
27739 glibcxx_cv_func_at_quick_exit_use=no
27741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27742 ac_ext=c
27743 ac_cpp='$CPP $CPPFLAGS'
27744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
27753 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
27754 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
27755 for ac_func in at_quick_exit
27756 do :
27757 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
27758 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
27759 cat >>confdefs.h <<_ACEOF
27760 #define HAVE_AT_QUICK_EXIT 1
27761 _ACEOF
27764 done
27769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
27770 $as_echo_n "checking for quick_exit declaration... " >&6; }
27771 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
27772 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
27773 $as_echo_n "(cached) " >&6
27774 else
27777 ac_ext=cpp
27778 ac_cpp='$CXXCPP $CPPFLAGS'
27779 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27780 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27781 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27784 /* end confdefs.h. */
27785 #include <stdlib.h>
27787 main ()
27789 quick_exit(0);
27791 return 0;
27793 _ACEOF
27794 if ac_fn_cxx_try_compile "$LINENO"; then :
27795 glibcxx_cv_func_quick_exit_use=yes
27796 else
27797 glibcxx_cv_func_quick_exit_use=no
27799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27800 ac_ext=c
27801 ac_cpp='$CPP $CPPFLAGS'
27802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
27811 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
27812 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
27813 for ac_func in quick_exit
27814 do :
27815 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
27816 if test "x$ac_cv_func_quick_exit" = xyes; then :
27817 cat >>confdefs.h <<_ACEOF
27818 #define HAVE_QUICK_EXIT 1
27819 _ACEOF
27822 done
27827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
27828 $as_echo_n "checking for strtold declaration... " >&6; }
27829 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
27830 if ${glibcxx_cv_func_strtold_use+:} false; then :
27831 $as_echo_n "(cached) " >&6
27832 else
27835 ac_ext=cpp
27836 ac_cpp='$CXXCPP $CPPFLAGS'
27837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27842 /* end confdefs.h. */
27843 #include <stdlib.h>
27845 main ()
27847 strtold(0, 0);
27849 return 0;
27851 _ACEOF
27852 if ac_fn_cxx_try_compile "$LINENO"; then :
27853 glibcxx_cv_func_strtold_use=yes
27854 else
27855 glibcxx_cv_func_strtold_use=no
27857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27858 ac_ext=c
27859 ac_cpp='$CPP $CPPFLAGS'
27860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
27869 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
27870 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
27871 for ac_func in strtold
27872 do :
27873 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
27874 if test "x$ac_cv_func_strtold" = xyes; then :
27875 cat >>confdefs.h <<_ACEOF
27876 #define HAVE_STRTOLD 1
27877 _ACEOF
27880 done
27887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
27888 $as_echo_n "checking for strtof declaration... " >&6; }
27889 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
27890 if ${glibcxx_cv_func_strtof_use+:} false; then :
27891 $as_echo_n "(cached) " >&6
27892 else
27895 ac_ext=cpp
27896 ac_cpp='$CXXCPP $CPPFLAGS'
27897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27902 /* end confdefs.h. */
27903 #include <stdlib.h>
27905 main ()
27907 strtof(0, 0);
27909 return 0;
27911 _ACEOF
27912 if ac_fn_cxx_try_compile "$LINENO"; then :
27913 glibcxx_cv_func_strtof_use=yes
27914 else
27915 glibcxx_cv_func_strtof_use=no
27917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27918 ac_ext=c
27919 ac_cpp='$CPP $CPPFLAGS'
27920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
27929 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
27930 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
27931 for ac_func in strtof
27932 do :
27933 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
27934 if test "x$ac_cv_func_strtof" = xyes; then :
27935 cat >>confdefs.h <<_ACEOF
27936 #define HAVE_STRTOF 1
27937 _ACEOF
27940 done
27947 CXXFLAGS="$ac_save_CXXFLAGS"
27950 # For /dev/random and /dev/urandom for std::random_device.
27953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/random\" and \"/dev/urandom\" for std::random_device" >&5
27954 $as_echo_n "checking for \"/dev/random\" and \"/dev/urandom\" for std::random_device... " >&6; }
27955 if ${glibcxx_cv_dev_random+:} false; then :
27956 $as_echo_n "(cached) " >&6
27957 else
27959 if test -r /dev/random && test -r /dev/urandom; then
27960 ## For MSys environment the test above is detected as false-positive
27961 ## on mingw-targets. So disable it explicitly for them.
27962 case ${target_os} in
27963 *mingw*) glibcxx_cv_dev_random=no ;;
27964 *) glibcxx_cv_dev_random=yes ;;
27965 esac
27966 else
27967 glibcxx_cv_dev_random=no;
27972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_dev_random" >&5
27973 $as_echo "$glibcxx_cv_dev_random" >&6; }
27975 if test x"$glibcxx_cv_dev_random" = x"yes"; then
27977 $as_echo "#define _GLIBCXX_USE_DEV_RANDOM 1" >>confdefs.h
27980 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
27986 # For TLS support.
27989 # Check whether --enable-tls was given.
27990 if test "${enable_tls+set}" = set; then :
27991 enableval=$enable_tls;
27992 case "$enableval" in
27993 yes|no) ;;
27994 *) as_fn_error $? "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
27995 esac
27997 else
27998 enable_tls=yes
28002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
28003 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
28004 if ${gcc_cv_have_tls+:} false; then :
28005 $as_echo_n "(cached) " >&6
28006 else
28008 if test "$cross_compiling" = yes; then :
28009 if test x$gcc_no_link = xyes; then
28010 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28013 /* end confdefs.h. */
28014 __thread int a; int b; int main() { return a = b; }
28015 _ACEOF
28016 if ac_fn_c_try_link "$LINENO"; then :
28017 chktls_save_LDFLAGS="$LDFLAGS"
28018 case $host in
28019 *-*-linux* | -*-uclinuxfdpic*)
28020 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
28022 esac
28023 chktls_save_CFLAGS="$CFLAGS"
28024 CFLAGS="-fPIC $CFLAGS"
28025 if test x$gcc_no_link = xyes; then
28026 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28029 /* end confdefs.h. */
28030 int f() { return 0; }
28031 _ACEOF
28032 if ac_fn_c_try_link "$LINENO"; then :
28033 if test x$gcc_no_link = xyes; then
28034 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28037 /* end confdefs.h. */
28038 __thread int a; int b; int f() { return a = b; }
28039 _ACEOF
28040 if ac_fn_c_try_link "$LINENO"; then :
28041 gcc_cv_have_tls=yes
28042 else
28043 gcc_cv_have_tls=no
28045 rm -f core conftest.err conftest.$ac_objext \
28046 conftest$ac_exeext conftest.$ac_ext
28047 else
28048 gcc_cv_have_tls=yes
28050 rm -f core conftest.err conftest.$ac_objext \
28051 conftest$ac_exeext conftest.$ac_ext
28052 CFLAGS="$chktls_save_CFLAGS"
28053 LDFLAGS="$chktls_save_LDFLAGS"
28054 else
28055 gcc_cv_have_tls=no
28057 rm -f core conftest.err conftest.$ac_objext \
28058 conftest$ac_exeext conftest.$ac_ext
28061 else
28062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28063 /* end confdefs.h. */
28064 __thread int a; int b; int main() { return a = b; }
28065 _ACEOF
28066 if ac_fn_c_try_run "$LINENO"; then :
28067 chktls_save_LDFLAGS="$LDFLAGS"
28068 LDFLAGS="-static $LDFLAGS"
28069 if test x$gcc_no_link = xyes; then
28070 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28073 /* end confdefs.h. */
28074 int main() { return 0; }
28075 _ACEOF
28076 if ac_fn_c_try_link "$LINENO"; then :
28077 if test "$cross_compiling" = yes; then :
28078 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
28079 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
28080 as_fn_error $? "cannot run test program while cross compiling
28081 See \`config.log' for more details" "$LINENO" 5; }
28082 else
28083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28084 /* end confdefs.h. */
28085 __thread int a; int b; int main() { return a = b; }
28086 _ACEOF
28087 if ac_fn_c_try_run "$LINENO"; then :
28088 gcc_cv_have_tls=yes
28089 else
28090 gcc_cv_have_tls=no
28092 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
28093 conftest.$ac_objext conftest.beam conftest.$ac_ext
28096 else
28097 gcc_cv_have_tls=yes
28099 rm -f core conftest.err conftest.$ac_objext \
28100 conftest$ac_exeext conftest.$ac_ext
28101 LDFLAGS="$chktls_save_LDFLAGS"
28102 if test $gcc_cv_have_tls = yes; then
28103 chktls_save_CFLAGS="$CFLAGS"
28104 thread_CFLAGS=failed
28105 for flag in '' '-pthread' '-lpthread'; do
28106 CFLAGS="$flag $chktls_save_CFLAGS"
28107 if test x$gcc_no_link = xyes; then
28108 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28111 /* end confdefs.h. */
28112 #include <pthread.h>
28113 void *g(void *d) { return NULL; }
28115 main ()
28117 pthread_t t; pthread_create(&t,NULL,g,NULL);
28119 return 0;
28121 _ACEOF
28122 if ac_fn_c_try_link "$LINENO"; then :
28123 thread_CFLAGS="$flag"
28125 rm -f core conftest.err conftest.$ac_objext \
28126 conftest$ac_exeext conftest.$ac_ext
28127 if test "X$thread_CFLAGS" != Xfailed; then
28128 break
28130 done
28131 CFLAGS="$chktls_save_CFLAGS"
28132 if test "X$thread_CFLAGS" != Xfailed; then
28133 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
28134 if test "$cross_compiling" = yes; then :
28135 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
28136 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
28137 as_fn_error $? "cannot run test program while cross compiling
28138 See \`config.log' for more details" "$LINENO" 5; }
28139 else
28140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28141 /* end confdefs.h. */
28142 #include <pthread.h>
28143 __thread int a;
28144 static int *volatile a_in_other_thread;
28145 static void *
28146 thread_func (void *arg)
28148 a_in_other_thread = &a;
28149 return (void *)0;
28152 main ()
28154 pthread_t thread;
28155 void *thread_retval;
28156 int *volatile a_in_main_thread;
28157 a_in_main_thread = &a;
28158 if (pthread_create (&thread, (pthread_attr_t *)0,
28159 thread_func, (void *)0))
28160 return 0;
28161 if (pthread_join (thread, &thread_retval))
28162 return 0;
28163 return (a_in_other_thread == a_in_main_thread);
28165 return 0;
28167 _ACEOF
28168 if ac_fn_c_try_run "$LINENO"; then :
28169 gcc_cv_have_tls=yes
28170 else
28171 gcc_cv_have_tls=no
28173 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
28174 conftest.$ac_objext conftest.beam conftest.$ac_ext
28177 CFLAGS="$chktls_save_CFLAGS"
28180 else
28181 gcc_cv_have_tls=no
28183 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
28184 conftest.$ac_objext conftest.beam conftest.$ac_ext
28188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
28189 $as_echo "$gcc_cv_have_tls" >&6; }
28190 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
28192 $as_echo "#define HAVE_TLS 1" >>confdefs.h
28196 for ac_func in __cxa_thread_atexit_impl __cxa_thread_atexit
28197 do :
28198 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28199 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28200 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
28201 cat >>confdefs.h <<_ACEOF
28202 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28203 _ACEOF
28206 done
28208 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
28209 do :
28210 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28211 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28212 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
28213 cat >>confdefs.h <<_ACEOF
28214 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28215 _ACEOF
28218 done
28220 for ac_func in _wfopen
28221 do :
28222 ac_fn_c_check_func "$LINENO" "_wfopen" "ac_cv_func__wfopen"
28223 if test "x$ac_cv_func__wfopen" = xyes; then :
28224 cat >>confdefs.h <<_ACEOF
28225 #define HAVE__WFOPEN 1
28226 _ACEOF
28229 done
28232 # C11 functions for C++17 library
28233 for ac_func in timespec_get
28234 do :
28235 ac_fn_c_check_func "$LINENO" "timespec_get" "ac_cv_func_timespec_get"
28236 if test "x$ac_cv_func_timespec_get" = xyes; then :
28237 cat >>confdefs.h <<_ACEOF
28238 #define HAVE_TIMESPEC_GET 1
28239 _ACEOF
28242 done
28245 # For Networking TS.
28246 for ac_func in sockatmark
28247 do :
28248 ac_fn_c_check_func "$LINENO" "sockatmark" "ac_cv_func_sockatmark"
28249 if test "x$ac_cv_func_sockatmark" = xyes; then :
28250 cat >>confdefs.h <<_ACEOF
28251 #define HAVE_SOCKATMARK 1
28252 _ACEOF
28255 done
28258 # Non-standard functions used by C++17 std::from_chars
28259 for ac_func in uselocale
28260 do :
28261 ac_fn_c_check_func "$LINENO" "uselocale" "ac_cv_func_uselocale"
28262 if test "x$ac_cv_func_uselocale" = xyes; then :
28263 cat >>confdefs.h <<_ACEOF
28264 #define HAVE_USELOCALE 1
28265 _ACEOF
28268 done
28271 # For iconv support.
28273 if test "X$prefix" = "XNONE"; then
28274 acl_final_prefix="$ac_default_prefix"
28275 else
28276 acl_final_prefix="$prefix"
28278 if test "X$exec_prefix" = "XNONE"; then
28279 acl_final_exec_prefix='${prefix}'
28280 else
28281 acl_final_exec_prefix="$exec_prefix"
28283 acl_save_prefix="$prefix"
28284 prefix="$acl_final_prefix"
28285 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
28286 prefix="$acl_save_prefix"
28289 # Check whether --with-gnu-ld was given.
28290 if test "${with_gnu_ld+set}" = set; then :
28291 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
28292 else
28293 with_gnu_ld=no
28296 # Prepare PATH_SEPARATOR.
28297 # The user is always right.
28298 if test "${PATH_SEPARATOR+set}" != set; then
28299 echo "#! /bin/sh" >conf$$.sh
28300 echo "exit 0" >>conf$$.sh
28301 chmod +x conf$$.sh
28302 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
28303 PATH_SEPARATOR=';'
28304 else
28305 PATH_SEPARATOR=:
28307 rm -f conf$$.sh
28309 ac_prog=ld
28310 if test "$GCC" = yes; then
28311 # Check if gcc -print-prog-name=ld gives a path.
28312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
28313 $as_echo_n "checking for ld used by GCC... " >&6; }
28314 case $host in
28315 *-*-mingw*)
28316 # gcc leaves a trailing carriage return which upsets mingw
28317 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
28319 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
28320 esac
28321 case $ac_prog in
28322 # Accept absolute paths.
28323 [\\/]* | [A-Za-z]:[\\/]*)
28324 re_direlt='/[^/][^/]*/\.\./'
28325 # Canonicalize the path of ld
28326 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
28327 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
28328 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
28329 done
28330 test -z "$LD" && LD="$ac_prog"
28333 # If it fails, then pretend we aren't using GCC.
28334 ac_prog=ld
28337 # If it is relative, then search for the first ld in PATH.
28338 with_gnu_ld=unknown
28340 esac
28341 elif test "$with_gnu_ld" = yes; then
28342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
28343 $as_echo_n "checking for GNU ld... " >&6; }
28344 else
28345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
28346 $as_echo_n "checking for non-GNU ld... " >&6; }
28348 if ${acl_cv_path_LD+:} false; then :
28349 $as_echo_n "(cached) " >&6
28350 else
28351 if test -z "$LD"; then
28352 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
28353 for ac_dir in $PATH; do
28354 test -z "$ac_dir" && ac_dir=.
28355 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
28356 acl_cv_path_LD="$ac_dir/$ac_prog"
28357 # Check to see if the program is GNU ld. I'd rather use --version,
28358 # but apparently some GNU ld's only accept -v.
28359 # Break only if it was the GNU/non-GNU ld that we prefer.
28360 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
28361 test "$with_gnu_ld" != no && break
28362 else
28363 test "$with_gnu_ld" != yes && break
28366 done
28367 IFS="$ac_save_ifs"
28368 else
28369 acl_cv_path_LD="$LD" # Let the user override the test with a path.
28373 LD="$acl_cv_path_LD"
28374 if test -n "$LD"; then
28375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
28376 $as_echo "$LD" >&6; }
28377 else
28378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28379 $as_echo "no" >&6; }
28381 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
28382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
28383 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
28384 if ${acl_cv_prog_gnu_ld+:} false; then :
28385 $as_echo_n "(cached) " >&6
28386 else
28387 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
28388 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
28389 acl_cv_prog_gnu_ld=yes
28390 else
28391 acl_cv_prog_gnu_ld=no
28394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
28395 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
28396 with_gnu_ld=$acl_cv_prog_gnu_ld
28400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
28401 $as_echo_n "checking for shared library run path origin... " >&6; }
28402 if ${acl_cv_rpath+:} false; then :
28403 $as_echo_n "(cached) " >&6
28404 else
28406 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
28407 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
28408 . ./conftest.sh
28409 rm -f ./conftest.sh
28410 acl_cv_rpath=done
28413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
28414 $as_echo "$acl_cv_rpath" >&6; }
28415 wl="$acl_cv_wl"
28416 libext="$acl_cv_libext"
28417 shlibext="$acl_cv_shlibext"
28418 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
28419 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
28420 hardcode_direct="$acl_cv_hardcode_direct"
28421 hardcode_minus_L="$acl_cv_hardcode_minus_L"
28422 # Check whether --enable-rpath was given.
28423 if test "${enable_rpath+set}" = set; then :
28424 enableval=$enable_rpath; :
28425 else
28426 enable_rpath=yes
28436 use_additional=yes
28438 acl_save_prefix="$prefix"
28439 prefix="$acl_final_prefix"
28440 acl_save_exec_prefix="$exec_prefix"
28441 exec_prefix="$acl_final_exec_prefix"
28443 eval additional_includedir=\"$includedir\"
28444 eval additional_libdir=\"$libdir\"
28446 exec_prefix="$acl_save_exec_prefix"
28447 prefix="$acl_save_prefix"
28450 # Check whether --with-libiconv-prefix was given.
28451 if test "${with_libiconv_prefix+set}" = set; then :
28452 withval=$with_libiconv_prefix;
28453 if test "X$withval" = "Xno"; then
28454 use_additional=no
28455 else
28456 if test "X$withval" = "X"; then
28458 acl_save_prefix="$prefix"
28459 prefix="$acl_final_prefix"
28460 acl_save_exec_prefix="$exec_prefix"
28461 exec_prefix="$acl_final_exec_prefix"
28463 eval additional_includedir=\"$includedir\"
28464 eval additional_libdir=\"$libdir\"
28466 exec_prefix="$acl_save_exec_prefix"
28467 prefix="$acl_save_prefix"
28469 else
28470 additional_includedir="$withval/include"
28471 additional_libdir="$withval/lib"
28478 # Check whether --with-libiconv-type was given.
28479 if test "${with_libiconv_type+set}" = set; then :
28480 withval=$with_libiconv_type; with_libiconv_type=$withval
28481 else
28482 with_libiconv_type=auto
28485 lib_type=`eval echo \$with_libiconv_type`
28487 LIBICONV=
28488 LTLIBICONV=
28489 INCICONV=
28490 rpathdirs=
28491 ltrpathdirs=
28492 names_already_handled=
28493 names_next_round='iconv '
28494 while test -n "$names_next_round"; do
28495 names_this_round="$names_next_round"
28496 names_next_round=
28497 for name in $names_this_round; do
28498 already_handled=
28499 for n in $names_already_handled; do
28500 if test "$n" = "$name"; then
28501 already_handled=yes
28502 break
28504 done
28505 if test -z "$already_handled"; then
28506 names_already_handled="$names_already_handled $name"
28507 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
28508 eval value=\"\$HAVE_LIB$uppername\"
28509 if test -n "$value"; then
28510 if test "$value" = yes; then
28511 eval value=\"\$LIB$uppername\"
28512 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
28513 eval value=\"\$LTLIB$uppername\"
28514 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
28515 else
28518 else
28519 found_dir=
28520 found_la=
28521 found_so=
28522 found_a=
28523 if test $use_additional = yes; then
28524 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext" && test x$lib_type != xstatic; then
28525 found_dir="$additional_libdir"
28526 found_so="$additional_libdir/lib$name.$shlibext"
28527 if test -f "$additional_libdir/lib$name.la"; then
28528 found_la="$additional_libdir/lib$name.la"
28530 elif test x$lib_type != xshared; then
28531 if test -f "$additional_libdir/lib$name.$libext"; then
28532 found_dir="$additional_libdir"
28533 found_a="$additional_libdir/lib$name.$libext"
28534 if test -f "$additional_libdir/lib$name.la"; then
28535 found_la="$additional_libdir/lib$name.la"
28540 if test "X$found_dir" = "X"; then
28541 for x in $LDFLAGS $LTLIBICONV; do
28543 acl_save_prefix="$prefix"
28544 prefix="$acl_final_prefix"
28545 acl_save_exec_prefix="$exec_prefix"
28546 exec_prefix="$acl_final_exec_prefix"
28547 eval x=\"$x\"
28548 exec_prefix="$acl_save_exec_prefix"
28549 prefix="$acl_save_prefix"
28551 case "$x" in
28552 -L*)
28553 dir=`echo "X$x" | sed -e 's/^X-L//'`
28554 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext" && test x$lib_type != xstatic; then
28555 found_dir="$dir"
28556 found_so="$dir/lib$name.$shlibext"
28557 if test -f "$dir/lib$name.la"; then
28558 found_la="$dir/lib$name.la"
28560 elif test x$lib_type != xshared; then
28561 if test -f "$dir/lib$name.$libext"; then
28562 found_dir="$dir"
28563 found_a="$dir/lib$name.$libext"
28564 if test -f "$dir/lib$name.la"; then
28565 found_la="$dir/lib$name.la"
28570 esac
28571 if test "X$found_dir" != "X"; then
28572 break
28574 done
28576 if test "X$found_dir" != "X"; then
28577 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
28578 if test "X$found_so" != "X"; then
28579 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
28580 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28581 else
28582 haveit=
28583 for x in $ltrpathdirs; do
28584 if test "X$x" = "X$found_dir"; then
28585 haveit=yes
28586 break
28588 done
28589 if test -z "$haveit"; then
28590 ltrpathdirs="$ltrpathdirs $found_dir"
28592 if test "$hardcode_direct" = yes; then
28593 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28594 else
28595 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
28596 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28597 haveit=
28598 for x in $rpathdirs; do
28599 if test "X$x" = "X$found_dir"; then
28600 haveit=yes
28601 break
28603 done
28604 if test -z "$haveit"; then
28605 rpathdirs="$rpathdirs $found_dir"
28607 else
28608 haveit=
28609 for x in $LDFLAGS $LIBICONV; do
28611 acl_save_prefix="$prefix"
28612 prefix="$acl_final_prefix"
28613 acl_save_exec_prefix="$exec_prefix"
28614 exec_prefix="$acl_final_exec_prefix"
28615 eval x=\"$x\"
28616 exec_prefix="$acl_save_exec_prefix"
28617 prefix="$acl_save_prefix"
28619 if test "X$x" = "X-L$found_dir"; then
28620 haveit=yes
28621 break
28623 done
28624 if test -z "$haveit"; then
28625 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
28627 if test "$hardcode_minus_L" != no; then
28628 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28629 else
28630 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
28635 else
28636 if test "X$found_a" != "X"; then
28637 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
28638 else
28639 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
28642 additional_includedir=
28643 case "$found_dir" in
28644 */lib | */lib/)
28645 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
28646 additional_includedir="$basedir/include"
28648 esac
28649 if test "X$additional_includedir" != "X"; then
28650 if test "X$additional_includedir" != "X/usr/include"; then
28651 haveit=
28652 if test "X$additional_includedir" = "X/usr/local/include"; then
28653 if test -n "$GCC"; then
28654 case $host_os in
28655 linux*) haveit=yes;;
28656 esac
28659 if test -z "$haveit"; then
28660 for x in $CPPFLAGS $INCICONV; do
28662 acl_save_prefix="$prefix"
28663 prefix="$acl_final_prefix"
28664 acl_save_exec_prefix="$exec_prefix"
28665 exec_prefix="$acl_final_exec_prefix"
28666 eval x=\"$x\"
28667 exec_prefix="$acl_save_exec_prefix"
28668 prefix="$acl_save_prefix"
28670 if test "X$x" = "X-I$additional_includedir"; then
28671 haveit=yes
28672 break
28674 done
28675 if test -z "$haveit"; then
28676 if test -d "$additional_includedir"; then
28677 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
28683 if test -n "$found_la"; then
28684 save_libdir="$libdir"
28685 case "$found_la" in
28686 */* | *\\*) . "$found_la" ;;
28687 *) . "./$found_la" ;;
28688 esac
28689 libdir="$save_libdir"
28690 for dep in $dependency_libs; do
28691 case "$dep" in
28692 -L*)
28693 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
28694 if test "X$additional_libdir" != "X/usr/lib"; then
28695 haveit=
28696 if test "X$additional_libdir" = "X/usr/local/lib"; then
28697 if test -n "$GCC"; then
28698 case $host_os in
28699 linux*) haveit=yes;;
28700 esac
28703 if test -z "$haveit"; then
28704 haveit=
28705 for x in $LDFLAGS $LIBICONV; do
28707 acl_save_prefix="$prefix"
28708 prefix="$acl_final_prefix"
28709 acl_save_exec_prefix="$exec_prefix"
28710 exec_prefix="$acl_final_exec_prefix"
28711 eval x=\"$x\"
28712 exec_prefix="$acl_save_exec_prefix"
28713 prefix="$acl_save_prefix"
28715 if test "X$x" = "X-L$additional_libdir"; then
28716 haveit=yes
28717 break
28719 done
28720 if test -z "$haveit"; then
28721 if test -d "$additional_libdir"; then
28722 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
28725 haveit=
28726 for x in $LDFLAGS $LTLIBICONV; do
28728 acl_save_prefix="$prefix"
28729 prefix="$acl_final_prefix"
28730 acl_save_exec_prefix="$exec_prefix"
28731 exec_prefix="$acl_final_exec_prefix"
28732 eval x=\"$x\"
28733 exec_prefix="$acl_save_exec_prefix"
28734 prefix="$acl_save_prefix"
28736 if test "X$x" = "X-L$additional_libdir"; then
28737 haveit=yes
28738 break
28740 done
28741 if test -z "$haveit"; then
28742 if test -d "$additional_libdir"; then
28743 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
28749 -R*)
28750 dir=`echo "X$dep" | sed -e 's/^X-R//'`
28751 if test "$enable_rpath" != no; then
28752 haveit=
28753 for x in $rpathdirs; do
28754 if test "X$x" = "X$dir"; then
28755 haveit=yes
28756 break
28758 done
28759 if test -z "$haveit"; then
28760 rpathdirs="$rpathdirs $dir"
28762 haveit=
28763 for x in $ltrpathdirs; do
28764 if test "X$x" = "X$dir"; then
28765 haveit=yes
28766 break
28768 done
28769 if test -z "$haveit"; then
28770 ltrpathdirs="$ltrpathdirs $dir"
28774 -l*)
28775 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
28777 *.la)
28778 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
28781 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
28782 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
28784 esac
28785 done
28787 else
28788 if test "x$lib_type" = "xauto" || test "x$lib_type" = "xshared"; then
28789 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
28790 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
28791 else
28792 LIBICONV="${LIBICONV}${LIBICONV:+ }-l:lib$name.$libext"
28793 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l:lib$name.$libext"
28798 done
28799 done
28800 if test "X$rpathdirs" != "X"; then
28801 if test -n "$hardcode_libdir_separator"; then
28802 alldirs=
28803 for found_dir in $rpathdirs; do
28804 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
28805 done
28806 acl_save_libdir="$libdir"
28807 libdir="$alldirs"
28808 eval flag=\"$hardcode_libdir_flag_spec\"
28809 libdir="$acl_save_libdir"
28810 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
28811 else
28812 for found_dir in $rpathdirs; do
28813 acl_save_libdir="$libdir"
28814 libdir="$found_dir"
28815 eval flag=\"$hardcode_libdir_flag_spec\"
28816 libdir="$acl_save_libdir"
28817 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
28818 done
28821 if test "X$ltrpathdirs" != "X"; then
28822 for found_dir in $ltrpathdirs; do
28823 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
28824 done
28833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
28834 $as_echo_n "checking for iconv... " >&6; }
28835 if ${am_cv_func_iconv+:} false; then :
28836 $as_echo_n "(cached) " >&6
28837 else
28839 am_cv_func_iconv="no, consider installing GNU libiconv"
28840 am_cv_lib_iconv=no
28841 am_save_CPPFLAGS="$CPPFLAGS"
28842 CPPFLAGS="$CPPFLAGS $INCICONV"
28843 if test x$gcc_no_link = xyes; then
28844 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28847 /* end confdefs.h. */
28848 #include <stdlib.h>
28849 #include <iconv.h>
28851 main ()
28853 iconv_t cd = iconv_open("","");
28854 iconv(cd,NULL,NULL,NULL,NULL);
28855 iconv_close(cd);
28857 return 0;
28859 _ACEOF
28860 if ac_fn_c_try_link "$LINENO"; then :
28861 am_cv_func_iconv=yes
28863 rm -f core conftest.err conftest.$ac_objext \
28864 conftest$ac_exeext conftest.$ac_ext
28865 CPPFLAGS="$am_save_CPPFLAGS"
28867 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
28868 for _libs in .libs _libs; do
28869 am_save_CPPFLAGS="$CPPFLAGS"
28870 am_save_LIBS="$LIBS"
28871 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
28872 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
28873 if test x$gcc_no_link = xyes; then
28874 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28877 /* end confdefs.h. */
28878 #include <stdlib.h>
28879 #include <iconv.h>
28881 main ()
28883 iconv_t cd = iconv_open("","");
28884 iconv(cd,NULL,NULL,NULL,NULL);
28885 iconv_close(cd);
28887 return 0;
28889 _ACEOF
28890 if ac_fn_c_try_link "$LINENO"; then :
28891 INCICONV="-I../libiconv/include"
28892 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
28893 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
28894 am_cv_lib_iconv=yes
28895 am_cv_func_iconv=yes
28897 rm -f core conftest.err conftest.$ac_objext \
28898 conftest$ac_exeext conftest.$ac_ext
28899 CPPFLAGS="$am_save_CPPFLAGS"
28900 LIBS="$am_save_LIBS"
28901 if test "$am_cv_func_iconv" = "yes"; then
28902 break
28904 done
28907 if test "$am_cv_func_iconv" != yes; then
28908 am_save_CPPFLAGS="$CPPFLAGS"
28909 am_save_LIBS="$LIBS"
28910 CPPFLAGS="$CPPFLAGS $INCICONV"
28911 LIBS="$LIBS $LIBICONV"
28912 if test x$gcc_no_link = xyes; then
28913 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28916 /* end confdefs.h. */
28917 #include <stdlib.h>
28918 #include <iconv.h>
28920 main ()
28922 iconv_t cd = iconv_open("","");
28923 iconv(cd,NULL,NULL,NULL,NULL);
28924 iconv_close(cd);
28926 return 0;
28928 _ACEOF
28929 if ac_fn_c_try_link "$LINENO"; then :
28930 am_cv_lib_iconv=yes
28931 am_cv_func_iconv=yes
28933 rm -f core conftest.err conftest.$ac_objext \
28934 conftest$ac_exeext conftest.$ac_ext
28935 CPPFLAGS="$am_save_CPPFLAGS"
28936 LIBS="$am_save_LIBS"
28940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
28941 $as_echo "$am_cv_func_iconv" >&6; }
28942 if test "$am_cv_func_iconv" = yes; then
28944 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
28947 if test "$am_cv_lib_iconv" = yes; then
28949 for element in $INCICONV; do
28950 haveit=
28951 for x in $CPPFLAGS; do
28953 acl_save_prefix="$prefix"
28954 prefix="$acl_final_prefix"
28955 acl_save_exec_prefix="$exec_prefix"
28956 exec_prefix="$acl_final_exec_prefix"
28957 eval x=\"$x\"
28958 exec_prefix="$acl_save_exec_prefix"
28959 prefix="$acl_save_prefix"
28961 if test "X$x" = "X$element"; then
28962 haveit=yes
28963 break
28965 done
28966 if test -z "$haveit"; then
28967 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
28969 done
28971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
28972 $as_echo_n "checking how to link with libiconv... " >&6; }
28973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
28974 $as_echo "$LIBICONV" >&6; }
28975 else
28976 LIBICONV=
28977 LTLIBICONV=
28982 if test "$am_cv_func_iconv" = yes; then
28983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
28984 $as_echo_n "checking for iconv declaration... " >&6; }
28985 if ${am_cv_proto_iconv+:} false; then :
28986 $as_echo_n "(cached) " >&6
28987 else
28989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28990 /* end confdefs.h. */
28992 #include <stdlib.h>
28993 #include <iconv.h>
28994 extern
28995 #ifdef __cplusplus
28997 #endif
28998 #if defined(__STDC__) || defined(__cplusplus)
28999 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
29000 #else
29001 size_t iconv();
29002 #endif
29005 main ()
29009 return 0;
29011 _ACEOF
29012 if ac_fn_c_try_compile "$LINENO"; then :
29013 am_cv_proto_iconv_arg1=""
29014 else
29015 am_cv_proto_iconv_arg1="const"
29017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29018 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);"
29021 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
29022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
29023 }$am_cv_proto_iconv" >&5
29024 $as_echo "${ac_t:-
29025 }$am_cv_proto_iconv" >&6; }
29027 cat >>confdefs.h <<_ACEOF
29028 #define ICONV_CONST $am_cv_proto_iconv_arg1
29029 _ACEOF
29034 else
29036 # This lets us hard-code the functionality we know we'll have in the cross
29037 # target environment. "Let" is a sugar-coated word placed on an especially
29038 # dull and tedious hack, actually.
29040 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
29041 # that involve linking, can't be used:
29042 # "cannot open sim-crt0.o"
29043 # "cannot open crt0.o"
29044 # etc. All this is because there currently exists no unified, consistent
29045 # way for top level CC information to be passed down to target directories:
29046 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
29047 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
29048 # crosses can be removed.
29050 # If Canadian cross, then don't pick up tools from the build directory.
29051 # Used only in GLIBCXX_EXPORT_INCLUDES.
29052 if test -n "$with_cross_host" &&
29053 test x"$build_alias" != x"$with_cross_host" &&
29054 test x"$build" != x"$target";
29055 then
29056 CANADIAN=yes
29057 else
29058 CANADIAN=no
29061 # Construct crosses by hand, eliminating bits that need ld...
29062 # GLIBCXX_CHECK_MATH_SUPPORT
29064 # First, test for "known" system libraries. We may be using newlib even
29065 # on a hosted environment.
29066 if test "x${with_newlib}" = "xyes"; then
29067 os_include_dir="os/newlib"
29068 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
29071 # GLIBCXX_CHECK_STDLIB_SUPPORT
29072 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
29075 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
29077 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
29079 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
29081 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
29083 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
29085 $as_echo "#define HAVE_COSF 1" >>confdefs.h
29087 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
29089 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
29091 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
29093 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
29095 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
29097 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
29099 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
29101 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
29103 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
29105 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
29107 $as_echo "#define HAVE_POWF 1" >>confdefs.h
29109 $as_echo "#define HAVE_SINF 1" >>confdefs.h
29111 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
29113 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
29115 $as_echo "#define HAVE_TANF 1" >>confdefs.h
29117 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
29120 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
29122 $as_echo "#define HAVE_MEMALIGN 1" >>confdefs.h
29124 else
29126 # Base decisions on target environment.
29127 case "${host}" in
29128 arm*-*-symbianelf*)
29129 # This is a freestanding configuration; there is nothing to do here.
29132 avr*-*-*)
29133 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
29135 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
29137 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
29139 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
29141 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
29143 $as_echo "#define HAVE_COSF 1" >>confdefs.h
29145 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
29147 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
29149 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
29151 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
29153 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
29155 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
29157 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
29159 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
29161 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
29163 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
29165 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
29167 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
29169 $as_echo "#define HAVE_POWF 1" >>confdefs.h
29171 $as_echo "#define HAVE_SINF 1" >>confdefs.h
29173 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
29175 $as_echo "#define HAVE_TANF 1" >>confdefs.h
29177 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
29181 mips*-sde-elf*)
29182 # These definitions are for the SDE C library rather than newlib.
29183 SECTION_FLAGS='-ffunction-sections -fdata-sections'
29186 # All these tests are for C++; save the language and the compiler flags.
29187 # The CXXFLAGS thing is suspicious, but based on similar bits previously
29188 # found in GLIBCXX_CONFIGURE.
29190 ac_ext=cpp
29191 ac_cpp='$CXXCPP $CPPFLAGS'
29192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29196 ac_test_CXXFLAGS="${CXXFLAGS+set}"
29197 ac_save_CXXFLAGS="$CXXFLAGS"
29199 # Check for -ffunction-sections -fdata-sections
29200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
29201 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
29202 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
29203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29204 /* end confdefs.h. */
29205 int foo; void bar() { };
29207 main ()
29211 return 0;
29213 _ACEOF
29214 if ac_fn_cxx_try_compile "$LINENO"; then :
29215 ac_fdsections=yes
29216 else
29217 ac_fdsections=no
29219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29220 if test "$ac_test_CXXFLAGS" = set; then
29221 CXXFLAGS="$ac_save_CXXFLAGS"
29222 else
29223 # this is the suspicious part
29224 CXXFLAGS=''
29226 if test x"$ac_fdsections" = x"yes"; then
29227 SECTION_FLAGS='-ffunction-sections -fdata-sections'
29229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
29230 $as_echo "$ac_fdsections" >&6; }
29232 ac_ext=c
29233 ac_cpp='$CPP $CPPFLAGS'
29234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29241 # If we're not using GNU ld, then there's no point in even trying these
29242 # tests. Check for that first. We should have already tested for gld
29243 # by now (in libtool), but require it now just to be safe...
29244 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
29245 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
29249 # The name set by libtool depends on the version of libtool. Shame on us
29250 # for depending on an impl detail, but c'est la vie. Older versions used
29251 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
29252 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
29253 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
29254 # set (hence we're using an older libtool), then set it.
29255 if test x${with_gnu_ld+set} != xset; then
29256 if test x${ac_cv_prog_gnu_ld+set} != xset; then
29257 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
29258 with_gnu_ld=no
29259 else
29260 with_gnu_ld=$ac_cv_prog_gnu_ld
29264 # Start by getting the version number. I think the libtool test already
29265 # does some of this, but throws away the result.
29266 glibcxx_ld_is_gold=no
29267 if test x"$with_gnu_ld" = x"yes"; then
29268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
29269 $as_echo_n "checking for ld version... " >&6; }
29271 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
29272 glibcxx_ld_is_gold=yes
29274 ldver=`$LD --version 2>/dev/null |
29275 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
29277 glibcxx_gnu_ld_version=`echo $ldver | \
29278 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
29279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
29280 $as_echo "$glibcxx_gnu_ld_version" >&6; }
29283 # Set --gc-sections.
29284 glibcxx_have_gc_sections=no
29285 if test "$glibcxx_ld_is_gold" = "yes"; then
29286 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
29287 glibcxx_have_gc_sections=yes
29289 else
29290 glibcxx_gcsections_min_ld=21602
29291 if test x"$with_gnu_ld" = x"yes" &&
29292 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
29293 glibcxx_have_gc_sections=yes
29296 if test "$glibcxx_have_gc_sections" = "yes"; then
29297 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
29298 # NB: This flag only works reliably after 2.16.1. Configure tests
29299 # for this are difficult, so hard wire a value that should work.
29301 ac_test_CFLAGS="${CFLAGS+set}"
29302 ac_save_CFLAGS="$CFLAGS"
29303 CFLAGS='-Wl,--gc-sections'
29305 # Check for -Wl,--gc-sections
29306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
29307 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
29308 if test x$gcc_no_link = xyes; then
29309 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29312 /* end confdefs.h. */
29313 int one(void) { return 1; }
29314 int two(void) { return 2; }
29317 main ()
29319 two();
29321 return 0;
29323 _ACEOF
29324 if ac_fn_c_try_link "$LINENO"; then :
29325 ac_gcsections=yes
29326 else
29327 ac_gcsections=no
29329 rm -f core conftest.err conftest.$ac_objext \
29330 conftest$ac_exeext conftest.$ac_ext
29331 if test "$ac_gcsections" = "yes"; then
29332 rm -f conftest.c
29333 touch conftest.c
29334 if $CC -c conftest.c; then
29335 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
29336 grep "Warning: gc-sections option ignored" > /dev/null; then
29337 ac_gcsections=no
29340 rm -f conftest.c conftest.o conftest
29342 if test "$ac_gcsections" = "yes"; then
29343 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
29345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
29346 $as_echo "$ac_gcsections" >&6; }
29348 if test "$ac_test_CFLAGS" = set; then
29349 CFLAGS="$ac_save_CFLAGS"
29350 else
29351 # this is the suspicious part
29352 CFLAGS=''
29356 # Set -z,relro.
29357 # Note this is only for shared objects.
29358 ac_ld_relro=no
29359 if test x"$with_gnu_ld" = x"yes"; then
29360 # cygwin and mingw uses PE, which has no ELF relro support,
29361 # multi target ld may confuse configure machinery
29362 case "$host" in
29363 *-*-cygwin*)
29365 *-*-mingw*)
29368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
29369 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
29370 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
29371 if test -n "$cxx_z_relo"; then
29372 OPT_LDFLAGS="-Wl,-z,relro"
29373 ac_ld_relro=yes
29375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
29376 $as_echo "$ac_ld_relro" >&6; }
29377 esac
29380 # Set linker optimization flags.
29381 if test x"$with_gnu_ld" = x"yes"; then
29382 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
29389 ac_test_CXXFLAGS="${CXXFLAGS+set}"
29390 ac_save_CXXFLAGS="$CXXFLAGS"
29391 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
29393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
29394 $as_echo_n "checking for sin in -lm... " >&6; }
29395 if ${ac_cv_lib_m_sin+:} false; then :
29396 $as_echo_n "(cached) " >&6
29397 else
29398 ac_check_lib_save_LIBS=$LIBS
29399 LIBS="-lm $LIBS"
29400 if test x$gcc_no_link = xyes; then
29401 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29404 /* end confdefs.h. */
29406 /* Override any GCC internal prototype to avoid an error.
29407 Use char because int might match the return type of a GCC
29408 builtin and then its argument prototype would still apply. */
29409 #ifdef __cplusplus
29410 extern "C"
29411 #endif
29412 char sin ();
29414 main ()
29416 return sin ();
29418 return 0;
29420 _ACEOF
29421 if ac_fn_c_try_link "$LINENO"; then :
29422 ac_cv_lib_m_sin=yes
29423 else
29424 ac_cv_lib_m_sin=no
29426 rm -f core conftest.err conftest.$ac_objext \
29427 conftest$ac_exeext conftest.$ac_ext
29428 LIBS=$ac_check_lib_save_LIBS
29430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
29431 $as_echo "$ac_cv_lib_m_sin" >&6; }
29432 if test "x$ac_cv_lib_m_sin" = xyes; then :
29433 libm="-lm"
29436 ac_save_LIBS="$LIBS"
29437 LIBS="$LIBS $libm"
29441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
29442 $as_echo_n "checking for isinf declaration... " >&6; }
29443 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
29444 if ${glibcxx_cv_func_isinf_use+:} false; then :
29445 $as_echo_n "(cached) " >&6
29446 else
29449 ac_ext=cpp
29450 ac_cpp='$CXXCPP $CPPFLAGS'
29451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29456 /* end confdefs.h. */
29457 #include <math.h>
29458 #ifdef HAVE_IEEEFP_H
29459 #include <ieeefp.h>
29460 #endif
29463 main ()
29465 isinf(0);
29467 return 0;
29469 _ACEOF
29470 if ac_fn_cxx_try_compile "$LINENO"; then :
29471 glibcxx_cv_func_isinf_use=yes
29472 else
29473 glibcxx_cv_func_isinf_use=no
29475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29476 ac_ext=c
29477 ac_cpp='$CPP $CPPFLAGS'
29478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
29487 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
29489 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
29490 for ac_func in isinf
29491 do :
29492 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
29493 if test "x$ac_cv_func_isinf" = xyes; then :
29494 cat >>confdefs.h <<_ACEOF
29495 #define HAVE_ISINF 1
29496 _ACEOF
29499 done
29501 else
29503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
29504 $as_echo_n "checking for _isinf declaration... " >&6; }
29505 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
29506 if ${glibcxx_cv_func__isinf_use+:} false; then :
29507 $as_echo_n "(cached) " >&6
29508 else
29511 ac_ext=cpp
29512 ac_cpp='$CXXCPP $CPPFLAGS'
29513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29518 /* end confdefs.h. */
29519 #include <math.h>
29520 #ifdef HAVE_IEEEFP_H
29521 #include <ieeefp.h>
29522 #endif
29525 main ()
29527 _isinf(0);
29529 return 0;
29531 _ACEOF
29532 if ac_fn_cxx_try_compile "$LINENO"; then :
29533 glibcxx_cv_func__isinf_use=yes
29534 else
29535 glibcxx_cv_func__isinf_use=no
29537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29538 ac_ext=c
29539 ac_cpp='$CPP $CPPFLAGS'
29540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
29549 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
29551 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
29552 for ac_func in _isinf
29553 do :
29554 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
29555 if test "x$ac_cv_func__isinf" = xyes; then :
29556 cat >>confdefs.h <<_ACEOF
29557 #define HAVE__ISINF 1
29558 _ACEOF
29561 done
29570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
29571 $as_echo_n "checking for isnan declaration... " >&6; }
29572 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
29573 if ${glibcxx_cv_func_isnan_use+:} false; then :
29574 $as_echo_n "(cached) " >&6
29575 else
29578 ac_ext=cpp
29579 ac_cpp='$CXXCPP $CPPFLAGS'
29580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29585 /* end confdefs.h. */
29586 #include <math.h>
29587 #ifdef HAVE_IEEEFP_H
29588 #include <ieeefp.h>
29589 #endif
29592 main ()
29594 isnan(0);
29596 return 0;
29598 _ACEOF
29599 if ac_fn_cxx_try_compile "$LINENO"; then :
29600 glibcxx_cv_func_isnan_use=yes
29601 else
29602 glibcxx_cv_func_isnan_use=no
29604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29605 ac_ext=c
29606 ac_cpp='$CPP $CPPFLAGS'
29607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
29616 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
29618 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
29619 for ac_func in isnan
29620 do :
29621 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
29622 if test "x$ac_cv_func_isnan" = xyes; then :
29623 cat >>confdefs.h <<_ACEOF
29624 #define HAVE_ISNAN 1
29625 _ACEOF
29628 done
29630 else
29632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
29633 $as_echo_n "checking for _isnan declaration... " >&6; }
29634 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
29635 if ${glibcxx_cv_func__isnan_use+:} false; then :
29636 $as_echo_n "(cached) " >&6
29637 else
29640 ac_ext=cpp
29641 ac_cpp='$CXXCPP $CPPFLAGS'
29642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29647 /* end confdefs.h. */
29648 #include <math.h>
29649 #ifdef HAVE_IEEEFP_H
29650 #include <ieeefp.h>
29651 #endif
29654 main ()
29656 _isnan(0);
29658 return 0;
29660 _ACEOF
29661 if ac_fn_cxx_try_compile "$LINENO"; then :
29662 glibcxx_cv_func__isnan_use=yes
29663 else
29664 glibcxx_cv_func__isnan_use=no
29666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29667 ac_ext=c
29668 ac_cpp='$CPP $CPPFLAGS'
29669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
29678 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
29680 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
29681 for ac_func in _isnan
29682 do :
29683 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
29684 if test "x$ac_cv_func__isnan" = xyes; then :
29685 cat >>confdefs.h <<_ACEOF
29686 #define HAVE__ISNAN 1
29687 _ACEOF
29690 done
29699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
29700 $as_echo_n "checking for finite declaration... " >&6; }
29701 if test x${glibcxx_cv_func_finite_use+set} != xset; then
29702 if ${glibcxx_cv_func_finite_use+:} false; then :
29703 $as_echo_n "(cached) " >&6
29704 else
29707 ac_ext=cpp
29708 ac_cpp='$CXXCPP $CPPFLAGS'
29709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29714 /* end confdefs.h. */
29715 #include <math.h>
29716 #ifdef HAVE_IEEEFP_H
29717 #include <ieeefp.h>
29718 #endif
29721 main ()
29723 finite(0);
29725 return 0;
29727 _ACEOF
29728 if ac_fn_cxx_try_compile "$LINENO"; then :
29729 glibcxx_cv_func_finite_use=yes
29730 else
29731 glibcxx_cv_func_finite_use=no
29733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29734 ac_ext=c
29735 ac_cpp='$CPP $CPPFLAGS'
29736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
29745 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
29747 if test x$glibcxx_cv_func_finite_use = x"yes"; then
29748 for ac_func in finite
29749 do :
29750 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
29751 if test "x$ac_cv_func_finite" = xyes; then :
29752 cat >>confdefs.h <<_ACEOF
29753 #define HAVE_FINITE 1
29754 _ACEOF
29757 done
29759 else
29761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
29762 $as_echo_n "checking for _finite declaration... " >&6; }
29763 if test x${glibcxx_cv_func__finite_use+set} != xset; then
29764 if ${glibcxx_cv_func__finite_use+:} false; then :
29765 $as_echo_n "(cached) " >&6
29766 else
29769 ac_ext=cpp
29770 ac_cpp='$CXXCPP $CPPFLAGS'
29771 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29772 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29773 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29776 /* end confdefs.h. */
29777 #include <math.h>
29778 #ifdef HAVE_IEEEFP_H
29779 #include <ieeefp.h>
29780 #endif
29783 main ()
29785 _finite(0);
29787 return 0;
29789 _ACEOF
29790 if ac_fn_cxx_try_compile "$LINENO"; then :
29791 glibcxx_cv_func__finite_use=yes
29792 else
29793 glibcxx_cv_func__finite_use=no
29795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29796 ac_ext=c
29797 ac_cpp='$CPP $CPPFLAGS'
29798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
29807 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
29809 if test x$glibcxx_cv_func__finite_use = x"yes"; then
29810 for ac_func in _finite
29811 do :
29812 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
29813 if test "x$ac_cv_func__finite" = xyes; then :
29814 cat >>confdefs.h <<_ACEOF
29815 #define HAVE__FINITE 1
29816 _ACEOF
29819 done
29828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
29829 $as_echo_n "checking for sincos declaration... " >&6; }
29830 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
29831 if ${glibcxx_cv_func_sincos_use+:} false; then :
29832 $as_echo_n "(cached) " >&6
29833 else
29836 ac_ext=cpp
29837 ac_cpp='$CXXCPP $CPPFLAGS'
29838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29843 /* end confdefs.h. */
29844 #include <math.h>
29846 main ()
29848 sincos(0, 0, 0);
29850 return 0;
29852 _ACEOF
29853 if ac_fn_cxx_try_compile "$LINENO"; then :
29854 glibcxx_cv_func_sincos_use=yes
29855 else
29856 glibcxx_cv_func_sincos_use=no
29858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29859 ac_ext=c
29860 ac_cpp='$CPP $CPPFLAGS'
29861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
29870 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
29872 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
29873 for ac_func in sincos
29874 do :
29875 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
29876 if test "x$ac_cv_func_sincos" = xyes; then :
29877 cat >>confdefs.h <<_ACEOF
29878 #define HAVE_SINCOS 1
29879 _ACEOF
29882 done
29884 else
29886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
29887 $as_echo_n "checking for _sincos declaration... " >&6; }
29888 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
29889 if ${glibcxx_cv_func__sincos_use+:} false; then :
29890 $as_echo_n "(cached) " >&6
29891 else
29894 ac_ext=cpp
29895 ac_cpp='$CXXCPP $CPPFLAGS'
29896 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29897 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29898 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29901 /* end confdefs.h. */
29902 #include <math.h>
29904 main ()
29906 _sincos(0, 0, 0);
29908 return 0;
29910 _ACEOF
29911 if ac_fn_cxx_try_compile "$LINENO"; then :
29912 glibcxx_cv_func__sincos_use=yes
29913 else
29914 glibcxx_cv_func__sincos_use=no
29916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29917 ac_ext=c
29918 ac_cpp='$CPP $CPPFLAGS'
29919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
29928 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
29930 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
29931 for ac_func in _sincos
29932 do :
29933 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
29934 if test "x$ac_cv_func__sincos" = xyes; then :
29935 cat >>confdefs.h <<_ACEOF
29936 #define HAVE__SINCOS 1
29937 _ACEOF
29940 done
29949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
29950 $as_echo_n "checking for fpclass declaration... " >&6; }
29951 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
29952 if ${glibcxx_cv_func_fpclass_use+:} false; then :
29953 $as_echo_n "(cached) " >&6
29954 else
29957 ac_ext=cpp
29958 ac_cpp='$CXXCPP $CPPFLAGS'
29959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29964 /* end confdefs.h. */
29965 #include <math.h>
29966 #ifdef HAVE_IEEEFP_H
29967 #include <ieeefp.h>
29968 #endif
29971 main ()
29973 fpclass(0);
29975 return 0;
29977 _ACEOF
29978 if ac_fn_cxx_try_compile "$LINENO"; then :
29979 glibcxx_cv_func_fpclass_use=yes
29980 else
29981 glibcxx_cv_func_fpclass_use=no
29983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29984 ac_ext=c
29985 ac_cpp='$CPP $CPPFLAGS'
29986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
29995 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
29997 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
29998 for ac_func in fpclass
29999 do :
30000 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
30001 if test "x$ac_cv_func_fpclass" = xyes; then :
30002 cat >>confdefs.h <<_ACEOF
30003 #define HAVE_FPCLASS 1
30004 _ACEOF
30007 done
30009 else
30011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
30012 $as_echo_n "checking for _fpclass declaration... " >&6; }
30013 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
30014 if ${glibcxx_cv_func__fpclass_use+:} false; then :
30015 $as_echo_n "(cached) " >&6
30016 else
30019 ac_ext=cpp
30020 ac_cpp='$CXXCPP $CPPFLAGS'
30021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30026 /* end confdefs.h. */
30027 #include <math.h>
30028 #ifdef HAVE_IEEEFP_H
30029 #include <ieeefp.h>
30030 #endif
30033 main ()
30035 _fpclass(0);
30037 return 0;
30039 _ACEOF
30040 if ac_fn_cxx_try_compile "$LINENO"; then :
30041 glibcxx_cv_func__fpclass_use=yes
30042 else
30043 glibcxx_cv_func__fpclass_use=no
30045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30046 ac_ext=c
30047 ac_cpp='$CPP $CPPFLAGS'
30048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
30057 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
30059 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
30060 for ac_func in _fpclass
30061 do :
30062 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
30063 if test "x$ac_cv_func__fpclass" = xyes; then :
30064 cat >>confdefs.h <<_ACEOF
30065 #define HAVE__FPCLASS 1
30066 _ACEOF
30069 done
30078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
30079 $as_echo_n "checking for qfpclass declaration... " >&6; }
30080 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
30081 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
30082 $as_echo_n "(cached) " >&6
30083 else
30086 ac_ext=cpp
30087 ac_cpp='$CXXCPP $CPPFLAGS'
30088 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30089 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30090 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30093 /* end confdefs.h. */
30094 #include <math.h>
30095 #ifdef HAVE_IEEEFP_H
30096 #include <ieeefp.h>
30097 #endif
30100 main ()
30102 qfpclass(0);
30104 return 0;
30106 _ACEOF
30107 if ac_fn_cxx_try_compile "$LINENO"; then :
30108 glibcxx_cv_func_qfpclass_use=yes
30109 else
30110 glibcxx_cv_func_qfpclass_use=no
30112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30113 ac_ext=c
30114 ac_cpp='$CPP $CPPFLAGS'
30115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
30124 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
30126 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
30127 for ac_func in qfpclass
30128 do :
30129 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
30130 if test "x$ac_cv_func_qfpclass" = xyes; then :
30131 cat >>confdefs.h <<_ACEOF
30132 #define HAVE_QFPCLASS 1
30133 _ACEOF
30136 done
30138 else
30140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
30141 $as_echo_n "checking for _qfpclass declaration... " >&6; }
30142 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
30143 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
30144 $as_echo_n "(cached) " >&6
30145 else
30148 ac_ext=cpp
30149 ac_cpp='$CXXCPP $CPPFLAGS'
30150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30155 /* end confdefs.h. */
30156 #include <math.h>
30157 #ifdef HAVE_IEEEFP_H
30158 #include <ieeefp.h>
30159 #endif
30162 main ()
30164 _qfpclass(0);
30166 return 0;
30168 _ACEOF
30169 if ac_fn_cxx_try_compile "$LINENO"; then :
30170 glibcxx_cv_func__qfpclass_use=yes
30171 else
30172 glibcxx_cv_func__qfpclass_use=no
30174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30175 ac_ext=c
30176 ac_cpp='$CPP $CPPFLAGS'
30177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
30186 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
30188 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
30189 for ac_func in _qfpclass
30190 do :
30191 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
30192 if test "x$ac_cv_func__qfpclass" = xyes; then :
30193 cat >>confdefs.h <<_ACEOF
30194 #define HAVE__QFPCLASS 1
30195 _ACEOF
30198 done
30207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
30208 $as_echo_n "checking for hypot declaration... " >&6; }
30209 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
30210 if ${glibcxx_cv_func_hypot_use+:} false; then :
30211 $as_echo_n "(cached) " >&6
30212 else
30215 ac_ext=cpp
30216 ac_cpp='$CXXCPP $CPPFLAGS'
30217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30222 /* end confdefs.h. */
30223 #include <math.h>
30225 main ()
30227 hypot(0, 0);
30229 return 0;
30231 _ACEOF
30232 if ac_fn_cxx_try_compile "$LINENO"; then :
30233 glibcxx_cv_func_hypot_use=yes
30234 else
30235 glibcxx_cv_func_hypot_use=no
30237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30238 ac_ext=c
30239 ac_cpp='$CPP $CPPFLAGS'
30240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
30249 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
30251 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
30252 for ac_func in hypot
30253 do :
30254 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
30255 if test "x$ac_cv_func_hypot" = xyes; then :
30256 cat >>confdefs.h <<_ACEOF
30257 #define HAVE_HYPOT 1
30258 _ACEOF
30261 done
30263 else
30265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
30266 $as_echo_n "checking for _hypot declaration... " >&6; }
30267 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
30268 if ${glibcxx_cv_func__hypot_use+:} false; then :
30269 $as_echo_n "(cached) " >&6
30270 else
30273 ac_ext=cpp
30274 ac_cpp='$CXXCPP $CPPFLAGS'
30275 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30276 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30277 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30280 /* end confdefs.h. */
30281 #include <math.h>
30283 main ()
30285 _hypot(0, 0);
30287 return 0;
30289 _ACEOF
30290 if ac_fn_cxx_try_compile "$LINENO"; then :
30291 glibcxx_cv_func__hypot_use=yes
30292 else
30293 glibcxx_cv_func__hypot_use=no
30295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30296 ac_ext=c
30297 ac_cpp='$CPP $CPPFLAGS'
30298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
30307 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
30309 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
30310 for ac_func in _hypot
30311 do :
30312 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
30313 if test "x$ac_cv_func__hypot" = xyes; then :
30314 cat >>confdefs.h <<_ACEOF
30315 #define HAVE__HYPOT 1
30316 _ACEOF
30319 done
30328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
30329 $as_echo_n "checking for float trig functions... " >&6; }
30330 if ${glibcxx_cv_func_float_trig_use+:} false; then :
30331 $as_echo_n "(cached) " >&6
30332 else
30335 ac_ext=cpp
30336 ac_cpp='$CXXCPP $CPPFLAGS'
30337 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30338 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30339 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30342 /* end confdefs.h. */
30343 #include <math.h>
30345 main ()
30347 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
30349 return 0;
30351 _ACEOF
30352 if ac_fn_cxx_try_compile "$LINENO"; then :
30353 glibcxx_cv_func_float_trig_use=yes
30354 else
30355 glibcxx_cv_func_float_trig_use=no
30357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30358 ac_ext=c
30359 ac_cpp='$CPP $CPPFLAGS'
30360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
30367 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
30368 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
30369 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
30370 do :
30371 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30372 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30373 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
30374 cat >>confdefs.h <<_ACEOF
30375 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30376 _ACEOF
30379 done
30381 else
30382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
30383 $as_echo_n "checking for _float trig functions... " >&6; }
30384 if ${glibcxx_cv_func__float_trig_use+:} false; then :
30385 $as_echo_n "(cached) " >&6
30386 else
30389 ac_ext=cpp
30390 ac_cpp='$CXXCPP $CPPFLAGS'
30391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30396 /* end confdefs.h. */
30397 #include <math.h>
30399 main ()
30401 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
30403 return 0;
30405 _ACEOF
30406 if ac_fn_cxx_try_compile "$LINENO"; then :
30407 glibcxx_cv_func__float_trig_use=yes
30408 else
30409 glibcxx_cv_func__float_trig_use=no
30411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30412 ac_ext=c
30413 ac_cpp='$CPP $CPPFLAGS'
30414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
30421 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
30422 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
30423 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
30424 do :
30425 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30426 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30427 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
30428 cat >>confdefs.h <<_ACEOF
30429 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30430 _ACEOF
30433 done
30442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
30443 $as_echo_n "checking for float round functions... " >&6; }
30444 if ${glibcxx_cv_func_float_round_use+:} false; then :
30445 $as_echo_n "(cached) " >&6
30446 else
30449 ac_ext=cpp
30450 ac_cpp='$CXXCPP $CPPFLAGS'
30451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30456 /* end confdefs.h. */
30457 #include <math.h>
30459 main ()
30461 ceilf (0); floorf (0);
30463 return 0;
30465 _ACEOF
30466 if ac_fn_cxx_try_compile "$LINENO"; then :
30467 glibcxx_cv_func_float_round_use=yes
30468 else
30469 glibcxx_cv_func_float_round_use=no
30471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30472 ac_ext=c
30473 ac_cpp='$CPP $CPPFLAGS'
30474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
30481 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
30482 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
30483 for ac_func in ceilf floorf
30484 do :
30485 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30486 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30487 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
30488 cat >>confdefs.h <<_ACEOF
30489 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30490 _ACEOF
30493 done
30495 else
30496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
30497 $as_echo_n "checking for _float round functions... " >&6; }
30498 if ${glibcxx_cv_func__float_round_use+:} false; then :
30499 $as_echo_n "(cached) " >&6
30500 else
30503 ac_ext=cpp
30504 ac_cpp='$CXXCPP $CPPFLAGS'
30505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30510 /* end confdefs.h. */
30511 #include <math.h>
30513 main ()
30515 _ceilf (0); _floorf (0);
30517 return 0;
30519 _ACEOF
30520 if ac_fn_cxx_try_compile "$LINENO"; then :
30521 glibcxx_cv_func__float_round_use=yes
30522 else
30523 glibcxx_cv_func__float_round_use=no
30525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30526 ac_ext=c
30527 ac_cpp='$CPP $CPPFLAGS'
30528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
30535 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
30536 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
30537 for ac_func in _ceilf _floorf
30538 do :
30539 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30540 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30541 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
30542 cat >>confdefs.h <<_ACEOF
30543 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30544 _ACEOF
30547 done
30557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
30558 $as_echo_n "checking for expf declaration... " >&6; }
30559 if test x${glibcxx_cv_func_expf_use+set} != xset; then
30560 if ${glibcxx_cv_func_expf_use+:} false; then :
30561 $as_echo_n "(cached) " >&6
30562 else
30565 ac_ext=cpp
30566 ac_cpp='$CXXCPP $CPPFLAGS'
30567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30572 /* end confdefs.h. */
30573 #include <math.h>
30574 #ifdef HAVE_IEEEFP_H
30575 #include <ieeefp.h>
30576 #endif
30579 main ()
30581 expf(0);
30583 return 0;
30585 _ACEOF
30586 if ac_fn_cxx_try_compile "$LINENO"; then :
30587 glibcxx_cv_func_expf_use=yes
30588 else
30589 glibcxx_cv_func_expf_use=no
30591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30592 ac_ext=c
30593 ac_cpp='$CPP $CPPFLAGS'
30594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
30603 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
30605 if test x$glibcxx_cv_func_expf_use = x"yes"; then
30606 for ac_func in expf
30607 do :
30608 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
30609 if test "x$ac_cv_func_expf" = xyes; then :
30610 cat >>confdefs.h <<_ACEOF
30611 #define HAVE_EXPF 1
30612 _ACEOF
30615 done
30617 else
30619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
30620 $as_echo_n "checking for _expf declaration... " >&6; }
30621 if test x${glibcxx_cv_func__expf_use+set} != xset; then
30622 if ${glibcxx_cv_func__expf_use+:} false; then :
30623 $as_echo_n "(cached) " >&6
30624 else
30627 ac_ext=cpp
30628 ac_cpp='$CXXCPP $CPPFLAGS'
30629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30634 /* end confdefs.h. */
30635 #include <math.h>
30636 #ifdef HAVE_IEEEFP_H
30637 #include <ieeefp.h>
30638 #endif
30641 main ()
30643 _expf(0);
30645 return 0;
30647 _ACEOF
30648 if ac_fn_cxx_try_compile "$LINENO"; then :
30649 glibcxx_cv_func__expf_use=yes
30650 else
30651 glibcxx_cv_func__expf_use=no
30653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30654 ac_ext=c
30655 ac_cpp='$CPP $CPPFLAGS'
30656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
30665 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
30667 if test x$glibcxx_cv_func__expf_use = x"yes"; then
30668 for ac_func in _expf
30669 do :
30670 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
30671 if test "x$ac_cv_func__expf" = xyes; then :
30672 cat >>confdefs.h <<_ACEOF
30673 #define HAVE__EXPF 1
30674 _ACEOF
30677 done
30686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
30687 $as_echo_n "checking for isnanf declaration... " >&6; }
30688 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
30689 if ${glibcxx_cv_func_isnanf_use+:} false; then :
30690 $as_echo_n "(cached) " >&6
30691 else
30694 ac_ext=cpp
30695 ac_cpp='$CXXCPP $CPPFLAGS'
30696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30701 /* end confdefs.h. */
30702 #include <math.h>
30703 #ifdef HAVE_IEEEFP_H
30704 #include <ieeefp.h>
30705 #endif
30708 main ()
30710 isnanf(0);
30712 return 0;
30714 _ACEOF
30715 if ac_fn_cxx_try_compile "$LINENO"; then :
30716 glibcxx_cv_func_isnanf_use=yes
30717 else
30718 glibcxx_cv_func_isnanf_use=no
30720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30721 ac_ext=c
30722 ac_cpp='$CPP $CPPFLAGS'
30723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
30732 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
30734 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
30735 for ac_func in isnanf
30736 do :
30737 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
30738 if test "x$ac_cv_func_isnanf" = xyes; then :
30739 cat >>confdefs.h <<_ACEOF
30740 #define HAVE_ISNANF 1
30741 _ACEOF
30744 done
30746 else
30748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
30749 $as_echo_n "checking for _isnanf declaration... " >&6; }
30750 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
30751 if ${glibcxx_cv_func__isnanf_use+:} false; then :
30752 $as_echo_n "(cached) " >&6
30753 else
30756 ac_ext=cpp
30757 ac_cpp='$CXXCPP $CPPFLAGS'
30758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30763 /* end confdefs.h. */
30764 #include <math.h>
30765 #ifdef HAVE_IEEEFP_H
30766 #include <ieeefp.h>
30767 #endif
30770 main ()
30772 _isnanf(0);
30774 return 0;
30776 _ACEOF
30777 if ac_fn_cxx_try_compile "$LINENO"; then :
30778 glibcxx_cv_func__isnanf_use=yes
30779 else
30780 glibcxx_cv_func__isnanf_use=no
30782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30783 ac_ext=c
30784 ac_cpp='$CPP $CPPFLAGS'
30785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
30794 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
30796 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
30797 for ac_func in _isnanf
30798 do :
30799 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
30800 if test "x$ac_cv_func__isnanf" = xyes; then :
30801 cat >>confdefs.h <<_ACEOF
30802 #define HAVE__ISNANF 1
30803 _ACEOF
30806 done
30815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
30816 $as_echo_n "checking for isinff declaration... " >&6; }
30817 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
30818 if ${glibcxx_cv_func_isinff_use+:} false; then :
30819 $as_echo_n "(cached) " >&6
30820 else
30823 ac_ext=cpp
30824 ac_cpp='$CXXCPP $CPPFLAGS'
30825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30830 /* end confdefs.h. */
30831 #include <math.h>
30832 #ifdef HAVE_IEEEFP_H
30833 #include <ieeefp.h>
30834 #endif
30837 main ()
30839 isinff(0);
30841 return 0;
30843 _ACEOF
30844 if ac_fn_cxx_try_compile "$LINENO"; then :
30845 glibcxx_cv_func_isinff_use=yes
30846 else
30847 glibcxx_cv_func_isinff_use=no
30849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30850 ac_ext=c
30851 ac_cpp='$CPP $CPPFLAGS'
30852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
30861 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
30863 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
30864 for ac_func in isinff
30865 do :
30866 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
30867 if test "x$ac_cv_func_isinff" = xyes; then :
30868 cat >>confdefs.h <<_ACEOF
30869 #define HAVE_ISINFF 1
30870 _ACEOF
30873 done
30875 else
30877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
30878 $as_echo_n "checking for _isinff declaration... " >&6; }
30879 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
30880 if ${glibcxx_cv_func__isinff_use+:} false; then :
30881 $as_echo_n "(cached) " >&6
30882 else
30885 ac_ext=cpp
30886 ac_cpp='$CXXCPP $CPPFLAGS'
30887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30892 /* end confdefs.h. */
30893 #include <math.h>
30894 #ifdef HAVE_IEEEFP_H
30895 #include <ieeefp.h>
30896 #endif
30899 main ()
30901 _isinff(0);
30903 return 0;
30905 _ACEOF
30906 if ac_fn_cxx_try_compile "$LINENO"; then :
30907 glibcxx_cv_func__isinff_use=yes
30908 else
30909 glibcxx_cv_func__isinff_use=no
30911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30912 ac_ext=c
30913 ac_cpp='$CPP $CPPFLAGS'
30914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
30923 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
30925 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
30926 for ac_func in _isinff
30927 do :
30928 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
30929 if test "x$ac_cv_func__isinff" = xyes; then :
30930 cat >>confdefs.h <<_ACEOF
30931 #define HAVE__ISINFF 1
30932 _ACEOF
30935 done
30944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
30945 $as_echo_n "checking for atan2f declaration... " >&6; }
30946 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
30947 if ${glibcxx_cv_func_atan2f_use+:} false; then :
30948 $as_echo_n "(cached) " >&6
30949 else
30952 ac_ext=cpp
30953 ac_cpp='$CXXCPP $CPPFLAGS'
30954 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30955 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30956 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30959 /* end confdefs.h. */
30960 #include <math.h>
30962 main ()
30964 atan2f(0, 0);
30966 return 0;
30968 _ACEOF
30969 if ac_fn_cxx_try_compile "$LINENO"; then :
30970 glibcxx_cv_func_atan2f_use=yes
30971 else
30972 glibcxx_cv_func_atan2f_use=no
30974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30975 ac_ext=c
30976 ac_cpp='$CPP $CPPFLAGS'
30977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
30986 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
30988 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
30989 for ac_func in atan2f
30990 do :
30991 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
30992 if test "x$ac_cv_func_atan2f" = xyes; then :
30993 cat >>confdefs.h <<_ACEOF
30994 #define HAVE_ATAN2F 1
30995 _ACEOF
30998 done
31000 else
31002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
31003 $as_echo_n "checking for _atan2f declaration... " >&6; }
31004 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
31005 if ${glibcxx_cv_func__atan2f_use+:} false; then :
31006 $as_echo_n "(cached) " >&6
31007 else
31010 ac_ext=cpp
31011 ac_cpp='$CXXCPP $CPPFLAGS'
31012 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31013 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31014 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31017 /* end confdefs.h. */
31018 #include <math.h>
31020 main ()
31022 _atan2f(0, 0);
31024 return 0;
31026 _ACEOF
31027 if ac_fn_cxx_try_compile "$LINENO"; then :
31028 glibcxx_cv_func__atan2f_use=yes
31029 else
31030 glibcxx_cv_func__atan2f_use=no
31032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31033 ac_ext=c
31034 ac_cpp='$CPP $CPPFLAGS'
31035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
31044 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
31046 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
31047 for ac_func in _atan2f
31048 do :
31049 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
31050 if test "x$ac_cv_func__atan2f" = xyes; then :
31051 cat >>confdefs.h <<_ACEOF
31052 #define HAVE__ATAN2F 1
31053 _ACEOF
31056 done
31065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
31066 $as_echo_n "checking for fabsf declaration... " >&6; }
31067 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
31068 if ${glibcxx_cv_func_fabsf_use+:} false; then :
31069 $as_echo_n "(cached) " >&6
31070 else
31073 ac_ext=cpp
31074 ac_cpp='$CXXCPP $CPPFLAGS'
31075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31080 /* end confdefs.h. */
31081 #include <math.h>
31082 #ifdef HAVE_IEEEFP_H
31083 #include <ieeefp.h>
31084 #endif
31087 main ()
31089 fabsf(0);
31091 return 0;
31093 _ACEOF
31094 if ac_fn_cxx_try_compile "$LINENO"; then :
31095 glibcxx_cv_func_fabsf_use=yes
31096 else
31097 glibcxx_cv_func_fabsf_use=no
31099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31100 ac_ext=c
31101 ac_cpp='$CPP $CPPFLAGS'
31102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
31111 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
31113 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
31114 for ac_func in fabsf
31115 do :
31116 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
31117 if test "x$ac_cv_func_fabsf" = xyes; then :
31118 cat >>confdefs.h <<_ACEOF
31119 #define HAVE_FABSF 1
31120 _ACEOF
31123 done
31125 else
31127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
31128 $as_echo_n "checking for _fabsf declaration... " >&6; }
31129 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
31130 if ${glibcxx_cv_func__fabsf_use+:} false; then :
31131 $as_echo_n "(cached) " >&6
31132 else
31135 ac_ext=cpp
31136 ac_cpp='$CXXCPP $CPPFLAGS'
31137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31142 /* end confdefs.h. */
31143 #include <math.h>
31144 #ifdef HAVE_IEEEFP_H
31145 #include <ieeefp.h>
31146 #endif
31149 main ()
31151 _fabsf(0);
31153 return 0;
31155 _ACEOF
31156 if ac_fn_cxx_try_compile "$LINENO"; then :
31157 glibcxx_cv_func__fabsf_use=yes
31158 else
31159 glibcxx_cv_func__fabsf_use=no
31161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31162 ac_ext=c
31163 ac_cpp='$CPP $CPPFLAGS'
31164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
31173 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
31175 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
31176 for ac_func in _fabsf
31177 do :
31178 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
31179 if test "x$ac_cv_func__fabsf" = xyes; then :
31180 cat >>confdefs.h <<_ACEOF
31181 #define HAVE__FABSF 1
31182 _ACEOF
31185 done
31194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
31195 $as_echo_n "checking for fmodf declaration... " >&6; }
31196 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
31197 if ${glibcxx_cv_func_fmodf_use+:} false; then :
31198 $as_echo_n "(cached) " >&6
31199 else
31202 ac_ext=cpp
31203 ac_cpp='$CXXCPP $CPPFLAGS'
31204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31209 /* end confdefs.h. */
31210 #include <math.h>
31212 main ()
31214 fmodf(0, 0);
31216 return 0;
31218 _ACEOF
31219 if ac_fn_cxx_try_compile "$LINENO"; then :
31220 glibcxx_cv_func_fmodf_use=yes
31221 else
31222 glibcxx_cv_func_fmodf_use=no
31224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31225 ac_ext=c
31226 ac_cpp='$CPP $CPPFLAGS'
31227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
31236 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
31238 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
31239 for ac_func in fmodf
31240 do :
31241 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
31242 if test "x$ac_cv_func_fmodf" = xyes; then :
31243 cat >>confdefs.h <<_ACEOF
31244 #define HAVE_FMODF 1
31245 _ACEOF
31248 done
31250 else
31252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
31253 $as_echo_n "checking for _fmodf declaration... " >&6; }
31254 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
31255 if ${glibcxx_cv_func__fmodf_use+:} false; then :
31256 $as_echo_n "(cached) " >&6
31257 else
31260 ac_ext=cpp
31261 ac_cpp='$CXXCPP $CPPFLAGS'
31262 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31263 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31264 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31267 /* end confdefs.h. */
31268 #include <math.h>
31270 main ()
31272 _fmodf(0, 0);
31274 return 0;
31276 _ACEOF
31277 if ac_fn_cxx_try_compile "$LINENO"; then :
31278 glibcxx_cv_func__fmodf_use=yes
31279 else
31280 glibcxx_cv_func__fmodf_use=no
31282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31283 ac_ext=c
31284 ac_cpp='$CPP $CPPFLAGS'
31285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31286 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
31294 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
31296 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
31297 for ac_func in _fmodf
31298 do :
31299 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
31300 if test "x$ac_cv_func__fmodf" = xyes; then :
31301 cat >>confdefs.h <<_ACEOF
31302 #define HAVE__FMODF 1
31303 _ACEOF
31306 done
31315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
31316 $as_echo_n "checking for frexpf declaration... " >&6; }
31317 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
31318 if ${glibcxx_cv_func_frexpf_use+:} false; then :
31319 $as_echo_n "(cached) " >&6
31320 else
31323 ac_ext=cpp
31324 ac_cpp='$CXXCPP $CPPFLAGS'
31325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31330 /* end confdefs.h. */
31331 #include <math.h>
31333 main ()
31335 frexpf(0, 0);
31337 return 0;
31339 _ACEOF
31340 if ac_fn_cxx_try_compile "$LINENO"; then :
31341 glibcxx_cv_func_frexpf_use=yes
31342 else
31343 glibcxx_cv_func_frexpf_use=no
31345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31346 ac_ext=c
31347 ac_cpp='$CPP $CPPFLAGS'
31348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
31357 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
31359 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
31360 for ac_func in frexpf
31361 do :
31362 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
31363 if test "x$ac_cv_func_frexpf" = xyes; then :
31364 cat >>confdefs.h <<_ACEOF
31365 #define HAVE_FREXPF 1
31366 _ACEOF
31369 done
31371 else
31373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
31374 $as_echo_n "checking for _frexpf declaration... " >&6; }
31375 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
31376 if ${glibcxx_cv_func__frexpf_use+:} false; then :
31377 $as_echo_n "(cached) " >&6
31378 else
31381 ac_ext=cpp
31382 ac_cpp='$CXXCPP $CPPFLAGS'
31383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31388 /* end confdefs.h. */
31389 #include <math.h>
31391 main ()
31393 _frexpf(0, 0);
31395 return 0;
31397 _ACEOF
31398 if ac_fn_cxx_try_compile "$LINENO"; then :
31399 glibcxx_cv_func__frexpf_use=yes
31400 else
31401 glibcxx_cv_func__frexpf_use=no
31403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31404 ac_ext=c
31405 ac_cpp='$CPP $CPPFLAGS'
31406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
31415 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
31417 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
31418 for ac_func in _frexpf
31419 do :
31420 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
31421 if test "x$ac_cv_func__frexpf" = xyes; then :
31422 cat >>confdefs.h <<_ACEOF
31423 #define HAVE__FREXPF 1
31424 _ACEOF
31427 done
31436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
31437 $as_echo_n "checking for hypotf declaration... " >&6; }
31438 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
31439 if ${glibcxx_cv_func_hypotf_use+:} false; then :
31440 $as_echo_n "(cached) " >&6
31441 else
31444 ac_ext=cpp
31445 ac_cpp='$CXXCPP $CPPFLAGS'
31446 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31447 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31448 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31451 /* end confdefs.h. */
31452 #include <math.h>
31454 main ()
31456 hypotf(0, 0);
31458 return 0;
31460 _ACEOF
31461 if ac_fn_cxx_try_compile "$LINENO"; then :
31462 glibcxx_cv_func_hypotf_use=yes
31463 else
31464 glibcxx_cv_func_hypotf_use=no
31466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31467 ac_ext=c
31468 ac_cpp='$CPP $CPPFLAGS'
31469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
31478 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
31480 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
31481 for ac_func in hypotf
31482 do :
31483 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
31484 if test "x$ac_cv_func_hypotf" = xyes; then :
31485 cat >>confdefs.h <<_ACEOF
31486 #define HAVE_HYPOTF 1
31487 _ACEOF
31490 done
31492 else
31494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
31495 $as_echo_n "checking for _hypotf declaration... " >&6; }
31496 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
31497 if ${glibcxx_cv_func__hypotf_use+:} false; then :
31498 $as_echo_n "(cached) " >&6
31499 else
31502 ac_ext=cpp
31503 ac_cpp='$CXXCPP $CPPFLAGS'
31504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31509 /* end confdefs.h. */
31510 #include <math.h>
31512 main ()
31514 _hypotf(0, 0);
31516 return 0;
31518 _ACEOF
31519 if ac_fn_cxx_try_compile "$LINENO"; then :
31520 glibcxx_cv_func__hypotf_use=yes
31521 else
31522 glibcxx_cv_func__hypotf_use=no
31524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31525 ac_ext=c
31526 ac_cpp='$CPP $CPPFLAGS'
31527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
31536 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
31538 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
31539 for ac_func in _hypotf
31540 do :
31541 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
31542 if test "x$ac_cv_func__hypotf" = xyes; then :
31543 cat >>confdefs.h <<_ACEOF
31544 #define HAVE__HYPOTF 1
31545 _ACEOF
31548 done
31557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
31558 $as_echo_n "checking for ldexpf declaration... " >&6; }
31559 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
31560 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
31561 $as_echo_n "(cached) " >&6
31562 else
31565 ac_ext=cpp
31566 ac_cpp='$CXXCPP $CPPFLAGS'
31567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31572 /* end confdefs.h. */
31573 #include <math.h>
31575 main ()
31577 ldexpf(0, 0);
31579 return 0;
31581 _ACEOF
31582 if ac_fn_cxx_try_compile "$LINENO"; then :
31583 glibcxx_cv_func_ldexpf_use=yes
31584 else
31585 glibcxx_cv_func_ldexpf_use=no
31587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31588 ac_ext=c
31589 ac_cpp='$CPP $CPPFLAGS'
31590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
31599 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
31601 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
31602 for ac_func in ldexpf
31603 do :
31604 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
31605 if test "x$ac_cv_func_ldexpf" = xyes; then :
31606 cat >>confdefs.h <<_ACEOF
31607 #define HAVE_LDEXPF 1
31608 _ACEOF
31611 done
31613 else
31615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
31616 $as_echo_n "checking for _ldexpf declaration... " >&6; }
31617 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
31618 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
31619 $as_echo_n "(cached) " >&6
31620 else
31623 ac_ext=cpp
31624 ac_cpp='$CXXCPP $CPPFLAGS'
31625 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31626 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31627 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31630 /* end confdefs.h. */
31631 #include <math.h>
31633 main ()
31635 _ldexpf(0, 0);
31637 return 0;
31639 _ACEOF
31640 if ac_fn_cxx_try_compile "$LINENO"; then :
31641 glibcxx_cv_func__ldexpf_use=yes
31642 else
31643 glibcxx_cv_func__ldexpf_use=no
31645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31646 ac_ext=c
31647 ac_cpp='$CPP $CPPFLAGS'
31648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
31657 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
31659 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
31660 for ac_func in _ldexpf
31661 do :
31662 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
31663 if test "x$ac_cv_func__ldexpf" = xyes; then :
31664 cat >>confdefs.h <<_ACEOF
31665 #define HAVE__LDEXPF 1
31666 _ACEOF
31669 done
31678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
31679 $as_echo_n "checking for logf declaration... " >&6; }
31680 if test x${glibcxx_cv_func_logf_use+set} != xset; then
31681 if ${glibcxx_cv_func_logf_use+:} false; then :
31682 $as_echo_n "(cached) " >&6
31683 else
31686 ac_ext=cpp
31687 ac_cpp='$CXXCPP $CPPFLAGS'
31688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31693 /* end confdefs.h. */
31694 #include <math.h>
31695 #ifdef HAVE_IEEEFP_H
31696 #include <ieeefp.h>
31697 #endif
31700 main ()
31702 logf(0);
31704 return 0;
31706 _ACEOF
31707 if ac_fn_cxx_try_compile "$LINENO"; then :
31708 glibcxx_cv_func_logf_use=yes
31709 else
31710 glibcxx_cv_func_logf_use=no
31712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31713 ac_ext=c
31714 ac_cpp='$CPP $CPPFLAGS'
31715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
31724 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
31726 if test x$glibcxx_cv_func_logf_use = x"yes"; then
31727 for ac_func in logf
31728 do :
31729 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
31730 if test "x$ac_cv_func_logf" = xyes; then :
31731 cat >>confdefs.h <<_ACEOF
31732 #define HAVE_LOGF 1
31733 _ACEOF
31736 done
31738 else
31740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
31741 $as_echo_n "checking for _logf declaration... " >&6; }
31742 if test x${glibcxx_cv_func__logf_use+set} != xset; then
31743 if ${glibcxx_cv_func__logf_use+:} false; then :
31744 $as_echo_n "(cached) " >&6
31745 else
31748 ac_ext=cpp
31749 ac_cpp='$CXXCPP $CPPFLAGS'
31750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31755 /* end confdefs.h. */
31756 #include <math.h>
31757 #ifdef HAVE_IEEEFP_H
31758 #include <ieeefp.h>
31759 #endif
31762 main ()
31764 _logf(0);
31766 return 0;
31768 _ACEOF
31769 if ac_fn_cxx_try_compile "$LINENO"; then :
31770 glibcxx_cv_func__logf_use=yes
31771 else
31772 glibcxx_cv_func__logf_use=no
31774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31775 ac_ext=c
31776 ac_cpp='$CPP $CPPFLAGS'
31777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
31786 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
31788 if test x$glibcxx_cv_func__logf_use = x"yes"; then
31789 for ac_func in _logf
31790 do :
31791 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
31792 if test "x$ac_cv_func__logf" = xyes; then :
31793 cat >>confdefs.h <<_ACEOF
31794 #define HAVE__LOGF 1
31795 _ACEOF
31798 done
31807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
31808 $as_echo_n "checking for log10f declaration... " >&6; }
31809 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
31810 if ${glibcxx_cv_func_log10f_use+:} false; then :
31811 $as_echo_n "(cached) " >&6
31812 else
31815 ac_ext=cpp
31816 ac_cpp='$CXXCPP $CPPFLAGS'
31817 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31818 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31819 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31822 /* end confdefs.h. */
31823 #include <math.h>
31824 #ifdef HAVE_IEEEFP_H
31825 #include <ieeefp.h>
31826 #endif
31829 main ()
31831 log10f(0);
31833 return 0;
31835 _ACEOF
31836 if ac_fn_cxx_try_compile "$LINENO"; then :
31837 glibcxx_cv_func_log10f_use=yes
31838 else
31839 glibcxx_cv_func_log10f_use=no
31841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31842 ac_ext=c
31843 ac_cpp='$CPP $CPPFLAGS'
31844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
31853 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
31855 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
31856 for ac_func in log10f
31857 do :
31858 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
31859 if test "x$ac_cv_func_log10f" = xyes; then :
31860 cat >>confdefs.h <<_ACEOF
31861 #define HAVE_LOG10F 1
31862 _ACEOF
31865 done
31867 else
31869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
31870 $as_echo_n "checking for _log10f declaration... " >&6; }
31871 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
31872 if ${glibcxx_cv_func__log10f_use+:} false; then :
31873 $as_echo_n "(cached) " >&6
31874 else
31877 ac_ext=cpp
31878 ac_cpp='$CXXCPP $CPPFLAGS'
31879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31884 /* end confdefs.h. */
31885 #include <math.h>
31886 #ifdef HAVE_IEEEFP_H
31887 #include <ieeefp.h>
31888 #endif
31891 main ()
31893 _log10f(0);
31895 return 0;
31897 _ACEOF
31898 if ac_fn_cxx_try_compile "$LINENO"; then :
31899 glibcxx_cv_func__log10f_use=yes
31900 else
31901 glibcxx_cv_func__log10f_use=no
31903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31904 ac_ext=c
31905 ac_cpp='$CPP $CPPFLAGS'
31906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
31915 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
31917 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
31918 for ac_func in _log10f
31919 do :
31920 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
31921 if test "x$ac_cv_func__log10f" = xyes; then :
31922 cat >>confdefs.h <<_ACEOF
31923 #define HAVE__LOG10F 1
31924 _ACEOF
31927 done
31936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
31937 $as_echo_n "checking for modff declaration... " >&6; }
31938 if test x${glibcxx_cv_func_modff_use+set} != xset; then
31939 if ${glibcxx_cv_func_modff_use+:} false; then :
31940 $as_echo_n "(cached) " >&6
31941 else
31944 ac_ext=cpp
31945 ac_cpp='$CXXCPP $CPPFLAGS'
31946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31951 /* end confdefs.h. */
31952 #include <math.h>
31954 main ()
31956 modff(0, 0);
31958 return 0;
31960 _ACEOF
31961 if ac_fn_cxx_try_compile "$LINENO"; then :
31962 glibcxx_cv_func_modff_use=yes
31963 else
31964 glibcxx_cv_func_modff_use=no
31966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31967 ac_ext=c
31968 ac_cpp='$CPP $CPPFLAGS'
31969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
31978 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
31980 if test x$glibcxx_cv_func_modff_use = x"yes"; then
31981 for ac_func in modff
31982 do :
31983 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
31984 if test "x$ac_cv_func_modff" = xyes; then :
31985 cat >>confdefs.h <<_ACEOF
31986 #define HAVE_MODFF 1
31987 _ACEOF
31990 done
31992 else
31994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
31995 $as_echo_n "checking for _modff declaration... " >&6; }
31996 if test x${glibcxx_cv_func__modff_use+set} != xset; then
31997 if ${glibcxx_cv_func__modff_use+:} false; then :
31998 $as_echo_n "(cached) " >&6
31999 else
32002 ac_ext=cpp
32003 ac_cpp='$CXXCPP $CPPFLAGS'
32004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32009 /* end confdefs.h. */
32010 #include <math.h>
32012 main ()
32014 _modff(0, 0);
32016 return 0;
32018 _ACEOF
32019 if ac_fn_cxx_try_compile "$LINENO"; then :
32020 glibcxx_cv_func__modff_use=yes
32021 else
32022 glibcxx_cv_func__modff_use=no
32024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32025 ac_ext=c
32026 ac_cpp='$CPP $CPPFLAGS'
32027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
32036 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
32038 if test x$glibcxx_cv_func__modff_use = x"yes"; then
32039 for ac_func in _modff
32040 do :
32041 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
32042 if test "x$ac_cv_func__modff" = xyes; then :
32043 cat >>confdefs.h <<_ACEOF
32044 #define HAVE__MODFF 1
32045 _ACEOF
32048 done
32057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
32058 $as_echo_n "checking for modf declaration... " >&6; }
32059 if test x${glibcxx_cv_func_modf_use+set} != xset; then
32060 if ${glibcxx_cv_func_modf_use+:} false; then :
32061 $as_echo_n "(cached) " >&6
32062 else
32065 ac_ext=cpp
32066 ac_cpp='$CXXCPP $CPPFLAGS'
32067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32072 /* end confdefs.h. */
32073 #include <math.h>
32075 main ()
32077 modf(0, 0);
32079 return 0;
32081 _ACEOF
32082 if ac_fn_cxx_try_compile "$LINENO"; then :
32083 glibcxx_cv_func_modf_use=yes
32084 else
32085 glibcxx_cv_func_modf_use=no
32087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32088 ac_ext=c
32089 ac_cpp='$CPP $CPPFLAGS'
32090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
32099 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
32101 if test x$glibcxx_cv_func_modf_use = x"yes"; then
32102 for ac_func in modf
32103 do :
32104 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
32105 if test "x$ac_cv_func_modf" = xyes; then :
32106 cat >>confdefs.h <<_ACEOF
32107 #define HAVE_MODF 1
32108 _ACEOF
32111 done
32113 else
32115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
32116 $as_echo_n "checking for _modf declaration... " >&6; }
32117 if test x${glibcxx_cv_func__modf_use+set} != xset; then
32118 if ${glibcxx_cv_func__modf_use+:} false; then :
32119 $as_echo_n "(cached) " >&6
32120 else
32123 ac_ext=cpp
32124 ac_cpp='$CXXCPP $CPPFLAGS'
32125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32130 /* end confdefs.h. */
32131 #include <math.h>
32133 main ()
32135 _modf(0, 0);
32137 return 0;
32139 _ACEOF
32140 if ac_fn_cxx_try_compile "$LINENO"; then :
32141 glibcxx_cv_func__modf_use=yes
32142 else
32143 glibcxx_cv_func__modf_use=no
32145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32146 ac_ext=c
32147 ac_cpp='$CPP $CPPFLAGS'
32148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
32157 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
32159 if test x$glibcxx_cv_func__modf_use = x"yes"; then
32160 for ac_func in _modf
32161 do :
32162 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
32163 if test "x$ac_cv_func__modf" = xyes; then :
32164 cat >>confdefs.h <<_ACEOF
32165 #define HAVE__MODF 1
32166 _ACEOF
32169 done
32178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
32179 $as_echo_n "checking for powf declaration... " >&6; }
32180 if test x${glibcxx_cv_func_powf_use+set} != xset; then
32181 if ${glibcxx_cv_func_powf_use+:} false; then :
32182 $as_echo_n "(cached) " >&6
32183 else
32186 ac_ext=cpp
32187 ac_cpp='$CXXCPP $CPPFLAGS'
32188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32193 /* end confdefs.h. */
32194 #include <math.h>
32196 main ()
32198 powf(0, 0);
32200 return 0;
32202 _ACEOF
32203 if ac_fn_cxx_try_compile "$LINENO"; then :
32204 glibcxx_cv_func_powf_use=yes
32205 else
32206 glibcxx_cv_func_powf_use=no
32208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32209 ac_ext=c
32210 ac_cpp='$CPP $CPPFLAGS'
32211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
32220 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
32222 if test x$glibcxx_cv_func_powf_use = x"yes"; then
32223 for ac_func in powf
32224 do :
32225 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
32226 if test "x$ac_cv_func_powf" = xyes; then :
32227 cat >>confdefs.h <<_ACEOF
32228 #define HAVE_POWF 1
32229 _ACEOF
32232 done
32234 else
32236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
32237 $as_echo_n "checking for _powf declaration... " >&6; }
32238 if test x${glibcxx_cv_func__powf_use+set} != xset; then
32239 if ${glibcxx_cv_func__powf_use+:} false; then :
32240 $as_echo_n "(cached) " >&6
32241 else
32244 ac_ext=cpp
32245 ac_cpp='$CXXCPP $CPPFLAGS'
32246 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32247 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32248 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32251 /* end confdefs.h. */
32252 #include <math.h>
32254 main ()
32256 _powf(0, 0);
32258 return 0;
32260 _ACEOF
32261 if ac_fn_cxx_try_compile "$LINENO"; then :
32262 glibcxx_cv_func__powf_use=yes
32263 else
32264 glibcxx_cv_func__powf_use=no
32266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32267 ac_ext=c
32268 ac_cpp='$CPP $CPPFLAGS'
32269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
32278 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
32280 if test x$glibcxx_cv_func__powf_use = x"yes"; then
32281 for ac_func in _powf
32282 do :
32283 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
32284 if test "x$ac_cv_func__powf" = xyes; then :
32285 cat >>confdefs.h <<_ACEOF
32286 #define HAVE__POWF 1
32287 _ACEOF
32290 done
32299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
32300 $as_echo_n "checking for sqrtf declaration... " >&6; }
32301 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
32302 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
32303 $as_echo_n "(cached) " >&6
32304 else
32307 ac_ext=cpp
32308 ac_cpp='$CXXCPP $CPPFLAGS'
32309 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32310 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32311 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32314 /* end confdefs.h. */
32315 #include <math.h>
32316 #ifdef HAVE_IEEEFP_H
32317 #include <ieeefp.h>
32318 #endif
32321 main ()
32323 sqrtf(0);
32325 return 0;
32327 _ACEOF
32328 if ac_fn_cxx_try_compile "$LINENO"; then :
32329 glibcxx_cv_func_sqrtf_use=yes
32330 else
32331 glibcxx_cv_func_sqrtf_use=no
32333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32334 ac_ext=c
32335 ac_cpp='$CPP $CPPFLAGS'
32336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
32345 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
32347 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
32348 for ac_func in sqrtf
32349 do :
32350 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
32351 if test "x$ac_cv_func_sqrtf" = xyes; then :
32352 cat >>confdefs.h <<_ACEOF
32353 #define HAVE_SQRTF 1
32354 _ACEOF
32357 done
32359 else
32361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
32362 $as_echo_n "checking for _sqrtf declaration... " >&6; }
32363 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
32364 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
32365 $as_echo_n "(cached) " >&6
32366 else
32369 ac_ext=cpp
32370 ac_cpp='$CXXCPP $CPPFLAGS'
32371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32376 /* end confdefs.h. */
32377 #include <math.h>
32378 #ifdef HAVE_IEEEFP_H
32379 #include <ieeefp.h>
32380 #endif
32383 main ()
32385 _sqrtf(0);
32387 return 0;
32389 _ACEOF
32390 if ac_fn_cxx_try_compile "$LINENO"; then :
32391 glibcxx_cv_func__sqrtf_use=yes
32392 else
32393 glibcxx_cv_func__sqrtf_use=no
32395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32396 ac_ext=c
32397 ac_cpp='$CPP $CPPFLAGS'
32398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
32407 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
32409 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
32410 for ac_func in _sqrtf
32411 do :
32412 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
32413 if test "x$ac_cv_func__sqrtf" = xyes; then :
32414 cat >>confdefs.h <<_ACEOF
32415 #define HAVE__SQRTF 1
32416 _ACEOF
32419 done
32428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
32429 $as_echo_n "checking for sincosf declaration... " >&6; }
32430 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
32431 if ${glibcxx_cv_func_sincosf_use+:} false; then :
32432 $as_echo_n "(cached) " >&6
32433 else
32436 ac_ext=cpp
32437 ac_cpp='$CXXCPP $CPPFLAGS'
32438 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32439 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32440 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32443 /* end confdefs.h. */
32444 #include <math.h>
32446 main ()
32448 sincosf(0, 0, 0);
32450 return 0;
32452 _ACEOF
32453 if ac_fn_cxx_try_compile "$LINENO"; then :
32454 glibcxx_cv_func_sincosf_use=yes
32455 else
32456 glibcxx_cv_func_sincosf_use=no
32458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32459 ac_ext=c
32460 ac_cpp='$CPP $CPPFLAGS'
32461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
32470 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
32472 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
32473 for ac_func in sincosf
32474 do :
32475 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
32476 if test "x$ac_cv_func_sincosf" = xyes; then :
32477 cat >>confdefs.h <<_ACEOF
32478 #define HAVE_SINCOSF 1
32479 _ACEOF
32482 done
32484 else
32486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
32487 $as_echo_n "checking for _sincosf declaration... " >&6; }
32488 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
32489 if ${glibcxx_cv_func__sincosf_use+:} false; then :
32490 $as_echo_n "(cached) " >&6
32491 else
32494 ac_ext=cpp
32495 ac_cpp='$CXXCPP $CPPFLAGS'
32496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32501 /* end confdefs.h. */
32502 #include <math.h>
32504 main ()
32506 _sincosf(0, 0, 0);
32508 return 0;
32510 _ACEOF
32511 if ac_fn_cxx_try_compile "$LINENO"; then :
32512 glibcxx_cv_func__sincosf_use=yes
32513 else
32514 glibcxx_cv_func__sincosf_use=no
32516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32517 ac_ext=c
32518 ac_cpp='$CPP $CPPFLAGS'
32519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
32528 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
32530 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
32531 for ac_func in _sincosf
32532 do :
32533 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
32534 if test "x$ac_cv_func__sincosf" = xyes; then :
32535 cat >>confdefs.h <<_ACEOF
32536 #define HAVE__SINCOSF 1
32537 _ACEOF
32540 done
32549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
32550 $as_echo_n "checking for finitef declaration... " >&6; }
32551 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
32552 if ${glibcxx_cv_func_finitef_use+:} false; then :
32553 $as_echo_n "(cached) " >&6
32554 else
32557 ac_ext=cpp
32558 ac_cpp='$CXXCPP $CPPFLAGS'
32559 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32560 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32561 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32564 /* end confdefs.h. */
32565 #include <math.h>
32566 #ifdef HAVE_IEEEFP_H
32567 #include <ieeefp.h>
32568 #endif
32571 main ()
32573 finitef(0);
32575 return 0;
32577 _ACEOF
32578 if ac_fn_cxx_try_compile "$LINENO"; then :
32579 glibcxx_cv_func_finitef_use=yes
32580 else
32581 glibcxx_cv_func_finitef_use=no
32583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32584 ac_ext=c
32585 ac_cpp='$CPP $CPPFLAGS'
32586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
32595 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
32597 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
32598 for ac_func in finitef
32599 do :
32600 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
32601 if test "x$ac_cv_func_finitef" = xyes; then :
32602 cat >>confdefs.h <<_ACEOF
32603 #define HAVE_FINITEF 1
32604 _ACEOF
32607 done
32609 else
32611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
32612 $as_echo_n "checking for _finitef declaration... " >&6; }
32613 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
32614 if ${glibcxx_cv_func__finitef_use+:} false; then :
32615 $as_echo_n "(cached) " >&6
32616 else
32619 ac_ext=cpp
32620 ac_cpp='$CXXCPP $CPPFLAGS'
32621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32626 /* end confdefs.h. */
32627 #include <math.h>
32628 #ifdef HAVE_IEEEFP_H
32629 #include <ieeefp.h>
32630 #endif
32633 main ()
32635 _finitef(0);
32637 return 0;
32639 _ACEOF
32640 if ac_fn_cxx_try_compile "$LINENO"; then :
32641 glibcxx_cv_func__finitef_use=yes
32642 else
32643 glibcxx_cv_func__finitef_use=no
32645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32646 ac_ext=c
32647 ac_cpp='$CPP $CPPFLAGS'
32648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
32657 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
32659 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
32660 for ac_func in _finitef
32661 do :
32662 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
32663 if test "x$ac_cv_func__finitef" = xyes; then :
32664 cat >>confdefs.h <<_ACEOF
32665 #define HAVE__FINITEF 1
32666 _ACEOF
32669 done
32678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
32679 $as_echo_n "checking for long double trig functions... " >&6; }
32680 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
32681 $as_echo_n "(cached) " >&6
32682 else
32685 ac_ext=cpp
32686 ac_cpp='$CXXCPP $CPPFLAGS'
32687 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32688 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32689 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32692 /* end confdefs.h. */
32693 #include <math.h>
32695 main ()
32697 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
32699 return 0;
32701 _ACEOF
32702 if ac_fn_cxx_try_compile "$LINENO"; then :
32703 glibcxx_cv_func_long_double_trig_use=yes
32704 else
32705 glibcxx_cv_func_long_double_trig_use=no
32707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32708 ac_ext=c
32709 ac_cpp='$CPP $CPPFLAGS'
32710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
32717 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
32718 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
32719 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
32720 do :
32721 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32722 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32723 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
32724 cat >>confdefs.h <<_ACEOF
32725 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32726 _ACEOF
32729 done
32731 else
32732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
32733 $as_echo_n "checking for _long double trig functions... " >&6; }
32734 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
32735 $as_echo_n "(cached) " >&6
32736 else
32739 ac_ext=cpp
32740 ac_cpp='$CXXCPP $CPPFLAGS'
32741 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32742 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32743 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32746 /* end confdefs.h. */
32747 #include <math.h>
32749 main ()
32751 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
32753 return 0;
32755 _ACEOF
32756 if ac_fn_cxx_try_compile "$LINENO"; then :
32757 glibcxx_cv_func__long_double_trig_use=yes
32758 else
32759 glibcxx_cv_func__long_double_trig_use=no
32761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32762 ac_ext=c
32763 ac_cpp='$CPP $CPPFLAGS'
32764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
32771 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
32772 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
32773 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
32774 do :
32775 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32776 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32777 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
32778 cat >>confdefs.h <<_ACEOF
32779 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32780 _ACEOF
32783 done
32792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
32793 $as_echo_n "checking for long double round functions... " >&6; }
32794 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
32795 $as_echo_n "(cached) " >&6
32796 else
32799 ac_ext=cpp
32800 ac_cpp='$CXXCPP $CPPFLAGS'
32801 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32802 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32803 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32806 /* end confdefs.h. */
32807 #include <math.h>
32809 main ()
32811 ceill (0); floorl (0);
32813 return 0;
32815 _ACEOF
32816 if ac_fn_cxx_try_compile "$LINENO"; then :
32817 glibcxx_cv_func_long_double_round_use=yes
32818 else
32819 glibcxx_cv_func_long_double_round_use=no
32821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32822 ac_ext=c
32823 ac_cpp='$CPP $CPPFLAGS'
32824 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32825 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32826 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
32831 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
32832 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
32833 for ac_func in ceill floorl
32834 do :
32835 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32836 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32837 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
32838 cat >>confdefs.h <<_ACEOF
32839 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32840 _ACEOF
32843 done
32845 else
32846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
32847 $as_echo_n "checking for _long double round functions... " >&6; }
32848 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
32849 $as_echo_n "(cached) " >&6
32850 else
32853 ac_ext=cpp
32854 ac_cpp='$CXXCPP $CPPFLAGS'
32855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32860 /* end confdefs.h. */
32861 #include <math.h>
32863 main ()
32865 _ceill (0); _floorl (0);
32867 return 0;
32869 _ACEOF
32870 if ac_fn_cxx_try_compile "$LINENO"; then :
32871 glibcxx_cv_func__long_double_round_use=yes
32872 else
32873 glibcxx_cv_func__long_double_round_use=no
32875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32876 ac_ext=c
32877 ac_cpp='$CPP $CPPFLAGS'
32878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
32885 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
32886 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
32887 for ac_func in _ceill _floorl
32888 do :
32889 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32890 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32891 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
32892 cat >>confdefs.h <<_ACEOF
32893 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32894 _ACEOF
32897 done
32907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
32908 $as_echo_n "checking for isnanl declaration... " >&6; }
32909 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
32910 if ${glibcxx_cv_func_isnanl_use+:} false; then :
32911 $as_echo_n "(cached) " >&6
32912 else
32915 ac_ext=cpp
32916 ac_cpp='$CXXCPP $CPPFLAGS'
32917 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32918 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32919 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32922 /* end confdefs.h. */
32923 #include <math.h>
32924 #ifdef HAVE_IEEEFP_H
32925 #include <ieeefp.h>
32926 #endif
32929 main ()
32931 isnanl(0);
32933 return 0;
32935 _ACEOF
32936 if ac_fn_cxx_try_compile "$LINENO"; then :
32937 glibcxx_cv_func_isnanl_use=yes
32938 else
32939 glibcxx_cv_func_isnanl_use=no
32941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32942 ac_ext=c
32943 ac_cpp='$CPP $CPPFLAGS'
32944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
32953 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
32955 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
32956 for ac_func in isnanl
32957 do :
32958 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
32959 if test "x$ac_cv_func_isnanl" = xyes; then :
32960 cat >>confdefs.h <<_ACEOF
32961 #define HAVE_ISNANL 1
32962 _ACEOF
32965 done
32967 else
32969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
32970 $as_echo_n "checking for _isnanl declaration... " >&6; }
32971 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
32972 if ${glibcxx_cv_func__isnanl_use+:} false; then :
32973 $as_echo_n "(cached) " >&6
32974 else
32977 ac_ext=cpp
32978 ac_cpp='$CXXCPP $CPPFLAGS'
32979 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32980 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32981 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32984 /* end confdefs.h. */
32985 #include <math.h>
32986 #ifdef HAVE_IEEEFP_H
32987 #include <ieeefp.h>
32988 #endif
32991 main ()
32993 _isnanl(0);
32995 return 0;
32997 _ACEOF
32998 if ac_fn_cxx_try_compile "$LINENO"; then :
32999 glibcxx_cv_func__isnanl_use=yes
33000 else
33001 glibcxx_cv_func__isnanl_use=no
33003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33004 ac_ext=c
33005 ac_cpp='$CPP $CPPFLAGS'
33006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
33015 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
33017 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
33018 for ac_func in _isnanl
33019 do :
33020 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
33021 if test "x$ac_cv_func__isnanl" = xyes; then :
33022 cat >>confdefs.h <<_ACEOF
33023 #define HAVE__ISNANL 1
33024 _ACEOF
33027 done
33036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
33037 $as_echo_n "checking for isinfl declaration... " >&6; }
33038 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
33039 if ${glibcxx_cv_func_isinfl_use+:} false; then :
33040 $as_echo_n "(cached) " >&6
33041 else
33044 ac_ext=cpp
33045 ac_cpp='$CXXCPP $CPPFLAGS'
33046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33051 /* end confdefs.h. */
33052 #include <math.h>
33053 #ifdef HAVE_IEEEFP_H
33054 #include <ieeefp.h>
33055 #endif
33058 main ()
33060 isinfl(0);
33062 return 0;
33064 _ACEOF
33065 if ac_fn_cxx_try_compile "$LINENO"; then :
33066 glibcxx_cv_func_isinfl_use=yes
33067 else
33068 glibcxx_cv_func_isinfl_use=no
33070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33071 ac_ext=c
33072 ac_cpp='$CPP $CPPFLAGS'
33073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
33082 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
33084 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
33085 for ac_func in isinfl
33086 do :
33087 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
33088 if test "x$ac_cv_func_isinfl" = xyes; then :
33089 cat >>confdefs.h <<_ACEOF
33090 #define HAVE_ISINFL 1
33091 _ACEOF
33094 done
33096 else
33098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
33099 $as_echo_n "checking for _isinfl declaration... " >&6; }
33100 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
33101 if ${glibcxx_cv_func__isinfl_use+:} false; then :
33102 $as_echo_n "(cached) " >&6
33103 else
33106 ac_ext=cpp
33107 ac_cpp='$CXXCPP $CPPFLAGS'
33108 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33109 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33110 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33113 /* end confdefs.h. */
33114 #include <math.h>
33115 #ifdef HAVE_IEEEFP_H
33116 #include <ieeefp.h>
33117 #endif
33120 main ()
33122 _isinfl(0);
33124 return 0;
33126 _ACEOF
33127 if ac_fn_cxx_try_compile "$LINENO"; then :
33128 glibcxx_cv_func__isinfl_use=yes
33129 else
33130 glibcxx_cv_func__isinfl_use=no
33132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33133 ac_ext=c
33134 ac_cpp='$CPP $CPPFLAGS'
33135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
33144 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
33146 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
33147 for ac_func in _isinfl
33148 do :
33149 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
33150 if test "x$ac_cv_func__isinfl" = xyes; then :
33151 cat >>confdefs.h <<_ACEOF
33152 #define HAVE__ISINFL 1
33153 _ACEOF
33156 done
33165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
33166 $as_echo_n "checking for atan2l declaration... " >&6; }
33167 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
33168 if ${glibcxx_cv_func_atan2l_use+:} false; then :
33169 $as_echo_n "(cached) " >&6
33170 else
33173 ac_ext=cpp
33174 ac_cpp='$CXXCPP $CPPFLAGS'
33175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33180 /* end confdefs.h. */
33181 #include <math.h>
33183 main ()
33185 atan2l(0, 0);
33187 return 0;
33189 _ACEOF
33190 if ac_fn_cxx_try_compile "$LINENO"; then :
33191 glibcxx_cv_func_atan2l_use=yes
33192 else
33193 glibcxx_cv_func_atan2l_use=no
33195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33196 ac_ext=c
33197 ac_cpp='$CPP $CPPFLAGS'
33198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
33207 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
33209 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
33210 for ac_func in atan2l
33211 do :
33212 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
33213 if test "x$ac_cv_func_atan2l" = xyes; then :
33214 cat >>confdefs.h <<_ACEOF
33215 #define HAVE_ATAN2L 1
33216 _ACEOF
33219 done
33221 else
33223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
33224 $as_echo_n "checking for _atan2l declaration... " >&6; }
33225 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
33226 if ${glibcxx_cv_func__atan2l_use+:} false; then :
33227 $as_echo_n "(cached) " >&6
33228 else
33231 ac_ext=cpp
33232 ac_cpp='$CXXCPP $CPPFLAGS'
33233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33238 /* end confdefs.h. */
33239 #include <math.h>
33241 main ()
33243 _atan2l(0, 0);
33245 return 0;
33247 _ACEOF
33248 if ac_fn_cxx_try_compile "$LINENO"; then :
33249 glibcxx_cv_func__atan2l_use=yes
33250 else
33251 glibcxx_cv_func__atan2l_use=no
33253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33254 ac_ext=c
33255 ac_cpp='$CPP $CPPFLAGS'
33256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
33265 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
33267 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
33268 for ac_func in _atan2l
33269 do :
33270 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
33271 if test "x$ac_cv_func__atan2l" = xyes; then :
33272 cat >>confdefs.h <<_ACEOF
33273 #define HAVE__ATAN2L 1
33274 _ACEOF
33277 done
33286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
33287 $as_echo_n "checking for expl declaration... " >&6; }
33288 if test x${glibcxx_cv_func_expl_use+set} != xset; then
33289 if ${glibcxx_cv_func_expl_use+:} false; then :
33290 $as_echo_n "(cached) " >&6
33291 else
33294 ac_ext=cpp
33295 ac_cpp='$CXXCPP $CPPFLAGS'
33296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33301 /* end confdefs.h. */
33302 #include <math.h>
33303 #ifdef HAVE_IEEEFP_H
33304 #include <ieeefp.h>
33305 #endif
33308 main ()
33310 expl(0);
33312 return 0;
33314 _ACEOF
33315 if ac_fn_cxx_try_compile "$LINENO"; then :
33316 glibcxx_cv_func_expl_use=yes
33317 else
33318 glibcxx_cv_func_expl_use=no
33320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33321 ac_ext=c
33322 ac_cpp='$CPP $CPPFLAGS'
33323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
33332 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
33334 if test x$glibcxx_cv_func_expl_use = x"yes"; then
33335 for ac_func in expl
33336 do :
33337 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
33338 if test "x$ac_cv_func_expl" = xyes; then :
33339 cat >>confdefs.h <<_ACEOF
33340 #define HAVE_EXPL 1
33341 _ACEOF
33344 done
33346 else
33348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
33349 $as_echo_n "checking for _expl declaration... " >&6; }
33350 if test x${glibcxx_cv_func__expl_use+set} != xset; then
33351 if ${glibcxx_cv_func__expl_use+:} false; then :
33352 $as_echo_n "(cached) " >&6
33353 else
33356 ac_ext=cpp
33357 ac_cpp='$CXXCPP $CPPFLAGS'
33358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33359 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33363 /* end confdefs.h. */
33364 #include <math.h>
33365 #ifdef HAVE_IEEEFP_H
33366 #include <ieeefp.h>
33367 #endif
33370 main ()
33372 _expl(0);
33374 return 0;
33376 _ACEOF
33377 if ac_fn_cxx_try_compile "$LINENO"; then :
33378 glibcxx_cv_func__expl_use=yes
33379 else
33380 glibcxx_cv_func__expl_use=no
33382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33383 ac_ext=c
33384 ac_cpp='$CPP $CPPFLAGS'
33385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
33394 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
33396 if test x$glibcxx_cv_func__expl_use = x"yes"; then
33397 for ac_func in _expl
33398 do :
33399 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
33400 if test "x$ac_cv_func__expl" = xyes; then :
33401 cat >>confdefs.h <<_ACEOF
33402 #define HAVE__EXPL 1
33403 _ACEOF
33406 done
33415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
33416 $as_echo_n "checking for fabsl declaration... " >&6; }
33417 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
33418 if ${glibcxx_cv_func_fabsl_use+:} false; then :
33419 $as_echo_n "(cached) " >&6
33420 else
33423 ac_ext=cpp
33424 ac_cpp='$CXXCPP $CPPFLAGS'
33425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33430 /* end confdefs.h. */
33431 #include <math.h>
33432 #ifdef HAVE_IEEEFP_H
33433 #include <ieeefp.h>
33434 #endif
33437 main ()
33439 fabsl(0);
33441 return 0;
33443 _ACEOF
33444 if ac_fn_cxx_try_compile "$LINENO"; then :
33445 glibcxx_cv_func_fabsl_use=yes
33446 else
33447 glibcxx_cv_func_fabsl_use=no
33449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33450 ac_ext=c
33451 ac_cpp='$CPP $CPPFLAGS'
33452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
33461 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
33463 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
33464 for ac_func in fabsl
33465 do :
33466 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
33467 if test "x$ac_cv_func_fabsl" = xyes; then :
33468 cat >>confdefs.h <<_ACEOF
33469 #define HAVE_FABSL 1
33470 _ACEOF
33473 done
33475 else
33477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
33478 $as_echo_n "checking for _fabsl declaration... " >&6; }
33479 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
33480 if ${glibcxx_cv_func__fabsl_use+:} false; then :
33481 $as_echo_n "(cached) " >&6
33482 else
33485 ac_ext=cpp
33486 ac_cpp='$CXXCPP $CPPFLAGS'
33487 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33488 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33489 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33492 /* end confdefs.h. */
33493 #include <math.h>
33494 #ifdef HAVE_IEEEFP_H
33495 #include <ieeefp.h>
33496 #endif
33499 main ()
33501 _fabsl(0);
33503 return 0;
33505 _ACEOF
33506 if ac_fn_cxx_try_compile "$LINENO"; then :
33507 glibcxx_cv_func__fabsl_use=yes
33508 else
33509 glibcxx_cv_func__fabsl_use=no
33511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33512 ac_ext=c
33513 ac_cpp='$CPP $CPPFLAGS'
33514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
33523 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
33525 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
33526 for ac_func in _fabsl
33527 do :
33528 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
33529 if test "x$ac_cv_func__fabsl" = xyes; then :
33530 cat >>confdefs.h <<_ACEOF
33531 #define HAVE__FABSL 1
33532 _ACEOF
33535 done
33544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
33545 $as_echo_n "checking for fmodl declaration... " >&6; }
33546 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
33547 if ${glibcxx_cv_func_fmodl_use+:} false; then :
33548 $as_echo_n "(cached) " >&6
33549 else
33552 ac_ext=cpp
33553 ac_cpp='$CXXCPP $CPPFLAGS'
33554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33559 /* end confdefs.h. */
33560 #include <math.h>
33562 main ()
33564 fmodl(0, 0);
33566 return 0;
33568 _ACEOF
33569 if ac_fn_cxx_try_compile "$LINENO"; then :
33570 glibcxx_cv_func_fmodl_use=yes
33571 else
33572 glibcxx_cv_func_fmodl_use=no
33574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33575 ac_ext=c
33576 ac_cpp='$CPP $CPPFLAGS'
33577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
33586 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
33588 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
33589 for ac_func in fmodl
33590 do :
33591 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
33592 if test "x$ac_cv_func_fmodl" = xyes; then :
33593 cat >>confdefs.h <<_ACEOF
33594 #define HAVE_FMODL 1
33595 _ACEOF
33598 done
33600 else
33602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
33603 $as_echo_n "checking for _fmodl declaration... " >&6; }
33604 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
33605 if ${glibcxx_cv_func__fmodl_use+:} false; then :
33606 $as_echo_n "(cached) " >&6
33607 else
33610 ac_ext=cpp
33611 ac_cpp='$CXXCPP $CPPFLAGS'
33612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33617 /* end confdefs.h. */
33618 #include <math.h>
33620 main ()
33622 _fmodl(0, 0);
33624 return 0;
33626 _ACEOF
33627 if ac_fn_cxx_try_compile "$LINENO"; then :
33628 glibcxx_cv_func__fmodl_use=yes
33629 else
33630 glibcxx_cv_func__fmodl_use=no
33632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33633 ac_ext=c
33634 ac_cpp='$CPP $CPPFLAGS'
33635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
33644 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
33646 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
33647 for ac_func in _fmodl
33648 do :
33649 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
33650 if test "x$ac_cv_func__fmodl" = xyes; then :
33651 cat >>confdefs.h <<_ACEOF
33652 #define HAVE__FMODL 1
33653 _ACEOF
33656 done
33665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
33666 $as_echo_n "checking for frexpl declaration... " >&6; }
33667 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
33668 if ${glibcxx_cv_func_frexpl_use+:} false; then :
33669 $as_echo_n "(cached) " >&6
33670 else
33673 ac_ext=cpp
33674 ac_cpp='$CXXCPP $CPPFLAGS'
33675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33680 /* end confdefs.h. */
33681 #include <math.h>
33683 main ()
33685 frexpl(0, 0);
33687 return 0;
33689 _ACEOF
33690 if ac_fn_cxx_try_compile "$LINENO"; then :
33691 glibcxx_cv_func_frexpl_use=yes
33692 else
33693 glibcxx_cv_func_frexpl_use=no
33695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33696 ac_ext=c
33697 ac_cpp='$CPP $CPPFLAGS'
33698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
33707 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
33709 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
33710 for ac_func in frexpl
33711 do :
33712 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
33713 if test "x$ac_cv_func_frexpl" = xyes; then :
33714 cat >>confdefs.h <<_ACEOF
33715 #define HAVE_FREXPL 1
33716 _ACEOF
33719 done
33721 else
33723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
33724 $as_echo_n "checking for _frexpl declaration... " >&6; }
33725 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
33726 if ${glibcxx_cv_func__frexpl_use+:} false; then :
33727 $as_echo_n "(cached) " >&6
33728 else
33731 ac_ext=cpp
33732 ac_cpp='$CXXCPP $CPPFLAGS'
33733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33738 /* end confdefs.h. */
33739 #include <math.h>
33741 main ()
33743 _frexpl(0, 0);
33745 return 0;
33747 _ACEOF
33748 if ac_fn_cxx_try_compile "$LINENO"; then :
33749 glibcxx_cv_func__frexpl_use=yes
33750 else
33751 glibcxx_cv_func__frexpl_use=no
33753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33754 ac_ext=c
33755 ac_cpp='$CPP $CPPFLAGS'
33756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
33765 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
33767 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
33768 for ac_func in _frexpl
33769 do :
33770 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
33771 if test "x$ac_cv_func__frexpl" = xyes; then :
33772 cat >>confdefs.h <<_ACEOF
33773 #define HAVE__FREXPL 1
33774 _ACEOF
33777 done
33786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
33787 $as_echo_n "checking for hypotl declaration... " >&6; }
33788 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
33789 if ${glibcxx_cv_func_hypotl_use+:} false; then :
33790 $as_echo_n "(cached) " >&6
33791 else
33794 ac_ext=cpp
33795 ac_cpp='$CXXCPP $CPPFLAGS'
33796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33801 /* end confdefs.h. */
33802 #include <math.h>
33804 main ()
33806 hypotl(0, 0);
33808 return 0;
33810 _ACEOF
33811 if ac_fn_cxx_try_compile "$LINENO"; then :
33812 glibcxx_cv_func_hypotl_use=yes
33813 else
33814 glibcxx_cv_func_hypotl_use=no
33816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33817 ac_ext=c
33818 ac_cpp='$CPP $CPPFLAGS'
33819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
33828 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
33830 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
33831 for ac_func in hypotl
33832 do :
33833 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
33834 if test "x$ac_cv_func_hypotl" = xyes; then :
33835 cat >>confdefs.h <<_ACEOF
33836 #define HAVE_HYPOTL 1
33837 _ACEOF
33840 done
33842 else
33844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
33845 $as_echo_n "checking for _hypotl declaration... " >&6; }
33846 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
33847 if ${glibcxx_cv_func__hypotl_use+:} false; then :
33848 $as_echo_n "(cached) " >&6
33849 else
33852 ac_ext=cpp
33853 ac_cpp='$CXXCPP $CPPFLAGS'
33854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33859 /* end confdefs.h. */
33860 #include <math.h>
33862 main ()
33864 _hypotl(0, 0);
33866 return 0;
33868 _ACEOF
33869 if ac_fn_cxx_try_compile "$LINENO"; then :
33870 glibcxx_cv_func__hypotl_use=yes
33871 else
33872 glibcxx_cv_func__hypotl_use=no
33874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33875 ac_ext=c
33876 ac_cpp='$CPP $CPPFLAGS'
33877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
33886 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
33888 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
33889 for ac_func in _hypotl
33890 do :
33891 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
33892 if test "x$ac_cv_func__hypotl" = xyes; then :
33893 cat >>confdefs.h <<_ACEOF
33894 #define HAVE__HYPOTL 1
33895 _ACEOF
33898 done
33907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
33908 $as_echo_n "checking for ldexpl declaration... " >&6; }
33909 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
33910 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
33911 $as_echo_n "(cached) " >&6
33912 else
33915 ac_ext=cpp
33916 ac_cpp='$CXXCPP $CPPFLAGS'
33917 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33918 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33919 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33922 /* end confdefs.h. */
33923 #include <math.h>
33925 main ()
33927 ldexpl(0, 0);
33929 return 0;
33931 _ACEOF
33932 if ac_fn_cxx_try_compile "$LINENO"; then :
33933 glibcxx_cv_func_ldexpl_use=yes
33934 else
33935 glibcxx_cv_func_ldexpl_use=no
33937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33938 ac_ext=c
33939 ac_cpp='$CPP $CPPFLAGS'
33940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
33949 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
33951 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
33952 for ac_func in ldexpl
33953 do :
33954 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
33955 if test "x$ac_cv_func_ldexpl" = xyes; then :
33956 cat >>confdefs.h <<_ACEOF
33957 #define HAVE_LDEXPL 1
33958 _ACEOF
33961 done
33963 else
33965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
33966 $as_echo_n "checking for _ldexpl declaration... " >&6; }
33967 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
33968 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
33969 $as_echo_n "(cached) " >&6
33970 else
33973 ac_ext=cpp
33974 ac_cpp='$CXXCPP $CPPFLAGS'
33975 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33976 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33977 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33980 /* end confdefs.h. */
33981 #include <math.h>
33983 main ()
33985 _ldexpl(0, 0);
33987 return 0;
33989 _ACEOF
33990 if ac_fn_cxx_try_compile "$LINENO"; then :
33991 glibcxx_cv_func__ldexpl_use=yes
33992 else
33993 glibcxx_cv_func__ldexpl_use=no
33995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33996 ac_ext=c
33997 ac_cpp='$CPP $CPPFLAGS'
33998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
34007 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
34009 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
34010 for ac_func in _ldexpl
34011 do :
34012 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
34013 if test "x$ac_cv_func__ldexpl" = xyes; then :
34014 cat >>confdefs.h <<_ACEOF
34015 #define HAVE__LDEXPL 1
34016 _ACEOF
34019 done
34028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
34029 $as_echo_n "checking for logl declaration... " >&6; }
34030 if test x${glibcxx_cv_func_logl_use+set} != xset; then
34031 if ${glibcxx_cv_func_logl_use+:} false; then :
34032 $as_echo_n "(cached) " >&6
34033 else
34036 ac_ext=cpp
34037 ac_cpp='$CXXCPP $CPPFLAGS'
34038 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34039 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34040 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34043 /* end confdefs.h. */
34044 #include <math.h>
34045 #ifdef HAVE_IEEEFP_H
34046 #include <ieeefp.h>
34047 #endif
34050 main ()
34052 logl(0);
34054 return 0;
34056 _ACEOF
34057 if ac_fn_cxx_try_compile "$LINENO"; then :
34058 glibcxx_cv_func_logl_use=yes
34059 else
34060 glibcxx_cv_func_logl_use=no
34062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34063 ac_ext=c
34064 ac_cpp='$CPP $CPPFLAGS'
34065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
34074 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
34076 if test x$glibcxx_cv_func_logl_use = x"yes"; then
34077 for ac_func in logl
34078 do :
34079 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
34080 if test "x$ac_cv_func_logl" = xyes; then :
34081 cat >>confdefs.h <<_ACEOF
34082 #define HAVE_LOGL 1
34083 _ACEOF
34086 done
34088 else
34090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
34091 $as_echo_n "checking for _logl declaration... " >&6; }
34092 if test x${glibcxx_cv_func__logl_use+set} != xset; then
34093 if ${glibcxx_cv_func__logl_use+:} false; then :
34094 $as_echo_n "(cached) " >&6
34095 else
34098 ac_ext=cpp
34099 ac_cpp='$CXXCPP $CPPFLAGS'
34100 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34101 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34102 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34105 /* end confdefs.h. */
34106 #include <math.h>
34107 #ifdef HAVE_IEEEFP_H
34108 #include <ieeefp.h>
34109 #endif
34112 main ()
34114 _logl(0);
34116 return 0;
34118 _ACEOF
34119 if ac_fn_cxx_try_compile "$LINENO"; then :
34120 glibcxx_cv_func__logl_use=yes
34121 else
34122 glibcxx_cv_func__logl_use=no
34124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34125 ac_ext=c
34126 ac_cpp='$CPP $CPPFLAGS'
34127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
34136 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
34138 if test x$glibcxx_cv_func__logl_use = x"yes"; then
34139 for ac_func in _logl
34140 do :
34141 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
34142 if test "x$ac_cv_func__logl" = xyes; then :
34143 cat >>confdefs.h <<_ACEOF
34144 #define HAVE__LOGL 1
34145 _ACEOF
34148 done
34157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
34158 $as_echo_n "checking for log10l declaration... " >&6; }
34159 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
34160 if ${glibcxx_cv_func_log10l_use+:} false; then :
34161 $as_echo_n "(cached) " >&6
34162 else
34165 ac_ext=cpp
34166 ac_cpp='$CXXCPP $CPPFLAGS'
34167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34172 /* end confdefs.h. */
34173 #include <math.h>
34174 #ifdef HAVE_IEEEFP_H
34175 #include <ieeefp.h>
34176 #endif
34179 main ()
34181 log10l(0);
34183 return 0;
34185 _ACEOF
34186 if ac_fn_cxx_try_compile "$LINENO"; then :
34187 glibcxx_cv_func_log10l_use=yes
34188 else
34189 glibcxx_cv_func_log10l_use=no
34191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34192 ac_ext=c
34193 ac_cpp='$CPP $CPPFLAGS'
34194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
34203 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
34205 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
34206 for ac_func in log10l
34207 do :
34208 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
34209 if test "x$ac_cv_func_log10l" = xyes; then :
34210 cat >>confdefs.h <<_ACEOF
34211 #define HAVE_LOG10L 1
34212 _ACEOF
34215 done
34217 else
34219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
34220 $as_echo_n "checking for _log10l declaration... " >&6; }
34221 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
34222 if ${glibcxx_cv_func__log10l_use+:} false; then :
34223 $as_echo_n "(cached) " >&6
34224 else
34227 ac_ext=cpp
34228 ac_cpp='$CXXCPP $CPPFLAGS'
34229 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34230 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34231 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34234 /* end confdefs.h. */
34235 #include <math.h>
34236 #ifdef HAVE_IEEEFP_H
34237 #include <ieeefp.h>
34238 #endif
34241 main ()
34243 _log10l(0);
34245 return 0;
34247 _ACEOF
34248 if ac_fn_cxx_try_compile "$LINENO"; then :
34249 glibcxx_cv_func__log10l_use=yes
34250 else
34251 glibcxx_cv_func__log10l_use=no
34253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34254 ac_ext=c
34255 ac_cpp='$CPP $CPPFLAGS'
34256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
34265 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
34267 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
34268 for ac_func in _log10l
34269 do :
34270 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
34271 if test "x$ac_cv_func__log10l" = xyes; then :
34272 cat >>confdefs.h <<_ACEOF
34273 #define HAVE__LOG10L 1
34274 _ACEOF
34277 done
34286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
34287 $as_echo_n "checking for modfl declaration... " >&6; }
34288 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
34289 if ${glibcxx_cv_func_modfl_use+:} false; then :
34290 $as_echo_n "(cached) " >&6
34291 else
34294 ac_ext=cpp
34295 ac_cpp='$CXXCPP $CPPFLAGS'
34296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34301 /* end confdefs.h. */
34302 #include <math.h>
34304 main ()
34306 modfl(0, 0);
34308 return 0;
34310 _ACEOF
34311 if ac_fn_cxx_try_compile "$LINENO"; then :
34312 glibcxx_cv_func_modfl_use=yes
34313 else
34314 glibcxx_cv_func_modfl_use=no
34316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34317 ac_ext=c
34318 ac_cpp='$CPP $CPPFLAGS'
34319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
34328 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
34330 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
34331 for ac_func in modfl
34332 do :
34333 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
34334 if test "x$ac_cv_func_modfl" = xyes; then :
34335 cat >>confdefs.h <<_ACEOF
34336 #define HAVE_MODFL 1
34337 _ACEOF
34340 done
34342 else
34344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
34345 $as_echo_n "checking for _modfl declaration... " >&6; }
34346 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
34347 if ${glibcxx_cv_func__modfl_use+:} false; then :
34348 $as_echo_n "(cached) " >&6
34349 else
34352 ac_ext=cpp
34353 ac_cpp='$CXXCPP $CPPFLAGS'
34354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34359 /* end confdefs.h. */
34360 #include <math.h>
34362 main ()
34364 _modfl(0, 0);
34366 return 0;
34368 _ACEOF
34369 if ac_fn_cxx_try_compile "$LINENO"; then :
34370 glibcxx_cv_func__modfl_use=yes
34371 else
34372 glibcxx_cv_func__modfl_use=no
34374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34375 ac_ext=c
34376 ac_cpp='$CPP $CPPFLAGS'
34377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
34386 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
34388 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
34389 for ac_func in _modfl
34390 do :
34391 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
34392 if test "x$ac_cv_func__modfl" = xyes; then :
34393 cat >>confdefs.h <<_ACEOF
34394 #define HAVE__MODFL 1
34395 _ACEOF
34398 done
34407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
34408 $as_echo_n "checking for powl declaration... " >&6; }
34409 if test x${glibcxx_cv_func_powl_use+set} != xset; then
34410 if ${glibcxx_cv_func_powl_use+:} false; then :
34411 $as_echo_n "(cached) " >&6
34412 else
34415 ac_ext=cpp
34416 ac_cpp='$CXXCPP $CPPFLAGS'
34417 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34418 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34419 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34422 /* end confdefs.h. */
34423 #include <math.h>
34425 main ()
34427 powl(0, 0);
34429 return 0;
34431 _ACEOF
34432 if ac_fn_cxx_try_compile "$LINENO"; then :
34433 glibcxx_cv_func_powl_use=yes
34434 else
34435 glibcxx_cv_func_powl_use=no
34437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34438 ac_ext=c
34439 ac_cpp='$CPP $CPPFLAGS'
34440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
34449 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
34451 if test x$glibcxx_cv_func_powl_use = x"yes"; then
34452 for ac_func in powl
34453 do :
34454 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
34455 if test "x$ac_cv_func_powl" = xyes; then :
34456 cat >>confdefs.h <<_ACEOF
34457 #define HAVE_POWL 1
34458 _ACEOF
34461 done
34463 else
34465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
34466 $as_echo_n "checking for _powl declaration... " >&6; }
34467 if test x${glibcxx_cv_func__powl_use+set} != xset; then
34468 if ${glibcxx_cv_func__powl_use+:} false; then :
34469 $as_echo_n "(cached) " >&6
34470 else
34473 ac_ext=cpp
34474 ac_cpp='$CXXCPP $CPPFLAGS'
34475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34480 /* end confdefs.h. */
34481 #include <math.h>
34483 main ()
34485 _powl(0, 0);
34487 return 0;
34489 _ACEOF
34490 if ac_fn_cxx_try_compile "$LINENO"; then :
34491 glibcxx_cv_func__powl_use=yes
34492 else
34493 glibcxx_cv_func__powl_use=no
34495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34496 ac_ext=c
34497 ac_cpp='$CPP $CPPFLAGS'
34498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
34507 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
34509 if test x$glibcxx_cv_func__powl_use = x"yes"; then
34510 for ac_func in _powl
34511 do :
34512 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
34513 if test "x$ac_cv_func__powl" = xyes; then :
34514 cat >>confdefs.h <<_ACEOF
34515 #define HAVE__POWL 1
34516 _ACEOF
34519 done
34528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
34529 $as_echo_n "checking for sqrtl declaration... " >&6; }
34530 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
34531 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
34532 $as_echo_n "(cached) " >&6
34533 else
34536 ac_ext=cpp
34537 ac_cpp='$CXXCPP $CPPFLAGS'
34538 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34539 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34540 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34543 /* end confdefs.h. */
34544 #include <math.h>
34545 #ifdef HAVE_IEEEFP_H
34546 #include <ieeefp.h>
34547 #endif
34550 main ()
34552 sqrtl(0);
34554 return 0;
34556 _ACEOF
34557 if ac_fn_cxx_try_compile "$LINENO"; then :
34558 glibcxx_cv_func_sqrtl_use=yes
34559 else
34560 glibcxx_cv_func_sqrtl_use=no
34562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34563 ac_ext=c
34564 ac_cpp='$CPP $CPPFLAGS'
34565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
34574 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
34576 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
34577 for ac_func in sqrtl
34578 do :
34579 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
34580 if test "x$ac_cv_func_sqrtl" = xyes; then :
34581 cat >>confdefs.h <<_ACEOF
34582 #define HAVE_SQRTL 1
34583 _ACEOF
34586 done
34588 else
34590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
34591 $as_echo_n "checking for _sqrtl declaration... " >&6; }
34592 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
34593 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
34594 $as_echo_n "(cached) " >&6
34595 else
34598 ac_ext=cpp
34599 ac_cpp='$CXXCPP $CPPFLAGS'
34600 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34601 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34602 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34605 /* end confdefs.h. */
34606 #include <math.h>
34607 #ifdef HAVE_IEEEFP_H
34608 #include <ieeefp.h>
34609 #endif
34612 main ()
34614 _sqrtl(0);
34616 return 0;
34618 _ACEOF
34619 if ac_fn_cxx_try_compile "$LINENO"; then :
34620 glibcxx_cv_func__sqrtl_use=yes
34621 else
34622 glibcxx_cv_func__sqrtl_use=no
34624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34625 ac_ext=c
34626 ac_cpp='$CPP $CPPFLAGS'
34627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
34636 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
34638 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
34639 for ac_func in _sqrtl
34640 do :
34641 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
34642 if test "x$ac_cv_func__sqrtl" = xyes; then :
34643 cat >>confdefs.h <<_ACEOF
34644 #define HAVE__SQRTL 1
34645 _ACEOF
34648 done
34657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
34658 $as_echo_n "checking for sincosl declaration... " >&6; }
34659 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
34660 if ${glibcxx_cv_func_sincosl_use+:} false; then :
34661 $as_echo_n "(cached) " >&6
34662 else
34665 ac_ext=cpp
34666 ac_cpp='$CXXCPP $CPPFLAGS'
34667 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34668 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34669 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34672 /* end confdefs.h. */
34673 #include <math.h>
34675 main ()
34677 sincosl(0, 0, 0);
34679 return 0;
34681 _ACEOF
34682 if ac_fn_cxx_try_compile "$LINENO"; then :
34683 glibcxx_cv_func_sincosl_use=yes
34684 else
34685 glibcxx_cv_func_sincosl_use=no
34687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34688 ac_ext=c
34689 ac_cpp='$CPP $CPPFLAGS'
34690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
34699 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
34701 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
34702 for ac_func in sincosl
34703 do :
34704 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
34705 if test "x$ac_cv_func_sincosl" = xyes; then :
34706 cat >>confdefs.h <<_ACEOF
34707 #define HAVE_SINCOSL 1
34708 _ACEOF
34711 done
34713 else
34715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
34716 $as_echo_n "checking for _sincosl declaration... " >&6; }
34717 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
34718 if ${glibcxx_cv_func__sincosl_use+:} false; then :
34719 $as_echo_n "(cached) " >&6
34720 else
34723 ac_ext=cpp
34724 ac_cpp='$CXXCPP $CPPFLAGS'
34725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34730 /* end confdefs.h. */
34731 #include <math.h>
34733 main ()
34735 _sincosl(0, 0, 0);
34737 return 0;
34739 _ACEOF
34740 if ac_fn_cxx_try_compile "$LINENO"; then :
34741 glibcxx_cv_func__sincosl_use=yes
34742 else
34743 glibcxx_cv_func__sincosl_use=no
34745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34746 ac_ext=c
34747 ac_cpp='$CPP $CPPFLAGS'
34748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
34757 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
34759 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
34760 for ac_func in _sincosl
34761 do :
34762 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
34763 if test "x$ac_cv_func__sincosl" = xyes; then :
34764 cat >>confdefs.h <<_ACEOF
34765 #define HAVE__SINCOSL 1
34766 _ACEOF
34769 done
34778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
34779 $as_echo_n "checking for finitel declaration... " >&6; }
34780 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
34781 if ${glibcxx_cv_func_finitel_use+:} false; then :
34782 $as_echo_n "(cached) " >&6
34783 else
34786 ac_ext=cpp
34787 ac_cpp='$CXXCPP $CPPFLAGS'
34788 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34789 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34790 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34793 /* end confdefs.h. */
34794 #include <math.h>
34795 #ifdef HAVE_IEEEFP_H
34796 #include <ieeefp.h>
34797 #endif
34800 main ()
34802 finitel(0);
34804 return 0;
34806 _ACEOF
34807 if ac_fn_cxx_try_compile "$LINENO"; then :
34808 glibcxx_cv_func_finitel_use=yes
34809 else
34810 glibcxx_cv_func_finitel_use=no
34812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34813 ac_ext=c
34814 ac_cpp='$CPP $CPPFLAGS'
34815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
34824 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
34826 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
34827 for ac_func in finitel
34828 do :
34829 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
34830 if test "x$ac_cv_func_finitel" = xyes; then :
34831 cat >>confdefs.h <<_ACEOF
34832 #define HAVE_FINITEL 1
34833 _ACEOF
34836 done
34838 else
34840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
34841 $as_echo_n "checking for _finitel declaration... " >&6; }
34842 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
34843 if ${glibcxx_cv_func__finitel_use+:} false; then :
34844 $as_echo_n "(cached) " >&6
34845 else
34848 ac_ext=cpp
34849 ac_cpp='$CXXCPP $CPPFLAGS'
34850 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34851 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34852 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34855 /* end confdefs.h. */
34856 #include <math.h>
34857 #ifdef HAVE_IEEEFP_H
34858 #include <ieeefp.h>
34859 #endif
34862 main ()
34864 _finitel(0);
34866 return 0;
34868 _ACEOF
34869 if ac_fn_cxx_try_compile "$LINENO"; then :
34870 glibcxx_cv_func__finitel_use=yes
34871 else
34872 glibcxx_cv_func__finitel_use=no
34874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34875 ac_ext=c
34876 ac_cpp='$CPP $CPPFLAGS'
34877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
34886 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
34888 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
34889 for ac_func in _finitel
34890 do :
34891 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
34892 if test "x$ac_cv_func__finitel" = xyes; then :
34893 cat >>confdefs.h <<_ACEOF
34894 #define HAVE__FINITEL 1
34895 _ACEOF
34898 done
34906 LIBS="$ac_save_LIBS"
34907 CXXFLAGS="$ac_save_CXXFLAGS"
34910 ac_test_CXXFLAGS="${CXXFLAGS+set}"
34911 ac_save_CXXFLAGS="$CXXFLAGS"
34912 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
34915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
34916 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
34917 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
34918 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
34919 $as_echo_n "(cached) " >&6
34920 else
34923 ac_ext=cpp
34924 ac_cpp='$CXXCPP $CPPFLAGS'
34925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34930 /* end confdefs.h. */
34931 #include <stdlib.h>
34933 main ()
34935 at_quick_exit(0);
34937 return 0;
34939 _ACEOF
34940 if ac_fn_cxx_try_compile "$LINENO"; then :
34941 glibcxx_cv_func_at_quick_exit_use=yes
34942 else
34943 glibcxx_cv_func_at_quick_exit_use=no
34945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34946 ac_ext=c
34947 ac_cpp='$CPP $CPPFLAGS'
34948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
34957 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
34958 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
34959 for ac_func in at_quick_exit
34960 do :
34961 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
34962 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
34963 cat >>confdefs.h <<_ACEOF
34964 #define HAVE_AT_QUICK_EXIT 1
34965 _ACEOF
34968 done
34973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
34974 $as_echo_n "checking for quick_exit declaration... " >&6; }
34975 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
34976 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
34977 $as_echo_n "(cached) " >&6
34978 else
34981 ac_ext=cpp
34982 ac_cpp='$CXXCPP $CPPFLAGS'
34983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34988 /* end confdefs.h. */
34989 #include <stdlib.h>
34991 main ()
34993 quick_exit(0);
34995 return 0;
34997 _ACEOF
34998 if ac_fn_cxx_try_compile "$LINENO"; then :
34999 glibcxx_cv_func_quick_exit_use=yes
35000 else
35001 glibcxx_cv_func_quick_exit_use=no
35003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35004 ac_ext=c
35005 ac_cpp='$CPP $CPPFLAGS'
35006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
35015 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
35016 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
35017 for ac_func in quick_exit
35018 do :
35019 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
35020 if test "x$ac_cv_func_quick_exit" = xyes; then :
35021 cat >>confdefs.h <<_ACEOF
35022 #define HAVE_QUICK_EXIT 1
35023 _ACEOF
35026 done
35031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
35032 $as_echo_n "checking for strtold declaration... " >&6; }
35033 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
35034 if ${glibcxx_cv_func_strtold_use+:} false; then :
35035 $as_echo_n "(cached) " >&6
35036 else
35039 ac_ext=cpp
35040 ac_cpp='$CXXCPP $CPPFLAGS'
35041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35046 /* end confdefs.h. */
35047 #include <stdlib.h>
35049 main ()
35051 strtold(0, 0);
35053 return 0;
35055 _ACEOF
35056 if ac_fn_cxx_try_compile "$LINENO"; then :
35057 glibcxx_cv_func_strtold_use=yes
35058 else
35059 glibcxx_cv_func_strtold_use=no
35061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35062 ac_ext=c
35063 ac_cpp='$CPP $CPPFLAGS'
35064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
35073 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
35074 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
35075 for ac_func in strtold
35076 do :
35077 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
35078 if test "x$ac_cv_func_strtold" = xyes; then :
35079 cat >>confdefs.h <<_ACEOF
35080 #define HAVE_STRTOLD 1
35081 _ACEOF
35084 done
35091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
35092 $as_echo_n "checking for strtof declaration... " >&6; }
35093 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
35094 if ${glibcxx_cv_func_strtof_use+:} false; then :
35095 $as_echo_n "(cached) " >&6
35096 else
35099 ac_ext=cpp
35100 ac_cpp='$CXXCPP $CPPFLAGS'
35101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35106 /* end confdefs.h. */
35107 #include <stdlib.h>
35109 main ()
35111 strtof(0, 0);
35113 return 0;
35115 _ACEOF
35116 if ac_fn_cxx_try_compile "$LINENO"; then :
35117 glibcxx_cv_func_strtof_use=yes
35118 else
35119 glibcxx_cv_func_strtof_use=no
35121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35122 ac_ext=c
35123 ac_cpp='$CPP $CPPFLAGS'
35124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
35133 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
35134 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
35135 for ac_func in strtof
35136 do :
35137 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
35138 if test "x$ac_cv_func_strtof" = xyes; then :
35139 cat >>confdefs.h <<_ACEOF
35140 #define HAVE_STRTOF 1
35141 _ACEOF
35144 done
35151 CXXFLAGS="$ac_save_CXXFLAGS"
35154 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
35156 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
35158 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
35160 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
35163 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
35165 $as_echo "#define HAVE_MODF 1" >>confdefs.h
35167 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
35171 *-aix*)
35173 # If we're not using GNU ld, then there's no point in even trying these
35174 # tests. Check for that first. We should have already tested for gld
35175 # by now (in libtool), but require it now just to be safe...
35176 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
35177 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
35181 # The name set by libtool depends on the version of libtool. Shame on us
35182 # for depending on an impl detail, but c'est la vie. Older versions used
35183 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
35184 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
35185 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
35186 # set (hence we're using an older libtool), then set it.
35187 if test x${with_gnu_ld+set} != xset; then
35188 if test x${ac_cv_prog_gnu_ld+set} != xset; then
35189 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
35190 with_gnu_ld=no
35191 else
35192 with_gnu_ld=$ac_cv_prog_gnu_ld
35196 # Start by getting the version number. I think the libtool test already
35197 # does some of this, but throws away the result.
35198 glibcxx_ld_is_gold=no
35199 if test x"$with_gnu_ld" = x"yes"; then
35200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
35201 $as_echo_n "checking for ld version... " >&6; }
35203 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
35204 glibcxx_ld_is_gold=yes
35206 ldver=`$LD --version 2>/dev/null |
35207 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
35209 glibcxx_gnu_ld_version=`echo $ldver | \
35210 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
35211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
35212 $as_echo "$glibcxx_gnu_ld_version" >&6; }
35215 # Set --gc-sections.
35216 glibcxx_have_gc_sections=no
35217 if test "$glibcxx_ld_is_gold" = "yes"; then
35218 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
35219 glibcxx_have_gc_sections=yes
35221 else
35222 glibcxx_gcsections_min_ld=21602
35223 if test x"$with_gnu_ld" = x"yes" &&
35224 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
35225 glibcxx_have_gc_sections=yes
35228 if test "$glibcxx_have_gc_sections" = "yes"; then
35229 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
35230 # NB: This flag only works reliably after 2.16.1. Configure tests
35231 # for this are difficult, so hard wire a value that should work.
35233 ac_test_CFLAGS="${CFLAGS+set}"
35234 ac_save_CFLAGS="$CFLAGS"
35235 CFLAGS='-Wl,--gc-sections'
35237 # Check for -Wl,--gc-sections
35238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
35239 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
35240 if test x$gcc_no_link = xyes; then
35241 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
35243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35244 /* end confdefs.h. */
35245 int one(void) { return 1; }
35246 int two(void) { return 2; }
35249 main ()
35251 two();
35253 return 0;
35255 _ACEOF
35256 if ac_fn_c_try_link "$LINENO"; then :
35257 ac_gcsections=yes
35258 else
35259 ac_gcsections=no
35261 rm -f core conftest.err conftest.$ac_objext \
35262 conftest$ac_exeext conftest.$ac_ext
35263 if test "$ac_gcsections" = "yes"; then
35264 rm -f conftest.c
35265 touch conftest.c
35266 if $CC -c conftest.c; then
35267 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
35268 grep "Warning: gc-sections option ignored" > /dev/null; then
35269 ac_gcsections=no
35272 rm -f conftest.c conftest.o conftest
35274 if test "$ac_gcsections" = "yes"; then
35275 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
35277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
35278 $as_echo "$ac_gcsections" >&6; }
35280 if test "$ac_test_CFLAGS" = set; then
35281 CFLAGS="$ac_save_CFLAGS"
35282 else
35283 # this is the suspicious part
35284 CFLAGS=''
35288 # Set -z,relro.
35289 # Note this is only for shared objects.
35290 ac_ld_relro=no
35291 if test x"$with_gnu_ld" = x"yes"; then
35292 # cygwin and mingw uses PE, which has no ELF relro support,
35293 # multi target ld may confuse configure machinery
35294 case "$host" in
35295 *-*-cygwin*)
35297 *-*-mingw*)
35300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
35301 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
35302 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
35303 if test -n "$cxx_z_relo"; then
35304 OPT_LDFLAGS="-Wl,-z,relro"
35305 ac_ld_relro=yes
35307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
35308 $as_echo "$ac_ld_relro" >&6; }
35309 esac
35312 # Set linker optimization flags.
35313 if test x"$with_gnu_ld" = x"yes"; then
35314 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
35321 ac_test_CXXFLAGS="${CXXFLAGS+set}"
35322 ac_save_CXXFLAGS="$CXXFLAGS"
35323 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
35325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
35326 $as_echo_n "checking for sin in -lm... " >&6; }
35327 if ${ac_cv_lib_m_sin+:} false; then :
35328 $as_echo_n "(cached) " >&6
35329 else
35330 ac_check_lib_save_LIBS=$LIBS
35331 LIBS="-lm $LIBS"
35332 if test x$gcc_no_link = xyes; then
35333 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
35335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35336 /* end confdefs.h. */
35338 /* Override any GCC internal prototype to avoid an error.
35339 Use char because int might match the return type of a GCC
35340 builtin and then its argument prototype would still apply. */
35341 #ifdef __cplusplus
35342 extern "C"
35343 #endif
35344 char sin ();
35346 main ()
35348 return sin ();
35350 return 0;
35352 _ACEOF
35353 if ac_fn_c_try_link "$LINENO"; then :
35354 ac_cv_lib_m_sin=yes
35355 else
35356 ac_cv_lib_m_sin=no
35358 rm -f core conftest.err conftest.$ac_objext \
35359 conftest$ac_exeext conftest.$ac_ext
35360 LIBS=$ac_check_lib_save_LIBS
35362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
35363 $as_echo "$ac_cv_lib_m_sin" >&6; }
35364 if test "x$ac_cv_lib_m_sin" = xyes; then :
35365 libm="-lm"
35368 ac_save_LIBS="$LIBS"
35369 LIBS="$LIBS $libm"
35373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
35374 $as_echo_n "checking for isinf declaration... " >&6; }
35375 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
35376 if ${glibcxx_cv_func_isinf_use+:} false; then :
35377 $as_echo_n "(cached) " >&6
35378 else
35381 ac_ext=cpp
35382 ac_cpp='$CXXCPP $CPPFLAGS'
35383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35388 /* end confdefs.h. */
35389 #include <math.h>
35390 #ifdef HAVE_IEEEFP_H
35391 #include <ieeefp.h>
35392 #endif
35395 main ()
35397 isinf(0);
35399 return 0;
35401 _ACEOF
35402 if ac_fn_cxx_try_compile "$LINENO"; then :
35403 glibcxx_cv_func_isinf_use=yes
35404 else
35405 glibcxx_cv_func_isinf_use=no
35407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35408 ac_ext=c
35409 ac_cpp='$CPP $CPPFLAGS'
35410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
35419 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
35421 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
35422 for ac_func in isinf
35423 do :
35424 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
35425 if test "x$ac_cv_func_isinf" = xyes; then :
35426 cat >>confdefs.h <<_ACEOF
35427 #define HAVE_ISINF 1
35428 _ACEOF
35431 done
35433 else
35435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
35436 $as_echo_n "checking for _isinf declaration... " >&6; }
35437 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
35438 if ${glibcxx_cv_func__isinf_use+:} false; then :
35439 $as_echo_n "(cached) " >&6
35440 else
35443 ac_ext=cpp
35444 ac_cpp='$CXXCPP $CPPFLAGS'
35445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35450 /* end confdefs.h. */
35451 #include <math.h>
35452 #ifdef HAVE_IEEEFP_H
35453 #include <ieeefp.h>
35454 #endif
35457 main ()
35459 _isinf(0);
35461 return 0;
35463 _ACEOF
35464 if ac_fn_cxx_try_compile "$LINENO"; then :
35465 glibcxx_cv_func__isinf_use=yes
35466 else
35467 glibcxx_cv_func__isinf_use=no
35469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35470 ac_ext=c
35471 ac_cpp='$CPP $CPPFLAGS'
35472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
35481 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
35483 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
35484 for ac_func in _isinf
35485 do :
35486 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
35487 if test "x$ac_cv_func__isinf" = xyes; then :
35488 cat >>confdefs.h <<_ACEOF
35489 #define HAVE__ISINF 1
35490 _ACEOF
35493 done
35502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
35503 $as_echo_n "checking for isnan declaration... " >&6; }
35504 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
35505 if ${glibcxx_cv_func_isnan_use+:} false; then :
35506 $as_echo_n "(cached) " >&6
35507 else
35510 ac_ext=cpp
35511 ac_cpp='$CXXCPP $CPPFLAGS'
35512 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35513 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35514 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35517 /* end confdefs.h. */
35518 #include <math.h>
35519 #ifdef HAVE_IEEEFP_H
35520 #include <ieeefp.h>
35521 #endif
35524 main ()
35526 isnan(0);
35528 return 0;
35530 _ACEOF
35531 if ac_fn_cxx_try_compile "$LINENO"; then :
35532 glibcxx_cv_func_isnan_use=yes
35533 else
35534 glibcxx_cv_func_isnan_use=no
35536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35537 ac_ext=c
35538 ac_cpp='$CPP $CPPFLAGS'
35539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
35548 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
35550 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
35551 for ac_func in isnan
35552 do :
35553 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
35554 if test "x$ac_cv_func_isnan" = xyes; then :
35555 cat >>confdefs.h <<_ACEOF
35556 #define HAVE_ISNAN 1
35557 _ACEOF
35560 done
35562 else
35564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
35565 $as_echo_n "checking for _isnan declaration... " >&6; }
35566 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
35567 if ${glibcxx_cv_func__isnan_use+:} false; then :
35568 $as_echo_n "(cached) " >&6
35569 else
35572 ac_ext=cpp
35573 ac_cpp='$CXXCPP $CPPFLAGS'
35574 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35575 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35576 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35579 /* end confdefs.h. */
35580 #include <math.h>
35581 #ifdef HAVE_IEEEFP_H
35582 #include <ieeefp.h>
35583 #endif
35586 main ()
35588 _isnan(0);
35590 return 0;
35592 _ACEOF
35593 if ac_fn_cxx_try_compile "$LINENO"; then :
35594 glibcxx_cv_func__isnan_use=yes
35595 else
35596 glibcxx_cv_func__isnan_use=no
35598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35599 ac_ext=c
35600 ac_cpp='$CPP $CPPFLAGS'
35601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
35610 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
35612 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
35613 for ac_func in _isnan
35614 do :
35615 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
35616 if test "x$ac_cv_func__isnan" = xyes; then :
35617 cat >>confdefs.h <<_ACEOF
35618 #define HAVE__ISNAN 1
35619 _ACEOF
35622 done
35631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
35632 $as_echo_n "checking for finite declaration... " >&6; }
35633 if test x${glibcxx_cv_func_finite_use+set} != xset; then
35634 if ${glibcxx_cv_func_finite_use+:} false; then :
35635 $as_echo_n "(cached) " >&6
35636 else
35639 ac_ext=cpp
35640 ac_cpp='$CXXCPP $CPPFLAGS'
35641 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35642 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35643 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35646 /* end confdefs.h. */
35647 #include <math.h>
35648 #ifdef HAVE_IEEEFP_H
35649 #include <ieeefp.h>
35650 #endif
35653 main ()
35655 finite(0);
35657 return 0;
35659 _ACEOF
35660 if ac_fn_cxx_try_compile "$LINENO"; then :
35661 glibcxx_cv_func_finite_use=yes
35662 else
35663 glibcxx_cv_func_finite_use=no
35665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35666 ac_ext=c
35667 ac_cpp='$CPP $CPPFLAGS'
35668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
35677 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
35679 if test x$glibcxx_cv_func_finite_use = x"yes"; then
35680 for ac_func in finite
35681 do :
35682 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
35683 if test "x$ac_cv_func_finite" = xyes; then :
35684 cat >>confdefs.h <<_ACEOF
35685 #define HAVE_FINITE 1
35686 _ACEOF
35689 done
35691 else
35693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
35694 $as_echo_n "checking for _finite declaration... " >&6; }
35695 if test x${glibcxx_cv_func__finite_use+set} != xset; then
35696 if ${glibcxx_cv_func__finite_use+:} false; then :
35697 $as_echo_n "(cached) " >&6
35698 else
35701 ac_ext=cpp
35702 ac_cpp='$CXXCPP $CPPFLAGS'
35703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35708 /* end confdefs.h. */
35709 #include <math.h>
35710 #ifdef HAVE_IEEEFP_H
35711 #include <ieeefp.h>
35712 #endif
35715 main ()
35717 _finite(0);
35719 return 0;
35721 _ACEOF
35722 if ac_fn_cxx_try_compile "$LINENO"; then :
35723 glibcxx_cv_func__finite_use=yes
35724 else
35725 glibcxx_cv_func__finite_use=no
35727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35728 ac_ext=c
35729 ac_cpp='$CPP $CPPFLAGS'
35730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35732 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
35739 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
35741 if test x$glibcxx_cv_func__finite_use = x"yes"; then
35742 for ac_func in _finite
35743 do :
35744 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
35745 if test "x$ac_cv_func__finite" = xyes; then :
35746 cat >>confdefs.h <<_ACEOF
35747 #define HAVE__FINITE 1
35748 _ACEOF
35751 done
35760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
35761 $as_echo_n "checking for sincos declaration... " >&6; }
35762 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
35763 if ${glibcxx_cv_func_sincos_use+:} false; then :
35764 $as_echo_n "(cached) " >&6
35765 else
35768 ac_ext=cpp
35769 ac_cpp='$CXXCPP $CPPFLAGS'
35770 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35771 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35772 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35775 /* end confdefs.h. */
35776 #include <math.h>
35778 main ()
35780 sincos(0, 0, 0);
35782 return 0;
35784 _ACEOF
35785 if ac_fn_cxx_try_compile "$LINENO"; then :
35786 glibcxx_cv_func_sincos_use=yes
35787 else
35788 glibcxx_cv_func_sincos_use=no
35790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35791 ac_ext=c
35792 ac_cpp='$CPP $CPPFLAGS'
35793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
35802 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
35804 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
35805 for ac_func in sincos
35806 do :
35807 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
35808 if test "x$ac_cv_func_sincos" = xyes; then :
35809 cat >>confdefs.h <<_ACEOF
35810 #define HAVE_SINCOS 1
35811 _ACEOF
35814 done
35816 else
35818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
35819 $as_echo_n "checking for _sincos declaration... " >&6; }
35820 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
35821 if ${glibcxx_cv_func__sincos_use+:} false; then :
35822 $as_echo_n "(cached) " >&6
35823 else
35826 ac_ext=cpp
35827 ac_cpp='$CXXCPP $CPPFLAGS'
35828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35833 /* end confdefs.h. */
35834 #include <math.h>
35836 main ()
35838 _sincos(0, 0, 0);
35840 return 0;
35842 _ACEOF
35843 if ac_fn_cxx_try_compile "$LINENO"; then :
35844 glibcxx_cv_func__sincos_use=yes
35845 else
35846 glibcxx_cv_func__sincos_use=no
35848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35849 ac_ext=c
35850 ac_cpp='$CPP $CPPFLAGS'
35851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35852 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35853 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
35860 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
35862 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
35863 for ac_func in _sincos
35864 do :
35865 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
35866 if test "x$ac_cv_func__sincos" = xyes; then :
35867 cat >>confdefs.h <<_ACEOF
35868 #define HAVE__SINCOS 1
35869 _ACEOF
35872 done
35881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
35882 $as_echo_n "checking for fpclass declaration... " >&6; }
35883 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
35884 if ${glibcxx_cv_func_fpclass_use+:} false; then :
35885 $as_echo_n "(cached) " >&6
35886 else
35889 ac_ext=cpp
35890 ac_cpp='$CXXCPP $CPPFLAGS'
35891 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35892 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35893 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35896 /* end confdefs.h. */
35897 #include <math.h>
35898 #ifdef HAVE_IEEEFP_H
35899 #include <ieeefp.h>
35900 #endif
35903 main ()
35905 fpclass(0);
35907 return 0;
35909 _ACEOF
35910 if ac_fn_cxx_try_compile "$LINENO"; then :
35911 glibcxx_cv_func_fpclass_use=yes
35912 else
35913 glibcxx_cv_func_fpclass_use=no
35915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35916 ac_ext=c
35917 ac_cpp='$CPP $CPPFLAGS'
35918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
35927 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
35929 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
35930 for ac_func in fpclass
35931 do :
35932 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
35933 if test "x$ac_cv_func_fpclass" = xyes; then :
35934 cat >>confdefs.h <<_ACEOF
35935 #define HAVE_FPCLASS 1
35936 _ACEOF
35939 done
35941 else
35943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
35944 $as_echo_n "checking for _fpclass declaration... " >&6; }
35945 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
35946 if ${glibcxx_cv_func__fpclass_use+:} false; then :
35947 $as_echo_n "(cached) " >&6
35948 else
35951 ac_ext=cpp
35952 ac_cpp='$CXXCPP $CPPFLAGS'
35953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35958 /* end confdefs.h. */
35959 #include <math.h>
35960 #ifdef HAVE_IEEEFP_H
35961 #include <ieeefp.h>
35962 #endif
35965 main ()
35967 _fpclass(0);
35969 return 0;
35971 _ACEOF
35972 if ac_fn_cxx_try_compile "$LINENO"; then :
35973 glibcxx_cv_func__fpclass_use=yes
35974 else
35975 glibcxx_cv_func__fpclass_use=no
35977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35978 ac_ext=c
35979 ac_cpp='$CPP $CPPFLAGS'
35980 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35981 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35982 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
35989 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
35991 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
35992 for ac_func in _fpclass
35993 do :
35994 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
35995 if test "x$ac_cv_func__fpclass" = xyes; then :
35996 cat >>confdefs.h <<_ACEOF
35997 #define HAVE__FPCLASS 1
35998 _ACEOF
36001 done
36010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
36011 $as_echo_n "checking for qfpclass declaration... " >&6; }
36012 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
36013 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
36014 $as_echo_n "(cached) " >&6
36015 else
36018 ac_ext=cpp
36019 ac_cpp='$CXXCPP $CPPFLAGS'
36020 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36021 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36022 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36025 /* end confdefs.h. */
36026 #include <math.h>
36027 #ifdef HAVE_IEEEFP_H
36028 #include <ieeefp.h>
36029 #endif
36032 main ()
36034 qfpclass(0);
36036 return 0;
36038 _ACEOF
36039 if ac_fn_cxx_try_compile "$LINENO"; then :
36040 glibcxx_cv_func_qfpclass_use=yes
36041 else
36042 glibcxx_cv_func_qfpclass_use=no
36044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36045 ac_ext=c
36046 ac_cpp='$CPP $CPPFLAGS'
36047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
36056 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
36058 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
36059 for ac_func in qfpclass
36060 do :
36061 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
36062 if test "x$ac_cv_func_qfpclass" = xyes; then :
36063 cat >>confdefs.h <<_ACEOF
36064 #define HAVE_QFPCLASS 1
36065 _ACEOF
36068 done
36070 else
36072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
36073 $as_echo_n "checking for _qfpclass declaration... " >&6; }
36074 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
36075 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
36076 $as_echo_n "(cached) " >&6
36077 else
36080 ac_ext=cpp
36081 ac_cpp='$CXXCPP $CPPFLAGS'
36082 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36083 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36084 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36087 /* end confdefs.h. */
36088 #include <math.h>
36089 #ifdef HAVE_IEEEFP_H
36090 #include <ieeefp.h>
36091 #endif
36094 main ()
36096 _qfpclass(0);
36098 return 0;
36100 _ACEOF
36101 if ac_fn_cxx_try_compile "$LINENO"; then :
36102 glibcxx_cv_func__qfpclass_use=yes
36103 else
36104 glibcxx_cv_func__qfpclass_use=no
36106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36107 ac_ext=c
36108 ac_cpp='$CPP $CPPFLAGS'
36109 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36110 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36111 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
36118 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
36120 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
36121 for ac_func in _qfpclass
36122 do :
36123 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
36124 if test "x$ac_cv_func__qfpclass" = xyes; then :
36125 cat >>confdefs.h <<_ACEOF
36126 #define HAVE__QFPCLASS 1
36127 _ACEOF
36130 done
36139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
36140 $as_echo_n "checking for hypot declaration... " >&6; }
36141 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
36142 if ${glibcxx_cv_func_hypot_use+:} false; then :
36143 $as_echo_n "(cached) " >&6
36144 else
36147 ac_ext=cpp
36148 ac_cpp='$CXXCPP $CPPFLAGS'
36149 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36150 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36151 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36154 /* end confdefs.h. */
36155 #include <math.h>
36157 main ()
36159 hypot(0, 0);
36161 return 0;
36163 _ACEOF
36164 if ac_fn_cxx_try_compile "$LINENO"; then :
36165 glibcxx_cv_func_hypot_use=yes
36166 else
36167 glibcxx_cv_func_hypot_use=no
36169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36170 ac_ext=c
36171 ac_cpp='$CPP $CPPFLAGS'
36172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36173 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
36181 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
36183 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
36184 for ac_func in hypot
36185 do :
36186 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
36187 if test "x$ac_cv_func_hypot" = xyes; then :
36188 cat >>confdefs.h <<_ACEOF
36189 #define HAVE_HYPOT 1
36190 _ACEOF
36193 done
36195 else
36197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
36198 $as_echo_n "checking for _hypot declaration... " >&6; }
36199 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
36200 if ${glibcxx_cv_func__hypot_use+:} false; then :
36201 $as_echo_n "(cached) " >&6
36202 else
36205 ac_ext=cpp
36206 ac_cpp='$CXXCPP $CPPFLAGS'
36207 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36208 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36209 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36212 /* end confdefs.h. */
36213 #include <math.h>
36215 main ()
36217 _hypot(0, 0);
36219 return 0;
36221 _ACEOF
36222 if ac_fn_cxx_try_compile "$LINENO"; then :
36223 glibcxx_cv_func__hypot_use=yes
36224 else
36225 glibcxx_cv_func__hypot_use=no
36227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36228 ac_ext=c
36229 ac_cpp='$CPP $CPPFLAGS'
36230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
36239 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
36241 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
36242 for ac_func in _hypot
36243 do :
36244 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
36245 if test "x$ac_cv_func__hypot" = xyes; then :
36246 cat >>confdefs.h <<_ACEOF
36247 #define HAVE__HYPOT 1
36248 _ACEOF
36251 done
36260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
36261 $as_echo_n "checking for float trig functions... " >&6; }
36262 if ${glibcxx_cv_func_float_trig_use+:} false; then :
36263 $as_echo_n "(cached) " >&6
36264 else
36267 ac_ext=cpp
36268 ac_cpp='$CXXCPP $CPPFLAGS'
36269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36274 /* end confdefs.h. */
36275 #include <math.h>
36277 main ()
36279 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
36281 return 0;
36283 _ACEOF
36284 if ac_fn_cxx_try_compile "$LINENO"; then :
36285 glibcxx_cv_func_float_trig_use=yes
36286 else
36287 glibcxx_cv_func_float_trig_use=no
36289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36290 ac_ext=c
36291 ac_cpp='$CPP $CPPFLAGS'
36292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
36299 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
36300 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
36301 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
36302 do :
36303 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36304 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36305 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
36306 cat >>confdefs.h <<_ACEOF
36307 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36308 _ACEOF
36311 done
36313 else
36314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
36315 $as_echo_n "checking for _float trig functions... " >&6; }
36316 if ${glibcxx_cv_func__float_trig_use+:} false; then :
36317 $as_echo_n "(cached) " >&6
36318 else
36321 ac_ext=cpp
36322 ac_cpp='$CXXCPP $CPPFLAGS'
36323 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36324 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36325 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36328 /* end confdefs.h. */
36329 #include <math.h>
36331 main ()
36333 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
36335 return 0;
36337 _ACEOF
36338 if ac_fn_cxx_try_compile "$LINENO"; then :
36339 glibcxx_cv_func__float_trig_use=yes
36340 else
36341 glibcxx_cv_func__float_trig_use=no
36343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36344 ac_ext=c
36345 ac_cpp='$CPP $CPPFLAGS'
36346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
36353 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
36354 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
36355 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
36356 do :
36357 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36358 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36359 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
36360 cat >>confdefs.h <<_ACEOF
36361 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36362 _ACEOF
36365 done
36374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
36375 $as_echo_n "checking for float round functions... " >&6; }
36376 if ${glibcxx_cv_func_float_round_use+:} false; then :
36377 $as_echo_n "(cached) " >&6
36378 else
36381 ac_ext=cpp
36382 ac_cpp='$CXXCPP $CPPFLAGS'
36383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36388 /* end confdefs.h. */
36389 #include <math.h>
36391 main ()
36393 ceilf (0); floorf (0);
36395 return 0;
36397 _ACEOF
36398 if ac_fn_cxx_try_compile "$LINENO"; then :
36399 glibcxx_cv_func_float_round_use=yes
36400 else
36401 glibcxx_cv_func_float_round_use=no
36403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36404 ac_ext=c
36405 ac_cpp='$CPP $CPPFLAGS'
36406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
36413 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
36414 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
36415 for ac_func in ceilf floorf
36416 do :
36417 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36418 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36419 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
36420 cat >>confdefs.h <<_ACEOF
36421 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36422 _ACEOF
36425 done
36427 else
36428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
36429 $as_echo_n "checking for _float round functions... " >&6; }
36430 if ${glibcxx_cv_func__float_round_use+:} false; then :
36431 $as_echo_n "(cached) " >&6
36432 else
36435 ac_ext=cpp
36436 ac_cpp='$CXXCPP $CPPFLAGS'
36437 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36438 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36439 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36442 /* end confdefs.h. */
36443 #include <math.h>
36445 main ()
36447 _ceilf (0); _floorf (0);
36449 return 0;
36451 _ACEOF
36452 if ac_fn_cxx_try_compile "$LINENO"; then :
36453 glibcxx_cv_func__float_round_use=yes
36454 else
36455 glibcxx_cv_func__float_round_use=no
36457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36458 ac_ext=c
36459 ac_cpp='$CPP $CPPFLAGS'
36460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
36467 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
36468 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
36469 for ac_func in _ceilf _floorf
36470 do :
36471 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36472 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36473 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
36474 cat >>confdefs.h <<_ACEOF
36475 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36476 _ACEOF
36479 done
36489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
36490 $as_echo_n "checking for expf declaration... " >&6; }
36491 if test x${glibcxx_cv_func_expf_use+set} != xset; then
36492 if ${glibcxx_cv_func_expf_use+:} false; then :
36493 $as_echo_n "(cached) " >&6
36494 else
36497 ac_ext=cpp
36498 ac_cpp='$CXXCPP $CPPFLAGS'
36499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36504 /* end confdefs.h. */
36505 #include <math.h>
36506 #ifdef HAVE_IEEEFP_H
36507 #include <ieeefp.h>
36508 #endif
36511 main ()
36513 expf(0);
36515 return 0;
36517 _ACEOF
36518 if ac_fn_cxx_try_compile "$LINENO"; then :
36519 glibcxx_cv_func_expf_use=yes
36520 else
36521 glibcxx_cv_func_expf_use=no
36523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36524 ac_ext=c
36525 ac_cpp='$CPP $CPPFLAGS'
36526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
36535 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
36537 if test x$glibcxx_cv_func_expf_use = x"yes"; then
36538 for ac_func in expf
36539 do :
36540 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
36541 if test "x$ac_cv_func_expf" = xyes; then :
36542 cat >>confdefs.h <<_ACEOF
36543 #define HAVE_EXPF 1
36544 _ACEOF
36547 done
36549 else
36551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
36552 $as_echo_n "checking for _expf declaration... " >&6; }
36553 if test x${glibcxx_cv_func__expf_use+set} != xset; then
36554 if ${glibcxx_cv_func__expf_use+:} false; then :
36555 $as_echo_n "(cached) " >&6
36556 else
36559 ac_ext=cpp
36560 ac_cpp='$CXXCPP $CPPFLAGS'
36561 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36562 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36563 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36566 /* end confdefs.h. */
36567 #include <math.h>
36568 #ifdef HAVE_IEEEFP_H
36569 #include <ieeefp.h>
36570 #endif
36573 main ()
36575 _expf(0);
36577 return 0;
36579 _ACEOF
36580 if ac_fn_cxx_try_compile "$LINENO"; then :
36581 glibcxx_cv_func__expf_use=yes
36582 else
36583 glibcxx_cv_func__expf_use=no
36585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36586 ac_ext=c
36587 ac_cpp='$CPP $CPPFLAGS'
36588 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36589 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36590 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
36597 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
36599 if test x$glibcxx_cv_func__expf_use = x"yes"; then
36600 for ac_func in _expf
36601 do :
36602 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
36603 if test "x$ac_cv_func__expf" = xyes; then :
36604 cat >>confdefs.h <<_ACEOF
36605 #define HAVE__EXPF 1
36606 _ACEOF
36609 done
36618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
36619 $as_echo_n "checking for isnanf declaration... " >&6; }
36620 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
36621 if ${glibcxx_cv_func_isnanf_use+:} false; then :
36622 $as_echo_n "(cached) " >&6
36623 else
36626 ac_ext=cpp
36627 ac_cpp='$CXXCPP $CPPFLAGS'
36628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36633 /* end confdefs.h. */
36634 #include <math.h>
36635 #ifdef HAVE_IEEEFP_H
36636 #include <ieeefp.h>
36637 #endif
36640 main ()
36642 isnanf(0);
36644 return 0;
36646 _ACEOF
36647 if ac_fn_cxx_try_compile "$LINENO"; then :
36648 glibcxx_cv_func_isnanf_use=yes
36649 else
36650 glibcxx_cv_func_isnanf_use=no
36652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36653 ac_ext=c
36654 ac_cpp='$CPP $CPPFLAGS'
36655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
36664 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
36666 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
36667 for ac_func in isnanf
36668 do :
36669 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
36670 if test "x$ac_cv_func_isnanf" = xyes; then :
36671 cat >>confdefs.h <<_ACEOF
36672 #define HAVE_ISNANF 1
36673 _ACEOF
36676 done
36678 else
36680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
36681 $as_echo_n "checking for _isnanf declaration... " >&6; }
36682 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
36683 if ${glibcxx_cv_func__isnanf_use+:} false; then :
36684 $as_echo_n "(cached) " >&6
36685 else
36688 ac_ext=cpp
36689 ac_cpp='$CXXCPP $CPPFLAGS'
36690 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36691 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36692 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36695 /* end confdefs.h. */
36696 #include <math.h>
36697 #ifdef HAVE_IEEEFP_H
36698 #include <ieeefp.h>
36699 #endif
36702 main ()
36704 _isnanf(0);
36706 return 0;
36708 _ACEOF
36709 if ac_fn_cxx_try_compile "$LINENO"; then :
36710 glibcxx_cv_func__isnanf_use=yes
36711 else
36712 glibcxx_cv_func__isnanf_use=no
36714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36715 ac_ext=c
36716 ac_cpp='$CPP $CPPFLAGS'
36717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
36726 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
36728 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
36729 for ac_func in _isnanf
36730 do :
36731 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
36732 if test "x$ac_cv_func__isnanf" = xyes; then :
36733 cat >>confdefs.h <<_ACEOF
36734 #define HAVE__ISNANF 1
36735 _ACEOF
36738 done
36747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
36748 $as_echo_n "checking for isinff declaration... " >&6; }
36749 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
36750 if ${glibcxx_cv_func_isinff_use+:} false; then :
36751 $as_echo_n "(cached) " >&6
36752 else
36755 ac_ext=cpp
36756 ac_cpp='$CXXCPP $CPPFLAGS'
36757 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36758 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36759 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36762 /* end confdefs.h. */
36763 #include <math.h>
36764 #ifdef HAVE_IEEEFP_H
36765 #include <ieeefp.h>
36766 #endif
36769 main ()
36771 isinff(0);
36773 return 0;
36775 _ACEOF
36776 if ac_fn_cxx_try_compile "$LINENO"; then :
36777 glibcxx_cv_func_isinff_use=yes
36778 else
36779 glibcxx_cv_func_isinff_use=no
36781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36782 ac_ext=c
36783 ac_cpp='$CPP $CPPFLAGS'
36784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
36793 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
36795 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
36796 for ac_func in isinff
36797 do :
36798 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
36799 if test "x$ac_cv_func_isinff" = xyes; then :
36800 cat >>confdefs.h <<_ACEOF
36801 #define HAVE_ISINFF 1
36802 _ACEOF
36805 done
36807 else
36809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
36810 $as_echo_n "checking for _isinff declaration... " >&6; }
36811 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
36812 if ${glibcxx_cv_func__isinff_use+:} false; then :
36813 $as_echo_n "(cached) " >&6
36814 else
36817 ac_ext=cpp
36818 ac_cpp='$CXXCPP $CPPFLAGS'
36819 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36820 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36821 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36824 /* end confdefs.h. */
36825 #include <math.h>
36826 #ifdef HAVE_IEEEFP_H
36827 #include <ieeefp.h>
36828 #endif
36831 main ()
36833 _isinff(0);
36835 return 0;
36837 _ACEOF
36838 if ac_fn_cxx_try_compile "$LINENO"; then :
36839 glibcxx_cv_func__isinff_use=yes
36840 else
36841 glibcxx_cv_func__isinff_use=no
36843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36844 ac_ext=c
36845 ac_cpp='$CPP $CPPFLAGS'
36846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
36855 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
36857 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
36858 for ac_func in _isinff
36859 do :
36860 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
36861 if test "x$ac_cv_func__isinff" = xyes; then :
36862 cat >>confdefs.h <<_ACEOF
36863 #define HAVE__ISINFF 1
36864 _ACEOF
36867 done
36876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
36877 $as_echo_n "checking for atan2f declaration... " >&6; }
36878 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
36879 if ${glibcxx_cv_func_atan2f_use+:} false; then :
36880 $as_echo_n "(cached) " >&6
36881 else
36884 ac_ext=cpp
36885 ac_cpp='$CXXCPP $CPPFLAGS'
36886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36887 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36891 /* end confdefs.h. */
36892 #include <math.h>
36894 main ()
36896 atan2f(0, 0);
36898 return 0;
36900 _ACEOF
36901 if ac_fn_cxx_try_compile "$LINENO"; then :
36902 glibcxx_cv_func_atan2f_use=yes
36903 else
36904 glibcxx_cv_func_atan2f_use=no
36906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36907 ac_ext=c
36908 ac_cpp='$CPP $CPPFLAGS'
36909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
36918 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
36920 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
36921 for ac_func in atan2f
36922 do :
36923 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
36924 if test "x$ac_cv_func_atan2f" = xyes; then :
36925 cat >>confdefs.h <<_ACEOF
36926 #define HAVE_ATAN2F 1
36927 _ACEOF
36930 done
36932 else
36934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
36935 $as_echo_n "checking for _atan2f declaration... " >&6; }
36936 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
36937 if ${glibcxx_cv_func__atan2f_use+:} false; then :
36938 $as_echo_n "(cached) " >&6
36939 else
36942 ac_ext=cpp
36943 ac_cpp='$CXXCPP $CPPFLAGS'
36944 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36945 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36946 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36949 /* end confdefs.h. */
36950 #include <math.h>
36952 main ()
36954 _atan2f(0, 0);
36956 return 0;
36958 _ACEOF
36959 if ac_fn_cxx_try_compile "$LINENO"; then :
36960 glibcxx_cv_func__atan2f_use=yes
36961 else
36962 glibcxx_cv_func__atan2f_use=no
36964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36965 ac_ext=c
36966 ac_cpp='$CPP $CPPFLAGS'
36967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
36976 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
36978 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
36979 for ac_func in _atan2f
36980 do :
36981 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
36982 if test "x$ac_cv_func__atan2f" = xyes; then :
36983 cat >>confdefs.h <<_ACEOF
36984 #define HAVE__ATAN2F 1
36985 _ACEOF
36988 done
36997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
36998 $as_echo_n "checking for fabsf declaration... " >&6; }
36999 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
37000 if ${glibcxx_cv_func_fabsf_use+:} false; then :
37001 $as_echo_n "(cached) " >&6
37002 else
37005 ac_ext=cpp
37006 ac_cpp='$CXXCPP $CPPFLAGS'
37007 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37008 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37009 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37012 /* end confdefs.h. */
37013 #include <math.h>
37014 #ifdef HAVE_IEEEFP_H
37015 #include <ieeefp.h>
37016 #endif
37019 main ()
37021 fabsf(0);
37023 return 0;
37025 _ACEOF
37026 if ac_fn_cxx_try_compile "$LINENO"; then :
37027 glibcxx_cv_func_fabsf_use=yes
37028 else
37029 glibcxx_cv_func_fabsf_use=no
37031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37032 ac_ext=c
37033 ac_cpp='$CPP $CPPFLAGS'
37034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
37043 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
37045 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
37046 for ac_func in fabsf
37047 do :
37048 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
37049 if test "x$ac_cv_func_fabsf" = xyes; then :
37050 cat >>confdefs.h <<_ACEOF
37051 #define HAVE_FABSF 1
37052 _ACEOF
37055 done
37057 else
37059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
37060 $as_echo_n "checking for _fabsf declaration... " >&6; }
37061 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
37062 if ${glibcxx_cv_func__fabsf_use+:} false; then :
37063 $as_echo_n "(cached) " >&6
37064 else
37067 ac_ext=cpp
37068 ac_cpp='$CXXCPP $CPPFLAGS'
37069 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37070 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37071 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37074 /* end confdefs.h. */
37075 #include <math.h>
37076 #ifdef HAVE_IEEEFP_H
37077 #include <ieeefp.h>
37078 #endif
37081 main ()
37083 _fabsf(0);
37085 return 0;
37087 _ACEOF
37088 if ac_fn_cxx_try_compile "$LINENO"; then :
37089 glibcxx_cv_func__fabsf_use=yes
37090 else
37091 glibcxx_cv_func__fabsf_use=no
37093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37094 ac_ext=c
37095 ac_cpp='$CPP $CPPFLAGS'
37096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
37105 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
37107 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
37108 for ac_func in _fabsf
37109 do :
37110 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
37111 if test "x$ac_cv_func__fabsf" = xyes; then :
37112 cat >>confdefs.h <<_ACEOF
37113 #define HAVE__FABSF 1
37114 _ACEOF
37117 done
37126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
37127 $as_echo_n "checking for fmodf declaration... " >&6; }
37128 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
37129 if ${glibcxx_cv_func_fmodf_use+:} false; then :
37130 $as_echo_n "(cached) " >&6
37131 else
37134 ac_ext=cpp
37135 ac_cpp='$CXXCPP $CPPFLAGS'
37136 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37137 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37138 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37141 /* end confdefs.h. */
37142 #include <math.h>
37144 main ()
37146 fmodf(0, 0);
37148 return 0;
37150 _ACEOF
37151 if ac_fn_cxx_try_compile "$LINENO"; then :
37152 glibcxx_cv_func_fmodf_use=yes
37153 else
37154 glibcxx_cv_func_fmodf_use=no
37156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37157 ac_ext=c
37158 ac_cpp='$CPP $CPPFLAGS'
37159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
37168 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
37170 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
37171 for ac_func in fmodf
37172 do :
37173 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
37174 if test "x$ac_cv_func_fmodf" = xyes; then :
37175 cat >>confdefs.h <<_ACEOF
37176 #define HAVE_FMODF 1
37177 _ACEOF
37180 done
37182 else
37184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
37185 $as_echo_n "checking for _fmodf declaration... " >&6; }
37186 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
37187 if ${glibcxx_cv_func__fmodf_use+:} false; then :
37188 $as_echo_n "(cached) " >&6
37189 else
37192 ac_ext=cpp
37193 ac_cpp='$CXXCPP $CPPFLAGS'
37194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37199 /* end confdefs.h. */
37200 #include <math.h>
37202 main ()
37204 _fmodf(0, 0);
37206 return 0;
37208 _ACEOF
37209 if ac_fn_cxx_try_compile "$LINENO"; then :
37210 glibcxx_cv_func__fmodf_use=yes
37211 else
37212 glibcxx_cv_func__fmodf_use=no
37214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37215 ac_ext=c
37216 ac_cpp='$CPP $CPPFLAGS'
37217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
37226 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
37228 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
37229 for ac_func in _fmodf
37230 do :
37231 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
37232 if test "x$ac_cv_func__fmodf" = xyes; then :
37233 cat >>confdefs.h <<_ACEOF
37234 #define HAVE__FMODF 1
37235 _ACEOF
37238 done
37247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
37248 $as_echo_n "checking for frexpf declaration... " >&6; }
37249 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
37250 if ${glibcxx_cv_func_frexpf_use+:} false; then :
37251 $as_echo_n "(cached) " >&6
37252 else
37255 ac_ext=cpp
37256 ac_cpp='$CXXCPP $CPPFLAGS'
37257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37262 /* end confdefs.h. */
37263 #include <math.h>
37265 main ()
37267 frexpf(0, 0);
37269 return 0;
37271 _ACEOF
37272 if ac_fn_cxx_try_compile "$LINENO"; then :
37273 glibcxx_cv_func_frexpf_use=yes
37274 else
37275 glibcxx_cv_func_frexpf_use=no
37277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37278 ac_ext=c
37279 ac_cpp='$CPP $CPPFLAGS'
37280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
37289 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
37291 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
37292 for ac_func in frexpf
37293 do :
37294 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
37295 if test "x$ac_cv_func_frexpf" = xyes; then :
37296 cat >>confdefs.h <<_ACEOF
37297 #define HAVE_FREXPF 1
37298 _ACEOF
37301 done
37303 else
37305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
37306 $as_echo_n "checking for _frexpf declaration... " >&6; }
37307 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
37308 if ${glibcxx_cv_func__frexpf_use+:} false; then :
37309 $as_echo_n "(cached) " >&6
37310 else
37313 ac_ext=cpp
37314 ac_cpp='$CXXCPP $CPPFLAGS'
37315 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37316 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37317 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37320 /* end confdefs.h. */
37321 #include <math.h>
37323 main ()
37325 _frexpf(0, 0);
37327 return 0;
37329 _ACEOF
37330 if ac_fn_cxx_try_compile "$LINENO"; then :
37331 glibcxx_cv_func__frexpf_use=yes
37332 else
37333 glibcxx_cv_func__frexpf_use=no
37335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37336 ac_ext=c
37337 ac_cpp='$CPP $CPPFLAGS'
37338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
37347 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
37349 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
37350 for ac_func in _frexpf
37351 do :
37352 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
37353 if test "x$ac_cv_func__frexpf" = xyes; then :
37354 cat >>confdefs.h <<_ACEOF
37355 #define HAVE__FREXPF 1
37356 _ACEOF
37359 done
37368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
37369 $as_echo_n "checking for hypotf declaration... " >&6; }
37370 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
37371 if ${glibcxx_cv_func_hypotf_use+:} false; then :
37372 $as_echo_n "(cached) " >&6
37373 else
37376 ac_ext=cpp
37377 ac_cpp='$CXXCPP $CPPFLAGS'
37378 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37379 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37380 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37383 /* end confdefs.h. */
37384 #include <math.h>
37386 main ()
37388 hypotf(0, 0);
37390 return 0;
37392 _ACEOF
37393 if ac_fn_cxx_try_compile "$LINENO"; then :
37394 glibcxx_cv_func_hypotf_use=yes
37395 else
37396 glibcxx_cv_func_hypotf_use=no
37398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37399 ac_ext=c
37400 ac_cpp='$CPP $CPPFLAGS'
37401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
37410 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
37412 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
37413 for ac_func in hypotf
37414 do :
37415 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
37416 if test "x$ac_cv_func_hypotf" = xyes; then :
37417 cat >>confdefs.h <<_ACEOF
37418 #define HAVE_HYPOTF 1
37419 _ACEOF
37422 done
37424 else
37426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
37427 $as_echo_n "checking for _hypotf declaration... " >&6; }
37428 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
37429 if ${glibcxx_cv_func__hypotf_use+:} false; then :
37430 $as_echo_n "(cached) " >&6
37431 else
37434 ac_ext=cpp
37435 ac_cpp='$CXXCPP $CPPFLAGS'
37436 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37437 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37438 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37441 /* end confdefs.h. */
37442 #include <math.h>
37444 main ()
37446 _hypotf(0, 0);
37448 return 0;
37450 _ACEOF
37451 if ac_fn_cxx_try_compile "$LINENO"; then :
37452 glibcxx_cv_func__hypotf_use=yes
37453 else
37454 glibcxx_cv_func__hypotf_use=no
37456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37457 ac_ext=c
37458 ac_cpp='$CPP $CPPFLAGS'
37459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
37468 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
37470 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
37471 for ac_func in _hypotf
37472 do :
37473 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
37474 if test "x$ac_cv_func__hypotf" = xyes; then :
37475 cat >>confdefs.h <<_ACEOF
37476 #define HAVE__HYPOTF 1
37477 _ACEOF
37480 done
37489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
37490 $as_echo_n "checking for ldexpf declaration... " >&6; }
37491 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
37492 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
37493 $as_echo_n "(cached) " >&6
37494 else
37497 ac_ext=cpp
37498 ac_cpp='$CXXCPP $CPPFLAGS'
37499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37504 /* end confdefs.h. */
37505 #include <math.h>
37507 main ()
37509 ldexpf(0, 0);
37511 return 0;
37513 _ACEOF
37514 if ac_fn_cxx_try_compile "$LINENO"; then :
37515 glibcxx_cv_func_ldexpf_use=yes
37516 else
37517 glibcxx_cv_func_ldexpf_use=no
37519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37520 ac_ext=c
37521 ac_cpp='$CPP $CPPFLAGS'
37522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
37531 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
37533 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
37534 for ac_func in ldexpf
37535 do :
37536 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
37537 if test "x$ac_cv_func_ldexpf" = xyes; then :
37538 cat >>confdefs.h <<_ACEOF
37539 #define HAVE_LDEXPF 1
37540 _ACEOF
37543 done
37545 else
37547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
37548 $as_echo_n "checking for _ldexpf declaration... " >&6; }
37549 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
37550 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
37551 $as_echo_n "(cached) " >&6
37552 else
37555 ac_ext=cpp
37556 ac_cpp='$CXXCPP $CPPFLAGS'
37557 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37558 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37559 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37562 /* end confdefs.h. */
37563 #include <math.h>
37565 main ()
37567 _ldexpf(0, 0);
37569 return 0;
37571 _ACEOF
37572 if ac_fn_cxx_try_compile "$LINENO"; then :
37573 glibcxx_cv_func__ldexpf_use=yes
37574 else
37575 glibcxx_cv_func__ldexpf_use=no
37577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37578 ac_ext=c
37579 ac_cpp='$CPP $CPPFLAGS'
37580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
37589 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
37591 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
37592 for ac_func in _ldexpf
37593 do :
37594 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
37595 if test "x$ac_cv_func__ldexpf" = xyes; then :
37596 cat >>confdefs.h <<_ACEOF
37597 #define HAVE__LDEXPF 1
37598 _ACEOF
37601 done
37610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
37611 $as_echo_n "checking for logf declaration... " >&6; }
37612 if test x${glibcxx_cv_func_logf_use+set} != xset; then
37613 if ${glibcxx_cv_func_logf_use+:} false; then :
37614 $as_echo_n "(cached) " >&6
37615 else
37618 ac_ext=cpp
37619 ac_cpp='$CXXCPP $CPPFLAGS'
37620 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37621 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37622 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37625 /* end confdefs.h. */
37626 #include <math.h>
37627 #ifdef HAVE_IEEEFP_H
37628 #include <ieeefp.h>
37629 #endif
37632 main ()
37634 logf(0);
37636 return 0;
37638 _ACEOF
37639 if ac_fn_cxx_try_compile "$LINENO"; then :
37640 glibcxx_cv_func_logf_use=yes
37641 else
37642 glibcxx_cv_func_logf_use=no
37644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37645 ac_ext=c
37646 ac_cpp='$CPP $CPPFLAGS'
37647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
37656 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
37658 if test x$glibcxx_cv_func_logf_use = x"yes"; then
37659 for ac_func in logf
37660 do :
37661 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
37662 if test "x$ac_cv_func_logf" = xyes; then :
37663 cat >>confdefs.h <<_ACEOF
37664 #define HAVE_LOGF 1
37665 _ACEOF
37668 done
37670 else
37672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
37673 $as_echo_n "checking for _logf declaration... " >&6; }
37674 if test x${glibcxx_cv_func__logf_use+set} != xset; then
37675 if ${glibcxx_cv_func__logf_use+:} false; then :
37676 $as_echo_n "(cached) " >&6
37677 else
37680 ac_ext=cpp
37681 ac_cpp='$CXXCPP $CPPFLAGS'
37682 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37683 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37684 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37687 /* end confdefs.h. */
37688 #include <math.h>
37689 #ifdef HAVE_IEEEFP_H
37690 #include <ieeefp.h>
37691 #endif
37694 main ()
37696 _logf(0);
37698 return 0;
37700 _ACEOF
37701 if ac_fn_cxx_try_compile "$LINENO"; then :
37702 glibcxx_cv_func__logf_use=yes
37703 else
37704 glibcxx_cv_func__logf_use=no
37706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37707 ac_ext=c
37708 ac_cpp='$CPP $CPPFLAGS'
37709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
37718 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
37720 if test x$glibcxx_cv_func__logf_use = x"yes"; then
37721 for ac_func in _logf
37722 do :
37723 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
37724 if test "x$ac_cv_func__logf" = xyes; then :
37725 cat >>confdefs.h <<_ACEOF
37726 #define HAVE__LOGF 1
37727 _ACEOF
37730 done
37739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
37740 $as_echo_n "checking for log10f declaration... " >&6; }
37741 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
37742 if ${glibcxx_cv_func_log10f_use+:} false; then :
37743 $as_echo_n "(cached) " >&6
37744 else
37747 ac_ext=cpp
37748 ac_cpp='$CXXCPP $CPPFLAGS'
37749 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37750 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37751 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37754 /* end confdefs.h. */
37755 #include <math.h>
37756 #ifdef HAVE_IEEEFP_H
37757 #include <ieeefp.h>
37758 #endif
37761 main ()
37763 log10f(0);
37765 return 0;
37767 _ACEOF
37768 if ac_fn_cxx_try_compile "$LINENO"; then :
37769 glibcxx_cv_func_log10f_use=yes
37770 else
37771 glibcxx_cv_func_log10f_use=no
37773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37774 ac_ext=c
37775 ac_cpp='$CPP $CPPFLAGS'
37776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
37785 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
37787 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
37788 for ac_func in log10f
37789 do :
37790 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
37791 if test "x$ac_cv_func_log10f" = xyes; then :
37792 cat >>confdefs.h <<_ACEOF
37793 #define HAVE_LOG10F 1
37794 _ACEOF
37797 done
37799 else
37801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
37802 $as_echo_n "checking for _log10f declaration... " >&6; }
37803 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
37804 if ${glibcxx_cv_func__log10f_use+:} false; then :
37805 $as_echo_n "(cached) " >&6
37806 else
37809 ac_ext=cpp
37810 ac_cpp='$CXXCPP $CPPFLAGS'
37811 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37812 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37813 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37816 /* end confdefs.h. */
37817 #include <math.h>
37818 #ifdef HAVE_IEEEFP_H
37819 #include <ieeefp.h>
37820 #endif
37823 main ()
37825 _log10f(0);
37827 return 0;
37829 _ACEOF
37830 if ac_fn_cxx_try_compile "$LINENO"; then :
37831 glibcxx_cv_func__log10f_use=yes
37832 else
37833 glibcxx_cv_func__log10f_use=no
37835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37836 ac_ext=c
37837 ac_cpp='$CPP $CPPFLAGS'
37838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
37847 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
37849 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
37850 for ac_func in _log10f
37851 do :
37852 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
37853 if test "x$ac_cv_func__log10f" = xyes; then :
37854 cat >>confdefs.h <<_ACEOF
37855 #define HAVE__LOG10F 1
37856 _ACEOF
37859 done
37868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
37869 $as_echo_n "checking for modff declaration... " >&6; }
37870 if test x${glibcxx_cv_func_modff_use+set} != xset; then
37871 if ${glibcxx_cv_func_modff_use+:} false; then :
37872 $as_echo_n "(cached) " >&6
37873 else
37876 ac_ext=cpp
37877 ac_cpp='$CXXCPP $CPPFLAGS'
37878 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37879 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37880 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37883 /* end confdefs.h. */
37884 #include <math.h>
37886 main ()
37888 modff(0, 0);
37890 return 0;
37892 _ACEOF
37893 if ac_fn_cxx_try_compile "$LINENO"; then :
37894 glibcxx_cv_func_modff_use=yes
37895 else
37896 glibcxx_cv_func_modff_use=no
37898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37899 ac_ext=c
37900 ac_cpp='$CPP $CPPFLAGS'
37901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
37910 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
37912 if test x$glibcxx_cv_func_modff_use = x"yes"; then
37913 for ac_func in modff
37914 do :
37915 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
37916 if test "x$ac_cv_func_modff" = xyes; then :
37917 cat >>confdefs.h <<_ACEOF
37918 #define HAVE_MODFF 1
37919 _ACEOF
37922 done
37924 else
37926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
37927 $as_echo_n "checking for _modff declaration... " >&6; }
37928 if test x${glibcxx_cv_func__modff_use+set} != xset; then
37929 if ${glibcxx_cv_func__modff_use+:} false; then :
37930 $as_echo_n "(cached) " >&6
37931 else
37934 ac_ext=cpp
37935 ac_cpp='$CXXCPP $CPPFLAGS'
37936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37941 /* end confdefs.h. */
37942 #include <math.h>
37944 main ()
37946 _modff(0, 0);
37948 return 0;
37950 _ACEOF
37951 if ac_fn_cxx_try_compile "$LINENO"; then :
37952 glibcxx_cv_func__modff_use=yes
37953 else
37954 glibcxx_cv_func__modff_use=no
37956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37957 ac_ext=c
37958 ac_cpp='$CPP $CPPFLAGS'
37959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
37968 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
37970 if test x$glibcxx_cv_func__modff_use = x"yes"; then
37971 for ac_func in _modff
37972 do :
37973 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
37974 if test "x$ac_cv_func__modff" = xyes; then :
37975 cat >>confdefs.h <<_ACEOF
37976 #define HAVE__MODFF 1
37977 _ACEOF
37980 done
37989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
37990 $as_echo_n "checking for modf declaration... " >&6; }
37991 if test x${glibcxx_cv_func_modf_use+set} != xset; then
37992 if ${glibcxx_cv_func_modf_use+:} false; then :
37993 $as_echo_n "(cached) " >&6
37994 else
37997 ac_ext=cpp
37998 ac_cpp='$CXXCPP $CPPFLAGS'
37999 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38000 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38001 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38004 /* end confdefs.h. */
38005 #include <math.h>
38007 main ()
38009 modf(0, 0);
38011 return 0;
38013 _ACEOF
38014 if ac_fn_cxx_try_compile "$LINENO"; then :
38015 glibcxx_cv_func_modf_use=yes
38016 else
38017 glibcxx_cv_func_modf_use=no
38019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38020 ac_ext=c
38021 ac_cpp='$CPP $CPPFLAGS'
38022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
38031 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
38033 if test x$glibcxx_cv_func_modf_use = x"yes"; then
38034 for ac_func in modf
38035 do :
38036 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
38037 if test "x$ac_cv_func_modf" = xyes; then :
38038 cat >>confdefs.h <<_ACEOF
38039 #define HAVE_MODF 1
38040 _ACEOF
38043 done
38045 else
38047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
38048 $as_echo_n "checking for _modf declaration... " >&6; }
38049 if test x${glibcxx_cv_func__modf_use+set} != xset; then
38050 if ${glibcxx_cv_func__modf_use+:} false; then :
38051 $as_echo_n "(cached) " >&6
38052 else
38055 ac_ext=cpp
38056 ac_cpp='$CXXCPP $CPPFLAGS'
38057 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38058 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38059 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38062 /* end confdefs.h. */
38063 #include <math.h>
38065 main ()
38067 _modf(0, 0);
38069 return 0;
38071 _ACEOF
38072 if ac_fn_cxx_try_compile "$LINENO"; then :
38073 glibcxx_cv_func__modf_use=yes
38074 else
38075 glibcxx_cv_func__modf_use=no
38077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38078 ac_ext=c
38079 ac_cpp='$CPP $CPPFLAGS'
38080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
38089 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
38091 if test x$glibcxx_cv_func__modf_use = x"yes"; then
38092 for ac_func in _modf
38093 do :
38094 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
38095 if test "x$ac_cv_func__modf" = xyes; then :
38096 cat >>confdefs.h <<_ACEOF
38097 #define HAVE__MODF 1
38098 _ACEOF
38101 done
38110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
38111 $as_echo_n "checking for powf declaration... " >&6; }
38112 if test x${glibcxx_cv_func_powf_use+set} != xset; then
38113 if ${glibcxx_cv_func_powf_use+:} false; then :
38114 $as_echo_n "(cached) " >&6
38115 else
38118 ac_ext=cpp
38119 ac_cpp='$CXXCPP $CPPFLAGS'
38120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38125 /* end confdefs.h. */
38126 #include <math.h>
38128 main ()
38130 powf(0, 0);
38132 return 0;
38134 _ACEOF
38135 if ac_fn_cxx_try_compile "$LINENO"; then :
38136 glibcxx_cv_func_powf_use=yes
38137 else
38138 glibcxx_cv_func_powf_use=no
38140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38141 ac_ext=c
38142 ac_cpp='$CPP $CPPFLAGS'
38143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
38152 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
38154 if test x$glibcxx_cv_func_powf_use = x"yes"; then
38155 for ac_func in powf
38156 do :
38157 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
38158 if test "x$ac_cv_func_powf" = xyes; then :
38159 cat >>confdefs.h <<_ACEOF
38160 #define HAVE_POWF 1
38161 _ACEOF
38164 done
38166 else
38168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
38169 $as_echo_n "checking for _powf declaration... " >&6; }
38170 if test x${glibcxx_cv_func__powf_use+set} != xset; then
38171 if ${glibcxx_cv_func__powf_use+:} false; then :
38172 $as_echo_n "(cached) " >&6
38173 else
38176 ac_ext=cpp
38177 ac_cpp='$CXXCPP $CPPFLAGS'
38178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38183 /* end confdefs.h. */
38184 #include <math.h>
38186 main ()
38188 _powf(0, 0);
38190 return 0;
38192 _ACEOF
38193 if ac_fn_cxx_try_compile "$LINENO"; then :
38194 glibcxx_cv_func__powf_use=yes
38195 else
38196 glibcxx_cv_func__powf_use=no
38198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38199 ac_ext=c
38200 ac_cpp='$CPP $CPPFLAGS'
38201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
38210 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
38212 if test x$glibcxx_cv_func__powf_use = x"yes"; then
38213 for ac_func in _powf
38214 do :
38215 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
38216 if test "x$ac_cv_func__powf" = xyes; then :
38217 cat >>confdefs.h <<_ACEOF
38218 #define HAVE__POWF 1
38219 _ACEOF
38222 done
38231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
38232 $as_echo_n "checking for sqrtf declaration... " >&6; }
38233 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
38234 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
38235 $as_echo_n "(cached) " >&6
38236 else
38239 ac_ext=cpp
38240 ac_cpp='$CXXCPP $CPPFLAGS'
38241 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38242 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38243 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38246 /* end confdefs.h. */
38247 #include <math.h>
38248 #ifdef HAVE_IEEEFP_H
38249 #include <ieeefp.h>
38250 #endif
38253 main ()
38255 sqrtf(0);
38257 return 0;
38259 _ACEOF
38260 if ac_fn_cxx_try_compile "$LINENO"; then :
38261 glibcxx_cv_func_sqrtf_use=yes
38262 else
38263 glibcxx_cv_func_sqrtf_use=no
38265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38266 ac_ext=c
38267 ac_cpp='$CPP $CPPFLAGS'
38268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
38277 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
38279 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
38280 for ac_func in sqrtf
38281 do :
38282 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
38283 if test "x$ac_cv_func_sqrtf" = xyes; then :
38284 cat >>confdefs.h <<_ACEOF
38285 #define HAVE_SQRTF 1
38286 _ACEOF
38289 done
38291 else
38293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
38294 $as_echo_n "checking for _sqrtf declaration... " >&6; }
38295 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
38296 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
38297 $as_echo_n "(cached) " >&6
38298 else
38301 ac_ext=cpp
38302 ac_cpp='$CXXCPP $CPPFLAGS'
38303 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38304 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38305 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38308 /* end confdefs.h. */
38309 #include <math.h>
38310 #ifdef HAVE_IEEEFP_H
38311 #include <ieeefp.h>
38312 #endif
38315 main ()
38317 _sqrtf(0);
38319 return 0;
38321 _ACEOF
38322 if ac_fn_cxx_try_compile "$LINENO"; then :
38323 glibcxx_cv_func__sqrtf_use=yes
38324 else
38325 glibcxx_cv_func__sqrtf_use=no
38327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38328 ac_ext=c
38329 ac_cpp='$CPP $CPPFLAGS'
38330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
38339 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
38341 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
38342 for ac_func in _sqrtf
38343 do :
38344 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
38345 if test "x$ac_cv_func__sqrtf" = xyes; then :
38346 cat >>confdefs.h <<_ACEOF
38347 #define HAVE__SQRTF 1
38348 _ACEOF
38351 done
38360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
38361 $as_echo_n "checking for sincosf declaration... " >&6; }
38362 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
38363 if ${glibcxx_cv_func_sincosf_use+:} false; then :
38364 $as_echo_n "(cached) " >&6
38365 else
38368 ac_ext=cpp
38369 ac_cpp='$CXXCPP $CPPFLAGS'
38370 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38371 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38372 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38375 /* end confdefs.h. */
38376 #include <math.h>
38378 main ()
38380 sincosf(0, 0, 0);
38382 return 0;
38384 _ACEOF
38385 if ac_fn_cxx_try_compile "$LINENO"; then :
38386 glibcxx_cv_func_sincosf_use=yes
38387 else
38388 glibcxx_cv_func_sincosf_use=no
38390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38391 ac_ext=c
38392 ac_cpp='$CPP $CPPFLAGS'
38393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
38402 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
38404 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
38405 for ac_func in sincosf
38406 do :
38407 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
38408 if test "x$ac_cv_func_sincosf" = xyes; then :
38409 cat >>confdefs.h <<_ACEOF
38410 #define HAVE_SINCOSF 1
38411 _ACEOF
38414 done
38416 else
38418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
38419 $as_echo_n "checking for _sincosf declaration... " >&6; }
38420 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
38421 if ${glibcxx_cv_func__sincosf_use+:} false; then :
38422 $as_echo_n "(cached) " >&6
38423 else
38426 ac_ext=cpp
38427 ac_cpp='$CXXCPP $CPPFLAGS'
38428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38433 /* end confdefs.h. */
38434 #include <math.h>
38436 main ()
38438 _sincosf(0, 0, 0);
38440 return 0;
38442 _ACEOF
38443 if ac_fn_cxx_try_compile "$LINENO"; then :
38444 glibcxx_cv_func__sincosf_use=yes
38445 else
38446 glibcxx_cv_func__sincosf_use=no
38448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38449 ac_ext=c
38450 ac_cpp='$CPP $CPPFLAGS'
38451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
38460 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
38462 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
38463 for ac_func in _sincosf
38464 do :
38465 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
38466 if test "x$ac_cv_func__sincosf" = xyes; then :
38467 cat >>confdefs.h <<_ACEOF
38468 #define HAVE__SINCOSF 1
38469 _ACEOF
38472 done
38481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
38482 $as_echo_n "checking for finitef declaration... " >&6; }
38483 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
38484 if ${glibcxx_cv_func_finitef_use+:} false; then :
38485 $as_echo_n "(cached) " >&6
38486 else
38489 ac_ext=cpp
38490 ac_cpp='$CXXCPP $CPPFLAGS'
38491 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38492 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38493 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38496 /* end confdefs.h. */
38497 #include <math.h>
38498 #ifdef HAVE_IEEEFP_H
38499 #include <ieeefp.h>
38500 #endif
38503 main ()
38505 finitef(0);
38507 return 0;
38509 _ACEOF
38510 if ac_fn_cxx_try_compile "$LINENO"; then :
38511 glibcxx_cv_func_finitef_use=yes
38512 else
38513 glibcxx_cv_func_finitef_use=no
38515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38516 ac_ext=c
38517 ac_cpp='$CPP $CPPFLAGS'
38518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
38527 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
38529 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
38530 for ac_func in finitef
38531 do :
38532 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
38533 if test "x$ac_cv_func_finitef" = xyes; then :
38534 cat >>confdefs.h <<_ACEOF
38535 #define HAVE_FINITEF 1
38536 _ACEOF
38539 done
38541 else
38543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
38544 $as_echo_n "checking for _finitef declaration... " >&6; }
38545 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
38546 if ${glibcxx_cv_func__finitef_use+:} false; then :
38547 $as_echo_n "(cached) " >&6
38548 else
38551 ac_ext=cpp
38552 ac_cpp='$CXXCPP $CPPFLAGS'
38553 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38554 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38555 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38558 /* end confdefs.h. */
38559 #include <math.h>
38560 #ifdef HAVE_IEEEFP_H
38561 #include <ieeefp.h>
38562 #endif
38565 main ()
38567 _finitef(0);
38569 return 0;
38571 _ACEOF
38572 if ac_fn_cxx_try_compile "$LINENO"; then :
38573 glibcxx_cv_func__finitef_use=yes
38574 else
38575 glibcxx_cv_func__finitef_use=no
38577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38578 ac_ext=c
38579 ac_cpp='$CPP $CPPFLAGS'
38580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
38589 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
38591 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
38592 for ac_func in _finitef
38593 do :
38594 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
38595 if test "x$ac_cv_func__finitef" = xyes; then :
38596 cat >>confdefs.h <<_ACEOF
38597 #define HAVE__FINITEF 1
38598 _ACEOF
38601 done
38610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
38611 $as_echo_n "checking for long double trig functions... " >&6; }
38612 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
38613 $as_echo_n "(cached) " >&6
38614 else
38617 ac_ext=cpp
38618 ac_cpp='$CXXCPP $CPPFLAGS'
38619 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38620 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38621 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38624 /* end confdefs.h. */
38625 #include <math.h>
38627 main ()
38629 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
38631 return 0;
38633 _ACEOF
38634 if ac_fn_cxx_try_compile "$LINENO"; then :
38635 glibcxx_cv_func_long_double_trig_use=yes
38636 else
38637 glibcxx_cv_func_long_double_trig_use=no
38639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38640 ac_ext=c
38641 ac_cpp='$CPP $CPPFLAGS'
38642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
38649 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
38650 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
38651 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
38652 do :
38653 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38654 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38655 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
38656 cat >>confdefs.h <<_ACEOF
38657 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38658 _ACEOF
38661 done
38663 else
38664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
38665 $as_echo_n "checking for _long double trig functions... " >&6; }
38666 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
38667 $as_echo_n "(cached) " >&6
38668 else
38671 ac_ext=cpp
38672 ac_cpp='$CXXCPP $CPPFLAGS'
38673 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38674 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38675 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38678 /* end confdefs.h. */
38679 #include <math.h>
38681 main ()
38683 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
38685 return 0;
38687 _ACEOF
38688 if ac_fn_cxx_try_compile "$LINENO"; then :
38689 glibcxx_cv_func__long_double_trig_use=yes
38690 else
38691 glibcxx_cv_func__long_double_trig_use=no
38693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38694 ac_ext=c
38695 ac_cpp='$CPP $CPPFLAGS'
38696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
38703 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
38704 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
38705 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
38706 do :
38707 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38708 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38709 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
38710 cat >>confdefs.h <<_ACEOF
38711 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38712 _ACEOF
38715 done
38724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
38725 $as_echo_n "checking for long double round functions... " >&6; }
38726 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
38727 $as_echo_n "(cached) " >&6
38728 else
38731 ac_ext=cpp
38732 ac_cpp='$CXXCPP $CPPFLAGS'
38733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38738 /* end confdefs.h. */
38739 #include <math.h>
38741 main ()
38743 ceill (0); floorl (0);
38745 return 0;
38747 _ACEOF
38748 if ac_fn_cxx_try_compile "$LINENO"; then :
38749 glibcxx_cv_func_long_double_round_use=yes
38750 else
38751 glibcxx_cv_func_long_double_round_use=no
38753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38754 ac_ext=c
38755 ac_cpp='$CPP $CPPFLAGS'
38756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
38763 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
38764 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
38765 for ac_func in ceill floorl
38766 do :
38767 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38768 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38769 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
38770 cat >>confdefs.h <<_ACEOF
38771 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38772 _ACEOF
38775 done
38777 else
38778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
38779 $as_echo_n "checking for _long double round functions... " >&6; }
38780 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
38781 $as_echo_n "(cached) " >&6
38782 else
38785 ac_ext=cpp
38786 ac_cpp='$CXXCPP $CPPFLAGS'
38787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38792 /* end confdefs.h. */
38793 #include <math.h>
38795 main ()
38797 _ceill (0); _floorl (0);
38799 return 0;
38801 _ACEOF
38802 if ac_fn_cxx_try_compile "$LINENO"; then :
38803 glibcxx_cv_func__long_double_round_use=yes
38804 else
38805 glibcxx_cv_func__long_double_round_use=no
38807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38808 ac_ext=c
38809 ac_cpp='$CPP $CPPFLAGS'
38810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
38817 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
38818 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
38819 for ac_func in _ceill _floorl
38820 do :
38821 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38822 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38823 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
38824 cat >>confdefs.h <<_ACEOF
38825 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38826 _ACEOF
38829 done
38839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
38840 $as_echo_n "checking for isnanl declaration... " >&6; }
38841 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
38842 if ${glibcxx_cv_func_isnanl_use+:} false; then :
38843 $as_echo_n "(cached) " >&6
38844 else
38847 ac_ext=cpp
38848 ac_cpp='$CXXCPP $CPPFLAGS'
38849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38854 /* end confdefs.h. */
38855 #include <math.h>
38856 #ifdef HAVE_IEEEFP_H
38857 #include <ieeefp.h>
38858 #endif
38861 main ()
38863 isnanl(0);
38865 return 0;
38867 _ACEOF
38868 if ac_fn_cxx_try_compile "$LINENO"; then :
38869 glibcxx_cv_func_isnanl_use=yes
38870 else
38871 glibcxx_cv_func_isnanl_use=no
38873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38874 ac_ext=c
38875 ac_cpp='$CPP $CPPFLAGS'
38876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
38885 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
38887 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
38888 for ac_func in isnanl
38889 do :
38890 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
38891 if test "x$ac_cv_func_isnanl" = xyes; then :
38892 cat >>confdefs.h <<_ACEOF
38893 #define HAVE_ISNANL 1
38894 _ACEOF
38897 done
38899 else
38901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
38902 $as_echo_n "checking for _isnanl declaration... " >&6; }
38903 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
38904 if ${glibcxx_cv_func__isnanl_use+:} false; then :
38905 $as_echo_n "(cached) " >&6
38906 else
38909 ac_ext=cpp
38910 ac_cpp='$CXXCPP $CPPFLAGS'
38911 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38912 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38913 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38916 /* end confdefs.h. */
38917 #include <math.h>
38918 #ifdef HAVE_IEEEFP_H
38919 #include <ieeefp.h>
38920 #endif
38923 main ()
38925 _isnanl(0);
38927 return 0;
38929 _ACEOF
38930 if ac_fn_cxx_try_compile "$LINENO"; then :
38931 glibcxx_cv_func__isnanl_use=yes
38932 else
38933 glibcxx_cv_func__isnanl_use=no
38935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38936 ac_ext=c
38937 ac_cpp='$CPP $CPPFLAGS'
38938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
38947 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
38949 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
38950 for ac_func in _isnanl
38951 do :
38952 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
38953 if test "x$ac_cv_func__isnanl" = xyes; then :
38954 cat >>confdefs.h <<_ACEOF
38955 #define HAVE__ISNANL 1
38956 _ACEOF
38959 done
38968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
38969 $as_echo_n "checking for isinfl declaration... " >&6; }
38970 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
38971 if ${glibcxx_cv_func_isinfl_use+:} false; then :
38972 $as_echo_n "(cached) " >&6
38973 else
38976 ac_ext=cpp
38977 ac_cpp='$CXXCPP $CPPFLAGS'
38978 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38979 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38980 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38983 /* end confdefs.h. */
38984 #include <math.h>
38985 #ifdef HAVE_IEEEFP_H
38986 #include <ieeefp.h>
38987 #endif
38990 main ()
38992 isinfl(0);
38994 return 0;
38996 _ACEOF
38997 if ac_fn_cxx_try_compile "$LINENO"; then :
38998 glibcxx_cv_func_isinfl_use=yes
38999 else
39000 glibcxx_cv_func_isinfl_use=no
39002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39003 ac_ext=c
39004 ac_cpp='$CPP $CPPFLAGS'
39005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
39014 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
39016 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
39017 for ac_func in isinfl
39018 do :
39019 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
39020 if test "x$ac_cv_func_isinfl" = xyes; then :
39021 cat >>confdefs.h <<_ACEOF
39022 #define HAVE_ISINFL 1
39023 _ACEOF
39026 done
39028 else
39030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
39031 $as_echo_n "checking for _isinfl declaration... " >&6; }
39032 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
39033 if ${glibcxx_cv_func__isinfl_use+:} false; then :
39034 $as_echo_n "(cached) " >&6
39035 else
39038 ac_ext=cpp
39039 ac_cpp='$CXXCPP $CPPFLAGS'
39040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39045 /* end confdefs.h. */
39046 #include <math.h>
39047 #ifdef HAVE_IEEEFP_H
39048 #include <ieeefp.h>
39049 #endif
39052 main ()
39054 _isinfl(0);
39056 return 0;
39058 _ACEOF
39059 if ac_fn_cxx_try_compile "$LINENO"; then :
39060 glibcxx_cv_func__isinfl_use=yes
39061 else
39062 glibcxx_cv_func__isinfl_use=no
39064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39065 ac_ext=c
39066 ac_cpp='$CPP $CPPFLAGS'
39067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
39076 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
39078 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
39079 for ac_func in _isinfl
39080 do :
39081 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
39082 if test "x$ac_cv_func__isinfl" = xyes; then :
39083 cat >>confdefs.h <<_ACEOF
39084 #define HAVE__ISINFL 1
39085 _ACEOF
39088 done
39097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
39098 $as_echo_n "checking for atan2l declaration... " >&6; }
39099 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
39100 if ${glibcxx_cv_func_atan2l_use+:} false; then :
39101 $as_echo_n "(cached) " >&6
39102 else
39105 ac_ext=cpp
39106 ac_cpp='$CXXCPP $CPPFLAGS'
39107 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39108 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39109 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39112 /* end confdefs.h. */
39113 #include <math.h>
39115 main ()
39117 atan2l(0, 0);
39119 return 0;
39121 _ACEOF
39122 if ac_fn_cxx_try_compile "$LINENO"; then :
39123 glibcxx_cv_func_atan2l_use=yes
39124 else
39125 glibcxx_cv_func_atan2l_use=no
39127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39128 ac_ext=c
39129 ac_cpp='$CPP $CPPFLAGS'
39130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
39139 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
39141 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
39142 for ac_func in atan2l
39143 do :
39144 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
39145 if test "x$ac_cv_func_atan2l" = xyes; then :
39146 cat >>confdefs.h <<_ACEOF
39147 #define HAVE_ATAN2L 1
39148 _ACEOF
39151 done
39153 else
39155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
39156 $as_echo_n "checking for _atan2l declaration... " >&6; }
39157 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
39158 if ${glibcxx_cv_func__atan2l_use+:} false; then :
39159 $as_echo_n "(cached) " >&6
39160 else
39163 ac_ext=cpp
39164 ac_cpp='$CXXCPP $CPPFLAGS'
39165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39170 /* end confdefs.h. */
39171 #include <math.h>
39173 main ()
39175 _atan2l(0, 0);
39177 return 0;
39179 _ACEOF
39180 if ac_fn_cxx_try_compile "$LINENO"; then :
39181 glibcxx_cv_func__atan2l_use=yes
39182 else
39183 glibcxx_cv_func__atan2l_use=no
39185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39186 ac_ext=c
39187 ac_cpp='$CPP $CPPFLAGS'
39188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
39197 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
39199 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
39200 for ac_func in _atan2l
39201 do :
39202 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
39203 if test "x$ac_cv_func__atan2l" = xyes; then :
39204 cat >>confdefs.h <<_ACEOF
39205 #define HAVE__ATAN2L 1
39206 _ACEOF
39209 done
39218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
39219 $as_echo_n "checking for expl declaration... " >&6; }
39220 if test x${glibcxx_cv_func_expl_use+set} != xset; then
39221 if ${glibcxx_cv_func_expl_use+:} false; then :
39222 $as_echo_n "(cached) " >&6
39223 else
39226 ac_ext=cpp
39227 ac_cpp='$CXXCPP $CPPFLAGS'
39228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39233 /* end confdefs.h. */
39234 #include <math.h>
39235 #ifdef HAVE_IEEEFP_H
39236 #include <ieeefp.h>
39237 #endif
39240 main ()
39242 expl(0);
39244 return 0;
39246 _ACEOF
39247 if ac_fn_cxx_try_compile "$LINENO"; then :
39248 glibcxx_cv_func_expl_use=yes
39249 else
39250 glibcxx_cv_func_expl_use=no
39252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39253 ac_ext=c
39254 ac_cpp='$CPP $CPPFLAGS'
39255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
39264 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
39266 if test x$glibcxx_cv_func_expl_use = x"yes"; then
39267 for ac_func in expl
39268 do :
39269 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
39270 if test "x$ac_cv_func_expl" = xyes; then :
39271 cat >>confdefs.h <<_ACEOF
39272 #define HAVE_EXPL 1
39273 _ACEOF
39276 done
39278 else
39280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
39281 $as_echo_n "checking for _expl declaration... " >&6; }
39282 if test x${glibcxx_cv_func__expl_use+set} != xset; then
39283 if ${glibcxx_cv_func__expl_use+:} false; then :
39284 $as_echo_n "(cached) " >&6
39285 else
39288 ac_ext=cpp
39289 ac_cpp='$CXXCPP $CPPFLAGS'
39290 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39291 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39292 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39295 /* end confdefs.h. */
39296 #include <math.h>
39297 #ifdef HAVE_IEEEFP_H
39298 #include <ieeefp.h>
39299 #endif
39302 main ()
39304 _expl(0);
39306 return 0;
39308 _ACEOF
39309 if ac_fn_cxx_try_compile "$LINENO"; then :
39310 glibcxx_cv_func__expl_use=yes
39311 else
39312 glibcxx_cv_func__expl_use=no
39314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39315 ac_ext=c
39316 ac_cpp='$CPP $CPPFLAGS'
39317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
39326 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
39328 if test x$glibcxx_cv_func__expl_use = x"yes"; then
39329 for ac_func in _expl
39330 do :
39331 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
39332 if test "x$ac_cv_func__expl" = xyes; then :
39333 cat >>confdefs.h <<_ACEOF
39334 #define HAVE__EXPL 1
39335 _ACEOF
39338 done
39347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
39348 $as_echo_n "checking for fabsl declaration... " >&6; }
39349 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
39350 if ${glibcxx_cv_func_fabsl_use+:} false; then :
39351 $as_echo_n "(cached) " >&6
39352 else
39355 ac_ext=cpp
39356 ac_cpp='$CXXCPP $CPPFLAGS'
39357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39362 /* end confdefs.h. */
39363 #include <math.h>
39364 #ifdef HAVE_IEEEFP_H
39365 #include <ieeefp.h>
39366 #endif
39369 main ()
39371 fabsl(0);
39373 return 0;
39375 _ACEOF
39376 if ac_fn_cxx_try_compile "$LINENO"; then :
39377 glibcxx_cv_func_fabsl_use=yes
39378 else
39379 glibcxx_cv_func_fabsl_use=no
39381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39382 ac_ext=c
39383 ac_cpp='$CPP $CPPFLAGS'
39384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
39393 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
39395 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
39396 for ac_func in fabsl
39397 do :
39398 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
39399 if test "x$ac_cv_func_fabsl" = xyes; then :
39400 cat >>confdefs.h <<_ACEOF
39401 #define HAVE_FABSL 1
39402 _ACEOF
39405 done
39407 else
39409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
39410 $as_echo_n "checking for _fabsl declaration... " >&6; }
39411 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
39412 if ${glibcxx_cv_func__fabsl_use+:} false; then :
39413 $as_echo_n "(cached) " >&6
39414 else
39417 ac_ext=cpp
39418 ac_cpp='$CXXCPP $CPPFLAGS'
39419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39424 /* end confdefs.h. */
39425 #include <math.h>
39426 #ifdef HAVE_IEEEFP_H
39427 #include <ieeefp.h>
39428 #endif
39431 main ()
39433 _fabsl(0);
39435 return 0;
39437 _ACEOF
39438 if ac_fn_cxx_try_compile "$LINENO"; then :
39439 glibcxx_cv_func__fabsl_use=yes
39440 else
39441 glibcxx_cv_func__fabsl_use=no
39443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39444 ac_ext=c
39445 ac_cpp='$CPP $CPPFLAGS'
39446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
39455 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
39457 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
39458 for ac_func in _fabsl
39459 do :
39460 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
39461 if test "x$ac_cv_func__fabsl" = xyes; then :
39462 cat >>confdefs.h <<_ACEOF
39463 #define HAVE__FABSL 1
39464 _ACEOF
39467 done
39476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
39477 $as_echo_n "checking for fmodl declaration... " >&6; }
39478 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
39479 if ${glibcxx_cv_func_fmodl_use+:} false; then :
39480 $as_echo_n "(cached) " >&6
39481 else
39484 ac_ext=cpp
39485 ac_cpp='$CXXCPP $CPPFLAGS'
39486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39491 /* end confdefs.h. */
39492 #include <math.h>
39494 main ()
39496 fmodl(0, 0);
39498 return 0;
39500 _ACEOF
39501 if ac_fn_cxx_try_compile "$LINENO"; then :
39502 glibcxx_cv_func_fmodl_use=yes
39503 else
39504 glibcxx_cv_func_fmodl_use=no
39506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39507 ac_ext=c
39508 ac_cpp='$CPP $CPPFLAGS'
39509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
39518 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
39520 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
39521 for ac_func in fmodl
39522 do :
39523 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
39524 if test "x$ac_cv_func_fmodl" = xyes; then :
39525 cat >>confdefs.h <<_ACEOF
39526 #define HAVE_FMODL 1
39527 _ACEOF
39530 done
39532 else
39534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
39535 $as_echo_n "checking for _fmodl declaration... " >&6; }
39536 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
39537 if ${glibcxx_cv_func__fmodl_use+:} false; then :
39538 $as_echo_n "(cached) " >&6
39539 else
39542 ac_ext=cpp
39543 ac_cpp='$CXXCPP $CPPFLAGS'
39544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39549 /* end confdefs.h. */
39550 #include <math.h>
39552 main ()
39554 _fmodl(0, 0);
39556 return 0;
39558 _ACEOF
39559 if ac_fn_cxx_try_compile "$LINENO"; then :
39560 glibcxx_cv_func__fmodl_use=yes
39561 else
39562 glibcxx_cv_func__fmodl_use=no
39564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39565 ac_ext=c
39566 ac_cpp='$CPP $CPPFLAGS'
39567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
39576 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
39578 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
39579 for ac_func in _fmodl
39580 do :
39581 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
39582 if test "x$ac_cv_func__fmodl" = xyes; then :
39583 cat >>confdefs.h <<_ACEOF
39584 #define HAVE__FMODL 1
39585 _ACEOF
39588 done
39597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
39598 $as_echo_n "checking for frexpl declaration... " >&6; }
39599 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
39600 if ${glibcxx_cv_func_frexpl_use+:} false; then :
39601 $as_echo_n "(cached) " >&6
39602 else
39605 ac_ext=cpp
39606 ac_cpp='$CXXCPP $CPPFLAGS'
39607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39612 /* end confdefs.h. */
39613 #include <math.h>
39615 main ()
39617 frexpl(0, 0);
39619 return 0;
39621 _ACEOF
39622 if ac_fn_cxx_try_compile "$LINENO"; then :
39623 glibcxx_cv_func_frexpl_use=yes
39624 else
39625 glibcxx_cv_func_frexpl_use=no
39627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39628 ac_ext=c
39629 ac_cpp='$CPP $CPPFLAGS'
39630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
39639 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
39641 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
39642 for ac_func in frexpl
39643 do :
39644 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
39645 if test "x$ac_cv_func_frexpl" = xyes; then :
39646 cat >>confdefs.h <<_ACEOF
39647 #define HAVE_FREXPL 1
39648 _ACEOF
39651 done
39653 else
39655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
39656 $as_echo_n "checking for _frexpl declaration... " >&6; }
39657 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
39658 if ${glibcxx_cv_func__frexpl_use+:} false; then :
39659 $as_echo_n "(cached) " >&6
39660 else
39663 ac_ext=cpp
39664 ac_cpp='$CXXCPP $CPPFLAGS'
39665 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39666 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39667 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39670 /* end confdefs.h. */
39671 #include <math.h>
39673 main ()
39675 _frexpl(0, 0);
39677 return 0;
39679 _ACEOF
39680 if ac_fn_cxx_try_compile "$LINENO"; then :
39681 glibcxx_cv_func__frexpl_use=yes
39682 else
39683 glibcxx_cv_func__frexpl_use=no
39685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39686 ac_ext=c
39687 ac_cpp='$CPP $CPPFLAGS'
39688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
39697 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
39699 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
39700 for ac_func in _frexpl
39701 do :
39702 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
39703 if test "x$ac_cv_func__frexpl" = xyes; then :
39704 cat >>confdefs.h <<_ACEOF
39705 #define HAVE__FREXPL 1
39706 _ACEOF
39709 done
39718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
39719 $as_echo_n "checking for hypotl declaration... " >&6; }
39720 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
39721 if ${glibcxx_cv_func_hypotl_use+:} false; then :
39722 $as_echo_n "(cached) " >&6
39723 else
39726 ac_ext=cpp
39727 ac_cpp='$CXXCPP $CPPFLAGS'
39728 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39729 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39730 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39733 /* end confdefs.h. */
39734 #include <math.h>
39736 main ()
39738 hypotl(0, 0);
39740 return 0;
39742 _ACEOF
39743 if ac_fn_cxx_try_compile "$LINENO"; then :
39744 glibcxx_cv_func_hypotl_use=yes
39745 else
39746 glibcxx_cv_func_hypotl_use=no
39748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39749 ac_ext=c
39750 ac_cpp='$CPP $CPPFLAGS'
39751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
39760 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
39762 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
39763 for ac_func in hypotl
39764 do :
39765 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
39766 if test "x$ac_cv_func_hypotl" = xyes; then :
39767 cat >>confdefs.h <<_ACEOF
39768 #define HAVE_HYPOTL 1
39769 _ACEOF
39772 done
39774 else
39776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
39777 $as_echo_n "checking for _hypotl declaration... " >&6; }
39778 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
39779 if ${glibcxx_cv_func__hypotl_use+:} false; then :
39780 $as_echo_n "(cached) " >&6
39781 else
39784 ac_ext=cpp
39785 ac_cpp='$CXXCPP $CPPFLAGS'
39786 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39787 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39788 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39791 /* end confdefs.h. */
39792 #include <math.h>
39794 main ()
39796 _hypotl(0, 0);
39798 return 0;
39800 _ACEOF
39801 if ac_fn_cxx_try_compile "$LINENO"; then :
39802 glibcxx_cv_func__hypotl_use=yes
39803 else
39804 glibcxx_cv_func__hypotl_use=no
39806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39807 ac_ext=c
39808 ac_cpp='$CPP $CPPFLAGS'
39809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
39818 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
39820 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
39821 for ac_func in _hypotl
39822 do :
39823 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
39824 if test "x$ac_cv_func__hypotl" = xyes; then :
39825 cat >>confdefs.h <<_ACEOF
39826 #define HAVE__HYPOTL 1
39827 _ACEOF
39830 done
39839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
39840 $as_echo_n "checking for ldexpl declaration... " >&6; }
39841 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
39842 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
39843 $as_echo_n "(cached) " >&6
39844 else
39847 ac_ext=cpp
39848 ac_cpp='$CXXCPP $CPPFLAGS'
39849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39854 /* end confdefs.h. */
39855 #include <math.h>
39857 main ()
39859 ldexpl(0, 0);
39861 return 0;
39863 _ACEOF
39864 if ac_fn_cxx_try_compile "$LINENO"; then :
39865 glibcxx_cv_func_ldexpl_use=yes
39866 else
39867 glibcxx_cv_func_ldexpl_use=no
39869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39870 ac_ext=c
39871 ac_cpp='$CPP $CPPFLAGS'
39872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
39881 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
39883 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
39884 for ac_func in ldexpl
39885 do :
39886 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
39887 if test "x$ac_cv_func_ldexpl" = xyes; then :
39888 cat >>confdefs.h <<_ACEOF
39889 #define HAVE_LDEXPL 1
39890 _ACEOF
39893 done
39895 else
39897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
39898 $as_echo_n "checking for _ldexpl declaration... " >&6; }
39899 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
39900 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
39901 $as_echo_n "(cached) " >&6
39902 else
39905 ac_ext=cpp
39906 ac_cpp='$CXXCPP $CPPFLAGS'
39907 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39908 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39909 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39912 /* end confdefs.h. */
39913 #include <math.h>
39915 main ()
39917 _ldexpl(0, 0);
39919 return 0;
39921 _ACEOF
39922 if ac_fn_cxx_try_compile "$LINENO"; then :
39923 glibcxx_cv_func__ldexpl_use=yes
39924 else
39925 glibcxx_cv_func__ldexpl_use=no
39927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39928 ac_ext=c
39929 ac_cpp='$CPP $CPPFLAGS'
39930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
39939 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
39941 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
39942 for ac_func in _ldexpl
39943 do :
39944 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
39945 if test "x$ac_cv_func__ldexpl" = xyes; then :
39946 cat >>confdefs.h <<_ACEOF
39947 #define HAVE__LDEXPL 1
39948 _ACEOF
39951 done
39960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
39961 $as_echo_n "checking for logl declaration... " >&6; }
39962 if test x${glibcxx_cv_func_logl_use+set} != xset; then
39963 if ${glibcxx_cv_func_logl_use+:} false; then :
39964 $as_echo_n "(cached) " >&6
39965 else
39968 ac_ext=cpp
39969 ac_cpp='$CXXCPP $CPPFLAGS'
39970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39975 /* end confdefs.h. */
39976 #include <math.h>
39977 #ifdef HAVE_IEEEFP_H
39978 #include <ieeefp.h>
39979 #endif
39982 main ()
39984 logl(0);
39986 return 0;
39988 _ACEOF
39989 if ac_fn_cxx_try_compile "$LINENO"; then :
39990 glibcxx_cv_func_logl_use=yes
39991 else
39992 glibcxx_cv_func_logl_use=no
39994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39995 ac_ext=c
39996 ac_cpp='$CPP $CPPFLAGS'
39997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
40006 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
40008 if test x$glibcxx_cv_func_logl_use = x"yes"; then
40009 for ac_func in logl
40010 do :
40011 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
40012 if test "x$ac_cv_func_logl" = xyes; then :
40013 cat >>confdefs.h <<_ACEOF
40014 #define HAVE_LOGL 1
40015 _ACEOF
40018 done
40020 else
40022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
40023 $as_echo_n "checking for _logl declaration... " >&6; }
40024 if test x${glibcxx_cv_func__logl_use+set} != xset; then
40025 if ${glibcxx_cv_func__logl_use+:} false; then :
40026 $as_echo_n "(cached) " >&6
40027 else
40030 ac_ext=cpp
40031 ac_cpp='$CXXCPP $CPPFLAGS'
40032 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40033 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40034 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40037 /* end confdefs.h. */
40038 #include <math.h>
40039 #ifdef HAVE_IEEEFP_H
40040 #include <ieeefp.h>
40041 #endif
40044 main ()
40046 _logl(0);
40048 return 0;
40050 _ACEOF
40051 if ac_fn_cxx_try_compile "$LINENO"; then :
40052 glibcxx_cv_func__logl_use=yes
40053 else
40054 glibcxx_cv_func__logl_use=no
40056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40057 ac_ext=c
40058 ac_cpp='$CPP $CPPFLAGS'
40059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
40068 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
40070 if test x$glibcxx_cv_func__logl_use = x"yes"; then
40071 for ac_func in _logl
40072 do :
40073 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
40074 if test "x$ac_cv_func__logl" = xyes; then :
40075 cat >>confdefs.h <<_ACEOF
40076 #define HAVE__LOGL 1
40077 _ACEOF
40080 done
40089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
40090 $as_echo_n "checking for log10l declaration... " >&6; }
40091 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
40092 if ${glibcxx_cv_func_log10l_use+:} false; then :
40093 $as_echo_n "(cached) " >&6
40094 else
40097 ac_ext=cpp
40098 ac_cpp='$CXXCPP $CPPFLAGS'
40099 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40100 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40101 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40104 /* end confdefs.h. */
40105 #include <math.h>
40106 #ifdef HAVE_IEEEFP_H
40107 #include <ieeefp.h>
40108 #endif
40111 main ()
40113 log10l(0);
40115 return 0;
40117 _ACEOF
40118 if ac_fn_cxx_try_compile "$LINENO"; then :
40119 glibcxx_cv_func_log10l_use=yes
40120 else
40121 glibcxx_cv_func_log10l_use=no
40123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40124 ac_ext=c
40125 ac_cpp='$CPP $CPPFLAGS'
40126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
40135 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
40137 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
40138 for ac_func in log10l
40139 do :
40140 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
40141 if test "x$ac_cv_func_log10l" = xyes; then :
40142 cat >>confdefs.h <<_ACEOF
40143 #define HAVE_LOG10L 1
40144 _ACEOF
40147 done
40149 else
40151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
40152 $as_echo_n "checking for _log10l declaration... " >&6; }
40153 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
40154 if ${glibcxx_cv_func__log10l_use+:} false; then :
40155 $as_echo_n "(cached) " >&6
40156 else
40159 ac_ext=cpp
40160 ac_cpp='$CXXCPP $CPPFLAGS'
40161 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40162 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40163 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40166 /* end confdefs.h. */
40167 #include <math.h>
40168 #ifdef HAVE_IEEEFP_H
40169 #include <ieeefp.h>
40170 #endif
40173 main ()
40175 _log10l(0);
40177 return 0;
40179 _ACEOF
40180 if ac_fn_cxx_try_compile "$LINENO"; then :
40181 glibcxx_cv_func__log10l_use=yes
40182 else
40183 glibcxx_cv_func__log10l_use=no
40185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40186 ac_ext=c
40187 ac_cpp='$CPP $CPPFLAGS'
40188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
40197 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
40199 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
40200 for ac_func in _log10l
40201 do :
40202 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
40203 if test "x$ac_cv_func__log10l" = xyes; then :
40204 cat >>confdefs.h <<_ACEOF
40205 #define HAVE__LOG10L 1
40206 _ACEOF
40209 done
40218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
40219 $as_echo_n "checking for modfl declaration... " >&6; }
40220 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
40221 if ${glibcxx_cv_func_modfl_use+:} false; then :
40222 $as_echo_n "(cached) " >&6
40223 else
40226 ac_ext=cpp
40227 ac_cpp='$CXXCPP $CPPFLAGS'
40228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40233 /* end confdefs.h. */
40234 #include <math.h>
40236 main ()
40238 modfl(0, 0);
40240 return 0;
40242 _ACEOF
40243 if ac_fn_cxx_try_compile "$LINENO"; then :
40244 glibcxx_cv_func_modfl_use=yes
40245 else
40246 glibcxx_cv_func_modfl_use=no
40248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40249 ac_ext=c
40250 ac_cpp='$CPP $CPPFLAGS'
40251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
40260 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
40262 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
40263 for ac_func in modfl
40264 do :
40265 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
40266 if test "x$ac_cv_func_modfl" = xyes; then :
40267 cat >>confdefs.h <<_ACEOF
40268 #define HAVE_MODFL 1
40269 _ACEOF
40272 done
40274 else
40276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
40277 $as_echo_n "checking for _modfl declaration... " >&6; }
40278 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
40279 if ${glibcxx_cv_func__modfl_use+:} false; then :
40280 $as_echo_n "(cached) " >&6
40281 else
40284 ac_ext=cpp
40285 ac_cpp='$CXXCPP $CPPFLAGS'
40286 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40287 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40288 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40291 /* end confdefs.h. */
40292 #include <math.h>
40294 main ()
40296 _modfl(0, 0);
40298 return 0;
40300 _ACEOF
40301 if ac_fn_cxx_try_compile "$LINENO"; then :
40302 glibcxx_cv_func__modfl_use=yes
40303 else
40304 glibcxx_cv_func__modfl_use=no
40306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40307 ac_ext=c
40308 ac_cpp='$CPP $CPPFLAGS'
40309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
40318 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
40320 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
40321 for ac_func in _modfl
40322 do :
40323 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
40324 if test "x$ac_cv_func__modfl" = xyes; then :
40325 cat >>confdefs.h <<_ACEOF
40326 #define HAVE__MODFL 1
40327 _ACEOF
40330 done
40339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
40340 $as_echo_n "checking for powl declaration... " >&6; }
40341 if test x${glibcxx_cv_func_powl_use+set} != xset; then
40342 if ${glibcxx_cv_func_powl_use+:} false; then :
40343 $as_echo_n "(cached) " >&6
40344 else
40347 ac_ext=cpp
40348 ac_cpp='$CXXCPP $CPPFLAGS'
40349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40354 /* end confdefs.h. */
40355 #include <math.h>
40357 main ()
40359 powl(0, 0);
40361 return 0;
40363 _ACEOF
40364 if ac_fn_cxx_try_compile "$LINENO"; then :
40365 glibcxx_cv_func_powl_use=yes
40366 else
40367 glibcxx_cv_func_powl_use=no
40369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40370 ac_ext=c
40371 ac_cpp='$CPP $CPPFLAGS'
40372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
40381 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
40383 if test x$glibcxx_cv_func_powl_use = x"yes"; then
40384 for ac_func in powl
40385 do :
40386 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
40387 if test "x$ac_cv_func_powl" = xyes; then :
40388 cat >>confdefs.h <<_ACEOF
40389 #define HAVE_POWL 1
40390 _ACEOF
40393 done
40395 else
40397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
40398 $as_echo_n "checking for _powl declaration... " >&6; }
40399 if test x${glibcxx_cv_func__powl_use+set} != xset; then
40400 if ${glibcxx_cv_func__powl_use+:} false; then :
40401 $as_echo_n "(cached) " >&6
40402 else
40405 ac_ext=cpp
40406 ac_cpp='$CXXCPP $CPPFLAGS'
40407 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40408 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40409 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40412 /* end confdefs.h. */
40413 #include <math.h>
40415 main ()
40417 _powl(0, 0);
40419 return 0;
40421 _ACEOF
40422 if ac_fn_cxx_try_compile "$LINENO"; then :
40423 glibcxx_cv_func__powl_use=yes
40424 else
40425 glibcxx_cv_func__powl_use=no
40427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40428 ac_ext=c
40429 ac_cpp='$CPP $CPPFLAGS'
40430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
40439 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
40441 if test x$glibcxx_cv_func__powl_use = x"yes"; then
40442 for ac_func in _powl
40443 do :
40444 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
40445 if test "x$ac_cv_func__powl" = xyes; then :
40446 cat >>confdefs.h <<_ACEOF
40447 #define HAVE__POWL 1
40448 _ACEOF
40451 done
40460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
40461 $as_echo_n "checking for sqrtl declaration... " >&6; }
40462 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
40463 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
40464 $as_echo_n "(cached) " >&6
40465 else
40468 ac_ext=cpp
40469 ac_cpp='$CXXCPP $CPPFLAGS'
40470 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40471 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40472 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40475 /* end confdefs.h. */
40476 #include <math.h>
40477 #ifdef HAVE_IEEEFP_H
40478 #include <ieeefp.h>
40479 #endif
40482 main ()
40484 sqrtl(0);
40486 return 0;
40488 _ACEOF
40489 if ac_fn_cxx_try_compile "$LINENO"; then :
40490 glibcxx_cv_func_sqrtl_use=yes
40491 else
40492 glibcxx_cv_func_sqrtl_use=no
40494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40495 ac_ext=c
40496 ac_cpp='$CPP $CPPFLAGS'
40497 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40498 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40499 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
40506 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
40508 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
40509 for ac_func in sqrtl
40510 do :
40511 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
40512 if test "x$ac_cv_func_sqrtl" = xyes; then :
40513 cat >>confdefs.h <<_ACEOF
40514 #define HAVE_SQRTL 1
40515 _ACEOF
40518 done
40520 else
40522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
40523 $as_echo_n "checking for _sqrtl declaration... " >&6; }
40524 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
40525 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
40526 $as_echo_n "(cached) " >&6
40527 else
40530 ac_ext=cpp
40531 ac_cpp='$CXXCPP $CPPFLAGS'
40532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40537 /* end confdefs.h. */
40538 #include <math.h>
40539 #ifdef HAVE_IEEEFP_H
40540 #include <ieeefp.h>
40541 #endif
40544 main ()
40546 _sqrtl(0);
40548 return 0;
40550 _ACEOF
40551 if ac_fn_cxx_try_compile "$LINENO"; then :
40552 glibcxx_cv_func__sqrtl_use=yes
40553 else
40554 glibcxx_cv_func__sqrtl_use=no
40556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40557 ac_ext=c
40558 ac_cpp='$CPP $CPPFLAGS'
40559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
40568 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
40570 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
40571 for ac_func in _sqrtl
40572 do :
40573 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
40574 if test "x$ac_cv_func__sqrtl" = xyes; then :
40575 cat >>confdefs.h <<_ACEOF
40576 #define HAVE__SQRTL 1
40577 _ACEOF
40580 done
40589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
40590 $as_echo_n "checking for sincosl declaration... " >&6; }
40591 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
40592 if ${glibcxx_cv_func_sincosl_use+:} false; then :
40593 $as_echo_n "(cached) " >&6
40594 else
40597 ac_ext=cpp
40598 ac_cpp='$CXXCPP $CPPFLAGS'
40599 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40600 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40601 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40604 /* end confdefs.h. */
40605 #include <math.h>
40607 main ()
40609 sincosl(0, 0, 0);
40611 return 0;
40613 _ACEOF
40614 if ac_fn_cxx_try_compile "$LINENO"; then :
40615 glibcxx_cv_func_sincosl_use=yes
40616 else
40617 glibcxx_cv_func_sincosl_use=no
40619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40620 ac_ext=c
40621 ac_cpp='$CPP $CPPFLAGS'
40622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
40631 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
40633 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
40634 for ac_func in sincosl
40635 do :
40636 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
40637 if test "x$ac_cv_func_sincosl" = xyes; then :
40638 cat >>confdefs.h <<_ACEOF
40639 #define HAVE_SINCOSL 1
40640 _ACEOF
40643 done
40645 else
40647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
40648 $as_echo_n "checking for _sincosl declaration... " >&6; }
40649 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
40650 if ${glibcxx_cv_func__sincosl_use+:} false; then :
40651 $as_echo_n "(cached) " >&6
40652 else
40655 ac_ext=cpp
40656 ac_cpp='$CXXCPP $CPPFLAGS'
40657 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40658 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40659 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40662 /* end confdefs.h. */
40663 #include <math.h>
40665 main ()
40667 _sincosl(0, 0, 0);
40669 return 0;
40671 _ACEOF
40672 if ac_fn_cxx_try_compile "$LINENO"; then :
40673 glibcxx_cv_func__sincosl_use=yes
40674 else
40675 glibcxx_cv_func__sincosl_use=no
40677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40678 ac_ext=c
40679 ac_cpp='$CPP $CPPFLAGS'
40680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
40689 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
40691 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
40692 for ac_func in _sincosl
40693 do :
40694 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
40695 if test "x$ac_cv_func__sincosl" = xyes; then :
40696 cat >>confdefs.h <<_ACEOF
40697 #define HAVE__SINCOSL 1
40698 _ACEOF
40701 done
40710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
40711 $as_echo_n "checking for finitel declaration... " >&6; }
40712 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
40713 if ${glibcxx_cv_func_finitel_use+:} false; then :
40714 $as_echo_n "(cached) " >&6
40715 else
40718 ac_ext=cpp
40719 ac_cpp='$CXXCPP $CPPFLAGS'
40720 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40721 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40722 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40725 /* end confdefs.h. */
40726 #include <math.h>
40727 #ifdef HAVE_IEEEFP_H
40728 #include <ieeefp.h>
40729 #endif
40732 main ()
40734 finitel(0);
40736 return 0;
40738 _ACEOF
40739 if ac_fn_cxx_try_compile "$LINENO"; then :
40740 glibcxx_cv_func_finitel_use=yes
40741 else
40742 glibcxx_cv_func_finitel_use=no
40744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40745 ac_ext=c
40746 ac_cpp='$CPP $CPPFLAGS'
40747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
40756 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
40758 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
40759 for ac_func in finitel
40760 do :
40761 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
40762 if test "x$ac_cv_func_finitel" = xyes; then :
40763 cat >>confdefs.h <<_ACEOF
40764 #define HAVE_FINITEL 1
40765 _ACEOF
40768 done
40770 else
40772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
40773 $as_echo_n "checking for _finitel declaration... " >&6; }
40774 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
40775 if ${glibcxx_cv_func__finitel_use+:} false; then :
40776 $as_echo_n "(cached) " >&6
40777 else
40780 ac_ext=cpp
40781 ac_cpp='$CXXCPP $CPPFLAGS'
40782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40787 /* end confdefs.h. */
40788 #include <math.h>
40789 #ifdef HAVE_IEEEFP_H
40790 #include <ieeefp.h>
40791 #endif
40794 main ()
40796 _finitel(0);
40798 return 0;
40800 _ACEOF
40801 if ac_fn_cxx_try_compile "$LINENO"; then :
40802 glibcxx_cv_func__finitel_use=yes
40803 else
40804 glibcxx_cv_func__finitel_use=no
40806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40807 ac_ext=c
40808 ac_cpp='$CPP $CPPFLAGS'
40809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
40818 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
40820 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
40821 for ac_func in _finitel
40822 do :
40823 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
40824 if test "x$ac_cv_func__finitel" = xyes; then :
40825 cat >>confdefs.h <<_ACEOF
40826 #define HAVE__FINITEL 1
40827 _ACEOF
40830 done
40838 LIBS="$ac_save_LIBS"
40839 CXXFLAGS="$ac_save_CXXFLAGS"
40842 ac_test_CXXFLAGS="${CXXFLAGS+set}"
40843 ac_save_CXXFLAGS="$CXXFLAGS"
40844 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
40847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
40848 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
40849 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
40850 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
40851 $as_echo_n "(cached) " >&6
40852 else
40855 ac_ext=cpp
40856 ac_cpp='$CXXCPP $CPPFLAGS'
40857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40862 /* end confdefs.h. */
40863 #include <stdlib.h>
40865 main ()
40867 at_quick_exit(0);
40869 return 0;
40871 _ACEOF
40872 if ac_fn_cxx_try_compile "$LINENO"; then :
40873 glibcxx_cv_func_at_quick_exit_use=yes
40874 else
40875 glibcxx_cv_func_at_quick_exit_use=no
40877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40878 ac_ext=c
40879 ac_cpp='$CPP $CPPFLAGS'
40880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
40889 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
40890 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
40891 for ac_func in at_quick_exit
40892 do :
40893 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
40894 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
40895 cat >>confdefs.h <<_ACEOF
40896 #define HAVE_AT_QUICK_EXIT 1
40897 _ACEOF
40900 done
40905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
40906 $as_echo_n "checking for quick_exit declaration... " >&6; }
40907 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
40908 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
40909 $as_echo_n "(cached) " >&6
40910 else
40913 ac_ext=cpp
40914 ac_cpp='$CXXCPP $CPPFLAGS'
40915 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40916 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40917 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40920 /* end confdefs.h. */
40921 #include <stdlib.h>
40923 main ()
40925 quick_exit(0);
40927 return 0;
40929 _ACEOF
40930 if ac_fn_cxx_try_compile "$LINENO"; then :
40931 glibcxx_cv_func_quick_exit_use=yes
40932 else
40933 glibcxx_cv_func_quick_exit_use=no
40935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40936 ac_ext=c
40937 ac_cpp='$CPP $CPPFLAGS'
40938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
40947 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
40948 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
40949 for ac_func in quick_exit
40950 do :
40951 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
40952 if test "x$ac_cv_func_quick_exit" = xyes; then :
40953 cat >>confdefs.h <<_ACEOF
40954 #define HAVE_QUICK_EXIT 1
40955 _ACEOF
40958 done
40963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
40964 $as_echo_n "checking for strtold declaration... " >&6; }
40965 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
40966 if ${glibcxx_cv_func_strtold_use+:} false; then :
40967 $as_echo_n "(cached) " >&6
40968 else
40971 ac_ext=cpp
40972 ac_cpp='$CXXCPP $CPPFLAGS'
40973 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40974 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40975 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40978 /* end confdefs.h. */
40979 #include <stdlib.h>
40981 main ()
40983 strtold(0, 0);
40985 return 0;
40987 _ACEOF
40988 if ac_fn_cxx_try_compile "$LINENO"; then :
40989 glibcxx_cv_func_strtold_use=yes
40990 else
40991 glibcxx_cv_func_strtold_use=no
40993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40994 ac_ext=c
40995 ac_cpp='$CPP $CPPFLAGS'
40996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
41005 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
41006 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
41007 for ac_func in strtold
41008 do :
41009 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
41010 if test "x$ac_cv_func_strtold" = xyes; then :
41011 cat >>confdefs.h <<_ACEOF
41012 #define HAVE_STRTOLD 1
41013 _ACEOF
41016 done
41023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
41024 $as_echo_n "checking for strtof declaration... " >&6; }
41025 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
41026 if ${glibcxx_cv_func_strtof_use+:} false; then :
41027 $as_echo_n "(cached) " >&6
41028 else
41031 ac_ext=cpp
41032 ac_cpp='$CXXCPP $CPPFLAGS'
41033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41038 /* end confdefs.h. */
41039 #include <stdlib.h>
41041 main ()
41043 strtof(0, 0);
41045 return 0;
41047 _ACEOF
41048 if ac_fn_cxx_try_compile "$LINENO"; then :
41049 glibcxx_cv_func_strtof_use=yes
41050 else
41051 glibcxx_cv_func_strtof_use=no
41053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41054 ac_ext=c
41055 ac_cpp='$CPP $CPPFLAGS'
41056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
41065 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
41066 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
41067 for ac_func in strtof
41068 do :
41069 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
41070 if test "x$ac_cv_func_strtof" = xyes; then :
41071 cat >>confdefs.h <<_ACEOF
41072 #define HAVE_STRTOF 1
41073 _ACEOF
41076 done
41083 CXXFLAGS="$ac_save_CXXFLAGS"
41085 $as_echo "#define _GLIBCXX_USE_DEV_RANDOM 1" >>confdefs.h
41087 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
41089 # We don't yet support AIX's TLS ABI.
41090 #GCC_CHECK_TLS
41096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
41097 $as_echo_n "checking for iconv... " >&6; }
41098 if ${am_cv_func_iconv+:} false; then :
41099 $as_echo_n "(cached) " >&6
41100 else
41102 am_cv_func_iconv="no, consider installing GNU libiconv"
41103 am_cv_lib_iconv=no
41104 am_save_CPPFLAGS="$CPPFLAGS"
41105 CPPFLAGS="$CPPFLAGS $INCICONV"
41106 if test x$gcc_no_link = xyes; then
41107 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41110 /* end confdefs.h. */
41111 #include <stdlib.h>
41112 #include <iconv.h>
41114 main ()
41116 iconv_t cd = iconv_open("","");
41117 iconv(cd,NULL,NULL,NULL,NULL);
41118 iconv_close(cd);
41120 return 0;
41122 _ACEOF
41123 if ac_fn_c_try_link "$LINENO"; then :
41124 am_cv_func_iconv=yes
41126 rm -f core conftest.err conftest.$ac_objext \
41127 conftest$ac_exeext conftest.$ac_ext
41128 CPPFLAGS="$am_save_CPPFLAGS"
41130 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
41131 for _libs in .libs _libs; do
41132 am_save_CPPFLAGS="$CPPFLAGS"
41133 am_save_LIBS="$LIBS"
41134 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
41135 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
41136 if test x$gcc_no_link = xyes; then
41137 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41140 /* end confdefs.h. */
41141 #include <stdlib.h>
41142 #include <iconv.h>
41144 main ()
41146 iconv_t cd = iconv_open("","");
41147 iconv(cd,NULL,NULL,NULL,NULL);
41148 iconv_close(cd);
41150 return 0;
41152 _ACEOF
41153 if ac_fn_c_try_link "$LINENO"; then :
41154 INCICONV="-I../libiconv/include"
41155 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
41156 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
41157 am_cv_lib_iconv=yes
41158 am_cv_func_iconv=yes
41160 rm -f core conftest.err conftest.$ac_objext \
41161 conftest$ac_exeext conftest.$ac_ext
41162 CPPFLAGS="$am_save_CPPFLAGS"
41163 LIBS="$am_save_LIBS"
41164 if test "$am_cv_func_iconv" = "yes"; then
41165 break
41167 done
41170 if test "$am_cv_func_iconv" != yes; then
41171 am_save_CPPFLAGS="$CPPFLAGS"
41172 am_save_LIBS="$LIBS"
41173 CPPFLAGS="$CPPFLAGS $INCICONV"
41174 LIBS="$LIBS $LIBICONV"
41175 if test x$gcc_no_link = xyes; then
41176 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41179 /* end confdefs.h. */
41180 #include <stdlib.h>
41181 #include <iconv.h>
41183 main ()
41185 iconv_t cd = iconv_open("","");
41186 iconv(cd,NULL,NULL,NULL,NULL);
41187 iconv_close(cd);
41189 return 0;
41191 _ACEOF
41192 if ac_fn_c_try_link "$LINENO"; then :
41193 am_cv_lib_iconv=yes
41194 am_cv_func_iconv=yes
41196 rm -f core conftest.err conftest.$ac_objext \
41197 conftest$ac_exeext conftest.$ac_ext
41198 CPPFLAGS="$am_save_CPPFLAGS"
41199 LIBS="$am_save_LIBS"
41203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
41204 $as_echo "$am_cv_func_iconv" >&6; }
41205 if test "$am_cv_func_iconv" = yes; then
41207 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
41210 if test "$am_cv_lib_iconv" = yes; then
41212 for element in $INCICONV; do
41213 haveit=
41214 for x in $CPPFLAGS; do
41216 acl_save_prefix="$prefix"
41217 prefix="$acl_final_prefix"
41218 acl_save_exec_prefix="$exec_prefix"
41219 exec_prefix="$acl_final_exec_prefix"
41220 eval x=\"$x\"
41221 exec_prefix="$acl_save_exec_prefix"
41222 prefix="$acl_save_prefix"
41224 if test "X$x" = "X$element"; then
41225 haveit=yes
41226 break
41228 done
41229 if test -z "$haveit"; then
41230 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
41232 done
41234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
41235 $as_echo_n "checking how to link with libiconv... " >&6; }
41236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
41237 $as_echo "$LIBICONV" >&6; }
41238 else
41239 LIBICONV=
41240 LTLIBICONV=
41245 if test "$am_cv_func_iconv" = yes; then
41246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
41247 $as_echo_n "checking for iconv declaration... " >&6; }
41248 if ${am_cv_proto_iconv+:} false; then :
41249 $as_echo_n "(cached) " >&6
41250 else
41252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41253 /* end confdefs.h. */
41255 #include <stdlib.h>
41256 #include <iconv.h>
41257 extern
41258 #ifdef __cplusplus
41260 #endif
41261 #if defined(__STDC__) || defined(__cplusplus)
41262 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
41263 #else
41264 size_t iconv();
41265 #endif
41268 main ()
41272 return 0;
41274 _ACEOF
41275 if ac_fn_c_try_compile "$LINENO"; then :
41276 am_cv_proto_iconv_arg1=""
41277 else
41278 am_cv_proto_iconv_arg1="const"
41280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41281 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);"
41284 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
41285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
41286 }$am_cv_proto_iconv" >&5
41287 $as_echo "${ac_t:-
41288 }$am_cv_proto_iconv" >&6; }
41290 cat >>confdefs.h <<_ACEOF
41291 #define ICONV_CONST $am_cv_proto_iconv_arg1
41292 _ACEOF
41297 $as_echo "#define HAVE_USELOCALE 1" >>confdefs.h
41301 *-darwin*)
41302 # Darwin versions vary, but the linker should work in a cross environment,
41303 # so we just check for all the features here.
41304 # Check for available headers.
41306 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
41308 ac_test_CXXFLAGS="${CXXFLAGS+set}"
41309 ac_save_CXXFLAGS="$CXXFLAGS"
41310 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
41312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
41313 $as_echo_n "checking for sin in -lm... " >&6; }
41314 if ${ac_cv_lib_m_sin+:} false; then :
41315 $as_echo_n "(cached) " >&6
41316 else
41317 ac_check_lib_save_LIBS=$LIBS
41318 LIBS="-lm $LIBS"
41319 if test x$gcc_no_link = xyes; then
41320 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41323 /* end confdefs.h. */
41325 /* Override any GCC internal prototype to avoid an error.
41326 Use char because int might match the return type of a GCC
41327 builtin and then its argument prototype would still apply. */
41328 #ifdef __cplusplus
41329 extern "C"
41330 #endif
41331 char sin ();
41333 main ()
41335 return sin ();
41337 return 0;
41339 _ACEOF
41340 if ac_fn_c_try_link "$LINENO"; then :
41341 ac_cv_lib_m_sin=yes
41342 else
41343 ac_cv_lib_m_sin=no
41345 rm -f core conftest.err conftest.$ac_objext \
41346 conftest$ac_exeext conftest.$ac_ext
41347 LIBS=$ac_check_lib_save_LIBS
41349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
41350 $as_echo "$ac_cv_lib_m_sin" >&6; }
41351 if test "x$ac_cv_lib_m_sin" = xyes; then :
41352 libm="-lm"
41355 ac_save_LIBS="$LIBS"
41356 LIBS="$LIBS $libm"
41360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
41361 $as_echo_n "checking for isinf declaration... " >&6; }
41362 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
41363 if ${glibcxx_cv_func_isinf_use+:} false; then :
41364 $as_echo_n "(cached) " >&6
41365 else
41368 ac_ext=cpp
41369 ac_cpp='$CXXCPP $CPPFLAGS'
41370 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41371 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41372 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41375 /* end confdefs.h. */
41376 #include <math.h>
41377 #ifdef HAVE_IEEEFP_H
41378 #include <ieeefp.h>
41379 #endif
41382 main ()
41384 isinf(0);
41386 return 0;
41388 _ACEOF
41389 if ac_fn_cxx_try_compile "$LINENO"; then :
41390 glibcxx_cv_func_isinf_use=yes
41391 else
41392 glibcxx_cv_func_isinf_use=no
41394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41395 ac_ext=c
41396 ac_cpp='$CPP $CPPFLAGS'
41397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
41406 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
41408 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
41409 for ac_func in isinf
41410 do :
41411 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
41412 if test "x$ac_cv_func_isinf" = xyes; then :
41413 cat >>confdefs.h <<_ACEOF
41414 #define HAVE_ISINF 1
41415 _ACEOF
41418 done
41420 else
41422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
41423 $as_echo_n "checking for _isinf declaration... " >&6; }
41424 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
41425 if ${glibcxx_cv_func__isinf_use+:} false; then :
41426 $as_echo_n "(cached) " >&6
41427 else
41430 ac_ext=cpp
41431 ac_cpp='$CXXCPP $CPPFLAGS'
41432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41437 /* end confdefs.h. */
41438 #include <math.h>
41439 #ifdef HAVE_IEEEFP_H
41440 #include <ieeefp.h>
41441 #endif
41444 main ()
41446 _isinf(0);
41448 return 0;
41450 _ACEOF
41451 if ac_fn_cxx_try_compile "$LINENO"; then :
41452 glibcxx_cv_func__isinf_use=yes
41453 else
41454 glibcxx_cv_func__isinf_use=no
41456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41457 ac_ext=c
41458 ac_cpp='$CPP $CPPFLAGS'
41459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
41468 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
41470 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
41471 for ac_func in _isinf
41472 do :
41473 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
41474 if test "x$ac_cv_func__isinf" = xyes; then :
41475 cat >>confdefs.h <<_ACEOF
41476 #define HAVE__ISINF 1
41477 _ACEOF
41480 done
41489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
41490 $as_echo_n "checking for isnan declaration... " >&6; }
41491 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
41492 if ${glibcxx_cv_func_isnan_use+:} false; then :
41493 $as_echo_n "(cached) " >&6
41494 else
41497 ac_ext=cpp
41498 ac_cpp='$CXXCPP $CPPFLAGS'
41499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41504 /* end confdefs.h. */
41505 #include <math.h>
41506 #ifdef HAVE_IEEEFP_H
41507 #include <ieeefp.h>
41508 #endif
41511 main ()
41513 isnan(0);
41515 return 0;
41517 _ACEOF
41518 if ac_fn_cxx_try_compile "$LINENO"; then :
41519 glibcxx_cv_func_isnan_use=yes
41520 else
41521 glibcxx_cv_func_isnan_use=no
41523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41524 ac_ext=c
41525 ac_cpp='$CPP $CPPFLAGS'
41526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
41535 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
41537 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
41538 for ac_func in isnan
41539 do :
41540 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
41541 if test "x$ac_cv_func_isnan" = xyes; then :
41542 cat >>confdefs.h <<_ACEOF
41543 #define HAVE_ISNAN 1
41544 _ACEOF
41547 done
41549 else
41551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
41552 $as_echo_n "checking for _isnan declaration... " >&6; }
41553 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
41554 if ${glibcxx_cv_func__isnan_use+:} false; then :
41555 $as_echo_n "(cached) " >&6
41556 else
41559 ac_ext=cpp
41560 ac_cpp='$CXXCPP $CPPFLAGS'
41561 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41562 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41563 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41566 /* end confdefs.h. */
41567 #include <math.h>
41568 #ifdef HAVE_IEEEFP_H
41569 #include <ieeefp.h>
41570 #endif
41573 main ()
41575 _isnan(0);
41577 return 0;
41579 _ACEOF
41580 if ac_fn_cxx_try_compile "$LINENO"; then :
41581 glibcxx_cv_func__isnan_use=yes
41582 else
41583 glibcxx_cv_func__isnan_use=no
41585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41586 ac_ext=c
41587 ac_cpp='$CPP $CPPFLAGS'
41588 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41589 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41590 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
41597 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
41599 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
41600 for ac_func in _isnan
41601 do :
41602 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
41603 if test "x$ac_cv_func__isnan" = xyes; then :
41604 cat >>confdefs.h <<_ACEOF
41605 #define HAVE__ISNAN 1
41606 _ACEOF
41609 done
41618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
41619 $as_echo_n "checking for finite declaration... " >&6; }
41620 if test x${glibcxx_cv_func_finite_use+set} != xset; then
41621 if ${glibcxx_cv_func_finite_use+:} false; then :
41622 $as_echo_n "(cached) " >&6
41623 else
41626 ac_ext=cpp
41627 ac_cpp='$CXXCPP $CPPFLAGS'
41628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41633 /* end confdefs.h. */
41634 #include <math.h>
41635 #ifdef HAVE_IEEEFP_H
41636 #include <ieeefp.h>
41637 #endif
41640 main ()
41642 finite(0);
41644 return 0;
41646 _ACEOF
41647 if ac_fn_cxx_try_compile "$LINENO"; then :
41648 glibcxx_cv_func_finite_use=yes
41649 else
41650 glibcxx_cv_func_finite_use=no
41652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41653 ac_ext=c
41654 ac_cpp='$CPP $CPPFLAGS'
41655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
41664 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
41666 if test x$glibcxx_cv_func_finite_use = x"yes"; then
41667 for ac_func in finite
41668 do :
41669 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
41670 if test "x$ac_cv_func_finite" = xyes; then :
41671 cat >>confdefs.h <<_ACEOF
41672 #define HAVE_FINITE 1
41673 _ACEOF
41676 done
41678 else
41680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
41681 $as_echo_n "checking for _finite declaration... " >&6; }
41682 if test x${glibcxx_cv_func__finite_use+set} != xset; then
41683 if ${glibcxx_cv_func__finite_use+:} false; then :
41684 $as_echo_n "(cached) " >&6
41685 else
41688 ac_ext=cpp
41689 ac_cpp='$CXXCPP $CPPFLAGS'
41690 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41691 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41692 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41695 /* end confdefs.h. */
41696 #include <math.h>
41697 #ifdef HAVE_IEEEFP_H
41698 #include <ieeefp.h>
41699 #endif
41702 main ()
41704 _finite(0);
41706 return 0;
41708 _ACEOF
41709 if ac_fn_cxx_try_compile "$LINENO"; then :
41710 glibcxx_cv_func__finite_use=yes
41711 else
41712 glibcxx_cv_func__finite_use=no
41714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41715 ac_ext=c
41716 ac_cpp='$CPP $CPPFLAGS'
41717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
41726 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
41728 if test x$glibcxx_cv_func__finite_use = x"yes"; then
41729 for ac_func in _finite
41730 do :
41731 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
41732 if test "x$ac_cv_func__finite" = xyes; then :
41733 cat >>confdefs.h <<_ACEOF
41734 #define HAVE__FINITE 1
41735 _ACEOF
41738 done
41747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
41748 $as_echo_n "checking for sincos declaration... " >&6; }
41749 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
41750 if ${glibcxx_cv_func_sincos_use+:} false; then :
41751 $as_echo_n "(cached) " >&6
41752 else
41755 ac_ext=cpp
41756 ac_cpp='$CXXCPP $CPPFLAGS'
41757 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41758 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41759 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41762 /* end confdefs.h. */
41763 #include <math.h>
41765 main ()
41767 sincos(0, 0, 0);
41769 return 0;
41771 _ACEOF
41772 if ac_fn_cxx_try_compile "$LINENO"; then :
41773 glibcxx_cv_func_sincos_use=yes
41774 else
41775 glibcxx_cv_func_sincos_use=no
41777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41778 ac_ext=c
41779 ac_cpp='$CPP $CPPFLAGS'
41780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
41789 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
41791 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
41792 for ac_func in sincos
41793 do :
41794 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
41795 if test "x$ac_cv_func_sincos" = xyes; then :
41796 cat >>confdefs.h <<_ACEOF
41797 #define HAVE_SINCOS 1
41798 _ACEOF
41801 done
41803 else
41805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
41806 $as_echo_n "checking for _sincos declaration... " >&6; }
41807 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
41808 if ${glibcxx_cv_func__sincos_use+:} false; then :
41809 $as_echo_n "(cached) " >&6
41810 else
41813 ac_ext=cpp
41814 ac_cpp='$CXXCPP $CPPFLAGS'
41815 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41816 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41817 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41820 /* end confdefs.h. */
41821 #include <math.h>
41823 main ()
41825 _sincos(0, 0, 0);
41827 return 0;
41829 _ACEOF
41830 if ac_fn_cxx_try_compile "$LINENO"; then :
41831 glibcxx_cv_func__sincos_use=yes
41832 else
41833 glibcxx_cv_func__sincos_use=no
41835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41836 ac_ext=c
41837 ac_cpp='$CPP $CPPFLAGS'
41838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
41847 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
41849 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
41850 for ac_func in _sincos
41851 do :
41852 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
41853 if test "x$ac_cv_func__sincos" = xyes; then :
41854 cat >>confdefs.h <<_ACEOF
41855 #define HAVE__SINCOS 1
41856 _ACEOF
41859 done
41868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
41869 $as_echo_n "checking for fpclass declaration... " >&6; }
41870 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
41871 if ${glibcxx_cv_func_fpclass_use+:} false; then :
41872 $as_echo_n "(cached) " >&6
41873 else
41876 ac_ext=cpp
41877 ac_cpp='$CXXCPP $CPPFLAGS'
41878 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41879 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41880 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41883 /* end confdefs.h. */
41884 #include <math.h>
41885 #ifdef HAVE_IEEEFP_H
41886 #include <ieeefp.h>
41887 #endif
41890 main ()
41892 fpclass(0);
41894 return 0;
41896 _ACEOF
41897 if ac_fn_cxx_try_compile "$LINENO"; then :
41898 glibcxx_cv_func_fpclass_use=yes
41899 else
41900 glibcxx_cv_func_fpclass_use=no
41902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41903 ac_ext=c
41904 ac_cpp='$CPP $CPPFLAGS'
41905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
41914 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
41916 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
41917 for ac_func in fpclass
41918 do :
41919 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
41920 if test "x$ac_cv_func_fpclass" = xyes; then :
41921 cat >>confdefs.h <<_ACEOF
41922 #define HAVE_FPCLASS 1
41923 _ACEOF
41926 done
41928 else
41930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
41931 $as_echo_n "checking for _fpclass declaration... " >&6; }
41932 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
41933 if ${glibcxx_cv_func__fpclass_use+:} false; then :
41934 $as_echo_n "(cached) " >&6
41935 else
41938 ac_ext=cpp
41939 ac_cpp='$CXXCPP $CPPFLAGS'
41940 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41941 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41942 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41945 /* end confdefs.h. */
41946 #include <math.h>
41947 #ifdef HAVE_IEEEFP_H
41948 #include <ieeefp.h>
41949 #endif
41952 main ()
41954 _fpclass(0);
41956 return 0;
41958 _ACEOF
41959 if ac_fn_cxx_try_compile "$LINENO"; then :
41960 glibcxx_cv_func__fpclass_use=yes
41961 else
41962 glibcxx_cv_func__fpclass_use=no
41964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41965 ac_ext=c
41966 ac_cpp='$CPP $CPPFLAGS'
41967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
41976 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
41978 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
41979 for ac_func in _fpclass
41980 do :
41981 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
41982 if test "x$ac_cv_func__fpclass" = xyes; then :
41983 cat >>confdefs.h <<_ACEOF
41984 #define HAVE__FPCLASS 1
41985 _ACEOF
41988 done
41997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
41998 $as_echo_n "checking for qfpclass declaration... " >&6; }
41999 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
42000 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
42001 $as_echo_n "(cached) " >&6
42002 else
42005 ac_ext=cpp
42006 ac_cpp='$CXXCPP $CPPFLAGS'
42007 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42008 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42009 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42012 /* end confdefs.h. */
42013 #include <math.h>
42014 #ifdef HAVE_IEEEFP_H
42015 #include <ieeefp.h>
42016 #endif
42019 main ()
42021 qfpclass(0);
42023 return 0;
42025 _ACEOF
42026 if ac_fn_cxx_try_compile "$LINENO"; then :
42027 glibcxx_cv_func_qfpclass_use=yes
42028 else
42029 glibcxx_cv_func_qfpclass_use=no
42031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42032 ac_ext=c
42033 ac_cpp='$CPP $CPPFLAGS'
42034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
42043 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
42045 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
42046 for ac_func in qfpclass
42047 do :
42048 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
42049 if test "x$ac_cv_func_qfpclass" = xyes; then :
42050 cat >>confdefs.h <<_ACEOF
42051 #define HAVE_QFPCLASS 1
42052 _ACEOF
42055 done
42057 else
42059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
42060 $as_echo_n "checking for _qfpclass declaration... " >&6; }
42061 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
42062 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
42063 $as_echo_n "(cached) " >&6
42064 else
42067 ac_ext=cpp
42068 ac_cpp='$CXXCPP $CPPFLAGS'
42069 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42070 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42071 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42074 /* end confdefs.h. */
42075 #include <math.h>
42076 #ifdef HAVE_IEEEFP_H
42077 #include <ieeefp.h>
42078 #endif
42081 main ()
42083 _qfpclass(0);
42085 return 0;
42087 _ACEOF
42088 if ac_fn_cxx_try_compile "$LINENO"; then :
42089 glibcxx_cv_func__qfpclass_use=yes
42090 else
42091 glibcxx_cv_func__qfpclass_use=no
42093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42094 ac_ext=c
42095 ac_cpp='$CPP $CPPFLAGS'
42096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
42105 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
42107 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
42108 for ac_func in _qfpclass
42109 do :
42110 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
42111 if test "x$ac_cv_func__qfpclass" = xyes; then :
42112 cat >>confdefs.h <<_ACEOF
42113 #define HAVE__QFPCLASS 1
42114 _ACEOF
42117 done
42126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
42127 $as_echo_n "checking for hypot declaration... " >&6; }
42128 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
42129 if ${glibcxx_cv_func_hypot_use+:} false; then :
42130 $as_echo_n "(cached) " >&6
42131 else
42134 ac_ext=cpp
42135 ac_cpp='$CXXCPP $CPPFLAGS'
42136 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42137 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42138 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42141 /* end confdefs.h. */
42142 #include <math.h>
42144 main ()
42146 hypot(0, 0);
42148 return 0;
42150 _ACEOF
42151 if ac_fn_cxx_try_compile "$LINENO"; then :
42152 glibcxx_cv_func_hypot_use=yes
42153 else
42154 glibcxx_cv_func_hypot_use=no
42156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42157 ac_ext=c
42158 ac_cpp='$CPP $CPPFLAGS'
42159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
42168 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
42170 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
42171 for ac_func in hypot
42172 do :
42173 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
42174 if test "x$ac_cv_func_hypot" = xyes; then :
42175 cat >>confdefs.h <<_ACEOF
42176 #define HAVE_HYPOT 1
42177 _ACEOF
42180 done
42182 else
42184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
42185 $as_echo_n "checking for _hypot declaration... " >&6; }
42186 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
42187 if ${glibcxx_cv_func__hypot_use+:} false; then :
42188 $as_echo_n "(cached) " >&6
42189 else
42192 ac_ext=cpp
42193 ac_cpp='$CXXCPP $CPPFLAGS'
42194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42199 /* end confdefs.h. */
42200 #include <math.h>
42202 main ()
42204 _hypot(0, 0);
42206 return 0;
42208 _ACEOF
42209 if ac_fn_cxx_try_compile "$LINENO"; then :
42210 glibcxx_cv_func__hypot_use=yes
42211 else
42212 glibcxx_cv_func__hypot_use=no
42214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42215 ac_ext=c
42216 ac_cpp='$CPP $CPPFLAGS'
42217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
42226 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
42228 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
42229 for ac_func in _hypot
42230 do :
42231 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
42232 if test "x$ac_cv_func__hypot" = xyes; then :
42233 cat >>confdefs.h <<_ACEOF
42234 #define HAVE__HYPOT 1
42235 _ACEOF
42238 done
42247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
42248 $as_echo_n "checking for float trig functions... " >&6; }
42249 if ${glibcxx_cv_func_float_trig_use+:} false; then :
42250 $as_echo_n "(cached) " >&6
42251 else
42254 ac_ext=cpp
42255 ac_cpp='$CXXCPP $CPPFLAGS'
42256 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42257 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42258 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42261 /* end confdefs.h. */
42262 #include <math.h>
42264 main ()
42266 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
42268 return 0;
42270 _ACEOF
42271 if ac_fn_cxx_try_compile "$LINENO"; then :
42272 glibcxx_cv_func_float_trig_use=yes
42273 else
42274 glibcxx_cv_func_float_trig_use=no
42276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42277 ac_ext=c
42278 ac_cpp='$CPP $CPPFLAGS'
42279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
42286 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
42287 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
42288 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
42289 do :
42290 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42291 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42292 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
42293 cat >>confdefs.h <<_ACEOF
42294 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42295 _ACEOF
42298 done
42300 else
42301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
42302 $as_echo_n "checking for _float trig functions... " >&6; }
42303 if ${glibcxx_cv_func__float_trig_use+:} false; then :
42304 $as_echo_n "(cached) " >&6
42305 else
42308 ac_ext=cpp
42309 ac_cpp='$CXXCPP $CPPFLAGS'
42310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42315 /* end confdefs.h. */
42316 #include <math.h>
42318 main ()
42320 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
42322 return 0;
42324 _ACEOF
42325 if ac_fn_cxx_try_compile "$LINENO"; then :
42326 glibcxx_cv_func__float_trig_use=yes
42327 else
42328 glibcxx_cv_func__float_trig_use=no
42330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42331 ac_ext=c
42332 ac_cpp='$CPP $CPPFLAGS'
42333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
42340 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
42341 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
42342 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
42343 do :
42344 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42345 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42346 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
42347 cat >>confdefs.h <<_ACEOF
42348 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42349 _ACEOF
42352 done
42361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
42362 $as_echo_n "checking for float round functions... " >&6; }
42363 if ${glibcxx_cv_func_float_round_use+:} false; then :
42364 $as_echo_n "(cached) " >&6
42365 else
42368 ac_ext=cpp
42369 ac_cpp='$CXXCPP $CPPFLAGS'
42370 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42371 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42372 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42375 /* end confdefs.h. */
42376 #include <math.h>
42378 main ()
42380 ceilf (0); floorf (0);
42382 return 0;
42384 _ACEOF
42385 if ac_fn_cxx_try_compile "$LINENO"; then :
42386 glibcxx_cv_func_float_round_use=yes
42387 else
42388 glibcxx_cv_func_float_round_use=no
42390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42391 ac_ext=c
42392 ac_cpp='$CPP $CPPFLAGS'
42393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
42400 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
42401 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
42402 for ac_func in ceilf floorf
42403 do :
42404 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42405 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42406 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
42407 cat >>confdefs.h <<_ACEOF
42408 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42409 _ACEOF
42412 done
42414 else
42415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
42416 $as_echo_n "checking for _float round functions... " >&6; }
42417 if ${glibcxx_cv_func__float_round_use+:} false; then :
42418 $as_echo_n "(cached) " >&6
42419 else
42422 ac_ext=cpp
42423 ac_cpp='$CXXCPP $CPPFLAGS'
42424 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42425 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42426 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42429 /* end confdefs.h. */
42430 #include <math.h>
42432 main ()
42434 _ceilf (0); _floorf (0);
42436 return 0;
42438 _ACEOF
42439 if ac_fn_cxx_try_compile "$LINENO"; then :
42440 glibcxx_cv_func__float_round_use=yes
42441 else
42442 glibcxx_cv_func__float_round_use=no
42444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42445 ac_ext=c
42446 ac_cpp='$CPP $CPPFLAGS'
42447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
42454 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
42455 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
42456 for ac_func in _ceilf _floorf
42457 do :
42458 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42459 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42460 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
42461 cat >>confdefs.h <<_ACEOF
42462 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42463 _ACEOF
42466 done
42476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
42477 $as_echo_n "checking for expf declaration... " >&6; }
42478 if test x${glibcxx_cv_func_expf_use+set} != xset; then
42479 if ${glibcxx_cv_func_expf_use+:} false; then :
42480 $as_echo_n "(cached) " >&6
42481 else
42484 ac_ext=cpp
42485 ac_cpp='$CXXCPP $CPPFLAGS'
42486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42491 /* end confdefs.h. */
42492 #include <math.h>
42493 #ifdef HAVE_IEEEFP_H
42494 #include <ieeefp.h>
42495 #endif
42498 main ()
42500 expf(0);
42502 return 0;
42504 _ACEOF
42505 if ac_fn_cxx_try_compile "$LINENO"; then :
42506 glibcxx_cv_func_expf_use=yes
42507 else
42508 glibcxx_cv_func_expf_use=no
42510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42511 ac_ext=c
42512 ac_cpp='$CPP $CPPFLAGS'
42513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
42522 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
42524 if test x$glibcxx_cv_func_expf_use = x"yes"; then
42525 for ac_func in expf
42526 do :
42527 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
42528 if test "x$ac_cv_func_expf" = xyes; then :
42529 cat >>confdefs.h <<_ACEOF
42530 #define HAVE_EXPF 1
42531 _ACEOF
42534 done
42536 else
42538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
42539 $as_echo_n "checking for _expf declaration... " >&6; }
42540 if test x${glibcxx_cv_func__expf_use+set} != xset; then
42541 if ${glibcxx_cv_func__expf_use+:} false; then :
42542 $as_echo_n "(cached) " >&6
42543 else
42546 ac_ext=cpp
42547 ac_cpp='$CXXCPP $CPPFLAGS'
42548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42553 /* end confdefs.h. */
42554 #include <math.h>
42555 #ifdef HAVE_IEEEFP_H
42556 #include <ieeefp.h>
42557 #endif
42560 main ()
42562 _expf(0);
42564 return 0;
42566 _ACEOF
42567 if ac_fn_cxx_try_compile "$LINENO"; then :
42568 glibcxx_cv_func__expf_use=yes
42569 else
42570 glibcxx_cv_func__expf_use=no
42572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42573 ac_ext=c
42574 ac_cpp='$CPP $CPPFLAGS'
42575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
42584 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
42586 if test x$glibcxx_cv_func__expf_use = x"yes"; then
42587 for ac_func in _expf
42588 do :
42589 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
42590 if test "x$ac_cv_func__expf" = xyes; then :
42591 cat >>confdefs.h <<_ACEOF
42592 #define HAVE__EXPF 1
42593 _ACEOF
42596 done
42605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
42606 $as_echo_n "checking for isnanf declaration... " >&6; }
42607 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
42608 if ${glibcxx_cv_func_isnanf_use+:} false; then :
42609 $as_echo_n "(cached) " >&6
42610 else
42613 ac_ext=cpp
42614 ac_cpp='$CXXCPP $CPPFLAGS'
42615 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42616 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42617 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42620 /* end confdefs.h. */
42621 #include <math.h>
42622 #ifdef HAVE_IEEEFP_H
42623 #include <ieeefp.h>
42624 #endif
42627 main ()
42629 isnanf(0);
42631 return 0;
42633 _ACEOF
42634 if ac_fn_cxx_try_compile "$LINENO"; then :
42635 glibcxx_cv_func_isnanf_use=yes
42636 else
42637 glibcxx_cv_func_isnanf_use=no
42639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42640 ac_ext=c
42641 ac_cpp='$CPP $CPPFLAGS'
42642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
42651 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
42653 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
42654 for ac_func in isnanf
42655 do :
42656 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
42657 if test "x$ac_cv_func_isnanf" = xyes; then :
42658 cat >>confdefs.h <<_ACEOF
42659 #define HAVE_ISNANF 1
42660 _ACEOF
42663 done
42665 else
42667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
42668 $as_echo_n "checking for _isnanf declaration... " >&6; }
42669 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
42670 if ${glibcxx_cv_func__isnanf_use+:} false; then :
42671 $as_echo_n "(cached) " >&6
42672 else
42675 ac_ext=cpp
42676 ac_cpp='$CXXCPP $CPPFLAGS'
42677 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42678 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42679 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42682 /* end confdefs.h. */
42683 #include <math.h>
42684 #ifdef HAVE_IEEEFP_H
42685 #include <ieeefp.h>
42686 #endif
42689 main ()
42691 _isnanf(0);
42693 return 0;
42695 _ACEOF
42696 if ac_fn_cxx_try_compile "$LINENO"; then :
42697 glibcxx_cv_func__isnanf_use=yes
42698 else
42699 glibcxx_cv_func__isnanf_use=no
42701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42702 ac_ext=c
42703 ac_cpp='$CPP $CPPFLAGS'
42704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
42713 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
42715 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
42716 for ac_func in _isnanf
42717 do :
42718 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
42719 if test "x$ac_cv_func__isnanf" = xyes; then :
42720 cat >>confdefs.h <<_ACEOF
42721 #define HAVE__ISNANF 1
42722 _ACEOF
42725 done
42734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
42735 $as_echo_n "checking for isinff declaration... " >&6; }
42736 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
42737 if ${glibcxx_cv_func_isinff_use+:} false; then :
42738 $as_echo_n "(cached) " >&6
42739 else
42742 ac_ext=cpp
42743 ac_cpp='$CXXCPP $CPPFLAGS'
42744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42749 /* end confdefs.h. */
42750 #include <math.h>
42751 #ifdef HAVE_IEEEFP_H
42752 #include <ieeefp.h>
42753 #endif
42756 main ()
42758 isinff(0);
42760 return 0;
42762 _ACEOF
42763 if ac_fn_cxx_try_compile "$LINENO"; then :
42764 glibcxx_cv_func_isinff_use=yes
42765 else
42766 glibcxx_cv_func_isinff_use=no
42768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42769 ac_ext=c
42770 ac_cpp='$CPP $CPPFLAGS'
42771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
42780 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
42782 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
42783 for ac_func in isinff
42784 do :
42785 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
42786 if test "x$ac_cv_func_isinff" = xyes; then :
42787 cat >>confdefs.h <<_ACEOF
42788 #define HAVE_ISINFF 1
42789 _ACEOF
42792 done
42794 else
42796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
42797 $as_echo_n "checking for _isinff declaration... " >&6; }
42798 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
42799 if ${glibcxx_cv_func__isinff_use+:} false; then :
42800 $as_echo_n "(cached) " >&6
42801 else
42804 ac_ext=cpp
42805 ac_cpp='$CXXCPP $CPPFLAGS'
42806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42811 /* end confdefs.h. */
42812 #include <math.h>
42813 #ifdef HAVE_IEEEFP_H
42814 #include <ieeefp.h>
42815 #endif
42818 main ()
42820 _isinff(0);
42822 return 0;
42824 _ACEOF
42825 if ac_fn_cxx_try_compile "$LINENO"; then :
42826 glibcxx_cv_func__isinff_use=yes
42827 else
42828 glibcxx_cv_func__isinff_use=no
42830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42831 ac_ext=c
42832 ac_cpp='$CPP $CPPFLAGS'
42833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
42842 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
42844 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
42845 for ac_func in _isinff
42846 do :
42847 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
42848 if test "x$ac_cv_func__isinff" = xyes; then :
42849 cat >>confdefs.h <<_ACEOF
42850 #define HAVE__ISINFF 1
42851 _ACEOF
42854 done
42863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
42864 $as_echo_n "checking for atan2f declaration... " >&6; }
42865 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
42866 if ${glibcxx_cv_func_atan2f_use+:} false; then :
42867 $as_echo_n "(cached) " >&6
42868 else
42871 ac_ext=cpp
42872 ac_cpp='$CXXCPP $CPPFLAGS'
42873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42878 /* end confdefs.h. */
42879 #include <math.h>
42881 main ()
42883 atan2f(0, 0);
42885 return 0;
42887 _ACEOF
42888 if ac_fn_cxx_try_compile "$LINENO"; then :
42889 glibcxx_cv_func_atan2f_use=yes
42890 else
42891 glibcxx_cv_func_atan2f_use=no
42893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42894 ac_ext=c
42895 ac_cpp='$CPP $CPPFLAGS'
42896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
42905 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
42907 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
42908 for ac_func in atan2f
42909 do :
42910 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
42911 if test "x$ac_cv_func_atan2f" = xyes; then :
42912 cat >>confdefs.h <<_ACEOF
42913 #define HAVE_ATAN2F 1
42914 _ACEOF
42917 done
42919 else
42921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
42922 $as_echo_n "checking for _atan2f declaration... " >&6; }
42923 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
42924 if ${glibcxx_cv_func__atan2f_use+:} false; then :
42925 $as_echo_n "(cached) " >&6
42926 else
42929 ac_ext=cpp
42930 ac_cpp='$CXXCPP $CPPFLAGS'
42931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42932 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42936 /* end confdefs.h. */
42937 #include <math.h>
42939 main ()
42941 _atan2f(0, 0);
42943 return 0;
42945 _ACEOF
42946 if ac_fn_cxx_try_compile "$LINENO"; then :
42947 glibcxx_cv_func__atan2f_use=yes
42948 else
42949 glibcxx_cv_func__atan2f_use=no
42951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42952 ac_ext=c
42953 ac_cpp='$CPP $CPPFLAGS'
42954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
42963 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
42965 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
42966 for ac_func in _atan2f
42967 do :
42968 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
42969 if test "x$ac_cv_func__atan2f" = xyes; then :
42970 cat >>confdefs.h <<_ACEOF
42971 #define HAVE__ATAN2F 1
42972 _ACEOF
42975 done
42984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
42985 $as_echo_n "checking for fabsf declaration... " >&6; }
42986 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
42987 if ${glibcxx_cv_func_fabsf_use+:} false; then :
42988 $as_echo_n "(cached) " >&6
42989 else
42992 ac_ext=cpp
42993 ac_cpp='$CXXCPP $CPPFLAGS'
42994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42999 /* end confdefs.h. */
43000 #include <math.h>
43001 #ifdef HAVE_IEEEFP_H
43002 #include <ieeefp.h>
43003 #endif
43006 main ()
43008 fabsf(0);
43010 return 0;
43012 _ACEOF
43013 if ac_fn_cxx_try_compile "$LINENO"; then :
43014 glibcxx_cv_func_fabsf_use=yes
43015 else
43016 glibcxx_cv_func_fabsf_use=no
43018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43019 ac_ext=c
43020 ac_cpp='$CPP $CPPFLAGS'
43021 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43022 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43023 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
43030 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
43032 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
43033 for ac_func in fabsf
43034 do :
43035 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
43036 if test "x$ac_cv_func_fabsf" = xyes; then :
43037 cat >>confdefs.h <<_ACEOF
43038 #define HAVE_FABSF 1
43039 _ACEOF
43042 done
43044 else
43046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
43047 $as_echo_n "checking for _fabsf declaration... " >&6; }
43048 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
43049 if ${glibcxx_cv_func__fabsf_use+:} false; then :
43050 $as_echo_n "(cached) " >&6
43051 else
43054 ac_ext=cpp
43055 ac_cpp='$CXXCPP $CPPFLAGS'
43056 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43057 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43058 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43061 /* end confdefs.h. */
43062 #include <math.h>
43063 #ifdef HAVE_IEEEFP_H
43064 #include <ieeefp.h>
43065 #endif
43068 main ()
43070 _fabsf(0);
43072 return 0;
43074 _ACEOF
43075 if ac_fn_cxx_try_compile "$LINENO"; then :
43076 glibcxx_cv_func__fabsf_use=yes
43077 else
43078 glibcxx_cv_func__fabsf_use=no
43080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43081 ac_ext=c
43082 ac_cpp='$CPP $CPPFLAGS'
43083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
43092 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
43094 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
43095 for ac_func in _fabsf
43096 do :
43097 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
43098 if test "x$ac_cv_func__fabsf" = xyes; then :
43099 cat >>confdefs.h <<_ACEOF
43100 #define HAVE__FABSF 1
43101 _ACEOF
43104 done
43113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
43114 $as_echo_n "checking for fmodf declaration... " >&6; }
43115 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
43116 if ${glibcxx_cv_func_fmodf_use+:} false; then :
43117 $as_echo_n "(cached) " >&6
43118 else
43121 ac_ext=cpp
43122 ac_cpp='$CXXCPP $CPPFLAGS'
43123 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43124 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43125 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43128 /* end confdefs.h. */
43129 #include <math.h>
43131 main ()
43133 fmodf(0, 0);
43135 return 0;
43137 _ACEOF
43138 if ac_fn_cxx_try_compile "$LINENO"; then :
43139 glibcxx_cv_func_fmodf_use=yes
43140 else
43141 glibcxx_cv_func_fmodf_use=no
43143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43144 ac_ext=c
43145 ac_cpp='$CPP $CPPFLAGS'
43146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
43155 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
43157 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
43158 for ac_func in fmodf
43159 do :
43160 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
43161 if test "x$ac_cv_func_fmodf" = xyes; then :
43162 cat >>confdefs.h <<_ACEOF
43163 #define HAVE_FMODF 1
43164 _ACEOF
43167 done
43169 else
43171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
43172 $as_echo_n "checking for _fmodf declaration... " >&6; }
43173 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
43174 if ${glibcxx_cv_func__fmodf_use+:} false; then :
43175 $as_echo_n "(cached) " >&6
43176 else
43179 ac_ext=cpp
43180 ac_cpp='$CXXCPP $CPPFLAGS'
43181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43186 /* end confdefs.h. */
43187 #include <math.h>
43189 main ()
43191 _fmodf(0, 0);
43193 return 0;
43195 _ACEOF
43196 if ac_fn_cxx_try_compile "$LINENO"; then :
43197 glibcxx_cv_func__fmodf_use=yes
43198 else
43199 glibcxx_cv_func__fmodf_use=no
43201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43202 ac_ext=c
43203 ac_cpp='$CPP $CPPFLAGS'
43204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
43213 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
43215 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
43216 for ac_func in _fmodf
43217 do :
43218 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
43219 if test "x$ac_cv_func__fmodf" = xyes; then :
43220 cat >>confdefs.h <<_ACEOF
43221 #define HAVE__FMODF 1
43222 _ACEOF
43225 done
43234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
43235 $as_echo_n "checking for frexpf declaration... " >&6; }
43236 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
43237 if ${glibcxx_cv_func_frexpf_use+:} false; then :
43238 $as_echo_n "(cached) " >&6
43239 else
43242 ac_ext=cpp
43243 ac_cpp='$CXXCPP $CPPFLAGS'
43244 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43245 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43246 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43249 /* end confdefs.h. */
43250 #include <math.h>
43252 main ()
43254 frexpf(0, 0);
43256 return 0;
43258 _ACEOF
43259 if ac_fn_cxx_try_compile "$LINENO"; then :
43260 glibcxx_cv_func_frexpf_use=yes
43261 else
43262 glibcxx_cv_func_frexpf_use=no
43264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43265 ac_ext=c
43266 ac_cpp='$CPP $CPPFLAGS'
43267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
43276 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
43278 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
43279 for ac_func in frexpf
43280 do :
43281 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
43282 if test "x$ac_cv_func_frexpf" = xyes; then :
43283 cat >>confdefs.h <<_ACEOF
43284 #define HAVE_FREXPF 1
43285 _ACEOF
43288 done
43290 else
43292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
43293 $as_echo_n "checking for _frexpf declaration... " >&6; }
43294 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
43295 if ${glibcxx_cv_func__frexpf_use+:} false; then :
43296 $as_echo_n "(cached) " >&6
43297 else
43300 ac_ext=cpp
43301 ac_cpp='$CXXCPP $CPPFLAGS'
43302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43307 /* end confdefs.h. */
43308 #include <math.h>
43310 main ()
43312 _frexpf(0, 0);
43314 return 0;
43316 _ACEOF
43317 if ac_fn_cxx_try_compile "$LINENO"; then :
43318 glibcxx_cv_func__frexpf_use=yes
43319 else
43320 glibcxx_cv_func__frexpf_use=no
43322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43323 ac_ext=c
43324 ac_cpp='$CPP $CPPFLAGS'
43325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
43334 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
43336 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
43337 for ac_func in _frexpf
43338 do :
43339 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
43340 if test "x$ac_cv_func__frexpf" = xyes; then :
43341 cat >>confdefs.h <<_ACEOF
43342 #define HAVE__FREXPF 1
43343 _ACEOF
43346 done
43355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
43356 $as_echo_n "checking for hypotf declaration... " >&6; }
43357 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
43358 if ${glibcxx_cv_func_hypotf_use+:} false; then :
43359 $as_echo_n "(cached) " >&6
43360 else
43363 ac_ext=cpp
43364 ac_cpp='$CXXCPP $CPPFLAGS'
43365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43370 /* end confdefs.h. */
43371 #include <math.h>
43373 main ()
43375 hypotf(0, 0);
43377 return 0;
43379 _ACEOF
43380 if ac_fn_cxx_try_compile "$LINENO"; then :
43381 glibcxx_cv_func_hypotf_use=yes
43382 else
43383 glibcxx_cv_func_hypotf_use=no
43385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43386 ac_ext=c
43387 ac_cpp='$CPP $CPPFLAGS'
43388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
43397 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
43399 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
43400 for ac_func in hypotf
43401 do :
43402 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
43403 if test "x$ac_cv_func_hypotf" = xyes; then :
43404 cat >>confdefs.h <<_ACEOF
43405 #define HAVE_HYPOTF 1
43406 _ACEOF
43409 done
43411 else
43413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
43414 $as_echo_n "checking for _hypotf declaration... " >&6; }
43415 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
43416 if ${glibcxx_cv_func__hypotf_use+:} false; then :
43417 $as_echo_n "(cached) " >&6
43418 else
43421 ac_ext=cpp
43422 ac_cpp='$CXXCPP $CPPFLAGS'
43423 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43424 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43425 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43428 /* end confdefs.h. */
43429 #include <math.h>
43431 main ()
43433 _hypotf(0, 0);
43435 return 0;
43437 _ACEOF
43438 if ac_fn_cxx_try_compile "$LINENO"; then :
43439 glibcxx_cv_func__hypotf_use=yes
43440 else
43441 glibcxx_cv_func__hypotf_use=no
43443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43444 ac_ext=c
43445 ac_cpp='$CPP $CPPFLAGS'
43446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
43455 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
43457 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
43458 for ac_func in _hypotf
43459 do :
43460 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
43461 if test "x$ac_cv_func__hypotf" = xyes; then :
43462 cat >>confdefs.h <<_ACEOF
43463 #define HAVE__HYPOTF 1
43464 _ACEOF
43467 done
43476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
43477 $as_echo_n "checking for ldexpf declaration... " >&6; }
43478 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
43479 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
43480 $as_echo_n "(cached) " >&6
43481 else
43484 ac_ext=cpp
43485 ac_cpp='$CXXCPP $CPPFLAGS'
43486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43491 /* end confdefs.h. */
43492 #include <math.h>
43494 main ()
43496 ldexpf(0, 0);
43498 return 0;
43500 _ACEOF
43501 if ac_fn_cxx_try_compile "$LINENO"; then :
43502 glibcxx_cv_func_ldexpf_use=yes
43503 else
43504 glibcxx_cv_func_ldexpf_use=no
43506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43507 ac_ext=c
43508 ac_cpp='$CPP $CPPFLAGS'
43509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
43518 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
43520 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
43521 for ac_func in ldexpf
43522 do :
43523 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
43524 if test "x$ac_cv_func_ldexpf" = xyes; then :
43525 cat >>confdefs.h <<_ACEOF
43526 #define HAVE_LDEXPF 1
43527 _ACEOF
43530 done
43532 else
43534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
43535 $as_echo_n "checking for _ldexpf declaration... " >&6; }
43536 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
43537 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
43538 $as_echo_n "(cached) " >&6
43539 else
43542 ac_ext=cpp
43543 ac_cpp='$CXXCPP $CPPFLAGS'
43544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43549 /* end confdefs.h. */
43550 #include <math.h>
43552 main ()
43554 _ldexpf(0, 0);
43556 return 0;
43558 _ACEOF
43559 if ac_fn_cxx_try_compile "$LINENO"; then :
43560 glibcxx_cv_func__ldexpf_use=yes
43561 else
43562 glibcxx_cv_func__ldexpf_use=no
43564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43565 ac_ext=c
43566 ac_cpp='$CPP $CPPFLAGS'
43567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
43576 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
43578 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
43579 for ac_func in _ldexpf
43580 do :
43581 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
43582 if test "x$ac_cv_func__ldexpf" = xyes; then :
43583 cat >>confdefs.h <<_ACEOF
43584 #define HAVE__LDEXPF 1
43585 _ACEOF
43588 done
43597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
43598 $as_echo_n "checking for logf declaration... " >&6; }
43599 if test x${glibcxx_cv_func_logf_use+set} != xset; then
43600 if ${glibcxx_cv_func_logf_use+:} false; then :
43601 $as_echo_n "(cached) " >&6
43602 else
43605 ac_ext=cpp
43606 ac_cpp='$CXXCPP $CPPFLAGS'
43607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43612 /* end confdefs.h. */
43613 #include <math.h>
43614 #ifdef HAVE_IEEEFP_H
43615 #include <ieeefp.h>
43616 #endif
43619 main ()
43621 logf(0);
43623 return 0;
43625 _ACEOF
43626 if ac_fn_cxx_try_compile "$LINENO"; then :
43627 glibcxx_cv_func_logf_use=yes
43628 else
43629 glibcxx_cv_func_logf_use=no
43631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43632 ac_ext=c
43633 ac_cpp='$CPP $CPPFLAGS'
43634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
43643 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
43645 if test x$glibcxx_cv_func_logf_use = x"yes"; then
43646 for ac_func in logf
43647 do :
43648 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
43649 if test "x$ac_cv_func_logf" = xyes; then :
43650 cat >>confdefs.h <<_ACEOF
43651 #define HAVE_LOGF 1
43652 _ACEOF
43655 done
43657 else
43659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
43660 $as_echo_n "checking for _logf declaration... " >&6; }
43661 if test x${glibcxx_cv_func__logf_use+set} != xset; then
43662 if ${glibcxx_cv_func__logf_use+:} false; then :
43663 $as_echo_n "(cached) " >&6
43664 else
43667 ac_ext=cpp
43668 ac_cpp='$CXXCPP $CPPFLAGS'
43669 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43670 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43671 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43674 /* end confdefs.h. */
43675 #include <math.h>
43676 #ifdef HAVE_IEEEFP_H
43677 #include <ieeefp.h>
43678 #endif
43681 main ()
43683 _logf(0);
43685 return 0;
43687 _ACEOF
43688 if ac_fn_cxx_try_compile "$LINENO"; then :
43689 glibcxx_cv_func__logf_use=yes
43690 else
43691 glibcxx_cv_func__logf_use=no
43693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43694 ac_ext=c
43695 ac_cpp='$CPP $CPPFLAGS'
43696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
43705 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
43707 if test x$glibcxx_cv_func__logf_use = x"yes"; then
43708 for ac_func in _logf
43709 do :
43710 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
43711 if test "x$ac_cv_func__logf" = xyes; then :
43712 cat >>confdefs.h <<_ACEOF
43713 #define HAVE__LOGF 1
43714 _ACEOF
43717 done
43726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
43727 $as_echo_n "checking for log10f declaration... " >&6; }
43728 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
43729 if ${glibcxx_cv_func_log10f_use+:} false; then :
43730 $as_echo_n "(cached) " >&6
43731 else
43734 ac_ext=cpp
43735 ac_cpp='$CXXCPP $CPPFLAGS'
43736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43741 /* end confdefs.h. */
43742 #include <math.h>
43743 #ifdef HAVE_IEEEFP_H
43744 #include <ieeefp.h>
43745 #endif
43748 main ()
43750 log10f(0);
43752 return 0;
43754 _ACEOF
43755 if ac_fn_cxx_try_compile "$LINENO"; then :
43756 glibcxx_cv_func_log10f_use=yes
43757 else
43758 glibcxx_cv_func_log10f_use=no
43760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43761 ac_ext=c
43762 ac_cpp='$CPP $CPPFLAGS'
43763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
43772 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
43774 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
43775 for ac_func in log10f
43776 do :
43777 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
43778 if test "x$ac_cv_func_log10f" = xyes; then :
43779 cat >>confdefs.h <<_ACEOF
43780 #define HAVE_LOG10F 1
43781 _ACEOF
43784 done
43786 else
43788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
43789 $as_echo_n "checking for _log10f declaration... " >&6; }
43790 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
43791 if ${glibcxx_cv_func__log10f_use+:} false; then :
43792 $as_echo_n "(cached) " >&6
43793 else
43796 ac_ext=cpp
43797 ac_cpp='$CXXCPP $CPPFLAGS'
43798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43803 /* end confdefs.h. */
43804 #include <math.h>
43805 #ifdef HAVE_IEEEFP_H
43806 #include <ieeefp.h>
43807 #endif
43810 main ()
43812 _log10f(0);
43814 return 0;
43816 _ACEOF
43817 if ac_fn_cxx_try_compile "$LINENO"; then :
43818 glibcxx_cv_func__log10f_use=yes
43819 else
43820 glibcxx_cv_func__log10f_use=no
43822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43823 ac_ext=c
43824 ac_cpp='$CPP $CPPFLAGS'
43825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
43834 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
43836 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
43837 for ac_func in _log10f
43838 do :
43839 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
43840 if test "x$ac_cv_func__log10f" = xyes; then :
43841 cat >>confdefs.h <<_ACEOF
43842 #define HAVE__LOG10F 1
43843 _ACEOF
43846 done
43855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
43856 $as_echo_n "checking for modff declaration... " >&6; }
43857 if test x${glibcxx_cv_func_modff_use+set} != xset; then
43858 if ${glibcxx_cv_func_modff_use+:} false; then :
43859 $as_echo_n "(cached) " >&6
43860 else
43863 ac_ext=cpp
43864 ac_cpp='$CXXCPP $CPPFLAGS'
43865 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43866 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43867 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43870 /* end confdefs.h. */
43871 #include <math.h>
43873 main ()
43875 modff(0, 0);
43877 return 0;
43879 _ACEOF
43880 if ac_fn_cxx_try_compile "$LINENO"; then :
43881 glibcxx_cv_func_modff_use=yes
43882 else
43883 glibcxx_cv_func_modff_use=no
43885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43886 ac_ext=c
43887 ac_cpp='$CPP $CPPFLAGS'
43888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
43897 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
43899 if test x$glibcxx_cv_func_modff_use = x"yes"; then
43900 for ac_func in modff
43901 do :
43902 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
43903 if test "x$ac_cv_func_modff" = xyes; then :
43904 cat >>confdefs.h <<_ACEOF
43905 #define HAVE_MODFF 1
43906 _ACEOF
43909 done
43911 else
43913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
43914 $as_echo_n "checking for _modff declaration... " >&6; }
43915 if test x${glibcxx_cv_func__modff_use+set} != xset; then
43916 if ${glibcxx_cv_func__modff_use+:} false; then :
43917 $as_echo_n "(cached) " >&6
43918 else
43921 ac_ext=cpp
43922 ac_cpp='$CXXCPP $CPPFLAGS'
43923 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43924 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43925 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43928 /* end confdefs.h. */
43929 #include <math.h>
43931 main ()
43933 _modff(0, 0);
43935 return 0;
43937 _ACEOF
43938 if ac_fn_cxx_try_compile "$LINENO"; then :
43939 glibcxx_cv_func__modff_use=yes
43940 else
43941 glibcxx_cv_func__modff_use=no
43943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43944 ac_ext=c
43945 ac_cpp='$CPP $CPPFLAGS'
43946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
43955 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
43957 if test x$glibcxx_cv_func__modff_use = x"yes"; then
43958 for ac_func in _modff
43959 do :
43960 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
43961 if test "x$ac_cv_func__modff" = xyes; then :
43962 cat >>confdefs.h <<_ACEOF
43963 #define HAVE__MODFF 1
43964 _ACEOF
43967 done
43976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
43977 $as_echo_n "checking for modf declaration... " >&6; }
43978 if test x${glibcxx_cv_func_modf_use+set} != xset; then
43979 if ${glibcxx_cv_func_modf_use+:} false; then :
43980 $as_echo_n "(cached) " >&6
43981 else
43984 ac_ext=cpp
43985 ac_cpp='$CXXCPP $CPPFLAGS'
43986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43991 /* end confdefs.h. */
43992 #include <math.h>
43994 main ()
43996 modf(0, 0);
43998 return 0;
44000 _ACEOF
44001 if ac_fn_cxx_try_compile "$LINENO"; then :
44002 glibcxx_cv_func_modf_use=yes
44003 else
44004 glibcxx_cv_func_modf_use=no
44006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44007 ac_ext=c
44008 ac_cpp='$CPP $CPPFLAGS'
44009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
44018 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
44020 if test x$glibcxx_cv_func_modf_use = x"yes"; then
44021 for ac_func in modf
44022 do :
44023 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
44024 if test "x$ac_cv_func_modf" = xyes; then :
44025 cat >>confdefs.h <<_ACEOF
44026 #define HAVE_MODF 1
44027 _ACEOF
44030 done
44032 else
44034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
44035 $as_echo_n "checking for _modf declaration... " >&6; }
44036 if test x${glibcxx_cv_func__modf_use+set} != xset; then
44037 if ${glibcxx_cv_func__modf_use+:} false; then :
44038 $as_echo_n "(cached) " >&6
44039 else
44042 ac_ext=cpp
44043 ac_cpp='$CXXCPP $CPPFLAGS'
44044 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44045 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44046 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44049 /* end confdefs.h. */
44050 #include <math.h>
44052 main ()
44054 _modf(0, 0);
44056 return 0;
44058 _ACEOF
44059 if ac_fn_cxx_try_compile "$LINENO"; then :
44060 glibcxx_cv_func__modf_use=yes
44061 else
44062 glibcxx_cv_func__modf_use=no
44064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44065 ac_ext=c
44066 ac_cpp='$CPP $CPPFLAGS'
44067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
44076 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
44078 if test x$glibcxx_cv_func__modf_use = x"yes"; then
44079 for ac_func in _modf
44080 do :
44081 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
44082 if test "x$ac_cv_func__modf" = xyes; then :
44083 cat >>confdefs.h <<_ACEOF
44084 #define HAVE__MODF 1
44085 _ACEOF
44088 done
44097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
44098 $as_echo_n "checking for powf declaration... " >&6; }
44099 if test x${glibcxx_cv_func_powf_use+set} != xset; then
44100 if ${glibcxx_cv_func_powf_use+:} false; then :
44101 $as_echo_n "(cached) " >&6
44102 else
44105 ac_ext=cpp
44106 ac_cpp='$CXXCPP $CPPFLAGS'
44107 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44108 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44109 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44112 /* end confdefs.h. */
44113 #include <math.h>
44115 main ()
44117 powf(0, 0);
44119 return 0;
44121 _ACEOF
44122 if ac_fn_cxx_try_compile "$LINENO"; then :
44123 glibcxx_cv_func_powf_use=yes
44124 else
44125 glibcxx_cv_func_powf_use=no
44127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44128 ac_ext=c
44129 ac_cpp='$CPP $CPPFLAGS'
44130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
44139 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
44141 if test x$glibcxx_cv_func_powf_use = x"yes"; then
44142 for ac_func in powf
44143 do :
44144 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
44145 if test "x$ac_cv_func_powf" = xyes; then :
44146 cat >>confdefs.h <<_ACEOF
44147 #define HAVE_POWF 1
44148 _ACEOF
44151 done
44153 else
44155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
44156 $as_echo_n "checking for _powf declaration... " >&6; }
44157 if test x${glibcxx_cv_func__powf_use+set} != xset; then
44158 if ${glibcxx_cv_func__powf_use+:} false; then :
44159 $as_echo_n "(cached) " >&6
44160 else
44163 ac_ext=cpp
44164 ac_cpp='$CXXCPP $CPPFLAGS'
44165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44170 /* end confdefs.h. */
44171 #include <math.h>
44173 main ()
44175 _powf(0, 0);
44177 return 0;
44179 _ACEOF
44180 if ac_fn_cxx_try_compile "$LINENO"; then :
44181 glibcxx_cv_func__powf_use=yes
44182 else
44183 glibcxx_cv_func__powf_use=no
44185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44186 ac_ext=c
44187 ac_cpp='$CPP $CPPFLAGS'
44188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
44197 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
44199 if test x$glibcxx_cv_func__powf_use = x"yes"; then
44200 for ac_func in _powf
44201 do :
44202 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
44203 if test "x$ac_cv_func__powf" = xyes; then :
44204 cat >>confdefs.h <<_ACEOF
44205 #define HAVE__POWF 1
44206 _ACEOF
44209 done
44218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
44219 $as_echo_n "checking for sqrtf declaration... " >&6; }
44220 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
44221 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
44222 $as_echo_n "(cached) " >&6
44223 else
44226 ac_ext=cpp
44227 ac_cpp='$CXXCPP $CPPFLAGS'
44228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44233 /* end confdefs.h. */
44234 #include <math.h>
44235 #ifdef HAVE_IEEEFP_H
44236 #include <ieeefp.h>
44237 #endif
44240 main ()
44242 sqrtf(0);
44244 return 0;
44246 _ACEOF
44247 if ac_fn_cxx_try_compile "$LINENO"; then :
44248 glibcxx_cv_func_sqrtf_use=yes
44249 else
44250 glibcxx_cv_func_sqrtf_use=no
44252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44253 ac_ext=c
44254 ac_cpp='$CPP $CPPFLAGS'
44255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
44264 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
44266 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
44267 for ac_func in sqrtf
44268 do :
44269 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
44270 if test "x$ac_cv_func_sqrtf" = xyes; then :
44271 cat >>confdefs.h <<_ACEOF
44272 #define HAVE_SQRTF 1
44273 _ACEOF
44276 done
44278 else
44280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
44281 $as_echo_n "checking for _sqrtf declaration... " >&6; }
44282 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
44283 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
44284 $as_echo_n "(cached) " >&6
44285 else
44288 ac_ext=cpp
44289 ac_cpp='$CXXCPP $CPPFLAGS'
44290 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44291 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44292 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44295 /* end confdefs.h. */
44296 #include <math.h>
44297 #ifdef HAVE_IEEEFP_H
44298 #include <ieeefp.h>
44299 #endif
44302 main ()
44304 _sqrtf(0);
44306 return 0;
44308 _ACEOF
44309 if ac_fn_cxx_try_compile "$LINENO"; then :
44310 glibcxx_cv_func__sqrtf_use=yes
44311 else
44312 glibcxx_cv_func__sqrtf_use=no
44314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44315 ac_ext=c
44316 ac_cpp='$CPP $CPPFLAGS'
44317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
44326 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
44328 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
44329 for ac_func in _sqrtf
44330 do :
44331 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
44332 if test "x$ac_cv_func__sqrtf" = xyes; then :
44333 cat >>confdefs.h <<_ACEOF
44334 #define HAVE__SQRTF 1
44335 _ACEOF
44338 done
44347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
44348 $as_echo_n "checking for sincosf declaration... " >&6; }
44349 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
44350 if ${glibcxx_cv_func_sincosf_use+:} false; then :
44351 $as_echo_n "(cached) " >&6
44352 else
44355 ac_ext=cpp
44356 ac_cpp='$CXXCPP $CPPFLAGS'
44357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44362 /* end confdefs.h. */
44363 #include <math.h>
44365 main ()
44367 sincosf(0, 0, 0);
44369 return 0;
44371 _ACEOF
44372 if ac_fn_cxx_try_compile "$LINENO"; then :
44373 glibcxx_cv_func_sincosf_use=yes
44374 else
44375 glibcxx_cv_func_sincosf_use=no
44377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44378 ac_ext=c
44379 ac_cpp='$CPP $CPPFLAGS'
44380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
44389 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
44391 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
44392 for ac_func in sincosf
44393 do :
44394 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
44395 if test "x$ac_cv_func_sincosf" = xyes; then :
44396 cat >>confdefs.h <<_ACEOF
44397 #define HAVE_SINCOSF 1
44398 _ACEOF
44401 done
44403 else
44405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
44406 $as_echo_n "checking for _sincosf declaration... " >&6; }
44407 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
44408 if ${glibcxx_cv_func__sincosf_use+:} false; then :
44409 $as_echo_n "(cached) " >&6
44410 else
44413 ac_ext=cpp
44414 ac_cpp='$CXXCPP $CPPFLAGS'
44415 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44416 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44417 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44420 /* end confdefs.h. */
44421 #include <math.h>
44423 main ()
44425 _sincosf(0, 0, 0);
44427 return 0;
44429 _ACEOF
44430 if ac_fn_cxx_try_compile "$LINENO"; then :
44431 glibcxx_cv_func__sincosf_use=yes
44432 else
44433 glibcxx_cv_func__sincosf_use=no
44435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44436 ac_ext=c
44437 ac_cpp='$CPP $CPPFLAGS'
44438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
44447 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
44449 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
44450 for ac_func in _sincosf
44451 do :
44452 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
44453 if test "x$ac_cv_func__sincosf" = xyes; then :
44454 cat >>confdefs.h <<_ACEOF
44455 #define HAVE__SINCOSF 1
44456 _ACEOF
44459 done
44468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
44469 $as_echo_n "checking for finitef declaration... " >&6; }
44470 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
44471 if ${glibcxx_cv_func_finitef_use+:} false; then :
44472 $as_echo_n "(cached) " >&6
44473 else
44476 ac_ext=cpp
44477 ac_cpp='$CXXCPP $CPPFLAGS'
44478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44483 /* end confdefs.h. */
44484 #include <math.h>
44485 #ifdef HAVE_IEEEFP_H
44486 #include <ieeefp.h>
44487 #endif
44490 main ()
44492 finitef(0);
44494 return 0;
44496 _ACEOF
44497 if ac_fn_cxx_try_compile "$LINENO"; then :
44498 glibcxx_cv_func_finitef_use=yes
44499 else
44500 glibcxx_cv_func_finitef_use=no
44502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44503 ac_ext=c
44504 ac_cpp='$CPP $CPPFLAGS'
44505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
44514 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
44516 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
44517 for ac_func in finitef
44518 do :
44519 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
44520 if test "x$ac_cv_func_finitef" = xyes; then :
44521 cat >>confdefs.h <<_ACEOF
44522 #define HAVE_FINITEF 1
44523 _ACEOF
44526 done
44528 else
44530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
44531 $as_echo_n "checking for _finitef declaration... " >&6; }
44532 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
44533 if ${glibcxx_cv_func__finitef_use+:} false; then :
44534 $as_echo_n "(cached) " >&6
44535 else
44538 ac_ext=cpp
44539 ac_cpp='$CXXCPP $CPPFLAGS'
44540 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44541 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44542 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44545 /* end confdefs.h. */
44546 #include <math.h>
44547 #ifdef HAVE_IEEEFP_H
44548 #include <ieeefp.h>
44549 #endif
44552 main ()
44554 _finitef(0);
44556 return 0;
44558 _ACEOF
44559 if ac_fn_cxx_try_compile "$LINENO"; then :
44560 glibcxx_cv_func__finitef_use=yes
44561 else
44562 glibcxx_cv_func__finitef_use=no
44564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44565 ac_ext=c
44566 ac_cpp='$CPP $CPPFLAGS'
44567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
44576 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
44578 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
44579 for ac_func in _finitef
44580 do :
44581 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
44582 if test "x$ac_cv_func__finitef" = xyes; then :
44583 cat >>confdefs.h <<_ACEOF
44584 #define HAVE__FINITEF 1
44585 _ACEOF
44588 done
44597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
44598 $as_echo_n "checking for long double trig functions... " >&6; }
44599 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
44600 $as_echo_n "(cached) " >&6
44601 else
44604 ac_ext=cpp
44605 ac_cpp='$CXXCPP $CPPFLAGS'
44606 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44607 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44608 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44611 /* end confdefs.h. */
44612 #include <math.h>
44614 main ()
44616 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
44618 return 0;
44620 _ACEOF
44621 if ac_fn_cxx_try_compile "$LINENO"; then :
44622 glibcxx_cv_func_long_double_trig_use=yes
44623 else
44624 glibcxx_cv_func_long_double_trig_use=no
44626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44627 ac_ext=c
44628 ac_cpp='$CPP $CPPFLAGS'
44629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
44636 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
44637 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
44638 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
44639 do :
44640 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44641 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44642 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
44643 cat >>confdefs.h <<_ACEOF
44644 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44645 _ACEOF
44648 done
44650 else
44651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
44652 $as_echo_n "checking for _long double trig functions... " >&6; }
44653 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
44654 $as_echo_n "(cached) " >&6
44655 else
44658 ac_ext=cpp
44659 ac_cpp='$CXXCPP $CPPFLAGS'
44660 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44661 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44662 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44665 /* end confdefs.h. */
44666 #include <math.h>
44668 main ()
44670 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
44672 return 0;
44674 _ACEOF
44675 if ac_fn_cxx_try_compile "$LINENO"; then :
44676 glibcxx_cv_func__long_double_trig_use=yes
44677 else
44678 glibcxx_cv_func__long_double_trig_use=no
44680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44681 ac_ext=c
44682 ac_cpp='$CPP $CPPFLAGS'
44683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
44690 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
44691 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
44692 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
44693 do :
44694 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44695 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44696 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
44697 cat >>confdefs.h <<_ACEOF
44698 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44699 _ACEOF
44702 done
44711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
44712 $as_echo_n "checking for long double round functions... " >&6; }
44713 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
44714 $as_echo_n "(cached) " >&6
44715 else
44718 ac_ext=cpp
44719 ac_cpp='$CXXCPP $CPPFLAGS'
44720 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44721 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44722 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44725 /* end confdefs.h. */
44726 #include <math.h>
44728 main ()
44730 ceill (0); floorl (0);
44732 return 0;
44734 _ACEOF
44735 if ac_fn_cxx_try_compile "$LINENO"; then :
44736 glibcxx_cv_func_long_double_round_use=yes
44737 else
44738 glibcxx_cv_func_long_double_round_use=no
44740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44741 ac_ext=c
44742 ac_cpp='$CPP $CPPFLAGS'
44743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44744 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
44750 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
44751 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
44752 for ac_func in ceill floorl
44753 do :
44754 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44755 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44756 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
44757 cat >>confdefs.h <<_ACEOF
44758 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44759 _ACEOF
44762 done
44764 else
44765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
44766 $as_echo_n "checking for _long double round functions... " >&6; }
44767 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
44768 $as_echo_n "(cached) " >&6
44769 else
44772 ac_ext=cpp
44773 ac_cpp='$CXXCPP $CPPFLAGS'
44774 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44775 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44776 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44779 /* end confdefs.h. */
44780 #include <math.h>
44782 main ()
44784 _ceill (0); _floorl (0);
44786 return 0;
44788 _ACEOF
44789 if ac_fn_cxx_try_compile "$LINENO"; then :
44790 glibcxx_cv_func__long_double_round_use=yes
44791 else
44792 glibcxx_cv_func__long_double_round_use=no
44794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44795 ac_ext=c
44796 ac_cpp='$CPP $CPPFLAGS'
44797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
44804 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
44805 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
44806 for ac_func in _ceill _floorl
44807 do :
44808 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44809 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44810 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
44811 cat >>confdefs.h <<_ACEOF
44812 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44813 _ACEOF
44816 done
44826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
44827 $as_echo_n "checking for isnanl declaration... " >&6; }
44828 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
44829 if ${glibcxx_cv_func_isnanl_use+:} false; then :
44830 $as_echo_n "(cached) " >&6
44831 else
44834 ac_ext=cpp
44835 ac_cpp='$CXXCPP $CPPFLAGS'
44836 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44837 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44838 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44841 /* end confdefs.h. */
44842 #include <math.h>
44843 #ifdef HAVE_IEEEFP_H
44844 #include <ieeefp.h>
44845 #endif
44848 main ()
44850 isnanl(0);
44852 return 0;
44854 _ACEOF
44855 if ac_fn_cxx_try_compile "$LINENO"; then :
44856 glibcxx_cv_func_isnanl_use=yes
44857 else
44858 glibcxx_cv_func_isnanl_use=no
44860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44861 ac_ext=c
44862 ac_cpp='$CPP $CPPFLAGS'
44863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
44872 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
44874 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
44875 for ac_func in isnanl
44876 do :
44877 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
44878 if test "x$ac_cv_func_isnanl" = xyes; then :
44879 cat >>confdefs.h <<_ACEOF
44880 #define HAVE_ISNANL 1
44881 _ACEOF
44884 done
44886 else
44888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
44889 $as_echo_n "checking for _isnanl declaration... " >&6; }
44890 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
44891 if ${glibcxx_cv_func__isnanl_use+:} false; then :
44892 $as_echo_n "(cached) " >&6
44893 else
44896 ac_ext=cpp
44897 ac_cpp='$CXXCPP $CPPFLAGS'
44898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44903 /* end confdefs.h. */
44904 #include <math.h>
44905 #ifdef HAVE_IEEEFP_H
44906 #include <ieeefp.h>
44907 #endif
44910 main ()
44912 _isnanl(0);
44914 return 0;
44916 _ACEOF
44917 if ac_fn_cxx_try_compile "$LINENO"; then :
44918 glibcxx_cv_func__isnanl_use=yes
44919 else
44920 glibcxx_cv_func__isnanl_use=no
44922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44923 ac_ext=c
44924 ac_cpp='$CPP $CPPFLAGS'
44925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
44934 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
44936 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
44937 for ac_func in _isnanl
44938 do :
44939 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
44940 if test "x$ac_cv_func__isnanl" = xyes; then :
44941 cat >>confdefs.h <<_ACEOF
44942 #define HAVE__ISNANL 1
44943 _ACEOF
44946 done
44955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
44956 $as_echo_n "checking for isinfl declaration... " >&6; }
44957 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
44958 if ${glibcxx_cv_func_isinfl_use+:} false; then :
44959 $as_echo_n "(cached) " >&6
44960 else
44963 ac_ext=cpp
44964 ac_cpp='$CXXCPP $CPPFLAGS'
44965 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44966 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44967 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44970 /* end confdefs.h. */
44971 #include <math.h>
44972 #ifdef HAVE_IEEEFP_H
44973 #include <ieeefp.h>
44974 #endif
44977 main ()
44979 isinfl(0);
44981 return 0;
44983 _ACEOF
44984 if ac_fn_cxx_try_compile "$LINENO"; then :
44985 glibcxx_cv_func_isinfl_use=yes
44986 else
44987 glibcxx_cv_func_isinfl_use=no
44989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44990 ac_ext=c
44991 ac_cpp='$CPP $CPPFLAGS'
44992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
45001 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
45003 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
45004 for ac_func in isinfl
45005 do :
45006 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
45007 if test "x$ac_cv_func_isinfl" = xyes; then :
45008 cat >>confdefs.h <<_ACEOF
45009 #define HAVE_ISINFL 1
45010 _ACEOF
45013 done
45015 else
45017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
45018 $as_echo_n "checking for _isinfl declaration... " >&6; }
45019 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
45020 if ${glibcxx_cv_func__isinfl_use+:} false; then :
45021 $as_echo_n "(cached) " >&6
45022 else
45025 ac_ext=cpp
45026 ac_cpp='$CXXCPP $CPPFLAGS'
45027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45032 /* end confdefs.h. */
45033 #include <math.h>
45034 #ifdef HAVE_IEEEFP_H
45035 #include <ieeefp.h>
45036 #endif
45039 main ()
45041 _isinfl(0);
45043 return 0;
45045 _ACEOF
45046 if ac_fn_cxx_try_compile "$LINENO"; then :
45047 glibcxx_cv_func__isinfl_use=yes
45048 else
45049 glibcxx_cv_func__isinfl_use=no
45051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45052 ac_ext=c
45053 ac_cpp='$CPP $CPPFLAGS'
45054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
45063 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
45065 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
45066 for ac_func in _isinfl
45067 do :
45068 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
45069 if test "x$ac_cv_func__isinfl" = xyes; then :
45070 cat >>confdefs.h <<_ACEOF
45071 #define HAVE__ISINFL 1
45072 _ACEOF
45075 done
45084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
45085 $as_echo_n "checking for atan2l declaration... " >&6; }
45086 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
45087 if ${glibcxx_cv_func_atan2l_use+:} false; then :
45088 $as_echo_n "(cached) " >&6
45089 else
45092 ac_ext=cpp
45093 ac_cpp='$CXXCPP $CPPFLAGS'
45094 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45095 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45096 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45099 /* end confdefs.h. */
45100 #include <math.h>
45102 main ()
45104 atan2l(0, 0);
45106 return 0;
45108 _ACEOF
45109 if ac_fn_cxx_try_compile "$LINENO"; then :
45110 glibcxx_cv_func_atan2l_use=yes
45111 else
45112 glibcxx_cv_func_atan2l_use=no
45114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45115 ac_ext=c
45116 ac_cpp='$CPP $CPPFLAGS'
45117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
45126 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
45128 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
45129 for ac_func in atan2l
45130 do :
45131 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
45132 if test "x$ac_cv_func_atan2l" = xyes; then :
45133 cat >>confdefs.h <<_ACEOF
45134 #define HAVE_ATAN2L 1
45135 _ACEOF
45138 done
45140 else
45142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
45143 $as_echo_n "checking for _atan2l declaration... " >&6; }
45144 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
45145 if ${glibcxx_cv_func__atan2l_use+:} false; then :
45146 $as_echo_n "(cached) " >&6
45147 else
45150 ac_ext=cpp
45151 ac_cpp='$CXXCPP $CPPFLAGS'
45152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45157 /* end confdefs.h. */
45158 #include <math.h>
45160 main ()
45162 _atan2l(0, 0);
45164 return 0;
45166 _ACEOF
45167 if ac_fn_cxx_try_compile "$LINENO"; then :
45168 glibcxx_cv_func__atan2l_use=yes
45169 else
45170 glibcxx_cv_func__atan2l_use=no
45172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45173 ac_ext=c
45174 ac_cpp='$CPP $CPPFLAGS'
45175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
45184 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
45186 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
45187 for ac_func in _atan2l
45188 do :
45189 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
45190 if test "x$ac_cv_func__atan2l" = xyes; then :
45191 cat >>confdefs.h <<_ACEOF
45192 #define HAVE__ATAN2L 1
45193 _ACEOF
45196 done
45205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
45206 $as_echo_n "checking for expl declaration... " >&6; }
45207 if test x${glibcxx_cv_func_expl_use+set} != xset; then
45208 if ${glibcxx_cv_func_expl_use+:} false; then :
45209 $as_echo_n "(cached) " >&6
45210 else
45213 ac_ext=cpp
45214 ac_cpp='$CXXCPP $CPPFLAGS'
45215 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45216 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45217 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45220 /* end confdefs.h. */
45221 #include <math.h>
45222 #ifdef HAVE_IEEEFP_H
45223 #include <ieeefp.h>
45224 #endif
45227 main ()
45229 expl(0);
45231 return 0;
45233 _ACEOF
45234 if ac_fn_cxx_try_compile "$LINENO"; then :
45235 glibcxx_cv_func_expl_use=yes
45236 else
45237 glibcxx_cv_func_expl_use=no
45239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45240 ac_ext=c
45241 ac_cpp='$CPP $CPPFLAGS'
45242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
45251 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
45253 if test x$glibcxx_cv_func_expl_use = x"yes"; then
45254 for ac_func in expl
45255 do :
45256 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
45257 if test "x$ac_cv_func_expl" = xyes; then :
45258 cat >>confdefs.h <<_ACEOF
45259 #define HAVE_EXPL 1
45260 _ACEOF
45263 done
45265 else
45267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
45268 $as_echo_n "checking for _expl declaration... " >&6; }
45269 if test x${glibcxx_cv_func__expl_use+set} != xset; then
45270 if ${glibcxx_cv_func__expl_use+:} false; then :
45271 $as_echo_n "(cached) " >&6
45272 else
45275 ac_ext=cpp
45276 ac_cpp='$CXXCPP $CPPFLAGS'
45277 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45278 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45279 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45282 /* end confdefs.h. */
45283 #include <math.h>
45284 #ifdef HAVE_IEEEFP_H
45285 #include <ieeefp.h>
45286 #endif
45289 main ()
45291 _expl(0);
45293 return 0;
45295 _ACEOF
45296 if ac_fn_cxx_try_compile "$LINENO"; then :
45297 glibcxx_cv_func__expl_use=yes
45298 else
45299 glibcxx_cv_func__expl_use=no
45301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45302 ac_ext=c
45303 ac_cpp='$CPP $CPPFLAGS'
45304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
45313 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
45315 if test x$glibcxx_cv_func__expl_use = x"yes"; then
45316 for ac_func in _expl
45317 do :
45318 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
45319 if test "x$ac_cv_func__expl" = xyes; then :
45320 cat >>confdefs.h <<_ACEOF
45321 #define HAVE__EXPL 1
45322 _ACEOF
45325 done
45334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
45335 $as_echo_n "checking for fabsl declaration... " >&6; }
45336 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
45337 if ${glibcxx_cv_func_fabsl_use+:} false; then :
45338 $as_echo_n "(cached) " >&6
45339 else
45342 ac_ext=cpp
45343 ac_cpp='$CXXCPP $CPPFLAGS'
45344 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45345 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45346 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45349 /* end confdefs.h. */
45350 #include <math.h>
45351 #ifdef HAVE_IEEEFP_H
45352 #include <ieeefp.h>
45353 #endif
45356 main ()
45358 fabsl(0);
45360 return 0;
45362 _ACEOF
45363 if ac_fn_cxx_try_compile "$LINENO"; then :
45364 glibcxx_cv_func_fabsl_use=yes
45365 else
45366 glibcxx_cv_func_fabsl_use=no
45368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45369 ac_ext=c
45370 ac_cpp='$CPP $CPPFLAGS'
45371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
45380 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
45382 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
45383 for ac_func in fabsl
45384 do :
45385 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
45386 if test "x$ac_cv_func_fabsl" = xyes; then :
45387 cat >>confdefs.h <<_ACEOF
45388 #define HAVE_FABSL 1
45389 _ACEOF
45392 done
45394 else
45396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
45397 $as_echo_n "checking for _fabsl declaration... " >&6; }
45398 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
45399 if ${glibcxx_cv_func__fabsl_use+:} false; then :
45400 $as_echo_n "(cached) " >&6
45401 else
45404 ac_ext=cpp
45405 ac_cpp='$CXXCPP $CPPFLAGS'
45406 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45407 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45408 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45411 /* end confdefs.h. */
45412 #include <math.h>
45413 #ifdef HAVE_IEEEFP_H
45414 #include <ieeefp.h>
45415 #endif
45418 main ()
45420 _fabsl(0);
45422 return 0;
45424 _ACEOF
45425 if ac_fn_cxx_try_compile "$LINENO"; then :
45426 glibcxx_cv_func__fabsl_use=yes
45427 else
45428 glibcxx_cv_func__fabsl_use=no
45430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45431 ac_ext=c
45432 ac_cpp='$CPP $CPPFLAGS'
45433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
45442 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
45444 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
45445 for ac_func in _fabsl
45446 do :
45447 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
45448 if test "x$ac_cv_func__fabsl" = xyes; then :
45449 cat >>confdefs.h <<_ACEOF
45450 #define HAVE__FABSL 1
45451 _ACEOF
45454 done
45463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
45464 $as_echo_n "checking for fmodl declaration... " >&6; }
45465 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
45466 if ${glibcxx_cv_func_fmodl_use+:} false; then :
45467 $as_echo_n "(cached) " >&6
45468 else
45471 ac_ext=cpp
45472 ac_cpp='$CXXCPP $CPPFLAGS'
45473 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45474 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45475 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45478 /* end confdefs.h. */
45479 #include <math.h>
45481 main ()
45483 fmodl(0, 0);
45485 return 0;
45487 _ACEOF
45488 if ac_fn_cxx_try_compile "$LINENO"; then :
45489 glibcxx_cv_func_fmodl_use=yes
45490 else
45491 glibcxx_cv_func_fmodl_use=no
45493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45494 ac_ext=c
45495 ac_cpp='$CPP $CPPFLAGS'
45496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
45505 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
45507 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
45508 for ac_func in fmodl
45509 do :
45510 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
45511 if test "x$ac_cv_func_fmodl" = xyes; then :
45512 cat >>confdefs.h <<_ACEOF
45513 #define HAVE_FMODL 1
45514 _ACEOF
45517 done
45519 else
45521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
45522 $as_echo_n "checking for _fmodl declaration... " >&6; }
45523 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
45524 if ${glibcxx_cv_func__fmodl_use+:} false; then :
45525 $as_echo_n "(cached) " >&6
45526 else
45529 ac_ext=cpp
45530 ac_cpp='$CXXCPP $CPPFLAGS'
45531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45532 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45536 /* end confdefs.h. */
45537 #include <math.h>
45539 main ()
45541 _fmodl(0, 0);
45543 return 0;
45545 _ACEOF
45546 if ac_fn_cxx_try_compile "$LINENO"; then :
45547 glibcxx_cv_func__fmodl_use=yes
45548 else
45549 glibcxx_cv_func__fmodl_use=no
45551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45552 ac_ext=c
45553 ac_cpp='$CPP $CPPFLAGS'
45554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
45563 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
45565 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
45566 for ac_func in _fmodl
45567 do :
45568 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
45569 if test "x$ac_cv_func__fmodl" = xyes; then :
45570 cat >>confdefs.h <<_ACEOF
45571 #define HAVE__FMODL 1
45572 _ACEOF
45575 done
45584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
45585 $as_echo_n "checking for frexpl declaration... " >&6; }
45586 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
45587 if ${glibcxx_cv_func_frexpl_use+:} false; then :
45588 $as_echo_n "(cached) " >&6
45589 else
45592 ac_ext=cpp
45593 ac_cpp='$CXXCPP $CPPFLAGS'
45594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45599 /* end confdefs.h. */
45600 #include <math.h>
45602 main ()
45604 frexpl(0, 0);
45606 return 0;
45608 _ACEOF
45609 if ac_fn_cxx_try_compile "$LINENO"; then :
45610 glibcxx_cv_func_frexpl_use=yes
45611 else
45612 glibcxx_cv_func_frexpl_use=no
45614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45615 ac_ext=c
45616 ac_cpp='$CPP $CPPFLAGS'
45617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
45626 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
45628 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
45629 for ac_func in frexpl
45630 do :
45631 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
45632 if test "x$ac_cv_func_frexpl" = xyes; then :
45633 cat >>confdefs.h <<_ACEOF
45634 #define HAVE_FREXPL 1
45635 _ACEOF
45638 done
45640 else
45642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
45643 $as_echo_n "checking for _frexpl declaration... " >&6; }
45644 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
45645 if ${glibcxx_cv_func__frexpl_use+:} false; then :
45646 $as_echo_n "(cached) " >&6
45647 else
45650 ac_ext=cpp
45651 ac_cpp='$CXXCPP $CPPFLAGS'
45652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45657 /* end confdefs.h. */
45658 #include <math.h>
45660 main ()
45662 _frexpl(0, 0);
45664 return 0;
45666 _ACEOF
45667 if ac_fn_cxx_try_compile "$LINENO"; then :
45668 glibcxx_cv_func__frexpl_use=yes
45669 else
45670 glibcxx_cv_func__frexpl_use=no
45672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45673 ac_ext=c
45674 ac_cpp='$CPP $CPPFLAGS'
45675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
45684 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
45686 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
45687 for ac_func in _frexpl
45688 do :
45689 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
45690 if test "x$ac_cv_func__frexpl" = xyes; then :
45691 cat >>confdefs.h <<_ACEOF
45692 #define HAVE__FREXPL 1
45693 _ACEOF
45696 done
45705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
45706 $as_echo_n "checking for hypotl declaration... " >&6; }
45707 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
45708 if ${glibcxx_cv_func_hypotl_use+:} false; then :
45709 $as_echo_n "(cached) " >&6
45710 else
45713 ac_ext=cpp
45714 ac_cpp='$CXXCPP $CPPFLAGS'
45715 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45716 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45717 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45720 /* end confdefs.h. */
45721 #include <math.h>
45723 main ()
45725 hypotl(0, 0);
45727 return 0;
45729 _ACEOF
45730 if ac_fn_cxx_try_compile "$LINENO"; then :
45731 glibcxx_cv_func_hypotl_use=yes
45732 else
45733 glibcxx_cv_func_hypotl_use=no
45735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45736 ac_ext=c
45737 ac_cpp='$CPP $CPPFLAGS'
45738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
45747 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
45749 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
45750 for ac_func in hypotl
45751 do :
45752 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
45753 if test "x$ac_cv_func_hypotl" = xyes; then :
45754 cat >>confdefs.h <<_ACEOF
45755 #define HAVE_HYPOTL 1
45756 _ACEOF
45759 done
45761 else
45763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
45764 $as_echo_n "checking for _hypotl declaration... " >&6; }
45765 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
45766 if ${glibcxx_cv_func__hypotl_use+:} false; then :
45767 $as_echo_n "(cached) " >&6
45768 else
45771 ac_ext=cpp
45772 ac_cpp='$CXXCPP $CPPFLAGS'
45773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45778 /* end confdefs.h. */
45779 #include <math.h>
45781 main ()
45783 _hypotl(0, 0);
45785 return 0;
45787 _ACEOF
45788 if ac_fn_cxx_try_compile "$LINENO"; then :
45789 glibcxx_cv_func__hypotl_use=yes
45790 else
45791 glibcxx_cv_func__hypotl_use=no
45793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45794 ac_ext=c
45795 ac_cpp='$CPP $CPPFLAGS'
45796 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45797 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45798 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
45805 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
45807 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
45808 for ac_func in _hypotl
45809 do :
45810 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
45811 if test "x$ac_cv_func__hypotl" = xyes; then :
45812 cat >>confdefs.h <<_ACEOF
45813 #define HAVE__HYPOTL 1
45814 _ACEOF
45817 done
45826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
45827 $as_echo_n "checking for ldexpl declaration... " >&6; }
45828 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
45829 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
45830 $as_echo_n "(cached) " >&6
45831 else
45834 ac_ext=cpp
45835 ac_cpp='$CXXCPP $CPPFLAGS'
45836 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45837 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45838 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45841 /* end confdefs.h. */
45842 #include <math.h>
45844 main ()
45846 ldexpl(0, 0);
45848 return 0;
45850 _ACEOF
45851 if ac_fn_cxx_try_compile "$LINENO"; then :
45852 glibcxx_cv_func_ldexpl_use=yes
45853 else
45854 glibcxx_cv_func_ldexpl_use=no
45856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45857 ac_ext=c
45858 ac_cpp='$CPP $CPPFLAGS'
45859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
45868 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
45870 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
45871 for ac_func in ldexpl
45872 do :
45873 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
45874 if test "x$ac_cv_func_ldexpl" = xyes; then :
45875 cat >>confdefs.h <<_ACEOF
45876 #define HAVE_LDEXPL 1
45877 _ACEOF
45880 done
45882 else
45884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
45885 $as_echo_n "checking for _ldexpl declaration... " >&6; }
45886 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
45887 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
45888 $as_echo_n "(cached) " >&6
45889 else
45892 ac_ext=cpp
45893 ac_cpp='$CXXCPP $CPPFLAGS'
45894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45899 /* end confdefs.h. */
45900 #include <math.h>
45902 main ()
45904 _ldexpl(0, 0);
45906 return 0;
45908 _ACEOF
45909 if ac_fn_cxx_try_compile "$LINENO"; then :
45910 glibcxx_cv_func__ldexpl_use=yes
45911 else
45912 glibcxx_cv_func__ldexpl_use=no
45914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45915 ac_ext=c
45916 ac_cpp='$CPP $CPPFLAGS'
45917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
45926 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
45928 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
45929 for ac_func in _ldexpl
45930 do :
45931 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
45932 if test "x$ac_cv_func__ldexpl" = xyes; then :
45933 cat >>confdefs.h <<_ACEOF
45934 #define HAVE__LDEXPL 1
45935 _ACEOF
45938 done
45947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
45948 $as_echo_n "checking for logl declaration... " >&6; }
45949 if test x${glibcxx_cv_func_logl_use+set} != xset; then
45950 if ${glibcxx_cv_func_logl_use+:} false; then :
45951 $as_echo_n "(cached) " >&6
45952 else
45955 ac_ext=cpp
45956 ac_cpp='$CXXCPP $CPPFLAGS'
45957 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45958 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45959 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45962 /* end confdefs.h. */
45963 #include <math.h>
45964 #ifdef HAVE_IEEEFP_H
45965 #include <ieeefp.h>
45966 #endif
45969 main ()
45971 logl(0);
45973 return 0;
45975 _ACEOF
45976 if ac_fn_cxx_try_compile "$LINENO"; then :
45977 glibcxx_cv_func_logl_use=yes
45978 else
45979 glibcxx_cv_func_logl_use=no
45981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45982 ac_ext=c
45983 ac_cpp='$CPP $CPPFLAGS'
45984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
45993 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
45995 if test x$glibcxx_cv_func_logl_use = x"yes"; then
45996 for ac_func in logl
45997 do :
45998 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
45999 if test "x$ac_cv_func_logl" = xyes; then :
46000 cat >>confdefs.h <<_ACEOF
46001 #define HAVE_LOGL 1
46002 _ACEOF
46005 done
46007 else
46009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
46010 $as_echo_n "checking for _logl declaration... " >&6; }
46011 if test x${glibcxx_cv_func__logl_use+set} != xset; then
46012 if ${glibcxx_cv_func__logl_use+:} false; then :
46013 $as_echo_n "(cached) " >&6
46014 else
46017 ac_ext=cpp
46018 ac_cpp='$CXXCPP $CPPFLAGS'
46019 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46020 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46021 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46024 /* end confdefs.h. */
46025 #include <math.h>
46026 #ifdef HAVE_IEEEFP_H
46027 #include <ieeefp.h>
46028 #endif
46031 main ()
46033 _logl(0);
46035 return 0;
46037 _ACEOF
46038 if ac_fn_cxx_try_compile "$LINENO"; then :
46039 glibcxx_cv_func__logl_use=yes
46040 else
46041 glibcxx_cv_func__logl_use=no
46043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46044 ac_ext=c
46045 ac_cpp='$CPP $CPPFLAGS'
46046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
46055 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
46057 if test x$glibcxx_cv_func__logl_use = x"yes"; then
46058 for ac_func in _logl
46059 do :
46060 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
46061 if test "x$ac_cv_func__logl" = xyes; then :
46062 cat >>confdefs.h <<_ACEOF
46063 #define HAVE__LOGL 1
46064 _ACEOF
46067 done
46076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
46077 $as_echo_n "checking for log10l declaration... " >&6; }
46078 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
46079 if ${glibcxx_cv_func_log10l_use+:} false; then :
46080 $as_echo_n "(cached) " >&6
46081 else
46084 ac_ext=cpp
46085 ac_cpp='$CXXCPP $CPPFLAGS'
46086 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46087 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46088 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46091 /* end confdefs.h. */
46092 #include <math.h>
46093 #ifdef HAVE_IEEEFP_H
46094 #include <ieeefp.h>
46095 #endif
46098 main ()
46100 log10l(0);
46102 return 0;
46104 _ACEOF
46105 if ac_fn_cxx_try_compile "$LINENO"; then :
46106 glibcxx_cv_func_log10l_use=yes
46107 else
46108 glibcxx_cv_func_log10l_use=no
46110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46111 ac_ext=c
46112 ac_cpp='$CPP $CPPFLAGS'
46113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
46122 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
46124 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
46125 for ac_func in log10l
46126 do :
46127 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
46128 if test "x$ac_cv_func_log10l" = xyes; then :
46129 cat >>confdefs.h <<_ACEOF
46130 #define HAVE_LOG10L 1
46131 _ACEOF
46134 done
46136 else
46138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
46139 $as_echo_n "checking for _log10l declaration... " >&6; }
46140 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
46141 if ${glibcxx_cv_func__log10l_use+:} false; then :
46142 $as_echo_n "(cached) " >&6
46143 else
46146 ac_ext=cpp
46147 ac_cpp='$CXXCPP $CPPFLAGS'
46148 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46149 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46150 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46153 /* end confdefs.h. */
46154 #include <math.h>
46155 #ifdef HAVE_IEEEFP_H
46156 #include <ieeefp.h>
46157 #endif
46160 main ()
46162 _log10l(0);
46164 return 0;
46166 _ACEOF
46167 if ac_fn_cxx_try_compile "$LINENO"; then :
46168 glibcxx_cv_func__log10l_use=yes
46169 else
46170 glibcxx_cv_func__log10l_use=no
46172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46173 ac_ext=c
46174 ac_cpp='$CPP $CPPFLAGS'
46175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
46184 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
46186 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
46187 for ac_func in _log10l
46188 do :
46189 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
46190 if test "x$ac_cv_func__log10l" = xyes; then :
46191 cat >>confdefs.h <<_ACEOF
46192 #define HAVE__LOG10L 1
46193 _ACEOF
46196 done
46205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
46206 $as_echo_n "checking for modfl declaration... " >&6; }
46207 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
46208 if ${glibcxx_cv_func_modfl_use+:} false; then :
46209 $as_echo_n "(cached) " >&6
46210 else
46213 ac_ext=cpp
46214 ac_cpp='$CXXCPP $CPPFLAGS'
46215 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46216 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46217 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46220 /* end confdefs.h. */
46221 #include <math.h>
46223 main ()
46225 modfl(0, 0);
46227 return 0;
46229 _ACEOF
46230 if ac_fn_cxx_try_compile "$LINENO"; then :
46231 glibcxx_cv_func_modfl_use=yes
46232 else
46233 glibcxx_cv_func_modfl_use=no
46235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46236 ac_ext=c
46237 ac_cpp='$CPP $CPPFLAGS'
46238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
46247 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
46249 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
46250 for ac_func in modfl
46251 do :
46252 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
46253 if test "x$ac_cv_func_modfl" = xyes; then :
46254 cat >>confdefs.h <<_ACEOF
46255 #define HAVE_MODFL 1
46256 _ACEOF
46259 done
46261 else
46263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
46264 $as_echo_n "checking for _modfl declaration... " >&6; }
46265 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
46266 if ${glibcxx_cv_func__modfl_use+:} false; then :
46267 $as_echo_n "(cached) " >&6
46268 else
46271 ac_ext=cpp
46272 ac_cpp='$CXXCPP $CPPFLAGS'
46273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46278 /* end confdefs.h. */
46279 #include <math.h>
46281 main ()
46283 _modfl(0, 0);
46285 return 0;
46287 _ACEOF
46288 if ac_fn_cxx_try_compile "$LINENO"; then :
46289 glibcxx_cv_func__modfl_use=yes
46290 else
46291 glibcxx_cv_func__modfl_use=no
46293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46294 ac_ext=c
46295 ac_cpp='$CPP $CPPFLAGS'
46296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
46305 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
46307 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
46308 for ac_func in _modfl
46309 do :
46310 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
46311 if test "x$ac_cv_func__modfl" = xyes; then :
46312 cat >>confdefs.h <<_ACEOF
46313 #define HAVE__MODFL 1
46314 _ACEOF
46317 done
46326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
46327 $as_echo_n "checking for powl declaration... " >&6; }
46328 if test x${glibcxx_cv_func_powl_use+set} != xset; then
46329 if ${glibcxx_cv_func_powl_use+:} false; then :
46330 $as_echo_n "(cached) " >&6
46331 else
46334 ac_ext=cpp
46335 ac_cpp='$CXXCPP $CPPFLAGS'
46336 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46337 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46338 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46341 /* end confdefs.h. */
46342 #include <math.h>
46344 main ()
46346 powl(0, 0);
46348 return 0;
46350 _ACEOF
46351 if ac_fn_cxx_try_compile "$LINENO"; then :
46352 glibcxx_cv_func_powl_use=yes
46353 else
46354 glibcxx_cv_func_powl_use=no
46356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46357 ac_ext=c
46358 ac_cpp='$CPP $CPPFLAGS'
46359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
46368 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
46370 if test x$glibcxx_cv_func_powl_use = x"yes"; then
46371 for ac_func in powl
46372 do :
46373 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
46374 if test "x$ac_cv_func_powl" = xyes; then :
46375 cat >>confdefs.h <<_ACEOF
46376 #define HAVE_POWL 1
46377 _ACEOF
46380 done
46382 else
46384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
46385 $as_echo_n "checking for _powl declaration... " >&6; }
46386 if test x${glibcxx_cv_func__powl_use+set} != xset; then
46387 if ${glibcxx_cv_func__powl_use+:} false; then :
46388 $as_echo_n "(cached) " >&6
46389 else
46392 ac_ext=cpp
46393 ac_cpp='$CXXCPP $CPPFLAGS'
46394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46399 /* end confdefs.h. */
46400 #include <math.h>
46402 main ()
46404 _powl(0, 0);
46406 return 0;
46408 _ACEOF
46409 if ac_fn_cxx_try_compile "$LINENO"; then :
46410 glibcxx_cv_func__powl_use=yes
46411 else
46412 glibcxx_cv_func__powl_use=no
46414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46415 ac_ext=c
46416 ac_cpp='$CPP $CPPFLAGS'
46417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
46426 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
46428 if test x$glibcxx_cv_func__powl_use = x"yes"; then
46429 for ac_func in _powl
46430 do :
46431 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
46432 if test "x$ac_cv_func__powl" = xyes; then :
46433 cat >>confdefs.h <<_ACEOF
46434 #define HAVE__POWL 1
46435 _ACEOF
46438 done
46447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
46448 $as_echo_n "checking for sqrtl declaration... " >&6; }
46449 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
46450 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
46451 $as_echo_n "(cached) " >&6
46452 else
46455 ac_ext=cpp
46456 ac_cpp='$CXXCPP $CPPFLAGS'
46457 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46458 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46459 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46462 /* end confdefs.h. */
46463 #include <math.h>
46464 #ifdef HAVE_IEEEFP_H
46465 #include <ieeefp.h>
46466 #endif
46469 main ()
46471 sqrtl(0);
46473 return 0;
46475 _ACEOF
46476 if ac_fn_cxx_try_compile "$LINENO"; then :
46477 glibcxx_cv_func_sqrtl_use=yes
46478 else
46479 glibcxx_cv_func_sqrtl_use=no
46481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46482 ac_ext=c
46483 ac_cpp='$CPP $CPPFLAGS'
46484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
46493 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
46495 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
46496 for ac_func in sqrtl
46497 do :
46498 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
46499 if test "x$ac_cv_func_sqrtl" = xyes; then :
46500 cat >>confdefs.h <<_ACEOF
46501 #define HAVE_SQRTL 1
46502 _ACEOF
46505 done
46507 else
46509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
46510 $as_echo_n "checking for _sqrtl declaration... " >&6; }
46511 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
46512 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
46513 $as_echo_n "(cached) " >&6
46514 else
46517 ac_ext=cpp
46518 ac_cpp='$CXXCPP $CPPFLAGS'
46519 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46520 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46521 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46524 /* end confdefs.h. */
46525 #include <math.h>
46526 #ifdef HAVE_IEEEFP_H
46527 #include <ieeefp.h>
46528 #endif
46531 main ()
46533 _sqrtl(0);
46535 return 0;
46537 _ACEOF
46538 if ac_fn_cxx_try_compile "$LINENO"; then :
46539 glibcxx_cv_func__sqrtl_use=yes
46540 else
46541 glibcxx_cv_func__sqrtl_use=no
46543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46544 ac_ext=c
46545 ac_cpp='$CPP $CPPFLAGS'
46546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
46555 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
46557 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
46558 for ac_func in _sqrtl
46559 do :
46560 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
46561 if test "x$ac_cv_func__sqrtl" = xyes; then :
46562 cat >>confdefs.h <<_ACEOF
46563 #define HAVE__SQRTL 1
46564 _ACEOF
46567 done
46576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
46577 $as_echo_n "checking for sincosl declaration... " >&6; }
46578 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
46579 if ${glibcxx_cv_func_sincosl_use+:} false; then :
46580 $as_echo_n "(cached) " >&6
46581 else
46584 ac_ext=cpp
46585 ac_cpp='$CXXCPP $CPPFLAGS'
46586 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46587 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46588 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46591 /* end confdefs.h. */
46592 #include <math.h>
46594 main ()
46596 sincosl(0, 0, 0);
46598 return 0;
46600 _ACEOF
46601 if ac_fn_cxx_try_compile "$LINENO"; then :
46602 glibcxx_cv_func_sincosl_use=yes
46603 else
46604 glibcxx_cv_func_sincosl_use=no
46606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46607 ac_ext=c
46608 ac_cpp='$CPP $CPPFLAGS'
46609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
46618 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
46620 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
46621 for ac_func in sincosl
46622 do :
46623 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
46624 if test "x$ac_cv_func_sincosl" = xyes; then :
46625 cat >>confdefs.h <<_ACEOF
46626 #define HAVE_SINCOSL 1
46627 _ACEOF
46630 done
46632 else
46634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
46635 $as_echo_n "checking for _sincosl declaration... " >&6; }
46636 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
46637 if ${glibcxx_cv_func__sincosl_use+:} false; then :
46638 $as_echo_n "(cached) " >&6
46639 else
46642 ac_ext=cpp
46643 ac_cpp='$CXXCPP $CPPFLAGS'
46644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46649 /* end confdefs.h. */
46650 #include <math.h>
46652 main ()
46654 _sincosl(0, 0, 0);
46656 return 0;
46658 _ACEOF
46659 if ac_fn_cxx_try_compile "$LINENO"; then :
46660 glibcxx_cv_func__sincosl_use=yes
46661 else
46662 glibcxx_cv_func__sincosl_use=no
46664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46665 ac_ext=c
46666 ac_cpp='$CPP $CPPFLAGS'
46667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
46676 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
46678 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
46679 for ac_func in _sincosl
46680 do :
46681 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
46682 if test "x$ac_cv_func__sincosl" = xyes; then :
46683 cat >>confdefs.h <<_ACEOF
46684 #define HAVE__SINCOSL 1
46685 _ACEOF
46688 done
46697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
46698 $as_echo_n "checking for finitel declaration... " >&6; }
46699 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
46700 if ${glibcxx_cv_func_finitel_use+:} false; then :
46701 $as_echo_n "(cached) " >&6
46702 else
46705 ac_ext=cpp
46706 ac_cpp='$CXXCPP $CPPFLAGS'
46707 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46708 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46709 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46712 /* end confdefs.h. */
46713 #include <math.h>
46714 #ifdef HAVE_IEEEFP_H
46715 #include <ieeefp.h>
46716 #endif
46719 main ()
46721 finitel(0);
46723 return 0;
46725 _ACEOF
46726 if ac_fn_cxx_try_compile "$LINENO"; then :
46727 glibcxx_cv_func_finitel_use=yes
46728 else
46729 glibcxx_cv_func_finitel_use=no
46731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46732 ac_ext=c
46733 ac_cpp='$CPP $CPPFLAGS'
46734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
46743 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
46745 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
46746 for ac_func in finitel
46747 do :
46748 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
46749 if test "x$ac_cv_func_finitel" = xyes; then :
46750 cat >>confdefs.h <<_ACEOF
46751 #define HAVE_FINITEL 1
46752 _ACEOF
46755 done
46757 else
46759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
46760 $as_echo_n "checking for _finitel declaration... " >&6; }
46761 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
46762 if ${glibcxx_cv_func__finitel_use+:} false; then :
46763 $as_echo_n "(cached) " >&6
46764 else
46767 ac_ext=cpp
46768 ac_cpp='$CXXCPP $CPPFLAGS'
46769 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46770 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46771 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46774 /* end confdefs.h. */
46775 #include <math.h>
46776 #ifdef HAVE_IEEEFP_H
46777 #include <ieeefp.h>
46778 #endif
46781 main ()
46783 _finitel(0);
46785 return 0;
46787 _ACEOF
46788 if ac_fn_cxx_try_compile "$LINENO"; then :
46789 glibcxx_cv_func__finitel_use=yes
46790 else
46791 glibcxx_cv_func__finitel_use=no
46793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46794 ac_ext=c
46795 ac_cpp='$CPP $CPPFLAGS'
46796 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46797 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46798 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
46805 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
46807 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
46808 for ac_func in _finitel
46809 do :
46810 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
46811 if test "x$ac_cv_func__finitel" = xyes; then :
46812 cat >>confdefs.h <<_ACEOF
46813 #define HAVE__FINITEL 1
46814 _ACEOF
46817 done
46825 LIBS="$ac_save_LIBS"
46826 CXXFLAGS="$ac_save_CXXFLAGS"
46829 ac_test_CXXFLAGS="${CXXFLAGS+set}"
46830 ac_save_CXXFLAGS="$CXXFLAGS"
46831 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
46834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
46835 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
46836 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
46837 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
46838 $as_echo_n "(cached) " >&6
46839 else
46842 ac_ext=cpp
46843 ac_cpp='$CXXCPP $CPPFLAGS'
46844 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46845 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46846 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46849 /* end confdefs.h. */
46850 #include <stdlib.h>
46852 main ()
46854 at_quick_exit(0);
46856 return 0;
46858 _ACEOF
46859 if ac_fn_cxx_try_compile "$LINENO"; then :
46860 glibcxx_cv_func_at_quick_exit_use=yes
46861 else
46862 glibcxx_cv_func_at_quick_exit_use=no
46864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46865 ac_ext=c
46866 ac_cpp='$CPP $CPPFLAGS'
46867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
46876 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
46877 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
46878 for ac_func in at_quick_exit
46879 do :
46880 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
46881 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
46882 cat >>confdefs.h <<_ACEOF
46883 #define HAVE_AT_QUICK_EXIT 1
46884 _ACEOF
46887 done
46892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
46893 $as_echo_n "checking for quick_exit declaration... " >&6; }
46894 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
46895 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
46896 $as_echo_n "(cached) " >&6
46897 else
46900 ac_ext=cpp
46901 ac_cpp='$CXXCPP $CPPFLAGS'
46902 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46903 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46904 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46907 /* end confdefs.h. */
46908 #include <stdlib.h>
46910 main ()
46912 quick_exit(0);
46914 return 0;
46916 _ACEOF
46917 if ac_fn_cxx_try_compile "$LINENO"; then :
46918 glibcxx_cv_func_quick_exit_use=yes
46919 else
46920 glibcxx_cv_func_quick_exit_use=no
46922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46923 ac_ext=c
46924 ac_cpp='$CPP $CPPFLAGS'
46925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
46934 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
46935 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
46936 for ac_func in quick_exit
46937 do :
46938 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
46939 if test "x$ac_cv_func_quick_exit" = xyes; then :
46940 cat >>confdefs.h <<_ACEOF
46941 #define HAVE_QUICK_EXIT 1
46942 _ACEOF
46945 done
46950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
46951 $as_echo_n "checking for strtold declaration... " >&6; }
46952 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
46953 if ${glibcxx_cv_func_strtold_use+:} false; then :
46954 $as_echo_n "(cached) " >&6
46955 else
46958 ac_ext=cpp
46959 ac_cpp='$CXXCPP $CPPFLAGS'
46960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46961 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46965 /* end confdefs.h. */
46966 #include <stdlib.h>
46968 main ()
46970 strtold(0, 0);
46972 return 0;
46974 _ACEOF
46975 if ac_fn_cxx_try_compile "$LINENO"; then :
46976 glibcxx_cv_func_strtold_use=yes
46977 else
46978 glibcxx_cv_func_strtold_use=no
46980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46981 ac_ext=c
46982 ac_cpp='$CPP $CPPFLAGS'
46983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
46992 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
46993 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
46994 for ac_func in strtold
46995 do :
46996 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
46997 if test "x$ac_cv_func_strtold" = xyes; then :
46998 cat >>confdefs.h <<_ACEOF
46999 #define HAVE_STRTOLD 1
47000 _ACEOF
47003 done
47010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
47011 $as_echo_n "checking for strtof declaration... " >&6; }
47012 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
47013 if ${glibcxx_cv_func_strtof_use+:} false; then :
47014 $as_echo_n "(cached) " >&6
47015 else
47018 ac_ext=cpp
47019 ac_cpp='$CXXCPP $CPPFLAGS'
47020 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47021 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47022 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47025 /* end confdefs.h. */
47026 #include <stdlib.h>
47028 main ()
47030 strtof(0, 0);
47032 return 0;
47034 _ACEOF
47035 if ac_fn_cxx_try_compile "$LINENO"; then :
47036 glibcxx_cv_func_strtof_use=yes
47037 else
47038 glibcxx_cv_func_strtof_use=no
47040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47041 ac_ext=c
47042 ac_cpp='$CPP $CPPFLAGS'
47043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
47052 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
47053 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
47054 for ac_func in strtof
47055 do :
47056 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
47057 if test "x$ac_cv_func_strtof" = xyes; then :
47058 cat >>confdefs.h <<_ACEOF
47059 #define HAVE_STRTOF 1
47060 _ACEOF
47063 done
47070 CXXFLAGS="$ac_save_CXXFLAGS"
47073 for ac_func in uselocale
47074 do :
47075 ac_fn_c_check_func "$LINENO" "uselocale" "ac_cv_func_uselocale"
47076 if test "x$ac_cv_func_uselocale" = xyes; then :
47077 cat >>confdefs.h <<_ACEOF
47078 #define HAVE_USELOCALE 1
47079 _ACEOF
47082 done
47086 *djgpp)
47087 # GLIBCXX_CHECK_MATH_SUPPORT
47088 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
47090 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
47092 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
47094 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
47096 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
47100 *-freebsd*)
47101 SECTION_FLAGS='-ffunction-sections -fdata-sections'
47104 # If we're not using GNU ld, then there's no point in even trying these
47105 # tests. Check for that first. We should have already tested for gld
47106 # by now (in libtool), but require it now just to be safe...
47107 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
47108 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
47112 # The name set by libtool depends on the version of libtool. Shame on us
47113 # for depending on an impl detail, but c'est la vie. Older versions used
47114 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
47115 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
47116 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
47117 # set (hence we're using an older libtool), then set it.
47118 if test x${with_gnu_ld+set} != xset; then
47119 if test x${ac_cv_prog_gnu_ld+set} != xset; then
47120 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
47121 with_gnu_ld=no
47122 else
47123 with_gnu_ld=$ac_cv_prog_gnu_ld
47127 # Start by getting the version number. I think the libtool test already
47128 # does some of this, but throws away the result.
47129 glibcxx_ld_is_gold=no
47130 if test x"$with_gnu_ld" = x"yes"; then
47131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
47132 $as_echo_n "checking for ld version... " >&6; }
47134 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
47135 glibcxx_ld_is_gold=yes
47137 ldver=`$LD --version 2>/dev/null |
47138 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
47140 glibcxx_gnu_ld_version=`echo $ldver | \
47141 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
47142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
47143 $as_echo "$glibcxx_gnu_ld_version" >&6; }
47146 # Set --gc-sections.
47147 glibcxx_have_gc_sections=no
47148 if test "$glibcxx_ld_is_gold" = "yes"; then
47149 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
47150 glibcxx_have_gc_sections=yes
47152 else
47153 glibcxx_gcsections_min_ld=21602
47154 if test x"$with_gnu_ld" = x"yes" &&
47155 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
47156 glibcxx_have_gc_sections=yes
47159 if test "$glibcxx_have_gc_sections" = "yes"; then
47160 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
47161 # NB: This flag only works reliably after 2.16.1. Configure tests
47162 # for this are difficult, so hard wire a value that should work.
47164 ac_test_CFLAGS="${CFLAGS+set}"
47165 ac_save_CFLAGS="$CFLAGS"
47166 CFLAGS='-Wl,--gc-sections'
47168 # Check for -Wl,--gc-sections
47169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
47170 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
47171 if test x$gcc_no_link = xyes; then
47172 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47175 /* end confdefs.h. */
47176 int one(void) { return 1; }
47177 int two(void) { return 2; }
47180 main ()
47182 two();
47184 return 0;
47186 _ACEOF
47187 if ac_fn_c_try_link "$LINENO"; then :
47188 ac_gcsections=yes
47189 else
47190 ac_gcsections=no
47192 rm -f core conftest.err conftest.$ac_objext \
47193 conftest$ac_exeext conftest.$ac_ext
47194 if test "$ac_gcsections" = "yes"; then
47195 rm -f conftest.c
47196 touch conftest.c
47197 if $CC -c conftest.c; then
47198 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
47199 grep "Warning: gc-sections option ignored" > /dev/null; then
47200 ac_gcsections=no
47203 rm -f conftest.c conftest.o conftest
47205 if test "$ac_gcsections" = "yes"; then
47206 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
47208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
47209 $as_echo "$ac_gcsections" >&6; }
47211 if test "$ac_test_CFLAGS" = set; then
47212 CFLAGS="$ac_save_CFLAGS"
47213 else
47214 # this is the suspicious part
47215 CFLAGS=''
47219 # Set -z,relro.
47220 # Note this is only for shared objects.
47221 ac_ld_relro=no
47222 if test x"$with_gnu_ld" = x"yes"; then
47223 # cygwin and mingw uses PE, which has no ELF relro support,
47224 # multi target ld may confuse configure machinery
47225 case "$host" in
47226 *-*-cygwin*)
47228 *-*-mingw*)
47231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
47232 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
47233 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
47234 if test -n "$cxx_z_relo"; then
47235 OPT_LDFLAGS="-Wl,-z,relro"
47236 ac_ld_relro=yes
47238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
47239 $as_echo "$ac_ld_relro" >&6; }
47240 esac
47243 # Set linker optimization flags.
47244 if test x"$with_gnu_ld" = x"yes"; then
47245 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
47251 $as_echo "#define HAVE_SETENV 1" >>confdefs.h
47253 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
47255 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
47257 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
47259 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
47261 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
47263 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
47265 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
47267 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
47270 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
47272 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
47274 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
47276 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
47278 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
47280 $as_echo "#define HAVE_COSF 1" >>confdefs.h
47282 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
47284 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
47286 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
47288 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
47290 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
47292 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
47294 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
47296 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
47298 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
47300 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
47302 $as_echo "#define HAVE_POWF 1" >>confdefs.h
47304 $as_echo "#define HAVE_SINF 1" >>confdefs.h
47306 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
47308 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
47310 $as_echo "#define HAVE_TANF 1" >>confdefs.h
47312 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
47314 if test x"long_double_math_on_this_cpu" = x"yes"; then
47315 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
47317 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
47319 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
47322 for ac_func in __cxa_thread_atexit
47323 do :
47324 ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit" "ac_cv_func___cxa_thread_atexit"
47325 if test "x$ac_cv_func___cxa_thread_atexit" = xyes; then :
47326 cat >>confdefs.h <<_ACEOF
47327 #define HAVE___CXA_THREAD_ATEXIT 1
47328 _ACEOF
47331 done
47333 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
47334 do :
47335 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47336 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47337 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
47338 cat >>confdefs.h <<_ACEOF
47339 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47340 _ACEOF
47343 done
47345 for ac_func in timespec_get
47346 do :
47347 ac_fn_c_check_func "$LINENO" "timespec_get" "ac_cv_func_timespec_get"
47348 if test "x$ac_cv_func_timespec_get" = xyes; then :
47349 cat >>confdefs.h <<_ACEOF
47350 #define HAVE_TIMESPEC_GET 1
47351 _ACEOF
47354 done
47356 for ac_func in sockatmark
47357 do :
47358 ac_fn_c_check_func "$LINENO" "sockatmark" "ac_cv_func_sockatmark"
47359 if test "x$ac_cv_func_sockatmark" = xyes; then :
47360 cat >>confdefs.h <<_ACEOF
47361 #define HAVE_SOCKATMARK 1
47362 _ACEOF
47365 done
47367 for ac_func in uselocale
47368 do :
47369 ac_fn_c_check_func "$LINENO" "uselocale" "ac_cv_func_uselocale"
47370 if test "x$ac_cv_func_uselocale" = xyes; then :
47371 cat >>confdefs.h <<_ACEOF
47372 #define HAVE_USELOCALE 1
47373 _ACEOF
47376 done
47380 *-fuchsia*)
47381 SECTION_FLAGS='-ffunction-sections -fdata-sections'
47385 *-hpux*)
47386 SECTION_FLAGS='-ffunction-sections -fdata-sections'
47389 # If we're not using GNU ld, then there's no point in even trying these
47390 # tests. Check for that first. We should have already tested for gld
47391 # by now (in libtool), but require it now just to be safe...
47392 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
47393 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
47397 # The name set by libtool depends on the version of libtool. Shame on us
47398 # for depending on an impl detail, but c'est la vie. Older versions used
47399 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
47400 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
47401 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
47402 # set (hence we're using an older libtool), then set it.
47403 if test x${with_gnu_ld+set} != xset; then
47404 if test x${ac_cv_prog_gnu_ld+set} != xset; then
47405 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
47406 with_gnu_ld=no
47407 else
47408 with_gnu_ld=$ac_cv_prog_gnu_ld
47412 # Start by getting the version number. I think the libtool test already
47413 # does some of this, but throws away the result.
47414 glibcxx_ld_is_gold=no
47415 if test x"$with_gnu_ld" = x"yes"; then
47416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
47417 $as_echo_n "checking for ld version... " >&6; }
47419 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
47420 glibcxx_ld_is_gold=yes
47422 ldver=`$LD --version 2>/dev/null |
47423 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
47425 glibcxx_gnu_ld_version=`echo $ldver | \
47426 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
47427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
47428 $as_echo "$glibcxx_gnu_ld_version" >&6; }
47431 # Set --gc-sections.
47432 glibcxx_have_gc_sections=no
47433 if test "$glibcxx_ld_is_gold" = "yes"; then
47434 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
47435 glibcxx_have_gc_sections=yes
47437 else
47438 glibcxx_gcsections_min_ld=21602
47439 if test x"$with_gnu_ld" = x"yes" &&
47440 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
47441 glibcxx_have_gc_sections=yes
47444 if test "$glibcxx_have_gc_sections" = "yes"; then
47445 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
47446 # NB: This flag only works reliably after 2.16.1. Configure tests
47447 # for this are difficult, so hard wire a value that should work.
47449 ac_test_CFLAGS="${CFLAGS+set}"
47450 ac_save_CFLAGS="$CFLAGS"
47451 CFLAGS='-Wl,--gc-sections'
47453 # Check for -Wl,--gc-sections
47454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
47455 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
47456 if test x$gcc_no_link = xyes; then
47457 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47460 /* end confdefs.h. */
47461 int one(void) { return 1; }
47462 int two(void) { return 2; }
47465 main ()
47467 two();
47469 return 0;
47471 _ACEOF
47472 if ac_fn_c_try_link "$LINENO"; then :
47473 ac_gcsections=yes
47474 else
47475 ac_gcsections=no
47477 rm -f core conftest.err conftest.$ac_objext \
47478 conftest$ac_exeext conftest.$ac_ext
47479 if test "$ac_gcsections" = "yes"; then
47480 rm -f conftest.c
47481 touch conftest.c
47482 if $CC -c conftest.c; then
47483 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
47484 grep "Warning: gc-sections option ignored" > /dev/null; then
47485 ac_gcsections=no
47488 rm -f conftest.c conftest.o conftest
47490 if test "$ac_gcsections" = "yes"; then
47491 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
47493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
47494 $as_echo "$ac_gcsections" >&6; }
47496 if test "$ac_test_CFLAGS" = set; then
47497 CFLAGS="$ac_save_CFLAGS"
47498 else
47499 # this is the suspicious part
47500 CFLAGS=''
47504 # Set -z,relro.
47505 # Note this is only for shared objects.
47506 ac_ld_relro=no
47507 if test x"$with_gnu_ld" = x"yes"; then
47508 # cygwin and mingw uses PE, which has no ELF relro support,
47509 # multi target ld may confuse configure machinery
47510 case "$host" in
47511 *-*-cygwin*)
47513 *-*-mingw*)
47516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
47517 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
47518 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
47519 if test -n "$cxx_z_relo"; then
47520 OPT_LDFLAGS="-Wl,-z,relro"
47521 ac_ld_relro=yes
47523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
47524 $as_echo "$ac_ld_relro" >&6; }
47525 esac
47528 # Set linker optimization flags.
47529 if test x"$with_gnu_ld" = x"yes"; then
47530 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
47537 # GLIBCXX_CHECK_MATH_SUPPORT
47538 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
47540 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
47542 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
47544 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
47546 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
47548 $as_echo "#define HAVE_COSF 1" >>confdefs.h
47550 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
47552 $as_echo "#define HAVE_SINF 1" >>confdefs.h
47554 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
47556 $as_echo "#define HAVE_TANF 1" >>confdefs.h
47558 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
47560 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
47562 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
47564 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
47566 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
47568 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
47570 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
47572 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
47574 $as_echo "#define HAVE_MODF 1" >>confdefs.h
47576 $as_echo "#define HAVE_POWF 1" >>confdefs.h
47578 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
47581 # GLIBCXX_CHECK_STDLIB_SUPPORT
47582 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
47587 # Check whether --enable-tls was given.
47588 if test "${enable_tls+set}" = set; then :
47589 enableval=$enable_tls;
47590 case "$enableval" in
47591 yes|no) ;;
47592 *) as_fn_error $? "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
47593 esac
47595 else
47596 enable_tls=yes
47600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
47601 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
47602 if ${gcc_cv_have_tls+:} false; then :
47603 $as_echo_n "(cached) " >&6
47604 else
47606 if test "$cross_compiling" = yes; then :
47607 if test x$gcc_no_link = xyes; then
47608 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47611 /* end confdefs.h. */
47612 __thread int a; int b; int main() { return a = b; }
47613 _ACEOF
47614 if ac_fn_c_try_link "$LINENO"; then :
47615 chktls_save_LDFLAGS="$LDFLAGS"
47616 case $host in
47617 *-*-linux* | -*-uclinuxfdpic*)
47618 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
47620 esac
47621 chktls_save_CFLAGS="$CFLAGS"
47622 CFLAGS="-fPIC $CFLAGS"
47623 if test x$gcc_no_link = xyes; then
47624 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47627 /* end confdefs.h. */
47628 int f() { return 0; }
47629 _ACEOF
47630 if ac_fn_c_try_link "$LINENO"; then :
47631 if test x$gcc_no_link = xyes; then
47632 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47635 /* end confdefs.h. */
47636 __thread int a; int b; int f() { return a = b; }
47637 _ACEOF
47638 if ac_fn_c_try_link "$LINENO"; then :
47639 gcc_cv_have_tls=yes
47640 else
47641 gcc_cv_have_tls=no
47643 rm -f core conftest.err conftest.$ac_objext \
47644 conftest$ac_exeext conftest.$ac_ext
47645 else
47646 gcc_cv_have_tls=yes
47648 rm -f core conftest.err conftest.$ac_objext \
47649 conftest$ac_exeext conftest.$ac_ext
47650 CFLAGS="$chktls_save_CFLAGS"
47651 LDFLAGS="$chktls_save_LDFLAGS"
47652 else
47653 gcc_cv_have_tls=no
47655 rm -f core conftest.err conftest.$ac_objext \
47656 conftest$ac_exeext conftest.$ac_ext
47659 else
47660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47661 /* end confdefs.h. */
47662 __thread int a; int b; int main() { return a = b; }
47663 _ACEOF
47664 if ac_fn_c_try_run "$LINENO"; then :
47665 chktls_save_LDFLAGS="$LDFLAGS"
47666 LDFLAGS="-static $LDFLAGS"
47667 if test x$gcc_no_link = xyes; then
47668 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47671 /* end confdefs.h. */
47672 int main() { return 0; }
47673 _ACEOF
47674 if ac_fn_c_try_link "$LINENO"; then :
47675 if test "$cross_compiling" = yes; then :
47676 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
47677 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
47678 as_fn_error $? "cannot run test program while cross compiling
47679 See \`config.log' for more details" "$LINENO" 5; }
47680 else
47681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47682 /* end confdefs.h. */
47683 __thread int a; int b; int main() { return a = b; }
47684 _ACEOF
47685 if ac_fn_c_try_run "$LINENO"; then :
47686 gcc_cv_have_tls=yes
47687 else
47688 gcc_cv_have_tls=no
47690 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
47691 conftest.$ac_objext conftest.beam conftest.$ac_ext
47694 else
47695 gcc_cv_have_tls=yes
47697 rm -f core conftest.err conftest.$ac_objext \
47698 conftest$ac_exeext conftest.$ac_ext
47699 LDFLAGS="$chktls_save_LDFLAGS"
47700 if test $gcc_cv_have_tls = yes; then
47701 chktls_save_CFLAGS="$CFLAGS"
47702 thread_CFLAGS=failed
47703 for flag in '' '-pthread' '-lpthread'; do
47704 CFLAGS="$flag $chktls_save_CFLAGS"
47705 if test x$gcc_no_link = xyes; then
47706 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47709 /* end confdefs.h. */
47710 #include <pthread.h>
47711 void *g(void *d) { return NULL; }
47713 main ()
47715 pthread_t t; pthread_create(&t,NULL,g,NULL);
47717 return 0;
47719 _ACEOF
47720 if ac_fn_c_try_link "$LINENO"; then :
47721 thread_CFLAGS="$flag"
47723 rm -f core conftest.err conftest.$ac_objext \
47724 conftest$ac_exeext conftest.$ac_ext
47725 if test "X$thread_CFLAGS" != Xfailed; then
47726 break
47728 done
47729 CFLAGS="$chktls_save_CFLAGS"
47730 if test "X$thread_CFLAGS" != Xfailed; then
47731 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
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 #include <pthread.h>
47741 __thread int a;
47742 static int *volatile a_in_other_thread;
47743 static void *
47744 thread_func (void *arg)
47746 a_in_other_thread = &a;
47747 return (void *)0;
47750 main ()
47752 pthread_t thread;
47753 void *thread_retval;
47754 int *volatile a_in_main_thread;
47755 a_in_main_thread = &a;
47756 if (pthread_create (&thread, (pthread_attr_t *)0,
47757 thread_func, (void *)0))
47758 return 0;
47759 if (pthread_join (thread, &thread_retval))
47760 return 0;
47761 return (a_in_other_thread == a_in_main_thread);
47763 return 0;
47765 _ACEOF
47766 if ac_fn_c_try_run "$LINENO"; then :
47767 gcc_cv_have_tls=yes
47768 else
47769 gcc_cv_have_tls=no
47771 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
47772 conftest.$ac_objext conftest.beam conftest.$ac_ext
47775 CFLAGS="$chktls_save_CFLAGS"
47778 else
47779 gcc_cv_have_tls=no
47781 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
47782 conftest.$ac_objext conftest.beam conftest.$ac_ext
47786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
47787 $as_echo "$gcc_cv_have_tls" >&6; }
47788 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
47790 $as_echo "#define HAVE_TLS 1" >>confdefs.h
47793 case "$target" in
47794 *-hpux10*)
47795 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
47797 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
47799 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
47801 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
47803 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
47806 esac
47808 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-cygwin* | *-solaris*)
47810 # All these tests are for C++; save the language and the compiler flags.
47811 # The CXXFLAGS thing is suspicious, but based on similar bits previously
47812 # found in GLIBCXX_CONFIGURE.
47814 ac_ext=cpp
47815 ac_cpp='$CXXCPP $CPPFLAGS'
47816 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47817 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47818 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47820 ac_test_CXXFLAGS="${CXXFLAGS+set}"
47821 ac_save_CXXFLAGS="$CXXFLAGS"
47823 # Check for -ffunction-sections -fdata-sections
47824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
47825 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
47826 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
47827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47828 /* end confdefs.h. */
47829 int foo; void bar() { };
47831 main ()
47835 return 0;
47837 _ACEOF
47838 if ac_fn_cxx_try_compile "$LINENO"; then :
47839 ac_fdsections=yes
47840 else
47841 ac_fdsections=no
47843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47844 if test "$ac_test_CXXFLAGS" = set; then
47845 CXXFLAGS="$ac_save_CXXFLAGS"
47846 else
47847 # this is the suspicious part
47848 CXXFLAGS=''
47850 if test x"$ac_fdsections" = x"yes"; then
47851 SECTION_FLAGS='-ffunction-sections -fdata-sections'
47853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
47854 $as_echo "$ac_fdsections" >&6; }
47856 ac_ext=c
47857 ac_cpp='$CPP $CPPFLAGS'
47858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47865 # If we're not using GNU ld, then there's no point in even trying these
47866 # tests. Check for that first. We should have already tested for gld
47867 # by now (in libtool), but require it now just to be safe...
47868 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
47869 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
47873 # The name set by libtool depends on the version of libtool. Shame on us
47874 # for depending on an impl detail, but c'est la vie. Older versions used
47875 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
47876 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
47877 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
47878 # set (hence we're using an older libtool), then set it.
47879 if test x${with_gnu_ld+set} != xset; then
47880 if test x${ac_cv_prog_gnu_ld+set} != xset; then
47881 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
47882 with_gnu_ld=no
47883 else
47884 with_gnu_ld=$ac_cv_prog_gnu_ld
47888 # Start by getting the version number. I think the libtool test already
47889 # does some of this, but throws away the result.
47890 glibcxx_ld_is_gold=no
47891 if test x"$with_gnu_ld" = x"yes"; then
47892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
47893 $as_echo_n "checking for ld version... " >&6; }
47895 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
47896 glibcxx_ld_is_gold=yes
47898 ldver=`$LD --version 2>/dev/null |
47899 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
47901 glibcxx_gnu_ld_version=`echo $ldver | \
47902 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
47903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
47904 $as_echo "$glibcxx_gnu_ld_version" >&6; }
47907 # Set --gc-sections.
47908 glibcxx_have_gc_sections=no
47909 if test "$glibcxx_ld_is_gold" = "yes"; then
47910 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
47911 glibcxx_have_gc_sections=yes
47913 else
47914 glibcxx_gcsections_min_ld=21602
47915 if test x"$with_gnu_ld" = x"yes" &&
47916 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
47917 glibcxx_have_gc_sections=yes
47920 if test "$glibcxx_have_gc_sections" = "yes"; then
47921 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
47922 # NB: This flag only works reliably after 2.16.1. Configure tests
47923 # for this are difficult, so hard wire a value that should work.
47925 ac_test_CFLAGS="${CFLAGS+set}"
47926 ac_save_CFLAGS="$CFLAGS"
47927 CFLAGS='-Wl,--gc-sections'
47929 # Check for -Wl,--gc-sections
47930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
47931 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
47932 if test x$gcc_no_link = xyes; then
47933 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47936 /* end confdefs.h. */
47937 int one(void) { return 1; }
47938 int two(void) { return 2; }
47941 main ()
47943 two();
47945 return 0;
47947 _ACEOF
47948 if ac_fn_c_try_link "$LINENO"; then :
47949 ac_gcsections=yes
47950 else
47951 ac_gcsections=no
47953 rm -f core conftest.err conftest.$ac_objext \
47954 conftest$ac_exeext conftest.$ac_ext
47955 if test "$ac_gcsections" = "yes"; then
47956 rm -f conftest.c
47957 touch conftest.c
47958 if $CC -c conftest.c; then
47959 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
47960 grep "Warning: gc-sections option ignored" > /dev/null; then
47961 ac_gcsections=no
47964 rm -f conftest.c conftest.o conftest
47966 if test "$ac_gcsections" = "yes"; then
47967 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
47969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
47970 $as_echo "$ac_gcsections" >&6; }
47972 if test "$ac_test_CFLAGS" = set; then
47973 CFLAGS="$ac_save_CFLAGS"
47974 else
47975 # this is the suspicious part
47976 CFLAGS=''
47980 # Set -z,relro.
47981 # Note this is only for shared objects.
47982 ac_ld_relro=no
47983 if test x"$with_gnu_ld" = x"yes"; then
47984 # cygwin and mingw uses PE, which has no ELF relro support,
47985 # multi target ld may confuse configure machinery
47986 case "$host" in
47987 *-*-cygwin*)
47989 *-*-mingw*)
47992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
47993 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
47994 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
47995 if test -n "$cxx_z_relo"; then
47996 OPT_LDFLAGS="-Wl,-z,relro"
47997 ac_ld_relro=yes
47999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
48000 $as_echo "$ac_ld_relro" >&6; }
48001 esac
48004 # Set linker optimization flags.
48005 if test x"$with_gnu_ld" = x"yes"; then
48006 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
48013 ac_test_CXXFLAGS="${CXXFLAGS+set}"
48014 ac_save_CXXFLAGS="$CXXFLAGS"
48015 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
48017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
48018 $as_echo_n "checking for sin in -lm... " >&6; }
48019 if ${ac_cv_lib_m_sin+:} false; then :
48020 $as_echo_n "(cached) " >&6
48021 else
48022 ac_check_lib_save_LIBS=$LIBS
48023 LIBS="-lm $LIBS"
48024 if test x$gcc_no_link = xyes; then
48025 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
48027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48028 /* end confdefs.h. */
48030 /* Override any GCC internal prototype to avoid an error.
48031 Use char because int might match the return type of a GCC
48032 builtin and then its argument prototype would still apply. */
48033 #ifdef __cplusplus
48034 extern "C"
48035 #endif
48036 char sin ();
48038 main ()
48040 return sin ();
48042 return 0;
48044 _ACEOF
48045 if ac_fn_c_try_link "$LINENO"; then :
48046 ac_cv_lib_m_sin=yes
48047 else
48048 ac_cv_lib_m_sin=no
48050 rm -f core conftest.err conftest.$ac_objext \
48051 conftest$ac_exeext conftest.$ac_ext
48052 LIBS=$ac_check_lib_save_LIBS
48054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
48055 $as_echo "$ac_cv_lib_m_sin" >&6; }
48056 if test "x$ac_cv_lib_m_sin" = xyes; then :
48057 libm="-lm"
48060 ac_save_LIBS="$LIBS"
48061 LIBS="$LIBS $libm"
48065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
48066 $as_echo_n "checking for isinf declaration... " >&6; }
48067 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
48068 if ${glibcxx_cv_func_isinf_use+:} false; then :
48069 $as_echo_n "(cached) " >&6
48070 else
48073 ac_ext=cpp
48074 ac_cpp='$CXXCPP $CPPFLAGS'
48075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48080 /* end confdefs.h. */
48081 #include <math.h>
48082 #ifdef HAVE_IEEEFP_H
48083 #include <ieeefp.h>
48084 #endif
48087 main ()
48089 isinf(0);
48091 return 0;
48093 _ACEOF
48094 if ac_fn_cxx_try_compile "$LINENO"; then :
48095 glibcxx_cv_func_isinf_use=yes
48096 else
48097 glibcxx_cv_func_isinf_use=no
48099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48100 ac_ext=c
48101 ac_cpp='$CPP $CPPFLAGS'
48102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
48111 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
48113 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
48114 for ac_func in isinf
48115 do :
48116 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
48117 if test "x$ac_cv_func_isinf" = xyes; then :
48118 cat >>confdefs.h <<_ACEOF
48119 #define HAVE_ISINF 1
48120 _ACEOF
48123 done
48125 else
48127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
48128 $as_echo_n "checking for _isinf declaration... " >&6; }
48129 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
48130 if ${glibcxx_cv_func__isinf_use+:} false; then :
48131 $as_echo_n "(cached) " >&6
48132 else
48135 ac_ext=cpp
48136 ac_cpp='$CXXCPP $CPPFLAGS'
48137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48142 /* end confdefs.h. */
48143 #include <math.h>
48144 #ifdef HAVE_IEEEFP_H
48145 #include <ieeefp.h>
48146 #endif
48149 main ()
48151 _isinf(0);
48153 return 0;
48155 _ACEOF
48156 if ac_fn_cxx_try_compile "$LINENO"; then :
48157 glibcxx_cv_func__isinf_use=yes
48158 else
48159 glibcxx_cv_func__isinf_use=no
48161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48162 ac_ext=c
48163 ac_cpp='$CPP $CPPFLAGS'
48164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
48173 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
48175 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
48176 for ac_func in _isinf
48177 do :
48178 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
48179 if test "x$ac_cv_func__isinf" = xyes; then :
48180 cat >>confdefs.h <<_ACEOF
48181 #define HAVE__ISINF 1
48182 _ACEOF
48185 done
48194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
48195 $as_echo_n "checking for isnan declaration... " >&6; }
48196 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
48197 if ${glibcxx_cv_func_isnan_use+:} false; then :
48198 $as_echo_n "(cached) " >&6
48199 else
48202 ac_ext=cpp
48203 ac_cpp='$CXXCPP $CPPFLAGS'
48204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48209 /* end confdefs.h. */
48210 #include <math.h>
48211 #ifdef HAVE_IEEEFP_H
48212 #include <ieeefp.h>
48213 #endif
48216 main ()
48218 isnan(0);
48220 return 0;
48222 _ACEOF
48223 if ac_fn_cxx_try_compile "$LINENO"; then :
48224 glibcxx_cv_func_isnan_use=yes
48225 else
48226 glibcxx_cv_func_isnan_use=no
48228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48229 ac_ext=c
48230 ac_cpp='$CPP $CPPFLAGS'
48231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
48240 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
48242 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
48243 for ac_func in isnan
48244 do :
48245 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
48246 if test "x$ac_cv_func_isnan" = xyes; then :
48247 cat >>confdefs.h <<_ACEOF
48248 #define HAVE_ISNAN 1
48249 _ACEOF
48252 done
48254 else
48256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
48257 $as_echo_n "checking for _isnan declaration... " >&6; }
48258 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
48259 if ${glibcxx_cv_func__isnan_use+:} false; then :
48260 $as_echo_n "(cached) " >&6
48261 else
48264 ac_ext=cpp
48265 ac_cpp='$CXXCPP $CPPFLAGS'
48266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48271 /* end confdefs.h. */
48272 #include <math.h>
48273 #ifdef HAVE_IEEEFP_H
48274 #include <ieeefp.h>
48275 #endif
48278 main ()
48280 _isnan(0);
48282 return 0;
48284 _ACEOF
48285 if ac_fn_cxx_try_compile "$LINENO"; then :
48286 glibcxx_cv_func__isnan_use=yes
48287 else
48288 glibcxx_cv_func__isnan_use=no
48290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48291 ac_ext=c
48292 ac_cpp='$CPP $CPPFLAGS'
48293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
48302 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
48304 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
48305 for ac_func in _isnan
48306 do :
48307 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
48308 if test "x$ac_cv_func__isnan" = xyes; then :
48309 cat >>confdefs.h <<_ACEOF
48310 #define HAVE__ISNAN 1
48311 _ACEOF
48314 done
48323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
48324 $as_echo_n "checking for finite declaration... " >&6; }
48325 if test x${glibcxx_cv_func_finite_use+set} != xset; then
48326 if ${glibcxx_cv_func_finite_use+:} false; then :
48327 $as_echo_n "(cached) " >&6
48328 else
48331 ac_ext=cpp
48332 ac_cpp='$CXXCPP $CPPFLAGS'
48333 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48334 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48335 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48338 /* end confdefs.h. */
48339 #include <math.h>
48340 #ifdef HAVE_IEEEFP_H
48341 #include <ieeefp.h>
48342 #endif
48345 main ()
48347 finite(0);
48349 return 0;
48351 _ACEOF
48352 if ac_fn_cxx_try_compile "$LINENO"; then :
48353 glibcxx_cv_func_finite_use=yes
48354 else
48355 glibcxx_cv_func_finite_use=no
48357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48358 ac_ext=c
48359 ac_cpp='$CPP $CPPFLAGS'
48360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
48369 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
48371 if test x$glibcxx_cv_func_finite_use = x"yes"; then
48372 for ac_func in finite
48373 do :
48374 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
48375 if test "x$ac_cv_func_finite" = xyes; then :
48376 cat >>confdefs.h <<_ACEOF
48377 #define HAVE_FINITE 1
48378 _ACEOF
48381 done
48383 else
48385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
48386 $as_echo_n "checking for _finite declaration... " >&6; }
48387 if test x${glibcxx_cv_func__finite_use+set} != xset; then
48388 if ${glibcxx_cv_func__finite_use+:} false; then :
48389 $as_echo_n "(cached) " >&6
48390 else
48393 ac_ext=cpp
48394 ac_cpp='$CXXCPP $CPPFLAGS'
48395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48400 /* end confdefs.h. */
48401 #include <math.h>
48402 #ifdef HAVE_IEEEFP_H
48403 #include <ieeefp.h>
48404 #endif
48407 main ()
48409 _finite(0);
48411 return 0;
48413 _ACEOF
48414 if ac_fn_cxx_try_compile "$LINENO"; then :
48415 glibcxx_cv_func__finite_use=yes
48416 else
48417 glibcxx_cv_func__finite_use=no
48419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48420 ac_ext=c
48421 ac_cpp='$CPP $CPPFLAGS'
48422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
48431 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
48433 if test x$glibcxx_cv_func__finite_use = x"yes"; then
48434 for ac_func in _finite
48435 do :
48436 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
48437 if test "x$ac_cv_func__finite" = xyes; then :
48438 cat >>confdefs.h <<_ACEOF
48439 #define HAVE__FINITE 1
48440 _ACEOF
48443 done
48452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
48453 $as_echo_n "checking for sincos declaration... " >&6; }
48454 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
48455 if ${glibcxx_cv_func_sincos_use+:} false; then :
48456 $as_echo_n "(cached) " >&6
48457 else
48460 ac_ext=cpp
48461 ac_cpp='$CXXCPP $CPPFLAGS'
48462 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48463 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48464 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48467 /* end confdefs.h. */
48468 #include <math.h>
48470 main ()
48472 sincos(0, 0, 0);
48474 return 0;
48476 _ACEOF
48477 if ac_fn_cxx_try_compile "$LINENO"; then :
48478 glibcxx_cv_func_sincos_use=yes
48479 else
48480 glibcxx_cv_func_sincos_use=no
48482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48483 ac_ext=c
48484 ac_cpp='$CPP $CPPFLAGS'
48485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
48494 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
48496 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
48497 for ac_func in sincos
48498 do :
48499 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
48500 if test "x$ac_cv_func_sincos" = xyes; then :
48501 cat >>confdefs.h <<_ACEOF
48502 #define HAVE_SINCOS 1
48503 _ACEOF
48506 done
48508 else
48510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
48511 $as_echo_n "checking for _sincos declaration... " >&6; }
48512 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
48513 if ${glibcxx_cv_func__sincos_use+:} false; then :
48514 $as_echo_n "(cached) " >&6
48515 else
48518 ac_ext=cpp
48519 ac_cpp='$CXXCPP $CPPFLAGS'
48520 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48521 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48522 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48525 /* end confdefs.h. */
48526 #include <math.h>
48528 main ()
48530 _sincos(0, 0, 0);
48532 return 0;
48534 _ACEOF
48535 if ac_fn_cxx_try_compile "$LINENO"; then :
48536 glibcxx_cv_func__sincos_use=yes
48537 else
48538 glibcxx_cv_func__sincos_use=no
48540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48541 ac_ext=c
48542 ac_cpp='$CPP $CPPFLAGS'
48543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
48552 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
48554 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
48555 for ac_func in _sincos
48556 do :
48557 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
48558 if test "x$ac_cv_func__sincos" = xyes; then :
48559 cat >>confdefs.h <<_ACEOF
48560 #define HAVE__SINCOS 1
48561 _ACEOF
48564 done
48573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
48574 $as_echo_n "checking for fpclass declaration... " >&6; }
48575 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
48576 if ${glibcxx_cv_func_fpclass_use+:} false; then :
48577 $as_echo_n "(cached) " >&6
48578 else
48581 ac_ext=cpp
48582 ac_cpp='$CXXCPP $CPPFLAGS'
48583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48588 /* end confdefs.h. */
48589 #include <math.h>
48590 #ifdef HAVE_IEEEFP_H
48591 #include <ieeefp.h>
48592 #endif
48595 main ()
48597 fpclass(0);
48599 return 0;
48601 _ACEOF
48602 if ac_fn_cxx_try_compile "$LINENO"; then :
48603 glibcxx_cv_func_fpclass_use=yes
48604 else
48605 glibcxx_cv_func_fpclass_use=no
48607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48608 ac_ext=c
48609 ac_cpp='$CPP $CPPFLAGS'
48610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
48619 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
48621 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
48622 for ac_func in fpclass
48623 do :
48624 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
48625 if test "x$ac_cv_func_fpclass" = xyes; then :
48626 cat >>confdefs.h <<_ACEOF
48627 #define HAVE_FPCLASS 1
48628 _ACEOF
48631 done
48633 else
48635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
48636 $as_echo_n "checking for _fpclass declaration... " >&6; }
48637 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
48638 if ${glibcxx_cv_func__fpclass_use+:} false; then :
48639 $as_echo_n "(cached) " >&6
48640 else
48643 ac_ext=cpp
48644 ac_cpp='$CXXCPP $CPPFLAGS'
48645 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48646 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48647 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48650 /* end confdefs.h. */
48651 #include <math.h>
48652 #ifdef HAVE_IEEEFP_H
48653 #include <ieeefp.h>
48654 #endif
48657 main ()
48659 _fpclass(0);
48661 return 0;
48663 _ACEOF
48664 if ac_fn_cxx_try_compile "$LINENO"; then :
48665 glibcxx_cv_func__fpclass_use=yes
48666 else
48667 glibcxx_cv_func__fpclass_use=no
48669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48670 ac_ext=c
48671 ac_cpp='$CPP $CPPFLAGS'
48672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
48681 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
48683 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
48684 for ac_func in _fpclass
48685 do :
48686 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
48687 if test "x$ac_cv_func__fpclass" = xyes; then :
48688 cat >>confdefs.h <<_ACEOF
48689 #define HAVE__FPCLASS 1
48690 _ACEOF
48693 done
48702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
48703 $as_echo_n "checking for qfpclass declaration... " >&6; }
48704 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
48705 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
48706 $as_echo_n "(cached) " >&6
48707 else
48710 ac_ext=cpp
48711 ac_cpp='$CXXCPP $CPPFLAGS'
48712 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48713 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48714 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48717 /* end confdefs.h. */
48718 #include <math.h>
48719 #ifdef HAVE_IEEEFP_H
48720 #include <ieeefp.h>
48721 #endif
48724 main ()
48726 qfpclass(0);
48728 return 0;
48730 _ACEOF
48731 if ac_fn_cxx_try_compile "$LINENO"; then :
48732 glibcxx_cv_func_qfpclass_use=yes
48733 else
48734 glibcxx_cv_func_qfpclass_use=no
48736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48737 ac_ext=c
48738 ac_cpp='$CPP $CPPFLAGS'
48739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
48748 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
48750 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
48751 for ac_func in qfpclass
48752 do :
48753 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
48754 if test "x$ac_cv_func_qfpclass" = xyes; then :
48755 cat >>confdefs.h <<_ACEOF
48756 #define HAVE_QFPCLASS 1
48757 _ACEOF
48760 done
48762 else
48764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
48765 $as_echo_n "checking for _qfpclass declaration... " >&6; }
48766 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
48767 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
48768 $as_echo_n "(cached) " >&6
48769 else
48772 ac_ext=cpp
48773 ac_cpp='$CXXCPP $CPPFLAGS'
48774 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48775 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48776 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48779 /* end confdefs.h. */
48780 #include <math.h>
48781 #ifdef HAVE_IEEEFP_H
48782 #include <ieeefp.h>
48783 #endif
48786 main ()
48788 _qfpclass(0);
48790 return 0;
48792 _ACEOF
48793 if ac_fn_cxx_try_compile "$LINENO"; then :
48794 glibcxx_cv_func__qfpclass_use=yes
48795 else
48796 glibcxx_cv_func__qfpclass_use=no
48798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48799 ac_ext=c
48800 ac_cpp='$CPP $CPPFLAGS'
48801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
48810 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
48812 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
48813 for ac_func in _qfpclass
48814 do :
48815 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
48816 if test "x$ac_cv_func__qfpclass" = xyes; then :
48817 cat >>confdefs.h <<_ACEOF
48818 #define HAVE__QFPCLASS 1
48819 _ACEOF
48822 done
48831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
48832 $as_echo_n "checking for hypot declaration... " >&6; }
48833 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
48834 if ${glibcxx_cv_func_hypot_use+:} false; then :
48835 $as_echo_n "(cached) " >&6
48836 else
48839 ac_ext=cpp
48840 ac_cpp='$CXXCPP $CPPFLAGS'
48841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48846 /* end confdefs.h. */
48847 #include <math.h>
48849 main ()
48851 hypot(0, 0);
48853 return 0;
48855 _ACEOF
48856 if ac_fn_cxx_try_compile "$LINENO"; then :
48857 glibcxx_cv_func_hypot_use=yes
48858 else
48859 glibcxx_cv_func_hypot_use=no
48861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48862 ac_ext=c
48863 ac_cpp='$CPP $CPPFLAGS'
48864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
48873 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
48875 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
48876 for ac_func in hypot
48877 do :
48878 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
48879 if test "x$ac_cv_func_hypot" = xyes; then :
48880 cat >>confdefs.h <<_ACEOF
48881 #define HAVE_HYPOT 1
48882 _ACEOF
48885 done
48887 else
48889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
48890 $as_echo_n "checking for _hypot declaration... " >&6; }
48891 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
48892 if ${glibcxx_cv_func__hypot_use+:} false; then :
48893 $as_echo_n "(cached) " >&6
48894 else
48897 ac_ext=cpp
48898 ac_cpp='$CXXCPP $CPPFLAGS'
48899 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48900 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48901 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48904 /* end confdefs.h. */
48905 #include <math.h>
48907 main ()
48909 _hypot(0, 0);
48911 return 0;
48913 _ACEOF
48914 if ac_fn_cxx_try_compile "$LINENO"; then :
48915 glibcxx_cv_func__hypot_use=yes
48916 else
48917 glibcxx_cv_func__hypot_use=no
48919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48920 ac_ext=c
48921 ac_cpp='$CPP $CPPFLAGS'
48922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
48931 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
48933 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
48934 for ac_func in _hypot
48935 do :
48936 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
48937 if test "x$ac_cv_func__hypot" = xyes; then :
48938 cat >>confdefs.h <<_ACEOF
48939 #define HAVE__HYPOT 1
48940 _ACEOF
48943 done
48952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
48953 $as_echo_n "checking for float trig functions... " >&6; }
48954 if ${glibcxx_cv_func_float_trig_use+:} false; then :
48955 $as_echo_n "(cached) " >&6
48956 else
48959 ac_ext=cpp
48960 ac_cpp='$CXXCPP $CPPFLAGS'
48961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48966 /* end confdefs.h. */
48967 #include <math.h>
48969 main ()
48971 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
48973 return 0;
48975 _ACEOF
48976 if ac_fn_cxx_try_compile "$LINENO"; then :
48977 glibcxx_cv_func_float_trig_use=yes
48978 else
48979 glibcxx_cv_func_float_trig_use=no
48981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48982 ac_ext=c
48983 ac_cpp='$CPP $CPPFLAGS'
48984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
48991 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
48992 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
48993 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
48994 do :
48995 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48996 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48997 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
48998 cat >>confdefs.h <<_ACEOF
48999 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49000 _ACEOF
49003 done
49005 else
49006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
49007 $as_echo_n "checking for _float trig functions... " >&6; }
49008 if ${glibcxx_cv_func__float_trig_use+:} false; then :
49009 $as_echo_n "(cached) " >&6
49010 else
49013 ac_ext=cpp
49014 ac_cpp='$CXXCPP $CPPFLAGS'
49015 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49016 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49017 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49020 /* end confdefs.h. */
49021 #include <math.h>
49023 main ()
49025 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
49027 return 0;
49029 _ACEOF
49030 if ac_fn_cxx_try_compile "$LINENO"; then :
49031 glibcxx_cv_func__float_trig_use=yes
49032 else
49033 glibcxx_cv_func__float_trig_use=no
49035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49036 ac_ext=c
49037 ac_cpp='$CPP $CPPFLAGS'
49038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
49045 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
49046 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
49047 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
49048 do :
49049 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49050 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49051 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
49052 cat >>confdefs.h <<_ACEOF
49053 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49054 _ACEOF
49057 done
49066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
49067 $as_echo_n "checking for float round functions... " >&6; }
49068 if ${glibcxx_cv_func_float_round_use+:} false; then :
49069 $as_echo_n "(cached) " >&6
49070 else
49073 ac_ext=cpp
49074 ac_cpp='$CXXCPP $CPPFLAGS'
49075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49080 /* end confdefs.h. */
49081 #include <math.h>
49083 main ()
49085 ceilf (0); floorf (0);
49087 return 0;
49089 _ACEOF
49090 if ac_fn_cxx_try_compile "$LINENO"; then :
49091 glibcxx_cv_func_float_round_use=yes
49092 else
49093 glibcxx_cv_func_float_round_use=no
49095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49096 ac_ext=c
49097 ac_cpp='$CPP $CPPFLAGS'
49098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
49105 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
49106 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
49107 for ac_func in ceilf floorf
49108 do :
49109 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49110 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49111 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
49112 cat >>confdefs.h <<_ACEOF
49113 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49114 _ACEOF
49117 done
49119 else
49120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
49121 $as_echo_n "checking for _float round functions... " >&6; }
49122 if ${glibcxx_cv_func__float_round_use+:} false; then :
49123 $as_echo_n "(cached) " >&6
49124 else
49127 ac_ext=cpp
49128 ac_cpp='$CXXCPP $CPPFLAGS'
49129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49134 /* end confdefs.h. */
49135 #include <math.h>
49137 main ()
49139 _ceilf (0); _floorf (0);
49141 return 0;
49143 _ACEOF
49144 if ac_fn_cxx_try_compile "$LINENO"; then :
49145 glibcxx_cv_func__float_round_use=yes
49146 else
49147 glibcxx_cv_func__float_round_use=no
49149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49150 ac_ext=c
49151 ac_cpp='$CPP $CPPFLAGS'
49152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
49159 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
49160 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
49161 for ac_func in _ceilf _floorf
49162 do :
49163 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49164 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49165 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
49166 cat >>confdefs.h <<_ACEOF
49167 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49168 _ACEOF
49171 done
49181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
49182 $as_echo_n "checking for expf declaration... " >&6; }
49183 if test x${glibcxx_cv_func_expf_use+set} != xset; then
49184 if ${glibcxx_cv_func_expf_use+:} false; then :
49185 $as_echo_n "(cached) " >&6
49186 else
49189 ac_ext=cpp
49190 ac_cpp='$CXXCPP $CPPFLAGS'
49191 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49192 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49193 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49196 /* end confdefs.h. */
49197 #include <math.h>
49198 #ifdef HAVE_IEEEFP_H
49199 #include <ieeefp.h>
49200 #endif
49203 main ()
49205 expf(0);
49207 return 0;
49209 _ACEOF
49210 if ac_fn_cxx_try_compile "$LINENO"; then :
49211 glibcxx_cv_func_expf_use=yes
49212 else
49213 glibcxx_cv_func_expf_use=no
49215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49216 ac_ext=c
49217 ac_cpp='$CPP $CPPFLAGS'
49218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
49227 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
49229 if test x$glibcxx_cv_func_expf_use = x"yes"; then
49230 for ac_func in expf
49231 do :
49232 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
49233 if test "x$ac_cv_func_expf" = xyes; then :
49234 cat >>confdefs.h <<_ACEOF
49235 #define HAVE_EXPF 1
49236 _ACEOF
49239 done
49241 else
49243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
49244 $as_echo_n "checking for _expf declaration... " >&6; }
49245 if test x${glibcxx_cv_func__expf_use+set} != xset; then
49246 if ${glibcxx_cv_func__expf_use+:} false; then :
49247 $as_echo_n "(cached) " >&6
49248 else
49251 ac_ext=cpp
49252 ac_cpp='$CXXCPP $CPPFLAGS'
49253 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49254 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49255 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49258 /* end confdefs.h. */
49259 #include <math.h>
49260 #ifdef HAVE_IEEEFP_H
49261 #include <ieeefp.h>
49262 #endif
49265 main ()
49267 _expf(0);
49269 return 0;
49271 _ACEOF
49272 if ac_fn_cxx_try_compile "$LINENO"; then :
49273 glibcxx_cv_func__expf_use=yes
49274 else
49275 glibcxx_cv_func__expf_use=no
49277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49278 ac_ext=c
49279 ac_cpp='$CPP $CPPFLAGS'
49280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
49289 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
49291 if test x$glibcxx_cv_func__expf_use = x"yes"; then
49292 for ac_func in _expf
49293 do :
49294 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
49295 if test "x$ac_cv_func__expf" = xyes; then :
49296 cat >>confdefs.h <<_ACEOF
49297 #define HAVE__EXPF 1
49298 _ACEOF
49301 done
49310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
49311 $as_echo_n "checking for isnanf declaration... " >&6; }
49312 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
49313 if ${glibcxx_cv_func_isnanf_use+:} false; then :
49314 $as_echo_n "(cached) " >&6
49315 else
49318 ac_ext=cpp
49319 ac_cpp='$CXXCPP $CPPFLAGS'
49320 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49321 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49322 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49325 /* end confdefs.h. */
49326 #include <math.h>
49327 #ifdef HAVE_IEEEFP_H
49328 #include <ieeefp.h>
49329 #endif
49332 main ()
49334 isnanf(0);
49336 return 0;
49338 _ACEOF
49339 if ac_fn_cxx_try_compile "$LINENO"; then :
49340 glibcxx_cv_func_isnanf_use=yes
49341 else
49342 glibcxx_cv_func_isnanf_use=no
49344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49345 ac_ext=c
49346 ac_cpp='$CPP $CPPFLAGS'
49347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
49356 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
49358 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
49359 for ac_func in isnanf
49360 do :
49361 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
49362 if test "x$ac_cv_func_isnanf" = xyes; then :
49363 cat >>confdefs.h <<_ACEOF
49364 #define HAVE_ISNANF 1
49365 _ACEOF
49368 done
49370 else
49372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
49373 $as_echo_n "checking for _isnanf declaration... " >&6; }
49374 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
49375 if ${glibcxx_cv_func__isnanf_use+:} false; then :
49376 $as_echo_n "(cached) " >&6
49377 else
49380 ac_ext=cpp
49381 ac_cpp='$CXXCPP $CPPFLAGS'
49382 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49383 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49384 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49387 /* end confdefs.h. */
49388 #include <math.h>
49389 #ifdef HAVE_IEEEFP_H
49390 #include <ieeefp.h>
49391 #endif
49394 main ()
49396 _isnanf(0);
49398 return 0;
49400 _ACEOF
49401 if ac_fn_cxx_try_compile "$LINENO"; then :
49402 glibcxx_cv_func__isnanf_use=yes
49403 else
49404 glibcxx_cv_func__isnanf_use=no
49406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49407 ac_ext=c
49408 ac_cpp='$CPP $CPPFLAGS'
49409 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49410 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49411 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
49418 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
49420 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
49421 for ac_func in _isnanf
49422 do :
49423 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
49424 if test "x$ac_cv_func__isnanf" = xyes; then :
49425 cat >>confdefs.h <<_ACEOF
49426 #define HAVE__ISNANF 1
49427 _ACEOF
49430 done
49439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
49440 $as_echo_n "checking for isinff declaration... " >&6; }
49441 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
49442 if ${glibcxx_cv_func_isinff_use+:} false; then :
49443 $as_echo_n "(cached) " >&6
49444 else
49447 ac_ext=cpp
49448 ac_cpp='$CXXCPP $CPPFLAGS'
49449 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49450 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49451 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49454 /* end confdefs.h. */
49455 #include <math.h>
49456 #ifdef HAVE_IEEEFP_H
49457 #include <ieeefp.h>
49458 #endif
49461 main ()
49463 isinff(0);
49465 return 0;
49467 _ACEOF
49468 if ac_fn_cxx_try_compile "$LINENO"; then :
49469 glibcxx_cv_func_isinff_use=yes
49470 else
49471 glibcxx_cv_func_isinff_use=no
49473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49474 ac_ext=c
49475 ac_cpp='$CPP $CPPFLAGS'
49476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
49485 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
49487 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
49488 for ac_func in isinff
49489 do :
49490 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
49491 if test "x$ac_cv_func_isinff" = xyes; then :
49492 cat >>confdefs.h <<_ACEOF
49493 #define HAVE_ISINFF 1
49494 _ACEOF
49497 done
49499 else
49501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
49502 $as_echo_n "checking for _isinff declaration... " >&6; }
49503 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
49504 if ${glibcxx_cv_func__isinff_use+:} false; then :
49505 $as_echo_n "(cached) " >&6
49506 else
49509 ac_ext=cpp
49510 ac_cpp='$CXXCPP $CPPFLAGS'
49511 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49512 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49513 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49516 /* end confdefs.h. */
49517 #include <math.h>
49518 #ifdef HAVE_IEEEFP_H
49519 #include <ieeefp.h>
49520 #endif
49523 main ()
49525 _isinff(0);
49527 return 0;
49529 _ACEOF
49530 if ac_fn_cxx_try_compile "$LINENO"; then :
49531 glibcxx_cv_func__isinff_use=yes
49532 else
49533 glibcxx_cv_func__isinff_use=no
49535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49536 ac_ext=c
49537 ac_cpp='$CPP $CPPFLAGS'
49538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
49547 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
49549 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
49550 for ac_func in _isinff
49551 do :
49552 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
49553 if test "x$ac_cv_func__isinff" = xyes; then :
49554 cat >>confdefs.h <<_ACEOF
49555 #define HAVE__ISINFF 1
49556 _ACEOF
49559 done
49568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
49569 $as_echo_n "checking for atan2f declaration... " >&6; }
49570 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
49571 if ${glibcxx_cv_func_atan2f_use+:} false; then :
49572 $as_echo_n "(cached) " >&6
49573 else
49576 ac_ext=cpp
49577 ac_cpp='$CXXCPP $CPPFLAGS'
49578 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49579 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49580 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49583 /* end confdefs.h. */
49584 #include <math.h>
49586 main ()
49588 atan2f(0, 0);
49590 return 0;
49592 _ACEOF
49593 if ac_fn_cxx_try_compile "$LINENO"; then :
49594 glibcxx_cv_func_atan2f_use=yes
49595 else
49596 glibcxx_cv_func_atan2f_use=no
49598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49599 ac_ext=c
49600 ac_cpp='$CPP $CPPFLAGS'
49601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
49610 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
49612 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
49613 for ac_func in atan2f
49614 do :
49615 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
49616 if test "x$ac_cv_func_atan2f" = xyes; then :
49617 cat >>confdefs.h <<_ACEOF
49618 #define HAVE_ATAN2F 1
49619 _ACEOF
49622 done
49624 else
49626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
49627 $as_echo_n "checking for _atan2f declaration... " >&6; }
49628 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
49629 if ${glibcxx_cv_func__atan2f_use+:} false; then :
49630 $as_echo_n "(cached) " >&6
49631 else
49634 ac_ext=cpp
49635 ac_cpp='$CXXCPP $CPPFLAGS'
49636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49641 /* end confdefs.h. */
49642 #include <math.h>
49644 main ()
49646 _atan2f(0, 0);
49648 return 0;
49650 _ACEOF
49651 if ac_fn_cxx_try_compile "$LINENO"; then :
49652 glibcxx_cv_func__atan2f_use=yes
49653 else
49654 glibcxx_cv_func__atan2f_use=no
49656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49657 ac_ext=c
49658 ac_cpp='$CPP $CPPFLAGS'
49659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
49668 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
49670 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
49671 for ac_func in _atan2f
49672 do :
49673 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
49674 if test "x$ac_cv_func__atan2f" = xyes; then :
49675 cat >>confdefs.h <<_ACEOF
49676 #define HAVE__ATAN2F 1
49677 _ACEOF
49680 done
49689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
49690 $as_echo_n "checking for fabsf declaration... " >&6; }
49691 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
49692 if ${glibcxx_cv_func_fabsf_use+:} false; then :
49693 $as_echo_n "(cached) " >&6
49694 else
49697 ac_ext=cpp
49698 ac_cpp='$CXXCPP $CPPFLAGS'
49699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49704 /* end confdefs.h. */
49705 #include <math.h>
49706 #ifdef HAVE_IEEEFP_H
49707 #include <ieeefp.h>
49708 #endif
49711 main ()
49713 fabsf(0);
49715 return 0;
49717 _ACEOF
49718 if ac_fn_cxx_try_compile "$LINENO"; then :
49719 glibcxx_cv_func_fabsf_use=yes
49720 else
49721 glibcxx_cv_func_fabsf_use=no
49723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49724 ac_ext=c
49725 ac_cpp='$CPP $CPPFLAGS'
49726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
49735 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
49737 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
49738 for ac_func in fabsf
49739 do :
49740 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
49741 if test "x$ac_cv_func_fabsf" = xyes; then :
49742 cat >>confdefs.h <<_ACEOF
49743 #define HAVE_FABSF 1
49744 _ACEOF
49747 done
49749 else
49751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
49752 $as_echo_n "checking for _fabsf declaration... " >&6; }
49753 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
49754 if ${glibcxx_cv_func__fabsf_use+:} false; then :
49755 $as_echo_n "(cached) " >&6
49756 else
49759 ac_ext=cpp
49760 ac_cpp='$CXXCPP $CPPFLAGS'
49761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49766 /* end confdefs.h. */
49767 #include <math.h>
49768 #ifdef HAVE_IEEEFP_H
49769 #include <ieeefp.h>
49770 #endif
49773 main ()
49775 _fabsf(0);
49777 return 0;
49779 _ACEOF
49780 if ac_fn_cxx_try_compile "$LINENO"; then :
49781 glibcxx_cv_func__fabsf_use=yes
49782 else
49783 glibcxx_cv_func__fabsf_use=no
49785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49786 ac_ext=c
49787 ac_cpp='$CPP $CPPFLAGS'
49788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
49797 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
49799 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
49800 for ac_func in _fabsf
49801 do :
49802 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
49803 if test "x$ac_cv_func__fabsf" = xyes; then :
49804 cat >>confdefs.h <<_ACEOF
49805 #define HAVE__FABSF 1
49806 _ACEOF
49809 done
49818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
49819 $as_echo_n "checking for fmodf declaration... " >&6; }
49820 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
49821 if ${glibcxx_cv_func_fmodf_use+:} false; then :
49822 $as_echo_n "(cached) " >&6
49823 else
49826 ac_ext=cpp
49827 ac_cpp='$CXXCPP $CPPFLAGS'
49828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49833 /* end confdefs.h. */
49834 #include <math.h>
49836 main ()
49838 fmodf(0, 0);
49840 return 0;
49842 _ACEOF
49843 if ac_fn_cxx_try_compile "$LINENO"; then :
49844 glibcxx_cv_func_fmodf_use=yes
49845 else
49846 glibcxx_cv_func_fmodf_use=no
49848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49849 ac_ext=c
49850 ac_cpp='$CPP $CPPFLAGS'
49851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49852 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49853 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
49860 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
49862 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
49863 for ac_func in fmodf
49864 do :
49865 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
49866 if test "x$ac_cv_func_fmodf" = xyes; then :
49867 cat >>confdefs.h <<_ACEOF
49868 #define HAVE_FMODF 1
49869 _ACEOF
49872 done
49874 else
49876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
49877 $as_echo_n "checking for _fmodf declaration... " >&6; }
49878 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
49879 if ${glibcxx_cv_func__fmodf_use+:} false; then :
49880 $as_echo_n "(cached) " >&6
49881 else
49884 ac_ext=cpp
49885 ac_cpp='$CXXCPP $CPPFLAGS'
49886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49887 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49891 /* end confdefs.h. */
49892 #include <math.h>
49894 main ()
49896 _fmodf(0, 0);
49898 return 0;
49900 _ACEOF
49901 if ac_fn_cxx_try_compile "$LINENO"; then :
49902 glibcxx_cv_func__fmodf_use=yes
49903 else
49904 glibcxx_cv_func__fmodf_use=no
49906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49907 ac_ext=c
49908 ac_cpp='$CPP $CPPFLAGS'
49909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
49918 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
49920 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
49921 for ac_func in _fmodf
49922 do :
49923 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
49924 if test "x$ac_cv_func__fmodf" = xyes; then :
49925 cat >>confdefs.h <<_ACEOF
49926 #define HAVE__FMODF 1
49927 _ACEOF
49930 done
49939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
49940 $as_echo_n "checking for frexpf declaration... " >&6; }
49941 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
49942 if ${glibcxx_cv_func_frexpf_use+:} false; then :
49943 $as_echo_n "(cached) " >&6
49944 else
49947 ac_ext=cpp
49948 ac_cpp='$CXXCPP $CPPFLAGS'
49949 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49950 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49951 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49954 /* end confdefs.h. */
49955 #include <math.h>
49957 main ()
49959 frexpf(0, 0);
49961 return 0;
49963 _ACEOF
49964 if ac_fn_cxx_try_compile "$LINENO"; then :
49965 glibcxx_cv_func_frexpf_use=yes
49966 else
49967 glibcxx_cv_func_frexpf_use=no
49969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49970 ac_ext=c
49971 ac_cpp='$CPP $CPPFLAGS'
49972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
49981 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
49983 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
49984 for ac_func in frexpf
49985 do :
49986 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
49987 if test "x$ac_cv_func_frexpf" = xyes; then :
49988 cat >>confdefs.h <<_ACEOF
49989 #define HAVE_FREXPF 1
49990 _ACEOF
49993 done
49995 else
49997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
49998 $as_echo_n "checking for _frexpf declaration... " >&6; }
49999 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
50000 if ${glibcxx_cv_func__frexpf_use+:} false; then :
50001 $as_echo_n "(cached) " >&6
50002 else
50005 ac_ext=cpp
50006 ac_cpp='$CXXCPP $CPPFLAGS'
50007 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50008 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50009 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50012 /* end confdefs.h. */
50013 #include <math.h>
50015 main ()
50017 _frexpf(0, 0);
50019 return 0;
50021 _ACEOF
50022 if ac_fn_cxx_try_compile "$LINENO"; then :
50023 glibcxx_cv_func__frexpf_use=yes
50024 else
50025 glibcxx_cv_func__frexpf_use=no
50027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50028 ac_ext=c
50029 ac_cpp='$CPP $CPPFLAGS'
50030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
50039 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
50041 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
50042 for ac_func in _frexpf
50043 do :
50044 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
50045 if test "x$ac_cv_func__frexpf" = xyes; then :
50046 cat >>confdefs.h <<_ACEOF
50047 #define HAVE__FREXPF 1
50048 _ACEOF
50051 done
50060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
50061 $as_echo_n "checking for hypotf declaration... " >&6; }
50062 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
50063 if ${glibcxx_cv_func_hypotf_use+:} false; then :
50064 $as_echo_n "(cached) " >&6
50065 else
50068 ac_ext=cpp
50069 ac_cpp='$CXXCPP $CPPFLAGS'
50070 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50071 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50072 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50075 /* end confdefs.h. */
50076 #include <math.h>
50078 main ()
50080 hypotf(0, 0);
50082 return 0;
50084 _ACEOF
50085 if ac_fn_cxx_try_compile "$LINENO"; then :
50086 glibcxx_cv_func_hypotf_use=yes
50087 else
50088 glibcxx_cv_func_hypotf_use=no
50090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50091 ac_ext=c
50092 ac_cpp='$CPP $CPPFLAGS'
50093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
50102 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
50104 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
50105 for ac_func in hypotf
50106 do :
50107 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
50108 if test "x$ac_cv_func_hypotf" = xyes; then :
50109 cat >>confdefs.h <<_ACEOF
50110 #define HAVE_HYPOTF 1
50111 _ACEOF
50114 done
50116 else
50118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
50119 $as_echo_n "checking for _hypotf declaration... " >&6; }
50120 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
50121 if ${glibcxx_cv_func__hypotf_use+:} false; then :
50122 $as_echo_n "(cached) " >&6
50123 else
50126 ac_ext=cpp
50127 ac_cpp='$CXXCPP $CPPFLAGS'
50128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50133 /* end confdefs.h. */
50134 #include <math.h>
50136 main ()
50138 _hypotf(0, 0);
50140 return 0;
50142 _ACEOF
50143 if ac_fn_cxx_try_compile "$LINENO"; then :
50144 glibcxx_cv_func__hypotf_use=yes
50145 else
50146 glibcxx_cv_func__hypotf_use=no
50148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50149 ac_ext=c
50150 ac_cpp='$CPP $CPPFLAGS'
50151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
50160 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
50162 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
50163 for ac_func in _hypotf
50164 do :
50165 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
50166 if test "x$ac_cv_func__hypotf" = xyes; then :
50167 cat >>confdefs.h <<_ACEOF
50168 #define HAVE__HYPOTF 1
50169 _ACEOF
50172 done
50181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
50182 $as_echo_n "checking for ldexpf declaration... " >&6; }
50183 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
50184 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
50185 $as_echo_n "(cached) " >&6
50186 else
50189 ac_ext=cpp
50190 ac_cpp='$CXXCPP $CPPFLAGS'
50191 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50192 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50193 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50196 /* end confdefs.h. */
50197 #include <math.h>
50199 main ()
50201 ldexpf(0, 0);
50203 return 0;
50205 _ACEOF
50206 if ac_fn_cxx_try_compile "$LINENO"; then :
50207 glibcxx_cv_func_ldexpf_use=yes
50208 else
50209 glibcxx_cv_func_ldexpf_use=no
50211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50212 ac_ext=c
50213 ac_cpp='$CPP $CPPFLAGS'
50214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
50223 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
50225 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
50226 for ac_func in ldexpf
50227 do :
50228 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
50229 if test "x$ac_cv_func_ldexpf" = xyes; then :
50230 cat >>confdefs.h <<_ACEOF
50231 #define HAVE_LDEXPF 1
50232 _ACEOF
50235 done
50237 else
50239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
50240 $as_echo_n "checking for _ldexpf declaration... " >&6; }
50241 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
50242 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
50243 $as_echo_n "(cached) " >&6
50244 else
50247 ac_ext=cpp
50248 ac_cpp='$CXXCPP $CPPFLAGS'
50249 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50250 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50251 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50254 /* end confdefs.h. */
50255 #include <math.h>
50257 main ()
50259 _ldexpf(0, 0);
50261 return 0;
50263 _ACEOF
50264 if ac_fn_cxx_try_compile "$LINENO"; then :
50265 glibcxx_cv_func__ldexpf_use=yes
50266 else
50267 glibcxx_cv_func__ldexpf_use=no
50269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50270 ac_ext=c
50271 ac_cpp='$CPP $CPPFLAGS'
50272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
50281 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
50283 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
50284 for ac_func in _ldexpf
50285 do :
50286 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
50287 if test "x$ac_cv_func__ldexpf" = xyes; then :
50288 cat >>confdefs.h <<_ACEOF
50289 #define HAVE__LDEXPF 1
50290 _ACEOF
50293 done
50302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
50303 $as_echo_n "checking for logf declaration... " >&6; }
50304 if test x${glibcxx_cv_func_logf_use+set} != xset; then
50305 if ${glibcxx_cv_func_logf_use+:} false; then :
50306 $as_echo_n "(cached) " >&6
50307 else
50310 ac_ext=cpp
50311 ac_cpp='$CXXCPP $CPPFLAGS'
50312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50317 /* end confdefs.h. */
50318 #include <math.h>
50319 #ifdef HAVE_IEEEFP_H
50320 #include <ieeefp.h>
50321 #endif
50324 main ()
50326 logf(0);
50328 return 0;
50330 _ACEOF
50331 if ac_fn_cxx_try_compile "$LINENO"; then :
50332 glibcxx_cv_func_logf_use=yes
50333 else
50334 glibcxx_cv_func_logf_use=no
50336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50337 ac_ext=c
50338 ac_cpp='$CPP $CPPFLAGS'
50339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
50348 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
50350 if test x$glibcxx_cv_func_logf_use = x"yes"; then
50351 for ac_func in logf
50352 do :
50353 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
50354 if test "x$ac_cv_func_logf" = xyes; then :
50355 cat >>confdefs.h <<_ACEOF
50356 #define HAVE_LOGF 1
50357 _ACEOF
50360 done
50362 else
50364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
50365 $as_echo_n "checking for _logf declaration... " >&6; }
50366 if test x${glibcxx_cv_func__logf_use+set} != xset; then
50367 if ${glibcxx_cv_func__logf_use+:} false; then :
50368 $as_echo_n "(cached) " >&6
50369 else
50372 ac_ext=cpp
50373 ac_cpp='$CXXCPP $CPPFLAGS'
50374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50379 /* end confdefs.h. */
50380 #include <math.h>
50381 #ifdef HAVE_IEEEFP_H
50382 #include <ieeefp.h>
50383 #endif
50386 main ()
50388 _logf(0);
50390 return 0;
50392 _ACEOF
50393 if ac_fn_cxx_try_compile "$LINENO"; then :
50394 glibcxx_cv_func__logf_use=yes
50395 else
50396 glibcxx_cv_func__logf_use=no
50398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50399 ac_ext=c
50400 ac_cpp='$CPP $CPPFLAGS'
50401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
50410 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
50412 if test x$glibcxx_cv_func__logf_use = x"yes"; then
50413 for ac_func in _logf
50414 do :
50415 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
50416 if test "x$ac_cv_func__logf" = xyes; then :
50417 cat >>confdefs.h <<_ACEOF
50418 #define HAVE__LOGF 1
50419 _ACEOF
50422 done
50431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
50432 $as_echo_n "checking for log10f declaration... " >&6; }
50433 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
50434 if ${glibcxx_cv_func_log10f_use+:} false; then :
50435 $as_echo_n "(cached) " >&6
50436 else
50439 ac_ext=cpp
50440 ac_cpp='$CXXCPP $CPPFLAGS'
50441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50446 /* end confdefs.h. */
50447 #include <math.h>
50448 #ifdef HAVE_IEEEFP_H
50449 #include <ieeefp.h>
50450 #endif
50453 main ()
50455 log10f(0);
50457 return 0;
50459 _ACEOF
50460 if ac_fn_cxx_try_compile "$LINENO"; then :
50461 glibcxx_cv_func_log10f_use=yes
50462 else
50463 glibcxx_cv_func_log10f_use=no
50465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50466 ac_ext=c
50467 ac_cpp='$CPP $CPPFLAGS'
50468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
50477 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
50479 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
50480 for ac_func in log10f
50481 do :
50482 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
50483 if test "x$ac_cv_func_log10f" = xyes; then :
50484 cat >>confdefs.h <<_ACEOF
50485 #define HAVE_LOG10F 1
50486 _ACEOF
50489 done
50491 else
50493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
50494 $as_echo_n "checking for _log10f declaration... " >&6; }
50495 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
50496 if ${glibcxx_cv_func__log10f_use+:} false; then :
50497 $as_echo_n "(cached) " >&6
50498 else
50501 ac_ext=cpp
50502 ac_cpp='$CXXCPP $CPPFLAGS'
50503 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50504 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50505 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50508 /* end confdefs.h. */
50509 #include <math.h>
50510 #ifdef HAVE_IEEEFP_H
50511 #include <ieeefp.h>
50512 #endif
50515 main ()
50517 _log10f(0);
50519 return 0;
50521 _ACEOF
50522 if ac_fn_cxx_try_compile "$LINENO"; then :
50523 glibcxx_cv_func__log10f_use=yes
50524 else
50525 glibcxx_cv_func__log10f_use=no
50527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50528 ac_ext=c
50529 ac_cpp='$CPP $CPPFLAGS'
50530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
50539 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
50541 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
50542 for ac_func in _log10f
50543 do :
50544 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
50545 if test "x$ac_cv_func__log10f" = xyes; then :
50546 cat >>confdefs.h <<_ACEOF
50547 #define HAVE__LOG10F 1
50548 _ACEOF
50551 done
50560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
50561 $as_echo_n "checking for modff declaration... " >&6; }
50562 if test x${glibcxx_cv_func_modff_use+set} != xset; then
50563 if ${glibcxx_cv_func_modff_use+:} false; then :
50564 $as_echo_n "(cached) " >&6
50565 else
50568 ac_ext=cpp
50569 ac_cpp='$CXXCPP $CPPFLAGS'
50570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50575 /* end confdefs.h. */
50576 #include <math.h>
50578 main ()
50580 modff(0, 0);
50582 return 0;
50584 _ACEOF
50585 if ac_fn_cxx_try_compile "$LINENO"; then :
50586 glibcxx_cv_func_modff_use=yes
50587 else
50588 glibcxx_cv_func_modff_use=no
50590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50591 ac_ext=c
50592 ac_cpp='$CPP $CPPFLAGS'
50593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
50602 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
50604 if test x$glibcxx_cv_func_modff_use = x"yes"; then
50605 for ac_func in modff
50606 do :
50607 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
50608 if test "x$ac_cv_func_modff" = xyes; then :
50609 cat >>confdefs.h <<_ACEOF
50610 #define HAVE_MODFF 1
50611 _ACEOF
50614 done
50616 else
50618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
50619 $as_echo_n "checking for _modff declaration... " >&6; }
50620 if test x${glibcxx_cv_func__modff_use+set} != xset; then
50621 if ${glibcxx_cv_func__modff_use+:} false; then :
50622 $as_echo_n "(cached) " >&6
50623 else
50626 ac_ext=cpp
50627 ac_cpp='$CXXCPP $CPPFLAGS'
50628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50633 /* end confdefs.h. */
50634 #include <math.h>
50636 main ()
50638 _modff(0, 0);
50640 return 0;
50642 _ACEOF
50643 if ac_fn_cxx_try_compile "$LINENO"; then :
50644 glibcxx_cv_func__modff_use=yes
50645 else
50646 glibcxx_cv_func__modff_use=no
50648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50649 ac_ext=c
50650 ac_cpp='$CPP $CPPFLAGS'
50651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
50660 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
50662 if test x$glibcxx_cv_func__modff_use = x"yes"; then
50663 for ac_func in _modff
50664 do :
50665 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
50666 if test "x$ac_cv_func__modff" = xyes; then :
50667 cat >>confdefs.h <<_ACEOF
50668 #define HAVE__MODFF 1
50669 _ACEOF
50672 done
50681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
50682 $as_echo_n "checking for modf declaration... " >&6; }
50683 if test x${glibcxx_cv_func_modf_use+set} != xset; then
50684 if ${glibcxx_cv_func_modf_use+:} false; then :
50685 $as_echo_n "(cached) " >&6
50686 else
50689 ac_ext=cpp
50690 ac_cpp='$CXXCPP $CPPFLAGS'
50691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50692 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50696 /* end confdefs.h. */
50697 #include <math.h>
50699 main ()
50701 modf(0, 0);
50703 return 0;
50705 _ACEOF
50706 if ac_fn_cxx_try_compile "$LINENO"; then :
50707 glibcxx_cv_func_modf_use=yes
50708 else
50709 glibcxx_cv_func_modf_use=no
50711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50712 ac_ext=c
50713 ac_cpp='$CPP $CPPFLAGS'
50714 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50715 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50716 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
50723 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
50725 if test x$glibcxx_cv_func_modf_use = x"yes"; then
50726 for ac_func in modf
50727 do :
50728 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
50729 if test "x$ac_cv_func_modf" = xyes; then :
50730 cat >>confdefs.h <<_ACEOF
50731 #define HAVE_MODF 1
50732 _ACEOF
50735 done
50737 else
50739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
50740 $as_echo_n "checking for _modf declaration... " >&6; }
50741 if test x${glibcxx_cv_func__modf_use+set} != xset; then
50742 if ${glibcxx_cv_func__modf_use+:} false; then :
50743 $as_echo_n "(cached) " >&6
50744 else
50747 ac_ext=cpp
50748 ac_cpp='$CXXCPP $CPPFLAGS'
50749 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50750 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50751 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50754 /* end confdefs.h. */
50755 #include <math.h>
50757 main ()
50759 _modf(0, 0);
50761 return 0;
50763 _ACEOF
50764 if ac_fn_cxx_try_compile "$LINENO"; then :
50765 glibcxx_cv_func__modf_use=yes
50766 else
50767 glibcxx_cv_func__modf_use=no
50769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50770 ac_ext=c
50771 ac_cpp='$CPP $CPPFLAGS'
50772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
50781 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
50783 if test x$glibcxx_cv_func__modf_use = x"yes"; then
50784 for ac_func in _modf
50785 do :
50786 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
50787 if test "x$ac_cv_func__modf" = xyes; then :
50788 cat >>confdefs.h <<_ACEOF
50789 #define HAVE__MODF 1
50790 _ACEOF
50793 done
50802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
50803 $as_echo_n "checking for powf declaration... " >&6; }
50804 if test x${glibcxx_cv_func_powf_use+set} != xset; then
50805 if ${glibcxx_cv_func_powf_use+:} false; then :
50806 $as_echo_n "(cached) " >&6
50807 else
50810 ac_ext=cpp
50811 ac_cpp='$CXXCPP $CPPFLAGS'
50812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50817 /* end confdefs.h. */
50818 #include <math.h>
50820 main ()
50822 powf(0, 0);
50824 return 0;
50826 _ACEOF
50827 if ac_fn_cxx_try_compile "$LINENO"; then :
50828 glibcxx_cv_func_powf_use=yes
50829 else
50830 glibcxx_cv_func_powf_use=no
50832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50833 ac_ext=c
50834 ac_cpp='$CPP $CPPFLAGS'
50835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
50844 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
50846 if test x$glibcxx_cv_func_powf_use = x"yes"; then
50847 for ac_func in powf
50848 do :
50849 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
50850 if test "x$ac_cv_func_powf" = xyes; then :
50851 cat >>confdefs.h <<_ACEOF
50852 #define HAVE_POWF 1
50853 _ACEOF
50856 done
50858 else
50860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
50861 $as_echo_n "checking for _powf declaration... " >&6; }
50862 if test x${glibcxx_cv_func__powf_use+set} != xset; then
50863 if ${glibcxx_cv_func__powf_use+:} false; then :
50864 $as_echo_n "(cached) " >&6
50865 else
50868 ac_ext=cpp
50869 ac_cpp='$CXXCPP $CPPFLAGS'
50870 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50871 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50872 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50875 /* end confdefs.h. */
50876 #include <math.h>
50878 main ()
50880 _powf(0, 0);
50882 return 0;
50884 _ACEOF
50885 if ac_fn_cxx_try_compile "$LINENO"; then :
50886 glibcxx_cv_func__powf_use=yes
50887 else
50888 glibcxx_cv_func__powf_use=no
50890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50891 ac_ext=c
50892 ac_cpp='$CPP $CPPFLAGS'
50893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
50902 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
50904 if test x$glibcxx_cv_func__powf_use = x"yes"; then
50905 for ac_func in _powf
50906 do :
50907 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
50908 if test "x$ac_cv_func__powf" = xyes; then :
50909 cat >>confdefs.h <<_ACEOF
50910 #define HAVE__POWF 1
50911 _ACEOF
50914 done
50923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
50924 $as_echo_n "checking for sqrtf declaration... " >&6; }
50925 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
50926 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
50927 $as_echo_n "(cached) " >&6
50928 else
50931 ac_ext=cpp
50932 ac_cpp='$CXXCPP $CPPFLAGS'
50933 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50934 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50935 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50938 /* end confdefs.h. */
50939 #include <math.h>
50940 #ifdef HAVE_IEEEFP_H
50941 #include <ieeefp.h>
50942 #endif
50945 main ()
50947 sqrtf(0);
50949 return 0;
50951 _ACEOF
50952 if ac_fn_cxx_try_compile "$LINENO"; then :
50953 glibcxx_cv_func_sqrtf_use=yes
50954 else
50955 glibcxx_cv_func_sqrtf_use=no
50957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50958 ac_ext=c
50959 ac_cpp='$CPP $CPPFLAGS'
50960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
50969 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
50971 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
50972 for ac_func in sqrtf
50973 do :
50974 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
50975 if test "x$ac_cv_func_sqrtf" = xyes; then :
50976 cat >>confdefs.h <<_ACEOF
50977 #define HAVE_SQRTF 1
50978 _ACEOF
50981 done
50983 else
50985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
50986 $as_echo_n "checking for _sqrtf declaration... " >&6; }
50987 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
50988 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
50989 $as_echo_n "(cached) " >&6
50990 else
50993 ac_ext=cpp
50994 ac_cpp='$CXXCPP $CPPFLAGS'
50995 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50996 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50997 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51000 /* end confdefs.h. */
51001 #include <math.h>
51002 #ifdef HAVE_IEEEFP_H
51003 #include <ieeefp.h>
51004 #endif
51007 main ()
51009 _sqrtf(0);
51011 return 0;
51013 _ACEOF
51014 if ac_fn_cxx_try_compile "$LINENO"; then :
51015 glibcxx_cv_func__sqrtf_use=yes
51016 else
51017 glibcxx_cv_func__sqrtf_use=no
51019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51020 ac_ext=c
51021 ac_cpp='$CPP $CPPFLAGS'
51022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
51031 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
51033 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
51034 for ac_func in _sqrtf
51035 do :
51036 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
51037 if test "x$ac_cv_func__sqrtf" = xyes; then :
51038 cat >>confdefs.h <<_ACEOF
51039 #define HAVE__SQRTF 1
51040 _ACEOF
51043 done
51052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
51053 $as_echo_n "checking for sincosf declaration... " >&6; }
51054 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
51055 if ${glibcxx_cv_func_sincosf_use+:} false; then :
51056 $as_echo_n "(cached) " >&6
51057 else
51060 ac_ext=cpp
51061 ac_cpp='$CXXCPP $CPPFLAGS'
51062 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51063 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51064 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51067 /* end confdefs.h. */
51068 #include <math.h>
51070 main ()
51072 sincosf(0, 0, 0);
51074 return 0;
51076 _ACEOF
51077 if ac_fn_cxx_try_compile "$LINENO"; then :
51078 glibcxx_cv_func_sincosf_use=yes
51079 else
51080 glibcxx_cv_func_sincosf_use=no
51082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51083 ac_ext=c
51084 ac_cpp='$CPP $CPPFLAGS'
51085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
51094 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
51096 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
51097 for ac_func in sincosf
51098 do :
51099 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
51100 if test "x$ac_cv_func_sincosf" = xyes; then :
51101 cat >>confdefs.h <<_ACEOF
51102 #define HAVE_SINCOSF 1
51103 _ACEOF
51106 done
51108 else
51110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
51111 $as_echo_n "checking for _sincosf declaration... " >&6; }
51112 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
51113 if ${glibcxx_cv_func__sincosf_use+:} false; then :
51114 $as_echo_n "(cached) " >&6
51115 else
51118 ac_ext=cpp
51119 ac_cpp='$CXXCPP $CPPFLAGS'
51120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51125 /* end confdefs.h. */
51126 #include <math.h>
51128 main ()
51130 _sincosf(0, 0, 0);
51132 return 0;
51134 _ACEOF
51135 if ac_fn_cxx_try_compile "$LINENO"; then :
51136 glibcxx_cv_func__sincosf_use=yes
51137 else
51138 glibcxx_cv_func__sincosf_use=no
51140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51141 ac_ext=c
51142 ac_cpp='$CPP $CPPFLAGS'
51143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
51152 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
51154 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
51155 for ac_func in _sincosf
51156 do :
51157 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
51158 if test "x$ac_cv_func__sincosf" = xyes; then :
51159 cat >>confdefs.h <<_ACEOF
51160 #define HAVE__SINCOSF 1
51161 _ACEOF
51164 done
51173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
51174 $as_echo_n "checking for finitef declaration... " >&6; }
51175 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
51176 if ${glibcxx_cv_func_finitef_use+:} false; then :
51177 $as_echo_n "(cached) " >&6
51178 else
51181 ac_ext=cpp
51182 ac_cpp='$CXXCPP $CPPFLAGS'
51183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51188 /* end confdefs.h. */
51189 #include <math.h>
51190 #ifdef HAVE_IEEEFP_H
51191 #include <ieeefp.h>
51192 #endif
51195 main ()
51197 finitef(0);
51199 return 0;
51201 _ACEOF
51202 if ac_fn_cxx_try_compile "$LINENO"; then :
51203 glibcxx_cv_func_finitef_use=yes
51204 else
51205 glibcxx_cv_func_finitef_use=no
51207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51208 ac_ext=c
51209 ac_cpp='$CPP $CPPFLAGS'
51210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
51219 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
51221 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
51222 for ac_func in finitef
51223 do :
51224 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
51225 if test "x$ac_cv_func_finitef" = xyes; then :
51226 cat >>confdefs.h <<_ACEOF
51227 #define HAVE_FINITEF 1
51228 _ACEOF
51231 done
51233 else
51235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
51236 $as_echo_n "checking for _finitef declaration... " >&6; }
51237 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
51238 if ${glibcxx_cv_func__finitef_use+:} false; then :
51239 $as_echo_n "(cached) " >&6
51240 else
51243 ac_ext=cpp
51244 ac_cpp='$CXXCPP $CPPFLAGS'
51245 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51246 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51247 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51250 /* end confdefs.h. */
51251 #include <math.h>
51252 #ifdef HAVE_IEEEFP_H
51253 #include <ieeefp.h>
51254 #endif
51257 main ()
51259 _finitef(0);
51261 return 0;
51263 _ACEOF
51264 if ac_fn_cxx_try_compile "$LINENO"; then :
51265 glibcxx_cv_func__finitef_use=yes
51266 else
51267 glibcxx_cv_func__finitef_use=no
51269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51270 ac_ext=c
51271 ac_cpp='$CPP $CPPFLAGS'
51272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
51281 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
51283 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
51284 for ac_func in _finitef
51285 do :
51286 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
51287 if test "x$ac_cv_func__finitef" = xyes; then :
51288 cat >>confdefs.h <<_ACEOF
51289 #define HAVE__FINITEF 1
51290 _ACEOF
51293 done
51302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
51303 $as_echo_n "checking for long double trig functions... " >&6; }
51304 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
51305 $as_echo_n "(cached) " >&6
51306 else
51309 ac_ext=cpp
51310 ac_cpp='$CXXCPP $CPPFLAGS'
51311 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51312 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51313 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51316 /* end confdefs.h. */
51317 #include <math.h>
51319 main ()
51321 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
51323 return 0;
51325 _ACEOF
51326 if ac_fn_cxx_try_compile "$LINENO"; then :
51327 glibcxx_cv_func_long_double_trig_use=yes
51328 else
51329 glibcxx_cv_func_long_double_trig_use=no
51331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51332 ac_ext=c
51333 ac_cpp='$CPP $CPPFLAGS'
51334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
51341 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
51342 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
51343 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
51344 do :
51345 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
51346 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
51347 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
51348 cat >>confdefs.h <<_ACEOF
51349 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
51350 _ACEOF
51353 done
51355 else
51356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
51357 $as_echo_n "checking for _long double trig functions... " >&6; }
51358 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
51359 $as_echo_n "(cached) " >&6
51360 else
51363 ac_ext=cpp
51364 ac_cpp='$CXXCPP $CPPFLAGS'
51365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51370 /* end confdefs.h. */
51371 #include <math.h>
51373 main ()
51375 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
51377 return 0;
51379 _ACEOF
51380 if ac_fn_cxx_try_compile "$LINENO"; then :
51381 glibcxx_cv_func__long_double_trig_use=yes
51382 else
51383 glibcxx_cv_func__long_double_trig_use=no
51385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51386 ac_ext=c
51387 ac_cpp='$CPP $CPPFLAGS'
51388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
51395 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
51396 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
51397 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
51398 do :
51399 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
51400 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
51401 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
51402 cat >>confdefs.h <<_ACEOF
51403 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
51404 _ACEOF
51407 done
51416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
51417 $as_echo_n "checking for long double round functions... " >&6; }
51418 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
51419 $as_echo_n "(cached) " >&6
51420 else
51423 ac_ext=cpp
51424 ac_cpp='$CXXCPP $CPPFLAGS'
51425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51430 /* end confdefs.h. */
51431 #include <math.h>
51433 main ()
51435 ceill (0); floorl (0);
51437 return 0;
51439 _ACEOF
51440 if ac_fn_cxx_try_compile "$LINENO"; then :
51441 glibcxx_cv_func_long_double_round_use=yes
51442 else
51443 glibcxx_cv_func_long_double_round_use=no
51445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51446 ac_ext=c
51447 ac_cpp='$CPP $CPPFLAGS'
51448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
51455 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
51456 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
51457 for ac_func in ceill floorl
51458 do :
51459 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
51460 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
51461 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
51462 cat >>confdefs.h <<_ACEOF
51463 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
51464 _ACEOF
51467 done
51469 else
51470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
51471 $as_echo_n "checking for _long double round functions... " >&6; }
51472 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
51473 $as_echo_n "(cached) " >&6
51474 else
51477 ac_ext=cpp
51478 ac_cpp='$CXXCPP $CPPFLAGS'
51479 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51480 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51481 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51484 /* end confdefs.h. */
51485 #include <math.h>
51487 main ()
51489 _ceill (0); _floorl (0);
51491 return 0;
51493 _ACEOF
51494 if ac_fn_cxx_try_compile "$LINENO"; then :
51495 glibcxx_cv_func__long_double_round_use=yes
51496 else
51497 glibcxx_cv_func__long_double_round_use=no
51499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51500 ac_ext=c
51501 ac_cpp='$CPP $CPPFLAGS'
51502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
51509 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
51510 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
51511 for ac_func in _ceill _floorl
51512 do :
51513 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
51514 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
51515 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
51516 cat >>confdefs.h <<_ACEOF
51517 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
51518 _ACEOF
51521 done
51531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
51532 $as_echo_n "checking for isnanl declaration... " >&6; }
51533 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
51534 if ${glibcxx_cv_func_isnanl_use+:} false; then :
51535 $as_echo_n "(cached) " >&6
51536 else
51539 ac_ext=cpp
51540 ac_cpp='$CXXCPP $CPPFLAGS'
51541 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51542 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51543 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51546 /* end confdefs.h. */
51547 #include <math.h>
51548 #ifdef HAVE_IEEEFP_H
51549 #include <ieeefp.h>
51550 #endif
51553 main ()
51555 isnanl(0);
51557 return 0;
51559 _ACEOF
51560 if ac_fn_cxx_try_compile "$LINENO"; then :
51561 glibcxx_cv_func_isnanl_use=yes
51562 else
51563 glibcxx_cv_func_isnanl_use=no
51565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51566 ac_ext=c
51567 ac_cpp='$CPP $CPPFLAGS'
51568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
51577 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
51579 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
51580 for ac_func in isnanl
51581 do :
51582 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
51583 if test "x$ac_cv_func_isnanl" = xyes; then :
51584 cat >>confdefs.h <<_ACEOF
51585 #define HAVE_ISNANL 1
51586 _ACEOF
51589 done
51591 else
51593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
51594 $as_echo_n "checking for _isnanl declaration... " >&6; }
51595 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
51596 if ${glibcxx_cv_func__isnanl_use+:} false; then :
51597 $as_echo_n "(cached) " >&6
51598 else
51601 ac_ext=cpp
51602 ac_cpp='$CXXCPP $CPPFLAGS'
51603 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51604 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51605 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51608 /* end confdefs.h. */
51609 #include <math.h>
51610 #ifdef HAVE_IEEEFP_H
51611 #include <ieeefp.h>
51612 #endif
51615 main ()
51617 _isnanl(0);
51619 return 0;
51621 _ACEOF
51622 if ac_fn_cxx_try_compile "$LINENO"; then :
51623 glibcxx_cv_func__isnanl_use=yes
51624 else
51625 glibcxx_cv_func__isnanl_use=no
51627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51628 ac_ext=c
51629 ac_cpp='$CPP $CPPFLAGS'
51630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
51639 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
51641 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
51642 for ac_func in _isnanl
51643 do :
51644 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
51645 if test "x$ac_cv_func__isnanl" = xyes; then :
51646 cat >>confdefs.h <<_ACEOF
51647 #define HAVE__ISNANL 1
51648 _ACEOF
51651 done
51660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
51661 $as_echo_n "checking for isinfl declaration... " >&6; }
51662 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
51663 if ${glibcxx_cv_func_isinfl_use+:} false; then :
51664 $as_echo_n "(cached) " >&6
51665 else
51668 ac_ext=cpp
51669 ac_cpp='$CXXCPP $CPPFLAGS'
51670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51675 /* end confdefs.h. */
51676 #include <math.h>
51677 #ifdef HAVE_IEEEFP_H
51678 #include <ieeefp.h>
51679 #endif
51682 main ()
51684 isinfl(0);
51686 return 0;
51688 _ACEOF
51689 if ac_fn_cxx_try_compile "$LINENO"; then :
51690 glibcxx_cv_func_isinfl_use=yes
51691 else
51692 glibcxx_cv_func_isinfl_use=no
51694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51695 ac_ext=c
51696 ac_cpp='$CPP $CPPFLAGS'
51697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
51706 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
51708 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
51709 for ac_func in isinfl
51710 do :
51711 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
51712 if test "x$ac_cv_func_isinfl" = xyes; then :
51713 cat >>confdefs.h <<_ACEOF
51714 #define HAVE_ISINFL 1
51715 _ACEOF
51718 done
51720 else
51722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
51723 $as_echo_n "checking for _isinfl declaration... " >&6; }
51724 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
51725 if ${glibcxx_cv_func__isinfl_use+:} false; then :
51726 $as_echo_n "(cached) " >&6
51727 else
51730 ac_ext=cpp
51731 ac_cpp='$CXXCPP $CPPFLAGS'
51732 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51733 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51734 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51737 /* end confdefs.h. */
51738 #include <math.h>
51739 #ifdef HAVE_IEEEFP_H
51740 #include <ieeefp.h>
51741 #endif
51744 main ()
51746 _isinfl(0);
51748 return 0;
51750 _ACEOF
51751 if ac_fn_cxx_try_compile "$LINENO"; then :
51752 glibcxx_cv_func__isinfl_use=yes
51753 else
51754 glibcxx_cv_func__isinfl_use=no
51756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51757 ac_ext=c
51758 ac_cpp='$CPP $CPPFLAGS'
51759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
51768 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
51770 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
51771 for ac_func in _isinfl
51772 do :
51773 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
51774 if test "x$ac_cv_func__isinfl" = xyes; then :
51775 cat >>confdefs.h <<_ACEOF
51776 #define HAVE__ISINFL 1
51777 _ACEOF
51780 done
51789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
51790 $as_echo_n "checking for atan2l declaration... " >&6; }
51791 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
51792 if ${glibcxx_cv_func_atan2l_use+:} false; then :
51793 $as_echo_n "(cached) " >&6
51794 else
51797 ac_ext=cpp
51798 ac_cpp='$CXXCPP $CPPFLAGS'
51799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51800 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51804 /* end confdefs.h. */
51805 #include <math.h>
51807 main ()
51809 atan2l(0, 0);
51811 return 0;
51813 _ACEOF
51814 if ac_fn_cxx_try_compile "$LINENO"; then :
51815 glibcxx_cv_func_atan2l_use=yes
51816 else
51817 glibcxx_cv_func_atan2l_use=no
51819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51820 ac_ext=c
51821 ac_cpp='$CPP $CPPFLAGS'
51822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
51831 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
51833 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
51834 for ac_func in atan2l
51835 do :
51836 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
51837 if test "x$ac_cv_func_atan2l" = xyes; then :
51838 cat >>confdefs.h <<_ACEOF
51839 #define HAVE_ATAN2L 1
51840 _ACEOF
51843 done
51845 else
51847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
51848 $as_echo_n "checking for _atan2l declaration... " >&6; }
51849 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
51850 if ${glibcxx_cv_func__atan2l_use+:} false; then :
51851 $as_echo_n "(cached) " >&6
51852 else
51855 ac_ext=cpp
51856 ac_cpp='$CXXCPP $CPPFLAGS'
51857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51862 /* end confdefs.h. */
51863 #include <math.h>
51865 main ()
51867 _atan2l(0, 0);
51869 return 0;
51871 _ACEOF
51872 if ac_fn_cxx_try_compile "$LINENO"; then :
51873 glibcxx_cv_func__atan2l_use=yes
51874 else
51875 glibcxx_cv_func__atan2l_use=no
51877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51878 ac_ext=c
51879 ac_cpp='$CPP $CPPFLAGS'
51880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
51889 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
51891 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
51892 for ac_func in _atan2l
51893 do :
51894 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
51895 if test "x$ac_cv_func__atan2l" = xyes; then :
51896 cat >>confdefs.h <<_ACEOF
51897 #define HAVE__ATAN2L 1
51898 _ACEOF
51901 done
51910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
51911 $as_echo_n "checking for expl declaration... " >&6; }
51912 if test x${glibcxx_cv_func_expl_use+set} != xset; then
51913 if ${glibcxx_cv_func_expl_use+:} false; then :
51914 $as_echo_n "(cached) " >&6
51915 else
51918 ac_ext=cpp
51919 ac_cpp='$CXXCPP $CPPFLAGS'
51920 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51921 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51922 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51925 /* end confdefs.h. */
51926 #include <math.h>
51927 #ifdef HAVE_IEEEFP_H
51928 #include <ieeefp.h>
51929 #endif
51932 main ()
51934 expl(0);
51936 return 0;
51938 _ACEOF
51939 if ac_fn_cxx_try_compile "$LINENO"; then :
51940 glibcxx_cv_func_expl_use=yes
51941 else
51942 glibcxx_cv_func_expl_use=no
51944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51945 ac_ext=c
51946 ac_cpp='$CPP $CPPFLAGS'
51947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
51956 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
51958 if test x$glibcxx_cv_func_expl_use = x"yes"; then
51959 for ac_func in expl
51960 do :
51961 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
51962 if test "x$ac_cv_func_expl" = xyes; then :
51963 cat >>confdefs.h <<_ACEOF
51964 #define HAVE_EXPL 1
51965 _ACEOF
51968 done
51970 else
51972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
51973 $as_echo_n "checking for _expl declaration... " >&6; }
51974 if test x${glibcxx_cv_func__expl_use+set} != xset; then
51975 if ${glibcxx_cv_func__expl_use+:} false; then :
51976 $as_echo_n "(cached) " >&6
51977 else
51980 ac_ext=cpp
51981 ac_cpp='$CXXCPP $CPPFLAGS'
51982 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51983 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51984 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51987 /* end confdefs.h. */
51988 #include <math.h>
51989 #ifdef HAVE_IEEEFP_H
51990 #include <ieeefp.h>
51991 #endif
51994 main ()
51996 _expl(0);
51998 return 0;
52000 _ACEOF
52001 if ac_fn_cxx_try_compile "$LINENO"; then :
52002 glibcxx_cv_func__expl_use=yes
52003 else
52004 glibcxx_cv_func__expl_use=no
52006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52007 ac_ext=c
52008 ac_cpp='$CPP $CPPFLAGS'
52009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
52018 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
52020 if test x$glibcxx_cv_func__expl_use = x"yes"; then
52021 for ac_func in _expl
52022 do :
52023 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
52024 if test "x$ac_cv_func__expl" = xyes; then :
52025 cat >>confdefs.h <<_ACEOF
52026 #define HAVE__EXPL 1
52027 _ACEOF
52030 done
52039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
52040 $as_echo_n "checking for fabsl declaration... " >&6; }
52041 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
52042 if ${glibcxx_cv_func_fabsl_use+:} false; then :
52043 $as_echo_n "(cached) " >&6
52044 else
52047 ac_ext=cpp
52048 ac_cpp='$CXXCPP $CPPFLAGS'
52049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52054 /* end confdefs.h. */
52055 #include <math.h>
52056 #ifdef HAVE_IEEEFP_H
52057 #include <ieeefp.h>
52058 #endif
52061 main ()
52063 fabsl(0);
52065 return 0;
52067 _ACEOF
52068 if ac_fn_cxx_try_compile "$LINENO"; then :
52069 glibcxx_cv_func_fabsl_use=yes
52070 else
52071 glibcxx_cv_func_fabsl_use=no
52073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52074 ac_ext=c
52075 ac_cpp='$CPP $CPPFLAGS'
52076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
52085 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
52087 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
52088 for ac_func in fabsl
52089 do :
52090 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
52091 if test "x$ac_cv_func_fabsl" = xyes; then :
52092 cat >>confdefs.h <<_ACEOF
52093 #define HAVE_FABSL 1
52094 _ACEOF
52097 done
52099 else
52101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
52102 $as_echo_n "checking for _fabsl declaration... " >&6; }
52103 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
52104 if ${glibcxx_cv_func__fabsl_use+:} false; then :
52105 $as_echo_n "(cached) " >&6
52106 else
52109 ac_ext=cpp
52110 ac_cpp='$CXXCPP $CPPFLAGS'
52111 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52112 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52113 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52116 /* end confdefs.h. */
52117 #include <math.h>
52118 #ifdef HAVE_IEEEFP_H
52119 #include <ieeefp.h>
52120 #endif
52123 main ()
52125 _fabsl(0);
52127 return 0;
52129 _ACEOF
52130 if ac_fn_cxx_try_compile "$LINENO"; then :
52131 glibcxx_cv_func__fabsl_use=yes
52132 else
52133 glibcxx_cv_func__fabsl_use=no
52135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52136 ac_ext=c
52137 ac_cpp='$CPP $CPPFLAGS'
52138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
52147 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
52149 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
52150 for ac_func in _fabsl
52151 do :
52152 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
52153 if test "x$ac_cv_func__fabsl" = xyes; then :
52154 cat >>confdefs.h <<_ACEOF
52155 #define HAVE__FABSL 1
52156 _ACEOF
52159 done
52168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
52169 $as_echo_n "checking for fmodl declaration... " >&6; }
52170 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
52171 if ${glibcxx_cv_func_fmodl_use+:} false; then :
52172 $as_echo_n "(cached) " >&6
52173 else
52176 ac_ext=cpp
52177 ac_cpp='$CXXCPP $CPPFLAGS'
52178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52183 /* end confdefs.h. */
52184 #include <math.h>
52186 main ()
52188 fmodl(0, 0);
52190 return 0;
52192 _ACEOF
52193 if ac_fn_cxx_try_compile "$LINENO"; then :
52194 glibcxx_cv_func_fmodl_use=yes
52195 else
52196 glibcxx_cv_func_fmodl_use=no
52198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52199 ac_ext=c
52200 ac_cpp='$CPP $CPPFLAGS'
52201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
52210 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
52212 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
52213 for ac_func in fmodl
52214 do :
52215 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
52216 if test "x$ac_cv_func_fmodl" = xyes; then :
52217 cat >>confdefs.h <<_ACEOF
52218 #define HAVE_FMODL 1
52219 _ACEOF
52222 done
52224 else
52226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
52227 $as_echo_n "checking for _fmodl declaration... " >&6; }
52228 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
52229 if ${glibcxx_cv_func__fmodl_use+:} false; then :
52230 $as_echo_n "(cached) " >&6
52231 else
52234 ac_ext=cpp
52235 ac_cpp='$CXXCPP $CPPFLAGS'
52236 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52237 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52238 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52241 /* end confdefs.h. */
52242 #include <math.h>
52244 main ()
52246 _fmodl(0, 0);
52248 return 0;
52250 _ACEOF
52251 if ac_fn_cxx_try_compile "$LINENO"; then :
52252 glibcxx_cv_func__fmodl_use=yes
52253 else
52254 glibcxx_cv_func__fmodl_use=no
52256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52257 ac_ext=c
52258 ac_cpp='$CPP $CPPFLAGS'
52259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
52268 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
52270 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
52271 for ac_func in _fmodl
52272 do :
52273 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
52274 if test "x$ac_cv_func__fmodl" = xyes; then :
52275 cat >>confdefs.h <<_ACEOF
52276 #define HAVE__FMODL 1
52277 _ACEOF
52280 done
52289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
52290 $as_echo_n "checking for frexpl declaration... " >&6; }
52291 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
52292 if ${glibcxx_cv_func_frexpl_use+:} false; then :
52293 $as_echo_n "(cached) " >&6
52294 else
52297 ac_ext=cpp
52298 ac_cpp='$CXXCPP $CPPFLAGS'
52299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52304 /* end confdefs.h. */
52305 #include <math.h>
52307 main ()
52309 frexpl(0, 0);
52311 return 0;
52313 _ACEOF
52314 if ac_fn_cxx_try_compile "$LINENO"; then :
52315 glibcxx_cv_func_frexpl_use=yes
52316 else
52317 glibcxx_cv_func_frexpl_use=no
52319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52320 ac_ext=c
52321 ac_cpp='$CPP $CPPFLAGS'
52322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
52331 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
52333 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
52334 for ac_func in frexpl
52335 do :
52336 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
52337 if test "x$ac_cv_func_frexpl" = xyes; then :
52338 cat >>confdefs.h <<_ACEOF
52339 #define HAVE_FREXPL 1
52340 _ACEOF
52343 done
52345 else
52347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
52348 $as_echo_n "checking for _frexpl declaration... " >&6; }
52349 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
52350 if ${glibcxx_cv_func__frexpl_use+:} false; then :
52351 $as_echo_n "(cached) " >&6
52352 else
52355 ac_ext=cpp
52356 ac_cpp='$CXXCPP $CPPFLAGS'
52357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52362 /* end confdefs.h. */
52363 #include <math.h>
52365 main ()
52367 _frexpl(0, 0);
52369 return 0;
52371 _ACEOF
52372 if ac_fn_cxx_try_compile "$LINENO"; then :
52373 glibcxx_cv_func__frexpl_use=yes
52374 else
52375 glibcxx_cv_func__frexpl_use=no
52377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52378 ac_ext=c
52379 ac_cpp='$CPP $CPPFLAGS'
52380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
52389 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
52391 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
52392 for ac_func in _frexpl
52393 do :
52394 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
52395 if test "x$ac_cv_func__frexpl" = xyes; then :
52396 cat >>confdefs.h <<_ACEOF
52397 #define HAVE__FREXPL 1
52398 _ACEOF
52401 done
52410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
52411 $as_echo_n "checking for hypotl declaration... " >&6; }
52412 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
52413 if ${glibcxx_cv_func_hypotl_use+:} false; then :
52414 $as_echo_n "(cached) " >&6
52415 else
52418 ac_ext=cpp
52419 ac_cpp='$CXXCPP $CPPFLAGS'
52420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52425 /* end confdefs.h. */
52426 #include <math.h>
52428 main ()
52430 hypotl(0, 0);
52432 return 0;
52434 _ACEOF
52435 if ac_fn_cxx_try_compile "$LINENO"; then :
52436 glibcxx_cv_func_hypotl_use=yes
52437 else
52438 glibcxx_cv_func_hypotl_use=no
52440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52441 ac_ext=c
52442 ac_cpp='$CPP $CPPFLAGS'
52443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
52452 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
52454 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
52455 for ac_func in hypotl
52456 do :
52457 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
52458 if test "x$ac_cv_func_hypotl" = xyes; then :
52459 cat >>confdefs.h <<_ACEOF
52460 #define HAVE_HYPOTL 1
52461 _ACEOF
52464 done
52466 else
52468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
52469 $as_echo_n "checking for _hypotl declaration... " >&6; }
52470 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
52471 if ${glibcxx_cv_func__hypotl_use+:} false; then :
52472 $as_echo_n "(cached) " >&6
52473 else
52476 ac_ext=cpp
52477 ac_cpp='$CXXCPP $CPPFLAGS'
52478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52483 /* end confdefs.h. */
52484 #include <math.h>
52486 main ()
52488 _hypotl(0, 0);
52490 return 0;
52492 _ACEOF
52493 if ac_fn_cxx_try_compile "$LINENO"; then :
52494 glibcxx_cv_func__hypotl_use=yes
52495 else
52496 glibcxx_cv_func__hypotl_use=no
52498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52499 ac_ext=c
52500 ac_cpp='$CPP $CPPFLAGS'
52501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
52510 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
52512 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
52513 for ac_func in _hypotl
52514 do :
52515 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
52516 if test "x$ac_cv_func__hypotl" = xyes; then :
52517 cat >>confdefs.h <<_ACEOF
52518 #define HAVE__HYPOTL 1
52519 _ACEOF
52522 done
52531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
52532 $as_echo_n "checking for ldexpl declaration... " >&6; }
52533 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
52534 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
52535 $as_echo_n "(cached) " >&6
52536 else
52539 ac_ext=cpp
52540 ac_cpp='$CXXCPP $CPPFLAGS'
52541 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52542 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52543 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52546 /* end confdefs.h. */
52547 #include <math.h>
52549 main ()
52551 ldexpl(0, 0);
52553 return 0;
52555 _ACEOF
52556 if ac_fn_cxx_try_compile "$LINENO"; then :
52557 glibcxx_cv_func_ldexpl_use=yes
52558 else
52559 glibcxx_cv_func_ldexpl_use=no
52561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52562 ac_ext=c
52563 ac_cpp='$CPP $CPPFLAGS'
52564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
52573 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
52575 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
52576 for ac_func in ldexpl
52577 do :
52578 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
52579 if test "x$ac_cv_func_ldexpl" = xyes; then :
52580 cat >>confdefs.h <<_ACEOF
52581 #define HAVE_LDEXPL 1
52582 _ACEOF
52585 done
52587 else
52589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
52590 $as_echo_n "checking for _ldexpl declaration... " >&6; }
52591 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
52592 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
52593 $as_echo_n "(cached) " >&6
52594 else
52597 ac_ext=cpp
52598 ac_cpp='$CXXCPP $CPPFLAGS'
52599 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52600 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52601 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52604 /* end confdefs.h. */
52605 #include <math.h>
52607 main ()
52609 _ldexpl(0, 0);
52611 return 0;
52613 _ACEOF
52614 if ac_fn_cxx_try_compile "$LINENO"; then :
52615 glibcxx_cv_func__ldexpl_use=yes
52616 else
52617 glibcxx_cv_func__ldexpl_use=no
52619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52620 ac_ext=c
52621 ac_cpp='$CPP $CPPFLAGS'
52622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
52631 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
52633 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
52634 for ac_func in _ldexpl
52635 do :
52636 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
52637 if test "x$ac_cv_func__ldexpl" = xyes; then :
52638 cat >>confdefs.h <<_ACEOF
52639 #define HAVE__LDEXPL 1
52640 _ACEOF
52643 done
52652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
52653 $as_echo_n "checking for logl declaration... " >&6; }
52654 if test x${glibcxx_cv_func_logl_use+set} != xset; then
52655 if ${glibcxx_cv_func_logl_use+:} false; then :
52656 $as_echo_n "(cached) " >&6
52657 else
52660 ac_ext=cpp
52661 ac_cpp='$CXXCPP $CPPFLAGS'
52662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52667 /* end confdefs.h. */
52668 #include <math.h>
52669 #ifdef HAVE_IEEEFP_H
52670 #include <ieeefp.h>
52671 #endif
52674 main ()
52676 logl(0);
52678 return 0;
52680 _ACEOF
52681 if ac_fn_cxx_try_compile "$LINENO"; then :
52682 glibcxx_cv_func_logl_use=yes
52683 else
52684 glibcxx_cv_func_logl_use=no
52686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52687 ac_ext=c
52688 ac_cpp='$CPP $CPPFLAGS'
52689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
52698 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
52700 if test x$glibcxx_cv_func_logl_use = x"yes"; then
52701 for ac_func in logl
52702 do :
52703 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
52704 if test "x$ac_cv_func_logl" = xyes; then :
52705 cat >>confdefs.h <<_ACEOF
52706 #define HAVE_LOGL 1
52707 _ACEOF
52710 done
52712 else
52714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
52715 $as_echo_n "checking for _logl declaration... " >&6; }
52716 if test x${glibcxx_cv_func__logl_use+set} != xset; then
52717 if ${glibcxx_cv_func__logl_use+:} false; then :
52718 $as_echo_n "(cached) " >&6
52719 else
52722 ac_ext=cpp
52723 ac_cpp='$CXXCPP $CPPFLAGS'
52724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52729 /* end confdefs.h. */
52730 #include <math.h>
52731 #ifdef HAVE_IEEEFP_H
52732 #include <ieeefp.h>
52733 #endif
52736 main ()
52738 _logl(0);
52740 return 0;
52742 _ACEOF
52743 if ac_fn_cxx_try_compile "$LINENO"; then :
52744 glibcxx_cv_func__logl_use=yes
52745 else
52746 glibcxx_cv_func__logl_use=no
52748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52749 ac_ext=c
52750 ac_cpp='$CPP $CPPFLAGS'
52751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
52760 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
52762 if test x$glibcxx_cv_func__logl_use = x"yes"; then
52763 for ac_func in _logl
52764 do :
52765 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
52766 if test "x$ac_cv_func__logl" = xyes; then :
52767 cat >>confdefs.h <<_ACEOF
52768 #define HAVE__LOGL 1
52769 _ACEOF
52772 done
52781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
52782 $as_echo_n "checking for log10l declaration... " >&6; }
52783 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
52784 if ${glibcxx_cv_func_log10l_use+:} false; then :
52785 $as_echo_n "(cached) " >&6
52786 else
52789 ac_ext=cpp
52790 ac_cpp='$CXXCPP $CPPFLAGS'
52791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52796 /* end confdefs.h. */
52797 #include <math.h>
52798 #ifdef HAVE_IEEEFP_H
52799 #include <ieeefp.h>
52800 #endif
52803 main ()
52805 log10l(0);
52807 return 0;
52809 _ACEOF
52810 if ac_fn_cxx_try_compile "$LINENO"; then :
52811 glibcxx_cv_func_log10l_use=yes
52812 else
52813 glibcxx_cv_func_log10l_use=no
52815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52816 ac_ext=c
52817 ac_cpp='$CPP $CPPFLAGS'
52818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
52827 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
52829 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
52830 for ac_func in log10l
52831 do :
52832 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
52833 if test "x$ac_cv_func_log10l" = xyes; then :
52834 cat >>confdefs.h <<_ACEOF
52835 #define HAVE_LOG10L 1
52836 _ACEOF
52839 done
52841 else
52843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
52844 $as_echo_n "checking for _log10l declaration... " >&6; }
52845 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
52846 if ${glibcxx_cv_func__log10l_use+:} false; then :
52847 $as_echo_n "(cached) " >&6
52848 else
52851 ac_ext=cpp
52852 ac_cpp='$CXXCPP $CPPFLAGS'
52853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52854 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52858 /* end confdefs.h. */
52859 #include <math.h>
52860 #ifdef HAVE_IEEEFP_H
52861 #include <ieeefp.h>
52862 #endif
52865 main ()
52867 _log10l(0);
52869 return 0;
52871 _ACEOF
52872 if ac_fn_cxx_try_compile "$LINENO"; then :
52873 glibcxx_cv_func__log10l_use=yes
52874 else
52875 glibcxx_cv_func__log10l_use=no
52877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52878 ac_ext=c
52879 ac_cpp='$CPP $CPPFLAGS'
52880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
52889 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
52891 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
52892 for ac_func in _log10l
52893 do :
52894 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
52895 if test "x$ac_cv_func__log10l" = xyes; then :
52896 cat >>confdefs.h <<_ACEOF
52897 #define HAVE__LOG10L 1
52898 _ACEOF
52901 done
52910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
52911 $as_echo_n "checking for modfl declaration... " >&6; }
52912 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
52913 if ${glibcxx_cv_func_modfl_use+:} false; then :
52914 $as_echo_n "(cached) " >&6
52915 else
52918 ac_ext=cpp
52919 ac_cpp='$CXXCPP $CPPFLAGS'
52920 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52921 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52922 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52925 /* end confdefs.h. */
52926 #include <math.h>
52928 main ()
52930 modfl(0, 0);
52932 return 0;
52934 _ACEOF
52935 if ac_fn_cxx_try_compile "$LINENO"; then :
52936 glibcxx_cv_func_modfl_use=yes
52937 else
52938 glibcxx_cv_func_modfl_use=no
52940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52941 ac_ext=c
52942 ac_cpp='$CPP $CPPFLAGS'
52943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
52952 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
52954 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
52955 for ac_func in modfl
52956 do :
52957 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
52958 if test "x$ac_cv_func_modfl" = xyes; then :
52959 cat >>confdefs.h <<_ACEOF
52960 #define HAVE_MODFL 1
52961 _ACEOF
52964 done
52966 else
52968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
52969 $as_echo_n "checking for _modfl declaration... " >&6; }
52970 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
52971 if ${glibcxx_cv_func__modfl_use+:} false; then :
52972 $as_echo_n "(cached) " >&6
52973 else
52976 ac_ext=cpp
52977 ac_cpp='$CXXCPP $CPPFLAGS'
52978 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52979 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52980 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52983 /* end confdefs.h. */
52984 #include <math.h>
52986 main ()
52988 _modfl(0, 0);
52990 return 0;
52992 _ACEOF
52993 if ac_fn_cxx_try_compile "$LINENO"; then :
52994 glibcxx_cv_func__modfl_use=yes
52995 else
52996 glibcxx_cv_func__modfl_use=no
52998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52999 ac_ext=c
53000 ac_cpp='$CPP $CPPFLAGS'
53001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
53010 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
53012 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
53013 for ac_func in _modfl
53014 do :
53015 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
53016 if test "x$ac_cv_func__modfl" = xyes; then :
53017 cat >>confdefs.h <<_ACEOF
53018 #define HAVE__MODFL 1
53019 _ACEOF
53022 done
53031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
53032 $as_echo_n "checking for powl declaration... " >&6; }
53033 if test x${glibcxx_cv_func_powl_use+set} != xset; then
53034 if ${glibcxx_cv_func_powl_use+:} false; then :
53035 $as_echo_n "(cached) " >&6
53036 else
53039 ac_ext=cpp
53040 ac_cpp='$CXXCPP $CPPFLAGS'
53041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53046 /* end confdefs.h. */
53047 #include <math.h>
53049 main ()
53051 powl(0, 0);
53053 return 0;
53055 _ACEOF
53056 if ac_fn_cxx_try_compile "$LINENO"; then :
53057 glibcxx_cv_func_powl_use=yes
53058 else
53059 glibcxx_cv_func_powl_use=no
53061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53062 ac_ext=c
53063 ac_cpp='$CPP $CPPFLAGS'
53064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
53073 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
53075 if test x$glibcxx_cv_func_powl_use = x"yes"; then
53076 for ac_func in powl
53077 do :
53078 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
53079 if test "x$ac_cv_func_powl" = xyes; then :
53080 cat >>confdefs.h <<_ACEOF
53081 #define HAVE_POWL 1
53082 _ACEOF
53085 done
53087 else
53089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
53090 $as_echo_n "checking for _powl declaration... " >&6; }
53091 if test x${glibcxx_cv_func__powl_use+set} != xset; then
53092 if ${glibcxx_cv_func__powl_use+:} false; then :
53093 $as_echo_n "(cached) " >&6
53094 else
53097 ac_ext=cpp
53098 ac_cpp='$CXXCPP $CPPFLAGS'
53099 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53100 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53101 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53104 /* end confdefs.h. */
53105 #include <math.h>
53107 main ()
53109 _powl(0, 0);
53111 return 0;
53113 _ACEOF
53114 if ac_fn_cxx_try_compile "$LINENO"; then :
53115 glibcxx_cv_func__powl_use=yes
53116 else
53117 glibcxx_cv_func__powl_use=no
53119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53120 ac_ext=c
53121 ac_cpp='$CPP $CPPFLAGS'
53122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
53131 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
53133 if test x$glibcxx_cv_func__powl_use = x"yes"; then
53134 for ac_func in _powl
53135 do :
53136 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
53137 if test "x$ac_cv_func__powl" = xyes; then :
53138 cat >>confdefs.h <<_ACEOF
53139 #define HAVE__POWL 1
53140 _ACEOF
53143 done
53152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
53153 $as_echo_n "checking for sqrtl declaration... " >&6; }
53154 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
53155 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
53156 $as_echo_n "(cached) " >&6
53157 else
53160 ac_ext=cpp
53161 ac_cpp='$CXXCPP $CPPFLAGS'
53162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53167 /* end confdefs.h. */
53168 #include <math.h>
53169 #ifdef HAVE_IEEEFP_H
53170 #include <ieeefp.h>
53171 #endif
53174 main ()
53176 sqrtl(0);
53178 return 0;
53180 _ACEOF
53181 if ac_fn_cxx_try_compile "$LINENO"; then :
53182 glibcxx_cv_func_sqrtl_use=yes
53183 else
53184 glibcxx_cv_func_sqrtl_use=no
53186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53187 ac_ext=c
53188 ac_cpp='$CPP $CPPFLAGS'
53189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
53198 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
53200 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
53201 for ac_func in sqrtl
53202 do :
53203 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
53204 if test "x$ac_cv_func_sqrtl" = xyes; then :
53205 cat >>confdefs.h <<_ACEOF
53206 #define HAVE_SQRTL 1
53207 _ACEOF
53210 done
53212 else
53214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
53215 $as_echo_n "checking for _sqrtl declaration... " >&6; }
53216 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
53217 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
53218 $as_echo_n "(cached) " >&6
53219 else
53222 ac_ext=cpp
53223 ac_cpp='$CXXCPP $CPPFLAGS'
53224 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53225 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53226 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53229 /* end confdefs.h. */
53230 #include <math.h>
53231 #ifdef HAVE_IEEEFP_H
53232 #include <ieeefp.h>
53233 #endif
53236 main ()
53238 _sqrtl(0);
53240 return 0;
53242 _ACEOF
53243 if ac_fn_cxx_try_compile "$LINENO"; then :
53244 glibcxx_cv_func__sqrtl_use=yes
53245 else
53246 glibcxx_cv_func__sqrtl_use=no
53248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53249 ac_ext=c
53250 ac_cpp='$CPP $CPPFLAGS'
53251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
53260 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
53262 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
53263 for ac_func in _sqrtl
53264 do :
53265 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
53266 if test "x$ac_cv_func__sqrtl" = xyes; then :
53267 cat >>confdefs.h <<_ACEOF
53268 #define HAVE__SQRTL 1
53269 _ACEOF
53272 done
53281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
53282 $as_echo_n "checking for sincosl declaration... " >&6; }
53283 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
53284 if ${glibcxx_cv_func_sincosl_use+:} false; then :
53285 $as_echo_n "(cached) " >&6
53286 else
53289 ac_ext=cpp
53290 ac_cpp='$CXXCPP $CPPFLAGS'
53291 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53292 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53293 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53296 /* end confdefs.h. */
53297 #include <math.h>
53299 main ()
53301 sincosl(0, 0, 0);
53303 return 0;
53305 _ACEOF
53306 if ac_fn_cxx_try_compile "$LINENO"; then :
53307 glibcxx_cv_func_sincosl_use=yes
53308 else
53309 glibcxx_cv_func_sincosl_use=no
53311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53312 ac_ext=c
53313 ac_cpp='$CPP $CPPFLAGS'
53314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
53323 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
53325 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
53326 for ac_func in sincosl
53327 do :
53328 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
53329 if test "x$ac_cv_func_sincosl" = xyes; then :
53330 cat >>confdefs.h <<_ACEOF
53331 #define HAVE_SINCOSL 1
53332 _ACEOF
53335 done
53337 else
53339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
53340 $as_echo_n "checking for _sincosl declaration... " >&6; }
53341 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
53342 if ${glibcxx_cv_func__sincosl_use+:} false; then :
53343 $as_echo_n "(cached) " >&6
53344 else
53347 ac_ext=cpp
53348 ac_cpp='$CXXCPP $CPPFLAGS'
53349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53354 /* end confdefs.h. */
53355 #include <math.h>
53357 main ()
53359 _sincosl(0, 0, 0);
53361 return 0;
53363 _ACEOF
53364 if ac_fn_cxx_try_compile "$LINENO"; then :
53365 glibcxx_cv_func__sincosl_use=yes
53366 else
53367 glibcxx_cv_func__sincosl_use=no
53369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53370 ac_ext=c
53371 ac_cpp='$CPP $CPPFLAGS'
53372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
53381 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
53383 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
53384 for ac_func in _sincosl
53385 do :
53386 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
53387 if test "x$ac_cv_func__sincosl" = xyes; then :
53388 cat >>confdefs.h <<_ACEOF
53389 #define HAVE__SINCOSL 1
53390 _ACEOF
53393 done
53402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
53403 $as_echo_n "checking for finitel declaration... " >&6; }
53404 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
53405 if ${glibcxx_cv_func_finitel_use+:} false; then :
53406 $as_echo_n "(cached) " >&6
53407 else
53410 ac_ext=cpp
53411 ac_cpp='$CXXCPP $CPPFLAGS'
53412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53417 /* end confdefs.h. */
53418 #include <math.h>
53419 #ifdef HAVE_IEEEFP_H
53420 #include <ieeefp.h>
53421 #endif
53424 main ()
53426 finitel(0);
53428 return 0;
53430 _ACEOF
53431 if ac_fn_cxx_try_compile "$LINENO"; then :
53432 glibcxx_cv_func_finitel_use=yes
53433 else
53434 glibcxx_cv_func_finitel_use=no
53436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53437 ac_ext=c
53438 ac_cpp='$CPP $CPPFLAGS'
53439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
53448 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
53450 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
53451 for ac_func in finitel
53452 do :
53453 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
53454 if test "x$ac_cv_func_finitel" = xyes; then :
53455 cat >>confdefs.h <<_ACEOF
53456 #define HAVE_FINITEL 1
53457 _ACEOF
53460 done
53462 else
53464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
53465 $as_echo_n "checking for _finitel declaration... " >&6; }
53466 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
53467 if ${glibcxx_cv_func__finitel_use+:} false; then :
53468 $as_echo_n "(cached) " >&6
53469 else
53472 ac_ext=cpp
53473 ac_cpp='$CXXCPP $CPPFLAGS'
53474 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53475 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53476 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53479 /* end confdefs.h. */
53480 #include <math.h>
53481 #ifdef HAVE_IEEEFP_H
53482 #include <ieeefp.h>
53483 #endif
53486 main ()
53488 _finitel(0);
53490 return 0;
53492 _ACEOF
53493 if ac_fn_cxx_try_compile "$LINENO"; then :
53494 glibcxx_cv_func__finitel_use=yes
53495 else
53496 glibcxx_cv_func__finitel_use=no
53498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53499 ac_ext=c
53500 ac_cpp='$CPP $CPPFLAGS'
53501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
53510 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
53512 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
53513 for ac_func in _finitel
53514 do :
53515 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
53516 if test "x$ac_cv_func__finitel" = xyes; then :
53517 cat >>confdefs.h <<_ACEOF
53518 #define HAVE__FINITEL 1
53519 _ACEOF
53522 done
53530 LIBS="$ac_save_LIBS"
53531 CXXFLAGS="$ac_save_CXXFLAGS"
53534 ac_test_CXXFLAGS="${CXXFLAGS+set}"
53535 ac_save_CXXFLAGS="$CXXFLAGS"
53536 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
53539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
53540 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
53541 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
53542 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
53543 $as_echo_n "(cached) " >&6
53544 else
53547 ac_ext=cpp
53548 ac_cpp='$CXXCPP $CPPFLAGS'
53549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53554 /* end confdefs.h. */
53555 #include <stdlib.h>
53557 main ()
53559 at_quick_exit(0);
53561 return 0;
53563 _ACEOF
53564 if ac_fn_cxx_try_compile "$LINENO"; then :
53565 glibcxx_cv_func_at_quick_exit_use=yes
53566 else
53567 glibcxx_cv_func_at_quick_exit_use=no
53569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53570 ac_ext=c
53571 ac_cpp='$CPP $CPPFLAGS'
53572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
53581 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
53582 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
53583 for ac_func in at_quick_exit
53584 do :
53585 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
53586 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
53587 cat >>confdefs.h <<_ACEOF
53588 #define HAVE_AT_QUICK_EXIT 1
53589 _ACEOF
53592 done
53597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
53598 $as_echo_n "checking for quick_exit declaration... " >&6; }
53599 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
53600 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
53601 $as_echo_n "(cached) " >&6
53602 else
53605 ac_ext=cpp
53606 ac_cpp='$CXXCPP $CPPFLAGS'
53607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53612 /* end confdefs.h. */
53613 #include <stdlib.h>
53615 main ()
53617 quick_exit(0);
53619 return 0;
53621 _ACEOF
53622 if ac_fn_cxx_try_compile "$LINENO"; then :
53623 glibcxx_cv_func_quick_exit_use=yes
53624 else
53625 glibcxx_cv_func_quick_exit_use=no
53627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53628 ac_ext=c
53629 ac_cpp='$CPP $CPPFLAGS'
53630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
53639 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
53640 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
53641 for ac_func in quick_exit
53642 do :
53643 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
53644 if test "x$ac_cv_func_quick_exit" = xyes; then :
53645 cat >>confdefs.h <<_ACEOF
53646 #define HAVE_QUICK_EXIT 1
53647 _ACEOF
53650 done
53655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
53656 $as_echo_n "checking for strtold declaration... " >&6; }
53657 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
53658 if ${glibcxx_cv_func_strtold_use+:} false; then :
53659 $as_echo_n "(cached) " >&6
53660 else
53663 ac_ext=cpp
53664 ac_cpp='$CXXCPP $CPPFLAGS'
53665 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53666 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53667 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53670 /* end confdefs.h. */
53671 #include <stdlib.h>
53673 main ()
53675 strtold(0, 0);
53677 return 0;
53679 _ACEOF
53680 if ac_fn_cxx_try_compile "$LINENO"; then :
53681 glibcxx_cv_func_strtold_use=yes
53682 else
53683 glibcxx_cv_func_strtold_use=no
53685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53686 ac_ext=c
53687 ac_cpp='$CPP $CPPFLAGS'
53688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
53697 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
53698 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
53699 for ac_func in strtold
53700 do :
53701 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
53702 if test "x$ac_cv_func_strtold" = xyes; then :
53703 cat >>confdefs.h <<_ACEOF
53704 #define HAVE_STRTOLD 1
53705 _ACEOF
53708 done
53715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
53716 $as_echo_n "checking for strtof declaration... " >&6; }
53717 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
53718 if ${glibcxx_cv_func_strtof_use+:} false; then :
53719 $as_echo_n "(cached) " >&6
53720 else
53723 ac_ext=cpp
53724 ac_cpp='$CXXCPP $CPPFLAGS'
53725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53730 /* end confdefs.h. */
53731 #include <stdlib.h>
53733 main ()
53735 strtof(0, 0);
53737 return 0;
53739 _ACEOF
53740 if ac_fn_cxx_try_compile "$LINENO"; then :
53741 glibcxx_cv_func_strtof_use=yes
53742 else
53743 glibcxx_cv_func_strtof_use=no
53745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53746 ac_ext=c
53747 ac_cpp='$CPP $CPPFLAGS'
53748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
53757 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
53758 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
53759 for ac_func in strtof
53760 do :
53761 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
53762 if test "x$ac_cv_func_strtof" = xyes; then :
53763 cat >>confdefs.h <<_ACEOF
53764 #define HAVE_STRTOF 1
53765 _ACEOF
53768 done
53775 CXXFLAGS="$ac_save_CXXFLAGS"
53777 $as_echo "#define _GLIBCXX_USE_DEV_RANDOM 1" >>confdefs.h
53779 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
53783 # Check whether --enable-tls was given.
53784 if test "${enable_tls+set}" = set; then :
53785 enableval=$enable_tls;
53786 case "$enableval" in
53787 yes|no) ;;
53788 *) as_fn_error $? "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
53789 esac
53791 else
53792 enable_tls=yes
53796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
53797 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
53798 if ${gcc_cv_have_tls+:} false; then :
53799 $as_echo_n "(cached) " >&6
53800 else
53802 if test "$cross_compiling" = yes; then :
53803 if test x$gcc_no_link = xyes; then
53804 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53807 /* end confdefs.h. */
53808 __thread int a; int b; int main() { return a = b; }
53809 _ACEOF
53810 if ac_fn_c_try_link "$LINENO"; then :
53811 chktls_save_LDFLAGS="$LDFLAGS"
53812 case $host in
53813 *-*-linux* | -*-uclinuxfdpic*)
53814 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
53816 esac
53817 chktls_save_CFLAGS="$CFLAGS"
53818 CFLAGS="-fPIC $CFLAGS"
53819 if test x$gcc_no_link = xyes; then
53820 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53823 /* end confdefs.h. */
53824 int f() { return 0; }
53825 _ACEOF
53826 if ac_fn_c_try_link "$LINENO"; then :
53827 if test x$gcc_no_link = xyes; then
53828 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53831 /* end confdefs.h. */
53832 __thread int a; int b; int f() { return a = b; }
53833 _ACEOF
53834 if ac_fn_c_try_link "$LINENO"; then :
53835 gcc_cv_have_tls=yes
53836 else
53837 gcc_cv_have_tls=no
53839 rm -f core conftest.err conftest.$ac_objext \
53840 conftest$ac_exeext conftest.$ac_ext
53841 else
53842 gcc_cv_have_tls=yes
53844 rm -f core conftest.err conftest.$ac_objext \
53845 conftest$ac_exeext conftest.$ac_ext
53846 CFLAGS="$chktls_save_CFLAGS"
53847 LDFLAGS="$chktls_save_LDFLAGS"
53848 else
53849 gcc_cv_have_tls=no
53851 rm -f core conftest.err conftest.$ac_objext \
53852 conftest$ac_exeext conftest.$ac_ext
53855 else
53856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53857 /* end confdefs.h. */
53858 __thread int a; int b; int main() { return a = b; }
53859 _ACEOF
53860 if ac_fn_c_try_run "$LINENO"; then :
53861 chktls_save_LDFLAGS="$LDFLAGS"
53862 LDFLAGS="-static $LDFLAGS"
53863 if test x$gcc_no_link = xyes; then
53864 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53867 /* end confdefs.h. */
53868 int main() { return 0; }
53869 _ACEOF
53870 if ac_fn_c_try_link "$LINENO"; then :
53871 if test "$cross_compiling" = yes; then :
53872 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
53873 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
53874 as_fn_error $? "cannot run test program while cross compiling
53875 See \`config.log' for more details" "$LINENO" 5; }
53876 else
53877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53878 /* end confdefs.h. */
53879 __thread int a; int b; int main() { return a = b; }
53880 _ACEOF
53881 if ac_fn_c_try_run "$LINENO"; then :
53882 gcc_cv_have_tls=yes
53883 else
53884 gcc_cv_have_tls=no
53886 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
53887 conftest.$ac_objext conftest.beam conftest.$ac_ext
53890 else
53891 gcc_cv_have_tls=yes
53893 rm -f core conftest.err conftest.$ac_objext \
53894 conftest$ac_exeext conftest.$ac_ext
53895 LDFLAGS="$chktls_save_LDFLAGS"
53896 if test $gcc_cv_have_tls = yes; then
53897 chktls_save_CFLAGS="$CFLAGS"
53898 thread_CFLAGS=failed
53899 for flag in '' '-pthread' '-lpthread'; do
53900 CFLAGS="$flag $chktls_save_CFLAGS"
53901 if test x$gcc_no_link = xyes; then
53902 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53905 /* end confdefs.h. */
53906 #include <pthread.h>
53907 void *g(void *d) { return NULL; }
53909 main ()
53911 pthread_t t; pthread_create(&t,NULL,g,NULL);
53913 return 0;
53915 _ACEOF
53916 if ac_fn_c_try_link "$LINENO"; then :
53917 thread_CFLAGS="$flag"
53919 rm -f core conftest.err conftest.$ac_objext \
53920 conftest$ac_exeext conftest.$ac_ext
53921 if test "X$thread_CFLAGS" != Xfailed; then
53922 break
53924 done
53925 CFLAGS="$chktls_save_CFLAGS"
53926 if test "X$thread_CFLAGS" != Xfailed; then
53927 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
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 #include <pthread.h>
53937 __thread int a;
53938 static int *volatile a_in_other_thread;
53939 static void *
53940 thread_func (void *arg)
53942 a_in_other_thread = &a;
53943 return (void *)0;
53946 main ()
53948 pthread_t thread;
53949 void *thread_retval;
53950 int *volatile a_in_main_thread;
53951 a_in_main_thread = &a;
53952 if (pthread_create (&thread, (pthread_attr_t *)0,
53953 thread_func, (void *)0))
53954 return 0;
53955 if (pthread_join (thread, &thread_retval))
53956 return 0;
53957 return (a_in_other_thread == a_in_main_thread);
53959 return 0;
53961 _ACEOF
53962 if ac_fn_c_try_run "$LINENO"; then :
53963 gcc_cv_have_tls=yes
53964 else
53965 gcc_cv_have_tls=no
53967 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
53968 conftest.$ac_objext conftest.beam conftest.$ac_ext
53971 CFLAGS="$chktls_save_CFLAGS"
53974 else
53975 gcc_cv_have_tls=no
53977 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
53978 conftest.$ac_objext conftest.beam conftest.$ac_ext
53982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
53983 $as_echo "$gcc_cv_have_tls" >&6; }
53984 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
53986 $as_echo "#define HAVE_TLS 1" >>confdefs.h
53989 for ac_func in __cxa_thread_atexit_impl
53990 do :
53991 ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit_impl" "ac_cv_func___cxa_thread_atexit_impl"
53992 if test "x$ac_cv_func___cxa_thread_atexit_impl" = xyes; then :
53993 cat >>confdefs.h <<_ACEOF
53994 #define HAVE___CXA_THREAD_ATEXIT_IMPL 1
53995 _ACEOF
53998 done
54000 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
54001 do :
54002 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54003 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54004 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
54005 cat >>confdefs.h <<_ACEOF
54006 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54007 _ACEOF
54010 done
54012 for ac_func in timespec_get
54013 do :
54014 ac_fn_c_check_func "$LINENO" "timespec_get" "ac_cv_func_timespec_get"
54015 if test "x$ac_cv_func_timespec_get" = xyes; then :
54016 cat >>confdefs.h <<_ACEOF
54017 #define HAVE_TIMESPEC_GET 1
54018 _ACEOF
54021 done
54023 for ac_func in sockatmark
54024 do :
54025 ac_fn_c_check_func "$LINENO" "sockatmark" "ac_cv_func_sockatmark"
54026 if test "x$ac_cv_func_sockatmark" = xyes; then :
54027 cat >>confdefs.h <<_ACEOF
54028 #define HAVE_SOCKATMARK 1
54029 _ACEOF
54032 done
54034 for ac_func in uselocale
54035 do :
54036 ac_fn_c_check_func "$LINENO" "uselocale" "ac_cv_func_uselocale"
54037 if test "x$ac_cv_func_uselocale" = xyes; then :
54038 cat >>confdefs.h <<_ACEOF
54039 #define HAVE_USELOCALE 1
54040 _ACEOF
54043 done
54050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
54051 $as_echo_n "checking for iconv... " >&6; }
54052 if ${am_cv_func_iconv+:} false; then :
54053 $as_echo_n "(cached) " >&6
54054 else
54056 am_cv_func_iconv="no, consider installing GNU libiconv"
54057 am_cv_lib_iconv=no
54058 am_save_CPPFLAGS="$CPPFLAGS"
54059 CPPFLAGS="$CPPFLAGS $INCICONV"
54060 if test x$gcc_no_link = xyes; then
54061 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54064 /* end confdefs.h. */
54065 #include <stdlib.h>
54066 #include <iconv.h>
54068 main ()
54070 iconv_t cd = iconv_open("","");
54071 iconv(cd,NULL,NULL,NULL,NULL);
54072 iconv_close(cd);
54074 return 0;
54076 _ACEOF
54077 if ac_fn_c_try_link "$LINENO"; then :
54078 am_cv_func_iconv=yes
54080 rm -f core conftest.err conftest.$ac_objext \
54081 conftest$ac_exeext conftest.$ac_ext
54082 CPPFLAGS="$am_save_CPPFLAGS"
54084 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
54085 for _libs in .libs _libs; do
54086 am_save_CPPFLAGS="$CPPFLAGS"
54087 am_save_LIBS="$LIBS"
54088 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
54089 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
54090 if test x$gcc_no_link = xyes; then
54091 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54094 /* end confdefs.h. */
54095 #include <stdlib.h>
54096 #include <iconv.h>
54098 main ()
54100 iconv_t cd = iconv_open("","");
54101 iconv(cd,NULL,NULL,NULL,NULL);
54102 iconv_close(cd);
54104 return 0;
54106 _ACEOF
54107 if ac_fn_c_try_link "$LINENO"; then :
54108 INCICONV="-I../libiconv/include"
54109 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
54110 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
54111 am_cv_lib_iconv=yes
54112 am_cv_func_iconv=yes
54114 rm -f core conftest.err conftest.$ac_objext \
54115 conftest$ac_exeext conftest.$ac_ext
54116 CPPFLAGS="$am_save_CPPFLAGS"
54117 LIBS="$am_save_LIBS"
54118 if test "$am_cv_func_iconv" = "yes"; then
54119 break
54121 done
54124 if test "$am_cv_func_iconv" != yes; then
54125 am_save_CPPFLAGS="$CPPFLAGS"
54126 am_save_LIBS="$LIBS"
54127 CPPFLAGS="$CPPFLAGS $INCICONV"
54128 LIBS="$LIBS $LIBICONV"
54129 if test x$gcc_no_link = xyes; then
54130 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54133 /* end confdefs.h. */
54134 #include <stdlib.h>
54135 #include <iconv.h>
54137 main ()
54139 iconv_t cd = iconv_open("","");
54140 iconv(cd,NULL,NULL,NULL,NULL);
54141 iconv_close(cd);
54143 return 0;
54145 _ACEOF
54146 if ac_fn_c_try_link "$LINENO"; then :
54147 am_cv_lib_iconv=yes
54148 am_cv_func_iconv=yes
54150 rm -f core conftest.err conftest.$ac_objext \
54151 conftest$ac_exeext conftest.$ac_ext
54152 CPPFLAGS="$am_save_CPPFLAGS"
54153 LIBS="$am_save_LIBS"
54157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
54158 $as_echo "$am_cv_func_iconv" >&6; }
54159 if test "$am_cv_func_iconv" = yes; then
54161 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
54164 if test "$am_cv_lib_iconv" = yes; then
54166 for element in $INCICONV; do
54167 haveit=
54168 for x in $CPPFLAGS; do
54170 acl_save_prefix="$prefix"
54171 prefix="$acl_final_prefix"
54172 acl_save_exec_prefix="$exec_prefix"
54173 exec_prefix="$acl_final_exec_prefix"
54174 eval x=\"$x\"
54175 exec_prefix="$acl_save_exec_prefix"
54176 prefix="$acl_save_prefix"
54178 if test "X$x" = "X$element"; then
54179 haveit=yes
54180 break
54182 done
54183 if test -z "$haveit"; then
54184 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
54186 done
54188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
54189 $as_echo_n "checking how to link with libiconv... " >&6; }
54190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
54191 $as_echo "$LIBICONV" >&6; }
54192 else
54193 LIBICONV=
54194 LTLIBICONV=
54199 if test "$am_cv_func_iconv" = yes; then
54200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
54201 $as_echo_n "checking for iconv declaration... " >&6; }
54202 if ${am_cv_proto_iconv+:} false; then :
54203 $as_echo_n "(cached) " >&6
54204 else
54206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54207 /* end confdefs.h. */
54209 #include <stdlib.h>
54210 #include <iconv.h>
54211 extern
54212 #ifdef __cplusplus
54214 #endif
54215 #if defined(__STDC__) || defined(__cplusplus)
54216 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
54217 #else
54218 size_t iconv();
54219 #endif
54222 main ()
54226 return 0;
54228 _ACEOF
54229 if ac_fn_c_try_compile "$LINENO"; then :
54230 am_cv_proto_iconv_arg1=""
54231 else
54232 am_cv_proto_iconv_arg1="const"
54234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54235 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);"
54238 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
54239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
54240 }$am_cv_proto_iconv" >&5
54241 $as_echo "${ac_t:-
54242 }$am_cv_proto_iconv" >&6; }
54244 cat >>confdefs.h <<_ACEOF
54245 #define ICONV_CONST $am_cv_proto_iconv_arg1
54246 _ACEOF
54251 *-mingw32*)
54253 # If we're not using GNU ld, then there's no point in even trying these
54254 # tests. Check for that first. We should have already tested for gld
54255 # by now (in libtool), but require it now just to be safe...
54256 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
54257 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
54261 # The name set by libtool depends on the version of libtool. Shame on us
54262 # for depending on an impl detail, but c'est la vie. Older versions used
54263 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
54264 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
54265 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
54266 # set (hence we're using an older libtool), then set it.
54267 if test x${with_gnu_ld+set} != xset; then
54268 if test x${ac_cv_prog_gnu_ld+set} != xset; then
54269 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
54270 with_gnu_ld=no
54271 else
54272 with_gnu_ld=$ac_cv_prog_gnu_ld
54276 # Start by getting the version number. I think the libtool test already
54277 # does some of this, but throws away the result.
54278 glibcxx_ld_is_gold=no
54279 if test x"$with_gnu_ld" = x"yes"; then
54280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
54281 $as_echo_n "checking for ld version... " >&6; }
54283 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
54284 glibcxx_ld_is_gold=yes
54286 ldver=`$LD --version 2>/dev/null |
54287 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
54289 glibcxx_gnu_ld_version=`echo $ldver | \
54290 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
54291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
54292 $as_echo "$glibcxx_gnu_ld_version" >&6; }
54295 # Set --gc-sections.
54296 glibcxx_have_gc_sections=no
54297 if test "$glibcxx_ld_is_gold" = "yes"; then
54298 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
54299 glibcxx_have_gc_sections=yes
54301 else
54302 glibcxx_gcsections_min_ld=21602
54303 if test x"$with_gnu_ld" = x"yes" &&
54304 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
54305 glibcxx_have_gc_sections=yes
54308 if test "$glibcxx_have_gc_sections" = "yes"; then
54309 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
54310 # NB: This flag only works reliably after 2.16.1. Configure tests
54311 # for this are difficult, so hard wire a value that should work.
54313 ac_test_CFLAGS="${CFLAGS+set}"
54314 ac_save_CFLAGS="$CFLAGS"
54315 CFLAGS='-Wl,--gc-sections'
54317 # Check for -Wl,--gc-sections
54318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
54319 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
54320 if test x$gcc_no_link = xyes; then
54321 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54324 /* end confdefs.h. */
54325 int one(void) { return 1; }
54326 int two(void) { return 2; }
54329 main ()
54331 two();
54333 return 0;
54335 _ACEOF
54336 if ac_fn_c_try_link "$LINENO"; then :
54337 ac_gcsections=yes
54338 else
54339 ac_gcsections=no
54341 rm -f core conftest.err conftest.$ac_objext \
54342 conftest$ac_exeext conftest.$ac_ext
54343 if test "$ac_gcsections" = "yes"; then
54344 rm -f conftest.c
54345 touch conftest.c
54346 if $CC -c conftest.c; then
54347 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
54348 grep "Warning: gc-sections option ignored" > /dev/null; then
54349 ac_gcsections=no
54352 rm -f conftest.c conftest.o conftest
54354 if test "$ac_gcsections" = "yes"; then
54355 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
54357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
54358 $as_echo "$ac_gcsections" >&6; }
54360 if test "$ac_test_CFLAGS" = set; then
54361 CFLAGS="$ac_save_CFLAGS"
54362 else
54363 # this is the suspicious part
54364 CFLAGS=''
54368 # Set -z,relro.
54369 # Note this is only for shared objects.
54370 ac_ld_relro=no
54371 if test x"$with_gnu_ld" = x"yes"; then
54372 # cygwin and mingw uses PE, which has no ELF relro support,
54373 # multi target ld may confuse configure machinery
54374 case "$host" in
54375 *-*-cygwin*)
54377 *-*-mingw*)
54380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
54381 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
54382 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
54383 if test -n "$cxx_z_relo"; then
54384 OPT_LDFLAGS="-Wl,-z,relro"
54385 ac_ld_relro=yes
54387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
54388 $as_echo "$ac_ld_relro" >&6; }
54389 esac
54392 # Set linker optimization flags.
54393 if test x"$with_gnu_ld" = x"yes"; then
54394 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
54401 ac_test_CXXFLAGS="${CXXFLAGS+set}"
54402 ac_save_CXXFLAGS="$CXXFLAGS"
54403 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
54405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
54406 $as_echo_n "checking for sin in -lm... " >&6; }
54407 if ${ac_cv_lib_m_sin+:} false; then :
54408 $as_echo_n "(cached) " >&6
54409 else
54410 ac_check_lib_save_LIBS=$LIBS
54411 LIBS="-lm $LIBS"
54412 if test x$gcc_no_link = xyes; then
54413 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54416 /* end confdefs.h. */
54418 /* Override any GCC internal prototype to avoid an error.
54419 Use char because int might match the return type of a GCC
54420 builtin and then its argument prototype would still apply. */
54421 #ifdef __cplusplus
54422 extern "C"
54423 #endif
54424 char sin ();
54426 main ()
54428 return sin ();
54430 return 0;
54432 _ACEOF
54433 if ac_fn_c_try_link "$LINENO"; then :
54434 ac_cv_lib_m_sin=yes
54435 else
54436 ac_cv_lib_m_sin=no
54438 rm -f core conftest.err conftest.$ac_objext \
54439 conftest$ac_exeext conftest.$ac_ext
54440 LIBS=$ac_check_lib_save_LIBS
54442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
54443 $as_echo "$ac_cv_lib_m_sin" >&6; }
54444 if test "x$ac_cv_lib_m_sin" = xyes; then :
54445 libm="-lm"
54448 ac_save_LIBS="$LIBS"
54449 LIBS="$LIBS $libm"
54453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
54454 $as_echo_n "checking for isinf declaration... " >&6; }
54455 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
54456 if ${glibcxx_cv_func_isinf_use+:} false; then :
54457 $as_echo_n "(cached) " >&6
54458 else
54461 ac_ext=cpp
54462 ac_cpp='$CXXCPP $CPPFLAGS'
54463 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54464 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54465 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54468 /* end confdefs.h. */
54469 #include <math.h>
54470 #ifdef HAVE_IEEEFP_H
54471 #include <ieeefp.h>
54472 #endif
54475 main ()
54477 isinf(0);
54479 return 0;
54481 _ACEOF
54482 if ac_fn_cxx_try_compile "$LINENO"; then :
54483 glibcxx_cv_func_isinf_use=yes
54484 else
54485 glibcxx_cv_func_isinf_use=no
54487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54488 ac_ext=c
54489 ac_cpp='$CPP $CPPFLAGS'
54490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
54499 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
54501 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
54502 for ac_func in isinf
54503 do :
54504 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
54505 if test "x$ac_cv_func_isinf" = xyes; then :
54506 cat >>confdefs.h <<_ACEOF
54507 #define HAVE_ISINF 1
54508 _ACEOF
54511 done
54513 else
54515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
54516 $as_echo_n "checking for _isinf declaration... " >&6; }
54517 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
54518 if ${glibcxx_cv_func__isinf_use+:} false; then :
54519 $as_echo_n "(cached) " >&6
54520 else
54523 ac_ext=cpp
54524 ac_cpp='$CXXCPP $CPPFLAGS'
54525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54530 /* end confdefs.h. */
54531 #include <math.h>
54532 #ifdef HAVE_IEEEFP_H
54533 #include <ieeefp.h>
54534 #endif
54537 main ()
54539 _isinf(0);
54541 return 0;
54543 _ACEOF
54544 if ac_fn_cxx_try_compile "$LINENO"; then :
54545 glibcxx_cv_func__isinf_use=yes
54546 else
54547 glibcxx_cv_func__isinf_use=no
54549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54550 ac_ext=c
54551 ac_cpp='$CPP $CPPFLAGS'
54552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
54561 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
54563 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
54564 for ac_func in _isinf
54565 do :
54566 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
54567 if test "x$ac_cv_func__isinf" = xyes; then :
54568 cat >>confdefs.h <<_ACEOF
54569 #define HAVE__ISINF 1
54570 _ACEOF
54573 done
54582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
54583 $as_echo_n "checking for isnan declaration... " >&6; }
54584 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
54585 if ${glibcxx_cv_func_isnan_use+:} false; then :
54586 $as_echo_n "(cached) " >&6
54587 else
54590 ac_ext=cpp
54591 ac_cpp='$CXXCPP $CPPFLAGS'
54592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54597 /* end confdefs.h. */
54598 #include <math.h>
54599 #ifdef HAVE_IEEEFP_H
54600 #include <ieeefp.h>
54601 #endif
54604 main ()
54606 isnan(0);
54608 return 0;
54610 _ACEOF
54611 if ac_fn_cxx_try_compile "$LINENO"; then :
54612 glibcxx_cv_func_isnan_use=yes
54613 else
54614 glibcxx_cv_func_isnan_use=no
54616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54617 ac_ext=c
54618 ac_cpp='$CPP $CPPFLAGS'
54619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
54628 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
54630 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
54631 for ac_func in isnan
54632 do :
54633 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
54634 if test "x$ac_cv_func_isnan" = xyes; then :
54635 cat >>confdefs.h <<_ACEOF
54636 #define HAVE_ISNAN 1
54637 _ACEOF
54640 done
54642 else
54644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
54645 $as_echo_n "checking for _isnan declaration... " >&6; }
54646 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
54647 if ${glibcxx_cv_func__isnan_use+:} false; then :
54648 $as_echo_n "(cached) " >&6
54649 else
54652 ac_ext=cpp
54653 ac_cpp='$CXXCPP $CPPFLAGS'
54654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54659 /* end confdefs.h. */
54660 #include <math.h>
54661 #ifdef HAVE_IEEEFP_H
54662 #include <ieeefp.h>
54663 #endif
54666 main ()
54668 _isnan(0);
54670 return 0;
54672 _ACEOF
54673 if ac_fn_cxx_try_compile "$LINENO"; then :
54674 glibcxx_cv_func__isnan_use=yes
54675 else
54676 glibcxx_cv_func__isnan_use=no
54678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54679 ac_ext=c
54680 ac_cpp='$CPP $CPPFLAGS'
54681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
54690 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
54692 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
54693 for ac_func in _isnan
54694 do :
54695 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
54696 if test "x$ac_cv_func__isnan" = xyes; then :
54697 cat >>confdefs.h <<_ACEOF
54698 #define HAVE__ISNAN 1
54699 _ACEOF
54702 done
54711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
54712 $as_echo_n "checking for finite declaration... " >&6; }
54713 if test x${glibcxx_cv_func_finite_use+set} != xset; then
54714 if ${glibcxx_cv_func_finite_use+:} false; then :
54715 $as_echo_n "(cached) " >&6
54716 else
54719 ac_ext=cpp
54720 ac_cpp='$CXXCPP $CPPFLAGS'
54721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54726 /* end confdefs.h. */
54727 #include <math.h>
54728 #ifdef HAVE_IEEEFP_H
54729 #include <ieeefp.h>
54730 #endif
54733 main ()
54735 finite(0);
54737 return 0;
54739 _ACEOF
54740 if ac_fn_cxx_try_compile "$LINENO"; then :
54741 glibcxx_cv_func_finite_use=yes
54742 else
54743 glibcxx_cv_func_finite_use=no
54745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54746 ac_ext=c
54747 ac_cpp='$CPP $CPPFLAGS'
54748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
54757 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
54759 if test x$glibcxx_cv_func_finite_use = x"yes"; then
54760 for ac_func in finite
54761 do :
54762 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
54763 if test "x$ac_cv_func_finite" = xyes; then :
54764 cat >>confdefs.h <<_ACEOF
54765 #define HAVE_FINITE 1
54766 _ACEOF
54769 done
54771 else
54773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
54774 $as_echo_n "checking for _finite declaration... " >&6; }
54775 if test x${glibcxx_cv_func__finite_use+set} != xset; then
54776 if ${glibcxx_cv_func__finite_use+:} false; then :
54777 $as_echo_n "(cached) " >&6
54778 else
54781 ac_ext=cpp
54782 ac_cpp='$CXXCPP $CPPFLAGS'
54783 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54784 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54785 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54788 /* end confdefs.h. */
54789 #include <math.h>
54790 #ifdef HAVE_IEEEFP_H
54791 #include <ieeefp.h>
54792 #endif
54795 main ()
54797 _finite(0);
54799 return 0;
54801 _ACEOF
54802 if ac_fn_cxx_try_compile "$LINENO"; then :
54803 glibcxx_cv_func__finite_use=yes
54804 else
54805 glibcxx_cv_func__finite_use=no
54807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54808 ac_ext=c
54809 ac_cpp='$CPP $CPPFLAGS'
54810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
54819 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
54821 if test x$glibcxx_cv_func__finite_use = x"yes"; then
54822 for ac_func in _finite
54823 do :
54824 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
54825 if test "x$ac_cv_func__finite" = xyes; then :
54826 cat >>confdefs.h <<_ACEOF
54827 #define HAVE__FINITE 1
54828 _ACEOF
54831 done
54840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
54841 $as_echo_n "checking for sincos declaration... " >&6; }
54842 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
54843 if ${glibcxx_cv_func_sincos_use+:} false; then :
54844 $as_echo_n "(cached) " >&6
54845 else
54848 ac_ext=cpp
54849 ac_cpp='$CXXCPP $CPPFLAGS'
54850 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54851 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54852 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54855 /* end confdefs.h. */
54856 #include <math.h>
54858 main ()
54860 sincos(0, 0, 0);
54862 return 0;
54864 _ACEOF
54865 if ac_fn_cxx_try_compile "$LINENO"; then :
54866 glibcxx_cv_func_sincos_use=yes
54867 else
54868 glibcxx_cv_func_sincos_use=no
54870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54871 ac_ext=c
54872 ac_cpp='$CPP $CPPFLAGS'
54873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
54882 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
54884 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
54885 for ac_func in sincos
54886 do :
54887 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
54888 if test "x$ac_cv_func_sincos" = xyes; then :
54889 cat >>confdefs.h <<_ACEOF
54890 #define HAVE_SINCOS 1
54891 _ACEOF
54894 done
54896 else
54898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
54899 $as_echo_n "checking for _sincos declaration... " >&6; }
54900 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
54901 if ${glibcxx_cv_func__sincos_use+:} false; then :
54902 $as_echo_n "(cached) " >&6
54903 else
54906 ac_ext=cpp
54907 ac_cpp='$CXXCPP $CPPFLAGS'
54908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54913 /* end confdefs.h. */
54914 #include <math.h>
54916 main ()
54918 _sincos(0, 0, 0);
54920 return 0;
54922 _ACEOF
54923 if ac_fn_cxx_try_compile "$LINENO"; then :
54924 glibcxx_cv_func__sincos_use=yes
54925 else
54926 glibcxx_cv_func__sincos_use=no
54928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54929 ac_ext=c
54930 ac_cpp='$CPP $CPPFLAGS'
54931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
54940 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
54942 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
54943 for ac_func in _sincos
54944 do :
54945 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
54946 if test "x$ac_cv_func__sincos" = xyes; then :
54947 cat >>confdefs.h <<_ACEOF
54948 #define HAVE__SINCOS 1
54949 _ACEOF
54952 done
54961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
54962 $as_echo_n "checking for fpclass declaration... " >&6; }
54963 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
54964 if ${glibcxx_cv_func_fpclass_use+:} false; then :
54965 $as_echo_n "(cached) " >&6
54966 else
54969 ac_ext=cpp
54970 ac_cpp='$CXXCPP $CPPFLAGS'
54971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54976 /* end confdefs.h. */
54977 #include <math.h>
54978 #ifdef HAVE_IEEEFP_H
54979 #include <ieeefp.h>
54980 #endif
54983 main ()
54985 fpclass(0);
54987 return 0;
54989 _ACEOF
54990 if ac_fn_cxx_try_compile "$LINENO"; then :
54991 glibcxx_cv_func_fpclass_use=yes
54992 else
54993 glibcxx_cv_func_fpclass_use=no
54995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54996 ac_ext=c
54997 ac_cpp='$CPP $CPPFLAGS'
54998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
55007 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
55009 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
55010 for ac_func in fpclass
55011 do :
55012 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
55013 if test "x$ac_cv_func_fpclass" = xyes; then :
55014 cat >>confdefs.h <<_ACEOF
55015 #define HAVE_FPCLASS 1
55016 _ACEOF
55019 done
55021 else
55023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
55024 $as_echo_n "checking for _fpclass declaration... " >&6; }
55025 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
55026 if ${glibcxx_cv_func__fpclass_use+:} false; then :
55027 $as_echo_n "(cached) " >&6
55028 else
55031 ac_ext=cpp
55032 ac_cpp='$CXXCPP $CPPFLAGS'
55033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55038 /* end confdefs.h. */
55039 #include <math.h>
55040 #ifdef HAVE_IEEEFP_H
55041 #include <ieeefp.h>
55042 #endif
55045 main ()
55047 _fpclass(0);
55049 return 0;
55051 _ACEOF
55052 if ac_fn_cxx_try_compile "$LINENO"; then :
55053 glibcxx_cv_func__fpclass_use=yes
55054 else
55055 glibcxx_cv_func__fpclass_use=no
55057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55058 ac_ext=c
55059 ac_cpp='$CPP $CPPFLAGS'
55060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
55069 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
55071 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
55072 for ac_func in _fpclass
55073 do :
55074 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
55075 if test "x$ac_cv_func__fpclass" = xyes; then :
55076 cat >>confdefs.h <<_ACEOF
55077 #define HAVE__FPCLASS 1
55078 _ACEOF
55081 done
55090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
55091 $as_echo_n "checking for qfpclass declaration... " >&6; }
55092 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
55093 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
55094 $as_echo_n "(cached) " >&6
55095 else
55098 ac_ext=cpp
55099 ac_cpp='$CXXCPP $CPPFLAGS'
55100 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55101 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55102 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55105 /* end confdefs.h. */
55106 #include <math.h>
55107 #ifdef HAVE_IEEEFP_H
55108 #include <ieeefp.h>
55109 #endif
55112 main ()
55114 qfpclass(0);
55116 return 0;
55118 _ACEOF
55119 if ac_fn_cxx_try_compile "$LINENO"; then :
55120 glibcxx_cv_func_qfpclass_use=yes
55121 else
55122 glibcxx_cv_func_qfpclass_use=no
55124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55125 ac_ext=c
55126 ac_cpp='$CPP $CPPFLAGS'
55127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
55136 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
55138 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
55139 for ac_func in qfpclass
55140 do :
55141 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
55142 if test "x$ac_cv_func_qfpclass" = xyes; then :
55143 cat >>confdefs.h <<_ACEOF
55144 #define HAVE_QFPCLASS 1
55145 _ACEOF
55148 done
55150 else
55152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
55153 $as_echo_n "checking for _qfpclass declaration... " >&6; }
55154 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
55155 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
55156 $as_echo_n "(cached) " >&6
55157 else
55160 ac_ext=cpp
55161 ac_cpp='$CXXCPP $CPPFLAGS'
55162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55167 /* end confdefs.h. */
55168 #include <math.h>
55169 #ifdef HAVE_IEEEFP_H
55170 #include <ieeefp.h>
55171 #endif
55174 main ()
55176 _qfpclass(0);
55178 return 0;
55180 _ACEOF
55181 if ac_fn_cxx_try_compile "$LINENO"; then :
55182 glibcxx_cv_func__qfpclass_use=yes
55183 else
55184 glibcxx_cv_func__qfpclass_use=no
55186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55187 ac_ext=c
55188 ac_cpp='$CPP $CPPFLAGS'
55189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
55198 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
55200 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
55201 for ac_func in _qfpclass
55202 do :
55203 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
55204 if test "x$ac_cv_func__qfpclass" = xyes; then :
55205 cat >>confdefs.h <<_ACEOF
55206 #define HAVE__QFPCLASS 1
55207 _ACEOF
55210 done
55219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
55220 $as_echo_n "checking for hypot declaration... " >&6; }
55221 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
55222 if ${glibcxx_cv_func_hypot_use+:} false; then :
55223 $as_echo_n "(cached) " >&6
55224 else
55227 ac_ext=cpp
55228 ac_cpp='$CXXCPP $CPPFLAGS'
55229 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55230 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55231 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55234 /* end confdefs.h. */
55235 #include <math.h>
55237 main ()
55239 hypot(0, 0);
55241 return 0;
55243 _ACEOF
55244 if ac_fn_cxx_try_compile "$LINENO"; then :
55245 glibcxx_cv_func_hypot_use=yes
55246 else
55247 glibcxx_cv_func_hypot_use=no
55249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55250 ac_ext=c
55251 ac_cpp='$CPP $CPPFLAGS'
55252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
55261 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
55263 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
55264 for ac_func in hypot
55265 do :
55266 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
55267 if test "x$ac_cv_func_hypot" = xyes; then :
55268 cat >>confdefs.h <<_ACEOF
55269 #define HAVE_HYPOT 1
55270 _ACEOF
55273 done
55275 else
55277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
55278 $as_echo_n "checking for _hypot declaration... " >&6; }
55279 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
55280 if ${glibcxx_cv_func__hypot_use+:} false; then :
55281 $as_echo_n "(cached) " >&6
55282 else
55285 ac_ext=cpp
55286 ac_cpp='$CXXCPP $CPPFLAGS'
55287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55292 /* end confdefs.h. */
55293 #include <math.h>
55295 main ()
55297 _hypot(0, 0);
55299 return 0;
55301 _ACEOF
55302 if ac_fn_cxx_try_compile "$LINENO"; then :
55303 glibcxx_cv_func__hypot_use=yes
55304 else
55305 glibcxx_cv_func__hypot_use=no
55307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55308 ac_ext=c
55309 ac_cpp='$CPP $CPPFLAGS'
55310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
55319 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
55321 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
55322 for ac_func in _hypot
55323 do :
55324 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
55325 if test "x$ac_cv_func__hypot" = xyes; then :
55326 cat >>confdefs.h <<_ACEOF
55327 #define HAVE__HYPOT 1
55328 _ACEOF
55331 done
55340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
55341 $as_echo_n "checking for float trig functions... " >&6; }
55342 if ${glibcxx_cv_func_float_trig_use+:} false; then :
55343 $as_echo_n "(cached) " >&6
55344 else
55347 ac_ext=cpp
55348 ac_cpp='$CXXCPP $CPPFLAGS'
55349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55354 /* end confdefs.h. */
55355 #include <math.h>
55357 main ()
55359 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
55361 return 0;
55363 _ACEOF
55364 if ac_fn_cxx_try_compile "$LINENO"; then :
55365 glibcxx_cv_func_float_trig_use=yes
55366 else
55367 glibcxx_cv_func_float_trig_use=no
55369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55370 ac_ext=c
55371 ac_cpp='$CPP $CPPFLAGS'
55372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
55379 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
55380 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
55381 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
55382 do :
55383 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55384 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55385 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
55386 cat >>confdefs.h <<_ACEOF
55387 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55388 _ACEOF
55391 done
55393 else
55394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
55395 $as_echo_n "checking for _float trig functions... " >&6; }
55396 if ${glibcxx_cv_func__float_trig_use+:} false; then :
55397 $as_echo_n "(cached) " >&6
55398 else
55401 ac_ext=cpp
55402 ac_cpp='$CXXCPP $CPPFLAGS'
55403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55404 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55408 /* end confdefs.h. */
55409 #include <math.h>
55411 main ()
55413 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
55415 return 0;
55417 _ACEOF
55418 if ac_fn_cxx_try_compile "$LINENO"; then :
55419 glibcxx_cv_func__float_trig_use=yes
55420 else
55421 glibcxx_cv_func__float_trig_use=no
55423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55424 ac_ext=c
55425 ac_cpp='$CPP $CPPFLAGS'
55426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
55433 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
55434 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
55435 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
55436 do :
55437 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55438 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55439 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
55440 cat >>confdefs.h <<_ACEOF
55441 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55442 _ACEOF
55445 done
55454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
55455 $as_echo_n "checking for float round functions... " >&6; }
55456 if ${glibcxx_cv_func_float_round_use+:} false; then :
55457 $as_echo_n "(cached) " >&6
55458 else
55461 ac_ext=cpp
55462 ac_cpp='$CXXCPP $CPPFLAGS'
55463 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55464 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55465 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55468 /* end confdefs.h. */
55469 #include <math.h>
55471 main ()
55473 ceilf (0); floorf (0);
55475 return 0;
55477 _ACEOF
55478 if ac_fn_cxx_try_compile "$LINENO"; then :
55479 glibcxx_cv_func_float_round_use=yes
55480 else
55481 glibcxx_cv_func_float_round_use=no
55483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55484 ac_ext=c
55485 ac_cpp='$CPP $CPPFLAGS'
55486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
55493 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
55494 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
55495 for ac_func in ceilf floorf
55496 do :
55497 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55498 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55499 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
55500 cat >>confdefs.h <<_ACEOF
55501 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55502 _ACEOF
55505 done
55507 else
55508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
55509 $as_echo_n "checking for _float round functions... " >&6; }
55510 if ${glibcxx_cv_func__float_round_use+:} false; then :
55511 $as_echo_n "(cached) " >&6
55512 else
55515 ac_ext=cpp
55516 ac_cpp='$CXXCPP $CPPFLAGS'
55517 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55518 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55519 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55522 /* end confdefs.h. */
55523 #include <math.h>
55525 main ()
55527 _ceilf (0); _floorf (0);
55529 return 0;
55531 _ACEOF
55532 if ac_fn_cxx_try_compile "$LINENO"; then :
55533 glibcxx_cv_func__float_round_use=yes
55534 else
55535 glibcxx_cv_func__float_round_use=no
55537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55538 ac_ext=c
55539 ac_cpp='$CPP $CPPFLAGS'
55540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
55547 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
55548 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
55549 for ac_func in _ceilf _floorf
55550 do :
55551 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55552 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55553 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
55554 cat >>confdefs.h <<_ACEOF
55555 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55556 _ACEOF
55559 done
55569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
55570 $as_echo_n "checking for expf declaration... " >&6; }
55571 if test x${glibcxx_cv_func_expf_use+set} != xset; then
55572 if ${glibcxx_cv_func_expf_use+:} false; then :
55573 $as_echo_n "(cached) " >&6
55574 else
55577 ac_ext=cpp
55578 ac_cpp='$CXXCPP $CPPFLAGS'
55579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55584 /* end confdefs.h. */
55585 #include <math.h>
55586 #ifdef HAVE_IEEEFP_H
55587 #include <ieeefp.h>
55588 #endif
55591 main ()
55593 expf(0);
55595 return 0;
55597 _ACEOF
55598 if ac_fn_cxx_try_compile "$LINENO"; then :
55599 glibcxx_cv_func_expf_use=yes
55600 else
55601 glibcxx_cv_func_expf_use=no
55603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55604 ac_ext=c
55605 ac_cpp='$CPP $CPPFLAGS'
55606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
55615 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
55617 if test x$glibcxx_cv_func_expf_use = x"yes"; then
55618 for ac_func in expf
55619 do :
55620 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
55621 if test "x$ac_cv_func_expf" = xyes; then :
55622 cat >>confdefs.h <<_ACEOF
55623 #define HAVE_EXPF 1
55624 _ACEOF
55627 done
55629 else
55631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
55632 $as_echo_n "checking for _expf declaration... " >&6; }
55633 if test x${glibcxx_cv_func__expf_use+set} != xset; then
55634 if ${glibcxx_cv_func__expf_use+:} false; then :
55635 $as_echo_n "(cached) " >&6
55636 else
55639 ac_ext=cpp
55640 ac_cpp='$CXXCPP $CPPFLAGS'
55641 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55642 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55643 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55646 /* end confdefs.h. */
55647 #include <math.h>
55648 #ifdef HAVE_IEEEFP_H
55649 #include <ieeefp.h>
55650 #endif
55653 main ()
55655 _expf(0);
55657 return 0;
55659 _ACEOF
55660 if ac_fn_cxx_try_compile "$LINENO"; then :
55661 glibcxx_cv_func__expf_use=yes
55662 else
55663 glibcxx_cv_func__expf_use=no
55665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55666 ac_ext=c
55667 ac_cpp='$CPP $CPPFLAGS'
55668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
55677 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
55679 if test x$glibcxx_cv_func__expf_use = x"yes"; then
55680 for ac_func in _expf
55681 do :
55682 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
55683 if test "x$ac_cv_func__expf" = xyes; then :
55684 cat >>confdefs.h <<_ACEOF
55685 #define HAVE__EXPF 1
55686 _ACEOF
55689 done
55698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
55699 $as_echo_n "checking for isnanf declaration... " >&6; }
55700 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
55701 if ${glibcxx_cv_func_isnanf_use+:} false; then :
55702 $as_echo_n "(cached) " >&6
55703 else
55706 ac_ext=cpp
55707 ac_cpp='$CXXCPP $CPPFLAGS'
55708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55713 /* end confdefs.h. */
55714 #include <math.h>
55715 #ifdef HAVE_IEEEFP_H
55716 #include <ieeefp.h>
55717 #endif
55720 main ()
55722 isnanf(0);
55724 return 0;
55726 _ACEOF
55727 if ac_fn_cxx_try_compile "$LINENO"; then :
55728 glibcxx_cv_func_isnanf_use=yes
55729 else
55730 glibcxx_cv_func_isnanf_use=no
55732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55733 ac_ext=c
55734 ac_cpp='$CPP $CPPFLAGS'
55735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
55744 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
55746 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
55747 for ac_func in isnanf
55748 do :
55749 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
55750 if test "x$ac_cv_func_isnanf" = xyes; then :
55751 cat >>confdefs.h <<_ACEOF
55752 #define HAVE_ISNANF 1
55753 _ACEOF
55756 done
55758 else
55760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
55761 $as_echo_n "checking for _isnanf declaration... " >&6; }
55762 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
55763 if ${glibcxx_cv_func__isnanf_use+:} false; then :
55764 $as_echo_n "(cached) " >&6
55765 else
55768 ac_ext=cpp
55769 ac_cpp='$CXXCPP $CPPFLAGS'
55770 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55771 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55772 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55775 /* end confdefs.h. */
55776 #include <math.h>
55777 #ifdef HAVE_IEEEFP_H
55778 #include <ieeefp.h>
55779 #endif
55782 main ()
55784 _isnanf(0);
55786 return 0;
55788 _ACEOF
55789 if ac_fn_cxx_try_compile "$LINENO"; then :
55790 glibcxx_cv_func__isnanf_use=yes
55791 else
55792 glibcxx_cv_func__isnanf_use=no
55794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55795 ac_ext=c
55796 ac_cpp='$CPP $CPPFLAGS'
55797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
55806 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
55808 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
55809 for ac_func in _isnanf
55810 do :
55811 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
55812 if test "x$ac_cv_func__isnanf" = xyes; then :
55813 cat >>confdefs.h <<_ACEOF
55814 #define HAVE__ISNANF 1
55815 _ACEOF
55818 done
55827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
55828 $as_echo_n "checking for isinff declaration... " >&6; }
55829 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
55830 if ${glibcxx_cv_func_isinff_use+:} false; then :
55831 $as_echo_n "(cached) " >&6
55832 else
55835 ac_ext=cpp
55836 ac_cpp='$CXXCPP $CPPFLAGS'
55837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55842 /* end confdefs.h. */
55843 #include <math.h>
55844 #ifdef HAVE_IEEEFP_H
55845 #include <ieeefp.h>
55846 #endif
55849 main ()
55851 isinff(0);
55853 return 0;
55855 _ACEOF
55856 if ac_fn_cxx_try_compile "$LINENO"; then :
55857 glibcxx_cv_func_isinff_use=yes
55858 else
55859 glibcxx_cv_func_isinff_use=no
55861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55862 ac_ext=c
55863 ac_cpp='$CPP $CPPFLAGS'
55864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
55873 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
55875 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
55876 for ac_func in isinff
55877 do :
55878 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
55879 if test "x$ac_cv_func_isinff" = xyes; then :
55880 cat >>confdefs.h <<_ACEOF
55881 #define HAVE_ISINFF 1
55882 _ACEOF
55885 done
55887 else
55889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
55890 $as_echo_n "checking for _isinff declaration... " >&6; }
55891 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
55892 if ${glibcxx_cv_func__isinff_use+:} false; then :
55893 $as_echo_n "(cached) " >&6
55894 else
55897 ac_ext=cpp
55898 ac_cpp='$CXXCPP $CPPFLAGS'
55899 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55900 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55901 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55904 /* end confdefs.h. */
55905 #include <math.h>
55906 #ifdef HAVE_IEEEFP_H
55907 #include <ieeefp.h>
55908 #endif
55911 main ()
55913 _isinff(0);
55915 return 0;
55917 _ACEOF
55918 if ac_fn_cxx_try_compile "$LINENO"; then :
55919 glibcxx_cv_func__isinff_use=yes
55920 else
55921 glibcxx_cv_func__isinff_use=no
55923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55924 ac_ext=c
55925 ac_cpp='$CPP $CPPFLAGS'
55926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
55935 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
55937 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
55938 for ac_func in _isinff
55939 do :
55940 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
55941 if test "x$ac_cv_func__isinff" = xyes; then :
55942 cat >>confdefs.h <<_ACEOF
55943 #define HAVE__ISINFF 1
55944 _ACEOF
55947 done
55956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
55957 $as_echo_n "checking for atan2f declaration... " >&6; }
55958 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
55959 if ${glibcxx_cv_func_atan2f_use+:} false; then :
55960 $as_echo_n "(cached) " >&6
55961 else
55964 ac_ext=cpp
55965 ac_cpp='$CXXCPP $CPPFLAGS'
55966 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55967 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55968 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55971 /* end confdefs.h. */
55972 #include <math.h>
55974 main ()
55976 atan2f(0, 0);
55978 return 0;
55980 _ACEOF
55981 if ac_fn_cxx_try_compile "$LINENO"; then :
55982 glibcxx_cv_func_atan2f_use=yes
55983 else
55984 glibcxx_cv_func_atan2f_use=no
55986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55987 ac_ext=c
55988 ac_cpp='$CPP $CPPFLAGS'
55989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
55998 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
56000 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
56001 for ac_func in atan2f
56002 do :
56003 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
56004 if test "x$ac_cv_func_atan2f" = xyes; then :
56005 cat >>confdefs.h <<_ACEOF
56006 #define HAVE_ATAN2F 1
56007 _ACEOF
56010 done
56012 else
56014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
56015 $as_echo_n "checking for _atan2f declaration... " >&6; }
56016 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
56017 if ${glibcxx_cv_func__atan2f_use+:} false; then :
56018 $as_echo_n "(cached) " >&6
56019 else
56022 ac_ext=cpp
56023 ac_cpp='$CXXCPP $CPPFLAGS'
56024 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56025 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56026 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56029 /* end confdefs.h. */
56030 #include <math.h>
56032 main ()
56034 _atan2f(0, 0);
56036 return 0;
56038 _ACEOF
56039 if ac_fn_cxx_try_compile "$LINENO"; then :
56040 glibcxx_cv_func__atan2f_use=yes
56041 else
56042 glibcxx_cv_func__atan2f_use=no
56044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56045 ac_ext=c
56046 ac_cpp='$CPP $CPPFLAGS'
56047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
56056 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
56058 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
56059 for ac_func in _atan2f
56060 do :
56061 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
56062 if test "x$ac_cv_func__atan2f" = xyes; then :
56063 cat >>confdefs.h <<_ACEOF
56064 #define HAVE__ATAN2F 1
56065 _ACEOF
56068 done
56077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
56078 $as_echo_n "checking for fabsf declaration... " >&6; }
56079 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
56080 if ${glibcxx_cv_func_fabsf_use+:} false; then :
56081 $as_echo_n "(cached) " >&6
56082 else
56085 ac_ext=cpp
56086 ac_cpp='$CXXCPP $CPPFLAGS'
56087 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56088 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56089 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56092 /* end confdefs.h. */
56093 #include <math.h>
56094 #ifdef HAVE_IEEEFP_H
56095 #include <ieeefp.h>
56096 #endif
56099 main ()
56101 fabsf(0);
56103 return 0;
56105 _ACEOF
56106 if ac_fn_cxx_try_compile "$LINENO"; then :
56107 glibcxx_cv_func_fabsf_use=yes
56108 else
56109 glibcxx_cv_func_fabsf_use=no
56111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56112 ac_ext=c
56113 ac_cpp='$CPP $CPPFLAGS'
56114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
56123 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
56125 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
56126 for ac_func in fabsf
56127 do :
56128 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
56129 if test "x$ac_cv_func_fabsf" = xyes; then :
56130 cat >>confdefs.h <<_ACEOF
56131 #define HAVE_FABSF 1
56132 _ACEOF
56135 done
56137 else
56139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
56140 $as_echo_n "checking for _fabsf declaration... " >&6; }
56141 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
56142 if ${glibcxx_cv_func__fabsf_use+:} false; then :
56143 $as_echo_n "(cached) " >&6
56144 else
56147 ac_ext=cpp
56148 ac_cpp='$CXXCPP $CPPFLAGS'
56149 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56150 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56151 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56154 /* end confdefs.h. */
56155 #include <math.h>
56156 #ifdef HAVE_IEEEFP_H
56157 #include <ieeefp.h>
56158 #endif
56161 main ()
56163 _fabsf(0);
56165 return 0;
56167 _ACEOF
56168 if ac_fn_cxx_try_compile "$LINENO"; then :
56169 glibcxx_cv_func__fabsf_use=yes
56170 else
56171 glibcxx_cv_func__fabsf_use=no
56173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56174 ac_ext=c
56175 ac_cpp='$CPP $CPPFLAGS'
56176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
56185 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
56187 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
56188 for ac_func in _fabsf
56189 do :
56190 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
56191 if test "x$ac_cv_func__fabsf" = xyes; then :
56192 cat >>confdefs.h <<_ACEOF
56193 #define HAVE__FABSF 1
56194 _ACEOF
56197 done
56206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
56207 $as_echo_n "checking for fmodf declaration... " >&6; }
56208 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
56209 if ${glibcxx_cv_func_fmodf_use+:} false; then :
56210 $as_echo_n "(cached) " >&6
56211 else
56214 ac_ext=cpp
56215 ac_cpp='$CXXCPP $CPPFLAGS'
56216 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56217 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56218 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56221 /* end confdefs.h. */
56222 #include <math.h>
56224 main ()
56226 fmodf(0, 0);
56228 return 0;
56230 _ACEOF
56231 if ac_fn_cxx_try_compile "$LINENO"; then :
56232 glibcxx_cv_func_fmodf_use=yes
56233 else
56234 glibcxx_cv_func_fmodf_use=no
56236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56237 ac_ext=c
56238 ac_cpp='$CPP $CPPFLAGS'
56239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
56248 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
56250 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
56251 for ac_func in fmodf
56252 do :
56253 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
56254 if test "x$ac_cv_func_fmodf" = xyes; then :
56255 cat >>confdefs.h <<_ACEOF
56256 #define HAVE_FMODF 1
56257 _ACEOF
56260 done
56262 else
56264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
56265 $as_echo_n "checking for _fmodf declaration... " >&6; }
56266 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
56267 if ${glibcxx_cv_func__fmodf_use+:} false; then :
56268 $as_echo_n "(cached) " >&6
56269 else
56272 ac_ext=cpp
56273 ac_cpp='$CXXCPP $CPPFLAGS'
56274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56279 /* end confdefs.h. */
56280 #include <math.h>
56282 main ()
56284 _fmodf(0, 0);
56286 return 0;
56288 _ACEOF
56289 if ac_fn_cxx_try_compile "$LINENO"; then :
56290 glibcxx_cv_func__fmodf_use=yes
56291 else
56292 glibcxx_cv_func__fmodf_use=no
56294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56295 ac_ext=c
56296 ac_cpp='$CPP $CPPFLAGS'
56297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
56306 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
56308 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
56309 for ac_func in _fmodf
56310 do :
56311 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
56312 if test "x$ac_cv_func__fmodf" = xyes; then :
56313 cat >>confdefs.h <<_ACEOF
56314 #define HAVE__FMODF 1
56315 _ACEOF
56318 done
56327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
56328 $as_echo_n "checking for frexpf declaration... " >&6; }
56329 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
56330 if ${glibcxx_cv_func_frexpf_use+:} false; then :
56331 $as_echo_n "(cached) " >&6
56332 else
56335 ac_ext=cpp
56336 ac_cpp='$CXXCPP $CPPFLAGS'
56337 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56338 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56339 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56342 /* end confdefs.h. */
56343 #include <math.h>
56345 main ()
56347 frexpf(0, 0);
56349 return 0;
56351 _ACEOF
56352 if ac_fn_cxx_try_compile "$LINENO"; then :
56353 glibcxx_cv_func_frexpf_use=yes
56354 else
56355 glibcxx_cv_func_frexpf_use=no
56357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56358 ac_ext=c
56359 ac_cpp='$CPP $CPPFLAGS'
56360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
56369 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
56371 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
56372 for ac_func in frexpf
56373 do :
56374 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
56375 if test "x$ac_cv_func_frexpf" = xyes; then :
56376 cat >>confdefs.h <<_ACEOF
56377 #define HAVE_FREXPF 1
56378 _ACEOF
56381 done
56383 else
56385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
56386 $as_echo_n "checking for _frexpf declaration... " >&6; }
56387 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
56388 if ${glibcxx_cv_func__frexpf_use+:} false; then :
56389 $as_echo_n "(cached) " >&6
56390 else
56393 ac_ext=cpp
56394 ac_cpp='$CXXCPP $CPPFLAGS'
56395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56400 /* end confdefs.h. */
56401 #include <math.h>
56403 main ()
56405 _frexpf(0, 0);
56407 return 0;
56409 _ACEOF
56410 if ac_fn_cxx_try_compile "$LINENO"; then :
56411 glibcxx_cv_func__frexpf_use=yes
56412 else
56413 glibcxx_cv_func__frexpf_use=no
56415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56416 ac_ext=c
56417 ac_cpp='$CPP $CPPFLAGS'
56418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
56427 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
56429 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
56430 for ac_func in _frexpf
56431 do :
56432 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
56433 if test "x$ac_cv_func__frexpf" = xyes; then :
56434 cat >>confdefs.h <<_ACEOF
56435 #define HAVE__FREXPF 1
56436 _ACEOF
56439 done
56448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
56449 $as_echo_n "checking for hypotf declaration... " >&6; }
56450 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
56451 if ${glibcxx_cv_func_hypotf_use+:} false; then :
56452 $as_echo_n "(cached) " >&6
56453 else
56456 ac_ext=cpp
56457 ac_cpp='$CXXCPP $CPPFLAGS'
56458 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56459 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56460 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56463 /* end confdefs.h. */
56464 #include <math.h>
56466 main ()
56468 hypotf(0, 0);
56470 return 0;
56472 _ACEOF
56473 if ac_fn_cxx_try_compile "$LINENO"; then :
56474 glibcxx_cv_func_hypotf_use=yes
56475 else
56476 glibcxx_cv_func_hypotf_use=no
56478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56479 ac_ext=c
56480 ac_cpp='$CPP $CPPFLAGS'
56481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
56490 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
56492 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
56493 for ac_func in hypotf
56494 do :
56495 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
56496 if test "x$ac_cv_func_hypotf" = xyes; then :
56497 cat >>confdefs.h <<_ACEOF
56498 #define HAVE_HYPOTF 1
56499 _ACEOF
56502 done
56504 else
56506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
56507 $as_echo_n "checking for _hypotf declaration... " >&6; }
56508 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
56509 if ${glibcxx_cv_func__hypotf_use+:} false; then :
56510 $as_echo_n "(cached) " >&6
56511 else
56514 ac_ext=cpp
56515 ac_cpp='$CXXCPP $CPPFLAGS'
56516 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56517 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56518 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56521 /* end confdefs.h. */
56522 #include <math.h>
56524 main ()
56526 _hypotf(0, 0);
56528 return 0;
56530 _ACEOF
56531 if ac_fn_cxx_try_compile "$LINENO"; then :
56532 glibcxx_cv_func__hypotf_use=yes
56533 else
56534 glibcxx_cv_func__hypotf_use=no
56536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56537 ac_ext=c
56538 ac_cpp='$CPP $CPPFLAGS'
56539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
56548 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
56550 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
56551 for ac_func in _hypotf
56552 do :
56553 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
56554 if test "x$ac_cv_func__hypotf" = xyes; then :
56555 cat >>confdefs.h <<_ACEOF
56556 #define HAVE__HYPOTF 1
56557 _ACEOF
56560 done
56569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
56570 $as_echo_n "checking for ldexpf declaration... " >&6; }
56571 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
56572 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
56573 $as_echo_n "(cached) " >&6
56574 else
56577 ac_ext=cpp
56578 ac_cpp='$CXXCPP $CPPFLAGS'
56579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56584 /* end confdefs.h. */
56585 #include <math.h>
56587 main ()
56589 ldexpf(0, 0);
56591 return 0;
56593 _ACEOF
56594 if ac_fn_cxx_try_compile "$LINENO"; then :
56595 glibcxx_cv_func_ldexpf_use=yes
56596 else
56597 glibcxx_cv_func_ldexpf_use=no
56599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56600 ac_ext=c
56601 ac_cpp='$CPP $CPPFLAGS'
56602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
56611 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
56613 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
56614 for ac_func in ldexpf
56615 do :
56616 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
56617 if test "x$ac_cv_func_ldexpf" = xyes; then :
56618 cat >>confdefs.h <<_ACEOF
56619 #define HAVE_LDEXPF 1
56620 _ACEOF
56623 done
56625 else
56627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
56628 $as_echo_n "checking for _ldexpf declaration... " >&6; }
56629 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
56630 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
56631 $as_echo_n "(cached) " >&6
56632 else
56635 ac_ext=cpp
56636 ac_cpp='$CXXCPP $CPPFLAGS'
56637 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56638 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56639 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56642 /* end confdefs.h. */
56643 #include <math.h>
56645 main ()
56647 _ldexpf(0, 0);
56649 return 0;
56651 _ACEOF
56652 if ac_fn_cxx_try_compile "$LINENO"; then :
56653 glibcxx_cv_func__ldexpf_use=yes
56654 else
56655 glibcxx_cv_func__ldexpf_use=no
56657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56658 ac_ext=c
56659 ac_cpp='$CPP $CPPFLAGS'
56660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
56669 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
56671 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
56672 for ac_func in _ldexpf
56673 do :
56674 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
56675 if test "x$ac_cv_func__ldexpf" = xyes; then :
56676 cat >>confdefs.h <<_ACEOF
56677 #define HAVE__LDEXPF 1
56678 _ACEOF
56681 done
56690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
56691 $as_echo_n "checking for logf declaration... " >&6; }
56692 if test x${glibcxx_cv_func_logf_use+set} != xset; then
56693 if ${glibcxx_cv_func_logf_use+:} false; then :
56694 $as_echo_n "(cached) " >&6
56695 else
56698 ac_ext=cpp
56699 ac_cpp='$CXXCPP $CPPFLAGS'
56700 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56701 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56702 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56705 /* end confdefs.h. */
56706 #include <math.h>
56707 #ifdef HAVE_IEEEFP_H
56708 #include <ieeefp.h>
56709 #endif
56712 main ()
56714 logf(0);
56716 return 0;
56718 _ACEOF
56719 if ac_fn_cxx_try_compile "$LINENO"; then :
56720 glibcxx_cv_func_logf_use=yes
56721 else
56722 glibcxx_cv_func_logf_use=no
56724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56725 ac_ext=c
56726 ac_cpp='$CPP $CPPFLAGS'
56727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
56736 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
56738 if test x$glibcxx_cv_func_logf_use = x"yes"; then
56739 for ac_func in logf
56740 do :
56741 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
56742 if test "x$ac_cv_func_logf" = xyes; then :
56743 cat >>confdefs.h <<_ACEOF
56744 #define HAVE_LOGF 1
56745 _ACEOF
56748 done
56750 else
56752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
56753 $as_echo_n "checking for _logf declaration... " >&6; }
56754 if test x${glibcxx_cv_func__logf_use+set} != xset; then
56755 if ${glibcxx_cv_func__logf_use+:} false; then :
56756 $as_echo_n "(cached) " >&6
56757 else
56760 ac_ext=cpp
56761 ac_cpp='$CXXCPP $CPPFLAGS'
56762 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56763 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56764 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56767 /* end confdefs.h. */
56768 #include <math.h>
56769 #ifdef HAVE_IEEEFP_H
56770 #include <ieeefp.h>
56771 #endif
56774 main ()
56776 _logf(0);
56778 return 0;
56780 _ACEOF
56781 if ac_fn_cxx_try_compile "$LINENO"; then :
56782 glibcxx_cv_func__logf_use=yes
56783 else
56784 glibcxx_cv_func__logf_use=no
56786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56787 ac_ext=c
56788 ac_cpp='$CPP $CPPFLAGS'
56789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
56798 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
56800 if test x$glibcxx_cv_func__logf_use = x"yes"; then
56801 for ac_func in _logf
56802 do :
56803 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
56804 if test "x$ac_cv_func__logf" = xyes; then :
56805 cat >>confdefs.h <<_ACEOF
56806 #define HAVE__LOGF 1
56807 _ACEOF
56810 done
56819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
56820 $as_echo_n "checking for log10f declaration... " >&6; }
56821 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
56822 if ${glibcxx_cv_func_log10f_use+:} false; then :
56823 $as_echo_n "(cached) " >&6
56824 else
56827 ac_ext=cpp
56828 ac_cpp='$CXXCPP $CPPFLAGS'
56829 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56830 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56831 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56834 /* end confdefs.h. */
56835 #include <math.h>
56836 #ifdef HAVE_IEEEFP_H
56837 #include <ieeefp.h>
56838 #endif
56841 main ()
56843 log10f(0);
56845 return 0;
56847 _ACEOF
56848 if ac_fn_cxx_try_compile "$LINENO"; then :
56849 glibcxx_cv_func_log10f_use=yes
56850 else
56851 glibcxx_cv_func_log10f_use=no
56853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56854 ac_ext=c
56855 ac_cpp='$CPP $CPPFLAGS'
56856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
56865 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
56867 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
56868 for ac_func in log10f
56869 do :
56870 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
56871 if test "x$ac_cv_func_log10f" = xyes; then :
56872 cat >>confdefs.h <<_ACEOF
56873 #define HAVE_LOG10F 1
56874 _ACEOF
56877 done
56879 else
56881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
56882 $as_echo_n "checking for _log10f declaration... " >&6; }
56883 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
56884 if ${glibcxx_cv_func__log10f_use+:} false; then :
56885 $as_echo_n "(cached) " >&6
56886 else
56889 ac_ext=cpp
56890 ac_cpp='$CXXCPP $CPPFLAGS'
56891 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56892 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56893 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56896 /* end confdefs.h. */
56897 #include <math.h>
56898 #ifdef HAVE_IEEEFP_H
56899 #include <ieeefp.h>
56900 #endif
56903 main ()
56905 _log10f(0);
56907 return 0;
56909 _ACEOF
56910 if ac_fn_cxx_try_compile "$LINENO"; then :
56911 glibcxx_cv_func__log10f_use=yes
56912 else
56913 glibcxx_cv_func__log10f_use=no
56915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56916 ac_ext=c
56917 ac_cpp='$CPP $CPPFLAGS'
56918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
56927 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
56929 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
56930 for ac_func in _log10f
56931 do :
56932 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
56933 if test "x$ac_cv_func__log10f" = xyes; then :
56934 cat >>confdefs.h <<_ACEOF
56935 #define HAVE__LOG10F 1
56936 _ACEOF
56939 done
56948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
56949 $as_echo_n "checking for modff declaration... " >&6; }
56950 if test x${glibcxx_cv_func_modff_use+set} != xset; then
56951 if ${glibcxx_cv_func_modff_use+:} false; then :
56952 $as_echo_n "(cached) " >&6
56953 else
56956 ac_ext=cpp
56957 ac_cpp='$CXXCPP $CPPFLAGS'
56958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56963 /* end confdefs.h. */
56964 #include <math.h>
56966 main ()
56968 modff(0, 0);
56970 return 0;
56972 _ACEOF
56973 if ac_fn_cxx_try_compile "$LINENO"; then :
56974 glibcxx_cv_func_modff_use=yes
56975 else
56976 glibcxx_cv_func_modff_use=no
56978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56979 ac_ext=c
56980 ac_cpp='$CPP $CPPFLAGS'
56981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
56990 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
56992 if test x$glibcxx_cv_func_modff_use = x"yes"; then
56993 for ac_func in modff
56994 do :
56995 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
56996 if test "x$ac_cv_func_modff" = xyes; then :
56997 cat >>confdefs.h <<_ACEOF
56998 #define HAVE_MODFF 1
56999 _ACEOF
57002 done
57004 else
57006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
57007 $as_echo_n "checking for _modff declaration... " >&6; }
57008 if test x${glibcxx_cv_func__modff_use+set} != xset; then
57009 if ${glibcxx_cv_func__modff_use+:} false; then :
57010 $as_echo_n "(cached) " >&6
57011 else
57014 ac_ext=cpp
57015 ac_cpp='$CXXCPP $CPPFLAGS'
57016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57021 /* end confdefs.h. */
57022 #include <math.h>
57024 main ()
57026 _modff(0, 0);
57028 return 0;
57030 _ACEOF
57031 if ac_fn_cxx_try_compile "$LINENO"; then :
57032 glibcxx_cv_func__modff_use=yes
57033 else
57034 glibcxx_cv_func__modff_use=no
57036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57037 ac_ext=c
57038 ac_cpp='$CPP $CPPFLAGS'
57039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
57048 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
57050 if test x$glibcxx_cv_func__modff_use = x"yes"; then
57051 for ac_func in _modff
57052 do :
57053 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
57054 if test "x$ac_cv_func__modff" = xyes; then :
57055 cat >>confdefs.h <<_ACEOF
57056 #define HAVE__MODFF 1
57057 _ACEOF
57060 done
57069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
57070 $as_echo_n "checking for modf declaration... " >&6; }
57071 if test x${glibcxx_cv_func_modf_use+set} != xset; then
57072 if ${glibcxx_cv_func_modf_use+:} false; then :
57073 $as_echo_n "(cached) " >&6
57074 else
57077 ac_ext=cpp
57078 ac_cpp='$CXXCPP $CPPFLAGS'
57079 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57080 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57081 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57084 /* end confdefs.h. */
57085 #include <math.h>
57087 main ()
57089 modf(0, 0);
57091 return 0;
57093 _ACEOF
57094 if ac_fn_cxx_try_compile "$LINENO"; then :
57095 glibcxx_cv_func_modf_use=yes
57096 else
57097 glibcxx_cv_func_modf_use=no
57099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57100 ac_ext=c
57101 ac_cpp='$CPP $CPPFLAGS'
57102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
57111 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
57113 if test x$glibcxx_cv_func_modf_use = x"yes"; then
57114 for ac_func in modf
57115 do :
57116 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
57117 if test "x$ac_cv_func_modf" = xyes; then :
57118 cat >>confdefs.h <<_ACEOF
57119 #define HAVE_MODF 1
57120 _ACEOF
57123 done
57125 else
57127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
57128 $as_echo_n "checking for _modf declaration... " >&6; }
57129 if test x${glibcxx_cv_func__modf_use+set} != xset; then
57130 if ${glibcxx_cv_func__modf_use+:} false; then :
57131 $as_echo_n "(cached) " >&6
57132 else
57135 ac_ext=cpp
57136 ac_cpp='$CXXCPP $CPPFLAGS'
57137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57142 /* end confdefs.h. */
57143 #include <math.h>
57145 main ()
57147 _modf(0, 0);
57149 return 0;
57151 _ACEOF
57152 if ac_fn_cxx_try_compile "$LINENO"; then :
57153 glibcxx_cv_func__modf_use=yes
57154 else
57155 glibcxx_cv_func__modf_use=no
57157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57158 ac_ext=c
57159 ac_cpp='$CPP $CPPFLAGS'
57160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
57169 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
57171 if test x$glibcxx_cv_func__modf_use = x"yes"; then
57172 for ac_func in _modf
57173 do :
57174 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
57175 if test "x$ac_cv_func__modf" = xyes; then :
57176 cat >>confdefs.h <<_ACEOF
57177 #define HAVE__MODF 1
57178 _ACEOF
57181 done
57190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
57191 $as_echo_n "checking for powf declaration... " >&6; }
57192 if test x${glibcxx_cv_func_powf_use+set} != xset; then
57193 if ${glibcxx_cv_func_powf_use+:} false; then :
57194 $as_echo_n "(cached) " >&6
57195 else
57198 ac_ext=cpp
57199 ac_cpp='$CXXCPP $CPPFLAGS'
57200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57205 /* end confdefs.h. */
57206 #include <math.h>
57208 main ()
57210 powf(0, 0);
57212 return 0;
57214 _ACEOF
57215 if ac_fn_cxx_try_compile "$LINENO"; then :
57216 glibcxx_cv_func_powf_use=yes
57217 else
57218 glibcxx_cv_func_powf_use=no
57220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57221 ac_ext=c
57222 ac_cpp='$CPP $CPPFLAGS'
57223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
57232 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
57234 if test x$glibcxx_cv_func_powf_use = x"yes"; then
57235 for ac_func in powf
57236 do :
57237 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
57238 if test "x$ac_cv_func_powf" = xyes; then :
57239 cat >>confdefs.h <<_ACEOF
57240 #define HAVE_POWF 1
57241 _ACEOF
57244 done
57246 else
57248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
57249 $as_echo_n "checking for _powf declaration... " >&6; }
57250 if test x${glibcxx_cv_func__powf_use+set} != xset; then
57251 if ${glibcxx_cv_func__powf_use+:} false; then :
57252 $as_echo_n "(cached) " >&6
57253 else
57256 ac_ext=cpp
57257 ac_cpp='$CXXCPP $CPPFLAGS'
57258 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57259 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57260 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57263 /* end confdefs.h. */
57264 #include <math.h>
57266 main ()
57268 _powf(0, 0);
57270 return 0;
57272 _ACEOF
57273 if ac_fn_cxx_try_compile "$LINENO"; then :
57274 glibcxx_cv_func__powf_use=yes
57275 else
57276 glibcxx_cv_func__powf_use=no
57278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57279 ac_ext=c
57280 ac_cpp='$CPP $CPPFLAGS'
57281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
57290 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
57292 if test x$glibcxx_cv_func__powf_use = x"yes"; then
57293 for ac_func in _powf
57294 do :
57295 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
57296 if test "x$ac_cv_func__powf" = xyes; then :
57297 cat >>confdefs.h <<_ACEOF
57298 #define HAVE__POWF 1
57299 _ACEOF
57302 done
57311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
57312 $as_echo_n "checking for sqrtf declaration... " >&6; }
57313 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
57314 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
57315 $as_echo_n "(cached) " >&6
57316 else
57319 ac_ext=cpp
57320 ac_cpp='$CXXCPP $CPPFLAGS'
57321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57326 /* end confdefs.h. */
57327 #include <math.h>
57328 #ifdef HAVE_IEEEFP_H
57329 #include <ieeefp.h>
57330 #endif
57333 main ()
57335 sqrtf(0);
57337 return 0;
57339 _ACEOF
57340 if ac_fn_cxx_try_compile "$LINENO"; then :
57341 glibcxx_cv_func_sqrtf_use=yes
57342 else
57343 glibcxx_cv_func_sqrtf_use=no
57345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57346 ac_ext=c
57347 ac_cpp='$CPP $CPPFLAGS'
57348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
57357 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
57359 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
57360 for ac_func in sqrtf
57361 do :
57362 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
57363 if test "x$ac_cv_func_sqrtf" = xyes; then :
57364 cat >>confdefs.h <<_ACEOF
57365 #define HAVE_SQRTF 1
57366 _ACEOF
57369 done
57371 else
57373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
57374 $as_echo_n "checking for _sqrtf declaration... " >&6; }
57375 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
57376 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
57377 $as_echo_n "(cached) " >&6
57378 else
57381 ac_ext=cpp
57382 ac_cpp='$CXXCPP $CPPFLAGS'
57383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57388 /* end confdefs.h. */
57389 #include <math.h>
57390 #ifdef HAVE_IEEEFP_H
57391 #include <ieeefp.h>
57392 #endif
57395 main ()
57397 _sqrtf(0);
57399 return 0;
57401 _ACEOF
57402 if ac_fn_cxx_try_compile "$LINENO"; then :
57403 glibcxx_cv_func__sqrtf_use=yes
57404 else
57405 glibcxx_cv_func__sqrtf_use=no
57407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57408 ac_ext=c
57409 ac_cpp='$CPP $CPPFLAGS'
57410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
57419 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
57421 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
57422 for ac_func in _sqrtf
57423 do :
57424 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
57425 if test "x$ac_cv_func__sqrtf" = xyes; then :
57426 cat >>confdefs.h <<_ACEOF
57427 #define HAVE__SQRTF 1
57428 _ACEOF
57431 done
57440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
57441 $as_echo_n "checking for sincosf declaration... " >&6; }
57442 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
57443 if ${glibcxx_cv_func_sincosf_use+:} false; then :
57444 $as_echo_n "(cached) " >&6
57445 else
57448 ac_ext=cpp
57449 ac_cpp='$CXXCPP $CPPFLAGS'
57450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57455 /* end confdefs.h. */
57456 #include <math.h>
57458 main ()
57460 sincosf(0, 0, 0);
57462 return 0;
57464 _ACEOF
57465 if ac_fn_cxx_try_compile "$LINENO"; then :
57466 glibcxx_cv_func_sincosf_use=yes
57467 else
57468 glibcxx_cv_func_sincosf_use=no
57470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57471 ac_ext=c
57472 ac_cpp='$CPP $CPPFLAGS'
57473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
57482 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
57484 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
57485 for ac_func in sincosf
57486 do :
57487 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
57488 if test "x$ac_cv_func_sincosf" = xyes; then :
57489 cat >>confdefs.h <<_ACEOF
57490 #define HAVE_SINCOSF 1
57491 _ACEOF
57494 done
57496 else
57498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
57499 $as_echo_n "checking for _sincosf declaration... " >&6; }
57500 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
57501 if ${glibcxx_cv_func__sincosf_use+:} false; then :
57502 $as_echo_n "(cached) " >&6
57503 else
57506 ac_ext=cpp
57507 ac_cpp='$CXXCPP $CPPFLAGS'
57508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57513 /* end confdefs.h. */
57514 #include <math.h>
57516 main ()
57518 _sincosf(0, 0, 0);
57520 return 0;
57522 _ACEOF
57523 if ac_fn_cxx_try_compile "$LINENO"; then :
57524 glibcxx_cv_func__sincosf_use=yes
57525 else
57526 glibcxx_cv_func__sincosf_use=no
57528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57529 ac_ext=c
57530 ac_cpp='$CPP $CPPFLAGS'
57531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
57540 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
57542 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
57543 for ac_func in _sincosf
57544 do :
57545 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
57546 if test "x$ac_cv_func__sincosf" = xyes; then :
57547 cat >>confdefs.h <<_ACEOF
57548 #define HAVE__SINCOSF 1
57549 _ACEOF
57552 done
57561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
57562 $as_echo_n "checking for finitef declaration... " >&6; }
57563 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
57564 if ${glibcxx_cv_func_finitef_use+:} false; then :
57565 $as_echo_n "(cached) " >&6
57566 else
57569 ac_ext=cpp
57570 ac_cpp='$CXXCPP $CPPFLAGS'
57571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57576 /* end confdefs.h. */
57577 #include <math.h>
57578 #ifdef HAVE_IEEEFP_H
57579 #include <ieeefp.h>
57580 #endif
57583 main ()
57585 finitef(0);
57587 return 0;
57589 _ACEOF
57590 if ac_fn_cxx_try_compile "$LINENO"; then :
57591 glibcxx_cv_func_finitef_use=yes
57592 else
57593 glibcxx_cv_func_finitef_use=no
57595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57596 ac_ext=c
57597 ac_cpp='$CPP $CPPFLAGS'
57598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
57607 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
57609 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
57610 for ac_func in finitef
57611 do :
57612 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
57613 if test "x$ac_cv_func_finitef" = xyes; then :
57614 cat >>confdefs.h <<_ACEOF
57615 #define HAVE_FINITEF 1
57616 _ACEOF
57619 done
57621 else
57623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
57624 $as_echo_n "checking for _finitef declaration... " >&6; }
57625 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
57626 if ${glibcxx_cv_func__finitef_use+:} false; then :
57627 $as_echo_n "(cached) " >&6
57628 else
57631 ac_ext=cpp
57632 ac_cpp='$CXXCPP $CPPFLAGS'
57633 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57634 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57635 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57638 /* end confdefs.h. */
57639 #include <math.h>
57640 #ifdef HAVE_IEEEFP_H
57641 #include <ieeefp.h>
57642 #endif
57645 main ()
57647 _finitef(0);
57649 return 0;
57651 _ACEOF
57652 if ac_fn_cxx_try_compile "$LINENO"; then :
57653 glibcxx_cv_func__finitef_use=yes
57654 else
57655 glibcxx_cv_func__finitef_use=no
57657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57658 ac_ext=c
57659 ac_cpp='$CPP $CPPFLAGS'
57660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
57669 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
57671 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
57672 for ac_func in _finitef
57673 do :
57674 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
57675 if test "x$ac_cv_func__finitef" = xyes; then :
57676 cat >>confdefs.h <<_ACEOF
57677 #define HAVE__FINITEF 1
57678 _ACEOF
57681 done
57690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
57691 $as_echo_n "checking for long double trig functions... " >&6; }
57692 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
57693 $as_echo_n "(cached) " >&6
57694 else
57697 ac_ext=cpp
57698 ac_cpp='$CXXCPP $CPPFLAGS'
57699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57704 /* end confdefs.h. */
57705 #include <math.h>
57707 main ()
57709 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
57711 return 0;
57713 _ACEOF
57714 if ac_fn_cxx_try_compile "$LINENO"; then :
57715 glibcxx_cv_func_long_double_trig_use=yes
57716 else
57717 glibcxx_cv_func_long_double_trig_use=no
57719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57720 ac_ext=c
57721 ac_cpp='$CPP $CPPFLAGS'
57722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
57729 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
57730 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
57731 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
57732 do :
57733 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57734 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57735 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
57736 cat >>confdefs.h <<_ACEOF
57737 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57738 _ACEOF
57741 done
57743 else
57744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
57745 $as_echo_n "checking for _long double trig functions... " >&6; }
57746 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
57747 $as_echo_n "(cached) " >&6
57748 else
57751 ac_ext=cpp
57752 ac_cpp='$CXXCPP $CPPFLAGS'
57753 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57754 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57755 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57758 /* end confdefs.h. */
57759 #include <math.h>
57761 main ()
57763 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
57765 return 0;
57767 _ACEOF
57768 if ac_fn_cxx_try_compile "$LINENO"; then :
57769 glibcxx_cv_func__long_double_trig_use=yes
57770 else
57771 glibcxx_cv_func__long_double_trig_use=no
57773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57774 ac_ext=c
57775 ac_cpp='$CPP $CPPFLAGS'
57776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
57783 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
57784 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
57785 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
57786 do :
57787 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57788 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57789 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
57790 cat >>confdefs.h <<_ACEOF
57791 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57792 _ACEOF
57795 done
57804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
57805 $as_echo_n "checking for long double round functions... " >&6; }
57806 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
57807 $as_echo_n "(cached) " >&6
57808 else
57811 ac_ext=cpp
57812 ac_cpp='$CXXCPP $CPPFLAGS'
57813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57818 /* end confdefs.h. */
57819 #include <math.h>
57821 main ()
57823 ceill (0); floorl (0);
57825 return 0;
57827 _ACEOF
57828 if ac_fn_cxx_try_compile "$LINENO"; then :
57829 glibcxx_cv_func_long_double_round_use=yes
57830 else
57831 glibcxx_cv_func_long_double_round_use=no
57833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57834 ac_ext=c
57835 ac_cpp='$CPP $CPPFLAGS'
57836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
57843 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
57844 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
57845 for ac_func in ceill floorl
57846 do :
57847 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57848 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57849 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
57850 cat >>confdefs.h <<_ACEOF
57851 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57852 _ACEOF
57855 done
57857 else
57858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
57859 $as_echo_n "checking for _long double round functions... " >&6; }
57860 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
57861 $as_echo_n "(cached) " >&6
57862 else
57865 ac_ext=cpp
57866 ac_cpp='$CXXCPP $CPPFLAGS'
57867 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57868 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57869 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57872 /* end confdefs.h. */
57873 #include <math.h>
57875 main ()
57877 _ceill (0); _floorl (0);
57879 return 0;
57881 _ACEOF
57882 if ac_fn_cxx_try_compile "$LINENO"; then :
57883 glibcxx_cv_func__long_double_round_use=yes
57884 else
57885 glibcxx_cv_func__long_double_round_use=no
57887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57888 ac_ext=c
57889 ac_cpp='$CPP $CPPFLAGS'
57890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
57897 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
57898 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
57899 for ac_func in _ceill _floorl
57900 do :
57901 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57902 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57903 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
57904 cat >>confdefs.h <<_ACEOF
57905 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57906 _ACEOF
57909 done
57919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
57920 $as_echo_n "checking for isnanl declaration... " >&6; }
57921 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
57922 if ${glibcxx_cv_func_isnanl_use+:} false; then :
57923 $as_echo_n "(cached) " >&6
57924 else
57927 ac_ext=cpp
57928 ac_cpp='$CXXCPP $CPPFLAGS'
57929 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57930 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57931 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57934 /* end confdefs.h. */
57935 #include <math.h>
57936 #ifdef HAVE_IEEEFP_H
57937 #include <ieeefp.h>
57938 #endif
57941 main ()
57943 isnanl(0);
57945 return 0;
57947 _ACEOF
57948 if ac_fn_cxx_try_compile "$LINENO"; then :
57949 glibcxx_cv_func_isnanl_use=yes
57950 else
57951 glibcxx_cv_func_isnanl_use=no
57953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57954 ac_ext=c
57955 ac_cpp='$CPP $CPPFLAGS'
57956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
57965 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
57967 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
57968 for ac_func in isnanl
57969 do :
57970 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
57971 if test "x$ac_cv_func_isnanl" = xyes; then :
57972 cat >>confdefs.h <<_ACEOF
57973 #define HAVE_ISNANL 1
57974 _ACEOF
57977 done
57979 else
57981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
57982 $as_echo_n "checking for _isnanl declaration... " >&6; }
57983 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
57984 if ${glibcxx_cv_func__isnanl_use+:} false; then :
57985 $as_echo_n "(cached) " >&6
57986 else
57989 ac_ext=cpp
57990 ac_cpp='$CXXCPP $CPPFLAGS'
57991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57992 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57996 /* end confdefs.h. */
57997 #include <math.h>
57998 #ifdef HAVE_IEEEFP_H
57999 #include <ieeefp.h>
58000 #endif
58003 main ()
58005 _isnanl(0);
58007 return 0;
58009 _ACEOF
58010 if ac_fn_cxx_try_compile "$LINENO"; then :
58011 glibcxx_cv_func__isnanl_use=yes
58012 else
58013 glibcxx_cv_func__isnanl_use=no
58015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58016 ac_ext=c
58017 ac_cpp='$CPP $CPPFLAGS'
58018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
58027 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
58029 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
58030 for ac_func in _isnanl
58031 do :
58032 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
58033 if test "x$ac_cv_func__isnanl" = xyes; then :
58034 cat >>confdefs.h <<_ACEOF
58035 #define HAVE__ISNANL 1
58036 _ACEOF
58039 done
58048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
58049 $as_echo_n "checking for isinfl declaration... " >&6; }
58050 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
58051 if ${glibcxx_cv_func_isinfl_use+:} false; then :
58052 $as_echo_n "(cached) " >&6
58053 else
58056 ac_ext=cpp
58057 ac_cpp='$CXXCPP $CPPFLAGS'
58058 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58059 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58060 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58063 /* end confdefs.h. */
58064 #include <math.h>
58065 #ifdef HAVE_IEEEFP_H
58066 #include <ieeefp.h>
58067 #endif
58070 main ()
58072 isinfl(0);
58074 return 0;
58076 _ACEOF
58077 if ac_fn_cxx_try_compile "$LINENO"; then :
58078 glibcxx_cv_func_isinfl_use=yes
58079 else
58080 glibcxx_cv_func_isinfl_use=no
58082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58083 ac_ext=c
58084 ac_cpp='$CPP $CPPFLAGS'
58085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
58094 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
58096 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
58097 for ac_func in isinfl
58098 do :
58099 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
58100 if test "x$ac_cv_func_isinfl" = xyes; then :
58101 cat >>confdefs.h <<_ACEOF
58102 #define HAVE_ISINFL 1
58103 _ACEOF
58106 done
58108 else
58110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
58111 $as_echo_n "checking for _isinfl declaration... " >&6; }
58112 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
58113 if ${glibcxx_cv_func__isinfl_use+:} false; then :
58114 $as_echo_n "(cached) " >&6
58115 else
58118 ac_ext=cpp
58119 ac_cpp='$CXXCPP $CPPFLAGS'
58120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58125 /* end confdefs.h. */
58126 #include <math.h>
58127 #ifdef HAVE_IEEEFP_H
58128 #include <ieeefp.h>
58129 #endif
58132 main ()
58134 _isinfl(0);
58136 return 0;
58138 _ACEOF
58139 if ac_fn_cxx_try_compile "$LINENO"; then :
58140 glibcxx_cv_func__isinfl_use=yes
58141 else
58142 glibcxx_cv_func__isinfl_use=no
58144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58145 ac_ext=c
58146 ac_cpp='$CPP $CPPFLAGS'
58147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
58156 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
58158 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
58159 for ac_func in _isinfl
58160 do :
58161 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
58162 if test "x$ac_cv_func__isinfl" = xyes; then :
58163 cat >>confdefs.h <<_ACEOF
58164 #define HAVE__ISINFL 1
58165 _ACEOF
58168 done
58177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
58178 $as_echo_n "checking for atan2l declaration... " >&6; }
58179 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
58180 if ${glibcxx_cv_func_atan2l_use+:} false; then :
58181 $as_echo_n "(cached) " >&6
58182 else
58185 ac_ext=cpp
58186 ac_cpp='$CXXCPP $CPPFLAGS'
58187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58192 /* end confdefs.h. */
58193 #include <math.h>
58195 main ()
58197 atan2l(0, 0);
58199 return 0;
58201 _ACEOF
58202 if ac_fn_cxx_try_compile "$LINENO"; then :
58203 glibcxx_cv_func_atan2l_use=yes
58204 else
58205 glibcxx_cv_func_atan2l_use=no
58207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58208 ac_ext=c
58209 ac_cpp='$CPP $CPPFLAGS'
58210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
58219 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
58221 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
58222 for ac_func in atan2l
58223 do :
58224 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
58225 if test "x$ac_cv_func_atan2l" = xyes; then :
58226 cat >>confdefs.h <<_ACEOF
58227 #define HAVE_ATAN2L 1
58228 _ACEOF
58231 done
58233 else
58235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
58236 $as_echo_n "checking for _atan2l declaration... " >&6; }
58237 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
58238 if ${glibcxx_cv_func__atan2l_use+:} false; then :
58239 $as_echo_n "(cached) " >&6
58240 else
58243 ac_ext=cpp
58244 ac_cpp='$CXXCPP $CPPFLAGS'
58245 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58246 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58247 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58250 /* end confdefs.h. */
58251 #include <math.h>
58253 main ()
58255 _atan2l(0, 0);
58257 return 0;
58259 _ACEOF
58260 if ac_fn_cxx_try_compile "$LINENO"; then :
58261 glibcxx_cv_func__atan2l_use=yes
58262 else
58263 glibcxx_cv_func__atan2l_use=no
58265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58266 ac_ext=c
58267 ac_cpp='$CPP $CPPFLAGS'
58268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
58277 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
58279 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
58280 for ac_func in _atan2l
58281 do :
58282 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
58283 if test "x$ac_cv_func__atan2l" = xyes; then :
58284 cat >>confdefs.h <<_ACEOF
58285 #define HAVE__ATAN2L 1
58286 _ACEOF
58289 done
58298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
58299 $as_echo_n "checking for expl declaration... " >&6; }
58300 if test x${glibcxx_cv_func_expl_use+set} != xset; then
58301 if ${glibcxx_cv_func_expl_use+:} false; then :
58302 $as_echo_n "(cached) " >&6
58303 else
58306 ac_ext=cpp
58307 ac_cpp='$CXXCPP $CPPFLAGS'
58308 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58309 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58310 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58313 /* end confdefs.h. */
58314 #include <math.h>
58315 #ifdef HAVE_IEEEFP_H
58316 #include <ieeefp.h>
58317 #endif
58320 main ()
58322 expl(0);
58324 return 0;
58326 _ACEOF
58327 if ac_fn_cxx_try_compile "$LINENO"; then :
58328 glibcxx_cv_func_expl_use=yes
58329 else
58330 glibcxx_cv_func_expl_use=no
58332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58333 ac_ext=c
58334 ac_cpp='$CPP $CPPFLAGS'
58335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
58344 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
58346 if test x$glibcxx_cv_func_expl_use = x"yes"; then
58347 for ac_func in expl
58348 do :
58349 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
58350 if test "x$ac_cv_func_expl" = xyes; then :
58351 cat >>confdefs.h <<_ACEOF
58352 #define HAVE_EXPL 1
58353 _ACEOF
58356 done
58358 else
58360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
58361 $as_echo_n "checking for _expl declaration... " >&6; }
58362 if test x${glibcxx_cv_func__expl_use+set} != xset; then
58363 if ${glibcxx_cv_func__expl_use+:} false; then :
58364 $as_echo_n "(cached) " >&6
58365 else
58368 ac_ext=cpp
58369 ac_cpp='$CXXCPP $CPPFLAGS'
58370 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58371 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58372 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58375 /* end confdefs.h. */
58376 #include <math.h>
58377 #ifdef HAVE_IEEEFP_H
58378 #include <ieeefp.h>
58379 #endif
58382 main ()
58384 _expl(0);
58386 return 0;
58388 _ACEOF
58389 if ac_fn_cxx_try_compile "$LINENO"; then :
58390 glibcxx_cv_func__expl_use=yes
58391 else
58392 glibcxx_cv_func__expl_use=no
58394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58395 ac_ext=c
58396 ac_cpp='$CPP $CPPFLAGS'
58397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
58406 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
58408 if test x$glibcxx_cv_func__expl_use = x"yes"; then
58409 for ac_func in _expl
58410 do :
58411 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
58412 if test "x$ac_cv_func__expl" = xyes; then :
58413 cat >>confdefs.h <<_ACEOF
58414 #define HAVE__EXPL 1
58415 _ACEOF
58418 done
58427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
58428 $as_echo_n "checking for fabsl declaration... " >&6; }
58429 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
58430 if ${glibcxx_cv_func_fabsl_use+:} false; then :
58431 $as_echo_n "(cached) " >&6
58432 else
58435 ac_ext=cpp
58436 ac_cpp='$CXXCPP $CPPFLAGS'
58437 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58438 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58439 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58442 /* end confdefs.h. */
58443 #include <math.h>
58444 #ifdef HAVE_IEEEFP_H
58445 #include <ieeefp.h>
58446 #endif
58449 main ()
58451 fabsl(0);
58453 return 0;
58455 _ACEOF
58456 if ac_fn_cxx_try_compile "$LINENO"; then :
58457 glibcxx_cv_func_fabsl_use=yes
58458 else
58459 glibcxx_cv_func_fabsl_use=no
58461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58462 ac_ext=c
58463 ac_cpp='$CPP $CPPFLAGS'
58464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
58473 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
58475 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
58476 for ac_func in fabsl
58477 do :
58478 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
58479 if test "x$ac_cv_func_fabsl" = xyes; then :
58480 cat >>confdefs.h <<_ACEOF
58481 #define HAVE_FABSL 1
58482 _ACEOF
58485 done
58487 else
58489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
58490 $as_echo_n "checking for _fabsl declaration... " >&6; }
58491 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
58492 if ${glibcxx_cv_func__fabsl_use+:} false; then :
58493 $as_echo_n "(cached) " >&6
58494 else
58497 ac_ext=cpp
58498 ac_cpp='$CXXCPP $CPPFLAGS'
58499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58504 /* end confdefs.h. */
58505 #include <math.h>
58506 #ifdef HAVE_IEEEFP_H
58507 #include <ieeefp.h>
58508 #endif
58511 main ()
58513 _fabsl(0);
58515 return 0;
58517 _ACEOF
58518 if ac_fn_cxx_try_compile "$LINENO"; then :
58519 glibcxx_cv_func__fabsl_use=yes
58520 else
58521 glibcxx_cv_func__fabsl_use=no
58523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58524 ac_ext=c
58525 ac_cpp='$CPP $CPPFLAGS'
58526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
58535 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
58537 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
58538 for ac_func in _fabsl
58539 do :
58540 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
58541 if test "x$ac_cv_func__fabsl" = xyes; then :
58542 cat >>confdefs.h <<_ACEOF
58543 #define HAVE__FABSL 1
58544 _ACEOF
58547 done
58556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
58557 $as_echo_n "checking for fmodl declaration... " >&6; }
58558 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
58559 if ${glibcxx_cv_func_fmodl_use+:} false; then :
58560 $as_echo_n "(cached) " >&6
58561 else
58564 ac_ext=cpp
58565 ac_cpp='$CXXCPP $CPPFLAGS'
58566 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58567 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58568 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58571 /* end confdefs.h. */
58572 #include <math.h>
58574 main ()
58576 fmodl(0, 0);
58578 return 0;
58580 _ACEOF
58581 if ac_fn_cxx_try_compile "$LINENO"; then :
58582 glibcxx_cv_func_fmodl_use=yes
58583 else
58584 glibcxx_cv_func_fmodl_use=no
58586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58587 ac_ext=c
58588 ac_cpp='$CPP $CPPFLAGS'
58589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
58598 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
58600 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
58601 for ac_func in fmodl
58602 do :
58603 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
58604 if test "x$ac_cv_func_fmodl" = xyes; then :
58605 cat >>confdefs.h <<_ACEOF
58606 #define HAVE_FMODL 1
58607 _ACEOF
58610 done
58612 else
58614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
58615 $as_echo_n "checking for _fmodl declaration... " >&6; }
58616 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
58617 if ${glibcxx_cv_func__fmodl_use+:} false; then :
58618 $as_echo_n "(cached) " >&6
58619 else
58622 ac_ext=cpp
58623 ac_cpp='$CXXCPP $CPPFLAGS'
58624 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58625 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58626 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58629 /* end confdefs.h. */
58630 #include <math.h>
58632 main ()
58634 _fmodl(0, 0);
58636 return 0;
58638 _ACEOF
58639 if ac_fn_cxx_try_compile "$LINENO"; then :
58640 glibcxx_cv_func__fmodl_use=yes
58641 else
58642 glibcxx_cv_func__fmodl_use=no
58644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58645 ac_ext=c
58646 ac_cpp='$CPP $CPPFLAGS'
58647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
58656 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
58658 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
58659 for ac_func in _fmodl
58660 do :
58661 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
58662 if test "x$ac_cv_func__fmodl" = xyes; then :
58663 cat >>confdefs.h <<_ACEOF
58664 #define HAVE__FMODL 1
58665 _ACEOF
58668 done
58677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
58678 $as_echo_n "checking for frexpl declaration... " >&6; }
58679 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
58680 if ${glibcxx_cv_func_frexpl_use+:} false; then :
58681 $as_echo_n "(cached) " >&6
58682 else
58685 ac_ext=cpp
58686 ac_cpp='$CXXCPP $CPPFLAGS'
58687 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58688 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58689 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58692 /* end confdefs.h. */
58693 #include <math.h>
58695 main ()
58697 frexpl(0, 0);
58699 return 0;
58701 _ACEOF
58702 if ac_fn_cxx_try_compile "$LINENO"; then :
58703 glibcxx_cv_func_frexpl_use=yes
58704 else
58705 glibcxx_cv_func_frexpl_use=no
58707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58708 ac_ext=c
58709 ac_cpp='$CPP $CPPFLAGS'
58710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
58719 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
58721 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
58722 for ac_func in frexpl
58723 do :
58724 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
58725 if test "x$ac_cv_func_frexpl" = xyes; then :
58726 cat >>confdefs.h <<_ACEOF
58727 #define HAVE_FREXPL 1
58728 _ACEOF
58731 done
58733 else
58735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
58736 $as_echo_n "checking for _frexpl declaration... " >&6; }
58737 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
58738 if ${glibcxx_cv_func__frexpl_use+:} false; then :
58739 $as_echo_n "(cached) " >&6
58740 else
58743 ac_ext=cpp
58744 ac_cpp='$CXXCPP $CPPFLAGS'
58745 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58746 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58747 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58750 /* end confdefs.h. */
58751 #include <math.h>
58753 main ()
58755 _frexpl(0, 0);
58757 return 0;
58759 _ACEOF
58760 if ac_fn_cxx_try_compile "$LINENO"; then :
58761 glibcxx_cv_func__frexpl_use=yes
58762 else
58763 glibcxx_cv_func__frexpl_use=no
58765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58766 ac_ext=c
58767 ac_cpp='$CPP $CPPFLAGS'
58768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
58777 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
58779 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
58780 for ac_func in _frexpl
58781 do :
58782 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
58783 if test "x$ac_cv_func__frexpl" = xyes; then :
58784 cat >>confdefs.h <<_ACEOF
58785 #define HAVE__FREXPL 1
58786 _ACEOF
58789 done
58798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
58799 $as_echo_n "checking for hypotl declaration... " >&6; }
58800 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
58801 if ${glibcxx_cv_func_hypotl_use+:} false; then :
58802 $as_echo_n "(cached) " >&6
58803 else
58806 ac_ext=cpp
58807 ac_cpp='$CXXCPP $CPPFLAGS'
58808 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58809 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58810 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58813 /* end confdefs.h. */
58814 #include <math.h>
58816 main ()
58818 hypotl(0, 0);
58820 return 0;
58822 _ACEOF
58823 if ac_fn_cxx_try_compile "$LINENO"; then :
58824 glibcxx_cv_func_hypotl_use=yes
58825 else
58826 glibcxx_cv_func_hypotl_use=no
58828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58829 ac_ext=c
58830 ac_cpp='$CPP $CPPFLAGS'
58831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
58840 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
58842 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
58843 for ac_func in hypotl
58844 do :
58845 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
58846 if test "x$ac_cv_func_hypotl" = xyes; then :
58847 cat >>confdefs.h <<_ACEOF
58848 #define HAVE_HYPOTL 1
58849 _ACEOF
58852 done
58854 else
58856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
58857 $as_echo_n "checking for _hypotl declaration... " >&6; }
58858 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
58859 if ${glibcxx_cv_func__hypotl_use+:} false; then :
58860 $as_echo_n "(cached) " >&6
58861 else
58864 ac_ext=cpp
58865 ac_cpp='$CXXCPP $CPPFLAGS'
58866 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58867 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58868 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58871 /* end confdefs.h. */
58872 #include <math.h>
58874 main ()
58876 _hypotl(0, 0);
58878 return 0;
58880 _ACEOF
58881 if ac_fn_cxx_try_compile "$LINENO"; then :
58882 glibcxx_cv_func__hypotl_use=yes
58883 else
58884 glibcxx_cv_func__hypotl_use=no
58886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58887 ac_ext=c
58888 ac_cpp='$CPP $CPPFLAGS'
58889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
58898 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
58900 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
58901 for ac_func in _hypotl
58902 do :
58903 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
58904 if test "x$ac_cv_func__hypotl" = xyes; then :
58905 cat >>confdefs.h <<_ACEOF
58906 #define HAVE__HYPOTL 1
58907 _ACEOF
58910 done
58919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
58920 $as_echo_n "checking for ldexpl declaration... " >&6; }
58921 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
58922 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
58923 $as_echo_n "(cached) " >&6
58924 else
58927 ac_ext=cpp
58928 ac_cpp='$CXXCPP $CPPFLAGS'
58929 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58930 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58931 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58934 /* end confdefs.h. */
58935 #include <math.h>
58937 main ()
58939 ldexpl(0, 0);
58941 return 0;
58943 _ACEOF
58944 if ac_fn_cxx_try_compile "$LINENO"; then :
58945 glibcxx_cv_func_ldexpl_use=yes
58946 else
58947 glibcxx_cv_func_ldexpl_use=no
58949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58950 ac_ext=c
58951 ac_cpp='$CPP $CPPFLAGS'
58952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
58961 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
58963 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
58964 for ac_func in ldexpl
58965 do :
58966 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
58967 if test "x$ac_cv_func_ldexpl" = xyes; then :
58968 cat >>confdefs.h <<_ACEOF
58969 #define HAVE_LDEXPL 1
58970 _ACEOF
58973 done
58975 else
58977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
58978 $as_echo_n "checking for _ldexpl declaration... " >&6; }
58979 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
58980 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
58981 $as_echo_n "(cached) " >&6
58982 else
58985 ac_ext=cpp
58986 ac_cpp='$CXXCPP $CPPFLAGS'
58987 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58988 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58989 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58992 /* end confdefs.h. */
58993 #include <math.h>
58995 main ()
58997 _ldexpl(0, 0);
58999 return 0;
59001 _ACEOF
59002 if ac_fn_cxx_try_compile "$LINENO"; then :
59003 glibcxx_cv_func__ldexpl_use=yes
59004 else
59005 glibcxx_cv_func__ldexpl_use=no
59007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59008 ac_ext=c
59009 ac_cpp='$CPP $CPPFLAGS'
59010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
59019 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
59021 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
59022 for ac_func in _ldexpl
59023 do :
59024 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
59025 if test "x$ac_cv_func__ldexpl" = xyes; then :
59026 cat >>confdefs.h <<_ACEOF
59027 #define HAVE__LDEXPL 1
59028 _ACEOF
59031 done
59040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
59041 $as_echo_n "checking for logl declaration... " >&6; }
59042 if test x${glibcxx_cv_func_logl_use+set} != xset; then
59043 if ${glibcxx_cv_func_logl_use+:} false; then :
59044 $as_echo_n "(cached) " >&6
59045 else
59048 ac_ext=cpp
59049 ac_cpp='$CXXCPP $CPPFLAGS'
59050 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59051 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59052 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59055 /* end confdefs.h. */
59056 #include <math.h>
59057 #ifdef HAVE_IEEEFP_H
59058 #include <ieeefp.h>
59059 #endif
59062 main ()
59064 logl(0);
59066 return 0;
59068 _ACEOF
59069 if ac_fn_cxx_try_compile "$LINENO"; then :
59070 glibcxx_cv_func_logl_use=yes
59071 else
59072 glibcxx_cv_func_logl_use=no
59074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59075 ac_ext=c
59076 ac_cpp='$CPP $CPPFLAGS'
59077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
59086 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
59088 if test x$glibcxx_cv_func_logl_use = x"yes"; then
59089 for ac_func in logl
59090 do :
59091 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
59092 if test "x$ac_cv_func_logl" = xyes; then :
59093 cat >>confdefs.h <<_ACEOF
59094 #define HAVE_LOGL 1
59095 _ACEOF
59098 done
59100 else
59102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
59103 $as_echo_n "checking for _logl declaration... " >&6; }
59104 if test x${glibcxx_cv_func__logl_use+set} != xset; then
59105 if ${glibcxx_cv_func__logl_use+:} false; then :
59106 $as_echo_n "(cached) " >&6
59107 else
59110 ac_ext=cpp
59111 ac_cpp='$CXXCPP $CPPFLAGS'
59112 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59113 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59114 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59117 /* end confdefs.h. */
59118 #include <math.h>
59119 #ifdef HAVE_IEEEFP_H
59120 #include <ieeefp.h>
59121 #endif
59124 main ()
59126 _logl(0);
59128 return 0;
59130 _ACEOF
59131 if ac_fn_cxx_try_compile "$LINENO"; then :
59132 glibcxx_cv_func__logl_use=yes
59133 else
59134 glibcxx_cv_func__logl_use=no
59136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59137 ac_ext=c
59138 ac_cpp='$CPP $CPPFLAGS'
59139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
59148 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
59150 if test x$glibcxx_cv_func__logl_use = x"yes"; then
59151 for ac_func in _logl
59152 do :
59153 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
59154 if test "x$ac_cv_func__logl" = xyes; then :
59155 cat >>confdefs.h <<_ACEOF
59156 #define HAVE__LOGL 1
59157 _ACEOF
59160 done
59169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
59170 $as_echo_n "checking for log10l declaration... " >&6; }
59171 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
59172 if ${glibcxx_cv_func_log10l_use+:} false; then :
59173 $as_echo_n "(cached) " >&6
59174 else
59177 ac_ext=cpp
59178 ac_cpp='$CXXCPP $CPPFLAGS'
59179 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59180 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59181 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59184 /* end confdefs.h. */
59185 #include <math.h>
59186 #ifdef HAVE_IEEEFP_H
59187 #include <ieeefp.h>
59188 #endif
59191 main ()
59193 log10l(0);
59195 return 0;
59197 _ACEOF
59198 if ac_fn_cxx_try_compile "$LINENO"; then :
59199 glibcxx_cv_func_log10l_use=yes
59200 else
59201 glibcxx_cv_func_log10l_use=no
59203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59204 ac_ext=c
59205 ac_cpp='$CPP $CPPFLAGS'
59206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
59215 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
59217 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
59218 for ac_func in log10l
59219 do :
59220 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
59221 if test "x$ac_cv_func_log10l" = xyes; then :
59222 cat >>confdefs.h <<_ACEOF
59223 #define HAVE_LOG10L 1
59224 _ACEOF
59227 done
59229 else
59231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
59232 $as_echo_n "checking for _log10l declaration... " >&6; }
59233 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
59234 if ${glibcxx_cv_func__log10l_use+:} false; then :
59235 $as_echo_n "(cached) " >&6
59236 else
59239 ac_ext=cpp
59240 ac_cpp='$CXXCPP $CPPFLAGS'
59241 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59242 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59243 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59246 /* end confdefs.h. */
59247 #include <math.h>
59248 #ifdef HAVE_IEEEFP_H
59249 #include <ieeefp.h>
59250 #endif
59253 main ()
59255 _log10l(0);
59257 return 0;
59259 _ACEOF
59260 if ac_fn_cxx_try_compile "$LINENO"; then :
59261 glibcxx_cv_func__log10l_use=yes
59262 else
59263 glibcxx_cv_func__log10l_use=no
59265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59266 ac_ext=c
59267 ac_cpp='$CPP $CPPFLAGS'
59268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
59277 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
59279 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
59280 for ac_func in _log10l
59281 do :
59282 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
59283 if test "x$ac_cv_func__log10l" = xyes; then :
59284 cat >>confdefs.h <<_ACEOF
59285 #define HAVE__LOG10L 1
59286 _ACEOF
59289 done
59298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
59299 $as_echo_n "checking for modfl declaration... " >&6; }
59300 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
59301 if ${glibcxx_cv_func_modfl_use+:} false; then :
59302 $as_echo_n "(cached) " >&6
59303 else
59306 ac_ext=cpp
59307 ac_cpp='$CXXCPP $CPPFLAGS'
59308 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59309 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59310 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59313 /* end confdefs.h. */
59314 #include <math.h>
59316 main ()
59318 modfl(0, 0);
59320 return 0;
59322 _ACEOF
59323 if ac_fn_cxx_try_compile "$LINENO"; then :
59324 glibcxx_cv_func_modfl_use=yes
59325 else
59326 glibcxx_cv_func_modfl_use=no
59328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59329 ac_ext=c
59330 ac_cpp='$CPP $CPPFLAGS'
59331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
59340 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
59342 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
59343 for ac_func in modfl
59344 do :
59345 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
59346 if test "x$ac_cv_func_modfl" = xyes; then :
59347 cat >>confdefs.h <<_ACEOF
59348 #define HAVE_MODFL 1
59349 _ACEOF
59352 done
59354 else
59356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
59357 $as_echo_n "checking for _modfl declaration... " >&6; }
59358 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
59359 if ${glibcxx_cv_func__modfl_use+:} false; then :
59360 $as_echo_n "(cached) " >&6
59361 else
59364 ac_ext=cpp
59365 ac_cpp='$CXXCPP $CPPFLAGS'
59366 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59367 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59368 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59371 /* end confdefs.h. */
59372 #include <math.h>
59374 main ()
59376 _modfl(0, 0);
59378 return 0;
59380 _ACEOF
59381 if ac_fn_cxx_try_compile "$LINENO"; then :
59382 glibcxx_cv_func__modfl_use=yes
59383 else
59384 glibcxx_cv_func__modfl_use=no
59386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59387 ac_ext=c
59388 ac_cpp='$CPP $CPPFLAGS'
59389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59390 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
59398 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
59400 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
59401 for ac_func in _modfl
59402 do :
59403 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
59404 if test "x$ac_cv_func__modfl" = xyes; then :
59405 cat >>confdefs.h <<_ACEOF
59406 #define HAVE__MODFL 1
59407 _ACEOF
59410 done
59419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
59420 $as_echo_n "checking for powl declaration... " >&6; }
59421 if test x${glibcxx_cv_func_powl_use+set} != xset; then
59422 if ${glibcxx_cv_func_powl_use+:} false; then :
59423 $as_echo_n "(cached) " >&6
59424 else
59427 ac_ext=cpp
59428 ac_cpp='$CXXCPP $CPPFLAGS'
59429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59434 /* end confdefs.h. */
59435 #include <math.h>
59437 main ()
59439 powl(0, 0);
59441 return 0;
59443 _ACEOF
59444 if ac_fn_cxx_try_compile "$LINENO"; then :
59445 glibcxx_cv_func_powl_use=yes
59446 else
59447 glibcxx_cv_func_powl_use=no
59449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59450 ac_ext=c
59451 ac_cpp='$CPP $CPPFLAGS'
59452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
59461 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
59463 if test x$glibcxx_cv_func_powl_use = x"yes"; then
59464 for ac_func in powl
59465 do :
59466 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
59467 if test "x$ac_cv_func_powl" = xyes; then :
59468 cat >>confdefs.h <<_ACEOF
59469 #define HAVE_POWL 1
59470 _ACEOF
59473 done
59475 else
59477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
59478 $as_echo_n "checking for _powl declaration... " >&6; }
59479 if test x${glibcxx_cv_func__powl_use+set} != xset; then
59480 if ${glibcxx_cv_func__powl_use+:} false; then :
59481 $as_echo_n "(cached) " >&6
59482 else
59485 ac_ext=cpp
59486 ac_cpp='$CXXCPP $CPPFLAGS'
59487 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59488 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59489 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59492 /* end confdefs.h. */
59493 #include <math.h>
59495 main ()
59497 _powl(0, 0);
59499 return 0;
59501 _ACEOF
59502 if ac_fn_cxx_try_compile "$LINENO"; then :
59503 glibcxx_cv_func__powl_use=yes
59504 else
59505 glibcxx_cv_func__powl_use=no
59507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59508 ac_ext=c
59509 ac_cpp='$CPP $CPPFLAGS'
59510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
59519 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
59521 if test x$glibcxx_cv_func__powl_use = x"yes"; then
59522 for ac_func in _powl
59523 do :
59524 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
59525 if test "x$ac_cv_func__powl" = xyes; then :
59526 cat >>confdefs.h <<_ACEOF
59527 #define HAVE__POWL 1
59528 _ACEOF
59531 done
59540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
59541 $as_echo_n "checking for sqrtl declaration... " >&6; }
59542 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
59543 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
59544 $as_echo_n "(cached) " >&6
59545 else
59548 ac_ext=cpp
59549 ac_cpp='$CXXCPP $CPPFLAGS'
59550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59555 /* end confdefs.h. */
59556 #include <math.h>
59557 #ifdef HAVE_IEEEFP_H
59558 #include <ieeefp.h>
59559 #endif
59562 main ()
59564 sqrtl(0);
59566 return 0;
59568 _ACEOF
59569 if ac_fn_cxx_try_compile "$LINENO"; then :
59570 glibcxx_cv_func_sqrtl_use=yes
59571 else
59572 glibcxx_cv_func_sqrtl_use=no
59574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59575 ac_ext=c
59576 ac_cpp='$CPP $CPPFLAGS'
59577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
59586 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
59588 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
59589 for ac_func in sqrtl
59590 do :
59591 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
59592 if test "x$ac_cv_func_sqrtl" = xyes; then :
59593 cat >>confdefs.h <<_ACEOF
59594 #define HAVE_SQRTL 1
59595 _ACEOF
59598 done
59600 else
59602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
59603 $as_echo_n "checking for _sqrtl declaration... " >&6; }
59604 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
59605 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
59606 $as_echo_n "(cached) " >&6
59607 else
59610 ac_ext=cpp
59611 ac_cpp='$CXXCPP $CPPFLAGS'
59612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59617 /* end confdefs.h. */
59618 #include <math.h>
59619 #ifdef HAVE_IEEEFP_H
59620 #include <ieeefp.h>
59621 #endif
59624 main ()
59626 _sqrtl(0);
59628 return 0;
59630 _ACEOF
59631 if ac_fn_cxx_try_compile "$LINENO"; then :
59632 glibcxx_cv_func__sqrtl_use=yes
59633 else
59634 glibcxx_cv_func__sqrtl_use=no
59636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59637 ac_ext=c
59638 ac_cpp='$CPP $CPPFLAGS'
59639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59640 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59641 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
59648 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
59650 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
59651 for ac_func in _sqrtl
59652 do :
59653 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
59654 if test "x$ac_cv_func__sqrtl" = xyes; then :
59655 cat >>confdefs.h <<_ACEOF
59656 #define HAVE__SQRTL 1
59657 _ACEOF
59660 done
59669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
59670 $as_echo_n "checking for sincosl declaration... " >&6; }
59671 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
59672 if ${glibcxx_cv_func_sincosl_use+:} false; then :
59673 $as_echo_n "(cached) " >&6
59674 else
59677 ac_ext=cpp
59678 ac_cpp='$CXXCPP $CPPFLAGS'
59679 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59680 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59681 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59684 /* end confdefs.h. */
59685 #include <math.h>
59687 main ()
59689 sincosl(0, 0, 0);
59691 return 0;
59693 _ACEOF
59694 if ac_fn_cxx_try_compile "$LINENO"; then :
59695 glibcxx_cv_func_sincosl_use=yes
59696 else
59697 glibcxx_cv_func_sincosl_use=no
59699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59700 ac_ext=c
59701 ac_cpp='$CPP $CPPFLAGS'
59702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
59711 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
59713 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
59714 for ac_func in sincosl
59715 do :
59716 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
59717 if test "x$ac_cv_func_sincosl" = xyes; then :
59718 cat >>confdefs.h <<_ACEOF
59719 #define HAVE_SINCOSL 1
59720 _ACEOF
59723 done
59725 else
59727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
59728 $as_echo_n "checking for _sincosl declaration... " >&6; }
59729 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
59730 if ${glibcxx_cv_func__sincosl_use+:} false; then :
59731 $as_echo_n "(cached) " >&6
59732 else
59735 ac_ext=cpp
59736 ac_cpp='$CXXCPP $CPPFLAGS'
59737 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59738 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59739 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59742 /* end confdefs.h. */
59743 #include <math.h>
59745 main ()
59747 _sincosl(0, 0, 0);
59749 return 0;
59751 _ACEOF
59752 if ac_fn_cxx_try_compile "$LINENO"; then :
59753 glibcxx_cv_func__sincosl_use=yes
59754 else
59755 glibcxx_cv_func__sincosl_use=no
59757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59758 ac_ext=c
59759 ac_cpp='$CPP $CPPFLAGS'
59760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
59769 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
59771 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
59772 for ac_func in _sincosl
59773 do :
59774 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
59775 if test "x$ac_cv_func__sincosl" = xyes; then :
59776 cat >>confdefs.h <<_ACEOF
59777 #define HAVE__SINCOSL 1
59778 _ACEOF
59781 done
59790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
59791 $as_echo_n "checking for finitel declaration... " >&6; }
59792 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
59793 if ${glibcxx_cv_func_finitel_use+:} false; then :
59794 $as_echo_n "(cached) " >&6
59795 else
59798 ac_ext=cpp
59799 ac_cpp='$CXXCPP $CPPFLAGS'
59800 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59801 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59802 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59805 /* end confdefs.h. */
59806 #include <math.h>
59807 #ifdef HAVE_IEEEFP_H
59808 #include <ieeefp.h>
59809 #endif
59812 main ()
59814 finitel(0);
59816 return 0;
59818 _ACEOF
59819 if ac_fn_cxx_try_compile "$LINENO"; then :
59820 glibcxx_cv_func_finitel_use=yes
59821 else
59822 glibcxx_cv_func_finitel_use=no
59824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59825 ac_ext=c
59826 ac_cpp='$CPP $CPPFLAGS'
59827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
59836 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
59838 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
59839 for ac_func in finitel
59840 do :
59841 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
59842 if test "x$ac_cv_func_finitel" = xyes; then :
59843 cat >>confdefs.h <<_ACEOF
59844 #define HAVE_FINITEL 1
59845 _ACEOF
59848 done
59850 else
59852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
59853 $as_echo_n "checking for _finitel declaration... " >&6; }
59854 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
59855 if ${glibcxx_cv_func__finitel_use+:} false; then :
59856 $as_echo_n "(cached) " >&6
59857 else
59860 ac_ext=cpp
59861 ac_cpp='$CXXCPP $CPPFLAGS'
59862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59867 /* end confdefs.h. */
59868 #include <math.h>
59869 #ifdef HAVE_IEEEFP_H
59870 #include <ieeefp.h>
59871 #endif
59874 main ()
59876 _finitel(0);
59878 return 0;
59880 _ACEOF
59881 if ac_fn_cxx_try_compile "$LINENO"; then :
59882 glibcxx_cv_func__finitel_use=yes
59883 else
59884 glibcxx_cv_func__finitel_use=no
59886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59887 ac_ext=c
59888 ac_cpp='$CPP $CPPFLAGS'
59889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
59898 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
59900 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
59901 for ac_func in _finitel
59902 do :
59903 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
59904 if test "x$ac_cv_func__finitel" = xyes; then :
59905 cat >>confdefs.h <<_ACEOF
59906 #define HAVE__FINITEL 1
59907 _ACEOF
59910 done
59918 LIBS="$ac_save_LIBS"
59919 CXXFLAGS="$ac_save_CXXFLAGS"
59922 ac_test_CXXFLAGS="${CXXFLAGS+set}"
59923 ac_save_CXXFLAGS="$CXXFLAGS"
59924 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
59927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
59928 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
59929 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
59930 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
59931 $as_echo_n "(cached) " >&6
59932 else
59935 ac_ext=cpp
59936 ac_cpp='$CXXCPP $CPPFLAGS'
59937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59942 /* end confdefs.h. */
59943 #include <stdlib.h>
59945 main ()
59947 at_quick_exit(0);
59949 return 0;
59951 _ACEOF
59952 if ac_fn_cxx_try_compile "$LINENO"; then :
59953 glibcxx_cv_func_at_quick_exit_use=yes
59954 else
59955 glibcxx_cv_func_at_quick_exit_use=no
59957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59958 ac_ext=c
59959 ac_cpp='$CPP $CPPFLAGS'
59960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
59969 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
59970 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
59971 for ac_func in at_quick_exit
59972 do :
59973 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
59974 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
59975 cat >>confdefs.h <<_ACEOF
59976 #define HAVE_AT_QUICK_EXIT 1
59977 _ACEOF
59980 done
59985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
59986 $as_echo_n "checking for quick_exit declaration... " >&6; }
59987 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
59988 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
59989 $as_echo_n "(cached) " >&6
59990 else
59993 ac_ext=cpp
59994 ac_cpp='$CXXCPP $CPPFLAGS'
59995 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59996 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59997 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60000 /* end confdefs.h. */
60001 #include <stdlib.h>
60003 main ()
60005 quick_exit(0);
60007 return 0;
60009 _ACEOF
60010 if ac_fn_cxx_try_compile "$LINENO"; then :
60011 glibcxx_cv_func_quick_exit_use=yes
60012 else
60013 glibcxx_cv_func_quick_exit_use=no
60015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60016 ac_ext=c
60017 ac_cpp='$CPP $CPPFLAGS'
60018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
60027 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
60028 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
60029 for ac_func in quick_exit
60030 do :
60031 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
60032 if test "x$ac_cv_func_quick_exit" = xyes; then :
60033 cat >>confdefs.h <<_ACEOF
60034 #define HAVE_QUICK_EXIT 1
60035 _ACEOF
60038 done
60043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
60044 $as_echo_n "checking for strtold declaration... " >&6; }
60045 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
60046 if ${glibcxx_cv_func_strtold_use+:} false; then :
60047 $as_echo_n "(cached) " >&6
60048 else
60051 ac_ext=cpp
60052 ac_cpp='$CXXCPP $CPPFLAGS'
60053 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60054 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60055 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60058 /* end confdefs.h. */
60059 #include <stdlib.h>
60061 main ()
60063 strtold(0, 0);
60065 return 0;
60067 _ACEOF
60068 if ac_fn_cxx_try_compile "$LINENO"; then :
60069 glibcxx_cv_func_strtold_use=yes
60070 else
60071 glibcxx_cv_func_strtold_use=no
60073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60074 ac_ext=c
60075 ac_cpp='$CPP $CPPFLAGS'
60076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
60085 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
60086 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
60087 for ac_func in strtold
60088 do :
60089 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
60090 if test "x$ac_cv_func_strtold" = xyes; then :
60091 cat >>confdefs.h <<_ACEOF
60092 #define HAVE_STRTOLD 1
60093 _ACEOF
60096 done
60103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
60104 $as_echo_n "checking for strtof declaration... " >&6; }
60105 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
60106 if ${glibcxx_cv_func_strtof_use+:} false; then :
60107 $as_echo_n "(cached) " >&6
60108 else
60111 ac_ext=cpp
60112 ac_cpp='$CXXCPP $CPPFLAGS'
60113 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60114 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60115 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60118 /* end confdefs.h. */
60119 #include <stdlib.h>
60121 main ()
60123 strtof(0, 0);
60125 return 0;
60127 _ACEOF
60128 if ac_fn_cxx_try_compile "$LINENO"; then :
60129 glibcxx_cv_func_strtof_use=yes
60130 else
60131 glibcxx_cv_func_strtof_use=no
60133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60134 ac_ext=c
60135 ac_cpp='$CPP $CPPFLAGS'
60136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
60145 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
60146 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
60147 for ac_func in strtof
60148 do :
60149 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
60150 if test "x$ac_cv_func_strtof" = xyes; then :
60151 cat >>confdefs.h <<_ACEOF
60152 #define HAVE_STRTOF 1
60153 _ACEOF
60156 done
60163 CXXFLAGS="$ac_save_CXXFLAGS"
60165 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
60166 do :
60167 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60168 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60169 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
60170 cat >>confdefs.h <<_ACEOF
60171 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60172 _ACEOF
60175 done
60177 for ac_func in _wfopen
60178 do :
60179 ac_fn_c_check_func "$LINENO" "_wfopen" "ac_cv_func__wfopen"
60180 if test "x$ac_cv_func__wfopen" = xyes; then :
60181 cat >>confdefs.h <<_ACEOF
60182 #define HAVE__WFOPEN 1
60183 _ACEOF
60186 done
60189 *-netbsd* | *-openbsd*)
60190 SECTION_FLAGS='-ffunction-sections -fdata-sections'
60193 # If we're not using GNU ld, then there's no point in even trying these
60194 # tests. Check for that first. We should have already tested for gld
60195 # by now (in libtool), but require it now just to be safe...
60196 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
60197 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
60201 # The name set by libtool depends on the version of libtool. Shame on us
60202 # for depending on an impl detail, but c'est la vie. Older versions used
60203 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
60204 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
60205 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
60206 # set (hence we're using an older libtool), then set it.
60207 if test x${with_gnu_ld+set} != xset; then
60208 if test x${ac_cv_prog_gnu_ld+set} != xset; then
60209 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
60210 with_gnu_ld=no
60211 else
60212 with_gnu_ld=$ac_cv_prog_gnu_ld
60216 # Start by getting the version number. I think the libtool test already
60217 # does some of this, but throws away the result.
60218 glibcxx_ld_is_gold=no
60219 if test x"$with_gnu_ld" = x"yes"; then
60220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
60221 $as_echo_n "checking for ld version... " >&6; }
60223 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
60224 glibcxx_ld_is_gold=yes
60226 ldver=`$LD --version 2>/dev/null |
60227 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
60229 glibcxx_gnu_ld_version=`echo $ldver | \
60230 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
60231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
60232 $as_echo "$glibcxx_gnu_ld_version" >&6; }
60235 # Set --gc-sections.
60236 glibcxx_have_gc_sections=no
60237 if test "$glibcxx_ld_is_gold" = "yes"; then
60238 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
60239 glibcxx_have_gc_sections=yes
60241 else
60242 glibcxx_gcsections_min_ld=21602
60243 if test x"$with_gnu_ld" = x"yes" &&
60244 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
60245 glibcxx_have_gc_sections=yes
60248 if test "$glibcxx_have_gc_sections" = "yes"; then
60249 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
60250 # NB: This flag only works reliably after 2.16.1. Configure tests
60251 # for this are difficult, so hard wire a value that should work.
60253 ac_test_CFLAGS="${CFLAGS+set}"
60254 ac_save_CFLAGS="$CFLAGS"
60255 CFLAGS='-Wl,--gc-sections'
60257 # Check for -Wl,--gc-sections
60258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
60259 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
60260 if test x$gcc_no_link = xyes; then
60261 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60264 /* end confdefs.h. */
60265 int one(void) { return 1; }
60266 int two(void) { return 2; }
60269 main ()
60271 two();
60273 return 0;
60275 _ACEOF
60276 if ac_fn_c_try_link "$LINENO"; then :
60277 ac_gcsections=yes
60278 else
60279 ac_gcsections=no
60281 rm -f core conftest.err conftest.$ac_objext \
60282 conftest$ac_exeext conftest.$ac_ext
60283 if test "$ac_gcsections" = "yes"; then
60284 rm -f conftest.c
60285 touch conftest.c
60286 if $CC -c conftest.c; then
60287 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
60288 grep "Warning: gc-sections option ignored" > /dev/null; then
60289 ac_gcsections=no
60292 rm -f conftest.c conftest.o conftest
60294 if test "$ac_gcsections" = "yes"; then
60295 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
60297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
60298 $as_echo "$ac_gcsections" >&6; }
60300 if test "$ac_test_CFLAGS" = set; then
60301 CFLAGS="$ac_save_CFLAGS"
60302 else
60303 # this is the suspicious part
60304 CFLAGS=''
60308 # Set -z,relro.
60309 # Note this is only for shared objects.
60310 ac_ld_relro=no
60311 if test x"$with_gnu_ld" = x"yes"; then
60312 # cygwin and mingw uses PE, which has no ELF relro support,
60313 # multi target ld may confuse configure machinery
60314 case "$host" in
60315 *-*-cygwin*)
60317 *-*-mingw*)
60320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
60321 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
60322 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
60323 if test -n "$cxx_z_relo"; then
60324 OPT_LDFLAGS="-Wl,-z,relro"
60325 ac_ld_relro=yes
60327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
60328 $as_echo "$ac_ld_relro" >&6; }
60329 esac
60332 # Set linker optimization flags.
60333 if test x"$with_gnu_ld" = x"yes"; then
60334 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
60340 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
60342 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
60344 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
60346 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
60348 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
60350 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
60352 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
60354 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
60356 if test x"long_double_math_on_this_cpu" = x"yes"; then
60357 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
60359 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
60361 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
60364 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
60365 do :
60366 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60367 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60368 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
60369 cat >>confdefs.h <<_ACEOF
60370 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60371 _ACEOF
60374 done
60376 for ac_func in timespec_get
60377 do :
60378 ac_fn_c_check_func "$LINENO" "timespec_get" "ac_cv_func_timespec_get"
60379 if test "x$ac_cv_func_timespec_get" = xyes; then :
60380 cat >>confdefs.h <<_ACEOF
60381 #define HAVE_TIMESPEC_GET 1
60382 _ACEOF
60385 done
60387 for ac_func in sockatmark
60388 do :
60389 ac_fn_c_check_func "$LINENO" "sockatmark" "ac_cv_func_sockatmark"
60390 if test "x$ac_cv_func_sockatmark" = xyes; then :
60391 cat >>confdefs.h <<_ACEOF
60392 #define HAVE_SOCKATMARK 1
60393 _ACEOF
60396 done
60399 *-qnx6.1* | *-qnx6.2*)
60400 SECTION_FLAGS='-ffunction-sections -fdata-sections'
60403 # If we're not using GNU ld, then there's no point in even trying these
60404 # tests. Check for that first. We should have already tested for gld
60405 # by now (in libtool), but require it now just to be safe...
60406 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
60407 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
60411 # The name set by libtool depends on the version of libtool. Shame on us
60412 # for depending on an impl detail, but c'est la vie. Older versions used
60413 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
60414 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
60415 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
60416 # set (hence we're using an older libtool), then set it.
60417 if test x${with_gnu_ld+set} != xset; then
60418 if test x${ac_cv_prog_gnu_ld+set} != xset; then
60419 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
60420 with_gnu_ld=no
60421 else
60422 with_gnu_ld=$ac_cv_prog_gnu_ld
60426 # Start by getting the version number. I think the libtool test already
60427 # does some of this, but throws away the result.
60428 glibcxx_ld_is_gold=no
60429 if test x"$with_gnu_ld" = x"yes"; then
60430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
60431 $as_echo_n "checking for ld version... " >&6; }
60433 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
60434 glibcxx_ld_is_gold=yes
60436 ldver=`$LD --version 2>/dev/null |
60437 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
60439 glibcxx_gnu_ld_version=`echo $ldver | \
60440 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
60441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
60442 $as_echo "$glibcxx_gnu_ld_version" >&6; }
60445 # Set --gc-sections.
60446 glibcxx_have_gc_sections=no
60447 if test "$glibcxx_ld_is_gold" = "yes"; then
60448 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
60449 glibcxx_have_gc_sections=yes
60451 else
60452 glibcxx_gcsections_min_ld=21602
60453 if test x"$with_gnu_ld" = x"yes" &&
60454 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
60455 glibcxx_have_gc_sections=yes
60458 if test "$glibcxx_have_gc_sections" = "yes"; then
60459 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
60460 # NB: This flag only works reliably after 2.16.1. Configure tests
60461 # for this are difficult, so hard wire a value that should work.
60463 ac_test_CFLAGS="${CFLAGS+set}"
60464 ac_save_CFLAGS="$CFLAGS"
60465 CFLAGS='-Wl,--gc-sections'
60467 # Check for -Wl,--gc-sections
60468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
60469 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
60470 if test x$gcc_no_link = xyes; then
60471 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60474 /* end confdefs.h. */
60475 int one(void) { return 1; }
60476 int two(void) { return 2; }
60479 main ()
60481 two();
60483 return 0;
60485 _ACEOF
60486 if ac_fn_c_try_link "$LINENO"; then :
60487 ac_gcsections=yes
60488 else
60489 ac_gcsections=no
60491 rm -f core conftest.err conftest.$ac_objext \
60492 conftest$ac_exeext conftest.$ac_ext
60493 if test "$ac_gcsections" = "yes"; then
60494 rm -f conftest.c
60495 touch conftest.c
60496 if $CC -c conftest.c; then
60497 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
60498 grep "Warning: gc-sections option ignored" > /dev/null; then
60499 ac_gcsections=no
60502 rm -f conftest.c conftest.o conftest
60504 if test "$ac_gcsections" = "yes"; then
60505 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
60507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
60508 $as_echo "$ac_gcsections" >&6; }
60510 if test "$ac_test_CFLAGS" = set; then
60511 CFLAGS="$ac_save_CFLAGS"
60512 else
60513 # this is the suspicious part
60514 CFLAGS=''
60518 # Set -z,relro.
60519 # Note this is only for shared objects.
60520 ac_ld_relro=no
60521 if test x"$with_gnu_ld" = x"yes"; then
60522 # cygwin and mingw uses PE, which has no ELF relro support,
60523 # multi target ld may confuse configure machinery
60524 case "$host" in
60525 *-*-cygwin*)
60527 *-*-mingw*)
60530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
60531 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
60532 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
60533 if test -n "$cxx_z_relo"; then
60534 OPT_LDFLAGS="-Wl,-z,relro"
60535 ac_ld_relro=yes
60537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
60538 $as_echo "$ac_ld_relro" >&6; }
60539 esac
60542 # Set linker optimization flags.
60543 if test x"$with_gnu_ld" = x"yes"; then
60544 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
60550 $as_echo "#define HAVE_COSF 1" >>confdefs.h
60552 $as_echo "#define HAVE_COSL 1" >>confdefs.h
60554 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
60556 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
60558 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
60560 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
60562 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
60564 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
60566 $as_echo "#define HAVE_SINF 1" >>confdefs.h
60568 $as_echo "#define HAVE_SINL 1" >>confdefs.h
60570 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
60572 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
60575 *-rtems*)
60577 # All these tests are for C++; save the language and the compiler flags.
60578 # The CXXFLAGS thing is suspicious, but based on similar bits previously
60579 # found in GLIBCXX_CONFIGURE.
60581 ac_ext=cpp
60582 ac_cpp='$CXXCPP $CPPFLAGS'
60583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60587 ac_test_CXXFLAGS="${CXXFLAGS+set}"
60588 ac_save_CXXFLAGS="$CXXFLAGS"
60590 # Check for -ffunction-sections -fdata-sections
60591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
60592 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
60593 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
60594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60595 /* end confdefs.h. */
60596 int foo; void bar() { };
60598 main ()
60602 return 0;
60604 _ACEOF
60605 if ac_fn_cxx_try_compile "$LINENO"; then :
60606 ac_fdsections=yes
60607 else
60608 ac_fdsections=no
60610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60611 if test "$ac_test_CXXFLAGS" = set; then
60612 CXXFLAGS="$ac_save_CXXFLAGS"
60613 else
60614 # this is the suspicious part
60615 CXXFLAGS=''
60617 if test x"$ac_fdsections" = x"yes"; then
60618 SECTION_FLAGS='-ffunction-sections -fdata-sections'
60620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
60621 $as_echo "$ac_fdsections" >&6; }
60623 ac_ext=c
60624 ac_cpp='$CPP $CPPFLAGS'
60625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60632 # If we're not using GNU ld, then there's no point in even trying these
60633 # tests. Check for that first. We should have already tested for gld
60634 # by now (in libtool), but require it now just to be safe...
60635 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
60636 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
60640 # The name set by libtool depends on the version of libtool. Shame on us
60641 # for depending on an impl detail, but c'est la vie. Older versions used
60642 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
60643 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
60644 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
60645 # set (hence we're using an older libtool), then set it.
60646 if test x${with_gnu_ld+set} != xset; then
60647 if test x${ac_cv_prog_gnu_ld+set} != xset; then
60648 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
60649 with_gnu_ld=no
60650 else
60651 with_gnu_ld=$ac_cv_prog_gnu_ld
60655 # Start by getting the version number. I think the libtool test already
60656 # does some of this, but throws away the result.
60657 glibcxx_ld_is_gold=no
60658 if test x"$with_gnu_ld" = x"yes"; then
60659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
60660 $as_echo_n "checking for ld version... " >&6; }
60662 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
60663 glibcxx_ld_is_gold=yes
60665 ldver=`$LD --version 2>/dev/null |
60666 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
60668 glibcxx_gnu_ld_version=`echo $ldver | \
60669 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
60670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
60671 $as_echo "$glibcxx_gnu_ld_version" >&6; }
60674 # Set --gc-sections.
60675 glibcxx_have_gc_sections=no
60676 if test "$glibcxx_ld_is_gold" = "yes"; then
60677 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
60678 glibcxx_have_gc_sections=yes
60680 else
60681 glibcxx_gcsections_min_ld=21602
60682 if test x"$with_gnu_ld" = x"yes" &&
60683 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
60684 glibcxx_have_gc_sections=yes
60687 if test "$glibcxx_have_gc_sections" = "yes"; then
60688 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
60689 # NB: This flag only works reliably after 2.16.1. Configure tests
60690 # for this are difficult, so hard wire a value that should work.
60692 ac_test_CFLAGS="${CFLAGS+set}"
60693 ac_save_CFLAGS="$CFLAGS"
60694 CFLAGS='-Wl,--gc-sections'
60696 # Check for -Wl,--gc-sections
60697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
60698 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
60699 if test x$gcc_no_link = xyes; then
60700 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60703 /* end confdefs.h. */
60704 int one(void) { return 1; }
60705 int two(void) { return 2; }
60708 main ()
60710 two();
60712 return 0;
60714 _ACEOF
60715 if ac_fn_c_try_link "$LINENO"; then :
60716 ac_gcsections=yes
60717 else
60718 ac_gcsections=no
60720 rm -f core conftest.err conftest.$ac_objext \
60721 conftest$ac_exeext conftest.$ac_ext
60722 if test "$ac_gcsections" = "yes"; then
60723 rm -f conftest.c
60724 touch conftest.c
60725 if $CC -c conftest.c; then
60726 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
60727 grep "Warning: gc-sections option ignored" > /dev/null; then
60728 ac_gcsections=no
60731 rm -f conftest.c conftest.o conftest
60733 if test "$ac_gcsections" = "yes"; then
60734 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
60736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
60737 $as_echo "$ac_gcsections" >&6; }
60739 if test "$ac_test_CFLAGS" = set; then
60740 CFLAGS="$ac_save_CFLAGS"
60741 else
60742 # this is the suspicious part
60743 CFLAGS=''
60747 # Set -z,relro.
60748 # Note this is only for shared objects.
60749 ac_ld_relro=no
60750 if test x"$with_gnu_ld" = x"yes"; then
60751 # cygwin and mingw uses PE, which has no ELF relro support,
60752 # multi target ld may confuse configure machinery
60753 case "$host" in
60754 *-*-cygwin*)
60756 *-*-mingw*)
60759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
60760 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
60761 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
60762 if test -n "$cxx_z_relo"; then
60763 OPT_LDFLAGS="-Wl,-z,relro"
60764 ac_ld_relro=yes
60766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
60767 $as_echo "$ac_ld_relro" >&6; }
60768 esac
60771 # Set linker optimization flags.
60772 if test x"$with_gnu_ld" = x"yes"; then
60773 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
60780 ac_test_CXXFLAGS="${CXXFLAGS+set}"
60781 ac_save_CXXFLAGS="$CXXFLAGS"
60782 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
60784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
60785 $as_echo_n "checking for sin in -lm... " >&6; }
60786 if ${ac_cv_lib_m_sin+:} false; then :
60787 $as_echo_n "(cached) " >&6
60788 else
60789 ac_check_lib_save_LIBS=$LIBS
60790 LIBS="-lm $LIBS"
60791 if test x$gcc_no_link = xyes; then
60792 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60795 /* end confdefs.h. */
60797 /* Override any GCC internal prototype to avoid an error.
60798 Use char because int might match the return type of a GCC
60799 builtin and then its argument prototype would still apply. */
60800 #ifdef __cplusplus
60801 extern "C"
60802 #endif
60803 char sin ();
60805 main ()
60807 return sin ();
60809 return 0;
60811 _ACEOF
60812 if ac_fn_c_try_link "$LINENO"; then :
60813 ac_cv_lib_m_sin=yes
60814 else
60815 ac_cv_lib_m_sin=no
60817 rm -f core conftest.err conftest.$ac_objext \
60818 conftest$ac_exeext conftest.$ac_ext
60819 LIBS=$ac_check_lib_save_LIBS
60821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
60822 $as_echo "$ac_cv_lib_m_sin" >&6; }
60823 if test "x$ac_cv_lib_m_sin" = xyes; then :
60824 libm="-lm"
60827 ac_save_LIBS="$LIBS"
60828 LIBS="$LIBS $libm"
60832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
60833 $as_echo_n "checking for isinf declaration... " >&6; }
60834 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
60835 if ${glibcxx_cv_func_isinf_use+:} false; then :
60836 $as_echo_n "(cached) " >&6
60837 else
60840 ac_ext=cpp
60841 ac_cpp='$CXXCPP $CPPFLAGS'
60842 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60843 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60844 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60847 /* end confdefs.h. */
60848 #include <math.h>
60849 #ifdef HAVE_IEEEFP_H
60850 #include <ieeefp.h>
60851 #endif
60854 main ()
60856 isinf(0);
60858 return 0;
60860 _ACEOF
60861 if ac_fn_cxx_try_compile "$LINENO"; then :
60862 glibcxx_cv_func_isinf_use=yes
60863 else
60864 glibcxx_cv_func_isinf_use=no
60866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60867 ac_ext=c
60868 ac_cpp='$CPP $CPPFLAGS'
60869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
60878 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
60880 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
60881 for ac_func in isinf
60882 do :
60883 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
60884 if test "x$ac_cv_func_isinf" = xyes; then :
60885 cat >>confdefs.h <<_ACEOF
60886 #define HAVE_ISINF 1
60887 _ACEOF
60890 done
60892 else
60894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
60895 $as_echo_n "checking for _isinf declaration... " >&6; }
60896 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
60897 if ${glibcxx_cv_func__isinf_use+:} false; then :
60898 $as_echo_n "(cached) " >&6
60899 else
60902 ac_ext=cpp
60903 ac_cpp='$CXXCPP $CPPFLAGS'
60904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60909 /* end confdefs.h. */
60910 #include <math.h>
60911 #ifdef HAVE_IEEEFP_H
60912 #include <ieeefp.h>
60913 #endif
60916 main ()
60918 _isinf(0);
60920 return 0;
60922 _ACEOF
60923 if ac_fn_cxx_try_compile "$LINENO"; then :
60924 glibcxx_cv_func__isinf_use=yes
60925 else
60926 glibcxx_cv_func__isinf_use=no
60928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60929 ac_ext=c
60930 ac_cpp='$CPP $CPPFLAGS'
60931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
60940 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
60942 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
60943 for ac_func in _isinf
60944 do :
60945 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
60946 if test "x$ac_cv_func__isinf" = xyes; then :
60947 cat >>confdefs.h <<_ACEOF
60948 #define HAVE__ISINF 1
60949 _ACEOF
60952 done
60961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
60962 $as_echo_n "checking for isnan declaration... " >&6; }
60963 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
60964 if ${glibcxx_cv_func_isnan_use+:} false; then :
60965 $as_echo_n "(cached) " >&6
60966 else
60969 ac_ext=cpp
60970 ac_cpp='$CXXCPP $CPPFLAGS'
60971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60976 /* end confdefs.h. */
60977 #include <math.h>
60978 #ifdef HAVE_IEEEFP_H
60979 #include <ieeefp.h>
60980 #endif
60983 main ()
60985 isnan(0);
60987 return 0;
60989 _ACEOF
60990 if ac_fn_cxx_try_compile "$LINENO"; then :
60991 glibcxx_cv_func_isnan_use=yes
60992 else
60993 glibcxx_cv_func_isnan_use=no
60995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60996 ac_ext=c
60997 ac_cpp='$CPP $CPPFLAGS'
60998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
61007 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
61009 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
61010 for ac_func in isnan
61011 do :
61012 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
61013 if test "x$ac_cv_func_isnan" = xyes; then :
61014 cat >>confdefs.h <<_ACEOF
61015 #define HAVE_ISNAN 1
61016 _ACEOF
61019 done
61021 else
61023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
61024 $as_echo_n "checking for _isnan declaration... " >&6; }
61025 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
61026 if ${glibcxx_cv_func__isnan_use+:} false; then :
61027 $as_echo_n "(cached) " >&6
61028 else
61031 ac_ext=cpp
61032 ac_cpp='$CXXCPP $CPPFLAGS'
61033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61038 /* end confdefs.h. */
61039 #include <math.h>
61040 #ifdef HAVE_IEEEFP_H
61041 #include <ieeefp.h>
61042 #endif
61045 main ()
61047 _isnan(0);
61049 return 0;
61051 _ACEOF
61052 if ac_fn_cxx_try_compile "$LINENO"; then :
61053 glibcxx_cv_func__isnan_use=yes
61054 else
61055 glibcxx_cv_func__isnan_use=no
61057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61058 ac_ext=c
61059 ac_cpp='$CPP $CPPFLAGS'
61060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
61069 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
61071 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
61072 for ac_func in _isnan
61073 do :
61074 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
61075 if test "x$ac_cv_func__isnan" = xyes; then :
61076 cat >>confdefs.h <<_ACEOF
61077 #define HAVE__ISNAN 1
61078 _ACEOF
61081 done
61090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
61091 $as_echo_n "checking for finite declaration... " >&6; }
61092 if test x${glibcxx_cv_func_finite_use+set} != xset; then
61093 if ${glibcxx_cv_func_finite_use+:} false; then :
61094 $as_echo_n "(cached) " >&6
61095 else
61098 ac_ext=cpp
61099 ac_cpp='$CXXCPP $CPPFLAGS'
61100 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61101 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61102 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61105 /* end confdefs.h. */
61106 #include <math.h>
61107 #ifdef HAVE_IEEEFP_H
61108 #include <ieeefp.h>
61109 #endif
61112 main ()
61114 finite(0);
61116 return 0;
61118 _ACEOF
61119 if ac_fn_cxx_try_compile "$LINENO"; then :
61120 glibcxx_cv_func_finite_use=yes
61121 else
61122 glibcxx_cv_func_finite_use=no
61124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61125 ac_ext=c
61126 ac_cpp='$CPP $CPPFLAGS'
61127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
61136 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
61138 if test x$glibcxx_cv_func_finite_use = x"yes"; then
61139 for ac_func in finite
61140 do :
61141 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
61142 if test "x$ac_cv_func_finite" = xyes; then :
61143 cat >>confdefs.h <<_ACEOF
61144 #define HAVE_FINITE 1
61145 _ACEOF
61148 done
61150 else
61152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
61153 $as_echo_n "checking for _finite declaration... " >&6; }
61154 if test x${glibcxx_cv_func__finite_use+set} != xset; then
61155 if ${glibcxx_cv_func__finite_use+:} false; then :
61156 $as_echo_n "(cached) " >&6
61157 else
61160 ac_ext=cpp
61161 ac_cpp='$CXXCPP $CPPFLAGS'
61162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61167 /* end confdefs.h. */
61168 #include <math.h>
61169 #ifdef HAVE_IEEEFP_H
61170 #include <ieeefp.h>
61171 #endif
61174 main ()
61176 _finite(0);
61178 return 0;
61180 _ACEOF
61181 if ac_fn_cxx_try_compile "$LINENO"; then :
61182 glibcxx_cv_func__finite_use=yes
61183 else
61184 glibcxx_cv_func__finite_use=no
61186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61187 ac_ext=c
61188 ac_cpp='$CPP $CPPFLAGS'
61189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
61198 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
61200 if test x$glibcxx_cv_func__finite_use = x"yes"; then
61201 for ac_func in _finite
61202 do :
61203 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
61204 if test "x$ac_cv_func__finite" = xyes; then :
61205 cat >>confdefs.h <<_ACEOF
61206 #define HAVE__FINITE 1
61207 _ACEOF
61210 done
61219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
61220 $as_echo_n "checking for sincos declaration... " >&6; }
61221 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
61222 if ${glibcxx_cv_func_sincos_use+:} false; then :
61223 $as_echo_n "(cached) " >&6
61224 else
61227 ac_ext=cpp
61228 ac_cpp='$CXXCPP $CPPFLAGS'
61229 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61230 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61231 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61234 /* end confdefs.h. */
61235 #include <math.h>
61237 main ()
61239 sincos(0, 0, 0);
61241 return 0;
61243 _ACEOF
61244 if ac_fn_cxx_try_compile "$LINENO"; then :
61245 glibcxx_cv_func_sincos_use=yes
61246 else
61247 glibcxx_cv_func_sincos_use=no
61249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61250 ac_ext=c
61251 ac_cpp='$CPP $CPPFLAGS'
61252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
61261 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
61263 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
61264 for ac_func in sincos
61265 do :
61266 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
61267 if test "x$ac_cv_func_sincos" = xyes; then :
61268 cat >>confdefs.h <<_ACEOF
61269 #define HAVE_SINCOS 1
61270 _ACEOF
61273 done
61275 else
61277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
61278 $as_echo_n "checking for _sincos declaration... " >&6; }
61279 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
61280 if ${glibcxx_cv_func__sincos_use+:} false; then :
61281 $as_echo_n "(cached) " >&6
61282 else
61285 ac_ext=cpp
61286 ac_cpp='$CXXCPP $CPPFLAGS'
61287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61292 /* end confdefs.h. */
61293 #include <math.h>
61295 main ()
61297 _sincos(0, 0, 0);
61299 return 0;
61301 _ACEOF
61302 if ac_fn_cxx_try_compile "$LINENO"; then :
61303 glibcxx_cv_func__sincos_use=yes
61304 else
61305 glibcxx_cv_func__sincos_use=no
61307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61308 ac_ext=c
61309 ac_cpp='$CPP $CPPFLAGS'
61310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
61319 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
61321 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
61322 for ac_func in _sincos
61323 do :
61324 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
61325 if test "x$ac_cv_func__sincos" = xyes; then :
61326 cat >>confdefs.h <<_ACEOF
61327 #define HAVE__SINCOS 1
61328 _ACEOF
61331 done
61340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
61341 $as_echo_n "checking for fpclass declaration... " >&6; }
61342 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
61343 if ${glibcxx_cv_func_fpclass_use+:} false; then :
61344 $as_echo_n "(cached) " >&6
61345 else
61348 ac_ext=cpp
61349 ac_cpp='$CXXCPP $CPPFLAGS'
61350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61355 /* end confdefs.h. */
61356 #include <math.h>
61357 #ifdef HAVE_IEEEFP_H
61358 #include <ieeefp.h>
61359 #endif
61362 main ()
61364 fpclass(0);
61366 return 0;
61368 _ACEOF
61369 if ac_fn_cxx_try_compile "$LINENO"; then :
61370 glibcxx_cv_func_fpclass_use=yes
61371 else
61372 glibcxx_cv_func_fpclass_use=no
61374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61375 ac_ext=c
61376 ac_cpp='$CPP $CPPFLAGS'
61377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
61386 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
61388 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
61389 for ac_func in fpclass
61390 do :
61391 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
61392 if test "x$ac_cv_func_fpclass" = xyes; then :
61393 cat >>confdefs.h <<_ACEOF
61394 #define HAVE_FPCLASS 1
61395 _ACEOF
61398 done
61400 else
61402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
61403 $as_echo_n "checking for _fpclass declaration... " >&6; }
61404 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
61405 if ${glibcxx_cv_func__fpclass_use+:} false; then :
61406 $as_echo_n "(cached) " >&6
61407 else
61410 ac_ext=cpp
61411 ac_cpp='$CXXCPP $CPPFLAGS'
61412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61417 /* end confdefs.h. */
61418 #include <math.h>
61419 #ifdef HAVE_IEEEFP_H
61420 #include <ieeefp.h>
61421 #endif
61424 main ()
61426 _fpclass(0);
61428 return 0;
61430 _ACEOF
61431 if ac_fn_cxx_try_compile "$LINENO"; then :
61432 glibcxx_cv_func__fpclass_use=yes
61433 else
61434 glibcxx_cv_func__fpclass_use=no
61436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61437 ac_ext=c
61438 ac_cpp='$CPP $CPPFLAGS'
61439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
61448 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
61450 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
61451 for ac_func in _fpclass
61452 do :
61453 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
61454 if test "x$ac_cv_func__fpclass" = xyes; then :
61455 cat >>confdefs.h <<_ACEOF
61456 #define HAVE__FPCLASS 1
61457 _ACEOF
61460 done
61469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
61470 $as_echo_n "checking for qfpclass declaration... " >&6; }
61471 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
61472 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
61473 $as_echo_n "(cached) " >&6
61474 else
61477 ac_ext=cpp
61478 ac_cpp='$CXXCPP $CPPFLAGS'
61479 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61480 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61481 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61484 /* end confdefs.h. */
61485 #include <math.h>
61486 #ifdef HAVE_IEEEFP_H
61487 #include <ieeefp.h>
61488 #endif
61491 main ()
61493 qfpclass(0);
61495 return 0;
61497 _ACEOF
61498 if ac_fn_cxx_try_compile "$LINENO"; then :
61499 glibcxx_cv_func_qfpclass_use=yes
61500 else
61501 glibcxx_cv_func_qfpclass_use=no
61503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61504 ac_ext=c
61505 ac_cpp='$CPP $CPPFLAGS'
61506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
61515 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
61517 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
61518 for ac_func in qfpclass
61519 do :
61520 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
61521 if test "x$ac_cv_func_qfpclass" = xyes; then :
61522 cat >>confdefs.h <<_ACEOF
61523 #define HAVE_QFPCLASS 1
61524 _ACEOF
61527 done
61529 else
61531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
61532 $as_echo_n "checking for _qfpclass declaration... " >&6; }
61533 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
61534 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
61535 $as_echo_n "(cached) " >&6
61536 else
61539 ac_ext=cpp
61540 ac_cpp='$CXXCPP $CPPFLAGS'
61541 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61542 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61543 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61546 /* end confdefs.h. */
61547 #include <math.h>
61548 #ifdef HAVE_IEEEFP_H
61549 #include <ieeefp.h>
61550 #endif
61553 main ()
61555 _qfpclass(0);
61557 return 0;
61559 _ACEOF
61560 if ac_fn_cxx_try_compile "$LINENO"; then :
61561 glibcxx_cv_func__qfpclass_use=yes
61562 else
61563 glibcxx_cv_func__qfpclass_use=no
61565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61566 ac_ext=c
61567 ac_cpp='$CPP $CPPFLAGS'
61568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
61577 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
61579 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
61580 for ac_func in _qfpclass
61581 do :
61582 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
61583 if test "x$ac_cv_func__qfpclass" = xyes; then :
61584 cat >>confdefs.h <<_ACEOF
61585 #define HAVE__QFPCLASS 1
61586 _ACEOF
61589 done
61598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
61599 $as_echo_n "checking for hypot declaration... " >&6; }
61600 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
61601 if ${glibcxx_cv_func_hypot_use+:} false; then :
61602 $as_echo_n "(cached) " >&6
61603 else
61606 ac_ext=cpp
61607 ac_cpp='$CXXCPP $CPPFLAGS'
61608 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61609 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61610 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61613 /* end confdefs.h. */
61614 #include <math.h>
61616 main ()
61618 hypot(0, 0);
61620 return 0;
61622 _ACEOF
61623 if ac_fn_cxx_try_compile "$LINENO"; then :
61624 glibcxx_cv_func_hypot_use=yes
61625 else
61626 glibcxx_cv_func_hypot_use=no
61628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61629 ac_ext=c
61630 ac_cpp='$CPP $CPPFLAGS'
61631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
61640 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
61642 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
61643 for ac_func in hypot
61644 do :
61645 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
61646 if test "x$ac_cv_func_hypot" = xyes; then :
61647 cat >>confdefs.h <<_ACEOF
61648 #define HAVE_HYPOT 1
61649 _ACEOF
61652 done
61654 else
61656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
61657 $as_echo_n "checking for _hypot declaration... " >&6; }
61658 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
61659 if ${glibcxx_cv_func__hypot_use+:} false; then :
61660 $as_echo_n "(cached) " >&6
61661 else
61664 ac_ext=cpp
61665 ac_cpp='$CXXCPP $CPPFLAGS'
61666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61671 /* end confdefs.h. */
61672 #include <math.h>
61674 main ()
61676 _hypot(0, 0);
61678 return 0;
61680 _ACEOF
61681 if ac_fn_cxx_try_compile "$LINENO"; then :
61682 glibcxx_cv_func__hypot_use=yes
61683 else
61684 glibcxx_cv_func__hypot_use=no
61686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61687 ac_ext=c
61688 ac_cpp='$CPP $CPPFLAGS'
61689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
61698 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
61700 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
61701 for ac_func in _hypot
61702 do :
61703 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
61704 if test "x$ac_cv_func__hypot" = xyes; then :
61705 cat >>confdefs.h <<_ACEOF
61706 #define HAVE__HYPOT 1
61707 _ACEOF
61710 done
61719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
61720 $as_echo_n "checking for float trig functions... " >&6; }
61721 if ${glibcxx_cv_func_float_trig_use+:} false; then :
61722 $as_echo_n "(cached) " >&6
61723 else
61726 ac_ext=cpp
61727 ac_cpp='$CXXCPP $CPPFLAGS'
61728 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61729 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61730 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61733 /* end confdefs.h. */
61734 #include <math.h>
61736 main ()
61738 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
61740 return 0;
61742 _ACEOF
61743 if ac_fn_cxx_try_compile "$LINENO"; then :
61744 glibcxx_cv_func_float_trig_use=yes
61745 else
61746 glibcxx_cv_func_float_trig_use=no
61748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61749 ac_ext=c
61750 ac_cpp='$CPP $CPPFLAGS'
61751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
61758 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
61759 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
61760 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
61761 do :
61762 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61763 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61764 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
61765 cat >>confdefs.h <<_ACEOF
61766 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61767 _ACEOF
61770 done
61772 else
61773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
61774 $as_echo_n "checking for _float trig functions... " >&6; }
61775 if ${glibcxx_cv_func__float_trig_use+:} false; then :
61776 $as_echo_n "(cached) " >&6
61777 else
61780 ac_ext=cpp
61781 ac_cpp='$CXXCPP $CPPFLAGS'
61782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61787 /* end confdefs.h. */
61788 #include <math.h>
61790 main ()
61792 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
61794 return 0;
61796 _ACEOF
61797 if ac_fn_cxx_try_compile "$LINENO"; then :
61798 glibcxx_cv_func__float_trig_use=yes
61799 else
61800 glibcxx_cv_func__float_trig_use=no
61802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61803 ac_ext=c
61804 ac_cpp='$CPP $CPPFLAGS'
61805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
61812 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
61813 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
61814 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
61815 do :
61816 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61817 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61818 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
61819 cat >>confdefs.h <<_ACEOF
61820 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61821 _ACEOF
61824 done
61833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
61834 $as_echo_n "checking for float round functions... " >&6; }
61835 if ${glibcxx_cv_func_float_round_use+:} false; then :
61836 $as_echo_n "(cached) " >&6
61837 else
61840 ac_ext=cpp
61841 ac_cpp='$CXXCPP $CPPFLAGS'
61842 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61843 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61844 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61847 /* end confdefs.h. */
61848 #include <math.h>
61850 main ()
61852 ceilf (0); floorf (0);
61854 return 0;
61856 _ACEOF
61857 if ac_fn_cxx_try_compile "$LINENO"; then :
61858 glibcxx_cv_func_float_round_use=yes
61859 else
61860 glibcxx_cv_func_float_round_use=no
61862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61863 ac_ext=c
61864 ac_cpp='$CPP $CPPFLAGS'
61865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
61872 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
61873 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
61874 for ac_func in ceilf floorf
61875 do :
61876 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61877 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61878 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
61879 cat >>confdefs.h <<_ACEOF
61880 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61881 _ACEOF
61884 done
61886 else
61887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
61888 $as_echo_n "checking for _float round functions... " >&6; }
61889 if ${glibcxx_cv_func__float_round_use+:} false; then :
61890 $as_echo_n "(cached) " >&6
61891 else
61894 ac_ext=cpp
61895 ac_cpp='$CXXCPP $CPPFLAGS'
61896 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61897 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61898 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61901 /* end confdefs.h. */
61902 #include <math.h>
61904 main ()
61906 _ceilf (0); _floorf (0);
61908 return 0;
61910 _ACEOF
61911 if ac_fn_cxx_try_compile "$LINENO"; then :
61912 glibcxx_cv_func__float_round_use=yes
61913 else
61914 glibcxx_cv_func__float_round_use=no
61916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61917 ac_ext=c
61918 ac_cpp='$CPP $CPPFLAGS'
61919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
61926 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
61927 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
61928 for ac_func in _ceilf _floorf
61929 do :
61930 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61931 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61932 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
61933 cat >>confdefs.h <<_ACEOF
61934 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61935 _ACEOF
61938 done
61948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
61949 $as_echo_n "checking for expf declaration... " >&6; }
61950 if test x${glibcxx_cv_func_expf_use+set} != xset; then
61951 if ${glibcxx_cv_func_expf_use+:} false; then :
61952 $as_echo_n "(cached) " >&6
61953 else
61956 ac_ext=cpp
61957 ac_cpp='$CXXCPP $CPPFLAGS'
61958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61963 /* end confdefs.h. */
61964 #include <math.h>
61965 #ifdef HAVE_IEEEFP_H
61966 #include <ieeefp.h>
61967 #endif
61970 main ()
61972 expf(0);
61974 return 0;
61976 _ACEOF
61977 if ac_fn_cxx_try_compile "$LINENO"; then :
61978 glibcxx_cv_func_expf_use=yes
61979 else
61980 glibcxx_cv_func_expf_use=no
61982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61983 ac_ext=c
61984 ac_cpp='$CPP $CPPFLAGS'
61985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
61994 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
61996 if test x$glibcxx_cv_func_expf_use = x"yes"; then
61997 for ac_func in expf
61998 do :
61999 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
62000 if test "x$ac_cv_func_expf" = xyes; then :
62001 cat >>confdefs.h <<_ACEOF
62002 #define HAVE_EXPF 1
62003 _ACEOF
62006 done
62008 else
62010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
62011 $as_echo_n "checking for _expf declaration... " >&6; }
62012 if test x${glibcxx_cv_func__expf_use+set} != xset; then
62013 if ${glibcxx_cv_func__expf_use+:} false; then :
62014 $as_echo_n "(cached) " >&6
62015 else
62018 ac_ext=cpp
62019 ac_cpp='$CXXCPP $CPPFLAGS'
62020 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62021 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62022 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62025 /* end confdefs.h. */
62026 #include <math.h>
62027 #ifdef HAVE_IEEEFP_H
62028 #include <ieeefp.h>
62029 #endif
62032 main ()
62034 _expf(0);
62036 return 0;
62038 _ACEOF
62039 if ac_fn_cxx_try_compile "$LINENO"; then :
62040 glibcxx_cv_func__expf_use=yes
62041 else
62042 glibcxx_cv_func__expf_use=no
62044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62045 ac_ext=c
62046 ac_cpp='$CPP $CPPFLAGS'
62047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
62056 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
62058 if test x$glibcxx_cv_func__expf_use = x"yes"; then
62059 for ac_func in _expf
62060 do :
62061 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
62062 if test "x$ac_cv_func__expf" = xyes; then :
62063 cat >>confdefs.h <<_ACEOF
62064 #define HAVE__EXPF 1
62065 _ACEOF
62068 done
62077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
62078 $as_echo_n "checking for isnanf declaration... " >&6; }
62079 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
62080 if ${glibcxx_cv_func_isnanf_use+:} false; then :
62081 $as_echo_n "(cached) " >&6
62082 else
62085 ac_ext=cpp
62086 ac_cpp='$CXXCPP $CPPFLAGS'
62087 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62088 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62089 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62092 /* end confdefs.h. */
62093 #include <math.h>
62094 #ifdef HAVE_IEEEFP_H
62095 #include <ieeefp.h>
62096 #endif
62099 main ()
62101 isnanf(0);
62103 return 0;
62105 _ACEOF
62106 if ac_fn_cxx_try_compile "$LINENO"; then :
62107 glibcxx_cv_func_isnanf_use=yes
62108 else
62109 glibcxx_cv_func_isnanf_use=no
62111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62112 ac_ext=c
62113 ac_cpp='$CPP $CPPFLAGS'
62114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
62123 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
62125 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
62126 for ac_func in isnanf
62127 do :
62128 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
62129 if test "x$ac_cv_func_isnanf" = xyes; then :
62130 cat >>confdefs.h <<_ACEOF
62131 #define HAVE_ISNANF 1
62132 _ACEOF
62135 done
62137 else
62139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
62140 $as_echo_n "checking for _isnanf declaration... " >&6; }
62141 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
62142 if ${glibcxx_cv_func__isnanf_use+:} false; then :
62143 $as_echo_n "(cached) " >&6
62144 else
62147 ac_ext=cpp
62148 ac_cpp='$CXXCPP $CPPFLAGS'
62149 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62150 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62151 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62154 /* end confdefs.h. */
62155 #include <math.h>
62156 #ifdef HAVE_IEEEFP_H
62157 #include <ieeefp.h>
62158 #endif
62161 main ()
62163 _isnanf(0);
62165 return 0;
62167 _ACEOF
62168 if ac_fn_cxx_try_compile "$LINENO"; then :
62169 glibcxx_cv_func__isnanf_use=yes
62170 else
62171 glibcxx_cv_func__isnanf_use=no
62173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62174 ac_ext=c
62175 ac_cpp='$CPP $CPPFLAGS'
62176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
62185 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
62187 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
62188 for ac_func in _isnanf
62189 do :
62190 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
62191 if test "x$ac_cv_func__isnanf" = xyes; then :
62192 cat >>confdefs.h <<_ACEOF
62193 #define HAVE__ISNANF 1
62194 _ACEOF
62197 done
62206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
62207 $as_echo_n "checking for isinff declaration... " >&6; }
62208 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
62209 if ${glibcxx_cv_func_isinff_use+:} false; then :
62210 $as_echo_n "(cached) " >&6
62211 else
62214 ac_ext=cpp
62215 ac_cpp='$CXXCPP $CPPFLAGS'
62216 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62217 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62218 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62221 /* end confdefs.h. */
62222 #include <math.h>
62223 #ifdef HAVE_IEEEFP_H
62224 #include <ieeefp.h>
62225 #endif
62228 main ()
62230 isinff(0);
62232 return 0;
62234 _ACEOF
62235 if ac_fn_cxx_try_compile "$LINENO"; then :
62236 glibcxx_cv_func_isinff_use=yes
62237 else
62238 glibcxx_cv_func_isinff_use=no
62240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62241 ac_ext=c
62242 ac_cpp='$CPP $CPPFLAGS'
62243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
62252 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
62254 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
62255 for ac_func in isinff
62256 do :
62257 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
62258 if test "x$ac_cv_func_isinff" = xyes; then :
62259 cat >>confdefs.h <<_ACEOF
62260 #define HAVE_ISINFF 1
62261 _ACEOF
62264 done
62266 else
62268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
62269 $as_echo_n "checking for _isinff declaration... " >&6; }
62270 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
62271 if ${glibcxx_cv_func__isinff_use+:} false; then :
62272 $as_echo_n "(cached) " >&6
62273 else
62276 ac_ext=cpp
62277 ac_cpp='$CXXCPP $CPPFLAGS'
62278 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62279 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62280 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62283 /* end confdefs.h. */
62284 #include <math.h>
62285 #ifdef HAVE_IEEEFP_H
62286 #include <ieeefp.h>
62287 #endif
62290 main ()
62292 _isinff(0);
62294 return 0;
62296 _ACEOF
62297 if ac_fn_cxx_try_compile "$LINENO"; then :
62298 glibcxx_cv_func__isinff_use=yes
62299 else
62300 glibcxx_cv_func__isinff_use=no
62302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62303 ac_ext=c
62304 ac_cpp='$CPP $CPPFLAGS'
62305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
62314 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
62316 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
62317 for ac_func in _isinff
62318 do :
62319 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
62320 if test "x$ac_cv_func__isinff" = xyes; then :
62321 cat >>confdefs.h <<_ACEOF
62322 #define HAVE__ISINFF 1
62323 _ACEOF
62326 done
62335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
62336 $as_echo_n "checking for atan2f declaration... " >&6; }
62337 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
62338 if ${glibcxx_cv_func_atan2f_use+:} false; then :
62339 $as_echo_n "(cached) " >&6
62340 else
62343 ac_ext=cpp
62344 ac_cpp='$CXXCPP $CPPFLAGS'
62345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62350 /* end confdefs.h. */
62351 #include <math.h>
62353 main ()
62355 atan2f(0, 0);
62357 return 0;
62359 _ACEOF
62360 if ac_fn_cxx_try_compile "$LINENO"; then :
62361 glibcxx_cv_func_atan2f_use=yes
62362 else
62363 glibcxx_cv_func_atan2f_use=no
62365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62366 ac_ext=c
62367 ac_cpp='$CPP $CPPFLAGS'
62368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
62377 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
62379 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
62380 for ac_func in atan2f
62381 do :
62382 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
62383 if test "x$ac_cv_func_atan2f" = xyes; then :
62384 cat >>confdefs.h <<_ACEOF
62385 #define HAVE_ATAN2F 1
62386 _ACEOF
62389 done
62391 else
62393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
62394 $as_echo_n "checking for _atan2f declaration... " >&6; }
62395 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
62396 if ${glibcxx_cv_func__atan2f_use+:} false; then :
62397 $as_echo_n "(cached) " >&6
62398 else
62401 ac_ext=cpp
62402 ac_cpp='$CXXCPP $CPPFLAGS'
62403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62404 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62408 /* end confdefs.h. */
62409 #include <math.h>
62411 main ()
62413 _atan2f(0, 0);
62415 return 0;
62417 _ACEOF
62418 if ac_fn_cxx_try_compile "$LINENO"; then :
62419 glibcxx_cv_func__atan2f_use=yes
62420 else
62421 glibcxx_cv_func__atan2f_use=no
62423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62424 ac_ext=c
62425 ac_cpp='$CPP $CPPFLAGS'
62426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
62435 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
62437 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
62438 for ac_func in _atan2f
62439 do :
62440 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
62441 if test "x$ac_cv_func__atan2f" = xyes; then :
62442 cat >>confdefs.h <<_ACEOF
62443 #define HAVE__ATAN2F 1
62444 _ACEOF
62447 done
62456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
62457 $as_echo_n "checking for fabsf declaration... " >&6; }
62458 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
62459 if ${glibcxx_cv_func_fabsf_use+:} false; then :
62460 $as_echo_n "(cached) " >&6
62461 else
62464 ac_ext=cpp
62465 ac_cpp='$CXXCPP $CPPFLAGS'
62466 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62467 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62468 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62471 /* end confdefs.h. */
62472 #include <math.h>
62473 #ifdef HAVE_IEEEFP_H
62474 #include <ieeefp.h>
62475 #endif
62478 main ()
62480 fabsf(0);
62482 return 0;
62484 _ACEOF
62485 if ac_fn_cxx_try_compile "$LINENO"; then :
62486 glibcxx_cv_func_fabsf_use=yes
62487 else
62488 glibcxx_cv_func_fabsf_use=no
62490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62491 ac_ext=c
62492 ac_cpp='$CPP $CPPFLAGS'
62493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
62502 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
62504 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
62505 for ac_func in fabsf
62506 do :
62507 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
62508 if test "x$ac_cv_func_fabsf" = xyes; then :
62509 cat >>confdefs.h <<_ACEOF
62510 #define HAVE_FABSF 1
62511 _ACEOF
62514 done
62516 else
62518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
62519 $as_echo_n "checking for _fabsf declaration... " >&6; }
62520 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
62521 if ${glibcxx_cv_func__fabsf_use+:} false; then :
62522 $as_echo_n "(cached) " >&6
62523 else
62526 ac_ext=cpp
62527 ac_cpp='$CXXCPP $CPPFLAGS'
62528 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62529 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62530 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62533 /* end confdefs.h. */
62534 #include <math.h>
62535 #ifdef HAVE_IEEEFP_H
62536 #include <ieeefp.h>
62537 #endif
62540 main ()
62542 _fabsf(0);
62544 return 0;
62546 _ACEOF
62547 if ac_fn_cxx_try_compile "$LINENO"; then :
62548 glibcxx_cv_func__fabsf_use=yes
62549 else
62550 glibcxx_cv_func__fabsf_use=no
62552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62553 ac_ext=c
62554 ac_cpp='$CPP $CPPFLAGS'
62555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
62564 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
62566 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
62567 for ac_func in _fabsf
62568 do :
62569 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
62570 if test "x$ac_cv_func__fabsf" = xyes; then :
62571 cat >>confdefs.h <<_ACEOF
62572 #define HAVE__FABSF 1
62573 _ACEOF
62576 done
62585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
62586 $as_echo_n "checking for fmodf declaration... " >&6; }
62587 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
62588 if ${glibcxx_cv_func_fmodf_use+:} false; then :
62589 $as_echo_n "(cached) " >&6
62590 else
62593 ac_ext=cpp
62594 ac_cpp='$CXXCPP $CPPFLAGS'
62595 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62596 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62597 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62600 /* end confdefs.h. */
62601 #include <math.h>
62603 main ()
62605 fmodf(0, 0);
62607 return 0;
62609 _ACEOF
62610 if ac_fn_cxx_try_compile "$LINENO"; then :
62611 glibcxx_cv_func_fmodf_use=yes
62612 else
62613 glibcxx_cv_func_fmodf_use=no
62615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62616 ac_ext=c
62617 ac_cpp='$CPP $CPPFLAGS'
62618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
62627 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
62629 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
62630 for ac_func in fmodf
62631 do :
62632 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
62633 if test "x$ac_cv_func_fmodf" = xyes; then :
62634 cat >>confdefs.h <<_ACEOF
62635 #define HAVE_FMODF 1
62636 _ACEOF
62639 done
62641 else
62643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
62644 $as_echo_n "checking for _fmodf declaration... " >&6; }
62645 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
62646 if ${glibcxx_cv_func__fmodf_use+:} false; then :
62647 $as_echo_n "(cached) " >&6
62648 else
62651 ac_ext=cpp
62652 ac_cpp='$CXXCPP $CPPFLAGS'
62653 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62654 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62655 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62658 /* end confdefs.h. */
62659 #include <math.h>
62661 main ()
62663 _fmodf(0, 0);
62665 return 0;
62667 _ACEOF
62668 if ac_fn_cxx_try_compile "$LINENO"; then :
62669 glibcxx_cv_func__fmodf_use=yes
62670 else
62671 glibcxx_cv_func__fmodf_use=no
62673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62674 ac_ext=c
62675 ac_cpp='$CPP $CPPFLAGS'
62676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
62685 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
62687 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
62688 for ac_func in _fmodf
62689 do :
62690 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
62691 if test "x$ac_cv_func__fmodf" = xyes; then :
62692 cat >>confdefs.h <<_ACEOF
62693 #define HAVE__FMODF 1
62694 _ACEOF
62697 done
62706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
62707 $as_echo_n "checking for frexpf declaration... " >&6; }
62708 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
62709 if ${glibcxx_cv_func_frexpf_use+:} false; then :
62710 $as_echo_n "(cached) " >&6
62711 else
62714 ac_ext=cpp
62715 ac_cpp='$CXXCPP $CPPFLAGS'
62716 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62717 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62718 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62721 /* end confdefs.h. */
62722 #include <math.h>
62724 main ()
62726 frexpf(0, 0);
62728 return 0;
62730 _ACEOF
62731 if ac_fn_cxx_try_compile "$LINENO"; then :
62732 glibcxx_cv_func_frexpf_use=yes
62733 else
62734 glibcxx_cv_func_frexpf_use=no
62736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62737 ac_ext=c
62738 ac_cpp='$CPP $CPPFLAGS'
62739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
62748 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
62750 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
62751 for ac_func in frexpf
62752 do :
62753 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
62754 if test "x$ac_cv_func_frexpf" = xyes; then :
62755 cat >>confdefs.h <<_ACEOF
62756 #define HAVE_FREXPF 1
62757 _ACEOF
62760 done
62762 else
62764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
62765 $as_echo_n "checking for _frexpf declaration... " >&6; }
62766 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
62767 if ${glibcxx_cv_func__frexpf_use+:} false; then :
62768 $as_echo_n "(cached) " >&6
62769 else
62772 ac_ext=cpp
62773 ac_cpp='$CXXCPP $CPPFLAGS'
62774 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62775 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62776 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62779 /* end confdefs.h. */
62780 #include <math.h>
62782 main ()
62784 _frexpf(0, 0);
62786 return 0;
62788 _ACEOF
62789 if ac_fn_cxx_try_compile "$LINENO"; then :
62790 glibcxx_cv_func__frexpf_use=yes
62791 else
62792 glibcxx_cv_func__frexpf_use=no
62794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62795 ac_ext=c
62796 ac_cpp='$CPP $CPPFLAGS'
62797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
62806 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
62808 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
62809 for ac_func in _frexpf
62810 do :
62811 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
62812 if test "x$ac_cv_func__frexpf" = xyes; then :
62813 cat >>confdefs.h <<_ACEOF
62814 #define HAVE__FREXPF 1
62815 _ACEOF
62818 done
62827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
62828 $as_echo_n "checking for hypotf declaration... " >&6; }
62829 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
62830 if ${glibcxx_cv_func_hypotf_use+:} false; then :
62831 $as_echo_n "(cached) " >&6
62832 else
62835 ac_ext=cpp
62836 ac_cpp='$CXXCPP $CPPFLAGS'
62837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62842 /* end confdefs.h. */
62843 #include <math.h>
62845 main ()
62847 hypotf(0, 0);
62849 return 0;
62851 _ACEOF
62852 if ac_fn_cxx_try_compile "$LINENO"; then :
62853 glibcxx_cv_func_hypotf_use=yes
62854 else
62855 glibcxx_cv_func_hypotf_use=no
62857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62858 ac_ext=c
62859 ac_cpp='$CPP $CPPFLAGS'
62860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
62869 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
62871 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
62872 for ac_func in hypotf
62873 do :
62874 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
62875 if test "x$ac_cv_func_hypotf" = xyes; then :
62876 cat >>confdefs.h <<_ACEOF
62877 #define HAVE_HYPOTF 1
62878 _ACEOF
62881 done
62883 else
62885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
62886 $as_echo_n "checking for _hypotf declaration... " >&6; }
62887 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
62888 if ${glibcxx_cv_func__hypotf_use+:} false; then :
62889 $as_echo_n "(cached) " >&6
62890 else
62893 ac_ext=cpp
62894 ac_cpp='$CXXCPP $CPPFLAGS'
62895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62900 /* end confdefs.h. */
62901 #include <math.h>
62903 main ()
62905 _hypotf(0, 0);
62907 return 0;
62909 _ACEOF
62910 if ac_fn_cxx_try_compile "$LINENO"; then :
62911 glibcxx_cv_func__hypotf_use=yes
62912 else
62913 glibcxx_cv_func__hypotf_use=no
62915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62916 ac_ext=c
62917 ac_cpp='$CPP $CPPFLAGS'
62918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
62927 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
62929 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
62930 for ac_func in _hypotf
62931 do :
62932 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
62933 if test "x$ac_cv_func__hypotf" = xyes; then :
62934 cat >>confdefs.h <<_ACEOF
62935 #define HAVE__HYPOTF 1
62936 _ACEOF
62939 done
62948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
62949 $as_echo_n "checking for ldexpf declaration... " >&6; }
62950 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
62951 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
62952 $as_echo_n "(cached) " >&6
62953 else
62956 ac_ext=cpp
62957 ac_cpp='$CXXCPP $CPPFLAGS'
62958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62963 /* end confdefs.h. */
62964 #include <math.h>
62966 main ()
62968 ldexpf(0, 0);
62970 return 0;
62972 _ACEOF
62973 if ac_fn_cxx_try_compile "$LINENO"; then :
62974 glibcxx_cv_func_ldexpf_use=yes
62975 else
62976 glibcxx_cv_func_ldexpf_use=no
62978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62979 ac_ext=c
62980 ac_cpp='$CPP $CPPFLAGS'
62981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
62990 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
62992 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
62993 for ac_func in ldexpf
62994 do :
62995 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
62996 if test "x$ac_cv_func_ldexpf" = xyes; then :
62997 cat >>confdefs.h <<_ACEOF
62998 #define HAVE_LDEXPF 1
62999 _ACEOF
63002 done
63004 else
63006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
63007 $as_echo_n "checking for _ldexpf declaration... " >&6; }
63008 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
63009 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
63010 $as_echo_n "(cached) " >&6
63011 else
63014 ac_ext=cpp
63015 ac_cpp='$CXXCPP $CPPFLAGS'
63016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63021 /* end confdefs.h. */
63022 #include <math.h>
63024 main ()
63026 _ldexpf(0, 0);
63028 return 0;
63030 _ACEOF
63031 if ac_fn_cxx_try_compile "$LINENO"; then :
63032 glibcxx_cv_func__ldexpf_use=yes
63033 else
63034 glibcxx_cv_func__ldexpf_use=no
63036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63037 ac_ext=c
63038 ac_cpp='$CPP $CPPFLAGS'
63039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
63048 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
63050 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
63051 for ac_func in _ldexpf
63052 do :
63053 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
63054 if test "x$ac_cv_func__ldexpf" = xyes; then :
63055 cat >>confdefs.h <<_ACEOF
63056 #define HAVE__LDEXPF 1
63057 _ACEOF
63060 done
63069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
63070 $as_echo_n "checking for logf declaration... " >&6; }
63071 if test x${glibcxx_cv_func_logf_use+set} != xset; then
63072 if ${glibcxx_cv_func_logf_use+:} false; then :
63073 $as_echo_n "(cached) " >&6
63074 else
63077 ac_ext=cpp
63078 ac_cpp='$CXXCPP $CPPFLAGS'
63079 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63080 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63081 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63084 /* end confdefs.h. */
63085 #include <math.h>
63086 #ifdef HAVE_IEEEFP_H
63087 #include <ieeefp.h>
63088 #endif
63091 main ()
63093 logf(0);
63095 return 0;
63097 _ACEOF
63098 if ac_fn_cxx_try_compile "$LINENO"; then :
63099 glibcxx_cv_func_logf_use=yes
63100 else
63101 glibcxx_cv_func_logf_use=no
63103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63104 ac_ext=c
63105 ac_cpp='$CPP $CPPFLAGS'
63106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
63115 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
63117 if test x$glibcxx_cv_func_logf_use = x"yes"; then
63118 for ac_func in logf
63119 do :
63120 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
63121 if test "x$ac_cv_func_logf" = xyes; then :
63122 cat >>confdefs.h <<_ACEOF
63123 #define HAVE_LOGF 1
63124 _ACEOF
63127 done
63129 else
63131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
63132 $as_echo_n "checking for _logf declaration... " >&6; }
63133 if test x${glibcxx_cv_func__logf_use+set} != xset; then
63134 if ${glibcxx_cv_func__logf_use+:} false; then :
63135 $as_echo_n "(cached) " >&6
63136 else
63139 ac_ext=cpp
63140 ac_cpp='$CXXCPP $CPPFLAGS'
63141 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63142 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63143 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63146 /* end confdefs.h. */
63147 #include <math.h>
63148 #ifdef HAVE_IEEEFP_H
63149 #include <ieeefp.h>
63150 #endif
63153 main ()
63155 _logf(0);
63157 return 0;
63159 _ACEOF
63160 if ac_fn_cxx_try_compile "$LINENO"; then :
63161 glibcxx_cv_func__logf_use=yes
63162 else
63163 glibcxx_cv_func__logf_use=no
63165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63166 ac_ext=c
63167 ac_cpp='$CPP $CPPFLAGS'
63168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
63177 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
63179 if test x$glibcxx_cv_func__logf_use = x"yes"; then
63180 for ac_func in _logf
63181 do :
63182 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
63183 if test "x$ac_cv_func__logf" = xyes; then :
63184 cat >>confdefs.h <<_ACEOF
63185 #define HAVE__LOGF 1
63186 _ACEOF
63189 done
63198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
63199 $as_echo_n "checking for log10f declaration... " >&6; }
63200 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
63201 if ${glibcxx_cv_func_log10f_use+:} false; then :
63202 $as_echo_n "(cached) " >&6
63203 else
63206 ac_ext=cpp
63207 ac_cpp='$CXXCPP $CPPFLAGS'
63208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63213 /* end confdefs.h. */
63214 #include <math.h>
63215 #ifdef HAVE_IEEEFP_H
63216 #include <ieeefp.h>
63217 #endif
63220 main ()
63222 log10f(0);
63224 return 0;
63226 _ACEOF
63227 if ac_fn_cxx_try_compile "$LINENO"; then :
63228 glibcxx_cv_func_log10f_use=yes
63229 else
63230 glibcxx_cv_func_log10f_use=no
63232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63233 ac_ext=c
63234 ac_cpp='$CPP $CPPFLAGS'
63235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
63244 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
63246 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
63247 for ac_func in log10f
63248 do :
63249 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
63250 if test "x$ac_cv_func_log10f" = xyes; then :
63251 cat >>confdefs.h <<_ACEOF
63252 #define HAVE_LOG10F 1
63253 _ACEOF
63256 done
63258 else
63260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
63261 $as_echo_n "checking for _log10f declaration... " >&6; }
63262 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
63263 if ${glibcxx_cv_func__log10f_use+:} false; then :
63264 $as_echo_n "(cached) " >&6
63265 else
63268 ac_ext=cpp
63269 ac_cpp='$CXXCPP $CPPFLAGS'
63270 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63271 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63272 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63275 /* end confdefs.h. */
63276 #include <math.h>
63277 #ifdef HAVE_IEEEFP_H
63278 #include <ieeefp.h>
63279 #endif
63282 main ()
63284 _log10f(0);
63286 return 0;
63288 _ACEOF
63289 if ac_fn_cxx_try_compile "$LINENO"; then :
63290 glibcxx_cv_func__log10f_use=yes
63291 else
63292 glibcxx_cv_func__log10f_use=no
63294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63295 ac_ext=c
63296 ac_cpp='$CPP $CPPFLAGS'
63297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
63306 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
63308 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
63309 for ac_func in _log10f
63310 do :
63311 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
63312 if test "x$ac_cv_func__log10f" = xyes; then :
63313 cat >>confdefs.h <<_ACEOF
63314 #define HAVE__LOG10F 1
63315 _ACEOF
63318 done
63327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
63328 $as_echo_n "checking for modff declaration... " >&6; }
63329 if test x${glibcxx_cv_func_modff_use+set} != xset; then
63330 if ${glibcxx_cv_func_modff_use+:} false; then :
63331 $as_echo_n "(cached) " >&6
63332 else
63335 ac_ext=cpp
63336 ac_cpp='$CXXCPP $CPPFLAGS'
63337 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63338 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63339 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63342 /* end confdefs.h. */
63343 #include <math.h>
63345 main ()
63347 modff(0, 0);
63349 return 0;
63351 _ACEOF
63352 if ac_fn_cxx_try_compile "$LINENO"; then :
63353 glibcxx_cv_func_modff_use=yes
63354 else
63355 glibcxx_cv_func_modff_use=no
63357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63358 ac_ext=c
63359 ac_cpp='$CPP $CPPFLAGS'
63360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
63369 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
63371 if test x$glibcxx_cv_func_modff_use = x"yes"; then
63372 for ac_func in modff
63373 do :
63374 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
63375 if test "x$ac_cv_func_modff" = xyes; then :
63376 cat >>confdefs.h <<_ACEOF
63377 #define HAVE_MODFF 1
63378 _ACEOF
63381 done
63383 else
63385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
63386 $as_echo_n "checking for _modff declaration... " >&6; }
63387 if test x${glibcxx_cv_func__modff_use+set} != xset; then
63388 if ${glibcxx_cv_func__modff_use+:} false; then :
63389 $as_echo_n "(cached) " >&6
63390 else
63393 ac_ext=cpp
63394 ac_cpp='$CXXCPP $CPPFLAGS'
63395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63400 /* end confdefs.h. */
63401 #include <math.h>
63403 main ()
63405 _modff(0, 0);
63407 return 0;
63409 _ACEOF
63410 if ac_fn_cxx_try_compile "$LINENO"; then :
63411 glibcxx_cv_func__modff_use=yes
63412 else
63413 glibcxx_cv_func__modff_use=no
63415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63416 ac_ext=c
63417 ac_cpp='$CPP $CPPFLAGS'
63418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
63427 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
63429 if test x$glibcxx_cv_func__modff_use = x"yes"; then
63430 for ac_func in _modff
63431 do :
63432 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
63433 if test "x$ac_cv_func__modff" = xyes; then :
63434 cat >>confdefs.h <<_ACEOF
63435 #define HAVE__MODFF 1
63436 _ACEOF
63439 done
63448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
63449 $as_echo_n "checking for modf declaration... " >&6; }
63450 if test x${glibcxx_cv_func_modf_use+set} != xset; then
63451 if ${glibcxx_cv_func_modf_use+:} false; then :
63452 $as_echo_n "(cached) " >&6
63453 else
63456 ac_ext=cpp
63457 ac_cpp='$CXXCPP $CPPFLAGS'
63458 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63459 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63460 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63463 /* end confdefs.h. */
63464 #include <math.h>
63466 main ()
63468 modf(0, 0);
63470 return 0;
63472 _ACEOF
63473 if ac_fn_cxx_try_compile "$LINENO"; then :
63474 glibcxx_cv_func_modf_use=yes
63475 else
63476 glibcxx_cv_func_modf_use=no
63478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63479 ac_ext=c
63480 ac_cpp='$CPP $CPPFLAGS'
63481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
63490 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
63492 if test x$glibcxx_cv_func_modf_use = x"yes"; then
63493 for ac_func in modf
63494 do :
63495 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
63496 if test "x$ac_cv_func_modf" = xyes; then :
63497 cat >>confdefs.h <<_ACEOF
63498 #define HAVE_MODF 1
63499 _ACEOF
63502 done
63504 else
63506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
63507 $as_echo_n "checking for _modf declaration... " >&6; }
63508 if test x${glibcxx_cv_func__modf_use+set} != xset; then
63509 if ${glibcxx_cv_func__modf_use+:} false; then :
63510 $as_echo_n "(cached) " >&6
63511 else
63514 ac_ext=cpp
63515 ac_cpp='$CXXCPP $CPPFLAGS'
63516 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63517 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63518 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63521 /* end confdefs.h. */
63522 #include <math.h>
63524 main ()
63526 _modf(0, 0);
63528 return 0;
63530 _ACEOF
63531 if ac_fn_cxx_try_compile "$LINENO"; then :
63532 glibcxx_cv_func__modf_use=yes
63533 else
63534 glibcxx_cv_func__modf_use=no
63536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63537 ac_ext=c
63538 ac_cpp='$CPP $CPPFLAGS'
63539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
63548 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
63550 if test x$glibcxx_cv_func__modf_use = x"yes"; then
63551 for ac_func in _modf
63552 do :
63553 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
63554 if test "x$ac_cv_func__modf" = xyes; then :
63555 cat >>confdefs.h <<_ACEOF
63556 #define HAVE__MODF 1
63557 _ACEOF
63560 done
63569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
63570 $as_echo_n "checking for powf declaration... " >&6; }
63571 if test x${glibcxx_cv_func_powf_use+set} != xset; then
63572 if ${glibcxx_cv_func_powf_use+:} false; then :
63573 $as_echo_n "(cached) " >&6
63574 else
63577 ac_ext=cpp
63578 ac_cpp='$CXXCPP $CPPFLAGS'
63579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63584 /* end confdefs.h. */
63585 #include <math.h>
63587 main ()
63589 powf(0, 0);
63591 return 0;
63593 _ACEOF
63594 if ac_fn_cxx_try_compile "$LINENO"; then :
63595 glibcxx_cv_func_powf_use=yes
63596 else
63597 glibcxx_cv_func_powf_use=no
63599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63600 ac_ext=c
63601 ac_cpp='$CPP $CPPFLAGS'
63602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
63611 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
63613 if test x$glibcxx_cv_func_powf_use = x"yes"; then
63614 for ac_func in powf
63615 do :
63616 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
63617 if test "x$ac_cv_func_powf" = xyes; then :
63618 cat >>confdefs.h <<_ACEOF
63619 #define HAVE_POWF 1
63620 _ACEOF
63623 done
63625 else
63627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
63628 $as_echo_n "checking for _powf declaration... " >&6; }
63629 if test x${glibcxx_cv_func__powf_use+set} != xset; then
63630 if ${glibcxx_cv_func__powf_use+:} false; then :
63631 $as_echo_n "(cached) " >&6
63632 else
63635 ac_ext=cpp
63636 ac_cpp='$CXXCPP $CPPFLAGS'
63637 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63638 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63639 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63642 /* end confdefs.h. */
63643 #include <math.h>
63645 main ()
63647 _powf(0, 0);
63649 return 0;
63651 _ACEOF
63652 if ac_fn_cxx_try_compile "$LINENO"; then :
63653 glibcxx_cv_func__powf_use=yes
63654 else
63655 glibcxx_cv_func__powf_use=no
63657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63658 ac_ext=c
63659 ac_cpp='$CPP $CPPFLAGS'
63660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
63669 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
63671 if test x$glibcxx_cv_func__powf_use = x"yes"; then
63672 for ac_func in _powf
63673 do :
63674 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
63675 if test "x$ac_cv_func__powf" = xyes; then :
63676 cat >>confdefs.h <<_ACEOF
63677 #define HAVE__POWF 1
63678 _ACEOF
63681 done
63690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
63691 $as_echo_n "checking for sqrtf declaration... " >&6; }
63692 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
63693 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
63694 $as_echo_n "(cached) " >&6
63695 else
63698 ac_ext=cpp
63699 ac_cpp='$CXXCPP $CPPFLAGS'
63700 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63701 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63702 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63705 /* end confdefs.h. */
63706 #include <math.h>
63707 #ifdef HAVE_IEEEFP_H
63708 #include <ieeefp.h>
63709 #endif
63712 main ()
63714 sqrtf(0);
63716 return 0;
63718 _ACEOF
63719 if ac_fn_cxx_try_compile "$LINENO"; then :
63720 glibcxx_cv_func_sqrtf_use=yes
63721 else
63722 glibcxx_cv_func_sqrtf_use=no
63724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63725 ac_ext=c
63726 ac_cpp='$CPP $CPPFLAGS'
63727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
63736 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
63738 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
63739 for ac_func in sqrtf
63740 do :
63741 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
63742 if test "x$ac_cv_func_sqrtf" = xyes; then :
63743 cat >>confdefs.h <<_ACEOF
63744 #define HAVE_SQRTF 1
63745 _ACEOF
63748 done
63750 else
63752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
63753 $as_echo_n "checking for _sqrtf declaration... " >&6; }
63754 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
63755 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
63756 $as_echo_n "(cached) " >&6
63757 else
63760 ac_ext=cpp
63761 ac_cpp='$CXXCPP $CPPFLAGS'
63762 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63763 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63764 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63767 /* end confdefs.h. */
63768 #include <math.h>
63769 #ifdef HAVE_IEEEFP_H
63770 #include <ieeefp.h>
63771 #endif
63774 main ()
63776 _sqrtf(0);
63778 return 0;
63780 _ACEOF
63781 if ac_fn_cxx_try_compile "$LINENO"; then :
63782 glibcxx_cv_func__sqrtf_use=yes
63783 else
63784 glibcxx_cv_func__sqrtf_use=no
63786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63787 ac_ext=c
63788 ac_cpp='$CPP $CPPFLAGS'
63789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
63798 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
63800 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
63801 for ac_func in _sqrtf
63802 do :
63803 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
63804 if test "x$ac_cv_func__sqrtf" = xyes; then :
63805 cat >>confdefs.h <<_ACEOF
63806 #define HAVE__SQRTF 1
63807 _ACEOF
63810 done
63819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
63820 $as_echo_n "checking for sincosf declaration... " >&6; }
63821 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
63822 if ${glibcxx_cv_func_sincosf_use+:} false; then :
63823 $as_echo_n "(cached) " >&6
63824 else
63827 ac_ext=cpp
63828 ac_cpp='$CXXCPP $CPPFLAGS'
63829 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63830 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63831 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63834 /* end confdefs.h. */
63835 #include <math.h>
63837 main ()
63839 sincosf(0, 0, 0);
63841 return 0;
63843 _ACEOF
63844 if ac_fn_cxx_try_compile "$LINENO"; then :
63845 glibcxx_cv_func_sincosf_use=yes
63846 else
63847 glibcxx_cv_func_sincosf_use=no
63849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63850 ac_ext=c
63851 ac_cpp='$CPP $CPPFLAGS'
63852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
63861 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
63863 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
63864 for ac_func in sincosf
63865 do :
63866 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
63867 if test "x$ac_cv_func_sincosf" = xyes; then :
63868 cat >>confdefs.h <<_ACEOF
63869 #define HAVE_SINCOSF 1
63870 _ACEOF
63873 done
63875 else
63877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
63878 $as_echo_n "checking for _sincosf declaration... " >&6; }
63879 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
63880 if ${glibcxx_cv_func__sincosf_use+:} false; then :
63881 $as_echo_n "(cached) " >&6
63882 else
63885 ac_ext=cpp
63886 ac_cpp='$CXXCPP $CPPFLAGS'
63887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63892 /* end confdefs.h. */
63893 #include <math.h>
63895 main ()
63897 _sincosf(0, 0, 0);
63899 return 0;
63901 _ACEOF
63902 if ac_fn_cxx_try_compile "$LINENO"; then :
63903 glibcxx_cv_func__sincosf_use=yes
63904 else
63905 glibcxx_cv_func__sincosf_use=no
63907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63908 ac_ext=c
63909 ac_cpp='$CPP $CPPFLAGS'
63910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
63919 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
63921 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
63922 for ac_func in _sincosf
63923 do :
63924 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
63925 if test "x$ac_cv_func__sincosf" = xyes; then :
63926 cat >>confdefs.h <<_ACEOF
63927 #define HAVE__SINCOSF 1
63928 _ACEOF
63931 done
63940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
63941 $as_echo_n "checking for finitef declaration... " >&6; }
63942 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
63943 if ${glibcxx_cv_func_finitef_use+:} false; then :
63944 $as_echo_n "(cached) " >&6
63945 else
63948 ac_ext=cpp
63949 ac_cpp='$CXXCPP $CPPFLAGS'
63950 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63951 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63952 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63955 /* end confdefs.h. */
63956 #include <math.h>
63957 #ifdef HAVE_IEEEFP_H
63958 #include <ieeefp.h>
63959 #endif
63962 main ()
63964 finitef(0);
63966 return 0;
63968 _ACEOF
63969 if ac_fn_cxx_try_compile "$LINENO"; then :
63970 glibcxx_cv_func_finitef_use=yes
63971 else
63972 glibcxx_cv_func_finitef_use=no
63974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63975 ac_ext=c
63976 ac_cpp='$CPP $CPPFLAGS'
63977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
63986 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
63988 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
63989 for ac_func in finitef
63990 do :
63991 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
63992 if test "x$ac_cv_func_finitef" = xyes; then :
63993 cat >>confdefs.h <<_ACEOF
63994 #define HAVE_FINITEF 1
63995 _ACEOF
63998 done
64000 else
64002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
64003 $as_echo_n "checking for _finitef declaration... " >&6; }
64004 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
64005 if ${glibcxx_cv_func__finitef_use+:} false; then :
64006 $as_echo_n "(cached) " >&6
64007 else
64010 ac_ext=cpp
64011 ac_cpp='$CXXCPP $CPPFLAGS'
64012 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64013 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64014 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64017 /* end confdefs.h. */
64018 #include <math.h>
64019 #ifdef HAVE_IEEEFP_H
64020 #include <ieeefp.h>
64021 #endif
64024 main ()
64026 _finitef(0);
64028 return 0;
64030 _ACEOF
64031 if ac_fn_cxx_try_compile "$LINENO"; then :
64032 glibcxx_cv_func__finitef_use=yes
64033 else
64034 glibcxx_cv_func__finitef_use=no
64036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64037 ac_ext=c
64038 ac_cpp='$CPP $CPPFLAGS'
64039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
64048 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
64050 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
64051 for ac_func in _finitef
64052 do :
64053 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
64054 if test "x$ac_cv_func__finitef" = xyes; then :
64055 cat >>confdefs.h <<_ACEOF
64056 #define HAVE__FINITEF 1
64057 _ACEOF
64060 done
64069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
64070 $as_echo_n "checking for long double trig functions... " >&6; }
64071 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
64072 $as_echo_n "(cached) " >&6
64073 else
64076 ac_ext=cpp
64077 ac_cpp='$CXXCPP $CPPFLAGS'
64078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64083 /* end confdefs.h. */
64084 #include <math.h>
64086 main ()
64088 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
64090 return 0;
64092 _ACEOF
64093 if ac_fn_cxx_try_compile "$LINENO"; then :
64094 glibcxx_cv_func_long_double_trig_use=yes
64095 else
64096 glibcxx_cv_func_long_double_trig_use=no
64098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64099 ac_ext=c
64100 ac_cpp='$CPP $CPPFLAGS'
64101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
64108 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
64109 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
64110 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
64111 do :
64112 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
64113 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
64114 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
64115 cat >>confdefs.h <<_ACEOF
64116 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
64117 _ACEOF
64120 done
64122 else
64123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
64124 $as_echo_n "checking for _long double trig functions... " >&6; }
64125 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
64126 $as_echo_n "(cached) " >&6
64127 else
64130 ac_ext=cpp
64131 ac_cpp='$CXXCPP $CPPFLAGS'
64132 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64133 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64134 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64137 /* end confdefs.h. */
64138 #include <math.h>
64140 main ()
64142 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
64144 return 0;
64146 _ACEOF
64147 if ac_fn_cxx_try_compile "$LINENO"; then :
64148 glibcxx_cv_func__long_double_trig_use=yes
64149 else
64150 glibcxx_cv_func__long_double_trig_use=no
64152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64153 ac_ext=c
64154 ac_cpp='$CPP $CPPFLAGS'
64155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
64162 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
64163 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
64164 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
64165 do :
64166 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
64167 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
64168 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
64169 cat >>confdefs.h <<_ACEOF
64170 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
64171 _ACEOF
64174 done
64183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
64184 $as_echo_n "checking for long double round functions... " >&6; }
64185 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
64186 $as_echo_n "(cached) " >&6
64187 else
64190 ac_ext=cpp
64191 ac_cpp='$CXXCPP $CPPFLAGS'
64192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64197 /* end confdefs.h. */
64198 #include <math.h>
64200 main ()
64202 ceill (0); floorl (0);
64204 return 0;
64206 _ACEOF
64207 if ac_fn_cxx_try_compile "$LINENO"; then :
64208 glibcxx_cv_func_long_double_round_use=yes
64209 else
64210 glibcxx_cv_func_long_double_round_use=no
64212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64213 ac_ext=c
64214 ac_cpp='$CPP $CPPFLAGS'
64215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
64222 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
64223 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
64224 for ac_func in ceill floorl
64225 do :
64226 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
64227 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
64228 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
64229 cat >>confdefs.h <<_ACEOF
64230 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
64231 _ACEOF
64234 done
64236 else
64237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
64238 $as_echo_n "checking for _long double round functions... " >&6; }
64239 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
64240 $as_echo_n "(cached) " >&6
64241 else
64244 ac_ext=cpp
64245 ac_cpp='$CXXCPP $CPPFLAGS'
64246 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64247 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64248 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64251 /* end confdefs.h. */
64252 #include <math.h>
64254 main ()
64256 _ceill (0); _floorl (0);
64258 return 0;
64260 _ACEOF
64261 if ac_fn_cxx_try_compile "$LINENO"; then :
64262 glibcxx_cv_func__long_double_round_use=yes
64263 else
64264 glibcxx_cv_func__long_double_round_use=no
64266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64267 ac_ext=c
64268 ac_cpp='$CPP $CPPFLAGS'
64269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
64276 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
64277 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
64278 for ac_func in _ceill _floorl
64279 do :
64280 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
64281 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
64282 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
64283 cat >>confdefs.h <<_ACEOF
64284 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
64285 _ACEOF
64288 done
64298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
64299 $as_echo_n "checking for isnanl declaration... " >&6; }
64300 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
64301 if ${glibcxx_cv_func_isnanl_use+:} false; then :
64302 $as_echo_n "(cached) " >&6
64303 else
64306 ac_ext=cpp
64307 ac_cpp='$CXXCPP $CPPFLAGS'
64308 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64309 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64310 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64313 /* end confdefs.h. */
64314 #include <math.h>
64315 #ifdef HAVE_IEEEFP_H
64316 #include <ieeefp.h>
64317 #endif
64320 main ()
64322 isnanl(0);
64324 return 0;
64326 _ACEOF
64327 if ac_fn_cxx_try_compile "$LINENO"; then :
64328 glibcxx_cv_func_isnanl_use=yes
64329 else
64330 glibcxx_cv_func_isnanl_use=no
64332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64333 ac_ext=c
64334 ac_cpp='$CPP $CPPFLAGS'
64335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
64344 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
64346 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
64347 for ac_func in isnanl
64348 do :
64349 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
64350 if test "x$ac_cv_func_isnanl" = xyes; then :
64351 cat >>confdefs.h <<_ACEOF
64352 #define HAVE_ISNANL 1
64353 _ACEOF
64356 done
64358 else
64360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
64361 $as_echo_n "checking for _isnanl declaration... " >&6; }
64362 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
64363 if ${glibcxx_cv_func__isnanl_use+:} false; then :
64364 $as_echo_n "(cached) " >&6
64365 else
64368 ac_ext=cpp
64369 ac_cpp='$CXXCPP $CPPFLAGS'
64370 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64371 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64372 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64375 /* end confdefs.h. */
64376 #include <math.h>
64377 #ifdef HAVE_IEEEFP_H
64378 #include <ieeefp.h>
64379 #endif
64382 main ()
64384 _isnanl(0);
64386 return 0;
64388 _ACEOF
64389 if ac_fn_cxx_try_compile "$LINENO"; then :
64390 glibcxx_cv_func__isnanl_use=yes
64391 else
64392 glibcxx_cv_func__isnanl_use=no
64394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64395 ac_ext=c
64396 ac_cpp='$CPP $CPPFLAGS'
64397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
64406 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
64408 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
64409 for ac_func in _isnanl
64410 do :
64411 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
64412 if test "x$ac_cv_func__isnanl" = xyes; then :
64413 cat >>confdefs.h <<_ACEOF
64414 #define HAVE__ISNANL 1
64415 _ACEOF
64418 done
64427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
64428 $as_echo_n "checking for isinfl declaration... " >&6; }
64429 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
64430 if ${glibcxx_cv_func_isinfl_use+:} false; then :
64431 $as_echo_n "(cached) " >&6
64432 else
64435 ac_ext=cpp
64436 ac_cpp='$CXXCPP $CPPFLAGS'
64437 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64438 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64439 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64442 /* end confdefs.h. */
64443 #include <math.h>
64444 #ifdef HAVE_IEEEFP_H
64445 #include <ieeefp.h>
64446 #endif
64449 main ()
64451 isinfl(0);
64453 return 0;
64455 _ACEOF
64456 if ac_fn_cxx_try_compile "$LINENO"; then :
64457 glibcxx_cv_func_isinfl_use=yes
64458 else
64459 glibcxx_cv_func_isinfl_use=no
64461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64462 ac_ext=c
64463 ac_cpp='$CPP $CPPFLAGS'
64464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
64473 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
64475 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
64476 for ac_func in isinfl
64477 do :
64478 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
64479 if test "x$ac_cv_func_isinfl" = xyes; then :
64480 cat >>confdefs.h <<_ACEOF
64481 #define HAVE_ISINFL 1
64482 _ACEOF
64485 done
64487 else
64489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
64490 $as_echo_n "checking for _isinfl declaration... " >&6; }
64491 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
64492 if ${glibcxx_cv_func__isinfl_use+:} false; then :
64493 $as_echo_n "(cached) " >&6
64494 else
64497 ac_ext=cpp
64498 ac_cpp='$CXXCPP $CPPFLAGS'
64499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64504 /* end confdefs.h. */
64505 #include <math.h>
64506 #ifdef HAVE_IEEEFP_H
64507 #include <ieeefp.h>
64508 #endif
64511 main ()
64513 _isinfl(0);
64515 return 0;
64517 _ACEOF
64518 if ac_fn_cxx_try_compile "$LINENO"; then :
64519 glibcxx_cv_func__isinfl_use=yes
64520 else
64521 glibcxx_cv_func__isinfl_use=no
64523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64524 ac_ext=c
64525 ac_cpp='$CPP $CPPFLAGS'
64526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
64535 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
64537 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
64538 for ac_func in _isinfl
64539 do :
64540 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
64541 if test "x$ac_cv_func__isinfl" = xyes; then :
64542 cat >>confdefs.h <<_ACEOF
64543 #define HAVE__ISINFL 1
64544 _ACEOF
64547 done
64556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
64557 $as_echo_n "checking for atan2l declaration... " >&6; }
64558 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
64559 if ${glibcxx_cv_func_atan2l_use+:} false; then :
64560 $as_echo_n "(cached) " >&6
64561 else
64564 ac_ext=cpp
64565 ac_cpp='$CXXCPP $CPPFLAGS'
64566 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64567 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64568 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64571 /* end confdefs.h. */
64572 #include <math.h>
64574 main ()
64576 atan2l(0, 0);
64578 return 0;
64580 _ACEOF
64581 if ac_fn_cxx_try_compile "$LINENO"; then :
64582 glibcxx_cv_func_atan2l_use=yes
64583 else
64584 glibcxx_cv_func_atan2l_use=no
64586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64587 ac_ext=c
64588 ac_cpp='$CPP $CPPFLAGS'
64589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
64598 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
64600 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
64601 for ac_func in atan2l
64602 do :
64603 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
64604 if test "x$ac_cv_func_atan2l" = xyes; then :
64605 cat >>confdefs.h <<_ACEOF
64606 #define HAVE_ATAN2L 1
64607 _ACEOF
64610 done
64612 else
64614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
64615 $as_echo_n "checking for _atan2l declaration... " >&6; }
64616 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
64617 if ${glibcxx_cv_func__atan2l_use+:} false; then :
64618 $as_echo_n "(cached) " >&6
64619 else
64622 ac_ext=cpp
64623 ac_cpp='$CXXCPP $CPPFLAGS'
64624 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64625 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64626 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64629 /* end confdefs.h. */
64630 #include <math.h>
64632 main ()
64634 _atan2l(0, 0);
64636 return 0;
64638 _ACEOF
64639 if ac_fn_cxx_try_compile "$LINENO"; then :
64640 glibcxx_cv_func__atan2l_use=yes
64641 else
64642 glibcxx_cv_func__atan2l_use=no
64644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64645 ac_ext=c
64646 ac_cpp='$CPP $CPPFLAGS'
64647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
64656 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
64658 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
64659 for ac_func in _atan2l
64660 do :
64661 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
64662 if test "x$ac_cv_func__atan2l" = xyes; then :
64663 cat >>confdefs.h <<_ACEOF
64664 #define HAVE__ATAN2L 1
64665 _ACEOF
64668 done
64677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
64678 $as_echo_n "checking for expl declaration... " >&6; }
64679 if test x${glibcxx_cv_func_expl_use+set} != xset; then
64680 if ${glibcxx_cv_func_expl_use+:} false; then :
64681 $as_echo_n "(cached) " >&6
64682 else
64685 ac_ext=cpp
64686 ac_cpp='$CXXCPP $CPPFLAGS'
64687 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64688 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64689 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64692 /* end confdefs.h. */
64693 #include <math.h>
64694 #ifdef HAVE_IEEEFP_H
64695 #include <ieeefp.h>
64696 #endif
64699 main ()
64701 expl(0);
64703 return 0;
64705 _ACEOF
64706 if ac_fn_cxx_try_compile "$LINENO"; then :
64707 glibcxx_cv_func_expl_use=yes
64708 else
64709 glibcxx_cv_func_expl_use=no
64711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64712 ac_ext=c
64713 ac_cpp='$CPP $CPPFLAGS'
64714 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64715 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64716 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
64723 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
64725 if test x$glibcxx_cv_func_expl_use = x"yes"; then
64726 for ac_func in expl
64727 do :
64728 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
64729 if test "x$ac_cv_func_expl" = xyes; then :
64730 cat >>confdefs.h <<_ACEOF
64731 #define HAVE_EXPL 1
64732 _ACEOF
64735 done
64737 else
64739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
64740 $as_echo_n "checking for _expl declaration... " >&6; }
64741 if test x${glibcxx_cv_func__expl_use+set} != xset; then
64742 if ${glibcxx_cv_func__expl_use+:} false; then :
64743 $as_echo_n "(cached) " >&6
64744 else
64747 ac_ext=cpp
64748 ac_cpp='$CXXCPP $CPPFLAGS'
64749 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64750 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64751 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64754 /* end confdefs.h. */
64755 #include <math.h>
64756 #ifdef HAVE_IEEEFP_H
64757 #include <ieeefp.h>
64758 #endif
64761 main ()
64763 _expl(0);
64765 return 0;
64767 _ACEOF
64768 if ac_fn_cxx_try_compile "$LINENO"; then :
64769 glibcxx_cv_func__expl_use=yes
64770 else
64771 glibcxx_cv_func__expl_use=no
64773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64774 ac_ext=c
64775 ac_cpp='$CPP $CPPFLAGS'
64776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
64785 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
64787 if test x$glibcxx_cv_func__expl_use = x"yes"; then
64788 for ac_func in _expl
64789 do :
64790 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
64791 if test "x$ac_cv_func__expl" = xyes; then :
64792 cat >>confdefs.h <<_ACEOF
64793 #define HAVE__EXPL 1
64794 _ACEOF
64797 done
64806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
64807 $as_echo_n "checking for fabsl declaration... " >&6; }
64808 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
64809 if ${glibcxx_cv_func_fabsl_use+:} false; then :
64810 $as_echo_n "(cached) " >&6
64811 else
64814 ac_ext=cpp
64815 ac_cpp='$CXXCPP $CPPFLAGS'
64816 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64817 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64818 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64821 /* end confdefs.h. */
64822 #include <math.h>
64823 #ifdef HAVE_IEEEFP_H
64824 #include <ieeefp.h>
64825 #endif
64828 main ()
64830 fabsl(0);
64832 return 0;
64834 _ACEOF
64835 if ac_fn_cxx_try_compile "$LINENO"; then :
64836 glibcxx_cv_func_fabsl_use=yes
64837 else
64838 glibcxx_cv_func_fabsl_use=no
64840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64841 ac_ext=c
64842 ac_cpp='$CPP $CPPFLAGS'
64843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
64852 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
64854 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
64855 for ac_func in fabsl
64856 do :
64857 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
64858 if test "x$ac_cv_func_fabsl" = xyes; then :
64859 cat >>confdefs.h <<_ACEOF
64860 #define HAVE_FABSL 1
64861 _ACEOF
64864 done
64866 else
64868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
64869 $as_echo_n "checking for _fabsl declaration... " >&6; }
64870 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
64871 if ${glibcxx_cv_func__fabsl_use+:} false; then :
64872 $as_echo_n "(cached) " >&6
64873 else
64876 ac_ext=cpp
64877 ac_cpp='$CXXCPP $CPPFLAGS'
64878 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64879 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64880 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64883 /* end confdefs.h. */
64884 #include <math.h>
64885 #ifdef HAVE_IEEEFP_H
64886 #include <ieeefp.h>
64887 #endif
64890 main ()
64892 _fabsl(0);
64894 return 0;
64896 _ACEOF
64897 if ac_fn_cxx_try_compile "$LINENO"; then :
64898 glibcxx_cv_func__fabsl_use=yes
64899 else
64900 glibcxx_cv_func__fabsl_use=no
64902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64903 ac_ext=c
64904 ac_cpp='$CPP $CPPFLAGS'
64905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
64914 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
64916 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
64917 for ac_func in _fabsl
64918 do :
64919 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
64920 if test "x$ac_cv_func__fabsl" = xyes; then :
64921 cat >>confdefs.h <<_ACEOF
64922 #define HAVE__FABSL 1
64923 _ACEOF
64926 done
64935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
64936 $as_echo_n "checking for fmodl declaration... " >&6; }
64937 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
64938 if ${glibcxx_cv_func_fmodl_use+:} false; then :
64939 $as_echo_n "(cached) " >&6
64940 else
64943 ac_ext=cpp
64944 ac_cpp='$CXXCPP $CPPFLAGS'
64945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64950 /* end confdefs.h. */
64951 #include <math.h>
64953 main ()
64955 fmodl(0, 0);
64957 return 0;
64959 _ACEOF
64960 if ac_fn_cxx_try_compile "$LINENO"; then :
64961 glibcxx_cv_func_fmodl_use=yes
64962 else
64963 glibcxx_cv_func_fmodl_use=no
64965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64966 ac_ext=c
64967 ac_cpp='$CPP $CPPFLAGS'
64968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
64977 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
64979 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
64980 for ac_func in fmodl
64981 do :
64982 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
64983 if test "x$ac_cv_func_fmodl" = xyes; then :
64984 cat >>confdefs.h <<_ACEOF
64985 #define HAVE_FMODL 1
64986 _ACEOF
64989 done
64991 else
64993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
64994 $as_echo_n "checking for _fmodl declaration... " >&6; }
64995 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
64996 if ${glibcxx_cv_func__fmodl_use+:} false; then :
64997 $as_echo_n "(cached) " >&6
64998 else
65001 ac_ext=cpp
65002 ac_cpp='$CXXCPP $CPPFLAGS'
65003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65008 /* end confdefs.h. */
65009 #include <math.h>
65011 main ()
65013 _fmodl(0, 0);
65015 return 0;
65017 _ACEOF
65018 if ac_fn_cxx_try_compile "$LINENO"; then :
65019 glibcxx_cv_func__fmodl_use=yes
65020 else
65021 glibcxx_cv_func__fmodl_use=no
65023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65024 ac_ext=c
65025 ac_cpp='$CPP $CPPFLAGS'
65026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
65035 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
65037 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
65038 for ac_func in _fmodl
65039 do :
65040 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
65041 if test "x$ac_cv_func__fmodl" = xyes; then :
65042 cat >>confdefs.h <<_ACEOF
65043 #define HAVE__FMODL 1
65044 _ACEOF
65047 done
65056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
65057 $as_echo_n "checking for frexpl declaration... " >&6; }
65058 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
65059 if ${glibcxx_cv_func_frexpl_use+:} false; then :
65060 $as_echo_n "(cached) " >&6
65061 else
65064 ac_ext=cpp
65065 ac_cpp='$CXXCPP $CPPFLAGS'
65066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65071 /* end confdefs.h. */
65072 #include <math.h>
65074 main ()
65076 frexpl(0, 0);
65078 return 0;
65080 _ACEOF
65081 if ac_fn_cxx_try_compile "$LINENO"; then :
65082 glibcxx_cv_func_frexpl_use=yes
65083 else
65084 glibcxx_cv_func_frexpl_use=no
65086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65087 ac_ext=c
65088 ac_cpp='$CPP $CPPFLAGS'
65089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
65098 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
65100 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
65101 for ac_func in frexpl
65102 do :
65103 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
65104 if test "x$ac_cv_func_frexpl" = xyes; then :
65105 cat >>confdefs.h <<_ACEOF
65106 #define HAVE_FREXPL 1
65107 _ACEOF
65110 done
65112 else
65114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
65115 $as_echo_n "checking for _frexpl declaration... " >&6; }
65116 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
65117 if ${glibcxx_cv_func__frexpl_use+:} false; then :
65118 $as_echo_n "(cached) " >&6
65119 else
65122 ac_ext=cpp
65123 ac_cpp='$CXXCPP $CPPFLAGS'
65124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65129 /* end confdefs.h. */
65130 #include <math.h>
65132 main ()
65134 _frexpl(0, 0);
65136 return 0;
65138 _ACEOF
65139 if ac_fn_cxx_try_compile "$LINENO"; then :
65140 glibcxx_cv_func__frexpl_use=yes
65141 else
65142 glibcxx_cv_func__frexpl_use=no
65144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65145 ac_ext=c
65146 ac_cpp='$CPP $CPPFLAGS'
65147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
65156 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
65158 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
65159 for ac_func in _frexpl
65160 do :
65161 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
65162 if test "x$ac_cv_func__frexpl" = xyes; then :
65163 cat >>confdefs.h <<_ACEOF
65164 #define HAVE__FREXPL 1
65165 _ACEOF
65168 done
65177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
65178 $as_echo_n "checking for hypotl declaration... " >&6; }
65179 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
65180 if ${glibcxx_cv_func_hypotl_use+:} false; then :
65181 $as_echo_n "(cached) " >&6
65182 else
65185 ac_ext=cpp
65186 ac_cpp='$CXXCPP $CPPFLAGS'
65187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65192 /* end confdefs.h. */
65193 #include <math.h>
65195 main ()
65197 hypotl(0, 0);
65199 return 0;
65201 _ACEOF
65202 if ac_fn_cxx_try_compile "$LINENO"; then :
65203 glibcxx_cv_func_hypotl_use=yes
65204 else
65205 glibcxx_cv_func_hypotl_use=no
65207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65208 ac_ext=c
65209 ac_cpp='$CPP $CPPFLAGS'
65210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
65219 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
65221 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
65222 for ac_func in hypotl
65223 do :
65224 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
65225 if test "x$ac_cv_func_hypotl" = xyes; then :
65226 cat >>confdefs.h <<_ACEOF
65227 #define HAVE_HYPOTL 1
65228 _ACEOF
65231 done
65233 else
65235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
65236 $as_echo_n "checking for _hypotl declaration... " >&6; }
65237 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
65238 if ${glibcxx_cv_func__hypotl_use+:} false; then :
65239 $as_echo_n "(cached) " >&6
65240 else
65243 ac_ext=cpp
65244 ac_cpp='$CXXCPP $CPPFLAGS'
65245 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65246 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65247 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65250 /* end confdefs.h. */
65251 #include <math.h>
65253 main ()
65255 _hypotl(0, 0);
65257 return 0;
65259 _ACEOF
65260 if ac_fn_cxx_try_compile "$LINENO"; then :
65261 glibcxx_cv_func__hypotl_use=yes
65262 else
65263 glibcxx_cv_func__hypotl_use=no
65265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65266 ac_ext=c
65267 ac_cpp='$CPP $CPPFLAGS'
65268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
65277 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
65279 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
65280 for ac_func in _hypotl
65281 do :
65282 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
65283 if test "x$ac_cv_func__hypotl" = xyes; then :
65284 cat >>confdefs.h <<_ACEOF
65285 #define HAVE__HYPOTL 1
65286 _ACEOF
65289 done
65298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
65299 $as_echo_n "checking for ldexpl declaration... " >&6; }
65300 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
65301 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
65302 $as_echo_n "(cached) " >&6
65303 else
65306 ac_ext=cpp
65307 ac_cpp='$CXXCPP $CPPFLAGS'
65308 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65309 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65310 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65313 /* end confdefs.h. */
65314 #include <math.h>
65316 main ()
65318 ldexpl(0, 0);
65320 return 0;
65322 _ACEOF
65323 if ac_fn_cxx_try_compile "$LINENO"; then :
65324 glibcxx_cv_func_ldexpl_use=yes
65325 else
65326 glibcxx_cv_func_ldexpl_use=no
65328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65329 ac_ext=c
65330 ac_cpp='$CPP $CPPFLAGS'
65331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
65340 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
65342 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
65343 for ac_func in ldexpl
65344 do :
65345 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
65346 if test "x$ac_cv_func_ldexpl" = xyes; then :
65347 cat >>confdefs.h <<_ACEOF
65348 #define HAVE_LDEXPL 1
65349 _ACEOF
65352 done
65354 else
65356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
65357 $as_echo_n "checking for _ldexpl declaration... " >&6; }
65358 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
65359 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
65360 $as_echo_n "(cached) " >&6
65361 else
65364 ac_ext=cpp
65365 ac_cpp='$CXXCPP $CPPFLAGS'
65366 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65367 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65368 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65371 /* end confdefs.h. */
65372 #include <math.h>
65374 main ()
65376 _ldexpl(0, 0);
65378 return 0;
65380 _ACEOF
65381 if ac_fn_cxx_try_compile "$LINENO"; then :
65382 glibcxx_cv_func__ldexpl_use=yes
65383 else
65384 glibcxx_cv_func__ldexpl_use=no
65386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65387 ac_ext=c
65388 ac_cpp='$CPP $CPPFLAGS'
65389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65390 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
65398 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
65400 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
65401 for ac_func in _ldexpl
65402 do :
65403 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
65404 if test "x$ac_cv_func__ldexpl" = xyes; then :
65405 cat >>confdefs.h <<_ACEOF
65406 #define HAVE__LDEXPL 1
65407 _ACEOF
65410 done
65419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
65420 $as_echo_n "checking for logl declaration... " >&6; }
65421 if test x${glibcxx_cv_func_logl_use+set} != xset; then
65422 if ${glibcxx_cv_func_logl_use+:} false; then :
65423 $as_echo_n "(cached) " >&6
65424 else
65427 ac_ext=cpp
65428 ac_cpp='$CXXCPP $CPPFLAGS'
65429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65434 /* end confdefs.h. */
65435 #include <math.h>
65436 #ifdef HAVE_IEEEFP_H
65437 #include <ieeefp.h>
65438 #endif
65441 main ()
65443 logl(0);
65445 return 0;
65447 _ACEOF
65448 if ac_fn_cxx_try_compile "$LINENO"; then :
65449 glibcxx_cv_func_logl_use=yes
65450 else
65451 glibcxx_cv_func_logl_use=no
65453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65454 ac_ext=c
65455 ac_cpp='$CPP $CPPFLAGS'
65456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
65465 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
65467 if test x$glibcxx_cv_func_logl_use = x"yes"; then
65468 for ac_func in logl
65469 do :
65470 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
65471 if test "x$ac_cv_func_logl" = xyes; then :
65472 cat >>confdefs.h <<_ACEOF
65473 #define HAVE_LOGL 1
65474 _ACEOF
65477 done
65479 else
65481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
65482 $as_echo_n "checking for _logl declaration... " >&6; }
65483 if test x${glibcxx_cv_func__logl_use+set} != xset; then
65484 if ${glibcxx_cv_func__logl_use+:} false; then :
65485 $as_echo_n "(cached) " >&6
65486 else
65489 ac_ext=cpp
65490 ac_cpp='$CXXCPP $CPPFLAGS'
65491 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65492 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65493 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65496 /* end confdefs.h. */
65497 #include <math.h>
65498 #ifdef HAVE_IEEEFP_H
65499 #include <ieeefp.h>
65500 #endif
65503 main ()
65505 _logl(0);
65507 return 0;
65509 _ACEOF
65510 if ac_fn_cxx_try_compile "$LINENO"; then :
65511 glibcxx_cv_func__logl_use=yes
65512 else
65513 glibcxx_cv_func__logl_use=no
65515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65516 ac_ext=c
65517 ac_cpp='$CPP $CPPFLAGS'
65518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
65527 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
65529 if test x$glibcxx_cv_func__logl_use = x"yes"; then
65530 for ac_func in _logl
65531 do :
65532 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
65533 if test "x$ac_cv_func__logl" = xyes; then :
65534 cat >>confdefs.h <<_ACEOF
65535 #define HAVE__LOGL 1
65536 _ACEOF
65539 done
65548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
65549 $as_echo_n "checking for log10l declaration... " >&6; }
65550 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
65551 if ${glibcxx_cv_func_log10l_use+:} false; then :
65552 $as_echo_n "(cached) " >&6
65553 else
65556 ac_ext=cpp
65557 ac_cpp='$CXXCPP $CPPFLAGS'
65558 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65559 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65560 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65563 /* end confdefs.h. */
65564 #include <math.h>
65565 #ifdef HAVE_IEEEFP_H
65566 #include <ieeefp.h>
65567 #endif
65570 main ()
65572 log10l(0);
65574 return 0;
65576 _ACEOF
65577 if ac_fn_cxx_try_compile "$LINENO"; then :
65578 glibcxx_cv_func_log10l_use=yes
65579 else
65580 glibcxx_cv_func_log10l_use=no
65582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65583 ac_ext=c
65584 ac_cpp='$CPP $CPPFLAGS'
65585 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65586 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65587 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
65594 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
65596 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
65597 for ac_func in log10l
65598 do :
65599 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
65600 if test "x$ac_cv_func_log10l" = xyes; then :
65601 cat >>confdefs.h <<_ACEOF
65602 #define HAVE_LOG10L 1
65603 _ACEOF
65606 done
65608 else
65610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
65611 $as_echo_n "checking for _log10l declaration... " >&6; }
65612 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
65613 if ${glibcxx_cv_func__log10l_use+:} false; then :
65614 $as_echo_n "(cached) " >&6
65615 else
65618 ac_ext=cpp
65619 ac_cpp='$CXXCPP $CPPFLAGS'
65620 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65621 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65622 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65625 /* end confdefs.h. */
65626 #include <math.h>
65627 #ifdef HAVE_IEEEFP_H
65628 #include <ieeefp.h>
65629 #endif
65632 main ()
65634 _log10l(0);
65636 return 0;
65638 _ACEOF
65639 if ac_fn_cxx_try_compile "$LINENO"; then :
65640 glibcxx_cv_func__log10l_use=yes
65641 else
65642 glibcxx_cv_func__log10l_use=no
65644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65645 ac_ext=c
65646 ac_cpp='$CPP $CPPFLAGS'
65647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
65656 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
65658 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
65659 for ac_func in _log10l
65660 do :
65661 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
65662 if test "x$ac_cv_func__log10l" = xyes; then :
65663 cat >>confdefs.h <<_ACEOF
65664 #define HAVE__LOG10L 1
65665 _ACEOF
65668 done
65677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
65678 $as_echo_n "checking for modfl declaration... " >&6; }
65679 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
65680 if ${glibcxx_cv_func_modfl_use+:} false; then :
65681 $as_echo_n "(cached) " >&6
65682 else
65685 ac_ext=cpp
65686 ac_cpp='$CXXCPP $CPPFLAGS'
65687 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65688 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65689 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65692 /* end confdefs.h. */
65693 #include <math.h>
65695 main ()
65697 modfl(0, 0);
65699 return 0;
65701 _ACEOF
65702 if ac_fn_cxx_try_compile "$LINENO"; then :
65703 glibcxx_cv_func_modfl_use=yes
65704 else
65705 glibcxx_cv_func_modfl_use=no
65707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65708 ac_ext=c
65709 ac_cpp='$CPP $CPPFLAGS'
65710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
65719 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
65721 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
65722 for ac_func in modfl
65723 do :
65724 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
65725 if test "x$ac_cv_func_modfl" = xyes; then :
65726 cat >>confdefs.h <<_ACEOF
65727 #define HAVE_MODFL 1
65728 _ACEOF
65731 done
65733 else
65735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
65736 $as_echo_n "checking for _modfl declaration... " >&6; }
65737 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
65738 if ${glibcxx_cv_func__modfl_use+:} false; then :
65739 $as_echo_n "(cached) " >&6
65740 else
65743 ac_ext=cpp
65744 ac_cpp='$CXXCPP $CPPFLAGS'
65745 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65746 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65747 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65750 /* end confdefs.h. */
65751 #include <math.h>
65753 main ()
65755 _modfl(0, 0);
65757 return 0;
65759 _ACEOF
65760 if ac_fn_cxx_try_compile "$LINENO"; then :
65761 glibcxx_cv_func__modfl_use=yes
65762 else
65763 glibcxx_cv_func__modfl_use=no
65765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65766 ac_ext=c
65767 ac_cpp='$CPP $CPPFLAGS'
65768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
65777 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
65779 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
65780 for ac_func in _modfl
65781 do :
65782 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
65783 if test "x$ac_cv_func__modfl" = xyes; then :
65784 cat >>confdefs.h <<_ACEOF
65785 #define HAVE__MODFL 1
65786 _ACEOF
65789 done
65798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
65799 $as_echo_n "checking for powl declaration... " >&6; }
65800 if test x${glibcxx_cv_func_powl_use+set} != xset; then
65801 if ${glibcxx_cv_func_powl_use+:} false; then :
65802 $as_echo_n "(cached) " >&6
65803 else
65806 ac_ext=cpp
65807 ac_cpp='$CXXCPP $CPPFLAGS'
65808 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65809 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65810 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65813 /* end confdefs.h. */
65814 #include <math.h>
65816 main ()
65818 powl(0, 0);
65820 return 0;
65822 _ACEOF
65823 if ac_fn_cxx_try_compile "$LINENO"; then :
65824 glibcxx_cv_func_powl_use=yes
65825 else
65826 glibcxx_cv_func_powl_use=no
65828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65829 ac_ext=c
65830 ac_cpp='$CPP $CPPFLAGS'
65831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
65840 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
65842 if test x$glibcxx_cv_func_powl_use = x"yes"; then
65843 for ac_func in powl
65844 do :
65845 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
65846 if test "x$ac_cv_func_powl" = xyes; then :
65847 cat >>confdefs.h <<_ACEOF
65848 #define HAVE_POWL 1
65849 _ACEOF
65852 done
65854 else
65856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
65857 $as_echo_n "checking for _powl declaration... " >&6; }
65858 if test x${glibcxx_cv_func__powl_use+set} != xset; then
65859 if ${glibcxx_cv_func__powl_use+:} false; then :
65860 $as_echo_n "(cached) " >&6
65861 else
65864 ac_ext=cpp
65865 ac_cpp='$CXXCPP $CPPFLAGS'
65866 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65867 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65868 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65871 /* end confdefs.h. */
65872 #include <math.h>
65874 main ()
65876 _powl(0, 0);
65878 return 0;
65880 _ACEOF
65881 if ac_fn_cxx_try_compile "$LINENO"; then :
65882 glibcxx_cv_func__powl_use=yes
65883 else
65884 glibcxx_cv_func__powl_use=no
65886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65887 ac_ext=c
65888 ac_cpp='$CPP $CPPFLAGS'
65889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
65898 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
65900 if test x$glibcxx_cv_func__powl_use = x"yes"; then
65901 for ac_func in _powl
65902 do :
65903 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
65904 if test "x$ac_cv_func__powl" = xyes; then :
65905 cat >>confdefs.h <<_ACEOF
65906 #define HAVE__POWL 1
65907 _ACEOF
65910 done
65919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
65920 $as_echo_n "checking for sqrtl declaration... " >&6; }
65921 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
65922 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
65923 $as_echo_n "(cached) " >&6
65924 else
65927 ac_ext=cpp
65928 ac_cpp='$CXXCPP $CPPFLAGS'
65929 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65930 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65931 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65934 /* end confdefs.h. */
65935 #include <math.h>
65936 #ifdef HAVE_IEEEFP_H
65937 #include <ieeefp.h>
65938 #endif
65941 main ()
65943 sqrtl(0);
65945 return 0;
65947 _ACEOF
65948 if ac_fn_cxx_try_compile "$LINENO"; then :
65949 glibcxx_cv_func_sqrtl_use=yes
65950 else
65951 glibcxx_cv_func_sqrtl_use=no
65953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65954 ac_ext=c
65955 ac_cpp='$CPP $CPPFLAGS'
65956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
65965 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
65967 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
65968 for ac_func in sqrtl
65969 do :
65970 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
65971 if test "x$ac_cv_func_sqrtl" = xyes; then :
65972 cat >>confdefs.h <<_ACEOF
65973 #define HAVE_SQRTL 1
65974 _ACEOF
65977 done
65979 else
65981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
65982 $as_echo_n "checking for _sqrtl declaration... " >&6; }
65983 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
65984 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
65985 $as_echo_n "(cached) " >&6
65986 else
65989 ac_ext=cpp
65990 ac_cpp='$CXXCPP $CPPFLAGS'
65991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65992 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65996 /* end confdefs.h. */
65997 #include <math.h>
65998 #ifdef HAVE_IEEEFP_H
65999 #include <ieeefp.h>
66000 #endif
66003 main ()
66005 _sqrtl(0);
66007 return 0;
66009 _ACEOF
66010 if ac_fn_cxx_try_compile "$LINENO"; then :
66011 glibcxx_cv_func__sqrtl_use=yes
66012 else
66013 glibcxx_cv_func__sqrtl_use=no
66015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66016 ac_ext=c
66017 ac_cpp='$CPP $CPPFLAGS'
66018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
66027 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
66029 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
66030 for ac_func in _sqrtl
66031 do :
66032 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
66033 if test "x$ac_cv_func__sqrtl" = xyes; then :
66034 cat >>confdefs.h <<_ACEOF
66035 #define HAVE__SQRTL 1
66036 _ACEOF
66039 done
66048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
66049 $as_echo_n "checking for sincosl declaration... " >&6; }
66050 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
66051 if ${glibcxx_cv_func_sincosl_use+:} false; then :
66052 $as_echo_n "(cached) " >&6
66053 else
66056 ac_ext=cpp
66057 ac_cpp='$CXXCPP $CPPFLAGS'
66058 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66059 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66060 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66063 /* end confdefs.h. */
66064 #include <math.h>
66066 main ()
66068 sincosl(0, 0, 0);
66070 return 0;
66072 _ACEOF
66073 if ac_fn_cxx_try_compile "$LINENO"; then :
66074 glibcxx_cv_func_sincosl_use=yes
66075 else
66076 glibcxx_cv_func_sincosl_use=no
66078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66079 ac_ext=c
66080 ac_cpp='$CPP $CPPFLAGS'
66081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
66090 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
66092 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
66093 for ac_func in sincosl
66094 do :
66095 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
66096 if test "x$ac_cv_func_sincosl" = xyes; then :
66097 cat >>confdefs.h <<_ACEOF
66098 #define HAVE_SINCOSL 1
66099 _ACEOF
66102 done
66104 else
66106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
66107 $as_echo_n "checking for _sincosl declaration... " >&6; }
66108 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
66109 if ${glibcxx_cv_func__sincosl_use+:} false; then :
66110 $as_echo_n "(cached) " >&6
66111 else
66114 ac_ext=cpp
66115 ac_cpp='$CXXCPP $CPPFLAGS'
66116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66121 /* end confdefs.h. */
66122 #include <math.h>
66124 main ()
66126 _sincosl(0, 0, 0);
66128 return 0;
66130 _ACEOF
66131 if ac_fn_cxx_try_compile "$LINENO"; then :
66132 glibcxx_cv_func__sincosl_use=yes
66133 else
66134 glibcxx_cv_func__sincosl_use=no
66136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66137 ac_ext=c
66138 ac_cpp='$CPP $CPPFLAGS'
66139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
66148 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
66150 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
66151 for ac_func in _sincosl
66152 do :
66153 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
66154 if test "x$ac_cv_func__sincosl" = xyes; then :
66155 cat >>confdefs.h <<_ACEOF
66156 #define HAVE__SINCOSL 1
66157 _ACEOF
66160 done
66169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
66170 $as_echo_n "checking for finitel declaration... " >&6; }
66171 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
66172 if ${glibcxx_cv_func_finitel_use+:} false; then :
66173 $as_echo_n "(cached) " >&6
66174 else
66177 ac_ext=cpp
66178 ac_cpp='$CXXCPP $CPPFLAGS'
66179 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66180 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66181 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66184 /* end confdefs.h. */
66185 #include <math.h>
66186 #ifdef HAVE_IEEEFP_H
66187 #include <ieeefp.h>
66188 #endif
66191 main ()
66193 finitel(0);
66195 return 0;
66197 _ACEOF
66198 if ac_fn_cxx_try_compile "$LINENO"; then :
66199 glibcxx_cv_func_finitel_use=yes
66200 else
66201 glibcxx_cv_func_finitel_use=no
66203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66204 ac_ext=c
66205 ac_cpp='$CPP $CPPFLAGS'
66206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
66215 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
66217 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
66218 for ac_func in finitel
66219 do :
66220 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
66221 if test "x$ac_cv_func_finitel" = xyes; then :
66222 cat >>confdefs.h <<_ACEOF
66223 #define HAVE_FINITEL 1
66224 _ACEOF
66227 done
66229 else
66231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
66232 $as_echo_n "checking for _finitel declaration... " >&6; }
66233 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
66234 if ${glibcxx_cv_func__finitel_use+:} false; then :
66235 $as_echo_n "(cached) " >&6
66236 else
66239 ac_ext=cpp
66240 ac_cpp='$CXXCPP $CPPFLAGS'
66241 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66242 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66243 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66246 /* end confdefs.h. */
66247 #include <math.h>
66248 #ifdef HAVE_IEEEFP_H
66249 #include <ieeefp.h>
66250 #endif
66253 main ()
66255 _finitel(0);
66257 return 0;
66259 _ACEOF
66260 if ac_fn_cxx_try_compile "$LINENO"; then :
66261 glibcxx_cv_func__finitel_use=yes
66262 else
66263 glibcxx_cv_func__finitel_use=no
66265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66266 ac_ext=c
66267 ac_cpp='$CPP $CPPFLAGS'
66268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
66277 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
66279 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
66280 for ac_func in _finitel
66281 do :
66282 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
66283 if test "x$ac_cv_func__finitel" = xyes; then :
66284 cat >>confdefs.h <<_ACEOF
66285 #define HAVE__FINITEL 1
66286 _ACEOF
66289 done
66297 LIBS="$ac_save_LIBS"
66298 CXXFLAGS="$ac_save_CXXFLAGS"
66301 ac_test_CXXFLAGS="${CXXFLAGS+set}"
66302 ac_save_CXXFLAGS="$CXXFLAGS"
66303 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
66306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
66307 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
66308 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
66309 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
66310 $as_echo_n "(cached) " >&6
66311 else
66314 ac_ext=cpp
66315 ac_cpp='$CXXCPP $CPPFLAGS'
66316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66321 /* end confdefs.h. */
66322 #include <stdlib.h>
66324 main ()
66326 at_quick_exit(0);
66328 return 0;
66330 _ACEOF
66331 if ac_fn_cxx_try_compile "$LINENO"; then :
66332 glibcxx_cv_func_at_quick_exit_use=yes
66333 else
66334 glibcxx_cv_func_at_quick_exit_use=no
66336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66337 ac_ext=c
66338 ac_cpp='$CPP $CPPFLAGS'
66339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
66348 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
66349 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
66350 for ac_func in at_quick_exit
66351 do :
66352 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
66353 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
66354 cat >>confdefs.h <<_ACEOF
66355 #define HAVE_AT_QUICK_EXIT 1
66356 _ACEOF
66359 done
66364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
66365 $as_echo_n "checking for quick_exit declaration... " >&6; }
66366 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
66367 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
66368 $as_echo_n "(cached) " >&6
66369 else
66372 ac_ext=cpp
66373 ac_cpp='$CXXCPP $CPPFLAGS'
66374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66379 /* end confdefs.h. */
66380 #include <stdlib.h>
66382 main ()
66384 quick_exit(0);
66386 return 0;
66388 _ACEOF
66389 if ac_fn_cxx_try_compile "$LINENO"; then :
66390 glibcxx_cv_func_quick_exit_use=yes
66391 else
66392 glibcxx_cv_func_quick_exit_use=no
66394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66395 ac_ext=c
66396 ac_cpp='$CPP $CPPFLAGS'
66397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
66406 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
66407 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
66408 for ac_func in quick_exit
66409 do :
66410 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
66411 if test "x$ac_cv_func_quick_exit" = xyes; then :
66412 cat >>confdefs.h <<_ACEOF
66413 #define HAVE_QUICK_EXIT 1
66414 _ACEOF
66417 done
66422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
66423 $as_echo_n "checking for strtold declaration... " >&6; }
66424 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
66425 if ${glibcxx_cv_func_strtold_use+:} false; then :
66426 $as_echo_n "(cached) " >&6
66427 else
66430 ac_ext=cpp
66431 ac_cpp='$CXXCPP $CPPFLAGS'
66432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66437 /* end confdefs.h. */
66438 #include <stdlib.h>
66440 main ()
66442 strtold(0, 0);
66444 return 0;
66446 _ACEOF
66447 if ac_fn_cxx_try_compile "$LINENO"; then :
66448 glibcxx_cv_func_strtold_use=yes
66449 else
66450 glibcxx_cv_func_strtold_use=no
66452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66453 ac_ext=c
66454 ac_cpp='$CPP $CPPFLAGS'
66455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
66464 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
66465 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
66466 for ac_func in strtold
66467 do :
66468 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
66469 if test "x$ac_cv_func_strtold" = xyes; then :
66470 cat >>confdefs.h <<_ACEOF
66471 #define HAVE_STRTOLD 1
66472 _ACEOF
66475 done
66482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
66483 $as_echo_n "checking for strtof declaration... " >&6; }
66484 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
66485 if ${glibcxx_cv_func_strtof_use+:} false; then :
66486 $as_echo_n "(cached) " >&6
66487 else
66490 ac_ext=cpp
66491 ac_cpp='$CXXCPP $CPPFLAGS'
66492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66497 /* end confdefs.h. */
66498 #include <stdlib.h>
66500 main ()
66502 strtof(0, 0);
66504 return 0;
66506 _ACEOF
66507 if ac_fn_cxx_try_compile "$LINENO"; then :
66508 glibcxx_cv_func_strtof_use=yes
66509 else
66510 glibcxx_cv_func_strtof_use=no
66512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66513 ac_ext=c
66514 ac_cpp='$CPP $CPPFLAGS'
66515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
66524 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
66525 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
66526 for ac_func in strtof
66527 do :
66528 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
66529 if test "x$ac_cv_func_strtof" = xyes; then :
66530 cat >>confdefs.h <<_ACEOF
66531 #define HAVE_STRTOF 1
66532 _ACEOF
66535 done
66542 CXXFLAGS="$ac_save_CXXFLAGS"
66545 *-tpf)
66546 SECTION_FLAGS='-ffunction-sections -fdata-sections'
66547 SECTION_LDFLAGS='-Wl,--gc-sections $SECTION_LDFLAGS'
66549 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
66551 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
66553 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
66555 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
66557 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
66559 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
66561 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
66563 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
66565 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
66567 $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h
66569 if test x"long_double_math_on_this_cpu" = x"yes"; then
66570 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
66572 $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
66574 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
66576 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
66580 *-*vms*)
66581 # Check for available headers.
66582 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, VMS doesn't have a GNU ld
66584 ac_test_CXXFLAGS="${CXXFLAGS+set}"
66585 ac_save_CXXFLAGS="$CXXFLAGS"
66586 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
66588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
66589 $as_echo_n "checking for sin in -lm... " >&6; }
66590 if ${ac_cv_lib_m_sin+:} false; then :
66591 $as_echo_n "(cached) " >&6
66592 else
66593 ac_check_lib_save_LIBS=$LIBS
66594 LIBS="-lm $LIBS"
66595 if test x$gcc_no_link = xyes; then
66596 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
66598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66599 /* end confdefs.h. */
66601 /* Override any GCC internal prototype to avoid an error.
66602 Use char because int might match the return type of a GCC
66603 builtin and then its argument prototype would still apply. */
66604 #ifdef __cplusplus
66605 extern "C"
66606 #endif
66607 char sin ();
66609 main ()
66611 return sin ();
66613 return 0;
66615 _ACEOF
66616 if ac_fn_c_try_link "$LINENO"; then :
66617 ac_cv_lib_m_sin=yes
66618 else
66619 ac_cv_lib_m_sin=no
66621 rm -f core conftest.err conftest.$ac_objext \
66622 conftest$ac_exeext conftest.$ac_ext
66623 LIBS=$ac_check_lib_save_LIBS
66625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
66626 $as_echo "$ac_cv_lib_m_sin" >&6; }
66627 if test "x$ac_cv_lib_m_sin" = xyes; then :
66628 libm="-lm"
66631 ac_save_LIBS="$LIBS"
66632 LIBS="$LIBS $libm"
66636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
66637 $as_echo_n "checking for isinf declaration... " >&6; }
66638 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
66639 if ${glibcxx_cv_func_isinf_use+:} false; then :
66640 $as_echo_n "(cached) " >&6
66641 else
66644 ac_ext=cpp
66645 ac_cpp='$CXXCPP $CPPFLAGS'
66646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66651 /* end confdefs.h. */
66652 #include <math.h>
66653 #ifdef HAVE_IEEEFP_H
66654 #include <ieeefp.h>
66655 #endif
66658 main ()
66660 isinf(0);
66662 return 0;
66664 _ACEOF
66665 if ac_fn_cxx_try_compile "$LINENO"; then :
66666 glibcxx_cv_func_isinf_use=yes
66667 else
66668 glibcxx_cv_func_isinf_use=no
66670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66671 ac_ext=c
66672 ac_cpp='$CPP $CPPFLAGS'
66673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
66682 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
66684 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
66685 for ac_func in isinf
66686 do :
66687 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
66688 if test "x$ac_cv_func_isinf" = xyes; then :
66689 cat >>confdefs.h <<_ACEOF
66690 #define HAVE_ISINF 1
66691 _ACEOF
66694 done
66696 else
66698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
66699 $as_echo_n "checking for _isinf declaration... " >&6; }
66700 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
66701 if ${glibcxx_cv_func__isinf_use+:} false; then :
66702 $as_echo_n "(cached) " >&6
66703 else
66706 ac_ext=cpp
66707 ac_cpp='$CXXCPP $CPPFLAGS'
66708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66713 /* end confdefs.h. */
66714 #include <math.h>
66715 #ifdef HAVE_IEEEFP_H
66716 #include <ieeefp.h>
66717 #endif
66720 main ()
66722 _isinf(0);
66724 return 0;
66726 _ACEOF
66727 if ac_fn_cxx_try_compile "$LINENO"; then :
66728 glibcxx_cv_func__isinf_use=yes
66729 else
66730 glibcxx_cv_func__isinf_use=no
66732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66733 ac_ext=c
66734 ac_cpp='$CPP $CPPFLAGS'
66735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
66744 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
66746 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
66747 for ac_func in _isinf
66748 do :
66749 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
66750 if test "x$ac_cv_func__isinf" = xyes; then :
66751 cat >>confdefs.h <<_ACEOF
66752 #define HAVE__ISINF 1
66753 _ACEOF
66756 done
66765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
66766 $as_echo_n "checking for isnan declaration... " >&6; }
66767 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
66768 if ${glibcxx_cv_func_isnan_use+:} false; then :
66769 $as_echo_n "(cached) " >&6
66770 else
66773 ac_ext=cpp
66774 ac_cpp='$CXXCPP $CPPFLAGS'
66775 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66776 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66777 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66780 /* end confdefs.h. */
66781 #include <math.h>
66782 #ifdef HAVE_IEEEFP_H
66783 #include <ieeefp.h>
66784 #endif
66787 main ()
66789 isnan(0);
66791 return 0;
66793 _ACEOF
66794 if ac_fn_cxx_try_compile "$LINENO"; then :
66795 glibcxx_cv_func_isnan_use=yes
66796 else
66797 glibcxx_cv_func_isnan_use=no
66799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66800 ac_ext=c
66801 ac_cpp='$CPP $CPPFLAGS'
66802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
66811 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
66813 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
66814 for ac_func in isnan
66815 do :
66816 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
66817 if test "x$ac_cv_func_isnan" = xyes; then :
66818 cat >>confdefs.h <<_ACEOF
66819 #define HAVE_ISNAN 1
66820 _ACEOF
66823 done
66825 else
66827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
66828 $as_echo_n "checking for _isnan declaration... " >&6; }
66829 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
66830 if ${glibcxx_cv_func__isnan_use+:} false; then :
66831 $as_echo_n "(cached) " >&6
66832 else
66835 ac_ext=cpp
66836 ac_cpp='$CXXCPP $CPPFLAGS'
66837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66842 /* end confdefs.h. */
66843 #include <math.h>
66844 #ifdef HAVE_IEEEFP_H
66845 #include <ieeefp.h>
66846 #endif
66849 main ()
66851 _isnan(0);
66853 return 0;
66855 _ACEOF
66856 if ac_fn_cxx_try_compile "$LINENO"; then :
66857 glibcxx_cv_func__isnan_use=yes
66858 else
66859 glibcxx_cv_func__isnan_use=no
66861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66862 ac_ext=c
66863 ac_cpp='$CPP $CPPFLAGS'
66864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
66873 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
66875 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
66876 for ac_func in _isnan
66877 do :
66878 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
66879 if test "x$ac_cv_func__isnan" = xyes; then :
66880 cat >>confdefs.h <<_ACEOF
66881 #define HAVE__ISNAN 1
66882 _ACEOF
66885 done
66894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
66895 $as_echo_n "checking for finite declaration... " >&6; }
66896 if test x${glibcxx_cv_func_finite_use+set} != xset; then
66897 if ${glibcxx_cv_func_finite_use+:} false; then :
66898 $as_echo_n "(cached) " >&6
66899 else
66902 ac_ext=cpp
66903 ac_cpp='$CXXCPP $CPPFLAGS'
66904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66909 /* end confdefs.h. */
66910 #include <math.h>
66911 #ifdef HAVE_IEEEFP_H
66912 #include <ieeefp.h>
66913 #endif
66916 main ()
66918 finite(0);
66920 return 0;
66922 _ACEOF
66923 if ac_fn_cxx_try_compile "$LINENO"; then :
66924 glibcxx_cv_func_finite_use=yes
66925 else
66926 glibcxx_cv_func_finite_use=no
66928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66929 ac_ext=c
66930 ac_cpp='$CPP $CPPFLAGS'
66931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
66940 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
66942 if test x$glibcxx_cv_func_finite_use = x"yes"; then
66943 for ac_func in finite
66944 do :
66945 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
66946 if test "x$ac_cv_func_finite" = xyes; then :
66947 cat >>confdefs.h <<_ACEOF
66948 #define HAVE_FINITE 1
66949 _ACEOF
66952 done
66954 else
66956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
66957 $as_echo_n "checking for _finite declaration... " >&6; }
66958 if test x${glibcxx_cv_func__finite_use+set} != xset; then
66959 if ${glibcxx_cv_func__finite_use+:} false; then :
66960 $as_echo_n "(cached) " >&6
66961 else
66964 ac_ext=cpp
66965 ac_cpp='$CXXCPP $CPPFLAGS'
66966 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66967 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66968 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66971 /* end confdefs.h. */
66972 #include <math.h>
66973 #ifdef HAVE_IEEEFP_H
66974 #include <ieeefp.h>
66975 #endif
66978 main ()
66980 _finite(0);
66982 return 0;
66984 _ACEOF
66985 if ac_fn_cxx_try_compile "$LINENO"; then :
66986 glibcxx_cv_func__finite_use=yes
66987 else
66988 glibcxx_cv_func__finite_use=no
66990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66991 ac_ext=c
66992 ac_cpp='$CPP $CPPFLAGS'
66993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
67002 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
67004 if test x$glibcxx_cv_func__finite_use = x"yes"; then
67005 for ac_func in _finite
67006 do :
67007 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
67008 if test "x$ac_cv_func__finite" = xyes; then :
67009 cat >>confdefs.h <<_ACEOF
67010 #define HAVE__FINITE 1
67011 _ACEOF
67014 done
67023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
67024 $as_echo_n "checking for sincos declaration... " >&6; }
67025 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
67026 if ${glibcxx_cv_func_sincos_use+:} false; then :
67027 $as_echo_n "(cached) " >&6
67028 else
67031 ac_ext=cpp
67032 ac_cpp='$CXXCPP $CPPFLAGS'
67033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67038 /* end confdefs.h. */
67039 #include <math.h>
67041 main ()
67043 sincos(0, 0, 0);
67045 return 0;
67047 _ACEOF
67048 if ac_fn_cxx_try_compile "$LINENO"; then :
67049 glibcxx_cv_func_sincos_use=yes
67050 else
67051 glibcxx_cv_func_sincos_use=no
67053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67054 ac_ext=c
67055 ac_cpp='$CPP $CPPFLAGS'
67056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
67065 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
67067 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
67068 for ac_func in sincos
67069 do :
67070 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
67071 if test "x$ac_cv_func_sincos" = xyes; then :
67072 cat >>confdefs.h <<_ACEOF
67073 #define HAVE_SINCOS 1
67074 _ACEOF
67077 done
67079 else
67081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
67082 $as_echo_n "checking for _sincos declaration... " >&6; }
67083 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
67084 if ${glibcxx_cv_func__sincos_use+:} false; then :
67085 $as_echo_n "(cached) " >&6
67086 else
67089 ac_ext=cpp
67090 ac_cpp='$CXXCPP $CPPFLAGS'
67091 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67092 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67093 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67096 /* end confdefs.h. */
67097 #include <math.h>
67099 main ()
67101 _sincos(0, 0, 0);
67103 return 0;
67105 _ACEOF
67106 if ac_fn_cxx_try_compile "$LINENO"; then :
67107 glibcxx_cv_func__sincos_use=yes
67108 else
67109 glibcxx_cv_func__sincos_use=no
67111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67112 ac_ext=c
67113 ac_cpp='$CPP $CPPFLAGS'
67114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
67123 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
67125 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
67126 for ac_func in _sincos
67127 do :
67128 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
67129 if test "x$ac_cv_func__sincos" = xyes; then :
67130 cat >>confdefs.h <<_ACEOF
67131 #define HAVE__SINCOS 1
67132 _ACEOF
67135 done
67144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
67145 $as_echo_n "checking for fpclass declaration... " >&6; }
67146 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
67147 if ${glibcxx_cv_func_fpclass_use+:} false; then :
67148 $as_echo_n "(cached) " >&6
67149 else
67152 ac_ext=cpp
67153 ac_cpp='$CXXCPP $CPPFLAGS'
67154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67159 /* end confdefs.h. */
67160 #include <math.h>
67161 #ifdef HAVE_IEEEFP_H
67162 #include <ieeefp.h>
67163 #endif
67166 main ()
67168 fpclass(0);
67170 return 0;
67172 _ACEOF
67173 if ac_fn_cxx_try_compile "$LINENO"; then :
67174 glibcxx_cv_func_fpclass_use=yes
67175 else
67176 glibcxx_cv_func_fpclass_use=no
67178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67179 ac_ext=c
67180 ac_cpp='$CPP $CPPFLAGS'
67181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
67190 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
67192 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
67193 for ac_func in fpclass
67194 do :
67195 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
67196 if test "x$ac_cv_func_fpclass" = xyes; then :
67197 cat >>confdefs.h <<_ACEOF
67198 #define HAVE_FPCLASS 1
67199 _ACEOF
67202 done
67204 else
67206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
67207 $as_echo_n "checking for _fpclass declaration... " >&6; }
67208 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
67209 if ${glibcxx_cv_func__fpclass_use+:} false; then :
67210 $as_echo_n "(cached) " >&6
67211 else
67214 ac_ext=cpp
67215 ac_cpp='$CXXCPP $CPPFLAGS'
67216 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67217 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67218 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67221 /* end confdefs.h. */
67222 #include <math.h>
67223 #ifdef HAVE_IEEEFP_H
67224 #include <ieeefp.h>
67225 #endif
67228 main ()
67230 _fpclass(0);
67232 return 0;
67234 _ACEOF
67235 if ac_fn_cxx_try_compile "$LINENO"; then :
67236 glibcxx_cv_func__fpclass_use=yes
67237 else
67238 glibcxx_cv_func__fpclass_use=no
67240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67241 ac_ext=c
67242 ac_cpp='$CPP $CPPFLAGS'
67243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
67252 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
67254 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
67255 for ac_func in _fpclass
67256 do :
67257 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
67258 if test "x$ac_cv_func__fpclass" = xyes; then :
67259 cat >>confdefs.h <<_ACEOF
67260 #define HAVE__FPCLASS 1
67261 _ACEOF
67264 done
67273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
67274 $as_echo_n "checking for qfpclass declaration... " >&6; }
67275 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
67276 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
67277 $as_echo_n "(cached) " >&6
67278 else
67281 ac_ext=cpp
67282 ac_cpp='$CXXCPP $CPPFLAGS'
67283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67288 /* end confdefs.h. */
67289 #include <math.h>
67290 #ifdef HAVE_IEEEFP_H
67291 #include <ieeefp.h>
67292 #endif
67295 main ()
67297 qfpclass(0);
67299 return 0;
67301 _ACEOF
67302 if ac_fn_cxx_try_compile "$LINENO"; then :
67303 glibcxx_cv_func_qfpclass_use=yes
67304 else
67305 glibcxx_cv_func_qfpclass_use=no
67307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67308 ac_ext=c
67309 ac_cpp='$CPP $CPPFLAGS'
67310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
67319 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
67321 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
67322 for ac_func in qfpclass
67323 do :
67324 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
67325 if test "x$ac_cv_func_qfpclass" = xyes; then :
67326 cat >>confdefs.h <<_ACEOF
67327 #define HAVE_QFPCLASS 1
67328 _ACEOF
67331 done
67333 else
67335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
67336 $as_echo_n "checking for _qfpclass declaration... " >&6; }
67337 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
67338 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
67339 $as_echo_n "(cached) " >&6
67340 else
67343 ac_ext=cpp
67344 ac_cpp='$CXXCPP $CPPFLAGS'
67345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67350 /* end confdefs.h. */
67351 #include <math.h>
67352 #ifdef HAVE_IEEEFP_H
67353 #include <ieeefp.h>
67354 #endif
67357 main ()
67359 _qfpclass(0);
67361 return 0;
67363 _ACEOF
67364 if ac_fn_cxx_try_compile "$LINENO"; then :
67365 glibcxx_cv_func__qfpclass_use=yes
67366 else
67367 glibcxx_cv_func__qfpclass_use=no
67369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67370 ac_ext=c
67371 ac_cpp='$CPP $CPPFLAGS'
67372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
67381 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
67383 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
67384 for ac_func in _qfpclass
67385 do :
67386 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
67387 if test "x$ac_cv_func__qfpclass" = xyes; then :
67388 cat >>confdefs.h <<_ACEOF
67389 #define HAVE__QFPCLASS 1
67390 _ACEOF
67393 done
67402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
67403 $as_echo_n "checking for hypot declaration... " >&6; }
67404 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
67405 if ${glibcxx_cv_func_hypot_use+:} false; then :
67406 $as_echo_n "(cached) " >&6
67407 else
67410 ac_ext=cpp
67411 ac_cpp='$CXXCPP $CPPFLAGS'
67412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67417 /* end confdefs.h. */
67418 #include <math.h>
67420 main ()
67422 hypot(0, 0);
67424 return 0;
67426 _ACEOF
67427 if ac_fn_cxx_try_compile "$LINENO"; then :
67428 glibcxx_cv_func_hypot_use=yes
67429 else
67430 glibcxx_cv_func_hypot_use=no
67432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67433 ac_ext=c
67434 ac_cpp='$CPP $CPPFLAGS'
67435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
67444 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
67446 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
67447 for ac_func in hypot
67448 do :
67449 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
67450 if test "x$ac_cv_func_hypot" = xyes; then :
67451 cat >>confdefs.h <<_ACEOF
67452 #define HAVE_HYPOT 1
67453 _ACEOF
67456 done
67458 else
67460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
67461 $as_echo_n "checking for _hypot declaration... " >&6; }
67462 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
67463 if ${glibcxx_cv_func__hypot_use+:} false; then :
67464 $as_echo_n "(cached) " >&6
67465 else
67468 ac_ext=cpp
67469 ac_cpp='$CXXCPP $CPPFLAGS'
67470 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67471 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67472 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67475 /* end confdefs.h. */
67476 #include <math.h>
67478 main ()
67480 _hypot(0, 0);
67482 return 0;
67484 _ACEOF
67485 if ac_fn_cxx_try_compile "$LINENO"; then :
67486 glibcxx_cv_func__hypot_use=yes
67487 else
67488 glibcxx_cv_func__hypot_use=no
67490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67491 ac_ext=c
67492 ac_cpp='$CPP $CPPFLAGS'
67493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
67502 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
67504 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
67505 for ac_func in _hypot
67506 do :
67507 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
67508 if test "x$ac_cv_func__hypot" = xyes; then :
67509 cat >>confdefs.h <<_ACEOF
67510 #define HAVE__HYPOT 1
67511 _ACEOF
67514 done
67523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
67524 $as_echo_n "checking for float trig functions... " >&6; }
67525 if ${glibcxx_cv_func_float_trig_use+:} false; then :
67526 $as_echo_n "(cached) " >&6
67527 else
67530 ac_ext=cpp
67531 ac_cpp='$CXXCPP $CPPFLAGS'
67532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67537 /* end confdefs.h. */
67538 #include <math.h>
67540 main ()
67542 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
67544 return 0;
67546 _ACEOF
67547 if ac_fn_cxx_try_compile "$LINENO"; then :
67548 glibcxx_cv_func_float_trig_use=yes
67549 else
67550 glibcxx_cv_func_float_trig_use=no
67552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67553 ac_ext=c
67554 ac_cpp='$CPP $CPPFLAGS'
67555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
67562 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
67563 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
67564 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
67565 do :
67566 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67567 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67568 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
67569 cat >>confdefs.h <<_ACEOF
67570 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67571 _ACEOF
67574 done
67576 else
67577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
67578 $as_echo_n "checking for _float trig functions... " >&6; }
67579 if ${glibcxx_cv_func__float_trig_use+:} false; then :
67580 $as_echo_n "(cached) " >&6
67581 else
67584 ac_ext=cpp
67585 ac_cpp='$CXXCPP $CPPFLAGS'
67586 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67587 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67588 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67591 /* end confdefs.h. */
67592 #include <math.h>
67594 main ()
67596 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
67598 return 0;
67600 _ACEOF
67601 if ac_fn_cxx_try_compile "$LINENO"; then :
67602 glibcxx_cv_func__float_trig_use=yes
67603 else
67604 glibcxx_cv_func__float_trig_use=no
67606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67607 ac_ext=c
67608 ac_cpp='$CPP $CPPFLAGS'
67609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
67616 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
67617 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
67618 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
67619 do :
67620 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67621 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67622 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
67623 cat >>confdefs.h <<_ACEOF
67624 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67625 _ACEOF
67628 done
67637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
67638 $as_echo_n "checking for float round functions... " >&6; }
67639 if ${glibcxx_cv_func_float_round_use+:} false; then :
67640 $as_echo_n "(cached) " >&6
67641 else
67644 ac_ext=cpp
67645 ac_cpp='$CXXCPP $CPPFLAGS'
67646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67651 /* end confdefs.h. */
67652 #include <math.h>
67654 main ()
67656 ceilf (0); floorf (0);
67658 return 0;
67660 _ACEOF
67661 if ac_fn_cxx_try_compile "$LINENO"; then :
67662 glibcxx_cv_func_float_round_use=yes
67663 else
67664 glibcxx_cv_func_float_round_use=no
67666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67667 ac_ext=c
67668 ac_cpp='$CPP $CPPFLAGS'
67669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
67676 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
67677 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
67678 for ac_func in ceilf floorf
67679 do :
67680 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67681 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67682 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
67683 cat >>confdefs.h <<_ACEOF
67684 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67685 _ACEOF
67688 done
67690 else
67691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
67692 $as_echo_n "checking for _float round functions... " >&6; }
67693 if ${glibcxx_cv_func__float_round_use+:} false; then :
67694 $as_echo_n "(cached) " >&6
67695 else
67698 ac_ext=cpp
67699 ac_cpp='$CXXCPP $CPPFLAGS'
67700 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67701 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67702 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67705 /* end confdefs.h. */
67706 #include <math.h>
67708 main ()
67710 _ceilf (0); _floorf (0);
67712 return 0;
67714 _ACEOF
67715 if ac_fn_cxx_try_compile "$LINENO"; then :
67716 glibcxx_cv_func__float_round_use=yes
67717 else
67718 glibcxx_cv_func__float_round_use=no
67720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67721 ac_ext=c
67722 ac_cpp='$CPP $CPPFLAGS'
67723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
67730 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
67731 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
67732 for ac_func in _ceilf _floorf
67733 do :
67734 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67735 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67736 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
67737 cat >>confdefs.h <<_ACEOF
67738 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67739 _ACEOF
67742 done
67752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
67753 $as_echo_n "checking for expf declaration... " >&6; }
67754 if test x${glibcxx_cv_func_expf_use+set} != xset; then
67755 if ${glibcxx_cv_func_expf_use+:} false; then :
67756 $as_echo_n "(cached) " >&6
67757 else
67760 ac_ext=cpp
67761 ac_cpp='$CXXCPP $CPPFLAGS'
67762 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67763 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67764 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67767 /* end confdefs.h. */
67768 #include <math.h>
67769 #ifdef HAVE_IEEEFP_H
67770 #include <ieeefp.h>
67771 #endif
67774 main ()
67776 expf(0);
67778 return 0;
67780 _ACEOF
67781 if ac_fn_cxx_try_compile "$LINENO"; then :
67782 glibcxx_cv_func_expf_use=yes
67783 else
67784 glibcxx_cv_func_expf_use=no
67786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67787 ac_ext=c
67788 ac_cpp='$CPP $CPPFLAGS'
67789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
67798 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
67800 if test x$glibcxx_cv_func_expf_use = x"yes"; then
67801 for ac_func in expf
67802 do :
67803 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
67804 if test "x$ac_cv_func_expf" = xyes; then :
67805 cat >>confdefs.h <<_ACEOF
67806 #define HAVE_EXPF 1
67807 _ACEOF
67810 done
67812 else
67814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
67815 $as_echo_n "checking for _expf declaration... " >&6; }
67816 if test x${glibcxx_cv_func__expf_use+set} != xset; then
67817 if ${glibcxx_cv_func__expf_use+:} false; then :
67818 $as_echo_n "(cached) " >&6
67819 else
67822 ac_ext=cpp
67823 ac_cpp='$CXXCPP $CPPFLAGS'
67824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67829 /* end confdefs.h. */
67830 #include <math.h>
67831 #ifdef HAVE_IEEEFP_H
67832 #include <ieeefp.h>
67833 #endif
67836 main ()
67838 _expf(0);
67840 return 0;
67842 _ACEOF
67843 if ac_fn_cxx_try_compile "$LINENO"; then :
67844 glibcxx_cv_func__expf_use=yes
67845 else
67846 glibcxx_cv_func__expf_use=no
67848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67849 ac_ext=c
67850 ac_cpp='$CPP $CPPFLAGS'
67851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67852 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67853 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
67860 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
67862 if test x$glibcxx_cv_func__expf_use = x"yes"; then
67863 for ac_func in _expf
67864 do :
67865 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
67866 if test "x$ac_cv_func__expf" = xyes; then :
67867 cat >>confdefs.h <<_ACEOF
67868 #define HAVE__EXPF 1
67869 _ACEOF
67872 done
67881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
67882 $as_echo_n "checking for isnanf declaration... " >&6; }
67883 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
67884 if ${glibcxx_cv_func_isnanf_use+:} false; then :
67885 $as_echo_n "(cached) " >&6
67886 else
67889 ac_ext=cpp
67890 ac_cpp='$CXXCPP $CPPFLAGS'
67891 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67892 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67893 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67896 /* end confdefs.h. */
67897 #include <math.h>
67898 #ifdef HAVE_IEEEFP_H
67899 #include <ieeefp.h>
67900 #endif
67903 main ()
67905 isnanf(0);
67907 return 0;
67909 _ACEOF
67910 if ac_fn_cxx_try_compile "$LINENO"; then :
67911 glibcxx_cv_func_isnanf_use=yes
67912 else
67913 glibcxx_cv_func_isnanf_use=no
67915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67916 ac_ext=c
67917 ac_cpp='$CPP $CPPFLAGS'
67918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
67927 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
67929 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
67930 for ac_func in isnanf
67931 do :
67932 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
67933 if test "x$ac_cv_func_isnanf" = xyes; then :
67934 cat >>confdefs.h <<_ACEOF
67935 #define HAVE_ISNANF 1
67936 _ACEOF
67939 done
67941 else
67943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
67944 $as_echo_n "checking for _isnanf declaration... " >&6; }
67945 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
67946 if ${glibcxx_cv_func__isnanf_use+:} false; then :
67947 $as_echo_n "(cached) " >&6
67948 else
67951 ac_ext=cpp
67952 ac_cpp='$CXXCPP $CPPFLAGS'
67953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67958 /* end confdefs.h. */
67959 #include <math.h>
67960 #ifdef HAVE_IEEEFP_H
67961 #include <ieeefp.h>
67962 #endif
67965 main ()
67967 _isnanf(0);
67969 return 0;
67971 _ACEOF
67972 if ac_fn_cxx_try_compile "$LINENO"; then :
67973 glibcxx_cv_func__isnanf_use=yes
67974 else
67975 glibcxx_cv_func__isnanf_use=no
67977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67978 ac_ext=c
67979 ac_cpp='$CPP $CPPFLAGS'
67980 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67981 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67982 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
67989 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
67991 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
67992 for ac_func in _isnanf
67993 do :
67994 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
67995 if test "x$ac_cv_func__isnanf" = xyes; then :
67996 cat >>confdefs.h <<_ACEOF
67997 #define HAVE__ISNANF 1
67998 _ACEOF
68001 done
68010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
68011 $as_echo_n "checking for isinff declaration... " >&6; }
68012 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
68013 if ${glibcxx_cv_func_isinff_use+:} false; then :
68014 $as_echo_n "(cached) " >&6
68015 else
68018 ac_ext=cpp
68019 ac_cpp='$CXXCPP $CPPFLAGS'
68020 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68021 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68022 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68025 /* end confdefs.h. */
68026 #include <math.h>
68027 #ifdef HAVE_IEEEFP_H
68028 #include <ieeefp.h>
68029 #endif
68032 main ()
68034 isinff(0);
68036 return 0;
68038 _ACEOF
68039 if ac_fn_cxx_try_compile "$LINENO"; then :
68040 glibcxx_cv_func_isinff_use=yes
68041 else
68042 glibcxx_cv_func_isinff_use=no
68044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68045 ac_ext=c
68046 ac_cpp='$CPP $CPPFLAGS'
68047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
68056 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
68058 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
68059 for ac_func in isinff
68060 do :
68061 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
68062 if test "x$ac_cv_func_isinff" = xyes; then :
68063 cat >>confdefs.h <<_ACEOF
68064 #define HAVE_ISINFF 1
68065 _ACEOF
68068 done
68070 else
68072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
68073 $as_echo_n "checking for _isinff declaration... " >&6; }
68074 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
68075 if ${glibcxx_cv_func__isinff_use+:} false; then :
68076 $as_echo_n "(cached) " >&6
68077 else
68080 ac_ext=cpp
68081 ac_cpp='$CXXCPP $CPPFLAGS'
68082 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68083 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68084 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68087 /* end confdefs.h. */
68088 #include <math.h>
68089 #ifdef HAVE_IEEEFP_H
68090 #include <ieeefp.h>
68091 #endif
68094 main ()
68096 _isinff(0);
68098 return 0;
68100 _ACEOF
68101 if ac_fn_cxx_try_compile "$LINENO"; then :
68102 glibcxx_cv_func__isinff_use=yes
68103 else
68104 glibcxx_cv_func__isinff_use=no
68106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68107 ac_ext=c
68108 ac_cpp='$CPP $CPPFLAGS'
68109 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68110 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68111 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
68118 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
68120 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
68121 for ac_func in _isinff
68122 do :
68123 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
68124 if test "x$ac_cv_func__isinff" = xyes; then :
68125 cat >>confdefs.h <<_ACEOF
68126 #define HAVE__ISINFF 1
68127 _ACEOF
68130 done
68139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
68140 $as_echo_n "checking for atan2f declaration... " >&6; }
68141 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
68142 if ${glibcxx_cv_func_atan2f_use+:} false; then :
68143 $as_echo_n "(cached) " >&6
68144 else
68147 ac_ext=cpp
68148 ac_cpp='$CXXCPP $CPPFLAGS'
68149 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68150 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68151 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68154 /* end confdefs.h. */
68155 #include <math.h>
68157 main ()
68159 atan2f(0, 0);
68161 return 0;
68163 _ACEOF
68164 if ac_fn_cxx_try_compile "$LINENO"; then :
68165 glibcxx_cv_func_atan2f_use=yes
68166 else
68167 glibcxx_cv_func_atan2f_use=no
68169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68170 ac_ext=c
68171 ac_cpp='$CPP $CPPFLAGS'
68172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68173 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
68181 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
68183 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
68184 for ac_func in atan2f
68185 do :
68186 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
68187 if test "x$ac_cv_func_atan2f" = xyes; then :
68188 cat >>confdefs.h <<_ACEOF
68189 #define HAVE_ATAN2F 1
68190 _ACEOF
68193 done
68195 else
68197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
68198 $as_echo_n "checking for _atan2f declaration... " >&6; }
68199 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
68200 if ${glibcxx_cv_func__atan2f_use+:} false; then :
68201 $as_echo_n "(cached) " >&6
68202 else
68205 ac_ext=cpp
68206 ac_cpp='$CXXCPP $CPPFLAGS'
68207 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68208 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68209 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68212 /* end confdefs.h. */
68213 #include <math.h>
68215 main ()
68217 _atan2f(0, 0);
68219 return 0;
68221 _ACEOF
68222 if ac_fn_cxx_try_compile "$LINENO"; then :
68223 glibcxx_cv_func__atan2f_use=yes
68224 else
68225 glibcxx_cv_func__atan2f_use=no
68227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68228 ac_ext=c
68229 ac_cpp='$CPP $CPPFLAGS'
68230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
68239 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
68241 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
68242 for ac_func in _atan2f
68243 do :
68244 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
68245 if test "x$ac_cv_func__atan2f" = xyes; then :
68246 cat >>confdefs.h <<_ACEOF
68247 #define HAVE__ATAN2F 1
68248 _ACEOF
68251 done
68260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
68261 $as_echo_n "checking for fabsf declaration... " >&6; }
68262 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
68263 if ${glibcxx_cv_func_fabsf_use+:} false; then :
68264 $as_echo_n "(cached) " >&6
68265 else
68268 ac_ext=cpp
68269 ac_cpp='$CXXCPP $CPPFLAGS'
68270 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68271 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68272 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68275 /* end confdefs.h. */
68276 #include <math.h>
68277 #ifdef HAVE_IEEEFP_H
68278 #include <ieeefp.h>
68279 #endif
68282 main ()
68284 fabsf(0);
68286 return 0;
68288 _ACEOF
68289 if ac_fn_cxx_try_compile "$LINENO"; then :
68290 glibcxx_cv_func_fabsf_use=yes
68291 else
68292 glibcxx_cv_func_fabsf_use=no
68294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68295 ac_ext=c
68296 ac_cpp='$CPP $CPPFLAGS'
68297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
68306 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
68308 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
68309 for ac_func in fabsf
68310 do :
68311 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
68312 if test "x$ac_cv_func_fabsf" = xyes; then :
68313 cat >>confdefs.h <<_ACEOF
68314 #define HAVE_FABSF 1
68315 _ACEOF
68318 done
68320 else
68322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
68323 $as_echo_n "checking for _fabsf declaration... " >&6; }
68324 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
68325 if ${glibcxx_cv_func__fabsf_use+:} false; then :
68326 $as_echo_n "(cached) " >&6
68327 else
68330 ac_ext=cpp
68331 ac_cpp='$CXXCPP $CPPFLAGS'
68332 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68333 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68334 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68337 /* end confdefs.h. */
68338 #include <math.h>
68339 #ifdef HAVE_IEEEFP_H
68340 #include <ieeefp.h>
68341 #endif
68344 main ()
68346 _fabsf(0);
68348 return 0;
68350 _ACEOF
68351 if ac_fn_cxx_try_compile "$LINENO"; then :
68352 glibcxx_cv_func__fabsf_use=yes
68353 else
68354 glibcxx_cv_func__fabsf_use=no
68356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68357 ac_ext=c
68358 ac_cpp='$CPP $CPPFLAGS'
68359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
68368 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
68370 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
68371 for ac_func in _fabsf
68372 do :
68373 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
68374 if test "x$ac_cv_func__fabsf" = xyes; then :
68375 cat >>confdefs.h <<_ACEOF
68376 #define HAVE__FABSF 1
68377 _ACEOF
68380 done
68389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
68390 $as_echo_n "checking for fmodf declaration... " >&6; }
68391 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
68392 if ${glibcxx_cv_func_fmodf_use+:} false; then :
68393 $as_echo_n "(cached) " >&6
68394 else
68397 ac_ext=cpp
68398 ac_cpp='$CXXCPP $CPPFLAGS'
68399 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68400 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68401 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68404 /* end confdefs.h. */
68405 #include <math.h>
68407 main ()
68409 fmodf(0, 0);
68411 return 0;
68413 _ACEOF
68414 if ac_fn_cxx_try_compile "$LINENO"; then :
68415 glibcxx_cv_func_fmodf_use=yes
68416 else
68417 glibcxx_cv_func_fmodf_use=no
68419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68420 ac_ext=c
68421 ac_cpp='$CPP $CPPFLAGS'
68422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
68431 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
68433 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
68434 for ac_func in fmodf
68435 do :
68436 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
68437 if test "x$ac_cv_func_fmodf" = xyes; then :
68438 cat >>confdefs.h <<_ACEOF
68439 #define HAVE_FMODF 1
68440 _ACEOF
68443 done
68445 else
68447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
68448 $as_echo_n "checking for _fmodf declaration... " >&6; }
68449 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
68450 if ${glibcxx_cv_func__fmodf_use+:} false; then :
68451 $as_echo_n "(cached) " >&6
68452 else
68455 ac_ext=cpp
68456 ac_cpp='$CXXCPP $CPPFLAGS'
68457 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68458 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68459 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68462 /* end confdefs.h. */
68463 #include <math.h>
68465 main ()
68467 _fmodf(0, 0);
68469 return 0;
68471 _ACEOF
68472 if ac_fn_cxx_try_compile "$LINENO"; then :
68473 glibcxx_cv_func__fmodf_use=yes
68474 else
68475 glibcxx_cv_func__fmodf_use=no
68477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68478 ac_ext=c
68479 ac_cpp='$CPP $CPPFLAGS'
68480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
68489 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
68491 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
68492 for ac_func in _fmodf
68493 do :
68494 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
68495 if test "x$ac_cv_func__fmodf" = xyes; then :
68496 cat >>confdefs.h <<_ACEOF
68497 #define HAVE__FMODF 1
68498 _ACEOF
68501 done
68510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
68511 $as_echo_n "checking for frexpf declaration... " >&6; }
68512 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
68513 if ${glibcxx_cv_func_frexpf_use+:} false; then :
68514 $as_echo_n "(cached) " >&6
68515 else
68518 ac_ext=cpp
68519 ac_cpp='$CXXCPP $CPPFLAGS'
68520 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68521 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68522 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68525 /* end confdefs.h. */
68526 #include <math.h>
68528 main ()
68530 frexpf(0, 0);
68532 return 0;
68534 _ACEOF
68535 if ac_fn_cxx_try_compile "$LINENO"; then :
68536 glibcxx_cv_func_frexpf_use=yes
68537 else
68538 glibcxx_cv_func_frexpf_use=no
68540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68541 ac_ext=c
68542 ac_cpp='$CPP $CPPFLAGS'
68543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
68552 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
68554 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
68555 for ac_func in frexpf
68556 do :
68557 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
68558 if test "x$ac_cv_func_frexpf" = xyes; then :
68559 cat >>confdefs.h <<_ACEOF
68560 #define HAVE_FREXPF 1
68561 _ACEOF
68564 done
68566 else
68568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
68569 $as_echo_n "checking for _frexpf declaration... " >&6; }
68570 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
68571 if ${glibcxx_cv_func__frexpf_use+:} false; then :
68572 $as_echo_n "(cached) " >&6
68573 else
68576 ac_ext=cpp
68577 ac_cpp='$CXXCPP $CPPFLAGS'
68578 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68579 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68580 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68583 /* end confdefs.h. */
68584 #include <math.h>
68586 main ()
68588 _frexpf(0, 0);
68590 return 0;
68592 _ACEOF
68593 if ac_fn_cxx_try_compile "$LINENO"; then :
68594 glibcxx_cv_func__frexpf_use=yes
68595 else
68596 glibcxx_cv_func__frexpf_use=no
68598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68599 ac_ext=c
68600 ac_cpp='$CPP $CPPFLAGS'
68601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
68610 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
68612 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
68613 for ac_func in _frexpf
68614 do :
68615 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
68616 if test "x$ac_cv_func__frexpf" = xyes; then :
68617 cat >>confdefs.h <<_ACEOF
68618 #define HAVE__FREXPF 1
68619 _ACEOF
68622 done
68631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
68632 $as_echo_n "checking for hypotf declaration... " >&6; }
68633 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
68634 if ${glibcxx_cv_func_hypotf_use+:} false; then :
68635 $as_echo_n "(cached) " >&6
68636 else
68639 ac_ext=cpp
68640 ac_cpp='$CXXCPP $CPPFLAGS'
68641 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68642 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68643 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68646 /* end confdefs.h. */
68647 #include <math.h>
68649 main ()
68651 hypotf(0, 0);
68653 return 0;
68655 _ACEOF
68656 if ac_fn_cxx_try_compile "$LINENO"; then :
68657 glibcxx_cv_func_hypotf_use=yes
68658 else
68659 glibcxx_cv_func_hypotf_use=no
68661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68662 ac_ext=c
68663 ac_cpp='$CPP $CPPFLAGS'
68664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
68673 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
68675 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
68676 for ac_func in hypotf
68677 do :
68678 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
68679 if test "x$ac_cv_func_hypotf" = xyes; then :
68680 cat >>confdefs.h <<_ACEOF
68681 #define HAVE_HYPOTF 1
68682 _ACEOF
68685 done
68687 else
68689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
68690 $as_echo_n "checking for _hypotf declaration... " >&6; }
68691 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
68692 if ${glibcxx_cv_func__hypotf_use+:} false; then :
68693 $as_echo_n "(cached) " >&6
68694 else
68697 ac_ext=cpp
68698 ac_cpp='$CXXCPP $CPPFLAGS'
68699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68704 /* end confdefs.h. */
68705 #include <math.h>
68707 main ()
68709 _hypotf(0, 0);
68711 return 0;
68713 _ACEOF
68714 if ac_fn_cxx_try_compile "$LINENO"; then :
68715 glibcxx_cv_func__hypotf_use=yes
68716 else
68717 glibcxx_cv_func__hypotf_use=no
68719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68720 ac_ext=c
68721 ac_cpp='$CPP $CPPFLAGS'
68722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
68731 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
68733 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
68734 for ac_func in _hypotf
68735 do :
68736 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
68737 if test "x$ac_cv_func__hypotf" = xyes; then :
68738 cat >>confdefs.h <<_ACEOF
68739 #define HAVE__HYPOTF 1
68740 _ACEOF
68743 done
68752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
68753 $as_echo_n "checking for ldexpf declaration... " >&6; }
68754 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
68755 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
68756 $as_echo_n "(cached) " >&6
68757 else
68760 ac_ext=cpp
68761 ac_cpp='$CXXCPP $CPPFLAGS'
68762 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68763 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68764 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68767 /* end confdefs.h. */
68768 #include <math.h>
68770 main ()
68772 ldexpf(0, 0);
68774 return 0;
68776 _ACEOF
68777 if ac_fn_cxx_try_compile "$LINENO"; then :
68778 glibcxx_cv_func_ldexpf_use=yes
68779 else
68780 glibcxx_cv_func_ldexpf_use=no
68782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68783 ac_ext=c
68784 ac_cpp='$CPP $CPPFLAGS'
68785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
68794 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
68796 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
68797 for ac_func in ldexpf
68798 do :
68799 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
68800 if test "x$ac_cv_func_ldexpf" = xyes; then :
68801 cat >>confdefs.h <<_ACEOF
68802 #define HAVE_LDEXPF 1
68803 _ACEOF
68806 done
68808 else
68810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
68811 $as_echo_n "checking for _ldexpf declaration... " >&6; }
68812 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
68813 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
68814 $as_echo_n "(cached) " >&6
68815 else
68818 ac_ext=cpp
68819 ac_cpp='$CXXCPP $CPPFLAGS'
68820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68825 /* end confdefs.h. */
68826 #include <math.h>
68828 main ()
68830 _ldexpf(0, 0);
68832 return 0;
68834 _ACEOF
68835 if ac_fn_cxx_try_compile "$LINENO"; then :
68836 glibcxx_cv_func__ldexpf_use=yes
68837 else
68838 glibcxx_cv_func__ldexpf_use=no
68840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68841 ac_ext=c
68842 ac_cpp='$CPP $CPPFLAGS'
68843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
68852 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
68854 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
68855 for ac_func in _ldexpf
68856 do :
68857 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
68858 if test "x$ac_cv_func__ldexpf" = xyes; then :
68859 cat >>confdefs.h <<_ACEOF
68860 #define HAVE__LDEXPF 1
68861 _ACEOF
68864 done
68873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
68874 $as_echo_n "checking for logf declaration... " >&6; }
68875 if test x${glibcxx_cv_func_logf_use+set} != xset; then
68876 if ${glibcxx_cv_func_logf_use+:} false; then :
68877 $as_echo_n "(cached) " >&6
68878 else
68881 ac_ext=cpp
68882 ac_cpp='$CXXCPP $CPPFLAGS'
68883 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68884 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68885 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68888 /* end confdefs.h. */
68889 #include <math.h>
68890 #ifdef HAVE_IEEEFP_H
68891 #include <ieeefp.h>
68892 #endif
68895 main ()
68897 logf(0);
68899 return 0;
68901 _ACEOF
68902 if ac_fn_cxx_try_compile "$LINENO"; then :
68903 glibcxx_cv_func_logf_use=yes
68904 else
68905 glibcxx_cv_func_logf_use=no
68907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68908 ac_ext=c
68909 ac_cpp='$CPP $CPPFLAGS'
68910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
68919 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
68921 if test x$glibcxx_cv_func_logf_use = x"yes"; then
68922 for ac_func in logf
68923 do :
68924 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
68925 if test "x$ac_cv_func_logf" = xyes; then :
68926 cat >>confdefs.h <<_ACEOF
68927 #define HAVE_LOGF 1
68928 _ACEOF
68931 done
68933 else
68935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
68936 $as_echo_n "checking for _logf declaration... " >&6; }
68937 if test x${glibcxx_cv_func__logf_use+set} != xset; then
68938 if ${glibcxx_cv_func__logf_use+:} false; then :
68939 $as_echo_n "(cached) " >&6
68940 else
68943 ac_ext=cpp
68944 ac_cpp='$CXXCPP $CPPFLAGS'
68945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68950 /* end confdefs.h. */
68951 #include <math.h>
68952 #ifdef HAVE_IEEEFP_H
68953 #include <ieeefp.h>
68954 #endif
68957 main ()
68959 _logf(0);
68961 return 0;
68963 _ACEOF
68964 if ac_fn_cxx_try_compile "$LINENO"; then :
68965 glibcxx_cv_func__logf_use=yes
68966 else
68967 glibcxx_cv_func__logf_use=no
68969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68970 ac_ext=c
68971 ac_cpp='$CPP $CPPFLAGS'
68972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
68981 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
68983 if test x$glibcxx_cv_func__logf_use = x"yes"; then
68984 for ac_func in _logf
68985 do :
68986 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
68987 if test "x$ac_cv_func__logf" = xyes; then :
68988 cat >>confdefs.h <<_ACEOF
68989 #define HAVE__LOGF 1
68990 _ACEOF
68993 done
69002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
69003 $as_echo_n "checking for log10f declaration... " >&6; }
69004 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
69005 if ${glibcxx_cv_func_log10f_use+:} false; then :
69006 $as_echo_n "(cached) " >&6
69007 else
69010 ac_ext=cpp
69011 ac_cpp='$CXXCPP $CPPFLAGS'
69012 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69013 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69014 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69017 /* end confdefs.h. */
69018 #include <math.h>
69019 #ifdef HAVE_IEEEFP_H
69020 #include <ieeefp.h>
69021 #endif
69024 main ()
69026 log10f(0);
69028 return 0;
69030 _ACEOF
69031 if ac_fn_cxx_try_compile "$LINENO"; then :
69032 glibcxx_cv_func_log10f_use=yes
69033 else
69034 glibcxx_cv_func_log10f_use=no
69036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69037 ac_ext=c
69038 ac_cpp='$CPP $CPPFLAGS'
69039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
69048 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
69050 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
69051 for ac_func in log10f
69052 do :
69053 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
69054 if test "x$ac_cv_func_log10f" = xyes; then :
69055 cat >>confdefs.h <<_ACEOF
69056 #define HAVE_LOG10F 1
69057 _ACEOF
69060 done
69062 else
69064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
69065 $as_echo_n "checking for _log10f declaration... " >&6; }
69066 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
69067 if ${glibcxx_cv_func__log10f_use+:} false; then :
69068 $as_echo_n "(cached) " >&6
69069 else
69072 ac_ext=cpp
69073 ac_cpp='$CXXCPP $CPPFLAGS'
69074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69079 /* end confdefs.h. */
69080 #include <math.h>
69081 #ifdef HAVE_IEEEFP_H
69082 #include <ieeefp.h>
69083 #endif
69086 main ()
69088 _log10f(0);
69090 return 0;
69092 _ACEOF
69093 if ac_fn_cxx_try_compile "$LINENO"; then :
69094 glibcxx_cv_func__log10f_use=yes
69095 else
69096 glibcxx_cv_func__log10f_use=no
69098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69099 ac_ext=c
69100 ac_cpp='$CPP $CPPFLAGS'
69101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
69110 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
69112 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
69113 for ac_func in _log10f
69114 do :
69115 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
69116 if test "x$ac_cv_func__log10f" = xyes; then :
69117 cat >>confdefs.h <<_ACEOF
69118 #define HAVE__LOG10F 1
69119 _ACEOF
69122 done
69131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
69132 $as_echo_n "checking for modff declaration... " >&6; }
69133 if test x${glibcxx_cv_func_modff_use+set} != xset; then
69134 if ${glibcxx_cv_func_modff_use+:} false; then :
69135 $as_echo_n "(cached) " >&6
69136 else
69139 ac_ext=cpp
69140 ac_cpp='$CXXCPP $CPPFLAGS'
69141 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69142 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69143 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69146 /* end confdefs.h. */
69147 #include <math.h>
69149 main ()
69151 modff(0, 0);
69153 return 0;
69155 _ACEOF
69156 if ac_fn_cxx_try_compile "$LINENO"; then :
69157 glibcxx_cv_func_modff_use=yes
69158 else
69159 glibcxx_cv_func_modff_use=no
69161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69162 ac_ext=c
69163 ac_cpp='$CPP $CPPFLAGS'
69164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
69173 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
69175 if test x$glibcxx_cv_func_modff_use = x"yes"; then
69176 for ac_func in modff
69177 do :
69178 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
69179 if test "x$ac_cv_func_modff" = xyes; then :
69180 cat >>confdefs.h <<_ACEOF
69181 #define HAVE_MODFF 1
69182 _ACEOF
69185 done
69187 else
69189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
69190 $as_echo_n "checking for _modff declaration... " >&6; }
69191 if test x${glibcxx_cv_func__modff_use+set} != xset; then
69192 if ${glibcxx_cv_func__modff_use+:} false; then :
69193 $as_echo_n "(cached) " >&6
69194 else
69197 ac_ext=cpp
69198 ac_cpp='$CXXCPP $CPPFLAGS'
69199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69204 /* end confdefs.h. */
69205 #include <math.h>
69207 main ()
69209 _modff(0, 0);
69211 return 0;
69213 _ACEOF
69214 if ac_fn_cxx_try_compile "$LINENO"; then :
69215 glibcxx_cv_func__modff_use=yes
69216 else
69217 glibcxx_cv_func__modff_use=no
69219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69220 ac_ext=c
69221 ac_cpp='$CPP $CPPFLAGS'
69222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
69231 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
69233 if test x$glibcxx_cv_func__modff_use = x"yes"; then
69234 for ac_func in _modff
69235 do :
69236 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
69237 if test "x$ac_cv_func__modff" = xyes; then :
69238 cat >>confdefs.h <<_ACEOF
69239 #define HAVE__MODFF 1
69240 _ACEOF
69243 done
69252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
69253 $as_echo_n "checking for modf declaration... " >&6; }
69254 if test x${glibcxx_cv_func_modf_use+set} != xset; then
69255 if ${glibcxx_cv_func_modf_use+:} false; then :
69256 $as_echo_n "(cached) " >&6
69257 else
69260 ac_ext=cpp
69261 ac_cpp='$CXXCPP $CPPFLAGS'
69262 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69263 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69264 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69267 /* end confdefs.h. */
69268 #include <math.h>
69270 main ()
69272 modf(0, 0);
69274 return 0;
69276 _ACEOF
69277 if ac_fn_cxx_try_compile "$LINENO"; then :
69278 glibcxx_cv_func_modf_use=yes
69279 else
69280 glibcxx_cv_func_modf_use=no
69282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69283 ac_ext=c
69284 ac_cpp='$CPP $CPPFLAGS'
69285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69286 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
69294 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
69296 if test x$glibcxx_cv_func_modf_use = x"yes"; then
69297 for ac_func in modf
69298 do :
69299 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
69300 if test "x$ac_cv_func_modf" = xyes; then :
69301 cat >>confdefs.h <<_ACEOF
69302 #define HAVE_MODF 1
69303 _ACEOF
69306 done
69308 else
69310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
69311 $as_echo_n "checking for _modf declaration... " >&6; }
69312 if test x${glibcxx_cv_func__modf_use+set} != xset; then
69313 if ${glibcxx_cv_func__modf_use+:} false; then :
69314 $as_echo_n "(cached) " >&6
69315 else
69318 ac_ext=cpp
69319 ac_cpp='$CXXCPP $CPPFLAGS'
69320 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69321 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69322 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69325 /* end confdefs.h. */
69326 #include <math.h>
69328 main ()
69330 _modf(0, 0);
69332 return 0;
69334 _ACEOF
69335 if ac_fn_cxx_try_compile "$LINENO"; then :
69336 glibcxx_cv_func__modf_use=yes
69337 else
69338 glibcxx_cv_func__modf_use=no
69340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69341 ac_ext=c
69342 ac_cpp='$CPP $CPPFLAGS'
69343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
69352 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
69354 if test x$glibcxx_cv_func__modf_use = x"yes"; then
69355 for ac_func in _modf
69356 do :
69357 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
69358 if test "x$ac_cv_func__modf" = xyes; then :
69359 cat >>confdefs.h <<_ACEOF
69360 #define HAVE__MODF 1
69361 _ACEOF
69364 done
69373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
69374 $as_echo_n "checking for powf declaration... " >&6; }
69375 if test x${glibcxx_cv_func_powf_use+set} != xset; then
69376 if ${glibcxx_cv_func_powf_use+:} false; then :
69377 $as_echo_n "(cached) " >&6
69378 else
69381 ac_ext=cpp
69382 ac_cpp='$CXXCPP $CPPFLAGS'
69383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69388 /* end confdefs.h. */
69389 #include <math.h>
69391 main ()
69393 powf(0, 0);
69395 return 0;
69397 _ACEOF
69398 if ac_fn_cxx_try_compile "$LINENO"; then :
69399 glibcxx_cv_func_powf_use=yes
69400 else
69401 glibcxx_cv_func_powf_use=no
69403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69404 ac_ext=c
69405 ac_cpp='$CPP $CPPFLAGS'
69406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
69415 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
69417 if test x$glibcxx_cv_func_powf_use = x"yes"; then
69418 for ac_func in powf
69419 do :
69420 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
69421 if test "x$ac_cv_func_powf" = xyes; then :
69422 cat >>confdefs.h <<_ACEOF
69423 #define HAVE_POWF 1
69424 _ACEOF
69427 done
69429 else
69431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
69432 $as_echo_n "checking for _powf declaration... " >&6; }
69433 if test x${glibcxx_cv_func__powf_use+set} != xset; then
69434 if ${glibcxx_cv_func__powf_use+:} false; then :
69435 $as_echo_n "(cached) " >&6
69436 else
69439 ac_ext=cpp
69440 ac_cpp='$CXXCPP $CPPFLAGS'
69441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69446 /* end confdefs.h. */
69447 #include <math.h>
69449 main ()
69451 _powf(0, 0);
69453 return 0;
69455 _ACEOF
69456 if ac_fn_cxx_try_compile "$LINENO"; then :
69457 glibcxx_cv_func__powf_use=yes
69458 else
69459 glibcxx_cv_func__powf_use=no
69461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69462 ac_ext=c
69463 ac_cpp='$CPP $CPPFLAGS'
69464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
69473 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
69475 if test x$glibcxx_cv_func__powf_use = x"yes"; then
69476 for ac_func in _powf
69477 do :
69478 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
69479 if test "x$ac_cv_func__powf" = xyes; then :
69480 cat >>confdefs.h <<_ACEOF
69481 #define HAVE__POWF 1
69482 _ACEOF
69485 done
69494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
69495 $as_echo_n "checking for sqrtf declaration... " >&6; }
69496 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
69497 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
69498 $as_echo_n "(cached) " >&6
69499 else
69502 ac_ext=cpp
69503 ac_cpp='$CXXCPP $CPPFLAGS'
69504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69509 /* end confdefs.h. */
69510 #include <math.h>
69511 #ifdef HAVE_IEEEFP_H
69512 #include <ieeefp.h>
69513 #endif
69516 main ()
69518 sqrtf(0);
69520 return 0;
69522 _ACEOF
69523 if ac_fn_cxx_try_compile "$LINENO"; then :
69524 glibcxx_cv_func_sqrtf_use=yes
69525 else
69526 glibcxx_cv_func_sqrtf_use=no
69528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69529 ac_ext=c
69530 ac_cpp='$CPP $CPPFLAGS'
69531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
69540 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
69542 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
69543 for ac_func in sqrtf
69544 do :
69545 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
69546 if test "x$ac_cv_func_sqrtf" = xyes; then :
69547 cat >>confdefs.h <<_ACEOF
69548 #define HAVE_SQRTF 1
69549 _ACEOF
69552 done
69554 else
69556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
69557 $as_echo_n "checking for _sqrtf declaration... " >&6; }
69558 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
69559 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
69560 $as_echo_n "(cached) " >&6
69561 else
69564 ac_ext=cpp
69565 ac_cpp='$CXXCPP $CPPFLAGS'
69566 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69567 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69568 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69571 /* end confdefs.h. */
69572 #include <math.h>
69573 #ifdef HAVE_IEEEFP_H
69574 #include <ieeefp.h>
69575 #endif
69578 main ()
69580 _sqrtf(0);
69582 return 0;
69584 _ACEOF
69585 if ac_fn_cxx_try_compile "$LINENO"; then :
69586 glibcxx_cv_func__sqrtf_use=yes
69587 else
69588 glibcxx_cv_func__sqrtf_use=no
69590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69591 ac_ext=c
69592 ac_cpp='$CPP $CPPFLAGS'
69593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
69602 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
69604 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
69605 for ac_func in _sqrtf
69606 do :
69607 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
69608 if test "x$ac_cv_func__sqrtf" = xyes; then :
69609 cat >>confdefs.h <<_ACEOF
69610 #define HAVE__SQRTF 1
69611 _ACEOF
69614 done
69623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
69624 $as_echo_n "checking for sincosf declaration... " >&6; }
69625 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
69626 if ${glibcxx_cv_func_sincosf_use+:} false; then :
69627 $as_echo_n "(cached) " >&6
69628 else
69631 ac_ext=cpp
69632 ac_cpp='$CXXCPP $CPPFLAGS'
69633 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69634 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69635 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69638 /* end confdefs.h. */
69639 #include <math.h>
69641 main ()
69643 sincosf(0, 0, 0);
69645 return 0;
69647 _ACEOF
69648 if ac_fn_cxx_try_compile "$LINENO"; then :
69649 glibcxx_cv_func_sincosf_use=yes
69650 else
69651 glibcxx_cv_func_sincosf_use=no
69653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69654 ac_ext=c
69655 ac_cpp='$CPP $CPPFLAGS'
69656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
69665 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
69667 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
69668 for ac_func in sincosf
69669 do :
69670 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
69671 if test "x$ac_cv_func_sincosf" = xyes; then :
69672 cat >>confdefs.h <<_ACEOF
69673 #define HAVE_SINCOSF 1
69674 _ACEOF
69677 done
69679 else
69681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
69682 $as_echo_n "checking for _sincosf declaration... " >&6; }
69683 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
69684 if ${glibcxx_cv_func__sincosf_use+:} false; then :
69685 $as_echo_n "(cached) " >&6
69686 else
69689 ac_ext=cpp
69690 ac_cpp='$CXXCPP $CPPFLAGS'
69691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69692 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69696 /* end confdefs.h. */
69697 #include <math.h>
69699 main ()
69701 _sincosf(0, 0, 0);
69703 return 0;
69705 _ACEOF
69706 if ac_fn_cxx_try_compile "$LINENO"; then :
69707 glibcxx_cv_func__sincosf_use=yes
69708 else
69709 glibcxx_cv_func__sincosf_use=no
69711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69712 ac_ext=c
69713 ac_cpp='$CPP $CPPFLAGS'
69714 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69715 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69716 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
69723 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
69725 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
69726 for ac_func in _sincosf
69727 do :
69728 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
69729 if test "x$ac_cv_func__sincosf" = xyes; then :
69730 cat >>confdefs.h <<_ACEOF
69731 #define HAVE__SINCOSF 1
69732 _ACEOF
69735 done
69744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
69745 $as_echo_n "checking for finitef declaration... " >&6; }
69746 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
69747 if ${glibcxx_cv_func_finitef_use+:} false; then :
69748 $as_echo_n "(cached) " >&6
69749 else
69752 ac_ext=cpp
69753 ac_cpp='$CXXCPP $CPPFLAGS'
69754 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69755 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69756 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69759 /* end confdefs.h. */
69760 #include <math.h>
69761 #ifdef HAVE_IEEEFP_H
69762 #include <ieeefp.h>
69763 #endif
69766 main ()
69768 finitef(0);
69770 return 0;
69772 _ACEOF
69773 if ac_fn_cxx_try_compile "$LINENO"; then :
69774 glibcxx_cv_func_finitef_use=yes
69775 else
69776 glibcxx_cv_func_finitef_use=no
69778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69779 ac_ext=c
69780 ac_cpp='$CPP $CPPFLAGS'
69781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
69790 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
69792 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
69793 for ac_func in finitef
69794 do :
69795 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
69796 if test "x$ac_cv_func_finitef" = xyes; then :
69797 cat >>confdefs.h <<_ACEOF
69798 #define HAVE_FINITEF 1
69799 _ACEOF
69802 done
69804 else
69806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
69807 $as_echo_n "checking for _finitef declaration... " >&6; }
69808 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
69809 if ${glibcxx_cv_func__finitef_use+:} false; then :
69810 $as_echo_n "(cached) " >&6
69811 else
69814 ac_ext=cpp
69815 ac_cpp='$CXXCPP $CPPFLAGS'
69816 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69817 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69818 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69821 /* end confdefs.h. */
69822 #include <math.h>
69823 #ifdef HAVE_IEEEFP_H
69824 #include <ieeefp.h>
69825 #endif
69828 main ()
69830 _finitef(0);
69832 return 0;
69834 _ACEOF
69835 if ac_fn_cxx_try_compile "$LINENO"; then :
69836 glibcxx_cv_func__finitef_use=yes
69837 else
69838 glibcxx_cv_func__finitef_use=no
69840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69841 ac_ext=c
69842 ac_cpp='$CPP $CPPFLAGS'
69843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
69852 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
69854 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
69855 for ac_func in _finitef
69856 do :
69857 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
69858 if test "x$ac_cv_func__finitef" = xyes; then :
69859 cat >>confdefs.h <<_ACEOF
69860 #define HAVE__FINITEF 1
69861 _ACEOF
69864 done
69873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
69874 $as_echo_n "checking for long double trig functions... " >&6; }
69875 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
69876 $as_echo_n "(cached) " >&6
69877 else
69880 ac_ext=cpp
69881 ac_cpp='$CXXCPP $CPPFLAGS'
69882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69887 /* end confdefs.h. */
69888 #include <math.h>
69890 main ()
69892 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
69894 return 0;
69896 _ACEOF
69897 if ac_fn_cxx_try_compile "$LINENO"; then :
69898 glibcxx_cv_func_long_double_trig_use=yes
69899 else
69900 glibcxx_cv_func_long_double_trig_use=no
69902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69903 ac_ext=c
69904 ac_cpp='$CPP $CPPFLAGS'
69905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
69912 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
69913 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
69914 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
69915 do :
69916 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
69917 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
69918 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
69919 cat >>confdefs.h <<_ACEOF
69920 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
69921 _ACEOF
69924 done
69926 else
69927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
69928 $as_echo_n "checking for _long double trig functions... " >&6; }
69929 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
69930 $as_echo_n "(cached) " >&6
69931 else
69934 ac_ext=cpp
69935 ac_cpp='$CXXCPP $CPPFLAGS'
69936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69941 /* end confdefs.h. */
69942 #include <math.h>
69944 main ()
69946 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
69948 return 0;
69950 _ACEOF
69951 if ac_fn_cxx_try_compile "$LINENO"; then :
69952 glibcxx_cv_func__long_double_trig_use=yes
69953 else
69954 glibcxx_cv_func__long_double_trig_use=no
69956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69957 ac_ext=c
69958 ac_cpp='$CPP $CPPFLAGS'
69959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
69966 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
69967 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
69968 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
69969 do :
69970 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
69971 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
69972 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
69973 cat >>confdefs.h <<_ACEOF
69974 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
69975 _ACEOF
69978 done
69987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
69988 $as_echo_n "checking for long double round functions... " >&6; }
69989 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
69990 $as_echo_n "(cached) " >&6
69991 else
69994 ac_ext=cpp
69995 ac_cpp='$CXXCPP $CPPFLAGS'
69996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70001 /* end confdefs.h. */
70002 #include <math.h>
70004 main ()
70006 ceill (0); floorl (0);
70008 return 0;
70010 _ACEOF
70011 if ac_fn_cxx_try_compile "$LINENO"; then :
70012 glibcxx_cv_func_long_double_round_use=yes
70013 else
70014 glibcxx_cv_func_long_double_round_use=no
70016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70017 ac_ext=c
70018 ac_cpp='$CPP $CPPFLAGS'
70019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
70026 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
70027 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
70028 for ac_func in ceill floorl
70029 do :
70030 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
70031 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
70032 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
70033 cat >>confdefs.h <<_ACEOF
70034 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
70035 _ACEOF
70038 done
70040 else
70041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
70042 $as_echo_n "checking for _long double round functions... " >&6; }
70043 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
70044 $as_echo_n "(cached) " >&6
70045 else
70048 ac_ext=cpp
70049 ac_cpp='$CXXCPP $CPPFLAGS'
70050 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70051 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70052 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70055 /* end confdefs.h. */
70056 #include <math.h>
70058 main ()
70060 _ceill (0); _floorl (0);
70062 return 0;
70064 _ACEOF
70065 if ac_fn_cxx_try_compile "$LINENO"; then :
70066 glibcxx_cv_func__long_double_round_use=yes
70067 else
70068 glibcxx_cv_func__long_double_round_use=no
70070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70071 ac_ext=c
70072 ac_cpp='$CPP $CPPFLAGS'
70073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
70080 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
70081 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
70082 for ac_func in _ceill _floorl
70083 do :
70084 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
70085 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
70086 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
70087 cat >>confdefs.h <<_ACEOF
70088 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
70089 _ACEOF
70092 done
70102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
70103 $as_echo_n "checking for isnanl declaration... " >&6; }
70104 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
70105 if ${glibcxx_cv_func_isnanl_use+:} false; then :
70106 $as_echo_n "(cached) " >&6
70107 else
70110 ac_ext=cpp
70111 ac_cpp='$CXXCPP $CPPFLAGS'
70112 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70113 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70114 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70117 /* end confdefs.h. */
70118 #include <math.h>
70119 #ifdef HAVE_IEEEFP_H
70120 #include <ieeefp.h>
70121 #endif
70124 main ()
70126 isnanl(0);
70128 return 0;
70130 _ACEOF
70131 if ac_fn_cxx_try_compile "$LINENO"; then :
70132 glibcxx_cv_func_isnanl_use=yes
70133 else
70134 glibcxx_cv_func_isnanl_use=no
70136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70137 ac_ext=c
70138 ac_cpp='$CPP $CPPFLAGS'
70139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
70148 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
70150 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
70151 for ac_func in isnanl
70152 do :
70153 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
70154 if test "x$ac_cv_func_isnanl" = xyes; then :
70155 cat >>confdefs.h <<_ACEOF
70156 #define HAVE_ISNANL 1
70157 _ACEOF
70160 done
70162 else
70164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
70165 $as_echo_n "checking for _isnanl declaration... " >&6; }
70166 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
70167 if ${glibcxx_cv_func__isnanl_use+:} false; then :
70168 $as_echo_n "(cached) " >&6
70169 else
70172 ac_ext=cpp
70173 ac_cpp='$CXXCPP $CPPFLAGS'
70174 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70175 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70176 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70179 /* end confdefs.h. */
70180 #include <math.h>
70181 #ifdef HAVE_IEEEFP_H
70182 #include <ieeefp.h>
70183 #endif
70186 main ()
70188 _isnanl(0);
70190 return 0;
70192 _ACEOF
70193 if ac_fn_cxx_try_compile "$LINENO"; then :
70194 glibcxx_cv_func__isnanl_use=yes
70195 else
70196 glibcxx_cv_func__isnanl_use=no
70198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70199 ac_ext=c
70200 ac_cpp='$CPP $CPPFLAGS'
70201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
70210 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
70212 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
70213 for ac_func in _isnanl
70214 do :
70215 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
70216 if test "x$ac_cv_func__isnanl" = xyes; then :
70217 cat >>confdefs.h <<_ACEOF
70218 #define HAVE__ISNANL 1
70219 _ACEOF
70222 done
70231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
70232 $as_echo_n "checking for isinfl declaration... " >&6; }
70233 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
70234 if ${glibcxx_cv_func_isinfl_use+:} false; then :
70235 $as_echo_n "(cached) " >&6
70236 else
70239 ac_ext=cpp
70240 ac_cpp='$CXXCPP $CPPFLAGS'
70241 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70242 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70243 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70246 /* end confdefs.h. */
70247 #include <math.h>
70248 #ifdef HAVE_IEEEFP_H
70249 #include <ieeefp.h>
70250 #endif
70253 main ()
70255 isinfl(0);
70257 return 0;
70259 _ACEOF
70260 if ac_fn_cxx_try_compile "$LINENO"; then :
70261 glibcxx_cv_func_isinfl_use=yes
70262 else
70263 glibcxx_cv_func_isinfl_use=no
70265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70266 ac_ext=c
70267 ac_cpp='$CPP $CPPFLAGS'
70268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
70277 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
70279 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
70280 for ac_func in isinfl
70281 do :
70282 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
70283 if test "x$ac_cv_func_isinfl" = xyes; then :
70284 cat >>confdefs.h <<_ACEOF
70285 #define HAVE_ISINFL 1
70286 _ACEOF
70289 done
70291 else
70293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
70294 $as_echo_n "checking for _isinfl declaration... " >&6; }
70295 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
70296 if ${glibcxx_cv_func__isinfl_use+:} false; then :
70297 $as_echo_n "(cached) " >&6
70298 else
70301 ac_ext=cpp
70302 ac_cpp='$CXXCPP $CPPFLAGS'
70303 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70304 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70305 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70308 /* end confdefs.h. */
70309 #include <math.h>
70310 #ifdef HAVE_IEEEFP_H
70311 #include <ieeefp.h>
70312 #endif
70315 main ()
70317 _isinfl(0);
70319 return 0;
70321 _ACEOF
70322 if ac_fn_cxx_try_compile "$LINENO"; then :
70323 glibcxx_cv_func__isinfl_use=yes
70324 else
70325 glibcxx_cv_func__isinfl_use=no
70327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70328 ac_ext=c
70329 ac_cpp='$CPP $CPPFLAGS'
70330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
70339 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
70341 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
70342 for ac_func in _isinfl
70343 do :
70344 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
70345 if test "x$ac_cv_func__isinfl" = xyes; then :
70346 cat >>confdefs.h <<_ACEOF
70347 #define HAVE__ISINFL 1
70348 _ACEOF
70351 done
70360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
70361 $as_echo_n "checking for atan2l declaration... " >&6; }
70362 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
70363 if ${glibcxx_cv_func_atan2l_use+:} false; then :
70364 $as_echo_n "(cached) " >&6
70365 else
70368 ac_ext=cpp
70369 ac_cpp='$CXXCPP $CPPFLAGS'
70370 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70371 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70372 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70375 /* end confdefs.h. */
70376 #include <math.h>
70378 main ()
70380 atan2l(0, 0);
70382 return 0;
70384 _ACEOF
70385 if ac_fn_cxx_try_compile "$LINENO"; then :
70386 glibcxx_cv_func_atan2l_use=yes
70387 else
70388 glibcxx_cv_func_atan2l_use=no
70390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70391 ac_ext=c
70392 ac_cpp='$CPP $CPPFLAGS'
70393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
70402 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
70404 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
70405 for ac_func in atan2l
70406 do :
70407 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
70408 if test "x$ac_cv_func_atan2l" = xyes; then :
70409 cat >>confdefs.h <<_ACEOF
70410 #define HAVE_ATAN2L 1
70411 _ACEOF
70414 done
70416 else
70418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
70419 $as_echo_n "checking for _atan2l declaration... " >&6; }
70420 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
70421 if ${glibcxx_cv_func__atan2l_use+:} false; then :
70422 $as_echo_n "(cached) " >&6
70423 else
70426 ac_ext=cpp
70427 ac_cpp='$CXXCPP $CPPFLAGS'
70428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70433 /* end confdefs.h. */
70434 #include <math.h>
70436 main ()
70438 _atan2l(0, 0);
70440 return 0;
70442 _ACEOF
70443 if ac_fn_cxx_try_compile "$LINENO"; then :
70444 glibcxx_cv_func__atan2l_use=yes
70445 else
70446 glibcxx_cv_func__atan2l_use=no
70448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70449 ac_ext=c
70450 ac_cpp='$CPP $CPPFLAGS'
70451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
70460 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
70462 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
70463 for ac_func in _atan2l
70464 do :
70465 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
70466 if test "x$ac_cv_func__atan2l" = xyes; then :
70467 cat >>confdefs.h <<_ACEOF
70468 #define HAVE__ATAN2L 1
70469 _ACEOF
70472 done
70481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
70482 $as_echo_n "checking for expl declaration... " >&6; }
70483 if test x${glibcxx_cv_func_expl_use+set} != xset; then
70484 if ${glibcxx_cv_func_expl_use+:} false; then :
70485 $as_echo_n "(cached) " >&6
70486 else
70489 ac_ext=cpp
70490 ac_cpp='$CXXCPP $CPPFLAGS'
70491 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70492 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70493 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70496 /* end confdefs.h. */
70497 #include <math.h>
70498 #ifdef HAVE_IEEEFP_H
70499 #include <ieeefp.h>
70500 #endif
70503 main ()
70505 expl(0);
70507 return 0;
70509 _ACEOF
70510 if ac_fn_cxx_try_compile "$LINENO"; then :
70511 glibcxx_cv_func_expl_use=yes
70512 else
70513 glibcxx_cv_func_expl_use=no
70515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70516 ac_ext=c
70517 ac_cpp='$CPP $CPPFLAGS'
70518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
70527 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
70529 if test x$glibcxx_cv_func_expl_use = x"yes"; then
70530 for ac_func in expl
70531 do :
70532 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
70533 if test "x$ac_cv_func_expl" = xyes; then :
70534 cat >>confdefs.h <<_ACEOF
70535 #define HAVE_EXPL 1
70536 _ACEOF
70539 done
70541 else
70543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
70544 $as_echo_n "checking for _expl declaration... " >&6; }
70545 if test x${glibcxx_cv_func__expl_use+set} != xset; then
70546 if ${glibcxx_cv_func__expl_use+:} false; then :
70547 $as_echo_n "(cached) " >&6
70548 else
70551 ac_ext=cpp
70552 ac_cpp='$CXXCPP $CPPFLAGS'
70553 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70554 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70555 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70558 /* end confdefs.h. */
70559 #include <math.h>
70560 #ifdef HAVE_IEEEFP_H
70561 #include <ieeefp.h>
70562 #endif
70565 main ()
70567 _expl(0);
70569 return 0;
70571 _ACEOF
70572 if ac_fn_cxx_try_compile "$LINENO"; then :
70573 glibcxx_cv_func__expl_use=yes
70574 else
70575 glibcxx_cv_func__expl_use=no
70577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70578 ac_ext=c
70579 ac_cpp='$CPP $CPPFLAGS'
70580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
70589 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
70591 if test x$glibcxx_cv_func__expl_use = x"yes"; then
70592 for ac_func in _expl
70593 do :
70594 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
70595 if test "x$ac_cv_func__expl" = xyes; then :
70596 cat >>confdefs.h <<_ACEOF
70597 #define HAVE__EXPL 1
70598 _ACEOF
70601 done
70610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
70611 $as_echo_n "checking for fabsl declaration... " >&6; }
70612 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
70613 if ${glibcxx_cv_func_fabsl_use+:} false; then :
70614 $as_echo_n "(cached) " >&6
70615 else
70618 ac_ext=cpp
70619 ac_cpp='$CXXCPP $CPPFLAGS'
70620 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70621 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70622 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70625 /* end confdefs.h. */
70626 #include <math.h>
70627 #ifdef HAVE_IEEEFP_H
70628 #include <ieeefp.h>
70629 #endif
70632 main ()
70634 fabsl(0);
70636 return 0;
70638 _ACEOF
70639 if ac_fn_cxx_try_compile "$LINENO"; then :
70640 glibcxx_cv_func_fabsl_use=yes
70641 else
70642 glibcxx_cv_func_fabsl_use=no
70644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70645 ac_ext=c
70646 ac_cpp='$CPP $CPPFLAGS'
70647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
70656 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
70658 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
70659 for ac_func in fabsl
70660 do :
70661 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
70662 if test "x$ac_cv_func_fabsl" = xyes; then :
70663 cat >>confdefs.h <<_ACEOF
70664 #define HAVE_FABSL 1
70665 _ACEOF
70668 done
70670 else
70672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
70673 $as_echo_n "checking for _fabsl declaration... " >&6; }
70674 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
70675 if ${glibcxx_cv_func__fabsl_use+:} false; then :
70676 $as_echo_n "(cached) " >&6
70677 else
70680 ac_ext=cpp
70681 ac_cpp='$CXXCPP $CPPFLAGS'
70682 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70683 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70684 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70687 /* end confdefs.h. */
70688 #include <math.h>
70689 #ifdef HAVE_IEEEFP_H
70690 #include <ieeefp.h>
70691 #endif
70694 main ()
70696 _fabsl(0);
70698 return 0;
70700 _ACEOF
70701 if ac_fn_cxx_try_compile "$LINENO"; then :
70702 glibcxx_cv_func__fabsl_use=yes
70703 else
70704 glibcxx_cv_func__fabsl_use=no
70706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70707 ac_ext=c
70708 ac_cpp='$CPP $CPPFLAGS'
70709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
70718 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
70720 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
70721 for ac_func in _fabsl
70722 do :
70723 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
70724 if test "x$ac_cv_func__fabsl" = xyes; then :
70725 cat >>confdefs.h <<_ACEOF
70726 #define HAVE__FABSL 1
70727 _ACEOF
70730 done
70739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
70740 $as_echo_n "checking for fmodl declaration... " >&6; }
70741 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
70742 if ${glibcxx_cv_func_fmodl_use+:} false; then :
70743 $as_echo_n "(cached) " >&6
70744 else
70747 ac_ext=cpp
70748 ac_cpp='$CXXCPP $CPPFLAGS'
70749 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70750 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70751 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70754 /* end confdefs.h. */
70755 #include <math.h>
70757 main ()
70759 fmodl(0, 0);
70761 return 0;
70763 _ACEOF
70764 if ac_fn_cxx_try_compile "$LINENO"; then :
70765 glibcxx_cv_func_fmodl_use=yes
70766 else
70767 glibcxx_cv_func_fmodl_use=no
70769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70770 ac_ext=c
70771 ac_cpp='$CPP $CPPFLAGS'
70772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
70781 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
70783 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
70784 for ac_func in fmodl
70785 do :
70786 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
70787 if test "x$ac_cv_func_fmodl" = xyes; then :
70788 cat >>confdefs.h <<_ACEOF
70789 #define HAVE_FMODL 1
70790 _ACEOF
70793 done
70795 else
70797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
70798 $as_echo_n "checking for _fmodl declaration... " >&6; }
70799 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
70800 if ${glibcxx_cv_func__fmodl_use+:} false; then :
70801 $as_echo_n "(cached) " >&6
70802 else
70805 ac_ext=cpp
70806 ac_cpp='$CXXCPP $CPPFLAGS'
70807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70812 /* end confdefs.h. */
70813 #include <math.h>
70815 main ()
70817 _fmodl(0, 0);
70819 return 0;
70821 _ACEOF
70822 if ac_fn_cxx_try_compile "$LINENO"; then :
70823 glibcxx_cv_func__fmodl_use=yes
70824 else
70825 glibcxx_cv_func__fmodl_use=no
70827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70828 ac_ext=c
70829 ac_cpp='$CPP $CPPFLAGS'
70830 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70831 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70832 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
70839 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
70841 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
70842 for ac_func in _fmodl
70843 do :
70844 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
70845 if test "x$ac_cv_func__fmodl" = xyes; then :
70846 cat >>confdefs.h <<_ACEOF
70847 #define HAVE__FMODL 1
70848 _ACEOF
70851 done
70860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
70861 $as_echo_n "checking for frexpl declaration... " >&6; }
70862 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
70863 if ${glibcxx_cv_func_frexpl_use+:} false; then :
70864 $as_echo_n "(cached) " >&6
70865 else
70868 ac_ext=cpp
70869 ac_cpp='$CXXCPP $CPPFLAGS'
70870 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70871 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70872 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70875 /* end confdefs.h. */
70876 #include <math.h>
70878 main ()
70880 frexpl(0, 0);
70882 return 0;
70884 _ACEOF
70885 if ac_fn_cxx_try_compile "$LINENO"; then :
70886 glibcxx_cv_func_frexpl_use=yes
70887 else
70888 glibcxx_cv_func_frexpl_use=no
70890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70891 ac_ext=c
70892 ac_cpp='$CPP $CPPFLAGS'
70893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
70902 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
70904 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
70905 for ac_func in frexpl
70906 do :
70907 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
70908 if test "x$ac_cv_func_frexpl" = xyes; then :
70909 cat >>confdefs.h <<_ACEOF
70910 #define HAVE_FREXPL 1
70911 _ACEOF
70914 done
70916 else
70918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
70919 $as_echo_n "checking for _frexpl declaration... " >&6; }
70920 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
70921 if ${glibcxx_cv_func__frexpl_use+:} false; then :
70922 $as_echo_n "(cached) " >&6
70923 else
70926 ac_ext=cpp
70927 ac_cpp='$CXXCPP $CPPFLAGS'
70928 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70929 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70930 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70933 /* end confdefs.h. */
70934 #include <math.h>
70936 main ()
70938 _frexpl(0, 0);
70940 return 0;
70942 _ACEOF
70943 if ac_fn_cxx_try_compile "$LINENO"; then :
70944 glibcxx_cv_func__frexpl_use=yes
70945 else
70946 glibcxx_cv_func__frexpl_use=no
70948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70949 ac_ext=c
70950 ac_cpp='$CPP $CPPFLAGS'
70951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
70960 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
70962 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
70963 for ac_func in _frexpl
70964 do :
70965 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
70966 if test "x$ac_cv_func__frexpl" = xyes; then :
70967 cat >>confdefs.h <<_ACEOF
70968 #define HAVE__FREXPL 1
70969 _ACEOF
70972 done
70981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
70982 $as_echo_n "checking for hypotl declaration... " >&6; }
70983 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
70984 if ${glibcxx_cv_func_hypotl_use+:} false; then :
70985 $as_echo_n "(cached) " >&6
70986 else
70989 ac_ext=cpp
70990 ac_cpp='$CXXCPP $CPPFLAGS'
70991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70992 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70996 /* end confdefs.h. */
70997 #include <math.h>
70999 main ()
71001 hypotl(0, 0);
71003 return 0;
71005 _ACEOF
71006 if ac_fn_cxx_try_compile "$LINENO"; then :
71007 glibcxx_cv_func_hypotl_use=yes
71008 else
71009 glibcxx_cv_func_hypotl_use=no
71011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71012 ac_ext=c
71013 ac_cpp='$CPP $CPPFLAGS'
71014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
71023 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
71025 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
71026 for ac_func in hypotl
71027 do :
71028 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
71029 if test "x$ac_cv_func_hypotl" = xyes; then :
71030 cat >>confdefs.h <<_ACEOF
71031 #define HAVE_HYPOTL 1
71032 _ACEOF
71035 done
71037 else
71039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
71040 $as_echo_n "checking for _hypotl declaration... " >&6; }
71041 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
71042 if ${glibcxx_cv_func__hypotl_use+:} false; then :
71043 $as_echo_n "(cached) " >&6
71044 else
71047 ac_ext=cpp
71048 ac_cpp='$CXXCPP $CPPFLAGS'
71049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71054 /* end confdefs.h. */
71055 #include <math.h>
71057 main ()
71059 _hypotl(0, 0);
71061 return 0;
71063 _ACEOF
71064 if ac_fn_cxx_try_compile "$LINENO"; then :
71065 glibcxx_cv_func__hypotl_use=yes
71066 else
71067 glibcxx_cv_func__hypotl_use=no
71069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71070 ac_ext=c
71071 ac_cpp='$CPP $CPPFLAGS'
71072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
71081 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
71083 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
71084 for ac_func in _hypotl
71085 do :
71086 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
71087 if test "x$ac_cv_func__hypotl" = xyes; then :
71088 cat >>confdefs.h <<_ACEOF
71089 #define HAVE__HYPOTL 1
71090 _ACEOF
71093 done
71102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
71103 $as_echo_n "checking for ldexpl declaration... " >&6; }
71104 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
71105 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
71106 $as_echo_n "(cached) " >&6
71107 else
71110 ac_ext=cpp
71111 ac_cpp='$CXXCPP $CPPFLAGS'
71112 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71113 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71114 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71117 /* end confdefs.h. */
71118 #include <math.h>
71120 main ()
71122 ldexpl(0, 0);
71124 return 0;
71126 _ACEOF
71127 if ac_fn_cxx_try_compile "$LINENO"; then :
71128 glibcxx_cv_func_ldexpl_use=yes
71129 else
71130 glibcxx_cv_func_ldexpl_use=no
71132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71133 ac_ext=c
71134 ac_cpp='$CPP $CPPFLAGS'
71135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
71144 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
71146 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
71147 for ac_func in ldexpl
71148 do :
71149 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
71150 if test "x$ac_cv_func_ldexpl" = xyes; then :
71151 cat >>confdefs.h <<_ACEOF
71152 #define HAVE_LDEXPL 1
71153 _ACEOF
71156 done
71158 else
71160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
71161 $as_echo_n "checking for _ldexpl declaration... " >&6; }
71162 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
71163 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
71164 $as_echo_n "(cached) " >&6
71165 else
71168 ac_ext=cpp
71169 ac_cpp='$CXXCPP $CPPFLAGS'
71170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71175 /* end confdefs.h. */
71176 #include <math.h>
71178 main ()
71180 _ldexpl(0, 0);
71182 return 0;
71184 _ACEOF
71185 if ac_fn_cxx_try_compile "$LINENO"; then :
71186 glibcxx_cv_func__ldexpl_use=yes
71187 else
71188 glibcxx_cv_func__ldexpl_use=no
71190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71191 ac_ext=c
71192 ac_cpp='$CPP $CPPFLAGS'
71193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
71202 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
71204 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
71205 for ac_func in _ldexpl
71206 do :
71207 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
71208 if test "x$ac_cv_func__ldexpl" = xyes; then :
71209 cat >>confdefs.h <<_ACEOF
71210 #define HAVE__LDEXPL 1
71211 _ACEOF
71214 done
71223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
71224 $as_echo_n "checking for logl declaration... " >&6; }
71225 if test x${glibcxx_cv_func_logl_use+set} != xset; then
71226 if ${glibcxx_cv_func_logl_use+:} false; then :
71227 $as_echo_n "(cached) " >&6
71228 else
71231 ac_ext=cpp
71232 ac_cpp='$CXXCPP $CPPFLAGS'
71233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71238 /* end confdefs.h. */
71239 #include <math.h>
71240 #ifdef HAVE_IEEEFP_H
71241 #include <ieeefp.h>
71242 #endif
71245 main ()
71247 logl(0);
71249 return 0;
71251 _ACEOF
71252 if ac_fn_cxx_try_compile "$LINENO"; then :
71253 glibcxx_cv_func_logl_use=yes
71254 else
71255 glibcxx_cv_func_logl_use=no
71257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71258 ac_ext=c
71259 ac_cpp='$CPP $CPPFLAGS'
71260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
71269 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
71271 if test x$glibcxx_cv_func_logl_use = x"yes"; then
71272 for ac_func in logl
71273 do :
71274 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
71275 if test "x$ac_cv_func_logl" = xyes; then :
71276 cat >>confdefs.h <<_ACEOF
71277 #define HAVE_LOGL 1
71278 _ACEOF
71281 done
71283 else
71285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
71286 $as_echo_n "checking for _logl declaration... " >&6; }
71287 if test x${glibcxx_cv_func__logl_use+set} != xset; then
71288 if ${glibcxx_cv_func__logl_use+:} false; then :
71289 $as_echo_n "(cached) " >&6
71290 else
71293 ac_ext=cpp
71294 ac_cpp='$CXXCPP $CPPFLAGS'
71295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71300 /* end confdefs.h. */
71301 #include <math.h>
71302 #ifdef HAVE_IEEEFP_H
71303 #include <ieeefp.h>
71304 #endif
71307 main ()
71309 _logl(0);
71311 return 0;
71313 _ACEOF
71314 if ac_fn_cxx_try_compile "$LINENO"; then :
71315 glibcxx_cv_func__logl_use=yes
71316 else
71317 glibcxx_cv_func__logl_use=no
71319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71320 ac_ext=c
71321 ac_cpp='$CPP $CPPFLAGS'
71322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
71331 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
71333 if test x$glibcxx_cv_func__logl_use = x"yes"; then
71334 for ac_func in _logl
71335 do :
71336 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
71337 if test "x$ac_cv_func__logl" = xyes; then :
71338 cat >>confdefs.h <<_ACEOF
71339 #define HAVE__LOGL 1
71340 _ACEOF
71343 done
71352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
71353 $as_echo_n "checking for log10l declaration... " >&6; }
71354 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
71355 if ${glibcxx_cv_func_log10l_use+:} false; then :
71356 $as_echo_n "(cached) " >&6
71357 else
71360 ac_ext=cpp
71361 ac_cpp='$CXXCPP $CPPFLAGS'
71362 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71363 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71364 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71367 /* end confdefs.h. */
71368 #include <math.h>
71369 #ifdef HAVE_IEEEFP_H
71370 #include <ieeefp.h>
71371 #endif
71374 main ()
71376 log10l(0);
71378 return 0;
71380 _ACEOF
71381 if ac_fn_cxx_try_compile "$LINENO"; then :
71382 glibcxx_cv_func_log10l_use=yes
71383 else
71384 glibcxx_cv_func_log10l_use=no
71386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71387 ac_ext=c
71388 ac_cpp='$CPP $CPPFLAGS'
71389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71390 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
71398 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
71400 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
71401 for ac_func in log10l
71402 do :
71403 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
71404 if test "x$ac_cv_func_log10l" = xyes; then :
71405 cat >>confdefs.h <<_ACEOF
71406 #define HAVE_LOG10L 1
71407 _ACEOF
71410 done
71412 else
71414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
71415 $as_echo_n "checking for _log10l declaration... " >&6; }
71416 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
71417 if ${glibcxx_cv_func__log10l_use+:} false; then :
71418 $as_echo_n "(cached) " >&6
71419 else
71422 ac_ext=cpp
71423 ac_cpp='$CXXCPP $CPPFLAGS'
71424 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71425 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71426 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71429 /* end confdefs.h. */
71430 #include <math.h>
71431 #ifdef HAVE_IEEEFP_H
71432 #include <ieeefp.h>
71433 #endif
71436 main ()
71438 _log10l(0);
71440 return 0;
71442 _ACEOF
71443 if ac_fn_cxx_try_compile "$LINENO"; then :
71444 glibcxx_cv_func__log10l_use=yes
71445 else
71446 glibcxx_cv_func__log10l_use=no
71448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71449 ac_ext=c
71450 ac_cpp='$CPP $CPPFLAGS'
71451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
71460 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
71462 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
71463 for ac_func in _log10l
71464 do :
71465 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
71466 if test "x$ac_cv_func__log10l" = xyes; then :
71467 cat >>confdefs.h <<_ACEOF
71468 #define HAVE__LOG10L 1
71469 _ACEOF
71472 done
71481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
71482 $as_echo_n "checking for modfl declaration... " >&6; }
71483 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
71484 if ${glibcxx_cv_func_modfl_use+:} false; then :
71485 $as_echo_n "(cached) " >&6
71486 else
71489 ac_ext=cpp
71490 ac_cpp='$CXXCPP $CPPFLAGS'
71491 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71492 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71493 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71496 /* end confdefs.h. */
71497 #include <math.h>
71499 main ()
71501 modfl(0, 0);
71503 return 0;
71505 _ACEOF
71506 if ac_fn_cxx_try_compile "$LINENO"; then :
71507 glibcxx_cv_func_modfl_use=yes
71508 else
71509 glibcxx_cv_func_modfl_use=no
71511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71512 ac_ext=c
71513 ac_cpp='$CPP $CPPFLAGS'
71514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
71523 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
71525 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
71526 for ac_func in modfl
71527 do :
71528 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
71529 if test "x$ac_cv_func_modfl" = xyes; then :
71530 cat >>confdefs.h <<_ACEOF
71531 #define HAVE_MODFL 1
71532 _ACEOF
71535 done
71537 else
71539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
71540 $as_echo_n "checking for _modfl declaration... " >&6; }
71541 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
71542 if ${glibcxx_cv_func__modfl_use+:} false; then :
71543 $as_echo_n "(cached) " >&6
71544 else
71547 ac_ext=cpp
71548 ac_cpp='$CXXCPP $CPPFLAGS'
71549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71554 /* end confdefs.h. */
71555 #include <math.h>
71557 main ()
71559 _modfl(0, 0);
71561 return 0;
71563 _ACEOF
71564 if ac_fn_cxx_try_compile "$LINENO"; then :
71565 glibcxx_cv_func__modfl_use=yes
71566 else
71567 glibcxx_cv_func__modfl_use=no
71569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71570 ac_ext=c
71571 ac_cpp='$CPP $CPPFLAGS'
71572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
71581 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
71583 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
71584 for ac_func in _modfl
71585 do :
71586 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
71587 if test "x$ac_cv_func__modfl" = xyes; then :
71588 cat >>confdefs.h <<_ACEOF
71589 #define HAVE__MODFL 1
71590 _ACEOF
71593 done
71602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
71603 $as_echo_n "checking for powl declaration... " >&6; }
71604 if test x${glibcxx_cv_func_powl_use+set} != xset; then
71605 if ${glibcxx_cv_func_powl_use+:} false; then :
71606 $as_echo_n "(cached) " >&6
71607 else
71610 ac_ext=cpp
71611 ac_cpp='$CXXCPP $CPPFLAGS'
71612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71617 /* end confdefs.h. */
71618 #include <math.h>
71620 main ()
71622 powl(0, 0);
71624 return 0;
71626 _ACEOF
71627 if ac_fn_cxx_try_compile "$LINENO"; then :
71628 glibcxx_cv_func_powl_use=yes
71629 else
71630 glibcxx_cv_func_powl_use=no
71632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71633 ac_ext=c
71634 ac_cpp='$CPP $CPPFLAGS'
71635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
71644 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
71646 if test x$glibcxx_cv_func_powl_use = x"yes"; then
71647 for ac_func in powl
71648 do :
71649 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
71650 if test "x$ac_cv_func_powl" = xyes; then :
71651 cat >>confdefs.h <<_ACEOF
71652 #define HAVE_POWL 1
71653 _ACEOF
71656 done
71658 else
71660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
71661 $as_echo_n "checking for _powl declaration... " >&6; }
71662 if test x${glibcxx_cv_func__powl_use+set} != xset; then
71663 if ${glibcxx_cv_func__powl_use+:} false; then :
71664 $as_echo_n "(cached) " >&6
71665 else
71668 ac_ext=cpp
71669 ac_cpp='$CXXCPP $CPPFLAGS'
71670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71675 /* end confdefs.h. */
71676 #include <math.h>
71678 main ()
71680 _powl(0, 0);
71682 return 0;
71684 _ACEOF
71685 if ac_fn_cxx_try_compile "$LINENO"; then :
71686 glibcxx_cv_func__powl_use=yes
71687 else
71688 glibcxx_cv_func__powl_use=no
71690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71691 ac_ext=c
71692 ac_cpp='$CPP $CPPFLAGS'
71693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
71702 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
71704 if test x$glibcxx_cv_func__powl_use = x"yes"; then
71705 for ac_func in _powl
71706 do :
71707 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
71708 if test "x$ac_cv_func__powl" = xyes; then :
71709 cat >>confdefs.h <<_ACEOF
71710 #define HAVE__POWL 1
71711 _ACEOF
71714 done
71723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
71724 $as_echo_n "checking for sqrtl declaration... " >&6; }
71725 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
71726 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
71727 $as_echo_n "(cached) " >&6
71728 else
71731 ac_ext=cpp
71732 ac_cpp='$CXXCPP $CPPFLAGS'
71733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71738 /* end confdefs.h. */
71739 #include <math.h>
71740 #ifdef HAVE_IEEEFP_H
71741 #include <ieeefp.h>
71742 #endif
71745 main ()
71747 sqrtl(0);
71749 return 0;
71751 _ACEOF
71752 if ac_fn_cxx_try_compile "$LINENO"; then :
71753 glibcxx_cv_func_sqrtl_use=yes
71754 else
71755 glibcxx_cv_func_sqrtl_use=no
71757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71758 ac_ext=c
71759 ac_cpp='$CPP $CPPFLAGS'
71760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
71769 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
71771 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
71772 for ac_func in sqrtl
71773 do :
71774 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
71775 if test "x$ac_cv_func_sqrtl" = xyes; then :
71776 cat >>confdefs.h <<_ACEOF
71777 #define HAVE_SQRTL 1
71778 _ACEOF
71781 done
71783 else
71785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
71786 $as_echo_n "checking for _sqrtl declaration... " >&6; }
71787 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
71788 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
71789 $as_echo_n "(cached) " >&6
71790 else
71793 ac_ext=cpp
71794 ac_cpp='$CXXCPP $CPPFLAGS'
71795 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71796 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71797 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71800 /* end confdefs.h. */
71801 #include <math.h>
71802 #ifdef HAVE_IEEEFP_H
71803 #include <ieeefp.h>
71804 #endif
71807 main ()
71809 _sqrtl(0);
71811 return 0;
71813 _ACEOF
71814 if ac_fn_cxx_try_compile "$LINENO"; then :
71815 glibcxx_cv_func__sqrtl_use=yes
71816 else
71817 glibcxx_cv_func__sqrtl_use=no
71819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71820 ac_ext=c
71821 ac_cpp='$CPP $CPPFLAGS'
71822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
71831 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
71833 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
71834 for ac_func in _sqrtl
71835 do :
71836 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
71837 if test "x$ac_cv_func__sqrtl" = xyes; then :
71838 cat >>confdefs.h <<_ACEOF
71839 #define HAVE__SQRTL 1
71840 _ACEOF
71843 done
71852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
71853 $as_echo_n "checking for sincosl declaration... " >&6; }
71854 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
71855 if ${glibcxx_cv_func_sincosl_use+:} false; then :
71856 $as_echo_n "(cached) " >&6
71857 else
71860 ac_ext=cpp
71861 ac_cpp='$CXXCPP $CPPFLAGS'
71862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71867 /* end confdefs.h. */
71868 #include <math.h>
71870 main ()
71872 sincosl(0, 0, 0);
71874 return 0;
71876 _ACEOF
71877 if ac_fn_cxx_try_compile "$LINENO"; then :
71878 glibcxx_cv_func_sincosl_use=yes
71879 else
71880 glibcxx_cv_func_sincosl_use=no
71882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71883 ac_ext=c
71884 ac_cpp='$CPP $CPPFLAGS'
71885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
71894 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
71896 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
71897 for ac_func in sincosl
71898 do :
71899 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
71900 if test "x$ac_cv_func_sincosl" = xyes; then :
71901 cat >>confdefs.h <<_ACEOF
71902 #define HAVE_SINCOSL 1
71903 _ACEOF
71906 done
71908 else
71910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
71911 $as_echo_n "checking for _sincosl declaration... " >&6; }
71912 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
71913 if ${glibcxx_cv_func__sincosl_use+:} false; then :
71914 $as_echo_n "(cached) " >&6
71915 else
71918 ac_ext=cpp
71919 ac_cpp='$CXXCPP $CPPFLAGS'
71920 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71921 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71922 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71925 /* end confdefs.h. */
71926 #include <math.h>
71928 main ()
71930 _sincosl(0, 0, 0);
71932 return 0;
71934 _ACEOF
71935 if ac_fn_cxx_try_compile "$LINENO"; then :
71936 glibcxx_cv_func__sincosl_use=yes
71937 else
71938 glibcxx_cv_func__sincosl_use=no
71940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71941 ac_ext=c
71942 ac_cpp='$CPP $CPPFLAGS'
71943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
71952 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
71954 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
71955 for ac_func in _sincosl
71956 do :
71957 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
71958 if test "x$ac_cv_func__sincosl" = xyes; then :
71959 cat >>confdefs.h <<_ACEOF
71960 #define HAVE__SINCOSL 1
71961 _ACEOF
71964 done
71973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
71974 $as_echo_n "checking for finitel declaration... " >&6; }
71975 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
71976 if ${glibcxx_cv_func_finitel_use+:} false; then :
71977 $as_echo_n "(cached) " >&6
71978 else
71981 ac_ext=cpp
71982 ac_cpp='$CXXCPP $CPPFLAGS'
71983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71988 /* end confdefs.h. */
71989 #include <math.h>
71990 #ifdef HAVE_IEEEFP_H
71991 #include <ieeefp.h>
71992 #endif
71995 main ()
71997 finitel(0);
71999 return 0;
72001 _ACEOF
72002 if ac_fn_cxx_try_compile "$LINENO"; then :
72003 glibcxx_cv_func_finitel_use=yes
72004 else
72005 glibcxx_cv_func_finitel_use=no
72007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72008 ac_ext=c
72009 ac_cpp='$CPP $CPPFLAGS'
72010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
72019 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
72021 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
72022 for ac_func in finitel
72023 do :
72024 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
72025 if test "x$ac_cv_func_finitel" = xyes; then :
72026 cat >>confdefs.h <<_ACEOF
72027 #define HAVE_FINITEL 1
72028 _ACEOF
72031 done
72033 else
72035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
72036 $as_echo_n "checking for _finitel declaration... " >&6; }
72037 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
72038 if ${glibcxx_cv_func__finitel_use+:} false; then :
72039 $as_echo_n "(cached) " >&6
72040 else
72043 ac_ext=cpp
72044 ac_cpp='$CXXCPP $CPPFLAGS'
72045 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72046 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72047 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72050 /* end confdefs.h. */
72051 #include <math.h>
72052 #ifdef HAVE_IEEEFP_H
72053 #include <ieeefp.h>
72054 #endif
72057 main ()
72059 _finitel(0);
72061 return 0;
72063 _ACEOF
72064 if ac_fn_cxx_try_compile "$LINENO"; then :
72065 glibcxx_cv_func__finitel_use=yes
72066 else
72067 glibcxx_cv_func__finitel_use=no
72069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72070 ac_ext=c
72071 ac_cpp='$CPP $CPPFLAGS'
72072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
72081 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
72083 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
72084 for ac_func in _finitel
72085 do :
72086 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
72087 if test "x$ac_cv_func__finitel" = xyes; then :
72088 cat >>confdefs.h <<_ACEOF
72089 #define HAVE__FINITEL 1
72090 _ACEOF
72093 done
72101 LIBS="$ac_save_LIBS"
72102 CXXFLAGS="$ac_save_CXXFLAGS"
72105 ac_test_CXXFLAGS="${CXXFLAGS+set}"
72106 ac_save_CXXFLAGS="$CXXFLAGS"
72107 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
72110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
72111 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
72112 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
72113 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
72114 $as_echo_n "(cached) " >&6
72115 else
72118 ac_ext=cpp
72119 ac_cpp='$CXXCPP $CPPFLAGS'
72120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72125 /* end confdefs.h. */
72126 #include <stdlib.h>
72128 main ()
72130 at_quick_exit(0);
72132 return 0;
72134 _ACEOF
72135 if ac_fn_cxx_try_compile "$LINENO"; then :
72136 glibcxx_cv_func_at_quick_exit_use=yes
72137 else
72138 glibcxx_cv_func_at_quick_exit_use=no
72140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72141 ac_ext=c
72142 ac_cpp='$CPP $CPPFLAGS'
72143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
72152 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
72153 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
72154 for ac_func in at_quick_exit
72155 do :
72156 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
72157 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
72158 cat >>confdefs.h <<_ACEOF
72159 #define HAVE_AT_QUICK_EXIT 1
72160 _ACEOF
72163 done
72168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
72169 $as_echo_n "checking for quick_exit declaration... " >&6; }
72170 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
72171 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
72172 $as_echo_n "(cached) " >&6
72173 else
72176 ac_ext=cpp
72177 ac_cpp='$CXXCPP $CPPFLAGS'
72178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72183 /* end confdefs.h. */
72184 #include <stdlib.h>
72186 main ()
72188 quick_exit(0);
72190 return 0;
72192 _ACEOF
72193 if ac_fn_cxx_try_compile "$LINENO"; then :
72194 glibcxx_cv_func_quick_exit_use=yes
72195 else
72196 glibcxx_cv_func_quick_exit_use=no
72198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72199 ac_ext=c
72200 ac_cpp='$CPP $CPPFLAGS'
72201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
72210 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
72211 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
72212 for ac_func in quick_exit
72213 do :
72214 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
72215 if test "x$ac_cv_func_quick_exit" = xyes; then :
72216 cat >>confdefs.h <<_ACEOF
72217 #define HAVE_QUICK_EXIT 1
72218 _ACEOF
72221 done
72226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
72227 $as_echo_n "checking for strtold declaration... " >&6; }
72228 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
72229 if ${glibcxx_cv_func_strtold_use+:} false; then :
72230 $as_echo_n "(cached) " >&6
72231 else
72234 ac_ext=cpp
72235 ac_cpp='$CXXCPP $CPPFLAGS'
72236 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72237 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72238 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72241 /* end confdefs.h. */
72242 #include <stdlib.h>
72244 main ()
72246 strtold(0, 0);
72248 return 0;
72250 _ACEOF
72251 if ac_fn_cxx_try_compile "$LINENO"; then :
72252 glibcxx_cv_func_strtold_use=yes
72253 else
72254 glibcxx_cv_func_strtold_use=no
72256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72257 ac_ext=c
72258 ac_cpp='$CPP $CPPFLAGS'
72259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
72268 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
72269 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
72270 for ac_func in strtold
72271 do :
72272 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
72273 if test "x$ac_cv_func_strtold" = xyes; then :
72274 cat >>confdefs.h <<_ACEOF
72275 #define HAVE_STRTOLD 1
72276 _ACEOF
72279 done
72286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
72287 $as_echo_n "checking for strtof declaration... " >&6; }
72288 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
72289 if ${glibcxx_cv_func_strtof_use+:} false; then :
72290 $as_echo_n "(cached) " >&6
72291 else
72294 ac_ext=cpp
72295 ac_cpp='$CXXCPP $CPPFLAGS'
72296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72301 /* end confdefs.h. */
72302 #include <stdlib.h>
72304 main ()
72306 strtof(0, 0);
72308 return 0;
72310 _ACEOF
72311 if ac_fn_cxx_try_compile "$LINENO"; then :
72312 glibcxx_cv_func_strtof_use=yes
72313 else
72314 glibcxx_cv_func_strtof_use=no
72316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72317 ac_ext=c
72318 ac_cpp='$CPP $CPPFLAGS'
72319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
72328 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
72329 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
72330 for ac_func in strtof
72331 do :
72332 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
72333 if test "x$ac_cv_func_strtof" = xyes; then :
72334 cat >>confdefs.h <<_ACEOF
72335 #define HAVE_STRTOF 1
72336 _ACEOF
72339 done
72346 CXXFLAGS="$ac_save_CXXFLAGS"
72349 *-vxworks*)
72350 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
72352 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
72354 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
72356 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
72358 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
72360 $as_echo "#define HAVE_COSF 1" >>confdefs.h
72362 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
72364 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
72366 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
72368 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
72370 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
72372 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
72374 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
72376 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
72378 $as_echo "#define HAVE_POWF 1" >>confdefs.h
72380 $as_echo "#define HAVE_SINF 1" >>confdefs.h
72382 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
72384 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
72386 $as_echo "#define HAVE_TANF 1" >>confdefs.h
72388 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
72394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosl declaration" >&5
72395 $as_echo_n "checking for acosl declaration... " >&6; }
72396 if ${glibcxx_cv_func_acosl_use+:} false; then :
72397 $as_echo_n "(cached) " >&6
72398 else
72401 ac_ext=c
72402 ac_cpp='$CPP $CPPFLAGS'
72403 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72404 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72408 /* end confdefs.h. */
72410 #include <math.h>
72411 #ifdef HAVE_IEEEFP_H
72412 # include <ieeefp.h>
72413 #endif
72414 #undef acosl
72417 main ()
72420 void (*f)(void) = (void (*)(void))acosl;
72423 return 0;
72425 _ACEOF
72426 if ac_fn_c_try_compile "$LINENO"; then :
72427 glibcxx_cv_func_acosl_use=yes
72429 else
72430 glibcxx_cv_func_acosl_use=no
72432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_acosl_use" >&5
72435 $as_echo "$glibcxx_cv_func_acosl_use" >&6; }
72436 if test "x$glibcxx_cv_func_acosl_use" = xyes; then
72437 cat >>confdefs.h <<_ACEOF
72438 #define HAVE_ACOSL 1
72439 _ACEOF
72445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinl declaration" >&5
72446 $as_echo_n "checking for asinl declaration... " >&6; }
72447 if ${glibcxx_cv_func_asinl_use+:} false; then :
72448 $as_echo_n "(cached) " >&6
72449 else
72452 ac_ext=c
72453 ac_cpp='$CPP $CPPFLAGS'
72454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72459 /* end confdefs.h. */
72461 #include <math.h>
72462 #ifdef HAVE_IEEEFP_H
72463 # include <ieeefp.h>
72464 #endif
72465 #undef asinl
72468 main ()
72471 void (*f)(void) = (void (*)(void))asinl;
72474 return 0;
72476 _ACEOF
72477 if ac_fn_c_try_compile "$LINENO"; then :
72478 glibcxx_cv_func_asinl_use=yes
72480 else
72481 glibcxx_cv_func_asinl_use=no
72483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_asinl_use" >&5
72486 $as_echo "$glibcxx_cv_func_asinl_use" >&6; }
72487 if test "x$glibcxx_cv_func_asinl_use" = xyes; then
72488 cat >>confdefs.h <<_ACEOF
72489 #define HAVE_ASINL 1
72490 _ACEOF
72496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
72497 $as_echo_n "checking for atan2l declaration... " >&6; }
72498 if ${glibcxx_cv_func_atan2l_use+:} false; then :
72499 $as_echo_n "(cached) " >&6
72500 else
72503 ac_ext=c
72504 ac_cpp='$CPP $CPPFLAGS'
72505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72510 /* end confdefs.h. */
72512 #include <math.h>
72513 #ifdef HAVE_IEEEFP_H
72514 # include <ieeefp.h>
72515 #endif
72516 #undef atan2l
72519 main ()
72522 void (*f)(void) = (void (*)(void))atan2l;
72525 return 0;
72527 _ACEOF
72528 if ac_fn_c_try_compile "$LINENO"; then :
72529 glibcxx_cv_func_atan2l_use=yes
72531 else
72532 glibcxx_cv_func_atan2l_use=no
72534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
72537 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
72538 if test "x$glibcxx_cv_func_atan2l_use" = xyes; then
72539 cat >>confdefs.h <<_ACEOF
72540 #define HAVE_ATAN2L 1
72541 _ACEOF
72547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanl declaration" >&5
72548 $as_echo_n "checking for atanl declaration... " >&6; }
72549 if ${glibcxx_cv_func_atanl_use+:} false; then :
72550 $as_echo_n "(cached) " >&6
72551 else
72554 ac_ext=c
72555 ac_cpp='$CPP $CPPFLAGS'
72556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72561 /* end confdefs.h. */
72563 #include <math.h>
72564 #ifdef HAVE_IEEEFP_H
72565 # include <ieeefp.h>
72566 #endif
72567 #undef atanl
72570 main ()
72573 void (*f)(void) = (void (*)(void))atanl;
72576 return 0;
72578 _ACEOF
72579 if ac_fn_c_try_compile "$LINENO"; then :
72580 glibcxx_cv_func_atanl_use=yes
72582 else
72583 glibcxx_cv_func_atanl_use=no
72585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atanl_use" >&5
72588 $as_echo "$glibcxx_cv_func_atanl_use" >&6; }
72589 if test "x$glibcxx_cv_func_atanl_use" = xyes; then
72590 cat >>confdefs.h <<_ACEOF
72591 #define HAVE_ATANL 1
72592 _ACEOF
72598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceill declaration" >&5
72599 $as_echo_n "checking for ceill declaration... " >&6; }
72600 if ${glibcxx_cv_func_ceill_use+:} false; then :
72601 $as_echo_n "(cached) " >&6
72602 else
72605 ac_ext=c
72606 ac_cpp='$CPP $CPPFLAGS'
72607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72612 /* end confdefs.h. */
72614 #include <math.h>
72615 #ifdef HAVE_IEEEFP_H
72616 # include <ieeefp.h>
72617 #endif
72618 #undef ceill
72621 main ()
72624 void (*f)(void) = (void (*)(void))ceill;
72627 return 0;
72629 _ACEOF
72630 if ac_fn_c_try_compile "$LINENO"; then :
72631 glibcxx_cv_func_ceill_use=yes
72633 else
72634 glibcxx_cv_func_ceill_use=no
72636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ceill_use" >&5
72639 $as_echo "$glibcxx_cv_func_ceill_use" >&6; }
72640 if test "x$glibcxx_cv_func_ceill_use" = xyes; then
72641 cat >>confdefs.h <<_ACEOF
72642 #define HAVE_CEILL 1
72643 _ACEOF
72649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosl declaration" >&5
72650 $as_echo_n "checking for cosl declaration... " >&6; }
72651 if ${glibcxx_cv_func_cosl_use+:} false; then :
72652 $as_echo_n "(cached) " >&6
72653 else
72656 ac_ext=c
72657 ac_cpp='$CPP $CPPFLAGS'
72658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72663 /* end confdefs.h. */
72665 #include <math.h>
72666 #ifdef HAVE_IEEEFP_H
72667 # include <ieeefp.h>
72668 #endif
72669 #undef cosl
72672 main ()
72675 void (*f)(void) = (void (*)(void))cosl;
72678 return 0;
72680 _ACEOF
72681 if ac_fn_c_try_compile "$LINENO"; then :
72682 glibcxx_cv_func_cosl_use=yes
72684 else
72685 glibcxx_cv_func_cosl_use=no
72687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_cosl_use" >&5
72690 $as_echo "$glibcxx_cv_func_cosl_use" >&6; }
72691 if test "x$glibcxx_cv_func_cosl_use" = xyes; then
72692 cat >>confdefs.h <<_ACEOF
72693 #define HAVE_COSL 1
72694 _ACEOF
72700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshl declaration" >&5
72701 $as_echo_n "checking for coshl declaration... " >&6; }
72702 if ${glibcxx_cv_func_coshl_use+:} false; then :
72703 $as_echo_n "(cached) " >&6
72704 else
72707 ac_ext=c
72708 ac_cpp='$CPP $CPPFLAGS'
72709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72714 /* end confdefs.h. */
72716 #include <math.h>
72717 #ifdef HAVE_IEEEFP_H
72718 # include <ieeefp.h>
72719 #endif
72720 #undef coshl
72723 main ()
72726 void (*f)(void) = (void (*)(void))coshl;
72729 return 0;
72731 _ACEOF
72732 if ac_fn_c_try_compile "$LINENO"; then :
72733 glibcxx_cv_func_coshl_use=yes
72735 else
72736 glibcxx_cv_func_coshl_use=no
72738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_coshl_use" >&5
72741 $as_echo "$glibcxx_cv_func_coshl_use" >&6; }
72742 if test "x$glibcxx_cv_func_coshl_use" = xyes; then
72743 cat >>confdefs.h <<_ACEOF
72744 #define HAVE_COSHL 1
72745 _ACEOF
72751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
72752 $as_echo_n "checking for expl declaration... " >&6; }
72753 if ${glibcxx_cv_func_expl_use+:} false; then :
72754 $as_echo_n "(cached) " >&6
72755 else
72758 ac_ext=c
72759 ac_cpp='$CPP $CPPFLAGS'
72760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72765 /* end confdefs.h. */
72767 #include <math.h>
72768 #ifdef HAVE_IEEEFP_H
72769 # include <ieeefp.h>
72770 #endif
72771 #undef expl
72774 main ()
72777 void (*f)(void) = (void (*)(void))expl;
72780 return 0;
72782 _ACEOF
72783 if ac_fn_c_try_compile "$LINENO"; then :
72784 glibcxx_cv_func_expl_use=yes
72786 else
72787 glibcxx_cv_func_expl_use=no
72789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
72792 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
72793 if test "x$glibcxx_cv_func_expl_use" = xyes; then
72794 cat >>confdefs.h <<_ACEOF
72795 #define HAVE_EXPL 1
72796 _ACEOF
72802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
72803 $as_echo_n "checking for fabsl declaration... " >&6; }
72804 if ${glibcxx_cv_func_fabsl_use+:} false; then :
72805 $as_echo_n "(cached) " >&6
72806 else
72809 ac_ext=c
72810 ac_cpp='$CPP $CPPFLAGS'
72811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72816 /* end confdefs.h. */
72818 #include <math.h>
72819 #ifdef HAVE_IEEEFP_H
72820 # include <ieeefp.h>
72821 #endif
72822 #undef fabsl
72825 main ()
72828 void (*f)(void) = (void (*)(void))fabsl;
72831 return 0;
72833 _ACEOF
72834 if ac_fn_c_try_compile "$LINENO"; then :
72835 glibcxx_cv_func_fabsl_use=yes
72837 else
72838 glibcxx_cv_func_fabsl_use=no
72840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
72843 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
72844 if test "x$glibcxx_cv_func_fabsl_use" = xyes; then
72845 cat >>confdefs.h <<_ACEOF
72846 #define HAVE_FABSL 1
72847 _ACEOF
72853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorl declaration" >&5
72854 $as_echo_n "checking for floorl declaration... " >&6; }
72855 if ${glibcxx_cv_func_floorl_use+:} false; then :
72856 $as_echo_n "(cached) " >&6
72857 else
72860 ac_ext=c
72861 ac_cpp='$CPP $CPPFLAGS'
72862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72867 /* end confdefs.h. */
72869 #include <math.h>
72870 #ifdef HAVE_IEEEFP_H
72871 # include <ieeefp.h>
72872 #endif
72873 #undef floorl
72876 main ()
72879 void (*f)(void) = (void (*)(void))floorl;
72882 return 0;
72884 _ACEOF
72885 if ac_fn_c_try_compile "$LINENO"; then :
72886 glibcxx_cv_func_floorl_use=yes
72888 else
72889 glibcxx_cv_func_floorl_use=no
72891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_floorl_use" >&5
72894 $as_echo "$glibcxx_cv_func_floorl_use" >&6; }
72895 if test "x$glibcxx_cv_func_floorl_use" = xyes; then
72896 cat >>confdefs.h <<_ACEOF
72897 #define HAVE_FLOORL 1
72898 _ACEOF
72904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
72905 $as_echo_n "checking for fmodl declaration... " >&6; }
72906 if ${glibcxx_cv_func_fmodl_use+:} false; then :
72907 $as_echo_n "(cached) " >&6
72908 else
72911 ac_ext=c
72912 ac_cpp='$CPP $CPPFLAGS'
72913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72918 /* end confdefs.h. */
72920 #include <math.h>
72921 #ifdef HAVE_IEEEFP_H
72922 # include <ieeefp.h>
72923 #endif
72924 #undef fmodl
72927 main ()
72930 void (*f)(void) = (void (*)(void))fmodl;
72933 return 0;
72935 _ACEOF
72936 if ac_fn_c_try_compile "$LINENO"; then :
72937 glibcxx_cv_func_fmodl_use=yes
72939 else
72940 glibcxx_cv_func_fmodl_use=no
72942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
72945 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
72946 if test "x$glibcxx_cv_func_fmodl_use" = xyes; then
72947 cat >>confdefs.h <<_ACEOF
72948 #define HAVE_FMODL 1
72949 _ACEOF
72955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
72956 $as_echo_n "checking for frexpl declaration... " >&6; }
72957 if ${glibcxx_cv_func_frexpl_use+:} false; then :
72958 $as_echo_n "(cached) " >&6
72959 else
72962 ac_ext=c
72963 ac_cpp='$CPP $CPPFLAGS'
72964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72969 /* end confdefs.h. */
72971 #include <math.h>
72972 #ifdef HAVE_IEEEFP_H
72973 # include <ieeefp.h>
72974 #endif
72975 #undef frexpl
72978 main ()
72981 void (*f)(void) = (void (*)(void))frexpl;
72984 return 0;
72986 _ACEOF
72987 if ac_fn_c_try_compile "$LINENO"; then :
72988 glibcxx_cv_func_frexpl_use=yes
72990 else
72991 glibcxx_cv_func_frexpl_use=no
72993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
72996 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
72997 if test "x$glibcxx_cv_func_frexpl_use" = xyes; then
72998 cat >>confdefs.h <<_ACEOF
72999 #define HAVE_FREXPL 1
73000 _ACEOF
73006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
73007 $as_echo_n "checking for ldexpl declaration... " >&6; }
73008 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
73009 $as_echo_n "(cached) " >&6
73010 else
73013 ac_ext=c
73014 ac_cpp='$CPP $CPPFLAGS'
73015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73020 /* end confdefs.h. */
73022 #include <math.h>
73023 #ifdef HAVE_IEEEFP_H
73024 # include <ieeefp.h>
73025 #endif
73026 #undef ldexpl
73029 main ()
73032 void (*f)(void) = (void (*)(void))ldexpl;
73035 return 0;
73037 _ACEOF
73038 if ac_fn_c_try_compile "$LINENO"; then :
73039 glibcxx_cv_func_ldexpl_use=yes
73041 else
73042 glibcxx_cv_func_ldexpl_use=no
73044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
73047 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
73048 if test "x$glibcxx_cv_func_ldexpl_use" = xyes; then
73049 cat >>confdefs.h <<_ACEOF
73050 #define HAVE_LDEXPL 1
73051 _ACEOF
73057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
73058 $as_echo_n "checking for log10l declaration... " >&6; }
73059 if ${glibcxx_cv_func_log10l_use+:} false; then :
73060 $as_echo_n "(cached) " >&6
73061 else
73064 ac_ext=c
73065 ac_cpp='$CPP $CPPFLAGS'
73066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73071 /* end confdefs.h. */
73073 #include <math.h>
73074 #ifdef HAVE_IEEEFP_H
73075 # include <ieeefp.h>
73076 #endif
73077 #undef log10l
73080 main ()
73083 void (*f)(void) = (void (*)(void))log10l;
73086 return 0;
73088 _ACEOF
73089 if ac_fn_c_try_compile "$LINENO"; then :
73090 glibcxx_cv_func_log10l_use=yes
73092 else
73093 glibcxx_cv_func_log10l_use=no
73095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
73098 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
73099 if test "x$glibcxx_cv_func_log10l_use" = xyes; then
73100 cat >>confdefs.h <<_ACEOF
73101 #define HAVE_LOG10L 1
73102 _ACEOF
73108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
73109 $as_echo_n "checking for logl declaration... " >&6; }
73110 if ${glibcxx_cv_func_logl_use+:} false; then :
73111 $as_echo_n "(cached) " >&6
73112 else
73115 ac_ext=c
73116 ac_cpp='$CPP $CPPFLAGS'
73117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73122 /* end confdefs.h. */
73124 #include <math.h>
73125 #ifdef HAVE_IEEEFP_H
73126 # include <ieeefp.h>
73127 #endif
73128 #undef logl
73131 main ()
73134 void (*f)(void) = (void (*)(void))logl;
73137 return 0;
73139 _ACEOF
73140 if ac_fn_c_try_compile "$LINENO"; then :
73141 glibcxx_cv_func_logl_use=yes
73143 else
73144 glibcxx_cv_func_logl_use=no
73146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
73149 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
73150 if test "x$glibcxx_cv_func_logl_use" = xyes; then
73151 cat >>confdefs.h <<_ACEOF
73152 #define HAVE_LOGL 1
73153 _ACEOF
73159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
73160 $as_echo_n "checking for modfl declaration... " >&6; }
73161 if ${glibcxx_cv_func_modfl_use+:} false; then :
73162 $as_echo_n "(cached) " >&6
73163 else
73166 ac_ext=c
73167 ac_cpp='$CPP $CPPFLAGS'
73168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73173 /* end confdefs.h. */
73175 #include <math.h>
73176 #ifdef HAVE_IEEEFP_H
73177 # include <ieeefp.h>
73178 #endif
73179 #undef modfl
73182 main ()
73185 void (*f)(void) = (void (*)(void))modfl;
73188 return 0;
73190 _ACEOF
73191 if ac_fn_c_try_compile "$LINENO"; then :
73192 glibcxx_cv_func_modfl_use=yes
73194 else
73195 glibcxx_cv_func_modfl_use=no
73197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
73200 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
73201 if test "x$glibcxx_cv_func_modfl_use" = xyes; then
73202 cat >>confdefs.h <<_ACEOF
73203 #define HAVE_MODFL 1
73204 _ACEOF
73210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
73211 $as_echo_n "checking for powl declaration... " >&6; }
73212 if ${glibcxx_cv_func_powl_use+:} false; then :
73213 $as_echo_n "(cached) " >&6
73214 else
73217 ac_ext=c
73218 ac_cpp='$CPP $CPPFLAGS'
73219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73224 /* end confdefs.h. */
73226 #include <math.h>
73227 #ifdef HAVE_IEEEFP_H
73228 # include <ieeefp.h>
73229 #endif
73230 #undef powl
73233 main ()
73236 void (*f)(void) = (void (*)(void))powl;
73239 return 0;
73241 _ACEOF
73242 if ac_fn_c_try_compile "$LINENO"; then :
73243 glibcxx_cv_func_powl_use=yes
73245 else
73246 glibcxx_cv_func_powl_use=no
73248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
73251 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
73252 if test "x$glibcxx_cv_func_powl_use" = xyes; then
73253 cat >>confdefs.h <<_ACEOF
73254 #define HAVE_POWL 1
73255 _ACEOF
73261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinl declaration" >&5
73262 $as_echo_n "checking for sinl declaration... " >&6; }
73263 if ${glibcxx_cv_func_sinl_use+:} false; then :
73264 $as_echo_n "(cached) " >&6
73265 else
73268 ac_ext=c
73269 ac_cpp='$CPP $CPPFLAGS'
73270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73275 /* end confdefs.h. */
73277 #include <math.h>
73278 #ifdef HAVE_IEEEFP_H
73279 # include <ieeefp.h>
73280 #endif
73281 #undef sinl
73284 main ()
73287 void (*f)(void) = (void (*)(void))sinl;
73290 return 0;
73292 _ACEOF
73293 if ac_fn_c_try_compile "$LINENO"; then :
73294 glibcxx_cv_func_sinl_use=yes
73296 else
73297 glibcxx_cv_func_sinl_use=no
73299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sinl_use" >&5
73302 $as_echo "$glibcxx_cv_func_sinl_use" >&6; }
73303 if test "x$glibcxx_cv_func_sinl_use" = xyes; then
73304 cat >>confdefs.h <<_ACEOF
73305 #define HAVE_SINL 1
73306 _ACEOF
73312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhl declaration" >&5
73313 $as_echo_n "checking for sinhl declaration... " >&6; }
73314 if ${glibcxx_cv_func_sinhl_use+:} false; then :
73315 $as_echo_n "(cached) " >&6
73316 else
73319 ac_ext=c
73320 ac_cpp='$CPP $CPPFLAGS'
73321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73326 /* end confdefs.h. */
73328 #include <math.h>
73329 #ifdef HAVE_IEEEFP_H
73330 # include <ieeefp.h>
73331 #endif
73332 #undef sinhl
73335 main ()
73338 void (*f)(void) = (void (*)(void))sinhl;
73341 return 0;
73343 _ACEOF
73344 if ac_fn_c_try_compile "$LINENO"; then :
73345 glibcxx_cv_func_sinhl_use=yes
73347 else
73348 glibcxx_cv_func_sinhl_use=no
73350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sinhl_use" >&5
73353 $as_echo "$glibcxx_cv_func_sinhl_use" >&6; }
73354 if test "x$glibcxx_cv_func_sinhl_use" = xyes; then
73355 cat >>confdefs.h <<_ACEOF
73356 #define HAVE_SINHL 1
73357 _ACEOF
73363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
73364 $as_echo_n "checking for sqrtl declaration... " >&6; }
73365 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
73366 $as_echo_n "(cached) " >&6
73367 else
73370 ac_ext=c
73371 ac_cpp='$CPP $CPPFLAGS'
73372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73377 /* end confdefs.h. */
73379 #include <math.h>
73380 #ifdef HAVE_IEEEFP_H
73381 # include <ieeefp.h>
73382 #endif
73383 #undef sqrtl
73386 main ()
73389 void (*f)(void) = (void (*)(void))sqrtl;
73392 return 0;
73394 _ACEOF
73395 if ac_fn_c_try_compile "$LINENO"; then :
73396 glibcxx_cv_func_sqrtl_use=yes
73398 else
73399 glibcxx_cv_func_sqrtl_use=no
73401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
73404 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
73405 if test "x$glibcxx_cv_func_sqrtl_use" = xyes; then
73406 cat >>confdefs.h <<_ACEOF
73407 #define HAVE_SQRTL 1
73408 _ACEOF
73414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanl declaration" >&5
73415 $as_echo_n "checking for tanl declaration... " >&6; }
73416 if ${glibcxx_cv_func_tanl_use+:} false; then :
73417 $as_echo_n "(cached) " >&6
73418 else
73421 ac_ext=c
73422 ac_cpp='$CPP $CPPFLAGS'
73423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73428 /* end confdefs.h. */
73430 #include <math.h>
73431 #ifdef HAVE_IEEEFP_H
73432 # include <ieeefp.h>
73433 #endif
73434 #undef tanl
73437 main ()
73440 void (*f)(void) = (void (*)(void))tanl;
73443 return 0;
73445 _ACEOF
73446 if ac_fn_c_try_compile "$LINENO"; then :
73447 glibcxx_cv_func_tanl_use=yes
73449 else
73450 glibcxx_cv_func_tanl_use=no
73452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_tanl_use" >&5
73455 $as_echo "$glibcxx_cv_func_tanl_use" >&6; }
73456 if test "x$glibcxx_cv_func_tanl_use" = xyes; then
73457 cat >>confdefs.h <<_ACEOF
73458 #define HAVE_TANL 1
73459 _ACEOF
73465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhl declaration" >&5
73466 $as_echo_n "checking for tanhl declaration... " >&6; }
73467 if ${glibcxx_cv_func_tanhl_use+:} false; then :
73468 $as_echo_n "(cached) " >&6
73469 else
73472 ac_ext=c
73473 ac_cpp='$CPP $CPPFLAGS'
73474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73479 /* end confdefs.h. */
73481 #include <math.h>
73482 #ifdef HAVE_IEEEFP_H
73483 # include <ieeefp.h>
73484 #endif
73485 #undef tanhl
73488 main ()
73491 void (*f)(void) = (void (*)(void))tanhl;
73494 return 0;
73496 _ACEOF
73497 if ac_fn_c_try_compile "$LINENO"; then :
73498 glibcxx_cv_func_tanhl_use=yes
73500 else
73501 glibcxx_cv_func_tanhl_use=no
73503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_tanhl_use" >&5
73506 $as_echo "$glibcxx_cv_func_tanhl_use" >&6; }
73507 if test "x$glibcxx_cv_func_tanhl_use" = xyes; then
73508 cat >>confdefs.h <<_ACEOF
73509 #define HAVE_TANHL 1
73510 _ACEOF
73516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
73517 $as_echo_n "checking for hypotl declaration... " >&6; }
73518 if ${glibcxx_cv_func_hypotl_use+:} false; then :
73519 $as_echo_n "(cached) " >&6
73520 else
73523 ac_ext=c
73524 ac_cpp='$CPP $CPPFLAGS'
73525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73530 /* end confdefs.h. */
73532 #include <math.h>
73533 #ifdef HAVE_IEEEFP_H
73534 # include <ieeefp.h>
73535 #endif
73536 #undef hypotl
73539 main ()
73542 void (*f)(void) = (void (*)(void))hypotl;
73545 return 0;
73547 _ACEOF
73548 if ac_fn_c_try_compile "$LINENO"; then :
73549 glibcxx_cv_func_hypotl_use=yes
73551 else
73552 glibcxx_cv_func_hypotl_use=no
73554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
73557 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
73558 if test "x$glibcxx_cv_func_hypotl_use" = xyes; then
73559 cat >>confdefs.h <<_ACEOF
73560 #define HAVE_HYPOTL 1
73561 _ACEOF
73567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
73568 $as_echo_n "checking for ldexpf declaration... " >&6; }
73569 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
73570 $as_echo_n "(cached) " >&6
73571 else
73574 ac_ext=c
73575 ac_cpp='$CPP $CPPFLAGS'
73576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73581 /* end confdefs.h. */
73583 #include <math.h>
73584 #ifdef HAVE_IEEEFP_H
73585 # include <ieeefp.h>
73586 #endif
73587 #undef ldexpf
73590 main ()
73593 void (*f)(void) = (void (*)(void))ldexpf;
73596 return 0;
73598 _ACEOF
73599 if ac_fn_c_try_compile "$LINENO"; then :
73600 glibcxx_cv_func_ldexpf_use=yes
73602 else
73603 glibcxx_cv_func_ldexpf_use=no
73605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
73608 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
73609 if test "x$glibcxx_cv_func_ldexpf_use" = xyes; then
73610 cat >>confdefs.h <<_ACEOF
73611 #define HAVE_LDEXPF 1
73612 _ACEOF
73618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
73619 $as_echo_n "checking for modff declaration... " >&6; }
73620 if ${glibcxx_cv_func_modff_use+:} false; then :
73621 $as_echo_n "(cached) " >&6
73622 else
73625 ac_ext=c
73626 ac_cpp='$CPP $CPPFLAGS'
73627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73632 /* end confdefs.h. */
73634 #include <math.h>
73635 #ifdef HAVE_IEEEFP_H
73636 # include <ieeefp.h>
73637 #endif
73638 #undef modff
73641 main ()
73644 void (*f)(void) = (void (*)(void))modff;
73647 return 0;
73649 _ACEOF
73650 if ac_fn_c_try_compile "$LINENO"; then :
73651 glibcxx_cv_func_modff_use=yes
73653 else
73654 glibcxx_cv_func_modff_use=no
73656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
73659 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
73660 if test "x$glibcxx_cv_func_modff_use" = xyes; then
73661 cat >>confdefs.h <<_ACEOF
73662 #define HAVE_MODFF 1
73663 _ACEOF
73669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
73670 $as_echo_n "checking for hypotf declaration... " >&6; }
73671 if ${glibcxx_cv_func_hypotf_use+:} false; then :
73672 $as_echo_n "(cached) " >&6
73673 else
73676 ac_ext=c
73677 ac_cpp='$CPP $CPPFLAGS'
73678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73683 /* end confdefs.h. */
73685 #include <math.h>
73686 #ifdef HAVE_IEEEFP_H
73687 # include <ieeefp.h>
73688 #endif
73689 #undef hypotf
73692 main ()
73695 void (*f)(void) = (void (*)(void))hypotf;
73698 return 0;
73700 _ACEOF
73701 if ac_fn_c_try_compile "$LINENO"; then :
73702 glibcxx_cv_func_hypotf_use=yes
73704 else
73705 glibcxx_cv_func_hypotf_use=no
73707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
73710 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
73711 if test "x$glibcxx_cv_func_hypotf_use" = xyes; then
73712 cat >>confdefs.h <<_ACEOF
73713 #define HAVE_HYPOTF 1
73714 _ACEOF
73720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
73721 $as_echo_n "checking for frexpf declaration... " >&6; }
73722 if ${glibcxx_cv_func_frexpf_use+:} false; then :
73723 $as_echo_n "(cached) " >&6
73724 else
73727 ac_ext=c
73728 ac_cpp='$CPP $CPPFLAGS'
73729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73734 /* end confdefs.h. */
73736 #include <math.h>
73737 #ifdef HAVE_IEEEFP_H
73738 # include <ieeefp.h>
73739 #endif
73740 #undef frexpf
73743 main ()
73746 void (*f)(void) = (void (*)(void))frexpf;
73749 return 0;
73751 _ACEOF
73752 if ac_fn_c_try_compile "$LINENO"; then :
73753 glibcxx_cv_func_frexpf_use=yes
73755 else
73756 glibcxx_cv_func_frexpf_use=no
73758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
73761 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
73762 if test "x$glibcxx_cv_func_frexpf_use" = xyes; then
73763 cat >>confdefs.h <<_ACEOF
73764 #define HAVE_FREXPF 1
73765 _ACEOF
73773 as_fn_error $? "No support for this host/target combination." "$LINENO" 5
73775 esac
73779 # At some point, we should differentiate between architectures
73780 # like x86, which have long double versions, and alpha/powerpc/etc.,
73781 # which don't. For the time being, punt.
73782 if test x"long_double_math_on_this_cpu" = x"yes"; then
73783 $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
73785 $as_echo "#define HAVE_ASINL 1" >>confdefs.h
73787 $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
73789 $as_echo "#define HAVE_ATANL 1" >>confdefs.h
73791 $as_echo "#define HAVE_CEILL 1" >>confdefs.h
73793 $as_echo "#define HAVE_COSL 1" >>confdefs.h
73795 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
73797 $as_echo "#define HAVE_EXPL 1" >>confdefs.h
73799 $as_echo "#define HAVE_FABSL 1" >>confdefs.h
73801 $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
73803 $as_echo "#define HAVE_FMODL 1" >>confdefs.h
73805 $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
73807 $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
73809 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
73811 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
73813 $as_echo "#define HAVE_MODFL 1" >>confdefs.h
73815 $as_echo "#define HAVE_POWL 1" >>confdefs.h
73817 $as_echo "#define HAVE_SINCOSL 1" >>confdefs.h
73819 $as_echo "#define HAVE_SINL 1" >>confdefs.h
73821 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
73823 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
73825 $as_echo "#define HAVE_TANL 1" >>confdefs.h
73827 $as_echo "#define HAVE_TANHL 1" >>confdefs.h
73832 # Check for _Unwind_GetIPInfo.
73835 # Check whether --with-system-libunwind was given.
73836 if test "${with_system_libunwind+set}" = set; then :
73837 withval=$with_system_libunwind;
73840 # If system-libunwind was not specifically set, pick a default setting.
73841 if test x$with_system_libunwind = x; then
73842 case ${target} in
73843 ia64-*-hpux*) with_system_libunwind=yes ;;
73844 *) with_system_libunwind=no ;;
73845 esac
73847 # Based on system-libunwind and target, do we have ipinfo?
73848 if test x$with_system_libunwind = xyes; then
73849 case ${target} in
73850 ia64-*-*) have_unwind_getipinfo=no ;;
73851 *) have_unwind_getipinfo=yes ;;
73852 esac
73853 else
73854 # Darwin before version 9 does not have _Unwind_GetIPInfo.
73856 case ${target} in
73857 *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
73858 *) have_unwind_getipinfo=yes ;;
73859 esac
73863 if test x$have_unwind_getipinfo = xyes; then
73865 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
73870 # Check whether --enable-linux-futex was given.
73871 if test "${enable_linux_futex+set}" = set; then :
73872 enableval=$enable_linux_futex;
73873 case "$enableval" in
73874 yes|no|default) ;;
73875 *) as_fn_error $? "Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
73876 esac
73878 else
73879 enable_linux_futex=default
73883 case "$target" in
73884 *-linux* | *-uclinux*)
73885 case "$enable_linux_futex" in
73886 default)
73887 # If headers don't have gettid/futex syscalls definition, then
73888 # default to no, otherwise there will be compile time failures.
73889 # Otherwise, default to yes. If we don't detect we are
73890 # compiled/linked against NPTL and not cross-compiling, check
73891 # if programs are run by default against NPTL and if not, issue
73892 # a warning.
73893 enable_linux_futex=no
73894 if test x$gcc_no_link = xyes; then
73895 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
73897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73898 /* end confdefs.h. */
73899 #include <sys/syscall.h>
73900 #include <unistd.h>
73901 int lk;
73903 main ()
73905 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
73907 return 0;
73909 _ACEOF
73910 if ac_fn_c_try_link "$LINENO"; then :
73911 save_LIBS="$LIBS"
73912 LIBS="-lpthread $LIBS"
73913 if test x$gcc_no_link = xyes; then
73914 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
73916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73917 /* end confdefs.h. */
73918 #ifndef _GNU_SOURCE
73919 #define _GNU_SOURCE 1
73920 #endif
73921 #include <pthread.h>
73922 pthread_t th; void *status;
73924 main ()
73926 pthread_tryjoin_np (th, &status);
73928 return 0;
73930 _ACEOF
73931 if ac_fn_c_try_link "$LINENO"; then :
73932 enable_linux_futex=yes
73933 else
73934 if test x$cross_compiling = xno; then
73935 if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
73936 | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
73937 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
73938 If so, please configure with --disable-linux-futex" >&5
73939 $as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
73940 If so, please configure with --disable-linux-futex" >&2;}
73943 enable_linux_futex=yes
73945 rm -f core conftest.err conftest.$ac_objext \
73946 conftest$ac_exeext conftest.$ac_ext
73947 LIBS="$save_LIBS"
73949 rm -f core conftest.err conftest.$ac_objext \
73950 conftest$ac_exeext conftest.$ac_ext
73952 yes)
73953 if test x$gcc_no_link = xyes; then
73954 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
73956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73957 /* end confdefs.h. */
73958 #include <sys/syscall.h>
73959 #include <unistd.h>
73960 int lk;
73962 main ()
73964 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
73966 return 0;
73968 _ACEOF
73969 if ac_fn_c_try_link "$LINENO"; then :
73971 else
73972 as_fn_error $? "SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
73974 rm -f core conftest.err conftest.$ac_objext \
73975 conftest$ac_exeext conftest.$ac_ext
73977 esac
73980 enable_linux_futex=no
73982 esac
73983 if test x$enable_linux_futex = xyes; then
73985 $as_echo "#define HAVE_LINUX_FUTEX 1" >>confdefs.h
73992 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
73994 acx_cv_header_stdint=stddef.h
73995 acx_cv_header_stdint_kind="(already complete)"
73996 for i in stdint.h $inttype_headers; do
73997 unset ac_cv_type_uintptr_t
73998 unset ac_cv_type_uintmax_t
73999 unset ac_cv_type_int_least32_t
74000 unset ac_cv_type_int_fast32_t
74001 unset ac_cv_type_uint64_t
74002 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
74003 ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
74004 #include <$i>
74006 if test "x$ac_cv_type_uintmax_t" = xyes; then :
74007 acx_cv_header_stdint=$i
74008 else
74009 continue
74012 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
74013 #include <$i>
74015 if test "x$ac_cv_type_uintptr_t" = xyes; then :
74017 else
74018 acx_cv_header_stdint_kind="(mostly complete)"
74021 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
74022 #include <$i>
74024 if test "x$ac_cv_type_int_least32_t" = xyes; then :
74026 else
74027 acx_cv_header_stdint_kind="(mostly complete)"
74030 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
74031 #include <$i>
74033 if test "x$ac_cv_type_int_fast32_t" = xyes; then :
74035 else
74036 acx_cv_header_stdint_kind="(mostly complete)"
74039 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
74040 #include <$i>
74042 if test "x$ac_cv_type_uint64_t" = xyes; then :
74044 else
74045 acx_cv_header_stdint_kind="(lacks uint64_t)"
74048 break
74049 done
74050 if test "$acx_cv_header_stdint" = stddef.h; then
74051 acx_cv_header_stdint_kind="(lacks uintmax_t)"
74052 for i in stdint.h $inttype_headers; do
74053 unset ac_cv_type_uintptr_t
74054 unset ac_cv_type_uint32_t
74055 unset ac_cv_type_uint64_t
74056 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
74057 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
74058 #include <$i>
74060 if test "x$ac_cv_type_uint32_t" = xyes; then :
74061 acx_cv_header_stdint=$i
74062 else
74063 continue
74066 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
74067 #include <$i>
74069 if test "x$ac_cv_type_uint64_t" = xyes; then :
74073 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
74074 #include <$i>
74076 if test "x$ac_cv_type_uintptr_t" = xyes; then :
74080 break
74081 done
74083 if test "$acx_cv_header_stdint" = stddef.h; then
74084 acx_cv_header_stdint_kind="(u_intXX_t style)"
74085 for i in sys/types.h $inttype_headers; do
74086 unset ac_cv_type_u_int32_t
74087 unset ac_cv_type_u_int64_t
74088 $as_echo_n "looking for u_intXX_t types in $i, " >&6
74089 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
74090 #include <$i>
74092 if test "x$ac_cv_type_u_int32_t" = xyes; then :
74093 acx_cv_header_stdint=$i
74094 else
74095 continue
74098 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
74099 #include <$i>
74101 if test "x$ac_cv_type_u_int64_t" = xyes; then :
74105 break
74106 done
74108 if test "$acx_cv_header_stdint" = stddef.h; then
74109 acx_cv_header_stdint_kind="(using manual detection)"
74112 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
74113 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
74114 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
74115 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
74116 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
74118 # ----------------- Summarize what we found so far
74120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in include/gstdint.h" >&5
74121 $as_echo_n "checking what to include in include/gstdint.h... " >&6; }
74123 case `$as_basename -- include/gstdint.h ||
74124 $as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
74125 Xinclude/gstdint.h : 'X\(//\)$' \| \
74126 Xinclude/gstdint.h : 'X\(/\)' \| . 2>/dev/null ||
74127 $as_echo X/include/gstdint.h |
74128 sed '/^.*\/\([^/][^/]*\)\/*$/{
74129 s//\1/
74132 /^X\/\(\/\/\)$/{
74133 s//\1/
74136 /^X\/\(\/\).*/{
74137 s//\1/
74140 s/.*/./; q'` in
74141 stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
74142 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
74143 inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
74144 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
74145 *) ;;
74146 esac
74148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
74149 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
74151 # ----------------- done included file, check C basic types --------
74153 # Lacking an uintptr_t? Test size of void *
74154 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
74155 stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
74156 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
74157 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
74158 # This bug is HP SR number 8606223364.
74159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
74160 $as_echo_n "checking size of void *... " >&6; }
74161 if ${ac_cv_sizeof_void_p+:} false; then :
74162 $as_echo_n "(cached) " >&6
74163 else
74164 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
74166 else
74167 if test "$ac_cv_type_void_p" = yes; then
74168 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
74169 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
74170 as_fn_error 77 "cannot compute sizeof (void *)
74171 See \`config.log' for more details" "$LINENO" 5; }
74172 else
74173 ac_cv_sizeof_void_p=0
74178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
74179 $as_echo "$ac_cv_sizeof_void_p" >&6; }
74183 cat >>confdefs.h <<_ACEOF
74184 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
74185 _ACEOF
74188 esac
74190 # Lacking an uint64_t? Test size of long
74191 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
74192 stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
74193 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
74194 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
74195 # This bug is HP SR number 8606223364.
74196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
74197 $as_echo_n "checking size of long... " >&6; }
74198 if ${ac_cv_sizeof_long+:} false; then :
74199 $as_echo_n "(cached) " >&6
74200 else
74201 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
74203 else
74204 if test "$ac_cv_type_long" = yes; then
74205 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
74206 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
74207 as_fn_error 77 "cannot compute sizeof (long)
74208 See \`config.log' for more details" "$LINENO" 5; }
74209 else
74210 ac_cv_sizeof_long=0
74215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
74216 $as_echo "$ac_cv_sizeof_long" >&6; }
74220 cat >>confdefs.h <<_ACEOF
74221 #define SIZEOF_LONG $ac_cv_sizeof_long
74222 _ACEOF
74225 esac
74227 if test $acx_cv_header_stdint = stddef.h; then
74228 # Lacking a good header? Test size of everything and deduce all types.
74229 # The cast to long int works around a bug in the HP C Compiler
74230 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
74231 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
74232 # This bug is HP SR number 8606223364.
74233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
74234 $as_echo_n "checking size of int... " >&6; }
74235 if ${ac_cv_sizeof_int+:} false; then :
74236 $as_echo_n "(cached) " >&6
74237 else
74238 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
74240 else
74241 if test "$ac_cv_type_int" = yes; then
74242 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
74243 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
74244 as_fn_error 77 "cannot compute sizeof (int)
74245 See \`config.log' for more details" "$LINENO" 5; }
74246 else
74247 ac_cv_sizeof_int=0
74252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
74253 $as_echo "$ac_cv_sizeof_int" >&6; }
74257 cat >>confdefs.h <<_ACEOF
74258 #define SIZEOF_INT $ac_cv_sizeof_int
74259 _ACEOF
74262 # The cast to long int works around a bug in the HP C Compiler
74263 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
74264 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
74265 # This bug is HP SR number 8606223364.
74266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
74267 $as_echo_n "checking size of short... " >&6; }
74268 if ${ac_cv_sizeof_short+:} false; then :
74269 $as_echo_n "(cached) " >&6
74270 else
74271 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
74273 else
74274 if test "$ac_cv_type_short" = yes; then
74275 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
74276 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
74277 as_fn_error 77 "cannot compute sizeof (short)
74278 See \`config.log' for more details" "$LINENO" 5; }
74279 else
74280 ac_cv_sizeof_short=0
74285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
74286 $as_echo "$ac_cv_sizeof_short" >&6; }
74290 cat >>confdefs.h <<_ACEOF
74291 #define SIZEOF_SHORT $ac_cv_sizeof_short
74292 _ACEOF
74295 # The cast to long int works around a bug in the HP C Compiler
74296 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
74297 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
74298 # This bug is HP SR number 8606223364.
74299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
74300 $as_echo_n "checking size of char... " >&6; }
74301 if ${ac_cv_sizeof_char+:} false; then :
74302 $as_echo_n "(cached) " >&6
74303 else
74304 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
74306 else
74307 if test "$ac_cv_type_char" = yes; then
74308 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
74309 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
74310 as_fn_error 77 "cannot compute sizeof (char)
74311 See \`config.log' for more details" "$LINENO" 5; }
74312 else
74313 ac_cv_sizeof_char=0
74318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
74319 $as_echo "$ac_cv_sizeof_char" >&6; }
74323 cat >>confdefs.h <<_ACEOF
74324 #define SIZEOF_CHAR $ac_cv_sizeof_char
74325 _ACEOF
74329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
74330 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
74331 case "$ac_cv_sizeof_char" in
74332 1) acx_cv_type_int8_t=char ;;
74333 *) as_fn_error $? "no 8-bit type, please report a bug" "$LINENO" 5
74334 esac
74335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
74336 $as_echo "$acx_cv_type_int8_t" >&6; }
74338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
74339 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
74340 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
74341 2:*) acx_cv_type_int16_t=int ;;
74342 *:2) acx_cv_type_int16_t=short ;;
74343 *) as_fn_error $? "no 16-bit type, please report a bug" "$LINENO" 5
74344 esac
74345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
74346 $as_echo "$acx_cv_type_int16_t" >&6; }
74348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
74349 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
74350 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
74351 4:*) acx_cv_type_int32_t=int ;;
74352 *:4) acx_cv_type_int32_t=long ;;
74353 *) as_fn_error $? "no 32-bit type, please report a bug" "$LINENO" 5
74354 esac
74355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
74356 $as_echo "$acx_cv_type_int32_t" >&6; }
74359 # These tests are here to make the output prettier
74361 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
74362 case "$ac_cv_sizeof_long" in
74363 8) acx_cv_type_int64_t=long ;;
74364 esac
74365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
74366 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
74367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
74368 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
74371 # Now we can use the above types
74373 if test "$ac_cv_type_uintptr_t" != yes; then
74374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
74375 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
74376 case $ac_cv_sizeof_void_p in
74377 2) acx_cv_type_intptr_t=int16_t ;;
74378 4) acx_cv_type_intptr_t=int32_t ;;
74379 8) acx_cv_type_intptr_t=int64_t ;;
74380 *) as_fn_error $? "no equivalent for intptr_t, please report a bug" "$LINENO" 5
74381 esac
74382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
74383 $as_echo "$acx_cv_type_intptr_t" >&6; }
74386 # ----------------- done all checks, emit header -------------
74387 ac_config_commands="$ac_config_commands include/gstdint.h"
74393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU c++filt" >&5
74394 $as_echo_n "checking for GNU c++filt... " >&6; }
74395 if ${ac_cv_path_CXXFILT+:} false; then :
74396 $as_echo_n "(cached) " >&6
74397 else
74398 if test -z "$CXXFILT"; then
74399 ac_path_CXXFILT_found=false
74400 # Loop through the user's path and test for each of PROGNAME-LIST
74401 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
74402 for as_dir in $PATH
74404 IFS=$as_save_IFS
74405 test -z "$as_dir" && as_dir=.
74406 for ac_prog in c++filt gc++filt; do
74407 for ac_exec_ext in '' $ac_executable_extensions; do
74408 ac_path_CXXFILT="$as_dir/$ac_prog$ac_exec_ext"
74409 as_fn_executable_p "$ac_path_CXXFILT" || continue
74410 # Check for GNU $ac_path_CXXFILT
74411 case `"$ac_path_CXXFILT" --version 2>&1` in
74412 *GNU*)
74413 ac_cv_path_CXXFILT=$ac_path_CXXFILT && ac_path_CXXFILT_found=:;;
74414 esac
74416 $ac_path_CXXFILT_found && break 3
74417 done
74418 done
74419 done
74420 IFS=$as_save_IFS
74421 if test -z "$ac_cv_path_CXXFILT"; then
74424 else
74425 ac_cv_path_CXXFILT=$CXXFILT
74429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_CXXFILT" >&5
74430 $as_echo "$ac_cv_path_CXXFILT" >&6; }
74431 CXXFILT=$ac_cv_path_CXXFILT
74435 # Check whether --enable-symvers was given.
74436 if test "${enable_symvers+set}" = set; then :
74437 enableval=$enable_symvers;
74438 case "$enableval" in
74439 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export|sun) ;;
74440 *) as_fn_error $? "Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
74441 esac
74443 else
74444 enable_symvers=yes
74449 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
74450 # don't know enough about $LD to do tricks...
74452 # Sun style symbol versions needs GNU c++filt for make_sunver.pl to work
74453 # with extern "C++" in version scripts.
74456 # Turn a 'yes' into a suitable default.
74457 if test x$enable_symvers = xyes ; then
74458 if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
74459 enable_symvers=no
74460 else
74461 if test $with_gnu_ld = yes ; then
74462 case ${target_os} in
74463 hpux*)
74464 enable_symvers=no ;;
74466 enable_symvers=gnu ;;
74467 esac
74468 else
74469 case ${target_os} in
74470 darwin*)
74471 enable_symvers=darwin ;;
74472 # Sun symbol versioning exists since Solaris 2.5.
74473 solaris2.[5-9]* | solaris2.1[0-9]*)
74474 # make_sunver.pl needs GNU c++filt to support extern "C++" in
74475 # version scripts, so disable symbol versioning if none can be
74476 # found.
74477 if test -z "$ac_cv_path_CXXFILT"; then
74478 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
74479 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
74480 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === no GNU c++filt could be found." >&5
74481 $as_echo "$as_me: WARNING: === no GNU c++filt could be found." >&2;}
74482 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
74483 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
74484 enable_symvers=no
74485 else
74486 enable_symvers=sun
74490 enable_symvers=no ;;
74491 esac
74496 # Check to see if 'darwin' or 'darwin-export' can win.
74497 if test x$enable_symvers = xdarwin-export ; then
74498 enable_symvers=darwin
74501 # Check if 'sun' was requested on non-Solaris 2 platforms.
74502 if test x$enable_symvers = xsun ; then
74503 case ${target_os} in
74504 solaris2*)
74505 # All fine.
74508 # Unlikely to work.
74509 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
74510 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
74511 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not targetting Solaris 2." >&5
74512 $as_echo "$as_me: WARNING: === you are not targetting Solaris 2." >&2;}
74513 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
74514 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
74515 enable_symvers=no
74517 esac
74520 # Check to see if 'gnu' can win.
74521 if test $enable_symvers = gnu ||
74522 test $enable_symvers = gnu-versioned-namespace ||
74523 test $enable_symvers = sun; then
74524 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
74525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
74526 $as_echo_n "checking for shared libgcc... " >&6; }
74527 ac_save_CFLAGS="$CFLAGS"
74528 CFLAGS=' -lgcc_s'
74529 if test x$gcc_no_link = xyes; then
74530 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
74532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74533 /* end confdefs.h. */
74536 main ()
74538 return 0;
74540 return 0;
74542 _ACEOF
74543 if ac_fn_c_try_link "$LINENO"; then :
74544 glibcxx_shared_libgcc=yes
74545 else
74546 glibcxx_shared_libgcc=no
74548 rm -f core conftest.err conftest.$ac_objext \
74549 conftest$ac_exeext conftest.$ac_ext
74550 CFLAGS="$ac_save_CFLAGS"
74551 if test $glibcxx_shared_libgcc = no; then
74552 cat > conftest.c <<EOF
74553 int main (void) { return 0; }
74555 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
74556 -shared -shared-libgcc -o conftest.so \
74557 conftest.c -v 2>&1 >/dev/null \
74558 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
74559 rm -f conftest.c conftest.so
74560 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
74561 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
74562 if test x$gcc_no_link = xyes; then
74563 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
74565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74566 /* end confdefs.h. */
74569 main ()
74571 return 0;
74573 return 0;
74575 _ACEOF
74576 if ac_fn_c_try_link "$LINENO"; then :
74577 glibcxx_shared_libgcc=yes
74579 rm -f core conftest.err conftest.$ac_objext \
74580 conftest$ac_exeext conftest.$ac_ext
74581 CFLAGS="$ac_save_CFLAGS"
74584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_shared_libgcc" >&5
74585 $as_echo "$glibcxx_shared_libgcc" >&6; }
74587 # For GNU ld, we need at least this version. The format is described in
74588 # GLIBCXX_CHECK_LINKER_FEATURES above.
74589 glibcxx_min_gnu_ld_version=21400
74591 # If no shared libgcc, can't win.
74592 if test $glibcxx_shared_libgcc != yes; then
74593 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
74594 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
74595 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not building a shared libgcc_s." >&5
74596 $as_echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
74597 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
74598 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
74599 enable_symvers=no
74600 elif test $with_gnu_ld != yes && test $enable_symvers = sun; then
74601 : All interesting versions of Sun ld support sun style symbol versioning.
74602 elif test $with_gnu_ld != yes ; then
74603 # just fail for now
74604 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
74605 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
74606 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not using the GNU linker." >&5
74607 $as_echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
74608 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
74609 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
74610 enable_symvers=no
74611 elif test $glibcxx_ld_is_gold = yes ; then
74612 : All versions of gold support symbol versioning.
74613 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
74614 # The right tools, the right setup, but too old. Fallbacks?
74615 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
74616 $as_echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
74617 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
74618 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
74619 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
74620 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
74621 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
74622 $as_echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
74623 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
74624 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
74625 enable_symvers=no
74629 # For libtool versioning info, format is CURRENT:REVISION:AGE
74630 libtool_VERSION=6:29:0
74632 # Everything parsed; figure out what files and settings to use.
74633 case $enable_symvers in
74635 SYMVER_FILE=config/abi/pre/none.ver
74637 gnu)
74638 SYMVER_FILE=config/abi/pre/gnu.ver
74640 $as_echo "#define _GLIBCXX_SYMVER_GNU 1" >>confdefs.h
74643 gnu-versioned-namespace)
74644 libtool_VERSION=8:0:0
74645 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
74647 $as_echo "#define _GLIBCXX_SYMVER_GNU_NAMESPACE 1" >>confdefs.h
74650 darwin)
74651 SYMVER_FILE=config/abi/pre/gnu.ver
74653 $as_echo "#define _GLIBCXX_SYMVER_DARWIN 1" >>confdefs.h
74656 sun)
74657 SYMVER_FILE=config/abi/pre/gnu.ver
74659 $as_echo "#define _GLIBCXX_SYMVER_SUN 1" >>confdefs.h
74662 esac
74664 if test x$enable_symvers != xno ; then
74666 $as_echo "#define _GLIBCXX_SYMVER 1" >>confdefs.h
74670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
74671 $as_echo_n "checking whether the target supports .symver directive... " >&6; }
74672 if ${glibcxx_cv_have_as_symver_directive+:} false; then :
74673 $as_echo_n "(cached) " >&6
74674 else
74676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74677 /* end confdefs.h. */
74678 void foo (void); __asm (".symver foo, bar@SYMVER");
74680 main ()
74684 return 0;
74686 _ACEOF
74687 if ac_fn_c_try_compile "$LINENO"; then :
74688 glibcxx_cv_have_as_symver_directive=yes
74689 else
74690 glibcxx_cv_have_as_symver_directive=no
74692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_as_symver_directive" >&5
74695 $as_echo "$glibcxx_cv_have_as_symver_directive" >&6; }
74696 if test $glibcxx_cv_have_as_symver_directive = yes; then
74698 $as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
74709 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
74710 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
74712 if test $enable_symvers != no ; then
74713 case ${target_os} in
74714 # The Solaris 2 runtime linker doesn't support the GNU extension of
74715 # binding the same symbol to different versions
74716 solaris2*)
74718 # Other platforms with GNU symbol versioning (GNU/Linux, more?) do.
74721 $as_echo "#define HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT 1" >>confdefs.h
74724 esac
74727 # Now, set up compatibility support, if any.
74728 # In addition, need this to deal with std::size_t mangling in
74729 # src/compatibility.cc. In a perfect world, could use
74730 # typeid(std::size_t).name()[0] to do direct substitution.
74731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t as unsigned int" >&5
74732 $as_echo_n "checking for size_t as unsigned int... " >&6; }
74733 ac_save_CFLAGS="$CFLAGS"
74734 CFLAGS="-Werror"
74735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74736 /* end confdefs.h. */
74739 main ()
74741 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
74743 return 0;
74745 _ACEOF
74746 if ac_fn_c_try_compile "$LINENO"; then :
74747 glibcxx_size_t_is_i=yes
74748 else
74749 glibcxx_size_t_is_i=no
74751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74752 CFLAGS=$ac_save_CFLAGS
74753 if test "$glibcxx_size_t_is_i" = yes; then
74755 $as_echo "#define _GLIBCXX_SIZE_T_IS_UINT 1" >>confdefs.h
74758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_size_t_is_i" >&5
74759 $as_echo "$glibcxx_size_t_is_i" >&6; }
74761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t as int" >&5
74762 $as_echo_n "checking for ptrdiff_t as int... " >&6; }
74763 ac_save_CFLAGS="$CFLAGS"
74764 CFLAGS="-Werror"
74765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74766 /* end confdefs.h. */
74769 main ()
74771 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
74773 return 0;
74775 _ACEOF
74776 if ac_fn_c_try_compile "$LINENO"; then :
74777 glibcxx_ptrdiff_t_is_i=yes
74778 else
74779 glibcxx_ptrdiff_t_is_i=no
74781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74782 CFLAGS=$ac_save_CFLAGS
74783 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
74785 $as_echo "#define _GLIBCXX_PTRDIFF_T_IS_INT 1" >>confdefs.h
74788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_ptrdiff_t_is_i" >&5
74789 $as_echo "$glibcxx_ptrdiff_t_is_i" >&6; }
74794 # Check whether --enable-libstdcxx-visibility was given.
74795 if test "${enable_libstdcxx_visibility+set}" = set; then :
74796 enableval=$enable_libstdcxx_visibility;
74797 case "$enableval" in
74798 yes|no) ;;
74799 *) as_fn_error $? "Argument to enable/disable libstdcxx-visibility must be yes or no" "$LINENO" 5 ;;
74800 esac
74802 else
74803 enable_libstdcxx_visibility=yes
74808 if test x$enable_libstdcxx_visibility = xyes ; then
74809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
74810 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
74811 if ${glibcxx_cv_have_attribute_visibility+:} false; then :
74812 $as_echo_n "(cached) " >&6
74813 else
74815 save_CFLAGS="$CFLAGS"
74816 CFLAGS="$CFLAGS -Werror"
74817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74818 /* end confdefs.h. */
74819 void __attribute__((visibility("hidden"))) foo(void) { }
74821 main ()
74825 return 0;
74827 _ACEOF
74828 if ac_fn_c_try_compile "$LINENO"; then :
74829 glibcxx_cv_have_attribute_visibility=yes
74830 else
74831 glibcxx_cv_have_attribute_visibility=no
74833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74834 CFLAGS="$save_CFLAGS"
74836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_attribute_visibility" >&5
74837 $as_echo "$glibcxx_cv_have_attribute_visibility" >&6; }
74838 if test $glibcxx_cv_have_attribute_visibility = no; then
74839 enable_libstdcxx_visibility=no
74844 { $as_echo "$as_me:${as_lineno-$LINENO}: visibility supported: $enable_libstdcxx_visibility" >&5
74845 $as_echo "$as_me: visibility supported: $enable_libstdcxx_visibility" >&6;}
74849 # Check whether --enable-libstdcxx-dual-abi was given.
74850 if test "${enable_libstdcxx_dual_abi+set}" = set; then :
74851 enableval=$enable_libstdcxx_dual_abi;
74852 case "$enableval" in
74853 yes|no) ;;
74854 *) as_fn_error $? "Argument to enable/disable libstdcxx-dual-abi must be yes or no" "$LINENO" 5 ;;
74855 esac
74857 else
74858 enable_libstdcxx_dual_abi=yes
74862 if test x$enable_symvers = xgnu-versioned-namespace; then
74863 # gnu-versioned-namespace is incompatible with the dual ABI.
74864 enable_libstdcxx_dual_abi="no"
74866 if test x"$enable_libstdcxx_dual_abi" != xyes; then
74867 { $as_echo "$as_me:${as_lineno-$LINENO}: dual ABI is disabled" >&5
74868 $as_echo "$as_me: dual ABI is disabled" >&6;}
74869 default_libstdcxx_abi="gcc4-compatible"
74874 if test x$enable_libstdcxx_dual_abi = xyes; then
74875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default std::string ABI to use" >&5
74876 $as_echo_n "checking for default std::string ABI to use... " >&6; }
74878 # Check whether --with-default-libstdcxx-abi was given.
74879 if test "${with_default_libstdcxx_abi+set}" = set; then :
74880 withval=$with_default_libstdcxx_abi; case "$withval" in
74881 gcc4-compatible) default_libstdcxx_abi="gcc4-compatible" ;;
74882 new|cxx11) default_libstdcxx_abi="new" ;;
74883 c++*|gnu++*) as_fn_error $? "Supported arguments for --with-default-libstdcxx-abi have changed, use \"new\" or \"gcc4-compatible\"" "$LINENO" 5 ;;
74884 *) as_fn_error $? "Invalid argument for --with-default-libstdcxx-abi" "$LINENO" 5 ;;
74885 esac
74887 else
74888 default_libstdcxx_abi="new"
74891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${default_libstdcxx_abi}" >&5
74892 $as_echo "${default_libstdcxx_abi}" >&6; }
74894 if test $default_libstdcxx_abi = "new"; then
74895 glibcxx_cxx11_abi=1
74896 glibcxx_cxx98_abi=0
74897 else
74898 glibcxx_cxx11_abi=0
74899 glibcxx_cxx98_abi=1
74905 ac_ldbl_compat=no
74906 ac_ldbl_alt128_compat=no
74907 ac_ldbl_ieee128_default=no
74908 LONG_DOUBLE_COMPAT_FLAGS="-mlong-double-64"
74909 LONG_DOUBLE_128_FLAGS=
74910 LONG_DOUBLE_ALT128_COMPAT_FLAGS=
74911 case "$target" in
74912 powerpc*-*-linux* | \
74913 sparc*-*-linux* | \
74914 s390*-*-linux* | \
74915 alpha*-*-linux*)
74916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74917 /* end confdefs.h. */
74920 main ()
74923 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
74924 #error no need for long double compatibility
74925 #endif
74928 return 0;
74930 _ACEOF
74931 if ac_fn_c_try_compile "$LINENO"; then :
74932 ac_ldbl_compat=yes
74933 else
74934 ac_ldbl_compat=no
74936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74937 if test "$ac_ldbl_compat" = yes; then
74939 $as_echo "#define _GLIBCXX_LONG_DOUBLE_COMPAT 1" >>confdefs.h
74941 port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
74942 case "$target" in
74943 powerpc*-*-linux*)
74944 LONG_DOUBLE_COMPAT_FLAGS="$LONG_DOUBLE_COMPAT_FLAGS -mno-gnu-attribute"
74945 # Check for IEEE128 support in libm:
74946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __frexpieee128 in -lm" >&5
74947 $as_echo_n "checking for __frexpieee128 in -lm... " >&6; }
74948 if ${ac_cv_lib_m___frexpieee128+:} false; then :
74949 $as_echo_n "(cached) " >&6
74950 else
74951 ac_check_lib_save_LIBS=$LIBS
74952 LIBS="-lm $LIBS"
74953 if test x$gcc_no_link = xyes; then
74954 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
74956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74957 /* end confdefs.h. */
74959 /* Override any GCC internal prototype to avoid an error.
74960 Use char because int might match the return type of a GCC
74961 builtin and then its argument prototype would still apply. */
74962 #ifdef __cplusplus
74963 extern "C"
74964 #endif
74965 char __frexpieee128 ();
74967 main ()
74969 return __frexpieee128 ();
74971 return 0;
74973 _ACEOF
74974 if ac_fn_c_try_link "$LINENO"; then :
74975 ac_cv_lib_m___frexpieee128=yes
74976 else
74977 ac_cv_lib_m___frexpieee128=no
74979 rm -f core conftest.err conftest.$ac_objext \
74980 conftest$ac_exeext conftest.$ac_ext
74981 LIBS=$ac_check_lib_save_LIBS
74983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m___frexpieee128" >&5
74984 $as_echo "$ac_cv_lib_m___frexpieee128" >&6; }
74985 if test "x$ac_cv_lib_m___frexpieee128" = xyes; then :
74986 ac_ldbl_ieee128_in_libc=yes
74987 else
74988 ac_ldbl_ieee128_in_libc=no
74991 if test $ac_ldbl_ieee128_in_libc = yes; then
74992 # Determine which long double format is the compiler's default:
74993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74994 /* end confdefs.h. */
74997 main ()
75000 #ifndef __LONG_DOUBLE_IEEE128__
75001 #error compiler defaults to ibm128
75002 #endif
75005 return 0;
75007 _ACEOF
75008 if ac_fn_c_try_compile "$LINENO"; then :
75009 ac_ldbl_ieee128_default=yes
75010 else
75011 ac_ldbl_ieee128_default=no
75013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75014 # Library objects should use default long double format.
75015 if test "$ac_ldbl_ieee128_default" = yes; then
75016 LONG_DOUBLE_128_FLAGS="-mno-gnu-attribute"
75017 # Except for the ones that explicitly use these flags:
75018 LONG_DOUBLE_ALT128_COMPAT_FLAGS="-mabi=ibmlongdouble -mno-gnu-attribute -Wno-psabi"
75019 else
75020 LONG_DOUBLE_128_FLAGS="-mno-gnu-attribute"
75021 LONG_DOUBLE_ALT128_COMPAT_FLAGS="-mabi=ieeelongdouble -mno-gnu-attribute -Wno-psabi"
75024 $as_echo "#define _GLIBCXX_LONG_DOUBLE_ALT128_COMPAT 1" >>confdefs.h
75026 port_specific_symbol_files="$port_specific_symbol_files \$(top_srcdir)/config/os/gnu-linux/ldbl-ieee128-extra.ver"
75027 ac_ldbl_alt128_compat=yes
75028 else
75029 ac_ldbl_alt128_compat=no
75032 esac
75034 esac
75041 # Check if assembler supports disabling hardware capability support.
75043 test -z "$HWCAP_CFLAGS" && HWCAP_CFLAGS=''
75045 # Restrict the test to Solaris, other assemblers (e.g. AIX as) have -nH
75046 # with a different meaning.
75047 case ${target_os} in
75048 solaris2*)
75049 ac_save_CFLAGS="$CFLAGS"
75050 CFLAGS="$CFLAGS -Wa,-nH"
75052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for as that supports -Wa,-nH" >&5
75053 $as_echo_n "checking for as that supports -Wa,-nH... " >&6; }
75054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75055 /* end confdefs.h. */
75058 main ()
75060 return 0;
75062 return 0;
75064 _ACEOF
75065 if ac_fn_c_try_compile "$LINENO"; then :
75066 ac_hwcap_flags=yes
75067 else
75068 ac_hwcap_flags=no
75070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75071 if test "$ac_hwcap_flags" = "yes"; then
75072 HWCAP_CFLAGS="-Wa,-nH $HWCAP_CFLAGS"
75074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_hwcap_flags" >&5
75075 $as_echo "$ac_hwcap_flags" >&6; }
75077 CFLAGS="$ac_save_CFLAGS"
75079 esac
75084 # Check if assembler supports rdrand opcode.
75086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rdrand support in assembler" >&5
75087 $as_echo_n "checking for rdrand support in assembler... " >&6; }
75088 if ${ac_cv_x86_rdrand+:} false; then :
75089 $as_echo_n "(cached) " >&6
75090 else
75092 ac_cv_x86_rdrand=no
75093 case "$target" in
75094 i?86-*-* | \
75095 x86_64-*-*)
75096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75097 /* end confdefs.h. */
75100 main ()
75102 asm("rdrand %eax");
75104 return 0;
75106 _ACEOF
75107 if ac_fn_c_try_compile "$LINENO"; then :
75108 ac_cv_x86_rdrand=yes
75109 else
75110 ac_cv_x86_rdrand=no
75112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75113 esac
75117 if test $ac_cv_x86_rdrand = yes; then
75119 $as_echo "#define _GLIBCXX_X86_RDRAND 1" >>confdefs.h
75122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_x86_rdrand" >&5
75123 $as_echo "$ac_cv_x86_rdrand" >&6; }
75125 # Check if assembler supports rdseed opcode.
75127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rdseed support in assembler" >&5
75128 $as_echo_n "checking for rdseed support in assembler... " >&6; }
75129 if ${ac_cv_x86_rdseed+:} false; then :
75130 $as_echo_n "(cached) " >&6
75131 else
75133 ac_cv_x86_rdseed=no
75134 case "$target" in
75135 i?86-*-* | \
75136 x86_64-*-*)
75137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75138 /* end confdefs.h. */
75141 main ()
75143 asm("rdseed %eax");
75145 return 0;
75147 _ACEOF
75148 if ac_fn_c_try_compile "$LINENO"; then :
75149 ac_cv_x86_rdseed=yes
75150 else
75151 ac_cv_x86_rdseed=no
75153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75154 esac
75158 if test $ac_cv_x86_rdseed = yes; then
75160 $as_echo "#define _GLIBCXX_X86_RDSEED 1" >>confdefs.h
75163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_x86_rdseed" >&5
75164 $as_echo "$ac_cv_x86_rdseed" >&6; }
75167 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
75169 # Do checks for resource limit functions.
75172 ac_ext=cpp
75173 ac_cpp='$CXXCPP $CPPFLAGS'
75174 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75175 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75176 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75178 setrlimit_have_headers=yes
75179 for ac_header in unistd.h sys/time.h sys/resource.h
75180 do :
75181 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
75182 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
75183 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
75184 cat >>confdefs.h <<_ACEOF
75185 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
75186 _ACEOF
75188 else
75189 setrlimit_have_headers=no
75192 done
75194 # If don't have the headers, then we can't run the tests now, and we
75195 # won't be seeing any of these during testsuite compilation.
75196 if test $setrlimit_have_headers = yes; then
75197 # Can't do these in a loop, else the resulting syntax is wrong.
75199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_DATA" >&5
75200 $as_echo_n "checking for RLIMIT_DATA... " >&6; }
75201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75202 /* end confdefs.h. */
75203 #include <unistd.h>
75204 #include <sys/time.h>
75205 #include <sys/resource.h>
75208 main ()
75210 int f = RLIMIT_DATA ;
75212 return 0;
75214 _ACEOF
75215 if ac_fn_cxx_try_compile "$LINENO"; then :
75216 glibcxx_mresult=1
75217 else
75218 glibcxx_mresult=0
75220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75222 cat >>confdefs.h <<_ACEOF
75223 #define HAVE_LIMIT_DATA $glibcxx_mresult
75224 _ACEOF
75226 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
75227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
75228 $as_echo "$res" >&6; }
75231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_RSS" >&5
75232 $as_echo_n "checking for RLIMIT_RSS... " >&6; }
75233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75234 /* end confdefs.h. */
75235 #include <unistd.h>
75236 #include <sys/time.h>
75237 #include <sys/resource.h>
75240 main ()
75242 int f = RLIMIT_RSS ;
75244 return 0;
75246 _ACEOF
75247 if ac_fn_cxx_try_compile "$LINENO"; then :
75248 glibcxx_mresult=1
75249 else
75250 glibcxx_mresult=0
75252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75254 cat >>confdefs.h <<_ACEOF
75255 #define HAVE_LIMIT_RSS $glibcxx_mresult
75256 _ACEOF
75258 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
75259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
75260 $as_echo "$res" >&6; }
75263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_VMEM" >&5
75264 $as_echo_n "checking for RLIMIT_VMEM... " >&6; }
75265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75266 /* end confdefs.h. */
75267 #include <unistd.h>
75268 #include <sys/time.h>
75269 #include <sys/resource.h>
75272 main ()
75274 int f = RLIMIT_VMEM ;
75276 return 0;
75278 _ACEOF
75279 if ac_fn_cxx_try_compile "$LINENO"; then :
75280 glibcxx_mresult=1
75281 else
75282 glibcxx_mresult=0
75284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75286 cat >>confdefs.h <<_ACEOF
75287 #define HAVE_LIMIT_VMEM $glibcxx_mresult
75288 _ACEOF
75290 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
75291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
75292 $as_echo "$res" >&6; }
75295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_AS" >&5
75296 $as_echo_n "checking for RLIMIT_AS... " >&6; }
75297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75298 /* end confdefs.h. */
75299 #include <unistd.h>
75300 #include <sys/time.h>
75301 #include <sys/resource.h>
75304 main ()
75306 int f = RLIMIT_AS ;
75308 return 0;
75310 _ACEOF
75311 if ac_fn_cxx_try_compile "$LINENO"; then :
75312 glibcxx_mresult=1
75313 else
75314 glibcxx_mresult=0
75316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75318 cat >>confdefs.h <<_ACEOF
75319 #define HAVE_LIMIT_AS $glibcxx_mresult
75320 _ACEOF
75322 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
75323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
75324 $as_echo "$res" >&6; }
75327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_FSIZE" >&5
75328 $as_echo_n "checking for RLIMIT_FSIZE... " >&6; }
75329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75330 /* end confdefs.h. */
75331 #include <unistd.h>
75332 #include <sys/time.h>
75333 #include <sys/resource.h>
75336 main ()
75338 int f = RLIMIT_FSIZE ;
75340 return 0;
75342 _ACEOF
75343 if ac_fn_cxx_try_compile "$LINENO"; then :
75344 glibcxx_mresult=1
75345 else
75346 glibcxx_mresult=0
75348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75350 cat >>confdefs.h <<_ACEOF
75351 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
75352 _ACEOF
75354 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
75355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
75356 $as_echo "$res" >&6; }
75359 # Check for rlimit, setrlimit.
75360 if ${glibcxx_cv_setrlimit+:} false; then :
75361 $as_echo_n "(cached) " >&6
75362 else
75364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75365 /* end confdefs.h. */
75366 #include <unistd.h>
75367 #include <sys/time.h>
75368 #include <sys/resource.h>
75371 main ()
75373 struct rlimit r;
75374 setrlimit(0, &r);
75376 return 0;
75378 _ACEOF
75379 if ac_fn_cxx_try_compile "$LINENO"; then :
75380 glibcxx_cv_setrlimit=yes
75381 else
75382 glibcxx_cv_setrlimit=no
75384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for testsuite resource limits support" >&5
75391 $as_echo_n "checking for testsuite resource limits support... " >&6; }
75392 if test $setrlimit_have_headers = yes && test $glibcxx_cv_setrlimit = yes; then
75393 ac_res_limits=yes
75395 $as_echo "#define _GLIBCXX_RES_LIMITS 1" >>confdefs.h
75397 else
75398 ac_res_limits=no
75400 ac_ext=c
75401 ac_cpp='$CPP $CPPFLAGS'
75402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res_limits" >&5
75407 $as_echo "$ac_res_limits" >&6; }
75410 if $GLIBCXX_IS_NATIVE ; then
75411 # Look for setenv, so that extended locale tests can be performed.
75413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setenv declaration" >&5
75414 $as_echo_n "checking for setenv declaration... " >&6; }
75415 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
75416 if ${glibcxx_cv_func_setenv_use+:} false; then :
75417 $as_echo_n "(cached) " >&6
75418 else
75421 ac_ext=cpp
75422 ac_cpp='$CXXCPP $CPPFLAGS'
75423 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75424 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75425 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75428 /* end confdefs.h. */
75429 #include <stdlib.h>
75431 main ()
75433 setenv(0, 0, 0);
75435 return 0;
75437 _ACEOF
75438 if ac_fn_cxx_try_compile "$LINENO"; then :
75439 glibcxx_cv_func_setenv_use=yes
75440 else
75441 glibcxx_cv_func_setenv_use=no
75443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75444 ac_ext=c
75445 ac_cpp='$CPP $CPPFLAGS'
75446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_setenv_use" >&5
75455 $as_echo "$glibcxx_cv_func_setenv_use" >&6; }
75456 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
75457 for ac_func in setenv
75458 do :
75459 ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
75460 if test "x$ac_cv_func_setenv" = xyes; then :
75461 cat >>confdefs.h <<_ACEOF
75462 #define HAVE_SETENV 1
75463 _ACEOF
75466 done
75472 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
75473 test $enable_symvers != no; then
75474 case "$host" in
75475 *-*-cygwin*)
75476 enable_abi_check=no ;;
75478 enable_abi_check=yes ;;
75479 esac
75480 else
75481 # Only build this as native, since automake does not understand
75482 # CXX_FOR_BUILD.
75483 enable_abi_check=no
75486 # Export file names for ABI checking.
75487 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}"
75489 baseline_subdir_switch="$abi_baseline_subdir_switch"
75493 # For gthread support. Depends on GLIBCXX_ENABLE_SYMVERS.
75495 # Check whether --enable-libstdcxx-threads was given.
75496 if test "${enable_libstdcxx_threads+set}" = set; then :
75497 enableval=$enable_libstdcxx_threads;
75498 case "$enableval" in
75499 yes|no) ;;
75500 *) as_fn_error $? "Argument to enable/disable libstdcxx-threads must be yes or no" "$LINENO" 5 ;;
75501 esac
75503 else
75504 enable_libstdcxx_threads=auto
75509 if test x$enable_libstdcxx_threads = xauto ||
75510 test x$enable_libstdcxx_threads = xyes; then
75513 ac_ext=cpp
75514 ac_cpp='$CXXCPP $CPPFLAGS'
75515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75520 ac_save_CXXFLAGS="$CXXFLAGS"
75521 CXXFLAGS="$CXXFLAGS -fno-exceptions \
75522 -I${toplevel_srcdir}/libgcc -I${toplevel_builddir}/libgcc"
75524 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
75525 case $target_thread_file in
75526 posix)
75527 CXXFLAGS="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
75528 esac
75530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it can be safely assumed that mutex_timedlock is available" >&5
75531 $as_echo_n "checking whether it can be safely assumed that mutex_timedlock is available... " >&6; }
75533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75534 /* end confdefs.h. */
75535 #include <unistd.h>
75537 main ()
75540 // In case of POSIX threads check _POSIX_TIMEOUTS.
75541 #if (defined(_PTHREADS) \
75542 && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
75543 #error
75544 #endif
75547 return 0;
75549 _ACEOF
75550 if ac_fn_cxx_try_compile "$LINENO"; then :
75551 ac_gthread_use_mutex_timedlock=1
75552 else
75553 ac_gthread_use_mutex_timedlock=0
75555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75558 cat >>confdefs.h <<_ACEOF
75559 #define _GTHREAD_USE_MUTEX_TIMEDLOCK $ac_gthread_use_mutex_timedlock
75560 _ACEOF
75563 if test $ac_gthread_use_mutex_timedlock = 1 ; then res_mutex_timedlock=yes ;
75564 else res_mutex_timedlock=no ; fi
75565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res_mutex_timedlock" >&5
75566 $as_echo "$res_mutex_timedlock" >&6; }
75568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthreads library" >&5
75569 $as_echo_n "checking for gthreads library... " >&6; }
75571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75572 /* end confdefs.h. */
75573 #include "gthr.h"
75575 main ()
75578 #ifndef __GTHREADS_CXX0X
75579 #error
75580 #endif
75583 return 0;
75585 _ACEOF
75586 if ac_fn_cxx_try_compile "$LINENO"; then :
75587 ac_has_gthreads=yes
75588 else
75589 ac_has_gthreads=no
75591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75592 else
75593 ac_has_gthreads=no
75596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gthreads" >&5
75597 $as_echo "$ac_has_gthreads" >&6; }
75599 if test x"$ac_has_gthreads" = x"yes"; then
75601 $as_echo "#define _GLIBCXX_HAS_GTHREADS 1" >>confdefs.h
75604 # Also check for pthread_rwlock_t for std::shared_timed_mutex in C++14
75605 # but only do so if we're using pthread in the gthread library.
75606 # On VxWorks for example, pthread_rwlock_t is defined in sys/types.h
75607 # but the pthread library is not there by default and the gthread library
75608 # does not use it.
75609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75610 /* end confdefs.h. */
75611 #include "gthr.h"
75613 main ()
75616 #if (!defined(_PTHREADS))
75617 #error
75618 #endif
75621 return 0;
75623 _ACEOF
75624 if ac_fn_cxx_try_compile "$LINENO"; then :
75625 ac_gthread_use_pthreads=yes
75626 else
75627 ac_gthread_use_pthreads=no
75629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75630 if test x"$ac_gthread_use_pthreads" = x"yes"; then
75631 ac_fn_cxx_check_type "$LINENO" "pthread_rwlock_t" "ac_cv_type_pthread_rwlock_t" "#include \"gthr.h\"
75633 if test "x$ac_cv_type_pthread_rwlock_t" = xyes; then :
75635 $as_echo "#define _GLIBCXX_USE_PTHREAD_RWLOCK_T 1" >>confdefs.h
75642 ac_fn_cxx_check_header_mongrel "$LINENO" "semaphore.h" "ac_cv_header_semaphore_h" "$ac_includes_default"
75643 if test "x$ac_cv_header_semaphore_h" = xyes; then :
75645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for POSIX Semaphores and sem_timedwait" >&5
75646 $as_echo_n "checking for POSIX Semaphores and sem_timedwait... " >&6; }
75647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75648 /* end confdefs.h. */
75650 #include <unistd.h>
75651 #include <semaphore.h>
75652 #include <limits.h>
75655 main ()
75658 #if !defined _POSIX_TIMEOUTS || _POSIX_TIMEOUTS <= 0
75659 # error "POSIX Timeouts option not supported"
75660 #elif !defined _POSIX_SEMAPHORES || _POSIX_SEMAPHORES <= 0
75661 # error "POSIX Semaphores option not supported"
75662 #else
75663 #if defined SEM_VALUE_MAX
75664 constexpr int sem_value_max = SEM_VALUE_MAX;
75665 #elif defined _POSIX_SEM_VALUE_MAX
75666 constexpr int sem_value_max = _POSIX_SEM_VALUE_MAX;
75667 #else
75668 # error "SEM_VALUE_MAX not available"
75669 #endif
75670 sem_t sem;
75671 sem_init(&sem, 0, sem_value_max);
75672 struct timespec ts = { 0 };
75673 sem_timedwait(&sem, &ts);
75674 #endif
75677 return 0;
75679 _ACEOF
75680 if ac_fn_cxx_try_compile "$LINENO"; then :
75681 ac_have_posix_semaphore=yes
75682 else
75683 ac_have_posix_semaphore=no
75685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75686 else
75687 ac_have_posix_semaphore=no
75692 if test $ac_have_posix_semaphore = yes ; then
75694 $as_echo "#define HAVE_POSIX_SEMAPHORE 1" >>confdefs.h
75697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_have_posix_semaphore" >&5
75698 $as_echo "$ac_have_posix_semaphore" >&6; }
75700 CXXFLAGS="$ac_save_CXXFLAGS"
75701 ac_ext=c
75702 ac_cpp='$CPP $CPPFLAGS'
75703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75709 # For Filesystem TS.
75710 for ac_header in fcntl.h dirent.h sys/statvfs.h utime.h
75711 do :
75712 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
75713 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
75714 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
75715 cat >>confdefs.h <<_ACEOF
75716 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
75717 _ACEOF
75721 done
75724 # Check whether --enable-libstdcxx-filesystem-ts was given.
75725 if test "${enable_libstdcxx_filesystem_ts+set}" = set; then :
75726 enableval=$enable_libstdcxx_filesystem_ts;
75727 case "$enableval" in
75728 yes|no|auto) ;;
75729 *) as_fn_error $? "Unknown argument to enable/disable libstdcxx-filesystem-ts" "$LINENO" 5 ;;
75730 esac
75732 else
75733 enable_libstdcxx_filesystem_ts=auto
75738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build Filesystem TS support" >&5
75739 $as_echo_n "checking whether to build Filesystem TS support... " >&6; }
75740 if test x"$ac_cv_header_dirent_h" != x"yes"; then
75741 enable_libstdcxx_filesystem_ts=no
75743 if test x"$enable_libstdcxx_filesystem_ts" = x"auto"; then
75744 case "${target_os}" in
75745 freebsd*|netbsd*|openbsd*|dragonfly*|darwin*)
75746 enable_libstdcxx_filesystem_ts=yes
75748 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu | uclinux*)
75749 enable_libstdcxx_filesystem_ts=yes
75751 rtems*)
75752 enable_libstdcxx_filesystem_ts=yes
75754 solaris*)
75755 enable_libstdcxx_filesystem_ts=yes
75757 mingw*)
75758 enable_libstdcxx_filesystem_ts=yes
75761 enable_libstdcxx_filesystem_ts=no
75763 esac
75765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_filesystem_ts" >&5
75766 $as_echo "$enable_libstdcxx_filesystem_ts" >&6; }
75770 ac_ext=cpp
75771 ac_cpp='$CXXCPP $CPPFLAGS'
75772 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75773 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75774 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75776 ac_save_CXXFLAGS="$CXXFLAGS"
75777 CXXFLAGS="$CXXFLAGS -fno-exceptions"
75778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct dirent.d_type" >&5
75779 $as_echo_n "checking for struct dirent.d_type... " >&6; }
75780 if ${glibcxx_cv_dirent_d_type+:} false; then :
75781 $as_echo_n "(cached) " >&6
75782 else
75783 if test x$gcc_no_link = xyes; then
75784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75785 /* end confdefs.h. */
75786 #include <dirent.h>
75788 main ()
75791 struct dirent d;
75792 if (sizeof d.d_type) return 0;
75795 return 0;
75797 _ACEOF
75798 if ac_fn_cxx_try_compile "$LINENO"; then :
75799 glibcxx_cv_dirent_d_type=yes
75800 else
75801 glibcxx_cv_dirent_d_type=no
75803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75804 else
75805 if test x$gcc_no_link = xyes; then
75806 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
75808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75809 /* end confdefs.h. */
75810 #include <dirent.h>
75812 main ()
75815 struct dirent d;
75816 if (sizeof d.d_type) return 0;
75819 return 0;
75821 _ACEOF
75822 if ac_fn_cxx_try_link "$LINENO"; then :
75823 glibcxx_cv_dirent_d_type=yes
75824 else
75825 glibcxx_cv_dirent_d_type=no
75827 rm -f core conftest.err conftest.$ac_objext \
75828 conftest$ac_exeext conftest.$ac_ext
75833 if test $glibcxx_cv_dirent_d_type = yes; then
75835 $as_echo "#define HAVE_STRUCT_DIRENT_D_TYPE 1" >>confdefs.h
75838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_dirent_d_type" >&5
75839 $as_echo "$glibcxx_cv_dirent_d_type" >&6; }
75840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realpath" >&5
75841 $as_echo_n "checking for realpath... " >&6; }
75842 if ${glibcxx_cv_realpath+:} false; then :
75843 $as_echo_n "(cached) " >&6
75844 else
75845 if test x$gcc_no_link = xyes; then
75846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75847 /* end confdefs.h. */
75849 #include <limits.h>
75850 #include <stdlib.h>
75851 #include <unistd.h>
75854 main ()
75857 #if _XOPEN_VERSION < 500
75858 #error
75859 #elif _XOPEN_VERSION >= 700 || defined(PATH_MAX)
75860 char *tmp = realpath((const char*)NULL, (char*)NULL);
75861 #else
75862 #error
75863 #endif
75866 return 0;
75868 _ACEOF
75869 if ac_fn_cxx_try_compile "$LINENO"; then :
75870 glibcxx_cv_realpath=yes
75871 else
75872 glibcxx_cv_realpath=no
75874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75875 else
75876 if test x$gcc_no_link = xyes; then
75877 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
75879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75880 /* end confdefs.h. */
75882 #include <limits.h>
75883 #include <stdlib.h>
75884 #include <unistd.h>
75887 main ()
75890 #if _XOPEN_VERSION < 500
75891 #error
75892 #elif _XOPEN_VERSION >= 700 || defined(PATH_MAX)
75893 char *tmp = realpath((const char*)NULL, (char*)NULL);
75894 #else
75895 #error
75896 #endif
75899 return 0;
75901 _ACEOF
75902 if ac_fn_cxx_try_link "$LINENO"; then :
75903 glibcxx_cv_realpath=yes
75904 else
75905 glibcxx_cv_realpath=no
75907 rm -f core conftest.err conftest.$ac_objext \
75908 conftest$ac_exeext conftest.$ac_ext
75913 if test $glibcxx_cv_realpath = yes; then
75915 $as_echo "#define _GLIBCXX_USE_REALPATH 1" >>confdefs.h
75918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_realpath" >&5
75919 $as_echo "$glibcxx_cv_realpath" >&6; }
75920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for utimensat" >&5
75921 $as_echo_n "checking for utimensat... " >&6; }
75922 if ${glibcxx_cv_utimensat+:} false; then :
75923 $as_echo_n "(cached) " >&6
75924 else
75925 if test x$gcc_no_link = xyes; then
75926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75927 /* end confdefs.h. */
75929 #include <fcntl.h>
75930 #include <sys/stat.h>
75933 main ()
75936 struct timespec ts[2] = { { 0, UTIME_OMIT }, { 1, 1 } };
75937 int i = utimensat(AT_FDCWD, "path", ts, 0);
75940 return 0;
75942 _ACEOF
75943 if ac_fn_cxx_try_compile "$LINENO"; then :
75944 glibcxx_cv_utimensat=yes
75945 else
75946 glibcxx_cv_utimensat=no
75948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75949 else
75950 if test x$gcc_no_link = xyes; then
75951 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
75953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75954 /* end confdefs.h. */
75956 #include <fcntl.h>
75957 #include <sys/stat.h>
75960 main ()
75963 struct timespec ts[2] = { { 0, UTIME_OMIT }, { 1, 1 } };
75964 int i = utimensat(AT_FDCWD, "path", ts, 0);
75967 return 0;
75969 _ACEOF
75970 if ac_fn_cxx_try_link "$LINENO"; then :
75971 glibcxx_cv_utimensat=yes
75972 else
75973 glibcxx_cv_utimensat=no
75975 rm -f core conftest.err conftest.$ac_objext \
75976 conftest$ac_exeext conftest.$ac_ext
75981 if test $glibcxx_cv_utimensat = yes; then
75983 $as_echo "#define _GLIBCXX_USE_UTIMENSAT 1" >>confdefs.h
75986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_utimensat" >&5
75987 $as_echo "$glibcxx_cv_utimensat" >&6; }
75988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for utime" >&5
75989 $as_echo_n "checking for utime... " >&6; }
75990 if ${glibcxx_cv_utime+:} false; then :
75991 $as_echo_n "(cached) " >&6
75992 else
75993 if test x$gcc_no_link = xyes; then
75994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75995 /* end confdefs.h. */
75997 #include <utime.h>
76000 main ()
76003 struct utimbuf t = { 1, 1 };
76004 int i = utime("path", &t);
76007 return 0;
76009 _ACEOF
76010 if ac_fn_cxx_try_compile "$LINENO"; then :
76011 glibcxx_cv_utime=yes
76012 else
76013 glibcxx_cv_utime=no
76015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76016 else
76017 if test x$gcc_no_link = xyes; then
76018 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76021 /* end confdefs.h. */
76023 #include <utime.h>
76026 main ()
76029 struct utimbuf t = { 1, 1 };
76030 int i = utime("path", &t);
76033 return 0;
76035 _ACEOF
76036 if ac_fn_cxx_try_link "$LINENO"; then :
76037 glibcxx_cv_utime=yes
76038 else
76039 glibcxx_cv_utime=no
76041 rm -f core conftest.err conftest.$ac_objext \
76042 conftest$ac_exeext conftest.$ac_ext
76047 if test $glibcxx_cv_utime = yes; then
76049 $as_echo "#define _GLIBCXX_USE_UTIME 1" >>confdefs.h
76052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_utime" >&5
76053 $as_echo "$glibcxx_cv_utime" >&6; }
76054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lstat" >&5
76055 $as_echo_n "checking for lstat... " >&6; }
76056 if ${glibcxx_cv_lstat+:} false; then :
76057 $as_echo_n "(cached) " >&6
76058 else
76059 if test x$gcc_no_link = xyes; then
76060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76061 /* end confdefs.h. */
76062 #include <sys/stat.h>
76064 main ()
76067 struct stat st;
76068 int i = lstat("path", &st);
76071 return 0;
76073 _ACEOF
76074 if ac_fn_cxx_try_compile "$LINENO"; then :
76075 glibcxx_cv_lstat=yes
76076 else
76077 glibcxx_cv_lstat=no
76079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76080 else
76081 if test x$gcc_no_link = xyes; then
76082 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76085 /* end confdefs.h. */
76086 #include <sys/stat.h>
76088 main ()
76091 struct stat st;
76092 int i = lstat("path", &st);
76095 return 0;
76097 _ACEOF
76098 if ac_fn_cxx_try_link "$LINENO"; then :
76099 glibcxx_cv_lstat=yes
76100 else
76101 glibcxx_cv_lstat=no
76103 rm -f core conftest.err conftest.$ac_objext \
76104 conftest$ac_exeext conftest.$ac_ext
76109 if test $glibcxx_cv_lstat = yes; then
76111 $as_echo "#define _GLIBCXX_USE_LSTAT 1" >>confdefs.h
76114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_lstat" >&5
76115 $as_echo "$glibcxx_cv_lstat" >&6; }
76116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct stat.st_mtim.tv_nsec" >&5
76117 $as_echo_n "checking for struct stat.st_mtim.tv_nsec... " >&6; }
76118 if ${glibcxx_cv_st_mtim+:} false; then :
76119 $as_echo_n "(cached) " >&6
76120 else
76121 if test x$gcc_no_link = xyes; then
76122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76123 /* end confdefs.h. */
76124 #include <sys/stat.h>
76126 main ()
76129 struct stat st;
76130 return st.st_mtim.tv_nsec;
76133 return 0;
76135 _ACEOF
76136 if ac_fn_cxx_try_compile "$LINENO"; then :
76137 glibcxx_cv_st_mtim=yes
76138 else
76139 glibcxx_cv_st_mtim=no
76141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76142 else
76143 if test x$gcc_no_link = xyes; then
76144 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76147 /* end confdefs.h. */
76148 #include <sys/stat.h>
76150 main ()
76153 struct stat st;
76154 return st.st_mtim.tv_nsec;
76157 return 0;
76159 _ACEOF
76160 if ac_fn_cxx_try_link "$LINENO"; then :
76161 glibcxx_cv_st_mtim=yes
76162 else
76163 glibcxx_cv_st_mtim=no
76165 rm -f core conftest.err conftest.$ac_objext \
76166 conftest$ac_exeext conftest.$ac_ext
76171 if test $glibcxx_cv_st_mtim = yes; then
76173 $as_echo "#define _GLIBCXX_USE_ST_MTIM 1" >>confdefs.h
76176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_st_mtim" >&5
76177 $as_echo "$glibcxx_cv_st_mtim" >&6; }
76178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fchmod" >&5
76179 $as_echo_n "checking for fchmod... " >&6; }
76180 if ${glibcxx_cv_fchmod+:} false; then :
76181 $as_echo_n "(cached) " >&6
76182 else
76183 if test x$gcc_no_link = xyes; then
76184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76185 /* end confdefs.h. */
76186 #include <sys/stat.h>
76188 main ()
76190 fchmod(1, S_IWUSR);
76192 return 0;
76194 _ACEOF
76195 if ac_fn_cxx_try_compile "$LINENO"; then :
76196 glibcxx_cv_fchmod=yes
76197 else
76198 glibcxx_cv_fchmod=no
76200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76201 else
76202 if test x$gcc_no_link = xyes; then
76203 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76206 /* end confdefs.h. */
76207 #include <sys/stat.h>
76209 main ()
76211 fchmod(1, S_IWUSR);
76213 return 0;
76215 _ACEOF
76216 if ac_fn_cxx_try_link "$LINENO"; then :
76217 glibcxx_cv_fchmod=yes
76218 else
76219 glibcxx_cv_fchmod=no
76221 rm -f core conftest.err conftest.$ac_objext \
76222 conftest$ac_exeext conftest.$ac_ext
76227 if test $glibcxx_cv_fchmod = yes; then
76229 $as_echo "#define _GLIBCXX_USE_FCHMOD 1" >>confdefs.h
76232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_fchmod" >&5
76233 $as_echo "$glibcxx_cv_fchmod" >&6; }
76234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fchmodat" >&5
76235 $as_echo_n "checking for fchmodat... " >&6; }
76236 if ${glibcxx_cv_fchmodat+:} false; then :
76237 $as_echo_n "(cached) " >&6
76238 else
76239 if test x$gcc_no_link = xyes; then
76240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76241 /* end confdefs.h. */
76243 #include <fcntl.h>
76244 #include <sys/stat.h>
76247 main ()
76249 fchmodat(AT_FDCWD, "", 0, AT_SYMLINK_NOFOLLOW);
76251 return 0;
76253 _ACEOF
76254 if ac_fn_cxx_try_compile "$LINENO"; then :
76255 glibcxx_cv_fchmodat=yes
76256 else
76257 glibcxx_cv_fchmodat=no
76259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76260 else
76261 if test x$gcc_no_link = xyes; then
76262 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76265 /* end confdefs.h. */
76267 #include <fcntl.h>
76268 #include <sys/stat.h>
76271 main ()
76273 fchmodat(AT_FDCWD, "", 0, AT_SYMLINK_NOFOLLOW);
76275 return 0;
76277 _ACEOF
76278 if ac_fn_cxx_try_link "$LINENO"; then :
76279 glibcxx_cv_fchmodat=yes
76280 else
76281 glibcxx_cv_fchmodat=no
76283 rm -f core conftest.err conftest.$ac_objext \
76284 conftest$ac_exeext conftest.$ac_ext
76289 if test $glibcxx_cv_fchmodat = yes; then
76291 $as_echo "#define _GLIBCXX_USE_FCHMODAT 1" >>confdefs.h
76294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_fchmodat" >&5
76295 $as_echo "$glibcxx_cv_fchmodat" >&6; }
76296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sendfile that can copy files" >&5
76297 $as_echo_n "checking for sendfile that can copy files... " >&6; }
76298 if ${glibcxx_cv_sendfile+:} false; then :
76299 $as_echo_n "(cached) " >&6
76300 else
76301 case "${target_os}" in
76302 gnu* | linux* | solaris* | uclinux*)
76303 if test x$gcc_no_link = xyes; then
76304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76305 /* end confdefs.h. */
76306 #include <sys/sendfile.h>
76308 main ()
76310 sendfile(1, 2, (off_t*)0, sizeof 1);
76312 return 0;
76314 _ACEOF
76315 if ac_fn_cxx_try_compile "$LINENO"; then :
76316 glibcxx_cv_sendfile=yes
76317 else
76318 glibcxx_cv_sendfile=no
76320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76321 else
76322 if test x$gcc_no_link = xyes; then
76323 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76326 /* end confdefs.h. */
76327 #include <sys/sendfile.h>
76329 main ()
76331 sendfile(1, 2, (off_t*)0, sizeof 1);
76333 return 0;
76335 _ACEOF
76336 if ac_fn_cxx_try_link "$LINENO"; then :
76337 glibcxx_cv_sendfile=yes
76338 else
76339 glibcxx_cv_sendfile=no
76341 rm -f core conftest.err conftest.$ac_objext \
76342 conftest$ac_exeext conftest.$ac_ext
76346 glibcxx_cv_sendfile=no
76348 esac
76352 if test $glibcxx_cv_sendfile = yes; then
76354 $as_echo "#define _GLIBCXX_USE_SENDFILE 1" >>confdefs.h
76357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sendfile" >&5
76358 $as_echo "$glibcxx_cv_sendfile" >&6; }
76359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for link" >&5
76360 $as_echo_n "checking for link... " >&6; }
76361 if ${glibcxx_cv_link+:} false; then :
76362 $as_echo_n "(cached) " >&6
76363 else
76364 if test x$gcc_no_link = xyes; then
76365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76366 /* end confdefs.h. */
76367 #include <unistd.h>
76369 main ()
76371 link("", "");
76373 return 0;
76375 _ACEOF
76376 if ac_fn_cxx_try_compile "$LINENO"; then :
76377 glibcxx_cv_link=yes
76378 else
76379 glibcxx_cv_link=no
76381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76382 else
76383 if test x$gcc_no_link = xyes; then
76384 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76387 /* end confdefs.h. */
76388 #include <unistd.h>
76390 main ()
76392 link("", "");
76394 return 0;
76396 _ACEOF
76397 if ac_fn_cxx_try_link "$LINENO"; then :
76398 glibcxx_cv_link=yes
76399 else
76400 glibcxx_cv_link=no
76402 rm -f core conftest.err conftest.$ac_objext \
76403 conftest$ac_exeext conftest.$ac_ext
76408 if test $glibcxx_cv_link = yes; then
76410 $as_echo "#define HAVE_LINK 1" >>confdefs.h
76413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_link" >&5
76414 $as_echo "$glibcxx_cv_link" >&6; }
76415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readlink" >&5
76416 $as_echo_n "checking for readlink... " >&6; }
76417 if ${glibcxx_cv_readlink+:} false; then :
76418 $as_echo_n "(cached) " >&6
76419 else
76420 if test x$gcc_no_link = xyes; then
76421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76422 /* end confdefs.h. */
76423 #include <unistd.h>
76425 main ()
76427 char buf[32]; readlink("", buf, sizeof(buf));
76429 return 0;
76431 _ACEOF
76432 if ac_fn_cxx_try_compile "$LINENO"; then :
76433 glibcxx_cv_readlink=yes
76434 else
76435 glibcxx_cv_readlink=no
76437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76438 else
76439 if test x$gcc_no_link = xyes; then
76440 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76443 /* end confdefs.h. */
76444 #include <unistd.h>
76446 main ()
76448 char buf[32]; readlink("", buf, sizeof(buf));
76450 return 0;
76452 _ACEOF
76453 if ac_fn_cxx_try_link "$LINENO"; then :
76454 glibcxx_cv_readlink=yes
76455 else
76456 glibcxx_cv_readlink=no
76458 rm -f core conftest.err conftest.$ac_objext \
76459 conftest$ac_exeext conftest.$ac_ext
76464 if test $glibcxx_cv_readlink = yes; then
76466 $as_echo "#define HAVE_READLINK 1" >>confdefs.h
76469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_readlink" >&5
76470 $as_echo "$glibcxx_cv_readlink" >&6; }
76471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for symlink" >&5
76472 $as_echo_n "checking for symlink... " >&6; }
76473 if ${glibcxx_cv_symlink+:} false; then :
76474 $as_echo_n "(cached) " >&6
76475 else
76476 if test x$gcc_no_link = xyes; then
76477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76478 /* end confdefs.h. */
76479 #include <unistd.h>
76481 main ()
76483 symlink("", "");
76485 return 0;
76487 _ACEOF
76488 if ac_fn_cxx_try_compile "$LINENO"; then :
76489 glibcxx_cv_symlink=yes
76490 else
76491 glibcxx_cv_symlink=no
76493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76494 else
76495 if test x$gcc_no_link = xyes; then
76496 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76499 /* end confdefs.h. */
76500 #include <unistd.h>
76502 main ()
76504 symlink("", "");
76506 return 0;
76508 _ACEOF
76509 if ac_fn_cxx_try_link "$LINENO"; then :
76510 glibcxx_cv_symlink=yes
76511 else
76512 glibcxx_cv_symlink=no
76514 rm -f core conftest.err conftest.$ac_objext \
76515 conftest$ac_exeext conftest.$ac_ext
76520 if test $glibcxx_cv_symlink = yes; then
76522 $as_echo "#define HAVE_SYMLINK 1" >>confdefs.h
76525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_symlink" >&5
76526 $as_echo "$glibcxx_cv_symlink" >&6; }
76527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncate" >&5
76528 $as_echo_n "checking for truncate... " >&6; }
76529 if ${glibcxx_cv_truncate+:} false; then :
76530 $as_echo_n "(cached) " >&6
76531 else
76532 if test x$gcc_no_link = xyes; then
76533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76534 /* end confdefs.h. */
76535 #include <unistd.h>
76537 main ()
76539 truncate("", 99);
76541 return 0;
76543 _ACEOF
76544 if ac_fn_cxx_try_compile "$LINENO"; then :
76545 glibcxx_cv_truncate=yes
76546 else
76547 glibcxx_cv_truncate=no
76549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76550 else
76551 if test x$gcc_no_link = xyes; then
76552 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76555 /* end confdefs.h. */
76556 #include <unistd.h>
76558 main ()
76560 truncate("", 99);
76562 return 0;
76564 _ACEOF
76565 if ac_fn_cxx_try_link "$LINENO"; then :
76566 glibcxx_cv_truncate=yes
76567 else
76568 glibcxx_cv_truncate=no
76570 rm -f core conftest.err conftest.$ac_objext \
76571 conftest$ac_exeext conftest.$ac_ext
76576 if test $glibcxx_cv_truncate = yes; then
76578 $as_echo "#define HAVE_TRUNCATE 1" >>confdefs.h
76581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_truncate" >&5
76582 $as_echo "$glibcxx_cv_truncate" >&6; }
76583 CXXFLAGS="$ac_save_CXXFLAGS"
76584 ac_ext=c
76585 ac_cpp='$CPP $CPPFLAGS'
76586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76592 # For Networking TS.
76593 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
76594 do :
76595 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
76596 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
76597 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
76598 cat >>confdefs.h <<_ACEOF
76599 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
76600 _ACEOF
76604 done
76607 # For Transactional Memory TS
76609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how size_t is mangled" >&5
76610 $as_echo_n "checking how size_t is mangled... " >&6; }
76611 if ${glibcxx_cv_size_t_mangling+:} false; then :
76612 $as_echo_n "(cached) " >&6
76613 else
76615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76616 /* end confdefs.h. */
76619 main ()
76621 extern __SIZE_TYPE__ x; extern unsigned long x;
76623 return 0;
76625 _ACEOF
76626 if ac_fn_c_try_compile "$LINENO"; then :
76627 glibcxx_cv_size_t_mangling=m
76628 else
76630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76631 /* end confdefs.h. */
76634 main ()
76636 extern __SIZE_TYPE__ x; extern unsigned int x;
76638 return 0;
76640 _ACEOF
76641 if ac_fn_c_try_compile "$LINENO"; then :
76642 glibcxx_cv_size_t_mangling=j
76643 else
76645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76646 /* end confdefs.h. */
76649 main ()
76651 extern __SIZE_TYPE__ x; extern unsigned long long x;
76653 return 0;
76655 _ACEOF
76656 if ac_fn_c_try_compile "$LINENO"; then :
76657 glibcxx_cv_size_t_mangling=y
76658 else
76660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76661 /* end confdefs.h. */
76664 main ()
76666 extern __SIZE_TYPE__ x; extern unsigned short x;
76668 return 0;
76670 _ACEOF
76671 if ac_fn_c_try_compile "$LINENO"; then :
76672 glibcxx_cv_size_t_mangling=t
76673 else
76675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76676 /* end confdefs.h. */
76679 main ()
76681 extern __SIZE_TYPE__ x; extern __int20 unsigned x;
76683 return 0;
76685 _ACEOF
76686 if ac_fn_c_try_compile "$LINENO"; then :
76687 glibcxx_cv_size_t_mangling=u6uint20
76688 else
76689 glibcxx_cv_size_t_mangling=x
76691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_size_t_mangling" >&5
76707 $as_echo "$glibcxx_cv_size_t_mangling" >&6; }
76708 if test $glibcxx_cv_size_t_mangling = x; then
76709 as_fn_error $? "Unknown underlying type for size_t" "$LINENO" 5
76712 cat >>confdefs.h <<_ACEOF
76713 #define _GLIBCXX_MANGLE_SIZE_T $glibcxx_cv_size_t_mangling
76714 _ACEOF
76718 # Check which release added std::exception_ptr for the target
76720 if test $enable_symvers != no; then
76721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for first version to support std::exception_ptr" >&5
76722 $as_echo_n "checking for first version to support std::exception_ptr... " >&6; }
76723 case ${target} in
76724 aarch64-*-* | alpha-*-* | hppa*-*-* | i?86-*-* | x86_64-*-* | \
76725 m68k-*-* | powerpc*-*-* | s390*-*-* | *-*-solaris* )
76726 ac_exception_ptr_since_gcc46=yes
76729 # If the value of this macro changes then we will need to hardcode
76730 # yes/no here for additional targets based on the original value.
76731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76732 /* end confdefs.h. */
76735 main ()
76738 #if __GCC_ATOMIC_INT_LOCK_FREE <= 1
76739 # error atomic int not always lock free
76740 #endif
76743 return 0;
76745 _ACEOF
76746 if ac_fn_c_try_compile "$LINENO"; then :
76747 ac_exception_ptr_since_gcc46=yes
76748 else
76749 ac_exception_ptr_since_gcc46=no
76751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76753 esac
76754 if test x"$ac_exception_ptr_since_gcc46" = x"yes" ; then
76756 $as_echo "#define HAVE_EXCEPTION_PTR_SINCE_GCC46 1" >>confdefs.h
76758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 4.6.0" >&5
76759 $as_echo "4.6.0" >&6; }
76760 else
76761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 7.1.0" >&5
76762 $as_echo "7.1.0" >&6; }
76767 # Define documentation rules conditionally.
76769 # See if makeinfo has been installed and is modern enough
76770 # that we can use it.
76772 # Extract the first word of "makeinfo", so it can be a program name with args.
76773 set dummy makeinfo; ac_word=$2
76774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
76775 $as_echo_n "checking for $ac_word... " >&6; }
76776 if ${ac_cv_prog_MAKEINFO+:} false; then :
76777 $as_echo_n "(cached) " >&6
76778 else
76779 if test -n "$MAKEINFO"; then
76780 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
76781 else
76782 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
76783 for as_dir in $PATH
76785 IFS=$as_save_IFS
76786 test -z "$as_dir" && as_dir=.
76787 for ac_exec_ext in '' $ac_executable_extensions; do
76788 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
76789 ac_cv_prog_MAKEINFO="makeinfo"
76790 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
76791 break 2
76793 done
76794 done
76795 IFS=$as_save_IFS
76799 MAKEINFO=$ac_cv_prog_MAKEINFO
76800 if test -n "$MAKEINFO"; then
76801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
76802 $as_echo "$MAKEINFO" >&6; }
76803 else
76804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
76805 $as_echo "no" >&6; }
76809 if test -n "$MAKEINFO"; then
76810 # Found it, now check the version.
76811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modern makeinfo" >&5
76812 $as_echo_n "checking for modern makeinfo... " >&6; }
76813 if ${gcc_cv_prog_makeinfo_modern+:} false; then :
76814 $as_echo_n "(cached) " >&6
76815 else
76816 ac_prog_version=`eval $MAKEINFO --version 2>&1 |
76817 sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
76819 case $ac_prog_version in
76820 '') gcc_cv_prog_makeinfo_modern=no;;
76821 4.[4-9]*|4.[1-9][0-9]*|[5-9]*|[1-9][0-9]*) gcc_cv_prog_makeinfo_modern=yes;;
76822 *) gcc_cv_prog_makeinfo_modern=no;;
76823 esac
76826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_makeinfo_modern" >&5
76827 $as_echo "$gcc_cv_prog_makeinfo_modern" >&6; }
76828 else
76829 gcc_cv_prog_makeinfo_modern=no
76831 if test $gcc_cv_prog_makeinfo_modern = no; then
76832 MAKEINFO="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
76835 if test $gcc_cv_prog_makeinfo_modern = "yes"; then
76836 BUILD_INFO_TRUE=
76837 BUILD_INFO_FALSE='#'
76838 else
76839 BUILD_INFO_TRUE='#'
76840 BUILD_INFO_FALSE=
76844 # Check for doxygen
76845 # Extract the first word of "doxygen", so it can be a program name with args.
76846 set dummy doxygen; ac_word=$2
76847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
76848 $as_echo_n "checking for $ac_word... " >&6; }
76849 if ${ac_cv_prog_DOXYGEN+:} false; then :
76850 $as_echo_n "(cached) " >&6
76851 else
76852 if test -n "$DOXYGEN"; then
76853 ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
76854 else
76855 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
76856 for as_dir in $PATH
76858 IFS=$as_save_IFS
76859 test -z "$as_dir" && as_dir=.
76860 for ac_exec_ext in '' $ac_executable_extensions; do
76861 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
76862 ac_cv_prog_DOXYGEN="yes"
76863 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
76864 break 2
76866 done
76867 done
76868 IFS=$as_save_IFS
76870 test -z "$ac_cv_prog_DOXYGEN" && ac_cv_prog_DOXYGEN="no"
76873 DOXYGEN=$ac_cv_prog_DOXYGEN
76874 if test -n "$DOXYGEN"; then
76875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
76876 $as_echo "$DOXYGEN" >&6; }
76877 else
76878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
76879 $as_echo "no" >&6; }
76883 # Extract the first word of "dot", so it can be a program name with args.
76884 set dummy dot; ac_word=$2
76885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
76886 $as_echo_n "checking for $ac_word... " >&6; }
76887 if ${ac_cv_prog_DOT+:} false; then :
76888 $as_echo_n "(cached) " >&6
76889 else
76890 if test -n "$DOT"; then
76891 ac_cv_prog_DOT="$DOT" # Let the user override the test.
76892 else
76893 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
76894 for as_dir in $PATH
76896 IFS=$as_save_IFS
76897 test -z "$as_dir" && as_dir=.
76898 for ac_exec_ext in '' $ac_executable_extensions; do
76899 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
76900 ac_cv_prog_DOT="yes"
76901 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
76902 break 2
76904 done
76905 done
76906 IFS=$as_save_IFS
76908 test -z "$ac_cv_prog_DOT" && ac_cv_prog_DOT="no"
76911 DOT=$ac_cv_prog_DOT
76912 if test -n "$DOT"; then
76913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
76914 $as_echo "$DOT" >&6; }
76915 else
76916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
76917 $as_echo "no" >&6; }
76922 # Check for docbook
76923 # Extract the first word of "xmlcatalog", so it can be a program name with args.
76924 set dummy xmlcatalog; ac_word=$2
76925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
76926 $as_echo_n "checking for $ac_word... " >&6; }
76927 if ${ac_cv_prog_XMLCATALOG+:} false; then :
76928 $as_echo_n "(cached) " >&6
76929 else
76930 if test -n "$XMLCATALOG"; then
76931 ac_cv_prog_XMLCATALOG="$XMLCATALOG" # Let the user override the test.
76932 else
76933 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
76934 for as_dir in $PATH
76936 IFS=$as_save_IFS
76937 test -z "$as_dir" && as_dir=.
76938 for ac_exec_ext in '' $ac_executable_extensions; do
76939 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
76940 ac_cv_prog_XMLCATALOG="yes"
76941 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
76942 break 2
76944 done
76945 done
76946 IFS=$as_save_IFS
76948 test -z "$ac_cv_prog_XMLCATALOG" && ac_cv_prog_XMLCATALOG="no"
76951 XMLCATALOG=$ac_cv_prog_XMLCATALOG
76952 if test -n "$XMLCATALOG"; then
76953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLCATALOG" >&5
76954 $as_echo "$XMLCATALOG" >&6; }
76955 else
76956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
76957 $as_echo "no" >&6; }
76961 # Extract the first word of "xsltproc", so it can be a program name with args.
76962 set dummy xsltproc; ac_word=$2
76963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
76964 $as_echo_n "checking for $ac_word... " >&6; }
76965 if ${ac_cv_prog_XSLTPROC+:} false; then :
76966 $as_echo_n "(cached) " >&6
76967 else
76968 if test -n "$XSLTPROC"; then
76969 ac_cv_prog_XSLTPROC="$XSLTPROC" # Let the user override the test.
76970 else
76971 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
76972 for as_dir in $PATH
76974 IFS=$as_save_IFS
76975 test -z "$as_dir" && as_dir=.
76976 for ac_exec_ext in '' $ac_executable_extensions; do
76977 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
76978 ac_cv_prog_XSLTPROC="yes"
76979 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
76980 break 2
76982 done
76983 done
76984 IFS=$as_save_IFS
76986 test -z "$ac_cv_prog_XSLTPROC" && ac_cv_prog_XSLTPROC="no"
76989 XSLTPROC=$ac_cv_prog_XSLTPROC
76990 if test -n "$XSLTPROC"; then
76991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
76992 $as_echo "$XSLTPROC" >&6; }
76993 else
76994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
76995 $as_echo "no" >&6; }
76999 # Extract the first word of "xmllint", so it can be a program name with args.
77000 set dummy xmllint; ac_word=$2
77001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
77002 $as_echo_n "checking for $ac_word... " >&6; }
77003 if ${ac_cv_prog_XMLLINT+:} false; then :
77004 $as_echo_n "(cached) " >&6
77005 else
77006 if test -n "$XMLLINT"; then
77007 ac_cv_prog_XMLLINT="$XMLLINT" # Let the user override the test.
77008 else
77009 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77010 for as_dir in $PATH
77012 IFS=$as_save_IFS
77013 test -z "$as_dir" && as_dir=.
77014 for ac_exec_ext in '' $ac_executable_extensions; do
77015 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
77016 ac_cv_prog_XMLLINT="yes"
77017 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
77018 break 2
77020 done
77021 done
77022 IFS=$as_save_IFS
77024 test -z "$ac_cv_prog_XMLLINT" && ac_cv_prog_XMLLINT="no"
77027 XMLLINT=$ac_cv_prog_XMLLINT
77028 if test -n "$XMLLINT"; then
77029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
77030 $as_echo "$XMLLINT" >&6; }
77031 else
77032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
77033 $as_echo "no" >&6; }
77039 glibcxx_docbook_url=http://docbook.sourceforge.net/release/xsl-ns/current/
77041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for local stylesheet directory" >&5
77042 $as_echo_n "checking for local stylesheet directory... " >&6; }
77043 glibcxx_local_stylesheets=no
77044 if test x${XMLCATALOG} = xyes && xsl_style_dir=`xmlcatalog "" $glibcxx_docbook_url 2>/dev/null`
77045 then
77046 XSL_STYLE_DIR=`echo $xsl_style_dir | sed -n 's;^file://;;p'`
77047 glibcxx_local_stylesheets=yes
77048 else
77049 for dir in \
77050 /usr/share/sgml/docbook/xsl-ns-stylesheets \
77051 /usr/share/xml/docbook/stylesheet/docbook-xsl-ns \
77052 /usr/share/xml/docbook/stylesheet/nwalsh5/current \
77053 /usr/share/xml/docbook/stylesheet/nwalsh/current
77055 if test -d $dir; then
77056 glibcxx_local_stylesheets=yes
77057 XSL_STYLE_DIR=$dir
77058 break
77060 done
77062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_local_stylesheets" >&5
77063 $as_echo "$glibcxx_local_stylesheets" >&6; }
77065 if test x"$glibcxx_local_stylesheets" = x"yes"; then
77067 { $as_echo "$as_me:${as_lineno-$LINENO}: $XSL_STYLE_DIR" >&5
77068 $as_echo "$as_me: $XSL_STYLE_DIR" >&6;}
77070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for docbook stylesheets for documentation creation" >&5
77071 $as_echo_n "checking for docbook stylesheets for documentation creation... " >&6; }
77072 glibcxx_stylesheets=no
77073 if test x${XMLCATALOG} = xno || xmlcatalog "" $glibcxx_docbook_url/xhtml/docbook.xsl >/dev/null 2>&1; then
77074 if test x${XSLTPROC} = xyes && echo '<title/>' | xsltproc --noout --nonet --xinclude $glibcxx_docbook_url/xhtml/docbook.xsl - 2>/dev/null; then
77075 glibcxx_stylesheets=yes
77078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_stylesheets" >&5
77079 $as_echo "$glibcxx_stylesheets" >&6; }
77081 else
77082 glibcxx_stylesheets=no
77085 # Check for epub3 dependencies.
77086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for epub3 stylesheets for documentation creation" >&5
77087 $as_echo_n "checking for epub3 stylesheets for documentation creation... " >&6; }
77088 glibcxx_epub_stylesheets=no
77089 if test x"$glibcxx_local_stylesheets" = x"yes"; then
77090 if test -f "$XSL_STYLE_DIR/epub3/chunk.xsl"; then
77091 glibcxx_epub_stylesheets=yes
77094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_epub_stylesheets" >&5
77095 $as_echo "$glibcxx_epub_stylesheets" >&6; }
77096 if test x"$glibcxx_epub_stylesheets" = x"yes"; then
77097 BUILD_EPUB_TRUE=
77098 BUILD_EPUB_FALSE='#'
77099 else
77100 BUILD_EPUB_TRUE='#'
77101 BUILD_EPUB_FALSE=
77107 # Check for xml/html dependencies.
77108 if test $ac_cv_prog_DOXYGEN = "yes" &&
77109 test $ac_cv_prog_DOT = "yes" &&
77110 test $ac_cv_prog_XSLTPROC = "yes" &&
77111 test $ac_cv_prog_XMLLINT = "yes" &&
77112 test $glibcxx_stylesheets = "yes"; then
77113 BUILD_XML_TRUE=
77114 BUILD_XML_FALSE='#'
77115 else
77116 BUILD_XML_TRUE='#'
77117 BUILD_XML_FALSE=
77121 if test $ac_cv_prog_DOXYGEN = "yes" &&
77122 test $ac_cv_prog_DOT = "yes" &&
77123 test $ac_cv_prog_XSLTPROC = "yes" &&
77124 test $ac_cv_prog_XMLLINT = "yes" &&
77125 test $glibcxx_stylesheets = "yes"; then
77126 BUILD_HTML_TRUE=
77127 BUILD_HTML_FALSE='#'
77128 else
77129 BUILD_HTML_TRUE='#'
77130 BUILD_HTML_FALSE=
77134 # Check for man dependencies.
77135 if test $ac_cv_prog_DOXYGEN = "yes" &&
77136 test $ac_cv_prog_DOT = "yes"; then
77137 BUILD_MAN_TRUE=
77138 BUILD_MAN_FALSE='#'
77139 else
77140 BUILD_MAN_TRUE='#'
77141 BUILD_MAN_FALSE=
77145 # Check for pdf dependencies.
77146 # Extract the first word of "dblatex", so it can be a program name with args.
77147 set dummy dblatex; ac_word=$2
77148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
77149 $as_echo_n "checking for $ac_word... " >&6; }
77150 if ${ac_cv_prog_DBLATEX+:} false; then :
77151 $as_echo_n "(cached) " >&6
77152 else
77153 if test -n "$DBLATEX"; then
77154 ac_cv_prog_DBLATEX="$DBLATEX" # Let the user override the test.
77155 else
77156 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77157 for as_dir in $PATH
77159 IFS=$as_save_IFS
77160 test -z "$as_dir" && as_dir=.
77161 for ac_exec_ext in '' $ac_executable_extensions; do
77162 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
77163 ac_cv_prog_DBLATEX="yes"
77164 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
77165 break 2
77167 done
77168 done
77169 IFS=$as_save_IFS
77171 test -z "$ac_cv_prog_DBLATEX" && ac_cv_prog_DBLATEX="no"
77174 DBLATEX=$ac_cv_prog_DBLATEX
77175 if test -n "$DBLATEX"; then
77176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBLATEX" >&5
77177 $as_echo "$DBLATEX" >&6; }
77178 else
77179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
77180 $as_echo "no" >&6; }
77184 # Extract the first word of "pdflatex", so it can be a program name with args.
77185 set dummy pdflatex; ac_word=$2
77186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
77187 $as_echo_n "checking for $ac_word... " >&6; }
77188 if ${ac_cv_prog_PDFLATEX+:} false; then :
77189 $as_echo_n "(cached) " >&6
77190 else
77191 if test -n "$PDFLATEX"; then
77192 ac_cv_prog_PDFLATEX="$PDFLATEX" # Let the user override the test.
77193 else
77194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77195 for as_dir in $PATH
77197 IFS=$as_save_IFS
77198 test -z "$as_dir" && as_dir=.
77199 for ac_exec_ext in '' $ac_executable_extensions; do
77200 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
77201 ac_cv_prog_PDFLATEX="yes"
77202 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
77203 break 2
77205 done
77206 done
77207 IFS=$as_save_IFS
77209 test -z "$ac_cv_prog_PDFLATEX" && ac_cv_prog_PDFLATEX="no"
77212 PDFLATEX=$ac_cv_prog_PDFLATEX
77213 if test -n "$PDFLATEX"; then
77214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PDFLATEX" >&5
77215 $as_echo "$PDFLATEX" >&6; }
77216 else
77217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
77218 $as_echo "no" >&6; }
77222 if test $ac_cv_prog_DOXYGEN = "yes" &&
77223 test $ac_cv_prog_DOT = "yes" &&
77224 test $ac_cv_prog_XSLTPROC = "yes" &&
77225 test $ac_cv_prog_XMLLINT = "yes" &&
77226 test $ac_cv_prog_DBLATEX = "yes" &&
77227 test $ac_cv_prog_PDFLATEX = "yes"; then
77228 BUILD_PDF_TRUE=
77229 BUILD_PDF_FALSE='#'
77230 else
77231 BUILD_PDF_TRUE='#'
77232 BUILD_PDF_FALSE=
77236 case "$build" in
77237 *-*-darwin* ) glibcxx_include_dir_notparallel=yes ;;
77238 * ) glibcxx_include_dir_notparallel=no ;;
77239 esac
77240 if test $glibcxx_include_dir_notparallel = "yes"; then
77241 INCLUDE_DIR_NOTPARALLEL_TRUE=
77242 INCLUDE_DIR_NOTPARALLEL_FALSE='#'
77243 else
77244 INCLUDE_DIR_NOTPARALLEL_TRUE='#'
77245 INCLUDE_DIR_NOTPARALLEL_FALSE=
77249 # Propagate the target-specific source directories through the build chain.
77250 ATOMICITY_SRCDIR=config/${atomicity_dir}
77251 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
77252 ATOMIC_FLAGS=${atomic_flags}
77253 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
77254 OS_INC_SRCDIR=config/${os_include_dir}
77255 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
77256 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
77257 CPU_OPT_EXT_RANDOM=config/${cpu_opt_ext_random}
77258 CPU_OPT_BITS_RANDOM=config/${cpu_opt_bits_random}
77269 # Conditionalize the makefile for this target machine.
77270 tmake_file_=
77271 for f in ${tmake_file}
77273 if test -f ${srcdir}/config/$f
77274 then
77275 tmake_file_="${tmake_file_} \$(srcdir)/config/$f"
77277 done
77278 tmake_file="${tmake_file_}"
77281 # Add CET specific flags if Intel CET is enabled.
77282 # Check whether --enable-cet was given.
77283 if test "${enable_cet+set}" = set; then :
77284 enableval=$enable_cet;
77285 case "$enableval" in
77286 yes|no|auto) ;;
77287 *) as_fn_error $? "Unknown argument to enable/disable cet" "$LINENO" 5 ;;
77288 esac
77290 else
77291 enable_cet=auto
77295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CET support" >&5
77296 $as_echo_n "checking for CET support... " >&6; }
77298 # NB: Avoid nested save_CFLAGS and save_LDFLAGS.
77299 case "$host" in
77300 i[34567]86-*-linux* | x86_64-*-linux*)
77301 case "$enable_cet" in
77302 auto)
77303 # Check if target supports multi-byte NOPs
77304 # and if compiler and assembler support CET insn.
77305 cet_save_CFLAGS="$CFLAGS"
77306 CFLAGS="$CFLAGS -fcf-protection"
77307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77308 /* end confdefs.h. */
77311 main ()
77314 #if !defined(__SSE2__)
77315 #error target does not support multi-byte NOPs
77316 #else
77317 asm ("setssbsy");
77318 #endif
77321 return 0;
77323 _ACEOF
77324 if ac_fn_c_try_compile "$LINENO"; then :
77325 enable_cet=yes
77326 else
77327 enable_cet=no
77329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77330 CFLAGS="$cet_save_CFLAGS"
77332 yes)
77333 # Check if assembler supports CET.
77334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77335 /* end confdefs.h. */
77338 main ()
77340 asm ("setssbsy");
77342 return 0;
77344 _ACEOF
77345 if ac_fn_c_try_compile "$LINENO"; then :
77347 else
77348 as_fn_error $? "assembler with CET support is required for --enable-cet" "$LINENO" 5
77350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77352 esac
77355 enable_cet=no
77357 esac
77358 if test x$enable_cet = xyes; then
77359 CET_FLAGS="-fcf-protection -mshstk"
77360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
77361 $as_echo "yes" >&6; }
77362 else
77363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
77364 $as_echo "no" >&6; }
77367 EXTRA_CXX_FLAGS="$EXTRA_CXX_FLAGS $CET_FLAGS"
77368 EXTRA_CFLAGS="$EXTRA_CFLAGS $CET_FLAGS"
77372 # Determine cross-compile flags and AM_CONDITIONALs.
77373 #AC_SUBST(GLIBCXX_IS_NATIVE)
77374 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
77375 if test $is_hosted = yes; then
77376 GLIBCXX_HOSTED_TRUE=
77377 GLIBCXX_HOSTED_FALSE='#'
77378 else
77379 GLIBCXX_HOSTED_TRUE='#'
77380 GLIBCXX_HOSTED_FALSE=
77384 if test $enable_libstdcxx_pch = yes; then
77385 GLIBCXX_BUILD_PCH_TRUE=
77386 GLIBCXX_BUILD_PCH_FALSE='#'
77387 else
77388 GLIBCXX_BUILD_PCH_TRUE='#'
77389 GLIBCXX_BUILD_PCH_FALSE=
77393 if test $enable_float128 = yes; then
77394 ENABLE_FLOAT128_TRUE=
77395 ENABLE_FLOAT128_FALSE='#'
77396 else
77397 ENABLE_FLOAT128_TRUE='#'
77398 ENABLE_FLOAT128_FALSE=
77402 if test $enable_libstdcxx_allocator_flag = new; then
77403 ENABLE_ALLOCATOR_NEW_TRUE=
77404 ENABLE_ALLOCATOR_NEW_FALSE='#'
77405 else
77406 ENABLE_ALLOCATOR_NEW_TRUE='#'
77407 ENABLE_ALLOCATOR_NEW_FALSE=
77411 if test $enable_cheaders = c; then
77412 GLIBCXX_C_HEADERS_C_TRUE=
77413 GLIBCXX_C_HEADERS_C_FALSE='#'
77414 else
77415 GLIBCXX_C_HEADERS_C_TRUE='#'
77416 GLIBCXX_C_HEADERS_C_FALSE=
77420 if test $enable_cheaders = c_std; then
77421 GLIBCXX_C_HEADERS_C_STD_TRUE=
77422 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
77423 else
77424 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
77425 GLIBCXX_C_HEADERS_C_STD_FALSE=
77429 if test $enable_cheaders = c_global; then
77430 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
77431 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
77432 else
77433 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
77434 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
77438 if test $c_compatibility = yes; then
77439 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
77440 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
77441 else
77442 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
77443 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
77447 if test $enable_libstdcxx_debug = yes; then
77448 GLIBCXX_BUILD_DEBUG_TRUE=
77449 GLIBCXX_BUILD_DEBUG_FALSE='#'
77450 else
77451 GLIBCXX_BUILD_DEBUG_TRUE='#'
77452 GLIBCXX_BUILD_DEBUG_FALSE=
77456 if test $enable_extern_template = yes; then
77457 ENABLE_EXTERN_TEMPLATE_TRUE=
77458 ENABLE_EXTERN_TEMPLATE_FALSE='#'
77459 else
77460 ENABLE_EXTERN_TEMPLATE_TRUE='#'
77461 ENABLE_EXTERN_TEMPLATE_FALSE=
77465 if test $python_mod_dir != no; then
77466 ENABLE_PYTHONDIR_TRUE=
77467 ENABLE_PYTHONDIR_FALSE='#'
77468 else
77469 ENABLE_PYTHONDIR_TRUE='#'
77470 ENABLE_PYTHONDIR_FALSE=
77474 if test $enable_werror = yes; then
77475 ENABLE_WERROR_TRUE=
77476 ENABLE_WERROR_FALSE='#'
77477 else
77478 ENABLE_WERROR_TRUE='#'
77479 ENABLE_WERROR_FALSE=
77483 if test $enable_vtable_verify = yes; then
77484 ENABLE_VTABLE_VERIFY_TRUE=
77485 ENABLE_VTABLE_VERIFY_FALSE='#'
77486 else
77487 ENABLE_VTABLE_VERIFY_TRUE='#'
77488 ENABLE_VTABLE_VERIFY_FALSE=
77492 if test $enable_symvers != no; then
77493 ENABLE_SYMVERS_TRUE=
77494 ENABLE_SYMVERS_FALSE='#'
77495 else
77496 ENABLE_SYMVERS_TRUE='#'
77497 ENABLE_SYMVERS_FALSE=
77501 if test $enable_symvers = gnu; then
77502 ENABLE_SYMVERS_GNU_TRUE=
77503 ENABLE_SYMVERS_GNU_FALSE='#'
77504 else
77505 ENABLE_SYMVERS_GNU_TRUE='#'
77506 ENABLE_SYMVERS_GNU_FALSE=
77510 if test $enable_symvers = gnu-versioned-namespace; then
77511 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
77512 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
77513 else
77514 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
77515 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
77519 if test $enable_symvers = darwin; then
77520 ENABLE_SYMVERS_DARWIN_TRUE=
77521 ENABLE_SYMVERS_DARWIN_FALSE='#'
77522 else
77523 ENABLE_SYMVERS_DARWIN_TRUE='#'
77524 ENABLE_SYMVERS_DARWIN_FALSE=
77528 if test $enable_symvers = sun; then
77529 ENABLE_SYMVERS_SUN_TRUE=
77530 ENABLE_SYMVERS_SUN_FALSE='#'
77531 else
77532 ENABLE_SYMVERS_SUN_TRUE='#'
77533 ENABLE_SYMVERS_SUN_FALSE=
77537 if test $enable_libstdcxx_visibility = yes; then
77538 ENABLE_VISIBILITY_TRUE=
77539 ENABLE_VISIBILITY_FALSE='#'
77540 else
77541 ENABLE_VISIBILITY_TRUE='#'
77542 ENABLE_VISIBILITY_FALSE=
77546 if test $enable_libstdcxx_dual_abi = yes; then
77547 ENABLE_DUAL_ABI_TRUE=
77548 ENABLE_DUAL_ABI_FALSE='#'
77549 else
77550 ENABLE_DUAL_ABI_TRUE='#'
77551 ENABLE_DUAL_ABI_FALSE=
77555 if test $glibcxx_cxx11_abi = 1; then
77556 ENABLE_CXX11_ABI_TRUE=
77557 ENABLE_CXX11_ABI_FALSE='#'
77558 else
77559 ENABLE_CXX11_ABI_TRUE='#'
77560 ENABLE_CXX11_ABI_FALSE=
77564 if test $ac_ldbl_compat = yes; then
77565 GLIBCXX_LDBL_COMPAT_TRUE=
77566 GLIBCXX_LDBL_COMPAT_FALSE='#'
77567 else
77568 GLIBCXX_LDBL_COMPAT_TRUE='#'
77569 GLIBCXX_LDBL_COMPAT_FALSE=
77573 if test $ac_ldbl_alt128_compat = yes; then
77574 GLIBCXX_LDBL_ALT128_COMPAT_TRUE=
77575 GLIBCXX_LDBL_ALT128_COMPAT_FALSE='#'
77576 else
77577 GLIBCXX_LDBL_ALT128_COMPAT_TRUE='#'
77578 GLIBCXX_LDBL_ALT128_COMPAT_FALSE=
77582 if test $enable_libstdcxx_filesystem_ts = yes; then
77583 ENABLE_FILESYSTEM_TS_TRUE=
77584 ENABLE_FILESYSTEM_TS_FALSE='#'
77585 else
77586 ENABLE_FILESYSTEM_TS_TRUE='#'
77587 ENABLE_FILESYSTEM_TS_FALSE=
77593 cat >confcache <<\_ACEOF
77594 # This file is a shell script that caches the results of configure
77595 # tests run on this system so they can be shared between configure
77596 # scripts and configure runs, see configure's option --config-cache.
77597 # It is not useful on other systems. If it contains results you don't
77598 # want to keep, you may remove or edit it.
77600 # config.status only pays attention to the cache file if you give it
77601 # the --recheck option to rerun configure.
77603 # `ac_cv_env_foo' variables (set or unset) will be overridden when
77604 # loading this file, other *unset* `ac_cv_foo' will be assigned the
77605 # following values.
77607 _ACEOF
77609 # The following way of writing the cache mishandles newlines in values,
77610 # but we know of no workaround that is simple, portable, and efficient.
77611 # So, we kill variables containing newlines.
77612 # Ultrix sh set writes to stderr and can't be redirected directly,
77613 # and sets the high bit in the cache file unless we assign to the vars.
77615 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
77616 eval ac_val=\$$ac_var
77617 case $ac_val in #(
77618 *${as_nl}*)
77619 case $ac_var in #(
77620 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
77621 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
77622 esac
77623 case $ac_var in #(
77624 _ | IFS | as_nl) ;; #(
77625 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
77626 *) { eval $ac_var=; unset $ac_var;} ;;
77627 esac ;;
77628 esac
77629 done
77631 (set) 2>&1 |
77632 case $as_nl`(ac_space=' '; set) 2>&1` in #(
77633 *${as_nl}ac_space=\ *)
77634 # `set' does not quote correctly, so add quotes: double-quote
77635 # substitution turns \\\\ into \\, and sed turns \\ into \.
77636 sed -n \
77637 "s/'/'\\\\''/g;
77638 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
77639 ;; #(
77641 # `set' quotes correctly as required by POSIX, so do not add quotes.
77642 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
77644 esac |
77645 sort
77647 sed '
77648 /^ac_cv_env_/b end
77649 t clear
77650 :clear
77651 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
77652 t end
77653 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
77654 :end' >>confcache
77655 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
77656 if test -w "$cache_file"; then
77657 if test "x$cache_file" != "x/dev/null"; then
77658 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
77659 $as_echo "$as_me: updating cache $cache_file" >&6;}
77660 if test ! -f "$cache_file" || test -h "$cache_file"; then
77661 cat confcache >"$cache_file"
77662 else
77663 case $cache_file in #(
77664 */* | ?:*)
77665 mv -f confcache "$cache_file"$$ &&
77666 mv -f "$cache_file"$$ "$cache_file" ;; #(
77668 mv -f confcache "$cache_file" ;;
77669 esac
77672 else
77673 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
77674 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
77677 rm -f confcache
77679 if test ${multilib} = yes; then
77680 multilib_arg="--enable-multilib"
77681 else
77682 multilib_arg=
77685 # Export all the install information.
77687 glibcxx_toolexecdir=no
77688 glibcxx_toolexeclibdir=no
77689 glibcxx_prefixdir=$prefix
77691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gxx-include-dir" >&5
77692 $as_echo_n "checking for gxx-include-dir... " >&6; }
77694 # Check whether --with-gxx-include-dir was given.
77695 if test "${with_gxx_include_dir+set}" = set; then :
77696 withval=$with_gxx_include_dir; case "$withval" in
77697 yes) as_fn_error $? "Missing directory for --with-gxx-include-dir" "$LINENO" 5 ;;
77698 no) gxx_include_dir=no ;;
77699 *) gxx_include_dir=$withval ;;
77700 esac
77701 else
77702 gxx_include_dir=no
77705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
77706 $as_echo "$gxx_include_dir" >&6; }
77708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
77709 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
77710 # Check whether --enable-version-specific-runtime-libs was given.
77711 if test "${enable_version_specific_runtime_libs+set}" = set; then :
77712 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
77713 yes) version_specific_libs=yes ;;
77714 no) version_specific_libs=no ;;
77715 *) as_fn_error $? "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
77716 esac
77717 else
77718 version_specific_libs=no
77721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
77722 $as_echo "$version_specific_libs" >&6; }
77725 # Check whether --with-toolexeclibdir was given.
77726 if test "${with_toolexeclibdir+set}" = set; then :
77727 withval=$with_toolexeclibdir; case ${with_toolexeclibdir} in
77731 with_toolexeclibdir=`echo $with_toolexeclibdir | sed 's,/$,,'`
77733 esac
77734 else
77735 with_toolexeclibdir=no
77740 # Default case for install directory for include files.
77741 if test $version_specific_libs = no && test $gxx_include_dir = no; then
77742 gxx_include_dir='include/c++/${gcc_version}'
77743 if test -n "$with_cross_host" &&
77744 test x"$with_cross_host" != x"no"; then
77745 gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
77746 else
77747 gxx_include_dir='${prefix}/'"$gxx_include_dir"
77751 # Version-specific runtime libs processing.
77752 if test $version_specific_libs = yes; then
77753 # Need the gcc compiler version to know where to install libraries
77754 # and header files if --enable-version-specific-runtime-libs option
77755 # is selected. FIXME: these variables are misnamed, there are
77756 # no executables installed in _toolexecdir or _toolexeclibdir.
77757 if test x"$gxx_include_dir" = x"no"; then
77758 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
77760 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
77761 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
77764 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
77765 # Install a library built with a cross compiler in tooldir, not libdir.
77766 if test x"$glibcxx_toolexecdir" = x"no"; then
77767 if test -n "$with_cross_host" &&
77768 test x"$with_cross_host" != x"no"; then
77769 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
77770 case ${with_toolexeclibdir} in
77772 glibcxx_toolexeclibdir='${toolexecdir}/lib'
77775 glibcxx_toolexeclibdir=${with_toolexeclibdir}
77777 esac
77778 else
77779 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
77780 glibcxx_toolexeclibdir='${libdir}'
77782 multi_os_directory=`$CXX -print-multi-os-directory`
77783 case $multi_os_directory in
77784 .) ;; # Avoid trailing /.
77785 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
77786 esac
77789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for install location" >&5
77790 $as_echo_n "checking for install location... " >&6; }
77791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
77792 $as_echo "$gxx_include_dir" >&6; }
77800 # Export all the include and flag information to Makefiles.
77802 # Used for every C++ compile we perform.
77803 GLIBCXX_INCLUDES="\
77804 -I$glibcxx_builddir/include/$host_alias \
77805 -I$glibcxx_builddir/include \
77806 -I$glibcxx_srcdir/libsupc++"
77808 # For Canadian crosses, pick this up too.
77809 if test $CANADIAN = yes; then
77810 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
77813 # Stuff in the actual top level. Currently only used by libsupc++ to
77814 # get unwind* headers from the libgcc dir.
77815 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc -I$(toplevel_srcdir)/include'
77816 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc'
77818 # Now, export this to all the little Makefiles....
77823 # Optimization flags that are probably a good idea for thrill-seekers. Just
77824 # uncomment the lines below and make, everything else is ready to go...
77825 # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
77826 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
77829 WARN_FLAGS="-Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi=2"
77833 # Determine what GCC version number to use in filesystem paths.
77835 get_gcc_base_ver="cat"
77837 # Check whether --with-gcc-major-version-only was given.
77838 if test "${with_gcc_major_version_only+set}" = set; then :
77839 withval=$with_gcc_major_version_only; if test x$with_gcc_major_version_only = xyes ; then
77840 get_gcc_base_ver="sed -e 's/^\([0-9]*\).*/\1/'"
77848 ac_config_files="$ac_config_files Makefile"
77850 ac_config_files="$ac_config_files scripts/testsuite_flags"
77852 ac_config_files="$ac_config_files scripts/extract_symvers"
77854 ac_config_files="$ac_config_files doc/xsl/customization.xsl"
77857 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
77858 # that multilib installs will end up installed in the correct place.
77859 # The testsuite needs it for multilib-aware ABI baseline files.
77860 # To work around this not being passed down from config-ml.in ->
77861 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
77862 # append it here. Only modify Makefiles that have just been created.
77864 # Also, get rid of this simulated-VPATH thing that automake does.
77865 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"
77868 ac_config_commands="$ac_config_commands generate-headers"
77871 cat >confcache <<\_ACEOF
77872 # This file is a shell script that caches the results of configure
77873 # tests run on this system so they can be shared between configure
77874 # scripts and configure runs, see configure's option --config-cache.
77875 # It is not useful on other systems. If it contains results you don't
77876 # want to keep, you may remove or edit it.
77878 # config.status only pays attention to the cache file if you give it
77879 # the --recheck option to rerun configure.
77881 # `ac_cv_env_foo' variables (set or unset) will be overridden when
77882 # loading this file, other *unset* `ac_cv_foo' will be assigned the
77883 # following values.
77885 _ACEOF
77887 # The following way of writing the cache mishandles newlines in values,
77888 # but we know of no workaround that is simple, portable, and efficient.
77889 # So, we kill variables containing newlines.
77890 # Ultrix sh set writes to stderr and can't be redirected directly,
77891 # and sets the high bit in the cache file unless we assign to the vars.
77893 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
77894 eval ac_val=\$$ac_var
77895 case $ac_val in #(
77896 *${as_nl}*)
77897 case $ac_var in #(
77898 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
77899 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
77900 esac
77901 case $ac_var in #(
77902 _ | IFS | as_nl) ;; #(
77903 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
77904 *) { eval $ac_var=; unset $ac_var;} ;;
77905 esac ;;
77906 esac
77907 done
77909 (set) 2>&1 |
77910 case $as_nl`(ac_space=' '; set) 2>&1` in #(
77911 *${as_nl}ac_space=\ *)
77912 # `set' does not quote correctly, so add quotes: double-quote
77913 # substitution turns \\\\ into \\, and sed turns \\ into \.
77914 sed -n \
77915 "s/'/'\\\\''/g;
77916 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
77917 ;; #(
77919 # `set' quotes correctly as required by POSIX, so do not add quotes.
77920 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
77922 esac |
77923 sort
77925 sed '
77926 /^ac_cv_env_/b end
77927 t clear
77928 :clear
77929 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
77930 t end
77931 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
77932 :end' >>confcache
77933 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
77934 if test -w "$cache_file"; then
77935 if test "x$cache_file" != "x/dev/null"; then
77936 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
77937 $as_echo "$as_me: updating cache $cache_file" >&6;}
77938 if test ! -f "$cache_file" || test -h "$cache_file"; then
77939 cat confcache >"$cache_file"
77940 else
77941 case $cache_file in #(
77942 */* | ?:*)
77943 mv -f confcache "$cache_file"$$ &&
77944 mv -f "$cache_file"$$ "$cache_file" ;; #(
77946 mv -f confcache "$cache_file" ;;
77947 esac
77950 else
77951 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
77952 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
77955 rm -f confcache
77957 test "x$prefix" = xNONE && prefix=$ac_default_prefix
77958 # Let make expand exec_prefix.
77959 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
77961 DEFS=-DHAVE_CONFIG_H
77963 ac_libobjs=
77964 ac_ltlibobjs=
77966 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
77967 # 1. Remove the extension, and $U if already installed.
77968 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
77969 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
77970 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
77971 # will be set to the directory where LIBOBJS objects are built.
77972 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
77973 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
77974 done
77975 LIBOBJS=$ac_libobjs
77977 LTLIBOBJS=$ac_ltlibobjs
77980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
77981 $as_echo_n "checking that generated files are newer than configure... " >&6; }
77982 if test -n "$am_sleep_pid"; then
77983 # Hide warnings about reused PIDs.
77984 wait $am_sleep_pid 2>/dev/null
77986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
77987 $as_echo "done" >&6; }
77988 if test -n "$EXEEXT"; then
77989 am__EXEEXT_TRUE=
77990 am__EXEEXT_FALSE='#'
77991 else
77992 am__EXEEXT_TRUE='#'
77993 am__EXEEXT_FALSE=
77996 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
77997 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
77998 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78000 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
78001 as_fn_error $? "conditional \"GLIBCXX_HOSTED\" was never defined.
78002 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78004 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
78005 as_fn_error $? "conditional \"GLIBCXX_BUILD_PCH\" was never defined.
78006 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78008 if test -z "${ENABLE_FLOAT128_TRUE}" && test -z "${ENABLE_FLOAT128_FALSE}"; then
78009 as_fn_error $? "conditional \"ENABLE_FLOAT128\" was never defined.
78010 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78012 if test -z "${ENABLE_ALLOCATOR_NEW_TRUE}" && test -z "${ENABLE_ALLOCATOR_NEW_FALSE}"; then
78013 as_fn_error $? "conditional \"ENABLE_ALLOCATOR_NEW\" was never defined.
78014 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78016 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
78017 as_fn_error $? "conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
78018 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78020 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
78021 as_fn_error $? "conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
78022 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78024 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
78025 as_fn_error $? "conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
78026 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78028 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
78029 as_fn_error $? "conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
78030 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78032 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
78033 as_fn_error $? "conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
78034 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78036 if test -z "${ENABLE_EXTERN_TEMPLATE_TRUE}" && test -z "${ENABLE_EXTERN_TEMPLATE_FALSE}"; then
78037 as_fn_error $? "conditional \"ENABLE_EXTERN_TEMPLATE\" was never defined.
78038 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78040 if test -z "${ENABLE_PYTHONDIR_TRUE}" && test -z "${ENABLE_PYTHONDIR_FALSE}"; then
78041 as_fn_error $? "conditional \"ENABLE_PYTHONDIR\" was never defined.
78042 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78044 if test -z "${ENABLE_WERROR_TRUE}" && test -z "${ENABLE_WERROR_FALSE}"; then
78045 as_fn_error $? "conditional \"ENABLE_WERROR\" was never defined.
78046 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78048 if test -z "${VTV_CYGMIN_TRUE}" && test -z "${VTV_CYGMIN_FALSE}"; then
78049 as_fn_error $? "conditional \"VTV_CYGMIN\" was never defined.
78050 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78052 if test -z "${ENABLE_VTABLE_VERIFY_TRUE}" && test -z "${ENABLE_VTABLE_VERIFY_FALSE}"; then
78053 as_fn_error $? "conditional \"ENABLE_VTABLE_VERIFY\" was never defined.
78054 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78056 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
78057 as_fn_error $? "conditional \"ENABLE_SYMVERS\" was never defined.
78058 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78060 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
78061 as_fn_error $? "conditional \"ENABLE_SYMVERS_GNU\" was never defined.
78062 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78064 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
78065 as_fn_error $? "conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
78066 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78068 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
78069 as_fn_error $? "conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
78070 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78072 if test -z "${ENABLE_SYMVERS_SUN_TRUE}" && test -z "${ENABLE_SYMVERS_SUN_FALSE}"; then
78073 as_fn_error $? "conditional \"ENABLE_SYMVERS_SUN\" was never defined.
78074 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78076 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
78077 as_fn_error $? "conditional \"ENABLE_VISIBILITY\" was never defined.
78078 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78080 if test -z "${ENABLE_DUAL_ABI_TRUE}" && test -z "${ENABLE_DUAL_ABI_FALSE}"; then
78081 as_fn_error $? "conditional \"ENABLE_DUAL_ABI\" was never defined.
78082 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78084 if test -z "${ENABLE_CXX11_ABI_TRUE}" && test -z "${ENABLE_CXX11_ABI_FALSE}"; then
78085 as_fn_error $? "conditional \"ENABLE_CXX11_ABI\" was never defined.
78086 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78088 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
78089 as_fn_error $? "conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
78090 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78092 if test -z "${GLIBCXX_LDBL_ALT128_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_ALT128_COMPAT_FALSE}"; then
78093 as_fn_error $? "conditional \"GLIBCXX_LDBL_ALT128_COMPAT\" was never defined.
78094 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78096 if test -z "${ENABLE_FILESYSTEM_TS_TRUE}" && test -z "${ENABLE_FILESYSTEM_TS_FALSE}"; then
78097 as_fn_error $? "conditional \"ENABLE_FILESYSTEM_TS\" was never defined.
78098 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78100 if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
78101 as_fn_error $? "conditional \"BUILD_INFO\" was never defined.
78102 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78104 if test -z "${BUILD_EPUB_TRUE}" && test -z "${BUILD_EPUB_FALSE}"; then
78105 as_fn_error $? "conditional \"BUILD_EPUB\" was never defined.
78106 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78108 if test -z "${BUILD_XML_TRUE}" && test -z "${BUILD_XML_FALSE}"; then
78109 as_fn_error $? "conditional \"BUILD_XML\" was never defined.
78110 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78112 if test -z "${BUILD_HTML_TRUE}" && test -z "${BUILD_HTML_FALSE}"; then
78113 as_fn_error $? "conditional \"BUILD_HTML\" was never defined.
78114 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78116 if test -z "${BUILD_MAN_TRUE}" && test -z "${BUILD_MAN_FALSE}"; then
78117 as_fn_error $? "conditional \"BUILD_MAN\" was never defined.
78118 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78120 if test -z "${BUILD_PDF_TRUE}" && test -z "${BUILD_PDF_FALSE}"; then
78121 as_fn_error $? "conditional \"BUILD_PDF\" was never defined.
78122 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78124 if test -z "${INCLUDE_DIR_NOTPARALLEL_TRUE}" && test -z "${INCLUDE_DIR_NOTPARALLEL_FALSE}"; then
78125 as_fn_error $? "conditional \"INCLUDE_DIR_NOTPARALLEL\" was never defined.
78126 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78129 : "${CONFIG_STATUS=./config.status}"
78130 ac_write_fail=0
78131 ac_clean_files_save=$ac_clean_files
78132 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
78133 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
78134 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
78135 as_write_fail=0
78136 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
78137 #! $SHELL
78138 # Generated by $as_me.
78139 # Run this file to recreate the current configuration.
78140 # Compiler output produced by configure, useful for debugging
78141 # configure, is in config.log if it exists.
78143 debug=false
78144 ac_cs_recheck=false
78145 ac_cs_silent=false
78147 SHELL=\${CONFIG_SHELL-$SHELL}
78148 export SHELL
78149 _ASEOF
78150 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
78151 ## -------------------- ##
78152 ## M4sh Initialization. ##
78153 ## -------------------- ##
78155 # Be more Bourne compatible
78156 DUALCASE=1; export DUALCASE # for MKS sh
78157 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
78158 emulate sh
78159 NULLCMD=:
78160 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
78161 # is contrary to our usage. Disable this feature.
78162 alias -g '${1+"$@"}'='"$@"'
78163 setopt NO_GLOB_SUBST
78164 else
78165 case `(set -o) 2>/dev/null` in #(
78166 *posix*) :
78167 set -o posix ;; #(
78168 *) :
78170 esac
78174 as_nl='
78176 export as_nl
78177 # Printing a long string crashes Solaris 7 /usr/bin/printf.
78178 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
78179 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
78180 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
78181 # Prefer a ksh shell builtin over an external printf program on Solaris,
78182 # but without wasting forks for bash or zsh.
78183 if test -z "$BASH_VERSION$ZSH_VERSION" \
78184 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
78185 as_echo='print -r --'
78186 as_echo_n='print -rn --'
78187 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
78188 as_echo='printf %s\n'
78189 as_echo_n='printf %s'
78190 else
78191 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
78192 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
78193 as_echo_n='/usr/ucb/echo -n'
78194 else
78195 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
78196 as_echo_n_body='eval
78197 arg=$1;
78198 case $arg in #(
78199 *"$as_nl"*)
78200 expr "X$arg" : "X\\(.*\\)$as_nl";
78201 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
78202 esac;
78203 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
78205 export as_echo_n_body
78206 as_echo_n='sh -c $as_echo_n_body as_echo'
78208 export as_echo_body
78209 as_echo='sh -c $as_echo_body as_echo'
78212 # The user is always right.
78213 if test "${PATH_SEPARATOR+set}" != set; then
78214 PATH_SEPARATOR=:
78215 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78216 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
78217 PATH_SEPARATOR=';'
78222 # IFS
78223 # We need space, tab and new line, in precisely that order. Quoting is
78224 # there to prevent editors from complaining about space-tab.
78225 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
78226 # splitting by setting IFS to empty value.)
78227 IFS=" "" $as_nl"
78229 # Find who we are. Look in the path if we contain no directory separator.
78230 as_myself=
78231 case $0 in #((
78232 *[\\/]* ) as_myself=$0 ;;
78233 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
78234 for as_dir in $PATH
78236 IFS=$as_save_IFS
78237 test -z "$as_dir" && as_dir=.
78238 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
78239 done
78240 IFS=$as_save_IFS
78243 esac
78244 # We did not find ourselves, most probably we were run as `sh COMMAND'
78245 # in which case we are not to be found in the path.
78246 if test "x$as_myself" = x; then
78247 as_myself=$0
78249 if test ! -f "$as_myself"; then
78250 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
78251 exit 1
78254 # Unset variables that we do not need and which cause bugs (e.g. in
78255 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
78256 # suppresses any "Segmentation fault" message there. '((' could
78257 # trigger a bug in pdksh 5.2.14.
78258 for as_var in BASH_ENV ENV MAIL MAILPATH
78259 do eval test x\${$as_var+set} = xset \
78260 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
78261 done
78262 PS1='$ '
78263 PS2='> '
78264 PS4='+ '
78266 # NLS nuisances.
78267 LC_ALL=C
78268 export LC_ALL
78269 LANGUAGE=C
78270 export LANGUAGE
78272 # CDPATH.
78273 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
78276 # as_fn_error STATUS ERROR [LINENO LOG_FD]
78277 # ----------------------------------------
78278 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
78279 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
78280 # script with STATUS, using 1 if that was 0.
78281 as_fn_error ()
78283 as_status=$1; test $as_status -eq 0 && as_status=1
78284 if test "$4"; then
78285 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
78286 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
78288 $as_echo "$as_me: error: $2" >&2
78289 as_fn_exit $as_status
78290 } # as_fn_error
78293 # as_fn_set_status STATUS
78294 # -----------------------
78295 # Set $? to STATUS, without forking.
78296 as_fn_set_status ()
78298 return $1
78299 } # as_fn_set_status
78301 # as_fn_exit STATUS
78302 # -----------------
78303 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
78304 as_fn_exit ()
78306 set +e
78307 as_fn_set_status $1
78308 exit $1
78309 } # as_fn_exit
78311 # as_fn_unset VAR
78312 # ---------------
78313 # Portably unset VAR.
78314 as_fn_unset ()
78316 { eval $1=; unset $1;}
78318 as_unset=as_fn_unset
78319 # as_fn_append VAR VALUE
78320 # ----------------------
78321 # Append the text in VALUE to the end of the definition contained in VAR. Take
78322 # advantage of any shell optimizations that allow amortized linear growth over
78323 # repeated appends, instead of the typical quadratic growth present in naive
78324 # implementations.
78325 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
78326 eval 'as_fn_append ()
78328 eval $1+=\$2
78330 else
78331 as_fn_append ()
78333 eval $1=\$$1\$2
78335 fi # as_fn_append
78337 # as_fn_arith ARG...
78338 # ------------------
78339 # Perform arithmetic evaluation on the ARGs, and store the result in the
78340 # global $as_val. Take advantage of shells that can avoid forks. The arguments
78341 # must be portable across $(()) and expr.
78342 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
78343 eval 'as_fn_arith ()
78345 as_val=$(( $* ))
78347 else
78348 as_fn_arith ()
78350 as_val=`expr "$@" || test $? -eq 1`
78352 fi # as_fn_arith
78355 if expr a : '\(a\)' >/dev/null 2>&1 &&
78356 test "X`expr 00001 : '.*\(...\)'`" = X001; then
78357 as_expr=expr
78358 else
78359 as_expr=false
78362 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
78363 as_basename=basename
78364 else
78365 as_basename=false
78368 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
78369 as_dirname=dirname
78370 else
78371 as_dirname=false
78374 as_me=`$as_basename -- "$0" ||
78375 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
78376 X"$0" : 'X\(//\)$' \| \
78377 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
78378 $as_echo X/"$0" |
78379 sed '/^.*\/\([^/][^/]*\)\/*$/{
78380 s//\1/
78383 /^X\/\(\/\/\)$/{
78384 s//\1/
78387 /^X\/\(\/\).*/{
78388 s//\1/
78391 s/.*/./; q'`
78393 # Avoid depending upon Character Ranges.
78394 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
78395 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
78396 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
78397 as_cr_digits='0123456789'
78398 as_cr_alnum=$as_cr_Letters$as_cr_digits
78400 ECHO_C= ECHO_N= ECHO_T=
78401 case `echo -n x` in #(((((
78402 -n*)
78403 case `echo 'xy\c'` in
78404 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
78405 xy) ECHO_C='\c';;
78406 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
78407 ECHO_T=' ';;
78408 esac;;
78410 ECHO_N='-n';;
78411 esac
78413 rm -f conf$$ conf$$.exe conf$$.file
78414 if test -d conf$$.dir; then
78415 rm -f conf$$.dir/conf$$.file
78416 else
78417 rm -f conf$$.dir
78418 mkdir conf$$.dir 2>/dev/null
78420 if (echo >conf$$.file) 2>/dev/null; then
78421 if ln -s conf$$.file conf$$ 2>/dev/null; then
78422 as_ln_s='ln -s'
78423 # ... but there are two gotchas:
78424 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
78425 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
78426 # In both cases, we have to default to `cp -pR'.
78427 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
78428 as_ln_s='cp -pR'
78429 elif ln conf$$.file conf$$ 2>/dev/null; then
78430 as_ln_s=ln
78431 else
78432 as_ln_s='cp -pR'
78434 else
78435 as_ln_s='cp -pR'
78437 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
78438 rmdir conf$$.dir 2>/dev/null
78441 # as_fn_mkdir_p
78442 # -------------
78443 # Create "$as_dir" as a directory, including parents if necessary.
78444 as_fn_mkdir_p ()
78447 case $as_dir in #(
78448 -*) as_dir=./$as_dir;;
78449 esac
78450 test -d "$as_dir" || eval $as_mkdir_p || {
78451 as_dirs=
78452 while :; do
78453 case $as_dir in #(
78454 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
78455 *) as_qdir=$as_dir;;
78456 esac
78457 as_dirs="'$as_qdir' $as_dirs"
78458 as_dir=`$as_dirname -- "$as_dir" ||
78459 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
78460 X"$as_dir" : 'X\(//\)[^/]' \| \
78461 X"$as_dir" : 'X\(//\)$' \| \
78462 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
78463 $as_echo X"$as_dir" |
78464 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
78465 s//\1/
78468 /^X\(\/\/\)[^/].*/{
78469 s//\1/
78472 /^X\(\/\/\)$/{
78473 s//\1/
78476 /^X\(\/\).*/{
78477 s//\1/
78480 s/.*/./; q'`
78481 test -d "$as_dir" && break
78482 done
78483 test -z "$as_dirs" || eval "mkdir $as_dirs"
78484 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
78487 } # as_fn_mkdir_p
78488 if mkdir -p . 2>/dev/null; then
78489 as_mkdir_p='mkdir -p "$as_dir"'
78490 else
78491 test -d ./-p && rmdir ./-p
78492 as_mkdir_p=false
78496 # as_fn_executable_p FILE
78497 # -----------------------
78498 # Test if FILE is an executable regular file.
78499 as_fn_executable_p ()
78501 test -f "$1" && test -x "$1"
78502 } # as_fn_executable_p
78503 as_test_x='test -x'
78504 as_executable_p=as_fn_executable_p
78506 # Sed expression to map a string onto a valid CPP name.
78507 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
78509 # Sed expression to map a string onto a valid variable name.
78510 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
78513 exec 6>&1
78514 ## ----------------------------------- ##
78515 ## Main body of $CONFIG_STATUS script. ##
78516 ## ----------------------------------- ##
78517 _ASEOF
78518 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
78520 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
78521 # Save the log message, to keep $0 and so on meaningful, and to
78522 # report actual input values of CONFIG_FILES etc. instead of their
78523 # values after options handling.
78524 ac_log="
78525 This file was extended by package-unused $as_me version-unused, which was
78526 generated by GNU Autoconf 2.69. Invocation command line was
78528 CONFIG_FILES = $CONFIG_FILES
78529 CONFIG_HEADERS = $CONFIG_HEADERS
78530 CONFIG_LINKS = $CONFIG_LINKS
78531 CONFIG_COMMANDS = $CONFIG_COMMANDS
78532 $ $0 $@
78534 on `(hostname || uname -n) 2>/dev/null | sed 1q`
78537 _ACEOF
78539 case $ac_config_files in *"
78540 "*) set x $ac_config_files; shift; ac_config_files=$*;;
78541 esac
78543 case $ac_config_headers in *"
78544 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
78545 esac
78548 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
78549 # Files that config.status was made for.
78550 config_files="$ac_config_files"
78551 config_headers="$ac_config_headers"
78552 config_commands="$ac_config_commands"
78554 _ACEOF
78556 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
78557 ac_cs_usage="\
78558 \`$as_me' instantiates files and other configuration actions
78559 from templates according to the current configuration. Unless the files
78560 and actions are specified as TAGs, all are instantiated by default.
78562 Usage: $0 [OPTION]... [TAG]...
78564 -h, --help print this help, then exit
78565 -V, --version print version number and configuration settings, then exit
78566 --config print configuration, then exit
78567 -q, --quiet, --silent
78568 do not print progress messages
78569 -d, --debug don't remove temporary files
78570 --recheck update $as_me by reconfiguring in the same conditions
78571 --file=FILE[:TEMPLATE]
78572 instantiate the configuration file FILE
78573 --header=FILE[:TEMPLATE]
78574 instantiate the configuration header FILE
78576 Configuration files:
78577 $config_files
78579 Configuration headers:
78580 $config_headers
78582 Configuration commands:
78583 $config_commands
78585 Report bugs to the package provider."
78587 _ACEOF
78588 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
78589 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
78590 ac_cs_version="\\
78591 package-unused config.status version-unused
78592 configured by $0, generated by GNU Autoconf 2.69,
78593 with options \\"\$ac_cs_config\\"
78595 Copyright (C) 2012 Free Software Foundation, Inc.
78596 This config.status script is free software; the Free Software Foundation
78597 gives unlimited permission to copy, distribute and modify it."
78599 ac_pwd='$ac_pwd'
78600 srcdir='$srcdir'
78601 INSTALL='$INSTALL'
78602 MKDIR_P='$MKDIR_P'
78603 AWK='$AWK'
78604 test -n "\$AWK" || AWK=awk
78605 _ACEOF
78607 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
78608 # The default lists apply if the user does not specify any file.
78609 ac_need_defaults=:
78610 while test $# != 0
78612 case $1 in
78613 --*=?*)
78614 ac_option=`expr "X$1" : 'X\([^=]*\)='`
78615 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
78616 ac_shift=:
78618 --*=)
78619 ac_option=`expr "X$1" : 'X\([^=]*\)='`
78620 ac_optarg=
78621 ac_shift=:
78624 ac_option=$1
78625 ac_optarg=$2
78626 ac_shift=shift
78628 esac
78630 case $ac_option in
78631 # Handling of the options.
78632 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
78633 ac_cs_recheck=: ;;
78634 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
78635 $as_echo "$ac_cs_version"; exit ;;
78636 --config | --confi | --conf | --con | --co | --c )
78637 $as_echo "$ac_cs_config"; exit ;;
78638 --debug | --debu | --deb | --de | --d | -d )
78639 debug=: ;;
78640 --file | --fil | --fi | --f )
78641 $ac_shift
78642 case $ac_optarg in
78643 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
78644 '') as_fn_error $? "missing file argument" ;;
78645 esac
78646 as_fn_append CONFIG_FILES " '$ac_optarg'"
78647 ac_need_defaults=false;;
78648 --header | --heade | --head | --hea )
78649 $ac_shift
78650 case $ac_optarg in
78651 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
78652 esac
78653 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
78654 ac_need_defaults=false;;
78655 --he | --h)
78656 # Conflict between --help and --header
78657 as_fn_error $? "ambiguous option: \`$1'
78658 Try \`$0 --help' for more information.";;
78659 --help | --hel | -h )
78660 $as_echo "$ac_cs_usage"; exit ;;
78661 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
78662 | -silent | --silent | --silen | --sile | --sil | --si | --s)
78663 ac_cs_silent=: ;;
78665 # This is an error.
78666 -*) as_fn_error $? "unrecognized option: \`$1'
78667 Try \`$0 --help' for more information." ;;
78669 *) as_fn_append ac_config_targets " $1"
78670 ac_need_defaults=false ;;
78672 esac
78673 shift
78674 done
78676 ac_configure_extra_args=
78678 if $ac_cs_silent; then
78679 exec 6>/dev/null
78680 ac_configure_extra_args="$ac_configure_extra_args --silent"
78683 _ACEOF
78684 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
78685 if \$ac_cs_recheck; then
78686 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
78687 shift
78688 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
78689 CONFIG_SHELL='$SHELL'
78690 export CONFIG_SHELL
78691 exec "\$@"
78694 _ACEOF
78695 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
78696 exec 5>>config.log
78698 echo
78699 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
78700 ## Running $as_me. ##
78701 _ASBOX
78702 $as_echo "$ac_log"
78703 } >&5
78705 _ACEOF
78706 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
78708 # INIT-COMMANDS
78711 srcdir="$srcdir"
78712 host="$host"
78713 target="$target"
78714 with_multisubdir="$with_multisubdir"
78715 with_multisrctop="$with_multisrctop"
78716 with_target_subdir="$with_target_subdir"
78717 ac_configure_args="${multilib_arg} ${ac_configure_args}"
78718 multi_basedir="$multi_basedir"
78719 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
78720 CC="$CC"
78721 CXX="$CXX"
78722 GFORTRAN="$GFORTRAN"
78723 GDC="$GDC"
78726 # The HP-UX ksh and POSIX shell print the target directory to stdout
78727 # if CDPATH is set.
78728 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
78730 sed_quote_subst='$sed_quote_subst'
78731 double_quote_subst='$double_quote_subst'
78732 delay_variable_subst='$delay_variable_subst'
78733 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
78734 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
78735 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
78736 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
78737 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
78738 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
78739 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
78740 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
78741 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
78742 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
78743 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
78744 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
78745 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
78746 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
78747 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
78748 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
78749 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
78750 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
78751 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
78752 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
78753 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
78754 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
78755 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
78756 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
78757 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
78758 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
78759 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
78760 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
78761 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
78762 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
78763 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
78764 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
78765 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
78766 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
78767 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
78768 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
78769 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
78770 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
78771 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
78772 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
78773 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
78774 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
78775 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
78776 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
78777 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
78778 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
78779 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
78780 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
78781 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"`'
78782 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
78783 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
78784 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
78785 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
78786 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
78787 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
78788 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
78789 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
78790 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
78791 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
78792 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
78793 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
78794 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
78795 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
78796 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
78797 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
78798 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
78799 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
78800 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
78801 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
78802 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
78803 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
78804 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
78805 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
78806 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
78807 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
78808 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
78809 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
78810 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
78811 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
78812 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
78813 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
78814 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
78815 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
78816 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
78817 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
78818 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
78819 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
78820 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
78821 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
78822 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
78823 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
78824 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
78825 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
78826 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
78827 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
78828 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
78829 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
78830 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
78831 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
78832 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
78833 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
78834 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
78835 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
78836 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
78837 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
78838 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
78839 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
78840 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
78841 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
78842 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
78843 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
78844 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
78845 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
78846 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
78847 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
78848 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
78849 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
78850 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
78851 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
78852 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
78853 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
78854 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
78855 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
78856 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
78857 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
78858 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
78859 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
78860 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
78861 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
78862 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
78863 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
78864 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
78865 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
78866 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
78867 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
78868 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
78869 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
78870 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
78871 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
78872 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
78873 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
78874 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
78875 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
78876 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
78877 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
78878 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
78879 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
78880 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
78881 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
78882 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
78883 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
78884 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
78885 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
78886 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
78887 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
78888 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
78889 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
78890 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
78891 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
78892 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
78893 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
78894 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
78895 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
78896 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
78897 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
78898 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
78899 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
78900 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
78901 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
78902 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
78903 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
78904 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
78905 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
78906 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
78907 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
78909 LTCC='$LTCC'
78910 LTCFLAGS='$LTCFLAGS'
78911 compiler='$compiler_DEFAULT'
78913 # A function that is used when there is no print builtin or printf.
78914 func_fallback_echo ()
78916 eval 'cat <<_LTECHO_EOF
78918 _LTECHO_EOF'
78921 # Quote evaled strings.
78922 for var in SHELL \
78923 ECHO \
78924 SED \
78925 GREP \
78926 EGREP \
78927 FGREP \
78928 LD \
78929 NM \
78930 LN_S \
78931 lt_SP2NL \
78932 lt_NL2SP \
78933 reload_flag \
78934 OBJDUMP \
78935 deplibs_check_method \
78936 file_magic_cmd \
78937 AR \
78938 AR_FLAGS \
78939 STRIP \
78940 RANLIB \
78941 CC \
78942 CFLAGS \
78943 compiler \
78944 lt_cv_sys_global_symbol_pipe \
78945 lt_cv_sys_global_symbol_to_cdecl \
78946 lt_cv_sys_global_symbol_to_c_name_address \
78947 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
78948 lt_prog_compiler_no_builtin_flag \
78949 lt_prog_compiler_wl \
78950 lt_prog_compiler_pic \
78951 lt_prog_compiler_static \
78952 lt_cv_prog_compiler_c_o \
78953 need_locks \
78954 DSYMUTIL \
78955 NMEDIT \
78956 LIPO \
78957 OTOOL \
78958 OTOOL64 \
78959 shrext_cmds \
78960 export_dynamic_flag_spec \
78961 whole_archive_flag_spec \
78962 compiler_needs_object \
78963 with_gnu_ld \
78964 allow_undefined_flag \
78965 no_undefined_flag \
78966 hardcode_libdir_flag_spec \
78967 hardcode_libdir_flag_spec_ld \
78968 hardcode_libdir_separator \
78969 fix_srcfile_path \
78970 exclude_expsyms \
78971 include_expsyms \
78972 file_list_spec \
78973 variables_saved_for_relink \
78974 libname_spec \
78975 library_names_spec \
78976 soname_spec \
78977 install_override_mode \
78978 finish_eval \
78979 old_striplib \
78980 striplib \
78981 compiler_lib_search_dirs \
78982 predep_objects \
78983 postdep_objects \
78984 predeps \
78985 postdeps \
78986 compiler_lib_search_path \
78987 LD_CXX \
78988 reload_flag_CXX \
78989 compiler_CXX \
78990 lt_prog_compiler_no_builtin_flag_CXX \
78991 lt_prog_compiler_wl_CXX \
78992 lt_prog_compiler_pic_CXX \
78993 lt_prog_compiler_static_CXX \
78994 lt_cv_prog_compiler_c_o_CXX \
78995 export_dynamic_flag_spec_CXX \
78996 whole_archive_flag_spec_CXX \
78997 compiler_needs_object_CXX \
78998 with_gnu_ld_CXX \
78999 allow_undefined_flag_CXX \
79000 no_undefined_flag_CXX \
79001 hardcode_libdir_flag_spec_CXX \
79002 hardcode_libdir_flag_spec_ld_CXX \
79003 hardcode_libdir_separator_CXX \
79004 fix_srcfile_path_CXX \
79005 exclude_expsyms_CXX \
79006 include_expsyms_CXX \
79007 file_list_spec_CXX \
79008 compiler_lib_search_dirs_CXX \
79009 predep_objects_CXX \
79010 postdep_objects_CXX \
79011 predeps_CXX \
79012 postdeps_CXX \
79013 compiler_lib_search_path_CXX; do
79014 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
79015 *[\\\\\\\`\\"\\\$]*)
79016 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
79019 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
79021 esac
79022 done
79024 # Double-quote double-evaled strings.
79025 for var in reload_cmds \
79026 old_postinstall_cmds \
79027 old_postuninstall_cmds \
79028 old_archive_cmds \
79029 extract_expsyms_cmds \
79030 old_archive_from_new_cmds \
79031 old_archive_from_expsyms_cmds \
79032 archive_cmds \
79033 archive_expsym_cmds \
79034 module_cmds \
79035 module_expsym_cmds \
79036 export_symbols_cmds \
79037 prelink_cmds \
79038 postinstall_cmds \
79039 postuninstall_cmds \
79040 finish_cmds \
79041 sys_lib_search_path_spec \
79042 sys_lib_dlsearch_path_spec \
79043 reload_cmds_CXX \
79044 old_archive_cmds_CXX \
79045 old_archive_from_new_cmds_CXX \
79046 old_archive_from_expsyms_cmds_CXX \
79047 archive_cmds_CXX \
79048 archive_expsym_cmds_CXX \
79049 module_cmds_CXX \
79050 module_expsym_cmds_CXX \
79051 export_symbols_cmds_CXX \
79052 prelink_cmds_CXX; do
79053 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
79054 *[\\\\\\\`\\"\\\$]*)
79055 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
79058 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
79060 esac
79061 done
79063 ac_aux_dir='$ac_aux_dir'
79064 xsi_shell='$xsi_shell'
79065 lt_shell_append='$lt_shell_append'
79067 # See if we are running on zsh, and set the options which allow our
79068 # commands through without removal of \ escapes INIT.
79069 if test -n "\${ZSH_VERSION+set}" ; then
79070 setopt NO_GLOB_SUBST
79074 PACKAGE='$PACKAGE'
79075 VERSION='$VERSION'
79076 TIMESTAMP='$TIMESTAMP'
79077 RM='$RM'
79078 ofile='$ofile'
79085 GCC="$GCC"
79086 CC="$CC"
79087 acx_cv_header_stdint="$acx_cv_header_stdint"
79088 acx_cv_type_int8_t="$acx_cv_type_int8_t"
79089 acx_cv_type_int16_t="$acx_cv_type_int16_t"
79090 acx_cv_type_int32_t="$acx_cv_type_int32_t"
79091 acx_cv_type_int64_t="$acx_cv_type_int64_t"
79092 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
79093 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
79094 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
79095 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
79096 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
79097 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
79098 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
79099 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
79100 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
79103 _ACEOF
79105 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
79107 # Handling of arguments.
79108 for ac_config_target in $ac_config_targets
79110 case $ac_config_target in
79111 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
79112 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
79113 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
79114 "include/gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
79115 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
79116 "scripts/testsuite_flags") CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
79117 "scripts/extract_symvers") CONFIG_FILES="$CONFIG_FILES scripts/extract_symvers" ;;
79118 "doc/xsl/customization.xsl") CONFIG_FILES="$CONFIG_FILES doc/xsl/customization.xsl" ;;
79119 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
79120 "libsupc++/Makefile") CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
79121 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
79122 "src/c++98/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++98/Makefile" ;;
79123 "src/c++11/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++11/Makefile" ;;
79124 "src/c++17/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++17/Makefile" ;;
79125 "src/c++20/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++20/Makefile" ;;
79126 "src/filesystem/Makefile") CONFIG_FILES="$CONFIG_FILES src/filesystem/Makefile" ;;
79127 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
79128 "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
79129 "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
79130 "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
79131 "generate-headers") CONFIG_COMMANDS="$CONFIG_COMMANDS generate-headers" ;;
79133 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
79134 esac
79135 done
79138 # If the user did not use the arguments to specify the items to instantiate,
79139 # then the envvar interface is used. Set only those that are not.
79140 # We use the long form for the default assignment because of an extremely
79141 # bizarre bug on SunOS 4.1.3.
79142 if $ac_need_defaults; then
79143 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
79144 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
79145 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
79148 # Have a temporary directory for convenience. Make it in the build tree
79149 # simply because there is no reason against having it here, and in addition,
79150 # creating and moving files from /tmp can sometimes cause problems.
79151 # Hook for its removal unless debugging.
79152 # Note that there is a small window in which the directory will not be cleaned:
79153 # after its creation but before its name has been assigned to `$tmp'.
79154 $debug ||
79156 tmp= ac_tmp=
79157 trap 'exit_status=$?
79158 : "${ac_tmp:=$tmp}"
79159 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
79161 trap 'as_fn_exit 1' 1 2 13 15
79163 # Create a (secure) tmp directory for tmp files.
79166 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
79167 test -d "$tmp"
79168 } ||
79170 tmp=./conf$$-$RANDOM
79171 (umask 077 && mkdir "$tmp")
79172 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
79173 ac_tmp=$tmp
79175 # Set up the scripts for CONFIG_FILES section.
79176 # No need to generate them if there are no CONFIG_FILES.
79177 # This happens for instance with `./config.status config.h'.
79178 if test -n "$CONFIG_FILES"; then
79181 ac_cr=`echo X | tr X '\015'`
79182 # On cygwin, bash can eat \r inside `` if the user requested igncr.
79183 # But we know of no other shell where ac_cr would be empty at this
79184 # point, so we can use a bashism as a fallback.
79185 if test "x$ac_cr" = x; then
79186 eval ac_cr=\$\'\\r\'
79188 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
79189 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
79190 ac_cs_awk_cr='\\r'
79191 else
79192 ac_cs_awk_cr=$ac_cr
79195 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
79196 _ACEOF
79200 echo "cat >conf$$subs.awk <<_ACEOF" &&
79201 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
79202 echo "_ACEOF"
79203 } >conf$$subs.sh ||
79204 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
79205 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
79206 ac_delim='%!_!# '
79207 for ac_last_try in false false false false false :; do
79208 . ./conf$$subs.sh ||
79209 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
79211 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
79212 if test $ac_delim_n = $ac_delim_num; then
79213 break
79214 elif $ac_last_try; then
79215 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
79216 else
79217 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
79219 done
79220 rm -f conf$$subs.sh
79222 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
79223 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
79224 _ACEOF
79225 sed -n '
79227 s/^/S["/; s/!.*/"]=/
79230 s/^[^!]*!//
79231 :repl
79232 t repl
79233 s/'"$ac_delim"'$//
79234 t delim
79237 s/\(.\{148\}\)..*/\1/
79238 t more1
79239 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
79242 b repl
79243 :more1
79244 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
79247 s/.\{148\}//
79248 t nl
79249 :delim
79251 s/\(.\{148\}\)..*/\1/
79252 t more2
79253 s/["\\]/\\&/g; s/^/"/; s/$/"/
79256 :more2
79257 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
79260 s/.\{148\}//
79261 t delim
79262 ' <conf$$subs.awk | sed '
79263 /^[^""]/{
79265 s/\n//
79267 ' >>$CONFIG_STATUS || ac_write_fail=1
79268 rm -f conf$$subs.awk
79269 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
79270 _ACAWK
79271 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
79272 for (key in S) S_is_set[key] = 1
79273 FS = "\a"
79277 line = $ 0
79278 nfields = split(line, field, "@")
79279 substed = 0
79280 len = length(field[1])
79281 for (i = 2; i < nfields; i++) {
79282 key = field[i]
79283 keylen = length(key)
79284 if (S_is_set[key]) {
79285 value = S[key]
79286 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
79287 len += length(value) + length(field[++i])
79288 substed = 1
79289 } else
79290 len += 1 + keylen
79293 print line
79296 _ACAWK
79297 _ACEOF
79298 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
79299 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
79300 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
79301 else
79303 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
79304 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
79305 _ACEOF
79307 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
79308 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
79309 # trailing colons and then remove the whole line if VPATH becomes empty
79310 # (actually we leave an empty line to preserve line numbers).
79311 if test "x$srcdir" = x.; then
79312 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
79314 s///
79315 s/^/:/
79316 s/[ ]*$/:/
79317 s/:\$(srcdir):/:/g
79318 s/:\${srcdir}:/:/g
79319 s/:@srcdir@:/:/g
79320 s/^:*//
79321 s/:*$//
79323 s/\(=[ ]*\).*/\1/
79325 s/\n//
79326 s/^[^=]*=[ ]*$//
79330 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
79331 fi # test -n "$CONFIG_FILES"
79333 # Set up the scripts for CONFIG_HEADERS section.
79334 # No need to generate them if there are no CONFIG_HEADERS.
79335 # This happens for instance with `./config.status Makefile'.
79336 if test -n "$CONFIG_HEADERS"; then
79337 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
79338 BEGIN {
79339 _ACEOF
79341 # Transform confdefs.h into an awk script `defines.awk', embedded as
79342 # here-document in config.status, that substitutes the proper values into
79343 # config.h.in to produce config.h.
79345 # Create a delimiter string that does not exist in confdefs.h, to ease
79346 # handling of long lines.
79347 ac_delim='%!_!# '
79348 for ac_last_try in false false :; do
79349 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
79350 if test -z "$ac_tt"; then
79351 break
79352 elif $ac_last_try; then
79353 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
79354 else
79355 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
79357 done
79359 # For the awk script, D is an array of macro values keyed by name,
79360 # likewise P contains macro parameters if any. Preserve backslash
79361 # newline sequences.
79363 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
79364 sed -n '
79365 s/.\{148\}/&'"$ac_delim"'/g
79366 t rset
79367 :rset
79368 s/^[ ]*#[ ]*define[ ][ ]*/ /
79369 t def
79371 :def
79372 s/\\$//
79373 t bsnl
79374 s/["\\]/\\&/g
79375 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
79376 D["\1"]=" \3"/p
79377 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
79379 :bsnl
79380 s/["\\]/\\&/g
79381 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
79382 D["\1"]=" \3\\\\\\n"\\/p
79383 t cont
79384 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
79385 t cont
79387 :cont
79389 s/.\{148\}/&'"$ac_delim"'/g
79390 t clear
79391 :clear
79392 s/\\$//
79393 t bsnlc
79394 s/["\\]/\\&/g; s/^/"/; s/$/"/p
79396 :bsnlc
79397 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
79398 b cont
79399 ' <confdefs.h | sed '
79400 s/'"$ac_delim"'/"\\\
79401 "/g' >>$CONFIG_STATUS || ac_write_fail=1
79403 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
79404 for (key in D) D_is_set[key] = 1
79405 FS = "\a"
79407 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
79408 line = \$ 0
79409 split(line, arg, " ")
79410 if (arg[1] == "#") {
79411 defundef = arg[2]
79412 mac1 = arg[3]
79413 } else {
79414 defundef = substr(arg[1], 2)
79415 mac1 = arg[2]
79417 split(mac1, mac2, "(") #)
79418 macro = mac2[1]
79419 prefix = substr(line, 1, index(line, defundef) - 1)
79420 if (D_is_set[macro]) {
79421 # Preserve the white space surrounding the "#".
79422 print prefix "define", macro P[macro] D[macro]
79423 next
79424 } else {
79425 # Replace #undef with comments. This is necessary, for example,
79426 # in the case of _POSIX_SOURCE, which is predefined and required
79427 # on some systems where configure will not decide to define it.
79428 if (defundef == "undef") {
79429 print "/*", prefix defundef, macro, "*/"
79430 next
79434 { print }
79435 _ACAWK
79436 _ACEOF
79437 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
79438 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
79439 fi # test -n "$CONFIG_HEADERS"
79442 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
79443 shift
79444 for ac_tag
79446 case $ac_tag in
79447 :[FHLC]) ac_mode=$ac_tag; continue;;
79448 esac
79449 case $ac_mode$ac_tag in
79450 :[FHL]*:*);;
79451 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
79452 :[FH]-) ac_tag=-:-;;
79453 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
79454 esac
79455 ac_save_IFS=$IFS
79456 IFS=:
79457 set x $ac_tag
79458 IFS=$ac_save_IFS
79459 shift
79460 ac_file=$1
79461 shift
79463 case $ac_mode in
79464 :L) ac_source=$1;;
79465 :[FH])
79466 ac_file_inputs=
79467 for ac_f
79469 case $ac_f in
79470 -) ac_f="$ac_tmp/stdin";;
79471 *) # Look for the file first in the build tree, then in the source tree
79472 # (if the path is not absolute). The absolute path cannot be DOS-style,
79473 # because $ac_f cannot contain `:'.
79474 test -f "$ac_f" ||
79475 case $ac_f in
79476 [\\/$]*) false;;
79477 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
79478 esac ||
79479 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
79480 esac
79481 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
79482 as_fn_append ac_file_inputs " '$ac_f'"
79483 done
79485 # Let's still pretend it is `configure' which instantiates (i.e., don't
79486 # use $as_me), people would be surprised to read:
79487 # /* config.h. Generated by config.status. */
79488 configure_input='Generated from '`
79489 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
79490 `' by configure.'
79491 if test x"$ac_file" != x-; then
79492 configure_input="$ac_file. $configure_input"
79493 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
79494 $as_echo "$as_me: creating $ac_file" >&6;}
79496 # Neutralize special characters interpreted by sed in replacement strings.
79497 case $configure_input in #(
79498 *\&* | *\|* | *\\* )
79499 ac_sed_conf_input=`$as_echo "$configure_input" |
79500 sed 's/[\\\\&|]/\\\\&/g'`;; #(
79501 *) ac_sed_conf_input=$configure_input;;
79502 esac
79504 case $ac_tag in
79505 *:-:* | *:-) cat >"$ac_tmp/stdin" \
79506 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
79507 esac
79509 esac
79511 ac_dir=`$as_dirname -- "$ac_file" ||
79512 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
79513 X"$ac_file" : 'X\(//\)[^/]' \| \
79514 X"$ac_file" : 'X\(//\)$' \| \
79515 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
79516 $as_echo X"$ac_file" |
79517 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
79518 s//\1/
79521 /^X\(\/\/\)[^/].*/{
79522 s//\1/
79525 /^X\(\/\/\)$/{
79526 s//\1/
79529 /^X\(\/\).*/{
79530 s//\1/
79533 s/.*/./; q'`
79534 as_dir="$ac_dir"; as_fn_mkdir_p
79535 ac_builddir=.
79537 case "$ac_dir" in
79538 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
79540 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
79541 # A ".." for each directory in $ac_dir_suffix.
79542 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
79543 case $ac_top_builddir_sub in
79544 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
79545 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
79546 esac ;;
79547 esac
79548 ac_abs_top_builddir=$ac_pwd
79549 ac_abs_builddir=$ac_pwd$ac_dir_suffix
79550 # for backward compatibility:
79551 ac_top_builddir=$ac_top_build_prefix
79553 case $srcdir in
79554 .) # We are building in place.
79555 ac_srcdir=.
79556 ac_top_srcdir=$ac_top_builddir_sub
79557 ac_abs_top_srcdir=$ac_pwd ;;
79558 [\\/]* | ?:[\\/]* ) # Absolute name.
79559 ac_srcdir=$srcdir$ac_dir_suffix;
79560 ac_top_srcdir=$srcdir
79561 ac_abs_top_srcdir=$srcdir ;;
79562 *) # Relative name.
79563 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
79564 ac_top_srcdir=$ac_top_build_prefix$srcdir
79565 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
79566 esac
79567 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
79570 case $ac_mode in
79573 # CONFIG_FILE
79576 case $INSTALL in
79577 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
79578 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
79579 esac
79580 ac_MKDIR_P=$MKDIR_P
79581 case $MKDIR_P in
79582 [\\/$]* | ?:[\\/]* ) ;;
79583 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
79584 esac
79585 _ACEOF
79587 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
79588 # If the template does not know about datarootdir, expand it.
79589 # FIXME: This hack should be removed a few years after 2.60.
79590 ac_datarootdir_hack=; ac_datarootdir_seen=
79591 ac_sed_dataroot='
79592 /datarootdir/ {
79596 /@datadir@/p
79597 /@docdir@/p
79598 /@infodir@/p
79599 /@localedir@/p
79600 /@mandir@/p'
79601 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
79602 *datarootdir*) ac_datarootdir_seen=yes;;
79603 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
79604 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
79605 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
79606 _ACEOF
79607 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
79608 ac_datarootdir_hack='
79609 s&@datadir@&$datadir&g
79610 s&@docdir@&$docdir&g
79611 s&@infodir@&$infodir&g
79612 s&@localedir@&$localedir&g
79613 s&@mandir@&$mandir&g
79614 s&\\\${datarootdir}&$datarootdir&g' ;;
79615 esac
79616 _ACEOF
79618 # Neutralize VPATH when `$srcdir' = `.'.
79619 # Shell code in configure.ac might set extrasub.
79620 # FIXME: do we really want to maintain this feature?
79621 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
79622 ac_sed_extra="$ac_vpsub
79623 $extrasub
79624 _ACEOF
79625 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
79627 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
79628 s|@configure_input@|$ac_sed_conf_input|;t t
79629 s&@top_builddir@&$ac_top_builddir_sub&;t t
79630 s&@top_build_prefix@&$ac_top_build_prefix&;t t
79631 s&@srcdir@&$ac_srcdir&;t t
79632 s&@abs_srcdir@&$ac_abs_srcdir&;t t
79633 s&@top_srcdir@&$ac_top_srcdir&;t t
79634 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
79635 s&@builddir@&$ac_builddir&;t t
79636 s&@abs_builddir@&$ac_abs_builddir&;t t
79637 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
79638 s&@INSTALL@&$ac_INSTALL&;t t
79639 s&@MKDIR_P@&$ac_MKDIR_P&;t t
79640 $ac_datarootdir_hack
79642 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
79643 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
79645 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
79646 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
79647 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
79648 "$ac_tmp/out"`; test -z "$ac_out"; } &&
79649 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
79650 which seems to be undefined. Please make sure it is defined" >&5
79651 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
79652 which seems to be undefined. Please make sure it is defined" >&2;}
79654 rm -f "$ac_tmp/stdin"
79655 case $ac_file in
79656 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
79657 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
79658 esac \
79659 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
79663 # CONFIG_HEADER
79665 if test x"$ac_file" != x-; then
79667 $as_echo "/* $configure_input */" \
79668 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
79669 } >"$ac_tmp/config.h" \
79670 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
79671 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
79672 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
79673 $as_echo "$as_me: $ac_file is unchanged" >&6;}
79674 else
79675 rm -f "$ac_file"
79676 mv "$ac_tmp/config.h" "$ac_file" \
79677 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
79679 else
79680 $as_echo "/* $configure_input */" \
79681 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
79682 || as_fn_error $? "could not create -" "$LINENO" 5
79684 # Compute "$ac_file"'s index in $config_headers.
79685 _am_arg="$ac_file"
79686 _am_stamp_count=1
79687 for _am_header in $config_headers :; do
79688 case $_am_header in
79689 $_am_arg | $_am_arg:* )
79690 break ;;
79692 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
79693 esac
79694 done
79695 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
79696 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
79697 X"$_am_arg" : 'X\(//\)[^/]' \| \
79698 X"$_am_arg" : 'X\(//\)$' \| \
79699 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
79700 $as_echo X"$_am_arg" |
79701 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
79702 s//\1/
79705 /^X\(\/\/\)[^/].*/{
79706 s//\1/
79709 /^X\(\/\/\)$/{
79710 s//\1/
79713 /^X\(\/\).*/{
79714 s//\1/
79717 s/.*/./; q'`/stamp-h$_am_stamp_count
79720 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
79721 $as_echo "$as_me: executing $ac_file commands" >&6;}
79723 esac
79726 case $ac_file$ac_mode in
79727 "default-1":C)
79728 # Only add multilib support code if we just rebuilt the top-level
79729 # Makefile.
79730 case " $CONFIG_FILES " in
79731 *" Makefile "*)
79732 ac_file=Makefile . ${multi_basedir}/config-ml.in
79734 esac ;;
79735 "libtool":C)
79737 # See if we are running on zsh, and set the options which allow our
79738 # commands through without removal of \ escapes.
79739 if test -n "${ZSH_VERSION+set}" ; then
79740 setopt NO_GLOB_SUBST
79743 cfgfile="${ofile}T"
79744 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
79745 $RM "$cfgfile"
79747 cat <<_LT_EOF >> "$cfgfile"
79748 #! $SHELL
79750 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
79751 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
79752 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
79753 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
79755 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
79756 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
79757 # Written by Gordon Matzigkeit, 1996
79759 # This file is part of GNU Libtool.
79761 # GNU Libtool is free software; you can redistribute it and/or
79762 # modify it under the terms of the GNU General Public License as
79763 # published by the Free Software Foundation; either version 2 of
79764 # the License, or (at your option) any later version.
79766 # As a special exception to the GNU General Public License,
79767 # if you distribute this file as part of a program or library that
79768 # is built using GNU Libtool, you may include this file under the
79769 # same distribution terms that you use for the rest of that program.
79771 # GNU Libtool is distributed in the hope that it will be useful,
79772 # but WITHOUT ANY WARRANTY; without even the implied warranty of
79773 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
79774 # GNU General Public License for more details.
79776 # You should have received a copy of the GNU General Public License
79777 # along with GNU Libtool; see the file COPYING. If not, a copy
79778 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
79779 # obtained by writing to the Free Software Foundation, Inc.,
79780 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
79783 # The names of the tagged configurations supported by this script.
79784 available_tags="CXX "
79786 # ### BEGIN LIBTOOL CONFIG
79788 # Which release of libtool.m4 was used?
79789 macro_version=$macro_version
79790 macro_revision=$macro_revision
79792 # Whether or not to build shared libraries.
79793 build_libtool_libs=$enable_shared
79795 # Whether or not to build static libraries.
79796 build_old_libs=$enable_static
79798 # What type of objects to build.
79799 pic_mode=$pic_mode
79801 # Whether or not to optimize for fast installation.
79802 fast_install=$enable_fast_install
79804 # Shell to use when invoking shell scripts.
79805 SHELL=$lt_SHELL
79807 # An echo program that protects backslashes.
79808 ECHO=$lt_ECHO
79810 # The host system.
79811 host_alias=$host_alias
79812 host=$host
79813 host_os=$host_os
79815 # The build system.
79816 build_alias=$build_alias
79817 build=$build
79818 build_os=$build_os
79820 # A sed program that does not truncate output.
79821 SED=$lt_SED
79823 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
79824 Xsed="\$SED -e 1s/^X//"
79826 # A grep program that handles long lines.
79827 GREP=$lt_GREP
79829 # An ERE matcher.
79830 EGREP=$lt_EGREP
79832 # A literal string matcher.
79833 FGREP=$lt_FGREP
79835 # A BSD- or MS-compatible name lister.
79836 NM=$lt_NM
79838 # Whether we need soft or hard links.
79839 LN_S=$lt_LN_S
79841 # What is the maximum length of a command?
79842 max_cmd_len=$max_cmd_len
79844 # Object file suffix (normally "o").
79845 objext=$ac_objext
79847 # Executable file suffix (normally "").
79848 exeext=$exeext
79850 # whether the shell understands "unset".
79851 lt_unset=$lt_unset
79853 # turn spaces into newlines.
79854 SP2NL=$lt_lt_SP2NL
79856 # turn newlines into spaces.
79857 NL2SP=$lt_lt_NL2SP
79859 # An object symbol dumper.
79860 OBJDUMP=$lt_OBJDUMP
79862 # Method to check whether dependent libraries are shared objects.
79863 deplibs_check_method=$lt_deplibs_check_method
79865 # Command to use when deplibs_check_method == "file_magic".
79866 file_magic_cmd=$lt_file_magic_cmd
79868 # The archiver.
79869 AR=$lt_AR
79870 AR_FLAGS=$lt_AR_FLAGS
79872 # A symbol stripping program.
79873 STRIP=$lt_STRIP
79875 # Commands used to install an old-style archive.
79876 RANLIB=$lt_RANLIB
79877 old_postinstall_cmds=$lt_old_postinstall_cmds
79878 old_postuninstall_cmds=$lt_old_postuninstall_cmds
79880 # Whether to use a lock for old archive extraction.
79881 lock_old_archive_extraction=$lock_old_archive_extraction
79883 # A C compiler.
79884 LTCC=$lt_CC
79886 # LTCC compiler flags.
79887 LTCFLAGS=$lt_CFLAGS
79889 # Take the output of nm and produce a listing of raw symbols and C names.
79890 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
79892 # Transform the output of nm in a proper C declaration.
79893 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
79895 # Transform the output of nm in a C name address pair.
79896 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
79898 # Transform the output of nm in a C name address pair when lib prefix is needed.
79899 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
79901 # The name of the directory that contains temporary libtool files.
79902 objdir=$objdir
79904 # Used to examine libraries when file_magic_cmd begins with "file".
79905 MAGIC_CMD=$MAGIC_CMD
79907 # Must we lock files when doing compilation?
79908 need_locks=$lt_need_locks
79910 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
79911 DSYMUTIL=$lt_DSYMUTIL
79913 # Tool to change global to local symbols on Mac OS X.
79914 NMEDIT=$lt_NMEDIT
79916 # Tool to manipulate fat objects and archives on Mac OS X.
79917 LIPO=$lt_LIPO
79919 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
79920 OTOOL=$lt_OTOOL
79922 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
79923 OTOOL64=$lt_OTOOL64
79925 # Old archive suffix (normally "a").
79926 libext=$libext
79928 # Shared library suffix (normally ".so").
79929 shrext_cmds=$lt_shrext_cmds
79931 # The commands to extract the exported symbol list from a shared archive.
79932 extract_expsyms_cmds=$lt_extract_expsyms_cmds
79934 # Variables whose values should be saved in libtool wrapper scripts and
79935 # restored at link time.
79936 variables_saved_for_relink=$lt_variables_saved_for_relink
79938 # Do we need the "lib" prefix for modules?
79939 need_lib_prefix=$need_lib_prefix
79941 # Do we need a version for libraries?
79942 need_version=$need_version
79944 # Library versioning type.
79945 version_type=$version_type
79947 # Shared library runtime path variable.
79948 runpath_var=$runpath_var
79950 # Shared library path variable.
79951 shlibpath_var=$shlibpath_var
79953 # Is shlibpath searched before the hard-coded library search path?
79954 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
79956 # Format of library name prefix.
79957 libname_spec=$lt_libname_spec
79959 # List of archive names. First name is the real one, the rest are links.
79960 # The last name is the one that the linker finds with -lNAME
79961 library_names_spec=$lt_library_names_spec
79963 # The coded name of the library, if different from the real name.
79964 soname_spec=$lt_soname_spec
79966 # Permission mode override for installation of shared libraries.
79967 install_override_mode=$lt_install_override_mode
79969 # Command to use after installation of a shared archive.
79970 postinstall_cmds=$lt_postinstall_cmds
79972 # Command to use after uninstallation of a shared archive.
79973 postuninstall_cmds=$lt_postuninstall_cmds
79975 # Commands used to finish a libtool library installation in a directory.
79976 finish_cmds=$lt_finish_cmds
79978 # As "finish_cmds", except a single script fragment to be evaled but
79979 # not shown.
79980 finish_eval=$lt_finish_eval
79982 # Whether we should hardcode library paths into libraries.
79983 hardcode_into_libs=$hardcode_into_libs
79985 # Compile-time system search path for libraries.
79986 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
79988 # Run-time system search path for libraries.
79989 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
79991 # Whether dlopen is supported.
79992 dlopen_support=$enable_dlopen
79994 # Whether dlopen of programs is supported.
79995 dlopen_self=$enable_dlopen_self
79997 # Whether dlopen of statically linked programs is supported.
79998 dlopen_self_static=$enable_dlopen_self_static
80000 # Commands to strip libraries.
80001 old_striplib=$lt_old_striplib
80002 striplib=$lt_striplib
80005 # The linker used to build libraries.
80006 LD=$lt_LD
80008 # How to create reloadable object files.
80009 reload_flag=$lt_reload_flag
80010 reload_cmds=$lt_reload_cmds
80012 # Commands used to build an old-style archive.
80013 old_archive_cmds=$lt_old_archive_cmds
80015 # A language specific compiler.
80016 CC=$lt_compiler
80018 # Is the compiler the GNU compiler?
80019 with_gcc=$GCC
80021 # Compiler flag to turn off builtin functions.
80022 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
80024 # How to pass a linker flag through the compiler.
80025 wl=$lt_lt_prog_compiler_wl
80027 # Additional compiler flags for building library objects.
80028 pic_flag=$lt_lt_prog_compiler_pic
80030 # Compiler flag to prevent dynamic linking.
80031 link_static_flag=$lt_lt_prog_compiler_static
80033 # Does compiler simultaneously support -c and -o options?
80034 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
80036 # Whether or not to add -lc for building shared libraries.
80037 build_libtool_need_lc=$archive_cmds_need_lc
80039 # Whether or not to disallow shared libs when runtime libs are static.
80040 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
80042 # Compiler flag to allow reflexive dlopens.
80043 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
80045 # Compiler flag to generate shared objects directly from archives.
80046 whole_archive_flag_spec=$lt_whole_archive_flag_spec
80048 # Whether the compiler copes with passing no objects directly.
80049 compiler_needs_object=$lt_compiler_needs_object
80051 # Create an old-style archive from a shared archive.
80052 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
80054 # Create a temporary old-style archive to link instead of a shared archive.
80055 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
80057 # Commands used to build a shared archive.
80058 archive_cmds=$lt_archive_cmds
80059 archive_expsym_cmds=$lt_archive_expsym_cmds
80061 # Commands used to build a loadable module if different from building
80062 # a shared archive.
80063 module_cmds=$lt_module_cmds
80064 module_expsym_cmds=$lt_module_expsym_cmds
80066 # Whether we are building with GNU ld or not.
80067 with_gnu_ld=$lt_with_gnu_ld
80069 # Flag that allows shared libraries with undefined symbols to be built.
80070 allow_undefined_flag=$lt_allow_undefined_flag
80072 # Flag that enforces no undefined symbols.
80073 no_undefined_flag=$lt_no_undefined_flag
80075 # Flag to hardcode \$libdir into a binary during linking.
80076 # This must work even if \$libdir does not exist
80077 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
80079 # If ld is used when linking, flag to hardcode \$libdir into a binary
80080 # during linking. This must work even if \$libdir does not exist.
80081 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
80083 # Whether we need a single "-rpath" flag with a separated argument.
80084 hardcode_libdir_separator=$lt_hardcode_libdir_separator
80086 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
80087 # DIR into the resulting binary.
80088 hardcode_direct=$hardcode_direct
80090 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
80091 # DIR into the resulting binary and the resulting library dependency is
80092 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
80093 # library is relocated.
80094 hardcode_direct_absolute=$hardcode_direct_absolute
80096 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
80097 # into the resulting binary.
80098 hardcode_minus_L=$hardcode_minus_L
80100 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
80101 # into the resulting binary.
80102 hardcode_shlibpath_var=$hardcode_shlibpath_var
80104 # Set to "yes" if building a shared library automatically hardcodes DIR
80105 # into the library and all subsequent libraries and executables linked
80106 # against it.
80107 hardcode_automatic=$hardcode_automatic
80109 # Set to yes if linker adds runtime paths of dependent libraries
80110 # to runtime path list.
80111 inherit_rpath=$inherit_rpath
80113 # Whether libtool must link a program against all its dependency libraries.
80114 link_all_deplibs=$link_all_deplibs
80116 # Fix the shell variable \$srcfile for the compiler.
80117 fix_srcfile_path=$lt_fix_srcfile_path
80119 # Set to "yes" if exported symbols are required.
80120 always_export_symbols=$always_export_symbols
80122 # The commands to list exported symbols.
80123 export_symbols_cmds=$lt_export_symbols_cmds
80125 # Symbols that should not be listed in the preloaded symbols.
80126 exclude_expsyms=$lt_exclude_expsyms
80128 # Symbols that must always be exported.
80129 include_expsyms=$lt_include_expsyms
80131 # Commands necessary for linking programs (against libraries) with templates.
80132 prelink_cmds=$lt_prelink_cmds
80134 # Specify filename containing input files.
80135 file_list_spec=$lt_file_list_spec
80137 # How to hardcode a shared library path into an executable.
80138 hardcode_action=$hardcode_action
80140 # The directories searched by this compiler when creating a shared library.
80141 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
80143 # Dependencies to place before and after the objects being linked to
80144 # create a shared library.
80145 predep_objects=$lt_predep_objects
80146 postdep_objects=$lt_postdep_objects
80147 predeps=$lt_predeps
80148 postdeps=$lt_postdeps
80150 # The library search path used internally by the compiler when linking
80151 # a shared library.
80152 compiler_lib_search_path=$lt_compiler_lib_search_path
80154 # ### END LIBTOOL CONFIG
80156 _LT_EOF
80158 case $host_os in
80159 aix3*)
80160 cat <<\_LT_EOF >> "$cfgfile"
80161 # AIX sometimes has problems with the GCC collect2 program. For some
80162 # reason, if we set the COLLECT_NAMES environment variable, the problems
80163 # vanish in a puff of smoke.
80164 if test "X${COLLECT_NAMES+set}" != Xset; then
80165 COLLECT_NAMES=
80166 export COLLECT_NAMES
80168 _LT_EOF
80170 esac
80173 ltmain="$ac_aux_dir/ltmain.sh"
80176 # We use sed instead of cat because bash on DJGPP gets confused if
80177 # if finds mixed CR/LF and LF-only lines. Since sed operates in
80178 # text mode, it properly converts lines to CR/LF. This bash problem
80179 # is reportedly fixed, but why not run on old versions too?
80180 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
80181 || (rm -f "$cfgfile"; exit 1)
80183 case $xsi_shell in
80184 yes)
80185 cat << \_LT_EOF >> "$cfgfile"
80187 # func_dirname file append nondir_replacement
80188 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
80189 # otherwise set result to NONDIR_REPLACEMENT.
80190 func_dirname ()
80192 case ${1} in
80193 */*) func_dirname_result="${1%/*}${2}" ;;
80194 * ) func_dirname_result="${3}" ;;
80195 esac
80198 # func_basename file
80199 func_basename ()
80201 func_basename_result="${1##*/}"
80204 # func_dirname_and_basename file append nondir_replacement
80205 # perform func_basename and func_dirname in a single function
80206 # call:
80207 # dirname: Compute the dirname of FILE. If nonempty,
80208 # add APPEND to the result, otherwise set result
80209 # to NONDIR_REPLACEMENT.
80210 # value returned in "$func_dirname_result"
80211 # basename: Compute filename of FILE.
80212 # value retuned in "$func_basename_result"
80213 # Implementation must be kept synchronized with func_dirname
80214 # and func_basename. For efficiency, we do not delegate to
80215 # those functions but instead duplicate the functionality here.
80216 func_dirname_and_basename ()
80218 case ${1} in
80219 */*) func_dirname_result="${1%/*}${2}" ;;
80220 * ) func_dirname_result="${3}" ;;
80221 esac
80222 func_basename_result="${1##*/}"
80225 # func_stripname prefix suffix name
80226 # strip PREFIX and SUFFIX off of NAME.
80227 # PREFIX and SUFFIX must not contain globbing or regex special
80228 # characters, hashes, percent signs, but SUFFIX may contain a leading
80229 # dot (in which case that matches only a dot).
80230 func_stripname ()
80232 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
80233 # positional parameters, so assign one to ordinary parameter first.
80234 func_stripname_result=${3}
80235 func_stripname_result=${func_stripname_result#"${1}"}
80236 func_stripname_result=${func_stripname_result%"${2}"}
80239 # func_opt_split
80240 func_opt_split ()
80242 func_opt_split_opt=${1%%=*}
80243 func_opt_split_arg=${1#*=}
80246 # func_lo2o object
80247 func_lo2o ()
80249 case ${1} in
80250 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
80251 *) func_lo2o_result=${1} ;;
80252 esac
80255 # func_xform libobj-or-source
80256 func_xform ()
80258 func_xform_result=${1%.*}.lo
80261 # func_arith arithmetic-term...
80262 func_arith ()
80264 func_arith_result=$(( $* ))
80267 # func_len string
80268 # STRING may not start with a hyphen.
80269 func_len ()
80271 func_len_result=${#1}
80274 _LT_EOF
80276 *) # Bourne compatible functions.
80277 cat << \_LT_EOF >> "$cfgfile"
80279 # func_dirname file append nondir_replacement
80280 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
80281 # otherwise set result to NONDIR_REPLACEMENT.
80282 func_dirname ()
80284 # Extract subdirectory from the argument.
80285 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
80286 if test "X$func_dirname_result" = "X${1}"; then
80287 func_dirname_result="${3}"
80288 else
80289 func_dirname_result="$func_dirname_result${2}"
80293 # func_basename file
80294 func_basename ()
80296 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
80300 # func_stripname prefix suffix name
80301 # strip PREFIX and SUFFIX off of NAME.
80302 # PREFIX and SUFFIX must not contain globbing or regex special
80303 # characters, hashes, percent signs, but SUFFIX may contain a leading
80304 # dot (in which case that matches only a dot).
80305 # func_strip_suffix prefix name
80306 func_stripname ()
80308 case ${2} in
80309 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
80310 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
80311 esac
80314 # sed scripts:
80315 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
80316 my_sed_long_arg='1s/^-[^=]*=//'
80318 # func_opt_split
80319 func_opt_split ()
80321 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
80322 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
80325 # func_lo2o object
80326 func_lo2o ()
80328 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
80331 # func_xform libobj-or-source
80332 func_xform ()
80334 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
80337 # func_arith arithmetic-term...
80338 func_arith ()
80340 func_arith_result=`expr "$@"`
80343 # func_len string
80344 # STRING may not start with a hyphen.
80345 func_len ()
80347 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
80350 _LT_EOF
80351 esac
80353 case $lt_shell_append in
80354 yes)
80355 cat << \_LT_EOF >> "$cfgfile"
80357 # func_append var value
80358 # Append VALUE to the end of shell variable VAR.
80359 func_append ()
80361 eval "$1+=\$2"
80363 _LT_EOF
80366 cat << \_LT_EOF >> "$cfgfile"
80368 # func_append var value
80369 # Append VALUE to the end of shell variable VAR.
80370 func_append ()
80372 eval "$1=\$$1\$2"
80375 _LT_EOF
80377 esac
80380 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
80381 || (rm -f "$cfgfile"; exit 1)
80383 mv -f "$cfgfile" "$ofile" ||
80384 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
80385 chmod +x "$ofile"
80388 cat <<_LT_EOF >> "$ofile"
80390 # ### BEGIN LIBTOOL TAG CONFIG: CXX
80392 # The linker used to build libraries.
80393 LD=$lt_LD_CXX
80395 # How to create reloadable object files.
80396 reload_flag=$lt_reload_flag_CXX
80397 reload_cmds=$lt_reload_cmds_CXX
80399 # Commands used to build an old-style archive.
80400 old_archive_cmds=$lt_old_archive_cmds_CXX
80402 # A language specific compiler.
80403 CC=$lt_compiler_CXX
80405 # Is the compiler the GNU compiler?
80406 with_gcc=$GCC_CXX
80408 # Compiler flag to turn off builtin functions.
80409 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
80411 # How to pass a linker flag through the compiler.
80412 wl=$lt_lt_prog_compiler_wl_CXX
80414 # Additional compiler flags for building library objects.
80415 pic_flag=$lt_lt_prog_compiler_pic_CXX
80417 # Compiler flag to prevent dynamic linking.
80418 link_static_flag=$lt_lt_prog_compiler_static_CXX
80420 # Does compiler simultaneously support -c and -o options?
80421 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
80423 # Whether or not to add -lc for building shared libraries.
80424 build_libtool_need_lc=$archive_cmds_need_lc_CXX
80426 # Whether or not to disallow shared libs when runtime libs are static.
80427 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
80429 # Compiler flag to allow reflexive dlopens.
80430 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
80432 # Compiler flag to generate shared objects directly from archives.
80433 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
80435 # Whether the compiler copes with passing no objects directly.
80436 compiler_needs_object=$lt_compiler_needs_object_CXX
80438 # Create an old-style archive from a shared archive.
80439 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
80441 # Create a temporary old-style archive to link instead of a shared archive.
80442 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
80444 # Commands used to build a shared archive.
80445 archive_cmds=$lt_archive_cmds_CXX
80446 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
80448 # Commands used to build a loadable module if different from building
80449 # a shared archive.
80450 module_cmds=$lt_module_cmds_CXX
80451 module_expsym_cmds=$lt_module_expsym_cmds_CXX
80453 # Whether we are building with GNU ld or not.
80454 with_gnu_ld=$lt_with_gnu_ld_CXX
80456 # Flag that allows shared libraries with undefined symbols to be built.
80457 allow_undefined_flag=$lt_allow_undefined_flag_CXX
80459 # Flag that enforces no undefined symbols.
80460 no_undefined_flag=$lt_no_undefined_flag_CXX
80462 # Flag to hardcode \$libdir into a binary during linking.
80463 # This must work even if \$libdir does not exist
80464 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
80466 # If ld is used when linking, flag to hardcode \$libdir into a binary
80467 # during linking. This must work even if \$libdir does not exist.
80468 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
80470 # Whether we need a single "-rpath" flag with a separated argument.
80471 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
80473 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
80474 # DIR into the resulting binary.
80475 hardcode_direct=$hardcode_direct_CXX
80477 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
80478 # DIR into the resulting binary and the resulting library dependency is
80479 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
80480 # library is relocated.
80481 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
80483 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
80484 # into the resulting binary.
80485 hardcode_minus_L=$hardcode_minus_L_CXX
80487 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
80488 # into the resulting binary.
80489 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
80491 # Set to "yes" if building a shared library automatically hardcodes DIR
80492 # into the library and all subsequent libraries and executables linked
80493 # against it.
80494 hardcode_automatic=$hardcode_automatic_CXX
80496 # Set to yes if linker adds runtime paths of dependent libraries
80497 # to runtime path list.
80498 inherit_rpath=$inherit_rpath_CXX
80500 # Whether libtool must link a program against all its dependency libraries.
80501 link_all_deplibs=$link_all_deplibs_CXX
80503 # Fix the shell variable \$srcfile for the compiler.
80504 fix_srcfile_path=$lt_fix_srcfile_path_CXX
80506 # Set to "yes" if exported symbols are required.
80507 always_export_symbols=$always_export_symbols_CXX
80509 # The commands to list exported symbols.
80510 export_symbols_cmds=$lt_export_symbols_cmds_CXX
80512 # Symbols that should not be listed in the preloaded symbols.
80513 exclude_expsyms=$lt_exclude_expsyms_CXX
80515 # Symbols that must always be exported.
80516 include_expsyms=$lt_include_expsyms_CXX
80518 # Commands necessary for linking programs (against libraries) with templates.
80519 prelink_cmds=$lt_prelink_cmds_CXX
80521 # Specify filename containing input files.
80522 file_list_spec=$lt_file_list_spec_CXX
80524 # How to hardcode a shared library path into an executable.
80525 hardcode_action=$hardcode_action_CXX
80527 # The directories searched by this compiler when creating a shared library.
80528 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
80530 # Dependencies to place before and after the objects being linked to
80531 # create a shared library.
80532 predep_objects=$lt_predep_objects_CXX
80533 postdep_objects=$lt_postdep_objects_CXX
80534 predeps=$lt_predeps_CXX
80535 postdeps=$lt_postdeps_CXX
80537 # The library search path used internally by the compiler when linking
80538 # a shared library.
80539 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
80541 # ### END LIBTOOL TAG CONFIG: CXX
80542 _LT_EOF
80545 "include/gstdint.h":C)
80546 if test "$GCC" = yes; then
80547 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
80548 else
80549 echo "/* generated for $CC */" > tmp-stdint.h
80552 sed 's/^ *//' >> tmp-stdint.h <<EOF
80554 #ifndef GCC_GENERATED_STDINT_H
80555 #define GCC_GENERATED_STDINT_H 1
80557 #include <sys/types.h>
80560 if test "$acx_cv_header_stdint" != stdint.h; then
80561 echo "#include <stddef.h>" >> tmp-stdint.h
80563 if test "$acx_cv_header_stdint" != stddef.h; then
80564 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
80567 sed 's/^ *//' >> tmp-stdint.h <<EOF
80568 /* glibc uses these symbols as guards to prevent redefinitions. */
80569 #ifdef __int8_t_defined
80570 #define _INT8_T
80571 #define _INT16_T
80572 #define _INT32_T
80573 #endif
80574 #ifdef __uint32_t_defined
80575 #define _UINT32_T
80576 #endif
80580 # ----------------- done header, emit basic int types -------------
80581 if test "$acx_cv_header_stdint" = stddef.h; then
80582 sed 's/^ *//' >> tmp-stdint.h <<EOF
80584 #ifndef _UINT8_T
80585 #define _UINT8_T
80586 #ifndef __uint8_t_defined
80587 #define __uint8_t_defined
80588 #ifndef uint8_t
80589 typedef unsigned $acx_cv_type_int8_t uint8_t;
80590 #endif
80591 #endif
80592 #endif
80594 #ifndef _UINT16_T
80595 #define _UINT16_T
80596 #ifndef __uint16_t_defined
80597 #define __uint16_t_defined
80598 #ifndef uint16_t
80599 typedef unsigned $acx_cv_type_int16_t uint16_t;
80600 #endif
80601 #endif
80602 #endif
80604 #ifndef _UINT32_T
80605 #define _UINT32_T
80606 #ifndef __uint32_t_defined
80607 #define __uint32_t_defined
80608 #ifndef uint32_t
80609 typedef unsigned $acx_cv_type_int32_t uint32_t;
80610 #endif
80611 #endif
80612 #endif
80614 #ifndef _INT8_T
80615 #define _INT8_T
80616 #ifndef __int8_t_defined
80617 #define __int8_t_defined
80618 #ifndef int8_t
80619 typedef $acx_cv_type_int8_t int8_t;
80620 #endif
80621 #endif
80622 #endif
80624 #ifndef _INT16_T
80625 #define _INT16_T
80626 #ifndef __int16_t_defined
80627 #define __int16_t_defined
80628 #ifndef int16_t
80629 typedef $acx_cv_type_int16_t int16_t;
80630 #endif
80631 #endif
80632 #endif
80634 #ifndef _INT32_T
80635 #define _INT32_T
80636 #ifndef __int32_t_defined
80637 #define __int32_t_defined
80638 #ifndef int32_t
80639 typedef $acx_cv_type_int32_t int32_t;
80640 #endif
80641 #endif
80642 #endif
80644 elif test "$ac_cv_type_u_int32_t" = yes; then
80645 sed 's/^ *//' >> tmp-stdint.h <<EOF
80647 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
80648 #ifndef _INT8_T
80649 #define _INT8_T
80650 #endif
80651 #ifndef _INT16_T
80652 #define _INT16_T
80653 #endif
80654 #ifndef _INT32_T
80655 #define _INT32_T
80656 #endif
80658 #ifndef _UINT8_T
80659 #define _UINT8_T
80660 #ifndef __uint8_t_defined
80661 #define __uint8_t_defined
80662 #ifndef uint8_t
80663 typedef u_int8_t uint8_t;
80664 #endif
80665 #endif
80666 #endif
80668 #ifndef _UINT16_T
80669 #define _UINT16_T
80670 #ifndef __uint16_t_defined
80671 #define __uint16_t_defined
80672 #ifndef uint16_t
80673 typedef u_int16_t uint16_t;
80674 #endif
80675 #endif
80676 #endif
80678 #ifndef _UINT32_T
80679 #define _UINT32_T
80680 #ifndef __uint32_t_defined
80681 #define __uint32_t_defined
80682 #ifndef uint32_t
80683 typedef u_int32_t uint32_t;
80684 #endif
80685 #endif
80686 #endif
80688 else
80689 sed 's/^ *//' >> tmp-stdint.h <<EOF
80691 /* Some systems have guard macros to prevent redefinitions, define them. */
80692 #ifndef _INT8_T
80693 #define _INT8_T
80694 #endif
80695 #ifndef _INT16_T
80696 #define _INT16_T
80697 #endif
80698 #ifndef _INT32_T
80699 #define _INT32_T
80700 #endif
80701 #ifndef _UINT8_T
80702 #define _UINT8_T
80703 #endif
80704 #ifndef _UINT16_T
80705 #define _UINT16_T
80706 #endif
80707 #ifndef _UINT32_T
80708 #define _UINT32_T
80709 #endif
80713 # ------------- done basic int types, emit int64_t types ------------
80714 if test "$ac_cv_type_uint64_t" = yes; then
80715 sed 's/^ *//' >> tmp-stdint.h <<EOF
80717 /* system headers have good uint64_t and int64_t */
80718 #ifndef _INT64_T
80719 #define _INT64_T
80720 #endif
80721 #ifndef _UINT64_T
80722 #define _UINT64_T
80723 #endif
80725 elif test "$ac_cv_type_u_int64_t" = yes; then
80726 sed 's/^ *//' >> tmp-stdint.h <<EOF
80728 /* system headers have an u_int64_t (and int64_t) */
80729 #ifndef _INT64_T
80730 #define _INT64_T
80731 #endif
80732 #ifndef _UINT64_T
80733 #define _UINT64_T
80734 #ifndef __uint64_t_defined
80735 #define __uint64_t_defined
80736 #ifndef uint64_t
80737 typedef u_int64_t uint64_t;
80738 #endif
80739 #endif
80740 #endif
80742 elif test -n "$acx_cv_type_int64_t"; then
80743 sed 's/^ *//' >> tmp-stdint.h <<EOF
80745 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
80746 #ifndef _INT64_T
80747 #define _INT64_T
80748 #ifndef int64_t
80749 typedef $acx_cv_type_int64_t int64_t;
80750 #endif
80751 #endif
80752 #ifndef _UINT64_T
80753 #define _UINT64_T
80754 #ifndef __uint64_t_defined
80755 #define __uint64_t_defined
80756 #ifndef uint64_t
80757 typedef unsigned $acx_cv_type_int64_t uint64_t;
80758 #endif
80759 #endif
80760 #endif
80762 else
80763 sed 's/^ *//' >> tmp-stdint.h <<EOF
80765 /* some common heuristics for int64_t, using compiler-specific tests */
80766 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
80767 #ifndef _INT64_T
80768 #define _INT64_T
80769 #ifndef __int64_t_defined
80770 #ifndef int64_t
80771 typedef long long int64_t;
80772 #endif
80773 #endif
80774 #endif
80775 #ifndef _UINT64_T
80776 #define _UINT64_T
80777 #ifndef uint64_t
80778 typedef unsigned long long uint64_t;
80779 #endif
80780 #endif
80782 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
80783 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
80784 does not implement __extension__. But that compiler doesn't define
80785 __GNUC_MINOR__. */
80786 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
80787 # define __extension__
80788 # endif
80790 # ifndef _INT64_T
80791 # define _INT64_T
80792 # ifndef int64_t
80793 __extension__ typedef long long int64_t;
80794 # endif
80795 # endif
80796 # ifndef _UINT64_T
80797 # define _UINT64_T
80798 # ifndef uint64_t
80799 __extension__ typedef unsigned long long uint64_t;
80800 # endif
80801 # endif
80803 #elif !defined __STRICT_ANSI__
80804 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
80806 # ifndef _INT64_T
80807 # define _INT64_T
80808 # ifndef int64_t
80809 typedef __int64 int64_t;
80810 # endif
80811 # endif
80812 # ifndef _UINT64_T
80813 # define _UINT64_T
80814 # ifndef uint64_t
80815 typedef unsigned __int64 uint64_t;
80816 # endif
80817 # endif
80818 # endif /* compiler */
80820 #endif /* ANSI version */
80824 # ------------- done int64_t types, emit intptr types ------------
80825 if test "$ac_cv_type_uintptr_t" != yes; then
80826 sed 's/^ *//' >> tmp-stdint.h <<EOF
80828 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
80829 #ifndef __uintptr_t_defined
80830 #ifndef uintptr_t
80831 typedef u$acx_cv_type_intptr_t uintptr_t;
80832 #endif
80833 #endif
80834 #ifndef __intptr_t_defined
80835 #ifndef intptr_t
80836 typedef $acx_cv_type_intptr_t intptr_t;
80837 #endif
80838 #endif
80842 # ------------- done intptr types, emit int_least types ------------
80843 if test "$ac_cv_type_int_least32_t" != yes; then
80844 sed 's/^ *//' >> tmp-stdint.h <<EOF
80846 /* Define int_least types */
80847 typedef int8_t int_least8_t;
80848 typedef int16_t int_least16_t;
80849 typedef int32_t int_least32_t;
80850 #ifdef _INT64_T
80851 typedef int64_t int_least64_t;
80852 #endif
80854 typedef uint8_t uint_least8_t;
80855 typedef uint16_t uint_least16_t;
80856 typedef uint32_t uint_least32_t;
80857 #ifdef _UINT64_T
80858 typedef uint64_t uint_least64_t;
80859 #endif
80863 # ------------- done intptr types, emit int_fast types ------------
80864 if test "$ac_cv_type_int_fast32_t" != yes; then
80865 sed 's/^ *//' >> tmp-stdint.h <<EOF
80867 /* Define int_fast types. short is often slow */
80868 typedef int8_t int_fast8_t;
80869 typedef int int_fast16_t;
80870 typedef int32_t int_fast32_t;
80871 #ifdef _INT64_T
80872 typedef int64_t int_fast64_t;
80873 #endif
80875 typedef uint8_t uint_fast8_t;
80876 typedef unsigned int uint_fast16_t;
80877 typedef uint32_t uint_fast32_t;
80878 #ifdef _UINT64_T
80879 typedef uint64_t uint_fast64_t;
80880 #endif
80884 if test "$ac_cv_type_uintmax_t" != yes; then
80885 sed 's/^ *//' >> tmp-stdint.h <<EOF
80887 /* Define intmax based on what we found */
80888 #ifndef intmax_t
80889 #ifdef _INT64_T
80890 typedef int64_t intmax_t;
80891 #else
80892 typedef long intmax_t;
80893 #endif
80894 #endif
80895 #ifndef uintmax_t
80896 #ifdef _UINT64_T
80897 typedef uint64_t uintmax_t;
80898 #else
80899 typedef unsigned long uintmax_t;
80900 #endif
80901 #endif
80905 sed 's/^ *//' >> tmp-stdint.h <<EOF
80907 #endif /* GCC_GENERATED_STDINT_H */
80910 if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
80911 rm -f tmp-stdint.h
80912 else
80913 mv -f tmp-stdint.h include/gstdint.h
80917 "scripts/testsuite_flags":F) chmod +x scripts/testsuite_flags ;;
80918 "scripts/extract_symvers":F) chmod +x scripts/extract_symvers ;;
80919 "include/Makefile":F) cat > vpsed$$ << \_EOF
80920 s!`test -f '$<' || echo '$(srcdir)/'`!!
80921 _EOF
80922 sed -f vpsed$$ $ac_file > tmp$$
80923 mv tmp$$ $ac_file
80924 rm vpsed$$
80925 echo 'MULTISUBDIR =' >> $ac_file
80926 ml_norecursion=yes
80927 . ${multi_basedir}/config-ml.in
80928 { ml_norecursion=; unset ml_norecursion;}
80930 "libsupc++/Makefile":F) cat > vpsed$$ << \_EOF
80931 s!`test -f '$<' || echo '$(srcdir)/'`!!
80932 _EOF
80933 sed -f vpsed$$ $ac_file > tmp$$
80934 mv tmp$$ $ac_file
80935 rm vpsed$$
80936 echo 'MULTISUBDIR =' >> $ac_file
80937 ml_norecursion=yes
80938 . ${multi_basedir}/config-ml.in
80939 { ml_norecursion=; unset ml_norecursion;}
80941 "src/Makefile":F) cat > vpsed$$ << \_EOF
80942 s!`test -f '$<' || echo '$(srcdir)/'`!!
80943 _EOF
80944 sed -f vpsed$$ $ac_file > tmp$$
80945 mv tmp$$ $ac_file
80946 rm vpsed$$
80947 echo 'MULTISUBDIR =' >> $ac_file
80948 ml_norecursion=yes
80949 . ${multi_basedir}/config-ml.in
80950 { ml_norecursion=; unset ml_norecursion;}
80952 "src/c++98/Makefile":F) cat > vpsed$$ << \_EOF
80953 s!`test -f '$<' || echo '$(srcdir)/'`!!
80954 _EOF
80955 sed -f vpsed$$ $ac_file > tmp$$
80956 mv tmp$$ $ac_file
80957 rm vpsed$$
80958 echo 'MULTISUBDIR =' >> $ac_file
80959 ml_norecursion=yes
80960 . ${multi_basedir}/config-ml.in
80961 { ml_norecursion=; unset ml_norecursion;}
80963 "src/c++11/Makefile":F) cat > vpsed$$ << \_EOF
80964 s!`test -f '$<' || echo '$(srcdir)/'`!!
80965 _EOF
80966 sed -f vpsed$$ $ac_file > tmp$$
80967 mv tmp$$ $ac_file
80968 rm vpsed$$
80969 echo 'MULTISUBDIR =' >> $ac_file
80970 ml_norecursion=yes
80971 . ${multi_basedir}/config-ml.in
80972 { ml_norecursion=; unset ml_norecursion;}
80974 "src/c++17/Makefile":F) cat > vpsed$$ << \_EOF
80975 s!`test -f '$<' || echo '$(srcdir)/'`!!
80976 _EOF
80977 sed -f vpsed$$ $ac_file > tmp$$
80978 mv tmp$$ $ac_file
80979 rm vpsed$$
80980 echo 'MULTISUBDIR =' >> $ac_file
80981 ml_norecursion=yes
80982 . ${multi_basedir}/config-ml.in
80983 { ml_norecursion=; unset ml_norecursion;}
80985 "src/c++20/Makefile":F) cat > vpsed$$ << \_EOF
80986 s!`test -f '$<' || echo '$(srcdir)/'`!!
80987 _EOF
80988 sed -f vpsed$$ $ac_file > tmp$$
80989 mv tmp$$ $ac_file
80990 rm vpsed$$
80991 echo 'MULTISUBDIR =' >> $ac_file
80992 ml_norecursion=yes
80993 . ${multi_basedir}/config-ml.in
80994 { ml_norecursion=; unset ml_norecursion;}
80996 "src/filesystem/Makefile":F) cat > vpsed$$ << \_EOF
80997 s!`test -f '$<' || echo '$(srcdir)/'`!!
80998 _EOF
80999 sed -f vpsed$$ $ac_file > tmp$$
81000 mv tmp$$ $ac_file
81001 rm vpsed$$
81002 echo 'MULTISUBDIR =' >> $ac_file
81003 ml_norecursion=yes
81004 . ${multi_basedir}/config-ml.in
81005 { ml_norecursion=; unset ml_norecursion;}
81007 "doc/Makefile":F) cat > vpsed$$ << \_EOF
81008 s!`test -f '$<' || echo '$(srcdir)/'`!!
81009 _EOF
81010 sed -f vpsed$$ $ac_file > tmp$$
81011 mv tmp$$ $ac_file
81012 rm vpsed$$
81013 echo 'MULTISUBDIR =' >> $ac_file
81014 ml_norecursion=yes
81015 . ${multi_basedir}/config-ml.in
81016 { ml_norecursion=; unset ml_norecursion;}
81018 "po/Makefile":F) cat > vpsed$$ << \_EOF
81019 s!`test -f '$<' || echo '$(srcdir)/'`!!
81020 _EOF
81021 sed -f vpsed$$ $ac_file > tmp$$
81022 mv tmp$$ $ac_file
81023 rm vpsed$$
81024 echo 'MULTISUBDIR =' >> $ac_file
81025 ml_norecursion=yes
81026 . ${multi_basedir}/config-ml.in
81027 { ml_norecursion=; unset ml_norecursion;}
81029 "testsuite/Makefile":F) cat > vpsed$$ << \_EOF
81030 s!`test -f '$<' || echo '$(srcdir)/'`!!
81031 _EOF
81032 sed -f vpsed$$ $ac_file > tmp$$
81033 mv tmp$$ $ac_file
81034 rm vpsed$$
81035 echo 'MULTISUBDIR =' >> $ac_file
81036 ml_norecursion=yes
81037 . ${multi_basedir}/config-ml.in
81038 { ml_norecursion=; unset ml_norecursion;}
81040 "python/Makefile":F) cat > vpsed$$ << \_EOF
81041 s!`test -f '$<' || echo '$(srcdir)/'`!!
81042 _EOF
81043 sed -f vpsed$$ $ac_file > tmp$$
81044 mv tmp$$ $ac_file
81045 rm vpsed$$
81046 echo 'MULTISUBDIR =' >> $ac_file
81047 ml_norecursion=yes
81048 . ${multi_basedir}/config-ml.in
81049 { ml_norecursion=; unset ml_norecursion;}
81051 "generate-headers":C) (cd include && ${MAKE-make} pch_build= ) ;;
81053 esac
81054 done # for ac_tag
81057 as_fn_exit 0
81058 _ACEOF
81059 ac_clean_files=$ac_clean_files_save
81061 test $ac_write_fail = 0 ||
81062 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
81065 # configure is writing to config.log, and then calls config.status.
81066 # config.status does its own redirection, appending to config.log.
81067 # Unfortunately, on DOS this fails, as config.log is still kept open
81068 # by configure, so config.status won't be able to write to it; its
81069 # output is simply discarded. So we exec the FD to /dev/null,
81070 # effectively closing config.log, so it can be properly (re)opened and
81071 # appended to by config.status. When coming back to configure, we
81072 # need to make the FD available again.
81073 if test "$no_create" != yes; then
81074 ac_cs_success=:
81075 ac_config_status_args=
81076 test "$silent" = yes &&
81077 ac_config_status_args="$ac_config_status_args --quiet"
81078 exec 5>/dev/null
81079 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
81080 exec 5>>config.log
81081 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
81082 # would make configure fail if this is the last instruction.
81083 $ac_cs_success || as_fn_exit 1
81085 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
81086 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
81087 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}