Improve atomic store implementation on hppa-linux.
[official-gcc.git] / libstdc++-v3 / configure
blobb1a0157d0b91de990cac72ec6355af109c05d617
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for package-unused version-unused.
6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18 emulate sh
19 NULLCMD=:
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
23 setopt NO_GLOB_SUBST
24 else
25 case `(set -o) 2>/dev/null` in #(
26 *posix*) :
27 set -o posix ;; #(
28 *) :
30 esac
34 as_nl='
36 export as_nl
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
45 as_echo='print -r --'
46 as_echo_n='print -rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo='printf %s\n'
49 as_echo_n='printf %s'
50 else
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53 as_echo_n='/usr/ucb/echo -n'
54 else
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56 as_echo_n_body='eval
57 arg=$1;
58 case $arg in #(
59 *"$as_nl"*)
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62 esac;
63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
65 export as_echo_n_body
66 as_echo_n='sh -c $as_echo_n_body as_echo'
68 export as_echo_body
69 as_echo='sh -c $as_echo_body as_echo'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
74 PATH_SEPARATOR=:
75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77 PATH_SEPARATOR=';'
82 # IFS
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
87 IFS=" "" $as_nl"
89 # Find who we are. Look in the path if we contain no directory separator.
90 as_myself=
91 case $0 in #((
92 *[\\/]* ) as_myself=$0 ;;
93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
94 for as_dir in $PATH
96 IFS=$as_save_IFS
97 test -z "$as_dir" && as_dir=.
98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
99 done
100 IFS=$as_save_IFS
103 esac
104 # We did not find ourselves, most probably we were run as `sh COMMAND'
105 # in which case we are not to be found in the path.
106 if test "x$as_myself" = x; then
107 as_myself=$0
109 if test ! -f "$as_myself"; then
110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
111 exit 1
114 # Unset variables that we do not need and which cause bugs (e.g. in
115 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
116 # suppresses any "Segmentation fault" message there. '((' could
117 # trigger a bug in pdksh 5.2.14.
118 for as_var in BASH_ENV ENV MAIL MAILPATH
119 do eval test x\${$as_var+set} = xset \
120 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
121 done
122 PS1='$ '
123 PS2='> '
124 PS4='+ '
126 # NLS nuisances.
127 LC_ALL=C
128 export LC_ALL
129 LANGUAGE=C
130 export LANGUAGE
132 # CDPATH.
133 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
135 # Use a proper internal environment variable to ensure we don't fall
136 # into an infinite loop, continuously re-executing ourselves.
137 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
138 _as_can_reexec=no; export _as_can_reexec;
139 # We cannot yet assume a decent shell, so we have to provide a
140 # neutralization value for shells without unset; and this also
141 # works around shells that cannot unset nonexistent variables.
142 # Preserve -v and -x to the replacement shell.
143 BASH_ENV=/dev/null
144 ENV=/dev/null
145 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
146 case $- in # ((((
147 *v*x* | *x*v* ) as_opts=-vx ;;
148 *v* ) as_opts=-v ;;
149 *x* ) as_opts=-x ;;
150 * ) as_opts= ;;
151 esac
152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153 # Admittedly, this is quite paranoid, since all the known shells bail
154 # out after a failed `exec'.
155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
156 as_fn_exit 255
158 # We don't want this to propagate to other subprocesses.
159 { _as_can_reexec=; unset _as_can_reexec;}
160 if test "x$CONFIG_SHELL" = x; then
161 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
162 emulate sh
163 NULLCMD=:
164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165 # is contrary to our usage. Disable this feature.
166 alias -g '\${1+\"\$@\"}'='\"\$@\"'
167 setopt NO_GLOB_SUBST
168 else
169 case \`(set -o) 2>/dev/null\` in #(
170 *posix*) :
171 set -o posix ;; #(
172 *) :
174 esac
177 as_required="as_fn_return () { (exit \$1); }
178 as_fn_success () { as_fn_return 0; }
179 as_fn_failure () { as_fn_return 1; }
180 as_fn_ret_success () { return 0; }
181 as_fn_ret_failure () { return 1; }
183 exitcode=0
184 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
190 else
191 exitcode=1; echo positional parameters were not saved.
193 test x\$exitcode = x0 || exit 1
194 test -x / || exit 1"
195 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
196 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
199 test \$(( 1 + 1 )) = 2 || exit 1
201 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
202 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
203 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
204 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
205 PATH=/empty FPATH=/empty; export PATH FPATH
206 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
207 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
208 if (eval "$as_required") 2>/dev/null; then :
209 as_have_required=yes
210 else
211 as_have_required=no
213 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
215 else
216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
217 as_found=false
218 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
220 IFS=$as_save_IFS
221 test -z "$as_dir" && as_dir=.
222 as_found=:
223 case $as_dir in #(
225 for as_base in sh bash ksh sh5; do
226 # Try only shells that exist, to save several forks.
227 as_shell=$as_dir/$as_base
228 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
229 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
230 CONFIG_SHELL=$as_shell as_have_required=yes
231 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
232 break 2
235 done;;
236 esac
237 as_found=false
238 done
239 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
240 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
241 CONFIG_SHELL=$SHELL as_have_required=yes
242 fi; }
243 IFS=$as_save_IFS
246 if test "x$CONFIG_SHELL" != x; then :
247 export CONFIG_SHELL
248 # We cannot yet assume a decent shell, so we have to provide a
249 # neutralization value for shells without unset; and this also
250 # works around shells that cannot unset nonexistent variables.
251 # Preserve -v and -x to the replacement shell.
252 BASH_ENV=/dev/null
253 ENV=/dev/null
254 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
255 case $- in # ((((
256 *v*x* | *x*v* ) as_opts=-vx ;;
257 *v* ) as_opts=-v ;;
258 *x* ) as_opts=-x ;;
259 * ) as_opts= ;;
260 esac
261 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
262 # Admittedly, this is quite paranoid, since all the known shells bail
263 # out after a failed `exec'.
264 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
265 exit 255
268 if test x$as_have_required = xno; then :
269 $as_echo "$0: This script requires a shell more modern than all"
270 $as_echo "$0: the shells that I found on your system."
271 if test x${ZSH_VERSION+set} = xset ; then
272 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
273 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
274 else
275 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
276 $0: including any error possibly output before this
277 $0: message. Then install a modern shell, or manually run
278 $0: the script under such a shell if you do have one."
280 exit 1
284 SHELL=${CONFIG_SHELL-/bin/sh}
285 export SHELL
286 # Unset more variables known to interfere with behavior of common tools.
287 CLICOLOR_FORCE= GREP_OPTIONS=
288 unset CLICOLOR_FORCE GREP_OPTIONS
290 ## --------------------- ##
291 ## M4sh Shell Functions. ##
292 ## --------------------- ##
293 # as_fn_unset VAR
294 # ---------------
295 # Portably unset VAR.
296 as_fn_unset ()
298 { eval $1=; unset $1;}
300 as_unset=as_fn_unset
302 # as_fn_set_status STATUS
303 # -----------------------
304 # Set $? to STATUS, without forking.
305 as_fn_set_status ()
307 return $1
308 } # as_fn_set_status
310 # as_fn_exit STATUS
311 # -----------------
312 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
313 as_fn_exit ()
315 set +e
316 as_fn_set_status $1
317 exit $1
318 } # as_fn_exit
320 # as_fn_mkdir_p
321 # -------------
322 # Create "$as_dir" as a directory, including parents if necessary.
323 as_fn_mkdir_p ()
326 case $as_dir in #(
327 -*) as_dir=./$as_dir;;
328 esac
329 test -d "$as_dir" || eval $as_mkdir_p || {
330 as_dirs=
331 while :; do
332 case $as_dir in #(
333 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
334 *) as_qdir=$as_dir;;
335 esac
336 as_dirs="'$as_qdir' $as_dirs"
337 as_dir=`$as_dirname -- "$as_dir" ||
338 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
339 X"$as_dir" : 'X\(//\)[^/]' \| \
340 X"$as_dir" : 'X\(//\)$' \| \
341 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
342 $as_echo X"$as_dir" |
343 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
344 s//\1/
347 /^X\(\/\/\)[^/].*/{
348 s//\1/
351 /^X\(\/\/\)$/{
352 s//\1/
355 /^X\(\/\).*/{
356 s//\1/
359 s/.*/./; q'`
360 test -d "$as_dir" && break
361 done
362 test -z "$as_dirs" || eval "mkdir $as_dirs"
363 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
366 } # as_fn_mkdir_p
368 # as_fn_executable_p FILE
369 # -----------------------
370 # Test if FILE is an executable regular file.
371 as_fn_executable_p ()
373 test -f "$1" && test -x "$1"
374 } # as_fn_executable_p
375 # as_fn_append VAR VALUE
376 # ----------------------
377 # Append the text in VALUE to the end of the definition contained in VAR. Take
378 # advantage of any shell optimizations that allow amortized linear growth over
379 # repeated appends, instead of the typical quadratic growth present in naive
380 # implementations.
381 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
382 eval 'as_fn_append ()
384 eval $1+=\$2
386 else
387 as_fn_append ()
389 eval $1=\$$1\$2
391 fi # as_fn_append
393 # as_fn_arith ARG...
394 # ------------------
395 # Perform arithmetic evaluation on the ARGs, and store the result in the
396 # global $as_val. Take advantage of shells that can avoid forks. The arguments
397 # must be portable across $(()) and expr.
398 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
399 eval 'as_fn_arith ()
401 as_val=$(( $* ))
403 else
404 as_fn_arith ()
406 as_val=`expr "$@" || test $? -eq 1`
408 fi # as_fn_arith
411 # as_fn_error STATUS ERROR [LINENO LOG_FD]
412 # ----------------------------------------
413 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
414 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
415 # script with STATUS, using 1 if that was 0.
416 as_fn_error ()
418 as_status=$1; test $as_status -eq 0 && as_status=1
419 if test "$4"; then
420 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
421 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
423 $as_echo "$as_me: error: $2" >&2
424 as_fn_exit $as_status
425 } # as_fn_error
427 if expr a : '\(a\)' >/dev/null 2>&1 &&
428 test "X`expr 00001 : '.*\(...\)'`" = X001; then
429 as_expr=expr
430 else
431 as_expr=false
434 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
435 as_basename=basename
436 else
437 as_basename=false
440 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
441 as_dirname=dirname
442 else
443 as_dirname=false
446 as_me=`$as_basename -- "$0" ||
447 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
448 X"$0" : 'X\(//\)$' \| \
449 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
450 $as_echo X/"$0" |
451 sed '/^.*\/\([^/][^/]*\)\/*$/{
452 s//\1/
455 /^X\/\(\/\/\)$/{
456 s//\1/
459 /^X\/\(\/\).*/{
460 s//\1/
463 s/.*/./; q'`
465 # Avoid depending upon Character Ranges.
466 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
467 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
468 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
469 as_cr_digits='0123456789'
470 as_cr_alnum=$as_cr_Letters$as_cr_digits
473 as_lineno_1=$LINENO as_lineno_1a=$LINENO
474 as_lineno_2=$LINENO as_lineno_2a=$LINENO
475 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
476 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
477 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
478 sed -n '
480 /[$]LINENO/=
481 ' <$as_myself |
482 sed '
483 s/[$]LINENO.*/&-/
484 t lineno
486 :lineno
488 :loop
489 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
490 t loop
491 s/-\n.*//
492 ' >$as_me.lineno &&
493 chmod +x "$as_me.lineno" ||
494 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
496 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
497 # already done that, so ensure we don't try to do so again and fall
498 # in an infinite loop. This has already happened in practice.
499 _as_can_reexec=no; export _as_can_reexec
500 # Don't try to exec as it changes $[0], causing all sort of problems
501 # (the dirname of $[0] is not the place where we might find the
502 # original and so on. Autoconf is especially sensitive to this).
503 . "./$as_me.lineno"
504 # Exit status is that of the last command.
505 exit
508 ECHO_C= ECHO_N= ECHO_T=
509 case `echo -n x` in #(((((
510 -n*)
511 case `echo 'xy\c'` in
512 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
513 xy) ECHO_C='\c';;
514 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
515 ECHO_T=' ';;
516 esac;;
518 ECHO_N='-n';;
519 esac
521 rm -f conf$$ conf$$.exe conf$$.file
522 if test -d conf$$.dir; then
523 rm -f conf$$.dir/conf$$.file
524 else
525 rm -f conf$$.dir
526 mkdir conf$$.dir 2>/dev/null
528 if (echo >conf$$.file) 2>/dev/null; then
529 if ln -s conf$$.file conf$$ 2>/dev/null; then
530 as_ln_s='ln -s'
531 # ... but there are two gotchas:
532 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
533 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
534 # In both cases, we have to default to `cp -pR'.
535 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
536 as_ln_s='cp -pR'
537 elif ln conf$$.file conf$$ 2>/dev/null; then
538 as_ln_s=ln
539 else
540 as_ln_s='cp -pR'
542 else
543 as_ln_s='cp -pR'
545 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
546 rmdir conf$$.dir 2>/dev/null
548 if mkdir -p . 2>/dev/null; then
549 as_mkdir_p='mkdir -p "$as_dir"'
550 else
551 test -d ./-p && rmdir ./-p
552 as_mkdir_p=false
555 as_test_x='test -x'
556 as_executable_p=as_fn_executable_p
558 # Sed expression to map a string onto a valid CPP name.
559 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
561 # Sed expression to map a string onto a valid variable name.
562 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
564 SHELL=${CONFIG_SHELL-/bin/sh}
567 test -n "$DJDIR" || exec 7<&0 </dev/null
568 exec 6>&1
570 # Name of the host.
571 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
572 # so uname gets run too.
573 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
576 # Initializations.
578 ac_default_prefix=/usr/local
579 ac_clean_files=
580 ac_config_libobj_dir=.
581 LIBOBJS=
582 cross_compiling=no
583 subdirs=
584 MFLAGS=
585 MAKEFLAGS=
587 # Identity of this package.
588 PACKAGE_NAME='package-unused'
589 PACKAGE_TARNAME='libstdc++'
590 PACKAGE_VERSION='version-unused'
591 PACKAGE_STRING='package-unused version-unused'
592 PACKAGE_BUGREPORT=''
593 PACKAGE_URL=''
595 ac_unique_file="src/shared/hashtable-aux.cc"
596 # Factoring default headers for most tests.
597 ac_includes_default="\
598 #include <stdio.h>
599 #ifdef HAVE_SYS_TYPES_H
600 # include <sys/types.h>
601 #endif
602 #ifdef HAVE_SYS_STAT_H
603 # include <sys/stat.h>
604 #endif
605 #ifdef STDC_HEADERS
606 # include <stdlib.h>
607 # include <stddef.h>
608 #else
609 # ifdef HAVE_STDLIB_H
610 # include <stdlib.h>
611 # endif
612 #endif
613 #ifdef HAVE_STRING_H
614 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
615 # include <memory.h>
616 # endif
617 # include <string.h>
618 #endif
619 #ifdef HAVE_STRINGS_H
620 # include <strings.h>
621 #endif
622 #ifdef HAVE_INTTYPES_H
623 # include <inttypes.h>
624 #endif
625 #ifdef HAVE_STDINT_H
626 # include <stdint.h>
627 #endif
628 #ifdef HAVE_UNISTD_H
629 # include <unistd.h>
630 #endif"
632 ac_subst_vars='am__EXEEXT_FALSE
633 am__EXEEXT_TRUE
634 LTLIBOBJS
635 LIBOBJS
636 get_gcc_base_ver
637 WARN_FLAGS
638 OPTIMIZE_CXXFLAGS
639 TOPLEVEL_INCLUDES
640 GLIBCXX_INCLUDES
641 glibcxx_toolexeclibdir
642 glibcxx_toolexecdir
643 gxx_include_dir
644 glibcxx_prefixdir
645 EXTRA_CFLAGS
646 tmake_file
647 CPU_OPT_BITS_RANDOM
648 CPU_OPT_EXT_RANDOM
649 ERROR_CONSTANTS_SRCDIR
650 OS_INC_SRCDIR
651 ABI_TWEAKS_SRCDIR
652 CPU_DEFINES_SRCDIR
653 ATOMIC_FLAGS
654 ATOMIC_WORD_SRCDIR
655 ATOMICITY_SRCDIR
656 INCLUDE_DIR_NOTPARALLEL_FALSE
657 INCLUDE_DIR_NOTPARALLEL_TRUE
658 BUILD_PDF_FALSE
659 BUILD_PDF_TRUE
660 PDFLATEX
661 DBLATEX
662 BUILD_MAN_FALSE
663 BUILD_MAN_TRUE
664 BUILD_HTML_FALSE
665 BUILD_HTML_TRUE
666 BUILD_XML_FALSE
667 BUILD_XML_TRUE
668 BUILD_EPUB_FALSE
669 BUILD_EPUB_TRUE
670 XSL_STYLE_DIR
671 XMLLINT
672 XSLTPROC
673 XMLCATALOG
675 DOXYGEN
676 BUILD_INFO_FALSE
677 BUILD_INFO_TRUE
678 ENABLE_FILESYSTEM_TS_FALSE
679 ENABLE_FILESYSTEM_TS_TRUE
680 baseline_subdir_switch
681 baseline_dir
682 HWCAP_CFLAGS
683 GLIBCXX_LDBL_ALT128_COMPAT_FALSE
684 GLIBCXX_LDBL_ALT128_COMPAT_TRUE
685 GLIBCXX_LDBL_COMPAT_FALSE
686 GLIBCXX_LDBL_COMPAT_TRUE
687 LONG_DOUBLE_ALT128_COMPAT_FLAGS
688 LONG_DOUBLE_128_FLAGS
689 LONG_DOUBLE_COMPAT_FLAGS
690 ENABLE_CXX11_ABI_FALSE
691 ENABLE_CXX11_ABI_TRUE
692 glibcxx_cxx98_abi
693 ENABLE_DUAL_ABI_FALSE
694 ENABLE_DUAL_ABI_TRUE
695 ENABLE_VISIBILITY_FALSE
696 ENABLE_VISIBILITY_TRUE
697 libtool_VERSION
698 ENABLE_SYMVERS_SUN_FALSE
699 ENABLE_SYMVERS_SUN_TRUE
700 ENABLE_SYMVERS_DARWIN_FALSE
701 ENABLE_SYMVERS_DARWIN_TRUE
702 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE
703 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE
704 ENABLE_SYMVERS_GNU_FALSE
705 ENABLE_SYMVERS_GNU_TRUE
706 ENABLE_SYMVERS_FALSE
707 ENABLE_SYMVERS_TRUE
708 port_specific_symbol_files
709 SYMVER_FILE
710 CXXFILT
711 LTLIBICONV
712 LIBICONV
713 OPT_LDFLAGS
714 SECTION_LDFLAGS
715 GLIBCXX_LIBS
716 ENABLE_VTABLE_VERIFY_FALSE
717 ENABLE_VTABLE_VERIFY_TRUE
718 VTV_CYGMIN_FALSE
719 VTV_CYGMIN_TRUE
720 VTV_CXXLINKFLAGS
721 VTV_PCH_CXXFLAGS
722 VTV_CXXFLAGS
723 ENABLE_WERROR_FALSE
724 ENABLE_WERROR_TRUE
725 ENABLE_PYTHONDIR_FALSE
726 ENABLE_PYTHONDIR_TRUE
727 python_mod_dir
728 ENABLE_EXTERN_TEMPLATE_FALSE
729 ENABLE_EXTERN_TEMPLATE_TRUE
730 EXTRA_CXX_FLAGS
731 GLIBCXX_BUILD_DEBUG_FALSE
732 GLIBCXX_BUILD_DEBUG_TRUE
733 DEBUG_FLAGS
734 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE
735 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE
736 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE
737 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE
738 GLIBCXX_C_HEADERS_C_STD_FALSE
739 GLIBCXX_C_HEADERS_C_STD_TRUE
740 GLIBCXX_C_HEADERS_C_FALSE
741 GLIBCXX_C_HEADERS_C_TRUE
742 C_INCLUDE_DIR
743 ALLOCATOR_NAME
744 ALLOCATOR_H
745 ENABLE_ALLOCATOR_NEW_FALSE
746 ENABLE_ALLOCATOR_NEW_TRUE
747 CLOCALE_INTERNAL_H
748 CLOCALE_CC
749 CTIME_CC
750 CTIME_H
751 CNUMERIC_CC
752 CMONEY_CC
753 CMESSAGES_CC
754 CCTYPE_CC
755 CCOLLATE_CC
756 CCODECVT_CC
757 CMESSAGES_H
758 CLOCALE_H
759 USE_NLS
760 glibcxx_localedir
761 glibcxx_POFILES
762 glibcxx_MOFILES
763 check_msgfmt
764 BASIC_FILE_CC
765 BASIC_FILE_H
766 CSTDIO_H
767 SECTION_FLAGS
768 ENABLE_FLOAT128_FALSE
769 ENABLE_FLOAT128_TRUE
770 thread_header
771 glibcxx_PCHFLAGS
772 GLIBCXX_BUILD_PCH_FALSE
773 GLIBCXX_BUILD_PCH_TRUE
774 GLIBCXX_HOSTED_FALSE
775 GLIBCXX_HOSTED_TRUE
776 glibcxx_compiler_shared_flag
777 glibcxx_compiler_pic_flag
778 glibcxx_lt_pic_flag
779 enable_static
780 enable_shared
781 lt_host_flags
782 CXXCPP
783 OTOOL64
784 OTOOL
785 LIPO
786 NMEDIT
787 DSYMUTIL
788 OBJDUMP
790 ac_ct_DUMPBIN
791 DUMPBIN
793 FGREP
795 LIBTOOL
796 EGREP
797 GREP
799 MAINT
800 MAINTAINER_MODE_FALSE
801 MAINTAINER_MODE_TRUE
802 RANLIB
805 LN_S
806 toplevel_srcdir
807 toplevel_builddir
808 glibcxx_srcdir
809 glibcxx_builddir
810 ac_ct_CXX
811 CXXFLAGS
813 OBJEXT
814 EXEEXT
815 ac_ct_CC
816 CPPFLAGS
817 LDFLAGS
818 CFLAGS
820 AM_BACKSLASH
821 AM_DEFAULT_VERBOSITY
822 AM_DEFAULT_V
823 AM_V
824 am__untar
825 am__tar
826 AMTAR
827 am__leading_dot
828 SET_MAKE
830 mkdir_p
831 MKDIR_P
832 INSTALL_STRIP_PROGRAM
833 STRIP
834 install_sh
835 MAKEINFO
836 AUTOHEADER
837 AUTOMAKE
838 AUTOCONF
839 ACLOCAL
840 VERSION
841 PACKAGE
842 CYGPATH_W
843 am__isrc
844 INSTALL_DATA
845 INSTALL_SCRIPT
846 INSTALL_PROGRAM
847 target_os
848 target_vendor
849 target_cpu
850 target
851 host_os
852 host_vendor
853 host_cpu
854 host
855 build_os
856 build_vendor
857 build_cpu
858 build
859 multi_basedir
860 target_alias
861 host_alias
862 build_alias
863 LIBS
864 ECHO_T
865 ECHO_N
866 ECHO_C
867 DEFS
868 mandir
869 localedir
870 libdir
871 psdir
872 pdfdir
873 dvidir
874 htmldir
875 infodir
876 docdir
877 oldincludedir
878 includedir
879 localstatedir
880 sharedstatedir
881 sysconfdir
882 datadir
883 datarootdir
884 libexecdir
885 sbindir
886 bindir
887 program_transform_name
888 prefix
889 exec_prefix
890 PACKAGE_URL
891 PACKAGE_BUGREPORT
892 PACKAGE_STRING
893 PACKAGE_VERSION
894 PACKAGE_TARNAME
895 PACKAGE_NAME
896 PATH_SEPARATOR
897 SHELL'
898 ac_subst_files=''
899 ac_user_opts='
900 enable_option_checking
901 enable_multilib
902 enable_silent_rules
903 enable_largefile
904 with_target_subdir
905 with_cross_host
906 with_newlib
907 enable_maintainer_mode
908 enable_shared
909 enable_static
910 with_pic
911 enable_fast_install
912 with_gnu_ld
913 enable_libtool_lock
914 enable_hosted_libstdcxx
915 enable_libstdcxx_verbose
916 enable_libstdcxx_pch
917 with_libstdcxx_lock_policy
918 enable_cstdio
919 enable_clocale
920 enable_nls
921 enable_libstdcxx_allocator
922 enable_cheaders_obsolete
923 enable_cheaders
924 enable_long_long
925 enable_wchar_t
926 enable_c99
927 enable_concept_checks
928 enable_libstdcxx_debug_flags
929 enable_libstdcxx_debug
930 enable_cxx_flags
931 enable_fully_dynamic_string
932 enable_extern_template
933 with_python_dir
934 enable_werror
935 enable_vtable_verify
936 enable_libstdcxx_time
937 enable_tls
938 enable_rpath
939 with_libiconv_prefix
940 with_libiconv_type
941 with_system_libunwind
942 enable_linux_futex
943 enable_symvers
944 enable_libstdcxx_visibility
945 enable_libstdcxx_dual_abi
946 with_default_libstdcxx_abi
947 enable_libstdcxx_threads
948 enable_libstdcxx_filesystem_ts
949 enable_cet
950 with_gxx_include_dir
951 enable_version_specific_runtime_libs
952 with_toolexeclibdir
953 with_gcc_major_version_only
955 ac_precious_vars='build_alias
956 host_alias
957 target_alias
959 CFLAGS
960 LDFLAGS
961 LIBS
962 CPPFLAGS
964 CXXFLAGS
967 CXXCPP
968 CXXFILT'
971 # Initialize some variables set by options.
972 ac_init_help=
973 ac_init_version=false
974 ac_unrecognized_opts=
975 ac_unrecognized_sep=
976 # The variables have the same names as the options, with
977 # dashes changed to underlines.
978 cache_file=/dev/null
979 exec_prefix=NONE
980 no_create=
981 no_recursion=
982 prefix=NONE
983 program_prefix=NONE
984 program_suffix=NONE
985 program_transform_name=s,x,x,
986 silent=
987 site=
988 srcdir=
989 verbose=
990 x_includes=NONE
991 x_libraries=NONE
993 # Installation directory options.
994 # These are left unexpanded so users can "make install exec_prefix=/foo"
995 # and all the variables that are supposed to be based on exec_prefix
996 # by default will actually change.
997 # Use braces instead of parens because sh, perl, etc. also accept them.
998 # (The list follows the same order as the GNU Coding Standards.)
999 bindir='${exec_prefix}/bin'
1000 sbindir='${exec_prefix}/sbin'
1001 libexecdir='${exec_prefix}/libexec'
1002 datarootdir='${prefix}/share'
1003 datadir='${datarootdir}'
1004 sysconfdir='${prefix}/etc'
1005 sharedstatedir='${prefix}/com'
1006 localstatedir='${prefix}/var'
1007 includedir='${prefix}/include'
1008 oldincludedir='/usr/include'
1009 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1010 infodir='${datarootdir}/info'
1011 htmldir='${docdir}'
1012 dvidir='${docdir}'
1013 pdfdir='${docdir}'
1014 psdir='${docdir}'
1015 libdir='${exec_prefix}/lib'
1016 localedir='${datarootdir}/locale'
1017 mandir='${datarootdir}/man'
1019 ac_prev=
1020 ac_dashdash=
1021 for ac_option
1023 # If the previous option needs an argument, assign it.
1024 if test -n "$ac_prev"; then
1025 eval $ac_prev=\$ac_option
1026 ac_prev=
1027 continue
1030 case $ac_option in
1031 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1032 *=) ac_optarg= ;;
1033 *) ac_optarg=yes ;;
1034 esac
1036 # Accept the important Cygnus configure options, so we can diagnose typos.
1038 case $ac_dashdash$ac_option in
1040 ac_dashdash=yes ;;
1042 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1043 ac_prev=bindir ;;
1044 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1045 bindir=$ac_optarg ;;
1047 -build | --build | --buil | --bui | --bu)
1048 ac_prev=build_alias ;;
1049 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1050 build_alias=$ac_optarg ;;
1052 -cache-file | --cache-file | --cache-fil | --cache-fi \
1053 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1054 ac_prev=cache_file ;;
1055 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1056 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1057 cache_file=$ac_optarg ;;
1059 --config-cache | -C)
1060 cache_file=config.cache ;;
1062 -datadir | --datadir | --datadi | --datad)
1063 ac_prev=datadir ;;
1064 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1065 datadir=$ac_optarg ;;
1067 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1068 | --dataroo | --dataro | --datar)
1069 ac_prev=datarootdir ;;
1070 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1071 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1072 datarootdir=$ac_optarg ;;
1074 -disable-* | --disable-*)
1075 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1076 # Reject names that are not valid shell variable names.
1077 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1078 as_fn_error $? "invalid feature name: $ac_useropt"
1079 ac_useropt_orig=$ac_useropt
1080 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1081 case $ac_user_opts in
1083 "enable_$ac_useropt"
1084 "*) ;;
1085 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1086 ac_unrecognized_sep=', ';;
1087 esac
1088 eval enable_$ac_useropt=no ;;
1090 -docdir | --docdir | --docdi | --doc | --do)
1091 ac_prev=docdir ;;
1092 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1093 docdir=$ac_optarg ;;
1095 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1096 ac_prev=dvidir ;;
1097 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1098 dvidir=$ac_optarg ;;
1100 -enable-* | --enable-*)
1101 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1102 # Reject names that are not valid shell variable names.
1103 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1104 as_fn_error $? "invalid feature name: $ac_useropt"
1105 ac_useropt_orig=$ac_useropt
1106 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1107 case $ac_user_opts in
1109 "enable_$ac_useropt"
1110 "*) ;;
1111 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1112 ac_unrecognized_sep=', ';;
1113 esac
1114 eval enable_$ac_useropt=\$ac_optarg ;;
1116 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1117 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1118 | --exec | --exe | --ex)
1119 ac_prev=exec_prefix ;;
1120 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1121 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1122 | --exec=* | --exe=* | --ex=*)
1123 exec_prefix=$ac_optarg ;;
1125 -gas | --gas | --ga | --g)
1126 # Obsolete; use --with-gas.
1127 with_gas=yes ;;
1129 -help | --help | --hel | --he | -h)
1130 ac_init_help=long ;;
1131 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1132 ac_init_help=recursive ;;
1133 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1134 ac_init_help=short ;;
1136 -host | --host | --hos | --ho)
1137 ac_prev=host_alias ;;
1138 -host=* | --host=* | --hos=* | --ho=*)
1139 host_alias=$ac_optarg ;;
1141 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1142 ac_prev=htmldir ;;
1143 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1144 | --ht=*)
1145 htmldir=$ac_optarg ;;
1147 -includedir | --includedir | --includedi | --included | --include \
1148 | --includ | --inclu | --incl | --inc)
1149 ac_prev=includedir ;;
1150 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1151 | --includ=* | --inclu=* | --incl=* | --inc=*)
1152 includedir=$ac_optarg ;;
1154 -infodir | --infodir | --infodi | --infod | --info | --inf)
1155 ac_prev=infodir ;;
1156 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1157 infodir=$ac_optarg ;;
1159 -libdir | --libdir | --libdi | --libd)
1160 ac_prev=libdir ;;
1161 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1162 libdir=$ac_optarg ;;
1164 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1165 | --libexe | --libex | --libe)
1166 ac_prev=libexecdir ;;
1167 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1168 | --libexe=* | --libex=* | --libe=*)
1169 libexecdir=$ac_optarg ;;
1171 -localedir | --localedir | --localedi | --localed | --locale)
1172 ac_prev=localedir ;;
1173 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1174 localedir=$ac_optarg ;;
1176 -localstatedir | --localstatedir | --localstatedi | --localstated \
1177 | --localstate | --localstat | --localsta | --localst | --locals)
1178 ac_prev=localstatedir ;;
1179 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1180 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1181 localstatedir=$ac_optarg ;;
1183 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1184 ac_prev=mandir ;;
1185 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1186 mandir=$ac_optarg ;;
1188 -nfp | --nfp | --nf)
1189 # Obsolete; use --without-fp.
1190 with_fp=no ;;
1192 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1193 | --no-cr | --no-c | -n)
1194 no_create=yes ;;
1196 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1197 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1198 no_recursion=yes ;;
1200 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1201 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1202 | --oldin | --oldi | --old | --ol | --o)
1203 ac_prev=oldincludedir ;;
1204 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1205 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1206 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1207 oldincludedir=$ac_optarg ;;
1209 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1210 ac_prev=prefix ;;
1211 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1212 prefix=$ac_optarg ;;
1214 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1215 | --program-pre | --program-pr | --program-p)
1216 ac_prev=program_prefix ;;
1217 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1218 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1219 program_prefix=$ac_optarg ;;
1221 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1222 | --program-suf | --program-su | --program-s)
1223 ac_prev=program_suffix ;;
1224 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1225 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1226 program_suffix=$ac_optarg ;;
1228 -program-transform-name | --program-transform-name \
1229 | --program-transform-nam | --program-transform-na \
1230 | --program-transform-n | --program-transform- \
1231 | --program-transform | --program-transfor \
1232 | --program-transfo | --program-transf \
1233 | --program-trans | --program-tran \
1234 | --progr-tra | --program-tr | --program-t)
1235 ac_prev=program_transform_name ;;
1236 -program-transform-name=* | --program-transform-name=* \
1237 | --program-transform-nam=* | --program-transform-na=* \
1238 | --program-transform-n=* | --program-transform-=* \
1239 | --program-transform=* | --program-transfor=* \
1240 | --program-transfo=* | --program-transf=* \
1241 | --program-trans=* | --program-tran=* \
1242 | --progr-tra=* | --program-tr=* | --program-t=*)
1243 program_transform_name=$ac_optarg ;;
1245 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1246 ac_prev=pdfdir ;;
1247 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1248 pdfdir=$ac_optarg ;;
1250 -psdir | --psdir | --psdi | --psd | --ps)
1251 ac_prev=psdir ;;
1252 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1253 psdir=$ac_optarg ;;
1255 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1256 | -silent | --silent | --silen | --sile | --sil)
1257 silent=yes ;;
1259 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1260 ac_prev=sbindir ;;
1261 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1262 | --sbi=* | --sb=*)
1263 sbindir=$ac_optarg ;;
1265 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1266 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1267 | --sharedst | --shareds | --shared | --share | --shar \
1268 | --sha | --sh)
1269 ac_prev=sharedstatedir ;;
1270 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1271 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1272 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1273 | --sha=* | --sh=*)
1274 sharedstatedir=$ac_optarg ;;
1276 -site | --site | --sit)
1277 ac_prev=site ;;
1278 -site=* | --site=* | --sit=*)
1279 site=$ac_optarg ;;
1281 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1282 ac_prev=srcdir ;;
1283 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1284 srcdir=$ac_optarg ;;
1286 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1287 | --syscon | --sysco | --sysc | --sys | --sy)
1288 ac_prev=sysconfdir ;;
1289 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1290 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1291 sysconfdir=$ac_optarg ;;
1293 -target | --target | --targe | --targ | --tar | --ta | --t)
1294 ac_prev=target_alias ;;
1295 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1296 target_alias=$ac_optarg ;;
1298 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1299 verbose=yes ;;
1301 -version | --version | --versio | --versi | --vers | -V)
1302 ac_init_version=: ;;
1304 -with-* | --with-*)
1305 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1306 # Reject names that are not valid shell variable names.
1307 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1308 as_fn_error $? "invalid package name: $ac_useropt"
1309 ac_useropt_orig=$ac_useropt
1310 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1311 case $ac_user_opts in
1313 "with_$ac_useropt"
1314 "*) ;;
1315 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1316 ac_unrecognized_sep=', ';;
1317 esac
1318 eval with_$ac_useropt=\$ac_optarg ;;
1320 -without-* | --without-*)
1321 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1322 # Reject names that are not valid shell variable names.
1323 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1324 as_fn_error $? "invalid package name: $ac_useropt"
1325 ac_useropt_orig=$ac_useropt
1326 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1327 case $ac_user_opts in
1329 "with_$ac_useropt"
1330 "*) ;;
1331 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1332 ac_unrecognized_sep=', ';;
1333 esac
1334 eval with_$ac_useropt=no ;;
1336 --x)
1337 # Obsolete; use --with-x.
1338 with_x=yes ;;
1340 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1341 | --x-incl | --x-inc | --x-in | --x-i)
1342 ac_prev=x_includes ;;
1343 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1344 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1345 x_includes=$ac_optarg ;;
1347 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1348 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1349 ac_prev=x_libraries ;;
1350 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1351 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1352 x_libraries=$ac_optarg ;;
1354 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1355 Try \`$0 --help' for more information"
1358 *=*)
1359 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1360 # Reject names that are not valid shell variable names.
1361 case $ac_envvar in #(
1362 '' | [0-9]* | *[!_$as_cr_alnum]* )
1363 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1364 esac
1365 eval $ac_envvar=\$ac_optarg
1366 export $ac_envvar ;;
1369 # FIXME: should be removed in autoconf 3.0.
1370 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1371 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1372 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1373 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1376 esac
1377 done
1379 if test -n "$ac_prev"; then
1380 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1381 as_fn_error $? "missing argument to $ac_option"
1384 if test -n "$ac_unrecognized_opts"; then
1385 case $enable_option_checking in
1386 no) ;;
1387 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1388 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1389 esac
1392 # Check all directory arguments for consistency.
1393 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1394 datadir sysconfdir sharedstatedir localstatedir includedir \
1395 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1396 libdir localedir mandir
1398 eval ac_val=\$$ac_var
1399 # Remove trailing slashes.
1400 case $ac_val in
1401 */ )
1402 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1403 eval $ac_var=\$ac_val;;
1404 esac
1405 # Be sure to have absolute directory names.
1406 case $ac_val in
1407 [\\/$]* | ?:[\\/]* ) continue;;
1408 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1409 esac
1410 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1411 done
1413 # There might be people who depend on the old broken behavior: `$host'
1414 # used to hold the argument of --host etc.
1415 # FIXME: To remove some day.
1416 build=$build_alias
1417 host=$host_alias
1418 target=$target_alias
1420 # FIXME: To remove some day.
1421 if test "x$host_alias" != x; then
1422 if test "x$build_alias" = x; then
1423 cross_compiling=maybe
1424 elif test "x$build_alias" != "x$host_alias"; then
1425 cross_compiling=yes
1429 ac_tool_prefix=
1430 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1432 test "$silent" = yes && exec 6>/dev/null
1435 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1436 ac_ls_di=`ls -di .` &&
1437 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1438 as_fn_error $? "working directory cannot be determined"
1439 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1440 as_fn_error $? "pwd does not report name of working directory"
1443 # Find the source files, if location was not specified.
1444 if test -z "$srcdir"; then
1445 ac_srcdir_defaulted=yes
1446 # Try the directory containing this script, then the parent directory.
1447 ac_confdir=`$as_dirname -- "$as_myself" ||
1448 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1449 X"$as_myself" : 'X\(//\)[^/]' \| \
1450 X"$as_myself" : 'X\(//\)$' \| \
1451 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1452 $as_echo X"$as_myself" |
1453 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1454 s//\1/
1457 /^X\(\/\/\)[^/].*/{
1458 s//\1/
1461 /^X\(\/\/\)$/{
1462 s//\1/
1465 /^X\(\/\).*/{
1466 s//\1/
1469 s/.*/./; q'`
1470 srcdir=$ac_confdir
1471 if test ! -r "$srcdir/$ac_unique_file"; then
1472 srcdir=..
1474 else
1475 ac_srcdir_defaulted=no
1477 if test ! -r "$srcdir/$ac_unique_file"; then
1478 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1479 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1481 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1482 ac_abs_confdir=`(
1483 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1484 pwd)`
1485 # When building in place, set srcdir=.
1486 if test "$ac_abs_confdir" = "$ac_pwd"; then
1487 srcdir=.
1489 # Remove unnecessary trailing slashes from srcdir.
1490 # Double slashes in file names in object file debugging info
1491 # mess up M-x gdb in Emacs.
1492 case $srcdir in
1493 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1494 esac
1495 for ac_var in $ac_precious_vars; do
1496 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1497 eval ac_env_${ac_var}_value=\$${ac_var}
1498 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1499 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1500 done
1503 # Report the --help message.
1505 if test "$ac_init_help" = "long"; then
1506 # Omit some internal or obsolete options to make the list less imposing.
1507 # This message is too long to be a string in the A/UX 3.1 sh.
1508 cat <<_ACEOF
1509 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1511 Usage: $0 [OPTION]... [VAR=VALUE]...
1513 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1514 VAR=VALUE. See below for descriptions of some of the useful variables.
1516 Defaults for the options are specified in brackets.
1518 Configuration:
1519 -h, --help display this help and exit
1520 --help=short display options specific to this package
1521 --help=recursive display the short help of all the included packages
1522 -V, --version display version information and exit
1523 -q, --quiet, --silent do not print \`checking ...' messages
1524 --cache-file=FILE cache test results in FILE [disabled]
1525 -C, --config-cache alias for \`--cache-file=config.cache'
1526 -n, --no-create do not create output files
1527 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1529 Installation directories:
1530 --prefix=PREFIX install architecture-independent files in PREFIX
1531 [$ac_default_prefix]
1532 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1533 [PREFIX]
1535 By default, \`make install' will install all the files in
1536 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1537 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1538 for instance \`--prefix=\$HOME'.
1540 For better control, use the options below.
1542 Fine tuning of the installation directories:
1543 --bindir=DIR user executables [EPREFIX/bin]
1544 --sbindir=DIR system admin executables [EPREFIX/sbin]
1545 --libexecdir=DIR program executables [EPREFIX/libexec]
1546 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1547 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1548 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1549 --libdir=DIR object code libraries [EPREFIX/lib]
1550 --includedir=DIR C header files [PREFIX/include]
1551 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1552 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1553 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1554 --infodir=DIR info documentation [DATAROOTDIR/info]
1555 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1556 --mandir=DIR man documentation [DATAROOTDIR/man]
1557 --docdir=DIR documentation root [DATAROOTDIR/doc/libstdc++]
1558 --htmldir=DIR html documentation [DOCDIR]
1559 --dvidir=DIR dvi documentation [DOCDIR]
1560 --pdfdir=DIR pdf documentation [DOCDIR]
1561 --psdir=DIR ps documentation [DOCDIR]
1562 _ACEOF
1564 cat <<\_ACEOF
1566 Program names:
1567 --program-prefix=PREFIX prepend PREFIX to installed program names
1568 --program-suffix=SUFFIX append SUFFIX to installed program names
1569 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1571 System types:
1572 --build=BUILD configure for building on BUILD [guessed]
1573 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1574 --target=TARGET configure for building compilers for TARGET [HOST]
1575 _ACEOF
1578 if test -n "$ac_init_help"; then
1579 case $ac_init_help in
1580 short | recursive ) echo "Configuration of package-unused version-unused:";;
1581 esac
1582 cat <<\_ACEOF
1584 Optional Features:
1585 --disable-option-checking ignore unrecognized --enable/--with options
1586 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1587 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1588 --enable-multilib build many library versions (default)
1589 --enable-silent-rules less verbose build output (undo: "make V=1")
1590 --disable-silent-rules verbose build output (undo: "make V=0")
1591 --disable-largefile omit support for large files
1592 --enable-maintainer-mode
1593 enable make rules and dependencies not useful (and
1594 sometimes confusing) to the casual installer
1595 --enable-shared[=PKGS] build shared libraries [default=yes]
1596 --enable-static[=PKGS] build static libraries [default=yes]
1597 --enable-fast-install[=PKGS]
1598 optimize for fast installation [default=yes]
1599 --disable-libtool-lock avoid locking (might break parallel builds)
1600 --disable-hosted-libstdcxx
1601 only build freestanding C++ runtime support
1602 --disable-libstdcxx-verbose
1603 disable termination messages to standard error
1604 --enable-libstdcxx-pch build pre-compiled libstdc++ headers
1605 [default=$is_hosted]
1606 --enable-cstdio[=PACKAGE]
1607 use target-specific I/O package [default=stdio]
1608 --enable-clocale[=MODEL]
1609 use MODEL for target locale package [default=auto]
1610 --enable-nls use Native Language Support (default)
1611 --enable-libstdcxx-allocator[=KIND]
1612 use KIND for target std::allocator base
1613 [default=auto]
1614 --enable-cheaders-obsolete
1615 allow use of obsolete "C" headers for g++
1616 [default=no]
1617 --enable-cheaders[=KIND]
1618 construct "C" headers for g++ [default=$c_model]
1619 --enable-long-long enable template specializations for 'long long'
1620 [default=yes]
1621 --enable-wchar_t enable template specializations for 'wchar_t'
1622 [default=yes]
1623 --enable-c99 turns on ISO/IEC 9899:1999 support [default=yes]
1624 --enable-concept-checks use Boost-derived template checks [default=no]
1625 --enable-libstdcxx-debug-flags=FLAGS
1626 pass compiler FLAGS when building debug library
1627 [default="-gdwarf-4 -g3 -O0 -D_GLIBCXX_ASSERTIONS"]
1628 --enable-libstdcxx-debug
1629 build extra debug library [default=no]
1630 --enable-cxx-flags=FLAGS
1631 pass compiler FLAGS when building library [default=]
1632 --enable-fully-dynamic-string
1633 do not put empty strings in per-process static
1634 memory [default=no]
1635 --enable-extern-template
1636 enable extern template [default=yes]
1637 --enable-werror turns on -Werror [default=no]
1638 --enable-vtable-verify enable vtable verify [default=no]
1639 --enable-libstdcxx-time[=KIND]
1640 use KIND for check type [default=auto]
1641 --enable-tls Use thread-local storage [default=yes]
1642 --disable-rpath do not hardcode runtime library paths
1643 --enable-linux-futex use the Linux futex system call [default=default]
1644 --enable-symvers[=STYLE]
1645 enables symbol versioning of the shared library
1646 [default=yes]
1647 --enable-libstdcxx-visibility
1648 enables visibility safe usage [default=yes]
1649 --enable-libstdcxx-dual-abi
1650 support two versions of std::string [default=yes]
1651 --enable-libstdcxx-threads
1652 enable C++11 threads support [default=auto]
1653 --enable-libstdcxx-filesystem-ts
1654 turns on ISO/IEC TS 18822 support [default=auto]
1655 --enable-cet enable Intel CET in target libraries [default=auto]
1656 --enable-version-specific-runtime-libs
1657 Specify that runtime libraries should be installed
1658 in a compiler-specific directory
1660 Optional Packages:
1661 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1662 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1663 --with-target-subdir=SUBDIR
1664 configuring in a subdirectory
1665 --with-cross-host=HOST configuring with a cross compiler
1666 --with-newlib assume newlib as a system C library
1667 --with-pic try to use only PIC/non-PIC objects [default=use
1668 both]
1669 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1670 --with-libstdcxx-lock-policy={atomic,mutex,auto}
1671 synchronization policy for shared_ptr reference
1672 counting [default=auto]
1673 --with-python-dir the location to install Python modules. This path is
1674 relative starting from the prefix.
1675 --with-gnu-ld assume the C compiler uses GNU ld default=no
1676 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1677 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1678 --with-libiconv-type=TYPE type of library to search for (auto/static/shared)
1679 --with-system-libunwind use installed libunwind
1680 --with-default-libstdcxx-abi
1681 set the std::string ABI to use by default
1682 --with-gxx-include-dir=DIR
1683 installation directory for include files
1684 --with-toolexeclibdir=DIR
1685 install libraries built with a cross compiler within
1687 --with-gcc-major-version-only
1688 use only GCC major number in filesystem paths
1690 Some influential environment variables:
1691 CC C compiler command
1692 CFLAGS C compiler flags
1693 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1694 nonstandard directory <lib dir>
1695 LIBS libraries to pass to the linker, e.g. -l<library>
1696 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1697 you have headers in a nonstandard directory <include dir>
1698 CXX C++ compiler command
1699 CXXFLAGS C++ compiler flags
1700 CPP C preprocessor
1701 CXXCPP C++ preprocessor
1702 CXXFILT Location of GNU c++filt. Defaults to the first GNU version of
1703 `c++filt', `gc++filt' on PATH.
1705 Use these variables to override the choices made by `configure' or to help
1706 it to find libraries and programs with nonstandard names/locations.
1708 Report bugs to the package provider.
1709 _ACEOF
1710 ac_status=$?
1713 if test "$ac_init_help" = "recursive"; then
1714 # If there are subdirs, report their specific --help.
1715 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1716 test -d "$ac_dir" ||
1717 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1718 continue
1719 ac_builddir=.
1721 case "$ac_dir" in
1722 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1724 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1725 # A ".." for each directory in $ac_dir_suffix.
1726 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1727 case $ac_top_builddir_sub in
1728 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1729 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1730 esac ;;
1731 esac
1732 ac_abs_top_builddir=$ac_pwd
1733 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1734 # for backward compatibility:
1735 ac_top_builddir=$ac_top_build_prefix
1737 case $srcdir in
1738 .) # We are building in place.
1739 ac_srcdir=.
1740 ac_top_srcdir=$ac_top_builddir_sub
1741 ac_abs_top_srcdir=$ac_pwd ;;
1742 [\\/]* | ?:[\\/]* ) # Absolute name.
1743 ac_srcdir=$srcdir$ac_dir_suffix;
1744 ac_top_srcdir=$srcdir
1745 ac_abs_top_srcdir=$srcdir ;;
1746 *) # Relative name.
1747 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1748 ac_top_srcdir=$ac_top_build_prefix$srcdir
1749 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1750 esac
1751 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1753 cd "$ac_dir" || { ac_status=$?; continue; }
1754 # Check for guested configure.
1755 if test -f "$ac_srcdir/configure.gnu"; then
1756 echo &&
1757 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1758 elif test -f "$ac_srcdir/configure"; then
1759 echo &&
1760 $SHELL "$ac_srcdir/configure" --help=recursive
1761 else
1762 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1763 fi || ac_status=$?
1764 cd "$ac_pwd" || { ac_status=$?; break; }
1765 done
1768 test -n "$ac_init_help" && exit $ac_status
1769 if $ac_init_version; then
1770 cat <<\_ACEOF
1771 package-unused configure version-unused
1772 generated by GNU Autoconf 2.69
1774 Copyright (C) 2012 Free Software Foundation, Inc.
1775 This configure script is free software; the Free Software Foundation
1776 gives unlimited permission to copy, distribute and modify it.
1777 _ACEOF
1778 exit
1781 ## ------------------------ ##
1782 ## Autoconf initialization. ##
1783 ## ------------------------ ##
1785 # ac_fn_c_try_compile LINENO
1786 # --------------------------
1787 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1788 ac_fn_c_try_compile ()
1790 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1791 rm -f conftest.$ac_objext
1792 if { { ac_try="$ac_compile"
1793 case "(($ac_try" in
1794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1795 *) ac_try_echo=$ac_try;;
1796 esac
1797 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1798 $as_echo "$ac_try_echo"; } >&5
1799 (eval "$ac_compile") 2>conftest.err
1800 ac_status=$?
1801 if test -s conftest.err; then
1802 grep -v '^ *+' conftest.err >conftest.er1
1803 cat conftest.er1 >&5
1804 mv -f conftest.er1 conftest.err
1806 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1807 test $ac_status = 0; } && {
1808 test -z "$ac_c_werror_flag" ||
1809 test ! -s conftest.err
1810 } && test -s conftest.$ac_objext; then :
1811 ac_retval=0
1812 else
1813 $as_echo "$as_me: failed program was:" >&5
1814 sed 's/^/| /' conftest.$ac_ext >&5
1816 ac_retval=1
1818 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1819 as_fn_set_status $ac_retval
1821 } # ac_fn_c_try_compile
1823 # ac_fn_cxx_try_compile LINENO
1824 # ----------------------------
1825 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1826 ac_fn_cxx_try_compile ()
1828 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1829 rm -f conftest.$ac_objext
1830 if { { ac_try="$ac_compile"
1831 case "(($ac_try" in
1832 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1833 *) ac_try_echo=$ac_try;;
1834 esac
1835 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1836 $as_echo "$ac_try_echo"; } >&5
1837 (eval "$ac_compile") 2>conftest.err
1838 ac_status=$?
1839 if test -s conftest.err; then
1840 grep -v '^ *+' conftest.err >conftest.er1
1841 cat conftest.er1 >&5
1842 mv -f conftest.er1 conftest.err
1844 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1845 test $ac_status = 0; } && {
1846 test -z "$ac_cxx_werror_flag" ||
1847 test ! -s conftest.err
1848 } && test -s conftest.$ac_objext; then :
1849 ac_retval=0
1850 else
1851 $as_echo "$as_me: failed program was:" >&5
1852 sed 's/^/| /' conftest.$ac_ext >&5
1854 ac_retval=1
1856 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1857 as_fn_set_status $ac_retval
1859 } # ac_fn_cxx_try_compile
1861 # ac_fn_c_try_cpp LINENO
1862 # ----------------------
1863 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1864 ac_fn_c_try_cpp ()
1866 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1867 if { { ac_try="$ac_cpp conftest.$ac_ext"
1868 case "(($ac_try" in
1869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1870 *) ac_try_echo=$ac_try;;
1871 esac
1872 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1873 $as_echo "$ac_try_echo"; } >&5
1874 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1875 ac_status=$?
1876 if test -s conftest.err; then
1877 grep -v '^ *+' conftest.err >conftest.er1
1878 cat conftest.er1 >&5
1879 mv -f conftest.er1 conftest.err
1881 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1882 test $ac_status = 0; } > conftest.i && {
1883 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1884 test ! -s conftest.err
1885 }; then :
1886 ac_retval=0
1887 else
1888 $as_echo "$as_me: failed program was:" >&5
1889 sed 's/^/| /' conftest.$ac_ext >&5
1891 ac_retval=1
1893 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1894 as_fn_set_status $ac_retval
1896 } # ac_fn_c_try_cpp
1898 # ac_fn_c_try_link LINENO
1899 # -----------------------
1900 # Try to link conftest.$ac_ext, and return whether this succeeded.
1901 ac_fn_c_try_link ()
1903 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1904 rm -f conftest.$ac_objext conftest$ac_exeext
1905 if { { ac_try="$ac_link"
1906 case "(($ac_try" in
1907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1908 *) ac_try_echo=$ac_try;;
1909 esac
1910 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1911 $as_echo "$ac_try_echo"; } >&5
1912 (eval "$ac_link") 2>conftest.err
1913 ac_status=$?
1914 if test -s conftest.err; then
1915 grep -v '^ *+' conftest.err >conftest.er1
1916 cat conftest.er1 >&5
1917 mv -f conftest.er1 conftest.err
1919 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1920 test $ac_status = 0; } && {
1921 test -z "$ac_c_werror_flag" ||
1922 test ! -s conftest.err
1923 } && test -s conftest$ac_exeext && {
1924 test "$cross_compiling" = yes ||
1925 test -x conftest$ac_exeext
1926 }; then :
1927 ac_retval=0
1928 else
1929 $as_echo "$as_me: failed program was:" >&5
1930 sed 's/^/| /' conftest.$ac_ext >&5
1932 ac_retval=1
1934 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1935 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1936 # interfere with the next link command; also delete a directory that is
1937 # left behind by Apple's compiler. We do this before executing the actions.
1938 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1939 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1940 as_fn_set_status $ac_retval
1942 } # ac_fn_c_try_link
1944 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1945 # -------------------------------------------------------
1946 # Tests whether HEADER exists and can be compiled using the include files in
1947 # INCLUDES, setting the cache variable VAR accordingly.
1948 ac_fn_c_check_header_compile ()
1950 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1952 $as_echo_n "checking for $2... " >&6; }
1953 if eval \${$3+:} false; then :
1954 $as_echo_n "(cached) " >&6
1955 else
1956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1957 /* end confdefs.h. */
1959 #include <$2>
1960 _ACEOF
1961 if ac_fn_c_try_compile "$LINENO"; then :
1962 eval "$3=yes"
1963 else
1964 eval "$3=no"
1966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1968 eval ac_res=\$$3
1969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1970 $as_echo "$ac_res" >&6; }
1971 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1973 } # ac_fn_c_check_header_compile
1975 # ac_fn_c_try_run LINENO
1976 # ----------------------
1977 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1978 # that executables *can* be run.
1979 ac_fn_c_try_run ()
1981 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1982 if { { ac_try="$ac_link"
1983 case "(($ac_try" in
1984 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1985 *) ac_try_echo=$ac_try;;
1986 esac
1987 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1988 $as_echo "$ac_try_echo"; } >&5
1989 (eval "$ac_link") 2>&5
1990 ac_status=$?
1991 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1992 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1993 { { case "(($ac_try" in
1994 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1995 *) ac_try_echo=$ac_try;;
1996 esac
1997 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1998 $as_echo "$ac_try_echo"; } >&5
1999 (eval "$ac_try") 2>&5
2000 ac_status=$?
2001 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2002 test $ac_status = 0; }; }; then :
2003 ac_retval=0
2004 else
2005 $as_echo "$as_me: program exited with status $ac_status" >&5
2006 $as_echo "$as_me: failed program was:" >&5
2007 sed 's/^/| /' conftest.$ac_ext >&5
2009 ac_retval=$ac_status
2011 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2012 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2013 as_fn_set_status $ac_retval
2015 } # ac_fn_c_try_run
2017 # ac_fn_c_check_func LINENO FUNC VAR
2018 # ----------------------------------
2019 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2020 ac_fn_c_check_func ()
2022 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2024 $as_echo_n "checking for $2... " >&6; }
2025 if eval \${$3+:} false; then :
2026 $as_echo_n "(cached) " >&6
2027 else
2028 if test x$gcc_no_link = xyes; then
2029 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
2031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2032 /* end confdefs.h. */
2033 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2034 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2035 #define $2 innocuous_$2
2037 /* System header to define __stub macros and hopefully few prototypes,
2038 which can conflict with char $2 (); below.
2039 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2040 <limits.h> exists even on freestanding compilers. */
2042 #ifdef __STDC__
2043 # include <limits.h>
2044 #else
2045 # include <assert.h>
2046 #endif
2048 #undef $2
2050 /* Override any GCC internal prototype to avoid an error.
2051 Use char because int might match the return type of a GCC
2052 builtin and then its argument prototype would still apply. */
2053 #ifdef __cplusplus
2054 extern "C"
2055 #endif
2056 char $2 ();
2057 /* The GNU C library defines this for functions which it implements
2058 to always fail with ENOSYS. Some functions are actually named
2059 something starting with __ and the normal name is an alias. */
2060 #if defined __stub_$2 || defined __stub___$2
2061 choke me
2062 #endif
2065 main ()
2067 return $2 ();
2069 return 0;
2071 _ACEOF
2072 if ac_fn_c_try_link "$LINENO"; then :
2073 eval "$3=yes"
2074 else
2075 eval "$3=no"
2077 rm -f core conftest.err conftest.$ac_objext \
2078 conftest$ac_exeext conftest.$ac_ext
2080 eval ac_res=\$$3
2081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2082 $as_echo "$ac_res" >&6; }
2083 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2085 } # ac_fn_c_check_func
2087 # ac_fn_cxx_try_cpp LINENO
2088 # ------------------------
2089 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2090 ac_fn_cxx_try_cpp ()
2092 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2093 if { { ac_try="$ac_cpp conftest.$ac_ext"
2094 case "(($ac_try" in
2095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2096 *) ac_try_echo=$ac_try;;
2097 esac
2098 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2099 $as_echo "$ac_try_echo"; } >&5
2100 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2101 ac_status=$?
2102 if test -s conftest.err; then
2103 grep -v '^ *+' conftest.err >conftest.er1
2104 cat conftest.er1 >&5
2105 mv -f conftest.er1 conftest.err
2107 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2108 test $ac_status = 0; } > conftest.i && {
2109 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2110 test ! -s conftest.err
2111 }; then :
2112 ac_retval=0
2113 else
2114 $as_echo "$as_me: failed program was:" >&5
2115 sed 's/^/| /' conftest.$ac_ext >&5
2117 ac_retval=1
2119 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2120 as_fn_set_status $ac_retval
2122 } # ac_fn_cxx_try_cpp
2124 # ac_fn_cxx_try_link LINENO
2125 # -------------------------
2126 # Try to link conftest.$ac_ext, and return whether this succeeded.
2127 ac_fn_cxx_try_link ()
2129 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2130 rm -f conftest.$ac_objext conftest$ac_exeext
2131 if { { ac_try="$ac_link"
2132 case "(($ac_try" in
2133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2134 *) ac_try_echo=$ac_try;;
2135 esac
2136 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2137 $as_echo "$ac_try_echo"; } >&5
2138 (eval "$ac_link") 2>conftest.err
2139 ac_status=$?
2140 if test -s conftest.err; then
2141 grep -v '^ *+' conftest.err >conftest.er1
2142 cat conftest.er1 >&5
2143 mv -f conftest.er1 conftest.err
2145 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2146 test $ac_status = 0; } && {
2147 test -z "$ac_cxx_werror_flag" ||
2148 test ! -s conftest.err
2149 } && test -s conftest$ac_exeext && {
2150 test "$cross_compiling" = yes ||
2151 test -x conftest$ac_exeext
2152 }; then :
2153 ac_retval=0
2154 else
2155 $as_echo "$as_me: failed program was:" >&5
2156 sed 's/^/| /' conftest.$ac_ext >&5
2158 ac_retval=1
2160 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2161 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2162 # interfere with the next link command; also delete a directory that is
2163 # left behind by Apple's compiler. We do this before executing the actions.
2164 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2165 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2166 as_fn_set_status $ac_retval
2168 } # ac_fn_cxx_try_link
2170 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2171 # -------------------------------------------------------
2172 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2173 # the include files in INCLUDES and setting the cache variable VAR
2174 # accordingly.
2175 ac_fn_c_check_header_mongrel ()
2177 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2178 if eval \${$3+:} false; then :
2179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2180 $as_echo_n "checking for $2... " >&6; }
2181 if eval \${$3+:} false; then :
2182 $as_echo_n "(cached) " >&6
2184 eval ac_res=\$$3
2185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2186 $as_echo "$ac_res" >&6; }
2187 else
2188 # Is the header compilable?
2189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2190 $as_echo_n "checking $2 usability... " >&6; }
2191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2192 /* end confdefs.h. */
2194 #include <$2>
2195 _ACEOF
2196 if ac_fn_c_try_compile "$LINENO"; then :
2197 ac_header_compiler=yes
2198 else
2199 ac_header_compiler=no
2201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2203 $as_echo "$ac_header_compiler" >&6; }
2205 # Is the header present?
2206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2207 $as_echo_n "checking $2 presence... " >&6; }
2208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2209 /* end confdefs.h. */
2210 #include <$2>
2211 _ACEOF
2212 if ac_fn_c_try_cpp "$LINENO"; then :
2213 ac_header_preproc=yes
2214 else
2215 ac_header_preproc=no
2217 rm -f conftest.err conftest.i conftest.$ac_ext
2218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2219 $as_echo "$ac_header_preproc" >&6; }
2221 # So? What about this header?
2222 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2223 yes:no: )
2224 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2225 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2226 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2227 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2229 no:yes:* )
2230 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2231 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2232 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2233 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2234 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2235 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2236 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2237 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2238 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2239 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2241 esac
2242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2243 $as_echo_n "checking for $2... " >&6; }
2244 if eval \${$3+:} false; then :
2245 $as_echo_n "(cached) " >&6
2246 else
2247 eval "$3=\$ac_header_compiler"
2249 eval ac_res=\$$3
2250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2251 $as_echo "$ac_res" >&6; }
2253 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2255 } # ac_fn_c_check_header_mongrel
2257 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2258 # ---------------------------------------------------------
2259 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2260 # the include files in INCLUDES and setting the cache variable VAR
2261 # accordingly.
2262 ac_fn_cxx_check_header_mongrel ()
2264 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2265 if eval \${$3+:} false; then :
2266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2267 $as_echo_n "checking for $2... " >&6; }
2268 if eval \${$3+:} false; then :
2269 $as_echo_n "(cached) " >&6
2271 eval ac_res=\$$3
2272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2273 $as_echo "$ac_res" >&6; }
2274 else
2275 # Is the header compilable?
2276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2277 $as_echo_n "checking $2 usability... " >&6; }
2278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2279 /* end confdefs.h. */
2281 #include <$2>
2282 _ACEOF
2283 if ac_fn_cxx_try_compile "$LINENO"; then :
2284 ac_header_compiler=yes
2285 else
2286 ac_header_compiler=no
2288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2290 $as_echo "$ac_header_compiler" >&6; }
2292 # Is the header present?
2293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2294 $as_echo_n "checking $2 presence... " >&6; }
2295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2296 /* end confdefs.h. */
2297 #include <$2>
2298 _ACEOF
2299 if ac_fn_cxx_try_cpp "$LINENO"; then :
2300 ac_header_preproc=yes
2301 else
2302 ac_header_preproc=no
2304 rm -f conftest.err conftest.i conftest.$ac_ext
2305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2306 $as_echo "$ac_header_preproc" >&6; }
2308 # So? What about this header?
2309 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2310 yes:no: )
2311 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2312 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2313 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2314 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2316 no:yes:* )
2317 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2318 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2319 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2320 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2321 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2322 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2323 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2324 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2325 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2326 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2328 esac
2329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2330 $as_echo_n "checking for $2... " >&6; }
2331 if eval \${$3+:} false; then :
2332 $as_echo_n "(cached) " >&6
2333 else
2334 eval "$3=\$ac_header_compiler"
2336 eval ac_res=\$$3
2337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2338 $as_echo "$ac_res" >&6; }
2340 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2342 } # ac_fn_cxx_check_header_mongrel
2344 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2345 # --------------------------------------------
2346 # Tries to find the compile-time value of EXPR in a program that includes
2347 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2348 # computed
2349 ac_fn_c_compute_int ()
2351 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2352 if test "$cross_compiling" = yes; then
2353 # Depending upon the size, compute the lo and hi bounds.
2354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2355 /* end confdefs.h. */
2358 main ()
2360 static int test_array [1 - 2 * !(($2) >= 0)];
2361 test_array [0] = 0;
2362 return test_array [0];
2365 return 0;
2367 _ACEOF
2368 if ac_fn_c_try_compile "$LINENO"; then :
2369 ac_lo=0 ac_mid=0
2370 while :; do
2371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2372 /* end confdefs.h. */
2375 main ()
2377 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2378 test_array [0] = 0;
2379 return test_array [0];
2382 return 0;
2384 _ACEOF
2385 if ac_fn_c_try_compile "$LINENO"; then :
2386 ac_hi=$ac_mid; break
2387 else
2388 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2389 if test $ac_lo -le $ac_mid; then
2390 ac_lo= ac_hi=
2391 break
2393 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2396 done
2397 else
2398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2399 /* end confdefs.h. */
2402 main ()
2404 static int test_array [1 - 2 * !(($2) < 0)];
2405 test_array [0] = 0;
2406 return test_array [0];
2409 return 0;
2411 _ACEOF
2412 if ac_fn_c_try_compile "$LINENO"; then :
2413 ac_hi=-1 ac_mid=-1
2414 while :; do
2415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2416 /* end confdefs.h. */
2419 main ()
2421 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2422 test_array [0] = 0;
2423 return test_array [0];
2426 return 0;
2428 _ACEOF
2429 if ac_fn_c_try_compile "$LINENO"; then :
2430 ac_lo=$ac_mid; break
2431 else
2432 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2433 if test $ac_mid -le $ac_hi; then
2434 ac_lo= ac_hi=
2435 break
2437 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2440 done
2441 else
2442 ac_lo= ac_hi=
2444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2447 # Binary search between lo and hi bounds.
2448 while test "x$ac_lo" != "x$ac_hi"; do
2449 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2451 /* end confdefs.h. */
2454 main ()
2456 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2457 test_array [0] = 0;
2458 return test_array [0];
2461 return 0;
2463 _ACEOF
2464 if ac_fn_c_try_compile "$LINENO"; then :
2465 ac_hi=$ac_mid
2466 else
2467 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2470 done
2471 case $ac_lo in #((
2472 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2473 '') ac_retval=1 ;;
2474 esac
2475 else
2476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2477 /* end confdefs.h. */
2479 static long int longval () { return $2; }
2480 static unsigned long int ulongval () { return $2; }
2481 #include <stdio.h>
2482 #include <stdlib.h>
2484 main ()
2487 FILE *f = fopen ("conftest.val", "w");
2488 if (! f)
2489 return 1;
2490 if (($2) < 0)
2492 long int i = longval ();
2493 if (i != ($2))
2494 return 1;
2495 fprintf (f, "%ld", i);
2497 else
2499 unsigned long int i = ulongval ();
2500 if (i != ($2))
2501 return 1;
2502 fprintf (f, "%lu", i);
2504 /* Do not output a trailing newline, as this causes \r\n confusion
2505 on some platforms. */
2506 return ferror (f) || fclose (f) != 0;
2509 return 0;
2511 _ACEOF
2512 if ac_fn_c_try_run "$LINENO"; then :
2513 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2514 else
2515 ac_retval=1
2517 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2518 conftest.$ac_objext conftest.beam conftest.$ac_ext
2519 rm -f conftest.val
2522 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2523 as_fn_set_status $ac_retval
2525 } # ac_fn_c_compute_int
2527 # ac_fn_cxx_check_func LINENO FUNC VAR
2528 # ------------------------------------
2529 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2530 ac_fn_cxx_check_func ()
2532 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2534 $as_echo_n "checking for $2... " >&6; }
2535 if eval \${$3+:} false; then :
2536 $as_echo_n "(cached) " >&6
2537 else
2538 if test x$gcc_no_link = xyes; then
2539 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
2541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2542 /* end confdefs.h. */
2543 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2544 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2545 #define $2 innocuous_$2
2547 /* System header to define __stub macros and hopefully few prototypes,
2548 which can conflict with char $2 (); below.
2549 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2550 <limits.h> exists even on freestanding compilers. */
2552 #ifdef __STDC__
2553 # include <limits.h>
2554 #else
2555 # include <assert.h>
2556 #endif
2558 #undef $2
2560 /* Override any GCC internal prototype to avoid an error.
2561 Use char because int might match the return type of a GCC
2562 builtin and then its argument prototype would still apply. */
2563 #ifdef __cplusplus
2564 extern "C"
2565 #endif
2566 char $2 ();
2567 /* The GNU C library defines this for functions which it implements
2568 to always fail with ENOSYS. Some functions are actually named
2569 something starting with __ and the normal name is an alias. */
2570 #if defined __stub_$2 || defined __stub___$2
2571 choke me
2572 #endif
2575 main ()
2577 return $2 ();
2579 return 0;
2581 _ACEOF
2582 if ac_fn_cxx_try_link "$LINENO"; then :
2583 eval "$3=yes"
2584 else
2585 eval "$3=no"
2587 rm -f core conftest.err conftest.$ac_objext \
2588 conftest$ac_exeext conftest.$ac_ext
2590 eval ac_res=\$$3
2591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2592 $as_echo "$ac_res" >&6; }
2593 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2595 } # ac_fn_cxx_check_func
2597 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2598 # -------------------------------------------
2599 # Tests whether TYPE exists after having included INCLUDES, setting cache
2600 # variable VAR accordingly.
2601 ac_fn_c_check_type ()
2603 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2605 $as_echo_n "checking for $2... " >&6; }
2606 if eval \${$3+:} false; then :
2607 $as_echo_n "(cached) " >&6
2608 else
2609 eval "$3=no"
2610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2611 /* end confdefs.h. */
2614 main ()
2616 if (sizeof ($2))
2617 return 0;
2619 return 0;
2621 _ACEOF
2622 if ac_fn_c_try_compile "$LINENO"; then :
2623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2624 /* end confdefs.h. */
2627 main ()
2629 if (sizeof (($2)))
2630 return 0;
2632 return 0;
2634 _ACEOF
2635 if ac_fn_c_try_compile "$LINENO"; then :
2637 else
2638 eval "$3=yes"
2640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2644 eval ac_res=\$$3
2645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2646 $as_echo "$ac_res" >&6; }
2647 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2649 } # ac_fn_c_check_type
2651 # ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
2652 # ---------------------------------------------
2653 # Tests whether TYPE exists after having included INCLUDES, setting cache
2654 # variable VAR accordingly.
2655 ac_fn_cxx_check_type ()
2657 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2659 $as_echo_n "checking for $2... " >&6; }
2660 if eval \${$3+:} false; then :
2661 $as_echo_n "(cached) " >&6
2662 else
2663 eval "$3=no"
2664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2665 /* end confdefs.h. */
2668 main ()
2670 if (sizeof ($2))
2671 return 0;
2673 return 0;
2675 _ACEOF
2676 if ac_fn_cxx_try_compile "$LINENO"; then :
2677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2678 /* end confdefs.h. */
2681 main ()
2683 if (sizeof (($2)))
2684 return 0;
2686 return 0;
2688 _ACEOF
2689 if ac_fn_cxx_try_compile "$LINENO"; then :
2691 else
2692 eval "$3=yes"
2694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2698 eval ac_res=\$$3
2699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2700 $as_echo "$ac_res" >&6; }
2701 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2703 } # ac_fn_cxx_check_type
2705 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2706 # ---------------------------------------------
2707 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2708 # accordingly.
2709 ac_fn_c_check_decl ()
2711 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2712 as_decl_name=`echo $2|sed 's/ *(.*//'`
2713 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2715 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2716 if eval \${$3+:} false; then :
2717 $as_echo_n "(cached) " >&6
2718 else
2719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2720 /* end confdefs.h. */
2723 main ()
2725 #ifndef $as_decl_name
2726 #ifdef __cplusplus
2727 (void) $as_decl_use;
2728 #else
2729 (void) $as_decl_name;
2730 #endif
2731 #endif
2734 return 0;
2736 _ACEOF
2737 if ac_fn_c_try_compile "$LINENO"; then :
2738 eval "$3=yes"
2739 else
2740 eval "$3=no"
2742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2744 eval ac_res=\$$3
2745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2746 $as_echo "$ac_res" >&6; }
2747 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2749 } # ac_fn_c_check_decl
2750 cat >config.log <<_ACEOF
2751 This file contains any messages produced by compilers while
2752 running configure, to aid debugging if configure makes a mistake.
2754 It was created by package-unused $as_me version-unused, which was
2755 generated by GNU Autoconf 2.69. Invocation command line was
2757 $ $0 $@
2759 _ACEOF
2760 exec 5>>config.log
2762 cat <<_ASUNAME
2763 ## --------- ##
2764 ## Platform. ##
2765 ## --------- ##
2767 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2768 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2769 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2770 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2771 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2773 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2774 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2776 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2777 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2778 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2779 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2780 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2781 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2782 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2784 _ASUNAME
2786 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2787 for as_dir in $PATH
2789 IFS=$as_save_IFS
2790 test -z "$as_dir" && as_dir=.
2791 $as_echo "PATH: $as_dir"
2792 done
2793 IFS=$as_save_IFS
2795 } >&5
2797 cat >&5 <<_ACEOF
2800 ## ----------- ##
2801 ## Core tests. ##
2802 ## ----------- ##
2804 _ACEOF
2807 # Keep a trace of the command line.
2808 # Strip out --no-create and --no-recursion so they do not pile up.
2809 # Strip out --silent because we don't want to record it for future runs.
2810 # Also quote any args containing shell meta-characters.
2811 # Make two passes to allow for proper duplicate-argument suppression.
2812 ac_configure_args=
2813 ac_configure_args0=
2814 ac_configure_args1=
2815 ac_must_keep_next=false
2816 for ac_pass in 1 2
2818 for ac_arg
2820 case $ac_arg in
2821 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2822 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2823 | -silent | --silent | --silen | --sile | --sil)
2824 continue ;;
2825 *\'*)
2826 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2827 esac
2828 case $ac_pass in
2829 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2831 as_fn_append ac_configure_args1 " '$ac_arg'"
2832 if test $ac_must_keep_next = true; then
2833 ac_must_keep_next=false # Got value, back to normal.
2834 else
2835 case $ac_arg in
2836 *=* | --config-cache | -C | -disable-* | --disable-* \
2837 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2838 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2839 | -with-* | --with-* | -without-* | --without-* | --x)
2840 case "$ac_configure_args0 " in
2841 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2842 esac
2844 -* ) ac_must_keep_next=true ;;
2845 esac
2847 as_fn_append ac_configure_args " '$ac_arg'"
2849 esac
2850 done
2851 done
2852 { ac_configure_args0=; unset ac_configure_args0;}
2853 { ac_configure_args1=; unset ac_configure_args1;}
2855 # When interrupted or exit'd, cleanup temporary files, and complete
2856 # config.log. We remove comments because anyway the quotes in there
2857 # would cause problems or look ugly.
2858 # WARNING: Use '\'' to represent an apostrophe within the trap.
2859 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2860 trap 'exit_status=$?
2861 # Save into config.log some information that might help in debugging.
2863 echo
2865 $as_echo "## ---------------- ##
2866 ## Cache variables. ##
2867 ## ---------------- ##"
2868 echo
2869 # The following way of writing the cache mishandles newlines in values,
2871 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2872 eval ac_val=\$$ac_var
2873 case $ac_val in #(
2874 *${as_nl}*)
2875 case $ac_var in #(
2876 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2877 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2878 esac
2879 case $ac_var in #(
2880 _ | IFS | as_nl) ;; #(
2881 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2882 *) { eval $ac_var=; unset $ac_var;} ;;
2883 esac ;;
2884 esac
2885 done
2886 (set) 2>&1 |
2887 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2888 *${as_nl}ac_space=\ *)
2889 sed -n \
2890 "s/'\''/'\''\\\\'\'''\''/g;
2891 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2892 ;; #(
2894 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2896 esac |
2897 sort
2899 echo
2901 $as_echo "## ----------------- ##
2902 ## Output variables. ##
2903 ## ----------------- ##"
2904 echo
2905 for ac_var in $ac_subst_vars
2907 eval ac_val=\$$ac_var
2908 case $ac_val in
2909 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2910 esac
2911 $as_echo "$ac_var='\''$ac_val'\''"
2912 done | sort
2913 echo
2915 if test -n "$ac_subst_files"; then
2916 $as_echo "## ------------------- ##
2917 ## File substitutions. ##
2918 ## ------------------- ##"
2919 echo
2920 for ac_var in $ac_subst_files
2922 eval ac_val=\$$ac_var
2923 case $ac_val in
2924 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2925 esac
2926 $as_echo "$ac_var='\''$ac_val'\''"
2927 done | sort
2928 echo
2931 if test -s confdefs.h; then
2932 $as_echo "## ----------- ##
2933 ## confdefs.h. ##
2934 ## ----------- ##"
2935 echo
2936 cat confdefs.h
2937 echo
2939 test "$ac_signal" != 0 &&
2940 $as_echo "$as_me: caught signal $ac_signal"
2941 $as_echo "$as_me: exit $exit_status"
2942 } >&5
2943 rm -f core *.core core.conftest.* &&
2944 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2945 exit $exit_status
2947 for ac_signal in 1 2 13 15; do
2948 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2949 done
2950 ac_signal=0
2952 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2953 rm -f -r conftest* confdefs.h
2955 $as_echo "/* confdefs.h */" > confdefs.h
2957 # Predefined preprocessor variables.
2959 cat >>confdefs.h <<_ACEOF
2960 #define PACKAGE_NAME "$PACKAGE_NAME"
2961 _ACEOF
2963 cat >>confdefs.h <<_ACEOF
2964 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2965 _ACEOF
2967 cat >>confdefs.h <<_ACEOF
2968 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2969 _ACEOF
2971 cat >>confdefs.h <<_ACEOF
2972 #define PACKAGE_STRING "$PACKAGE_STRING"
2973 _ACEOF
2975 cat >>confdefs.h <<_ACEOF
2976 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2977 _ACEOF
2979 cat >>confdefs.h <<_ACEOF
2980 #define PACKAGE_URL "$PACKAGE_URL"
2981 _ACEOF
2984 # Let the site file select an alternate cache file if it wants to.
2985 # Prefer an explicitly selected file to automatically selected ones.
2986 ac_site_file1=NONE
2987 ac_site_file2=NONE
2988 if test -n "$CONFIG_SITE"; then
2989 # We do not want a PATH search for config.site.
2990 case $CONFIG_SITE in #((
2991 -*) ac_site_file1=./$CONFIG_SITE;;
2992 */*) ac_site_file1=$CONFIG_SITE;;
2993 *) ac_site_file1=./$CONFIG_SITE;;
2994 esac
2995 elif test "x$prefix" != xNONE; then
2996 ac_site_file1=$prefix/share/config.site
2997 ac_site_file2=$prefix/etc/config.site
2998 else
2999 ac_site_file1=$ac_default_prefix/share/config.site
3000 ac_site_file2=$ac_default_prefix/etc/config.site
3002 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3004 test "x$ac_site_file" = xNONE && continue
3005 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3006 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3007 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3008 sed 's/^/| /' "$ac_site_file" >&5
3009 . "$ac_site_file" \
3010 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3011 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3012 as_fn_error $? "failed to load site script $ac_site_file
3013 See \`config.log' for more details" "$LINENO" 5; }
3015 done
3017 if test -r "$cache_file"; then
3018 # Some versions of bash will fail to source /dev/null (special files
3019 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3020 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3021 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3022 $as_echo "$as_me: loading cache $cache_file" >&6;}
3023 case $cache_file in
3024 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3025 *) . "./$cache_file";;
3026 esac
3028 else
3029 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3030 $as_echo "$as_me: creating cache $cache_file" >&6;}
3031 >$cache_file
3034 # Check that the precious variables saved in the cache have kept the same
3035 # value.
3036 ac_cache_corrupted=false
3037 for ac_var in $ac_precious_vars; do
3038 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3039 eval ac_new_set=\$ac_env_${ac_var}_set
3040 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3041 eval ac_new_val=\$ac_env_${ac_var}_value
3042 case $ac_old_set,$ac_new_set in
3043 set,)
3044 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3045 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3046 ac_cache_corrupted=: ;;
3047 ,set)
3048 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3049 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3050 ac_cache_corrupted=: ;;
3051 ,);;
3053 if test "x$ac_old_val" != "x$ac_new_val"; then
3054 # differences in whitespace do not lead to failure.
3055 ac_old_val_w=`echo x $ac_old_val`
3056 ac_new_val_w=`echo x $ac_new_val`
3057 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3058 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3059 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3060 ac_cache_corrupted=:
3061 else
3062 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3063 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3064 eval $ac_var=\$ac_old_val
3066 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3067 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3068 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3069 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3070 fi;;
3071 esac
3072 # Pass precious variables to config.status.
3073 if test "$ac_new_set" = set; then
3074 case $ac_new_val in
3075 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3076 *) ac_arg=$ac_var=$ac_new_val ;;
3077 esac
3078 case " $ac_configure_args " in
3079 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3080 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3081 esac
3083 done
3084 if $ac_cache_corrupted; then
3085 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3086 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3087 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3088 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3089 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3091 ## -------------------- ##
3092 ## Main body of script. ##
3093 ## -------------------- ##
3095 ac_ext=c
3096 ac_cpp='$CPP $CPPFLAGS'
3097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3106 ac_config_headers="$ac_config_headers config.h"
3109 # This works around the fact that libtool configuration may change LD
3110 # for this particular configuration, but some shells, instead of
3111 # keeping the changes in LD private, export them just because LD is
3112 # exported. Only used at the end of this file.
3113 ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD
3115 # Find the rest of the source tree framework.
3116 # Default to --enable-multilib
3117 # Check whether --enable-multilib was given.
3118 if test "${enable_multilib+set}" = set; then :
3119 enableval=$enable_multilib; case "$enableval" in
3120 yes) multilib=yes ;;
3121 no) multilib=no ;;
3122 *) as_fn_error $? "bad value $enableval for multilib option" "$LINENO" 5 ;;
3123 esac
3124 else
3125 multilib=yes
3129 # We may get other options which we leave undocumented:
3130 # --with-target-subdir, --with-multisrctop, --with-multisubdir
3131 # See config-ml.in if you want the gory details.
3133 if test "$srcdir" = "."; then
3134 if test "$with_target_subdir" != "."; then
3135 multi_basedir="$srcdir/$with_multisrctop../.."
3136 else
3137 multi_basedir="$srcdir/$with_multisrctop.."
3139 else
3140 multi_basedir="$srcdir/.."
3144 # Even if the default multilib is not a cross compilation,
3145 # it may be that some of the other multilibs are.
3146 if test $cross_compiling = no && test $multilib = yes \
3147 && test "x${with_multisubdir}" != x ; then
3148 cross_compiling=maybe
3151 ac_config_commands="$ac_config_commands default-1"
3154 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
3156 # You will slowly go insane if you do not grok the following fact: when
3157 # building v3 as part of the compiler, the top-level /target/ becomes the
3158 # library's /host/. configure then causes --target to default to --host,
3159 # exactly like any other package using autoconf. Therefore, 'target' and
3160 # 'host' will always be the same. This makes sense both for native and
3161 # cross compilers, just think about it for a little while. :-)
3163 # Also, if v3 is being configured as part of a cross compiler, the top-level
3164 # configure script will pass the "real" host as $with_cross_host.
3166 # Do not delete or change the following two lines. For why, see
3167 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
3168 ac_aux_dir=
3169 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3170 if test -f "$ac_dir/install-sh"; then
3171 ac_aux_dir=$ac_dir
3172 ac_install_sh="$ac_aux_dir/install-sh -c"
3173 break
3174 elif test -f "$ac_dir/install.sh"; then
3175 ac_aux_dir=$ac_dir
3176 ac_install_sh="$ac_aux_dir/install.sh -c"
3177 break
3178 elif test -f "$ac_dir/shtool"; then
3179 ac_aux_dir=$ac_dir
3180 ac_install_sh="$ac_aux_dir/shtool install -c"
3181 break
3183 done
3184 if test -z "$ac_aux_dir"; then
3185 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3188 # These three variables are undocumented and unsupported,
3189 # and are intended to be withdrawn in a future Autoconf release.
3190 # They can cause serious problems if a builder's source tree is in a directory
3191 # whose full name contains unusual characters.
3192 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3193 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3194 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3197 # Make sure we can run config.sub.
3198 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3199 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3202 $as_echo_n "checking build system type... " >&6; }
3203 if ${ac_cv_build+:} false; then :
3204 $as_echo_n "(cached) " >&6
3205 else
3206 ac_build_alias=$build_alias
3207 test "x$ac_build_alias" = x &&
3208 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3209 test "x$ac_build_alias" = x &&
3210 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3211 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3212 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3216 $as_echo "$ac_cv_build" >&6; }
3217 case $ac_cv_build in
3218 *-*-*) ;;
3219 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3220 esac
3221 build=$ac_cv_build
3222 ac_save_IFS=$IFS; IFS='-'
3223 set x $ac_cv_build
3224 shift
3225 build_cpu=$1
3226 build_vendor=$2
3227 shift; shift
3228 # Remember, the first character of IFS is used to create $*,
3229 # except with old shells:
3230 build_os=$*
3231 IFS=$ac_save_IFS
3232 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3236 $as_echo_n "checking host system type... " >&6; }
3237 if ${ac_cv_host+:} false; then :
3238 $as_echo_n "(cached) " >&6
3239 else
3240 if test "x$host_alias" = x; then
3241 ac_cv_host=$ac_cv_build
3242 else
3243 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3244 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3249 $as_echo "$ac_cv_host" >&6; }
3250 case $ac_cv_host in
3251 *-*-*) ;;
3252 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3253 esac
3254 host=$ac_cv_host
3255 ac_save_IFS=$IFS; IFS='-'
3256 set x $ac_cv_host
3257 shift
3258 host_cpu=$1
3259 host_vendor=$2
3260 shift; shift
3261 # Remember, the first character of IFS is used to create $*,
3262 # except with old shells:
3263 host_os=$*
3264 IFS=$ac_save_IFS
3265 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
3269 $as_echo_n "checking target system type... " >&6; }
3270 if ${ac_cv_target+:} false; then :
3271 $as_echo_n "(cached) " >&6
3272 else
3273 if test "x$target_alias" = x; then
3274 ac_cv_target=$ac_cv_host
3275 else
3276 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
3277 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
3281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
3282 $as_echo "$ac_cv_target" >&6; }
3283 case $ac_cv_target in
3284 *-*-*) ;;
3285 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
3286 esac
3287 target=$ac_cv_target
3288 ac_save_IFS=$IFS; IFS='-'
3289 set x $ac_cv_target
3290 shift
3291 target_cpu=$1
3292 target_vendor=$2
3293 shift; shift
3294 # Remember, the first character of IFS is used to create $*,
3295 # except with old shells:
3296 target_os=$*
3297 IFS=$ac_save_IFS
3298 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
3301 # The aliases save the names the user supplied, while $host etc.
3302 # will get canonicalized.
3303 test -n "$target_alias" &&
3304 test "$program_prefix$program_suffix$program_transform_name" = \
3305 NONENONEs,x,x, &&
3306 program_prefix=${target_alias}-
3308 target_alias=${target_alias-$host_alias}
3310 # Handy for debugging:
3311 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3313 if test "$build" != "$host"; then
3314 # We are being configured with some form of cross compiler.
3315 GLIBCXX_IS_NATIVE=false
3316 case "$host","$target" in
3317 # Darwin crosses can use the host system's libraries and headers,
3318 # because of the fat library support. Of course, it must be the
3319 # same version of Darwin on both sides. Allow the user to
3320 # just say --target=foo-darwin without a version number to mean
3321 # "the version on this system".
3322 *-*-darwin*,*-*-darwin*)
3323 hostos=`echo $host | sed 's/.*-darwin/darwin/'`
3324 targetos=`echo $target | sed 's/.*-darwin/darwin/'`
3325 if test $hostos = $targetos -o $targetos = darwin ; then
3326 GLIBCXX_IS_NATIVE=true
3333 esac
3334 else
3335 GLIBCXX_IS_NATIVE=true
3338 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
3339 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
3340 # 1.x: minimum required version
3341 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
3342 # of other PACKAGE_* variables will, however, and there's nothing
3343 # we can do about that; they come from AC_INIT).
3344 # foreign: we don't follow the normal rules for GNU packages (no COPYING
3345 # file in the top srcdir, etc, etc), so stop complaining.
3346 # no-dependencies: turns off auto dependency generation (just for now)
3347 # no-dist: we don't want 'dist' and related rules.
3348 # -Wall: turns on all automake warnings...
3349 # -Wno-portability: ...except this one, since GNU make is now required.
3350 am__api_version='1.15'
3352 # Find a good install program. We prefer a C program (faster),
3353 # so one script is as good as another. But avoid the broken or
3354 # incompatible versions:
3355 # SysV /etc/install, /usr/sbin/install
3356 # SunOS /usr/etc/install
3357 # IRIX /sbin/install
3358 # AIX /bin/install
3359 # AmigaOS /C/install, which installs bootblocks on floppy discs
3360 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3361 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3362 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3363 # OS/2's system install, which has a completely different semantic
3364 # ./install, which can be erroneously created by make from ./install.sh.
3365 # Reject install programs that cannot install multiple files.
3366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3367 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3368 if test -z "$INSTALL"; then
3369 if ${ac_cv_path_install+:} false; then :
3370 $as_echo_n "(cached) " >&6
3371 else
3372 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3373 for as_dir in $PATH
3375 IFS=$as_save_IFS
3376 test -z "$as_dir" && as_dir=.
3377 # Account for people who put trailing slashes in PATH elements.
3378 case $as_dir/ in #((
3379 ./ | .// | /[cC]/* | \
3380 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3381 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3382 /usr/ucb/* ) ;;
3384 # OSF1 and SCO ODT 3.0 have their own names for install.
3385 # Don't use installbsd from OSF since it installs stuff as root
3386 # by default.
3387 for ac_prog in ginstall scoinst install; do
3388 for ac_exec_ext in '' $ac_executable_extensions; do
3389 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3390 if test $ac_prog = install &&
3391 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3392 # AIX install. It has an incompatible calling convention.
3394 elif test $ac_prog = install &&
3395 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3396 # program-specific install script used by HP pwplus--don't use.
3398 else
3399 rm -rf conftest.one conftest.two conftest.dir
3400 echo one > conftest.one
3401 echo two > conftest.two
3402 mkdir conftest.dir
3403 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3404 test -s conftest.one && test -s conftest.two &&
3405 test -s conftest.dir/conftest.one &&
3406 test -s conftest.dir/conftest.two
3407 then
3408 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3409 break 3
3413 done
3414 done
3416 esac
3418 done
3419 IFS=$as_save_IFS
3421 rm -rf conftest.one conftest.two conftest.dir
3424 if test "${ac_cv_path_install+set}" = set; then
3425 INSTALL=$ac_cv_path_install
3426 else
3427 # As a last resort, use the slow shell script. Don't cache a
3428 # value for INSTALL within a source directory, because that will
3429 # break other packages using the cache if that directory is
3430 # removed, or if the value is a relative name.
3431 INSTALL=$ac_install_sh
3434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3435 $as_echo "$INSTALL" >&6; }
3437 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3438 # It thinks the first close brace ends the variable substitution.
3439 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3441 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3443 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3446 $as_echo_n "checking whether build environment is sane... " >&6; }
3447 # Reject unsafe characters in $srcdir or the absolute working directory
3448 # name. Accept space and tab only in the latter.
3449 am_lf='
3451 case `pwd` in
3452 *[\\\"\#\$\&\'\`$am_lf]*)
3453 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
3454 esac
3455 case $srcdir in
3456 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3457 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
3458 esac
3460 # Do 'set' in a subshell so we don't clobber the current shell's
3461 # arguments. Must try -L first in case configure is actually a
3462 # symlink; some systems play weird games with the mod time of symlinks
3463 # (eg FreeBSD returns the mod time of the symlink's containing
3464 # directory).
3465 if (
3466 am_has_slept=no
3467 for am_try in 1 2; do
3468 echo "timestamp, slept: $am_has_slept" > conftest.file
3469 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3470 if test "$*" = "X"; then
3471 # -L didn't work.
3472 set X `ls -t "$srcdir/configure" conftest.file`
3474 if test "$*" != "X $srcdir/configure conftest.file" \
3475 && test "$*" != "X conftest.file $srcdir/configure"; then
3477 # If neither matched, then we have a broken ls. This can happen
3478 # if, for instance, CONFIG_SHELL is bash and it inherits a
3479 # broken ls alias from the environment. This has actually
3480 # happened. Such a system could not be considered "sane".
3481 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
3482 alias in your environment" "$LINENO" 5
3484 if test "$2" = conftest.file || test $am_try -eq 2; then
3485 break
3487 # Just in case.
3488 sleep 1
3489 am_has_slept=yes
3490 done
3491 test "$2" = conftest.file
3493 then
3494 # Ok.
3496 else
3497 as_fn_error $? "newly created file is older than distributed files!
3498 Check your system clock" "$LINENO" 5
3500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3501 $as_echo "yes" >&6; }
3502 # If we didn't sleep, we still need to ensure time stamps of config.status and
3503 # generated files are strictly newer.
3504 am_sleep_pid=
3505 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
3506 ( sleep 1 ) &
3507 am_sleep_pid=$!
3510 rm -f conftest.file
3512 test "$program_prefix" != NONE &&
3513 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3514 # Use a double $ so make ignores it.
3515 test "$program_suffix" != NONE &&
3516 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3517 # Double any \ or $.
3518 # By default was `s,x,x', remove it if useless.
3519 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3520 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3522 # Expand $ac_aux_dir to an absolute path.
3523 am_aux_dir=`cd "$ac_aux_dir" && pwd`
3525 if test x"${MISSING+set}" != xset; then
3526 case $am_aux_dir in
3527 *\ * | *\ *)
3528 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3530 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3531 esac
3533 # Use eval to expand $SHELL
3534 if eval "$MISSING --is-lightweight"; then
3535 am_missing_run="$MISSING "
3536 else
3537 am_missing_run=
3538 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
3539 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
3542 if test x"${install_sh+set}" != xset; then
3543 case $am_aux_dir in
3544 *\ * | *\ *)
3545 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3547 install_sh="\${SHELL} $am_aux_dir/install-sh"
3548 esac
3551 # Installed binaries are usually stripped using 'strip' when the user
3552 # run "make install-strip". However 'strip' might not be the right
3553 # tool to use in cross-compilation environments, therefore Automake
3554 # will honor the 'STRIP' environment variable to overrule this program.
3555 if test "$cross_compiling" != no; then
3556 if test -n "$ac_tool_prefix"; then
3557 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3558 set dummy ${ac_tool_prefix}strip; ac_word=$2
3559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3560 $as_echo_n "checking for $ac_word... " >&6; }
3561 if ${ac_cv_prog_STRIP+:} false; then :
3562 $as_echo_n "(cached) " >&6
3563 else
3564 if test -n "$STRIP"; then
3565 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3566 else
3567 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3568 for as_dir in $PATH
3570 IFS=$as_save_IFS
3571 test -z "$as_dir" && as_dir=.
3572 for ac_exec_ext in '' $ac_executable_extensions; do
3573 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3574 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3575 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3576 break 2
3578 done
3579 done
3580 IFS=$as_save_IFS
3584 STRIP=$ac_cv_prog_STRIP
3585 if test -n "$STRIP"; then
3586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3587 $as_echo "$STRIP" >&6; }
3588 else
3589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3590 $as_echo "no" >&6; }
3595 if test -z "$ac_cv_prog_STRIP"; then
3596 ac_ct_STRIP=$STRIP
3597 # Extract the first word of "strip", so it can be a program name with args.
3598 set dummy strip; ac_word=$2
3599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3600 $as_echo_n "checking for $ac_word... " >&6; }
3601 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
3602 $as_echo_n "(cached) " >&6
3603 else
3604 if test -n "$ac_ct_STRIP"; then
3605 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3606 else
3607 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3608 for as_dir in $PATH
3610 IFS=$as_save_IFS
3611 test -z "$as_dir" && as_dir=.
3612 for ac_exec_ext in '' $ac_executable_extensions; do
3613 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3614 ac_cv_prog_ac_ct_STRIP="strip"
3615 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3616 break 2
3618 done
3619 done
3620 IFS=$as_save_IFS
3624 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3625 if test -n "$ac_ct_STRIP"; then
3626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3627 $as_echo "$ac_ct_STRIP" >&6; }
3628 else
3629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3630 $as_echo "no" >&6; }
3633 if test "x$ac_ct_STRIP" = x; then
3634 STRIP=":"
3635 else
3636 case $cross_compiling:$ac_tool_warned in
3637 yes:)
3638 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3639 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3640 ac_tool_warned=yes ;;
3641 esac
3642 STRIP=$ac_ct_STRIP
3644 else
3645 STRIP="$ac_cv_prog_STRIP"
3649 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3652 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3653 if test -z "$MKDIR_P"; then
3654 if ${ac_cv_path_mkdir+:} false; then :
3655 $as_echo_n "(cached) " >&6
3656 else
3657 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3658 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3660 IFS=$as_save_IFS
3661 test -z "$as_dir" && as_dir=.
3662 for ac_prog in mkdir gmkdir; do
3663 for ac_exec_ext in '' $ac_executable_extensions; do
3664 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
3665 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3666 'mkdir (GNU coreutils) '* | \
3667 'mkdir (coreutils) '* | \
3668 'mkdir (fileutils) '4.1*)
3669 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3670 break 3;;
3671 esac
3672 done
3673 done
3674 done
3675 IFS=$as_save_IFS
3679 test -d ./--version && rmdir ./--version
3680 if test "${ac_cv_path_mkdir+set}" = set; then
3681 MKDIR_P="$ac_cv_path_mkdir -p"
3682 else
3683 # As a last resort, use the slow shell script. Don't cache a
3684 # value for MKDIR_P within a source directory, because that will
3685 # break other packages using the cache if that directory is
3686 # removed, or if the value is a relative name.
3687 MKDIR_P="$ac_install_sh -d"
3690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3691 $as_echo "$MKDIR_P" >&6; }
3693 for ac_prog in gawk mawk nawk awk
3695 # Extract the first word of "$ac_prog", so it can be a program name with args.
3696 set dummy $ac_prog; ac_word=$2
3697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3698 $as_echo_n "checking for $ac_word... " >&6; }
3699 if ${ac_cv_prog_AWK+:} false; then :
3700 $as_echo_n "(cached) " >&6
3701 else
3702 if test -n "$AWK"; then
3703 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3704 else
3705 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3706 for as_dir in $PATH
3708 IFS=$as_save_IFS
3709 test -z "$as_dir" && as_dir=.
3710 for ac_exec_ext in '' $ac_executable_extensions; do
3711 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3712 ac_cv_prog_AWK="$ac_prog"
3713 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3714 break 2
3716 done
3717 done
3718 IFS=$as_save_IFS
3722 AWK=$ac_cv_prog_AWK
3723 if test -n "$AWK"; then
3724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3725 $as_echo "$AWK" >&6; }
3726 else
3727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3728 $as_echo "no" >&6; }
3732 test -n "$AWK" && break
3733 done
3735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3736 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3737 set x ${MAKE-make}
3738 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3739 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3740 $as_echo_n "(cached) " >&6
3741 else
3742 cat >conftest.make <<\_ACEOF
3743 SHELL = /bin/sh
3744 all:
3745 @echo '@@@%%%=$(MAKE)=@@@%%%'
3746 _ACEOF
3747 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3748 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3749 *@@@%%%=?*=@@@%%%*)
3750 eval ac_cv_prog_make_${ac_make}_set=yes;;
3752 eval ac_cv_prog_make_${ac_make}_set=no;;
3753 esac
3754 rm -f conftest.make
3756 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3758 $as_echo "yes" >&6; }
3759 SET_MAKE=
3760 else
3761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3762 $as_echo "no" >&6; }
3763 SET_MAKE="MAKE=${MAKE-make}"
3766 rm -rf .tst 2>/dev/null
3767 mkdir .tst 2>/dev/null
3768 if test -d .tst; then
3769 am__leading_dot=.
3770 else
3771 am__leading_dot=_
3773 rmdir .tst 2>/dev/null
3775 # Check whether --enable-silent-rules was given.
3776 if test "${enable_silent_rules+set}" = set; then :
3777 enableval=$enable_silent_rules;
3780 case $enable_silent_rules in # (((
3781 yes) AM_DEFAULT_VERBOSITY=0;;
3782 no) AM_DEFAULT_VERBOSITY=1;;
3783 *) AM_DEFAULT_VERBOSITY=1;;
3784 esac
3785 am_make=${MAKE-make}
3786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3787 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3788 if ${am_cv_make_support_nested_variables+:} false; then :
3789 $as_echo_n "(cached) " >&6
3790 else
3791 if $as_echo 'TRUE=$(BAR$(V))
3792 BAR0=false
3793 BAR1=true
3795 am__doit:
3796 @$(TRUE)
3797 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3798 am_cv_make_support_nested_variables=yes
3799 else
3800 am_cv_make_support_nested_variables=no
3803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3804 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3805 if test $am_cv_make_support_nested_variables = yes; then
3806 AM_V='$(V)'
3807 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3808 else
3809 AM_V=$AM_DEFAULT_VERBOSITY
3810 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3812 AM_BACKSLASH='\'
3814 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3815 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3816 # is not polluted with repeated "-I."
3817 am__isrc=' -I$(srcdir)'
3818 # test to see if srcdir already configured
3819 if test -f $srcdir/config.status; then
3820 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3824 # test whether we have cygpath
3825 if test -z "$CYGPATH_W"; then
3826 if (cygpath --version) >/dev/null 2>/dev/null; then
3827 CYGPATH_W='cygpath -w'
3828 else
3829 CYGPATH_W=echo
3834 # Define the identity of the package.
3835 PACKAGE='libstdc++'
3836 VERSION='version-unused'
3839 # Some tools Automake needs.
3841 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3844 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3847 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3850 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3853 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3855 # For better backward compatibility. To be removed once Automake 1.9.x
3856 # dies out for good. For more background, see:
3857 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3858 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3859 mkdir_p='$(MKDIR_P)'
3861 # We need awk for the "check" target (and possibly the TAP driver). The
3862 # system "awk" is bad on some platforms.
3863 # Always define AMTAR for backward compatibility. Yes, it's still used
3864 # in the wild :-( We should find a proper way to deprecate it ...
3865 AMTAR='$${TAR-tar}'
3868 # We'll loop over all known methods to create a tar archive until one works.
3869 _am_tools='gnutar pax cpio none'
3871 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3878 # POSIX will say in a future version that running "rm -f" with no argument
3879 # is OK; and we want to be able to make that assumption in our Makefile
3880 # recipes. So use an aggressive probe to check that the usage we want is
3881 # actually supported "in the wild" to an acceptable degree.
3882 # See automake bug#10828.
3883 # To make any issue more visible, cause the running configure to be aborted
3884 # by default if the 'rm' program in use doesn't match our expectations; the
3885 # user can still override this though.
3886 if rm -f && rm -fr && rm -rf; then : OK; else
3887 cat >&2 <<'END'
3888 Oops!
3890 Your 'rm' program seems unable to run without file operands specified
3891 on the command line, even when the '-f' option is present. This is contrary
3892 to the behaviour of most rm programs out there, and not conforming with
3893 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3895 Please tell bug-automake@gnu.org about your system, including the value
3896 of your $PATH and any error possibly output before this message. This
3897 can help us improve future automake versions.
3900 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3901 echo 'Configuration will proceed anyway, since you have set the' >&2
3902 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3903 echo >&2
3904 else
3905 cat >&2 <<'END'
3906 Aborting the configuration process, to ensure you take notice of the issue.
3908 You can download and install GNU coreutils to get an 'rm' implementation
3909 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3911 If you want to complete the configuration process using your problematic
3912 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3913 to "yes", and re-run configure.
3916 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3923 # -fno-builtin must be present here so that a non-conflicting form of
3924 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
3926 save_CXXFLAGS="$CXXFLAGS"
3927 CXXFLAGS="$CXXFLAGS -fno-builtin"
3928 ac_ext=c
3929 ac_cpp='$CPP $CPPFLAGS'
3930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3933 if test -n "$ac_tool_prefix"; then
3934 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3935 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3937 $as_echo_n "checking for $ac_word... " >&6; }
3938 if ${ac_cv_prog_CC+:} false; then :
3939 $as_echo_n "(cached) " >&6
3940 else
3941 if test -n "$CC"; then
3942 ac_cv_prog_CC="$CC" # Let the user override the test.
3943 else
3944 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3945 for as_dir in $PATH
3947 IFS=$as_save_IFS
3948 test -z "$as_dir" && as_dir=.
3949 for ac_exec_ext in '' $ac_executable_extensions; do
3950 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3951 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3952 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3953 break 2
3955 done
3956 done
3957 IFS=$as_save_IFS
3961 CC=$ac_cv_prog_CC
3962 if test -n "$CC"; then
3963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3964 $as_echo "$CC" >&6; }
3965 else
3966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3967 $as_echo "no" >&6; }
3972 if test -z "$ac_cv_prog_CC"; then
3973 ac_ct_CC=$CC
3974 # Extract the first word of "gcc", so it can be a program name with args.
3975 set dummy gcc; ac_word=$2
3976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3977 $as_echo_n "checking for $ac_word... " >&6; }
3978 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3979 $as_echo_n "(cached) " >&6
3980 else
3981 if test -n "$ac_ct_CC"; then
3982 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3983 else
3984 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3985 for as_dir in $PATH
3987 IFS=$as_save_IFS
3988 test -z "$as_dir" && as_dir=.
3989 for ac_exec_ext in '' $ac_executable_extensions; do
3990 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3991 ac_cv_prog_ac_ct_CC="gcc"
3992 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3993 break 2
3995 done
3996 done
3997 IFS=$as_save_IFS
4001 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4002 if test -n "$ac_ct_CC"; then
4003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4004 $as_echo "$ac_ct_CC" >&6; }
4005 else
4006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4007 $as_echo "no" >&6; }
4010 if test "x$ac_ct_CC" = x; then
4011 CC=""
4012 else
4013 case $cross_compiling:$ac_tool_warned in
4014 yes:)
4015 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4016 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4017 ac_tool_warned=yes ;;
4018 esac
4019 CC=$ac_ct_CC
4021 else
4022 CC="$ac_cv_prog_CC"
4025 if test -z "$CC"; then
4026 if test -n "$ac_tool_prefix"; then
4027 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4028 set dummy ${ac_tool_prefix}cc; ac_word=$2
4029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4030 $as_echo_n "checking for $ac_word... " >&6; }
4031 if ${ac_cv_prog_CC+:} false; then :
4032 $as_echo_n "(cached) " >&6
4033 else
4034 if test -n "$CC"; then
4035 ac_cv_prog_CC="$CC" # Let the user override the test.
4036 else
4037 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4038 for as_dir in $PATH
4040 IFS=$as_save_IFS
4041 test -z "$as_dir" && as_dir=.
4042 for ac_exec_ext in '' $ac_executable_extensions; do
4043 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4044 ac_cv_prog_CC="${ac_tool_prefix}cc"
4045 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4046 break 2
4048 done
4049 done
4050 IFS=$as_save_IFS
4054 CC=$ac_cv_prog_CC
4055 if test -n "$CC"; then
4056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4057 $as_echo "$CC" >&6; }
4058 else
4059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4060 $as_echo "no" >&6; }
4066 if test -z "$CC"; then
4067 # Extract the first word of "cc", so it can be a program name with args.
4068 set dummy cc; ac_word=$2
4069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4070 $as_echo_n "checking for $ac_word... " >&6; }
4071 if ${ac_cv_prog_CC+:} false; then :
4072 $as_echo_n "(cached) " >&6
4073 else
4074 if test -n "$CC"; then
4075 ac_cv_prog_CC="$CC" # Let the user override the test.
4076 else
4077 ac_prog_rejected=no
4078 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4079 for as_dir in $PATH
4081 IFS=$as_save_IFS
4082 test -z "$as_dir" && as_dir=.
4083 for ac_exec_ext in '' $ac_executable_extensions; do
4084 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4085 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4086 ac_prog_rejected=yes
4087 continue
4089 ac_cv_prog_CC="cc"
4090 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4091 break 2
4093 done
4094 done
4095 IFS=$as_save_IFS
4097 if test $ac_prog_rejected = yes; then
4098 # We found a bogon in the path, so make sure we never use it.
4099 set dummy $ac_cv_prog_CC
4100 shift
4101 if test $# != 0; then
4102 # We chose a different compiler from the bogus one.
4103 # However, it has the same basename, so the bogon will be chosen
4104 # first if we set CC to just the basename; use the full file name.
4105 shift
4106 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4111 CC=$ac_cv_prog_CC
4112 if test -n "$CC"; then
4113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4114 $as_echo "$CC" >&6; }
4115 else
4116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4117 $as_echo "no" >&6; }
4122 if test -z "$CC"; then
4123 if test -n "$ac_tool_prefix"; then
4124 for ac_prog in cl.exe
4126 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4127 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4129 $as_echo_n "checking for $ac_word... " >&6; }
4130 if ${ac_cv_prog_CC+:} false; then :
4131 $as_echo_n "(cached) " >&6
4132 else
4133 if test -n "$CC"; then
4134 ac_cv_prog_CC="$CC" # Let the user override the test.
4135 else
4136 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4137 for as_dir in $PATH
4139 IFS=$as_save_IFS
4140 test -z "$as_dir" && as_dir=.
4141 for ac_exec_ext in '' $ac_executable_extensions; do
4142 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4143 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4144 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4145 break 2
4147 done
4148 done
4149 IFS=$as_save_IFS
4153 CC=$ac_cv_prog_CC
4154 if test -n "$CC"; then
4155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4156 $as_echo "$CC" >&6; }
4157 else
4158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4159 $as_echo "no" >&6; }
4163 test -n "$CC" && break
4164 done
4166 if test -z "$CC"; then
4167 ac_ct_CC=$CC
4168 for ac_prog in cl.exe
4170 # Extract the first word of "$ac_prog", so it can be a program name with args.
4171 set dummy $ac_prog; ac_word=$2
4172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4173 $as_echo_n "checking for $ac_word... " >&6; }
4174 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4175 $as_echo_n "(cached) " >&6
4176 else
4177 if test -n "$ac_ct_CC"; then
4178 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4179 else
4180 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4181 for as_dir in $PATH
4183 IFS=$as_save_IFS
4184 test -z "$as_dir" && as_dir=.
4185 for ac_exec_ext in '' $ac_executable_extensions; do
4186 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4187 ac_cv_prog_ac_ct_CC="$ac_prog"
4188 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4189 break 2
4191 done
4192 done
4193 IFS=$as_save_IFS
4197 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4198 if test -n "$ac_ct_CC"; then
4199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4200 $as_echo "$ac_ct_CC" >&6; }
4201 else
4202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4203 $as_echo "no" >&6; }
4207 test -n "$ac_ct_CC" && break
4208 done
4210 if test "x$ac_ct_CC" = x; then
4211 CC=""
4212 else
4213 case $cross_compiling:$ac_tool_warned in
4214 yes:)
4215 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4216 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4217 ac_tool_warned=yes ;;
4218 esac
4219 CC=$ac_ct_CC
4226 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4227 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4228 as_fn_error $? "no acceptable C compiler found in \$PATH
4229 See \`config.log' for more details" "$LINENO" 5; }
4231 # Provide some information about the compiler.
4232 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4233 set X $ac_compile
4234 ac_compiler=$2
4235 for ac_option in --version -v -V -qversion; do
4236 { { ac_try="$ac_compiler $ac_option >&5"
4237 case "(($ac_try" in
4238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4239 *) ac_try_echo=$ac_try;;
4240 esac
4241 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4242 $as_echo "$ac_try_echo"; } >&5
4243 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4244 ac_status=$?
4245 if test -s conftest.err; then
4246 sed '10a\
4247 ... rest of stderr output deleted ...
4248 10q' conftest.err >conftest.er1
4249 cat conftest.er1 >&5
4251 rm -f conftest.er1 conftest.err
4252 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4253 test $ac_status = 0; }
4254 done
4256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4257 /* end confdefs.h. */
4258 #include <stdio.h>
4260 main ()
4262 printf ("hello world\n");
4264 return 0;
4266 _ACEOF
4267 # FIXME: Cleanup?
4268 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
4269 (eval $ac_link) 2>&5
4270 ac_status=$?
4271 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4272 test $ac_status = 0; }; then :
4273 gcc_no_link=no
4274 else
4275 gcc_no_link=yes
4277 if test x$gcc_no_link = xyes; then
4278 # Setting cross_compile will disable run tests; it will
4279 # also disable AC_CHECK_FILE but that's generally
4280 # correct if we can't link.
4281 cross_compiling=yes
4282 EXEEXT=
4283 else
4284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4285 /* end confdefs.h. */
4288 main ()
4292 return 0;
4294 _ACEOF
4295 ac_clean_files_save=$ac_clean_files
4296 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4297 # Try to create an executable without -o first, disregard a.out.
4298 # It will help us diagnose broken compilers, and finding out an intuition
4299 # of exeext.
4300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4301 $as_echo_n "checking whether the C compiler works... " >&6; }
4302 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4304 # The possible output files:
4305 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4307 ac_rmfiles=
4308 for ac_file in $ac_files
4310 case $ac_file in
4311 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4312 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4313 esac
4314 done
4315 rm -f $ac_rmfiles
4317 if { { ac_try="$ac_link_default"
4318 case "(($ac_try" in
4319 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4320 *) ac_try_echo=$ac_try;;
4321 esac
4322 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4323 $as_echo "$ac_try_echo"; } >&5
4324 (eval "$ac_link_default") 2>&5
4325 ac_status=$?
4326 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4327 test $ac_status = 0; }; then :
4328 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4329 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4330 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4331 # so that the user can short-circuit this test for compilers unknown to
4332 # Autoconf.
4333 for ac_file in $ac_files ''
4335 test -f "$ac_file" || continue
4336 case $ac_file in
4337 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4339 [ab].out )
4340 # We found the default executable, but exeext='' is most
4341 # certainly right.
4342 break;;
4343 *.* )
4344 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4345 then :; else
4346 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4348 # We set ac_cv_exeext here because the later test for it is not
4349 # safe: cross compilers may not add the suffix if given an `-o'
4350 # argument, so we may need to know it at that point already.
4351 # Even if this section looks crufty: it has the advantage of
4352 # actually working.
4353 break;;
4355 break;;
4356 esac
4357 done
4358 test "$ac_cv_exeext" = no && ac_cv_exeext=
4360 else
4361 ac_file=''
4363 if test -z "$ac_file"; then :
4364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4365 $as_echo "no" >&6; }
4366 $as_echo "$as_me: failed program was:" >&5
4367 sed 's/^/| /' conftest.$ac_ext >&5
4369 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4370 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4371 as_fn_error 77 "C compiler cannot create executables
4372 See \`config.log' for more details" "$LINENO" 5; }
4373 else
4374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4375 $as_echo "yes" >&6; }
4377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4378 $as_echo_n "checking for C compiler default output file name... " >&6; }
4379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4380 $as_echo "$ac_file" >&6; }
4381 ac_exeext=$ac_cv_exeext
4383 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4384 ac_clean_files=$ac_clean_files_save
4385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4386 $as_echo_n "checking for suffix of executables... " >&6; }
4387 if { { ac_try="$ac_link"
4388 case "(($ac_try" in
4389 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4390 *) ac_try_echo=$ac_try;;
4391 esac
4392 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4393 $as_echo "$ac_try_echo"; } >&5
4394 (eval "$ac_link") 2>&5
4395 ac_status=$?
4396 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4397 test $ac_status = 0; }; then :
4398 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4399 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4400 # work properly (i.e., refer to `conftest.exe'), while it won't with
4401 # `rm'.
4402 for ac_file in conftest.exe conftest conftest.*; do
4403 test -f "$ac_file" || continue
4404 case $ac_file in
4405 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4406 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4407 break;;
4408 * ) break;;
4409 esac
4410 done
4411 else
4412 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4413 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4414 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4415 See \`config.log' for more details" "$LINENO" 5; }
4417 rm -f conftest conftest$ac_cv_exeext
4418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4419 $as_echo "$ac_cv_exeext" >&6; }
4421 rm -f conftest.$ac_ext
4422 EXEEXT=$ac_cv_exeext
4423 ac_exeext=$EXEEXT
4424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4425 /* end confdefs.h. */
4426 #include <stdio.h>
4428 main ()
4430 FILE *f = fopen ("conftest.out", "w");
4431 return ferror (f) || fclose (f) != 0;
4434 return 0;
4436 _ACEOF
4437 ac_clean_files="$ac_clean_files conftest.out"
4438 # Check that the compiler produces executables we can run. If not, either
4439 # the compiler is broken, or we cross compile.
4440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4441 $as_echo_n "checking whether we are cross compiling... " >&6; }
4442 if test "$cross_compiling" != yes; then
4443 { { ac_try="$ac_link"
4444 case "(($ac_try" in
4445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4446 *) ac_try_echo=$ac_try;;
4447 esac
4448 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4449 $as_echo "$ac_try_echo"; } >&5
4450 (eval "$ac_link") 2>&5
4451 ac_status=$?
4452 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4453 test $ac_status = 0; }
4454 if { ac_try='./conftest$ac_cv_exeext'
4455 { { case "(($ac_try" in
4456 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4457 *) ac_try_echo=$ac_try;;
4458 esac
4459 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4460 $as_echo "$ac_try_echo"; } >&5
4461 (eval "$ac_try") 2>&5
4462 ac_status=$?
4463 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4464 test $ac_status = 0; }; }; then
4465 cross_compiling=no
4466 else
4467 if test "$cross_compiling" = maybe; then
4468 cross_compiling=yes
4469 else
4470 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4471 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4472 as_fn_error $? "cannot run C compiled programs.
4473 If you meant to cross compile, use \`--host'.
4474 See \`config.log' for more details" "$LINENO" 5; }
4478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4479 $as_echo "$cross_compiling" >&6; }
4481 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4482 ac_clean_files=$ac_clean_files_save
4484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4485 $as_echo_n "checking for suffix of object files... " >&6; }
4486 if ${ac_cv_objext+:} false; then :
4487 $as_echo_n "(cached) " >&6
4488 else
4489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4490 /* end confdefs.h. */
4493 main ()
4497 return 0;
4499 _ACEOF
4500 rm -f conftest.o conftest.obj
4501 if { { ac_try="$ac_compile"
4502 case "(($ac_try" in
4503 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4504 *) ac_try_echo=$ac_try;;
4505 esac
4506 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4507 $as_echo "$ac_try_echo"; } >&5
4508 (eval "$ac_compile") 2>&5
4509 ac_status=$?
4510 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4511 test $ac_status = 0; }; then :
4512 for ac_file in conftest.o conftest.obj conftest.*; do
4513 test -f "$ac_file" || continue;
4514 case $ac_file in
4515 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4516 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4517 break;;
4518 esac
4519 done
4520 else
4521 $as_echo "$as_me: failed program was:" >&5
4522 sed 's/^/| /' conftest.$ac_ext >&5
4524 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4525 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4526 as_fn_error $? "cannot compute suffix of object files: cannot compile
4527 See \`config.log' for more details" "$LINENO" 5; }
4529 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4532 $as_echo "$ac_cv_objext" >&6; }
4533 OBJEXT=$ac_cv_objext
4534 ac_objext=$OBJEXT
4535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4536 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4537 if ${ac_cv_c_compiler_gnu+:} false; then :
4538 $as_echo_n "(cached) " >&6
4539 else
4540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4541 /* end confdefs.h. */
4544 main ()
4546 #ifndef __GNUC__
4547 choke me
4548 #endif
4551 return 0;
4553 _ACEOF
4554 if ac_fn_c_try_compile "$LINENO"; then :
4555 ac_compiler_gnu=yes
4556 else
4557 ac_compiler_gnu=no
4559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4560 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4564 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4565 if test $ac_compiler_gnu = yes; then
4566 GCC=yes
4567 else
4568 GCC=
4570 ac_test_CFLAGS=${CFLAGS+set}
4571 ac_save_CFLAGS=$CFLAGS
4572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4573 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4574 if ${ac_cv_prog_cc_g+:} false; then :
4575 $as_echo_n "(cached) " >&6
4576 else
4577 ac_save_c_werror_flag=$ac_c_werror_flag
4578 ac_c_werror_flag=yes
4579 ac_cv_prog_cc_g=no
4580 CFLAGS="-g"
4581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4582 /* end confdefs.h. */
4585 main ()
4589 return 0;
4591 _ACEOF
4592 if ac_fn_c_try_compile "$LINENO"; then :
4593 ac_cv_prog_cc_g=yes
4594 else
4595 CFLAGS=""
4596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4597 /* end confdefs.h. */
4600 main ()
4604 return 0;
4606 _ACEOF
4607 if ac_fn_c_try_compile "$LINENO"; then :
4609 else
4610 ac_c_werror_flag=$ac_save_c_werror_flag
4611 CFLAGS="-g"
4612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4613 /* end confdefs.h. */
4616 main ()
4620 return 0;
4622 _ACEOF
4623 if ac_fn_c_try_compile "$LINENO"; then :
4624 ac_cv_prog_cc_g=yes
4626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4631 ac_c_werror_flag=$ac_save_c_werror_flag
4633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4634 $as_echo "$ac_cv_prog_cc_g" >&6; }
4635 if test "$ac_test_CFLAGS" = set; then
4636 CFLAGS=$ac_save_CFLAGS
4637 elif test $ac_cv_prog_cc_g = yes; then
4638 if test "$GCC" = yes; then
4639 CFLAGS="-g -O2"
4640 else
4641 CFLAGS="-g"
4643 else
4644 if test "$GCC" = yes; then
4645 CFLAGS="-O2"
4646 else
4647 CFLAGS=
4650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4651 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4652 if ${ac_cv_prog_cc_c89+:} false; then :
4653 $as_echo_n "(cached) " >&6
4654 else
4655 ac_cv_prog_cc_c89=no
4656 ac_save_CC=$CC
4657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4658 /* end confdefs.h. */
4659 #include <stdarg.h>
4660 #include <stdio.h>
4661 struct stat;
4662 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4663 struct buf { int x; };
4664 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4665 static char *e (p, i)
4666 char **p;
4667 int i;
4669 return p[i];
4671 static char *f (char * (*g) (char **, int), char **p, ...)
4673 char *s;
4674 va_list v;
4675 va_start (v,p);
4676 s = g (p, va_arg (v,int));
4677 va_end (v);
4678 return s;
4681 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4682 function prototypes and stuff, but not '\xHH' hex character constants.
4683 These don't provoke an error unfortunately, instead are silently treated
4684 as 'x'. The following induces an error, until -std is added to get
4685 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4686 array size at least. It's necessary to write '\x00'==0 to get something
4687 that's true only with -std. */
4688 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4690 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4691 inside strings and character constants. */
4692 #define FOO(x) 'x'
4693 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4695 int test (int i, double x);
4696 struct s1 {int (*f) (int a);};
4697 struct s2 {int (*f) (double a);};
4698 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4699 int argc;
4700 char **argv;
4702 main ()
4704 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4706 return 0;
4708 _ACEOF
4709 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4710 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4712 CC="$ac_save_CC $ac_arg"
4713 if ac_fn_c_try_compile "$LINENO"; then :
4714 ac_cv_prog_cc_c89=$ac_arg
4716 rm -f core conftest.err conftest.$ac_objext
4717 test "x$ac_cv_prog_cc_c89" != "xno" && break
4718 done
4719 rm -f conftest.$ac_ext
4720 CC=$ac_save_CC
4723 # AC_CACHE_VAL
4724 case "x$ac_cv_prog_cc_c89" in
4726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4727 $as_echo "none needed" >&6; } ;;
4728 xno)
4729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4730 $as_echo "unsupported" >&6; } ;;
4732 CC="$CC $ac_cv_prog_cc_c89"
4733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4734 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4735 esac
4736 if test "x$ac_cv_prog_cc_c89" != xno; then :
4740 ac_ext=c
4741 ac_cpp='$CPP $CPPFLAGS'
4742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4746 ac_ext=c
4747 ac_cpp='$CPP $CPPFLAGS'
4748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4752 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4753 if ${am_cv_prog_cc_c_o+:} false; then :
4754 $as_echo_n "(cached) " >&6
4755 else
4756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4757 /* end confdefs.h. */
4760 main ()
4764 return 0;
4766 _ACEOF
4767 # Make sure it works both with $CC and with simple cc.
4768 # Following AC_PROG_CC_C_O, we do the test twice because some
4769 # compilers refuse to overwrite an existing .o file with -o,
4770 # though they will create one.
4771 am_cv_prog_cc_c_o=yes
4772 for am_i in 1 2; do
4773 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4774 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4775 ac_status=$?
4776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4777 (exit $ac_status); } \
4778 && test -f conftest2.$ac_objext; then
4779 : OK
4780 else
4781 am_cv_prog_cc_c_o=no
4782 break
4784 done
4785 rm -f core conftest*
4786 unset am_i
4788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4789 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4790 if test "$am_cv_prog_cc_c_o" != yes; then
4791 # Losing compiler, so override with the script.
4792 # FIXME: It is wrong to rewrite CC.
4793 # But if we don't then we get into trouble of one sort or another.
4794 # A longer-term fix would be to have automake use am__CC in this case,
4795 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4796 CC="$am_aux_dir/compile $CC"
4798 ac_ext=c
4799 ac_cpp='$CPP $CPPFLAGS'
4800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4805 ac_ext=cpp
4806 ac_cpp='$CXXCPP $CPPFLAGS'
4807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4810 if test -z "$CXX"; then
4811 if test -n "$CCC"; then
4812 CXX=$CCC
4813 else
4814 if test -n "$ac_tool_prefix"; then
4815 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4817 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4818 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4820 $as_echo_n "checking for $ac_word... " >&6; }
4821 if ${ac_cv_prog_CXX+:} false; then :
4822 $as_echo_n "(cached) " >&6
4823 else
4824 if test -n "$CXX"; then
4825 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4826 else
4827 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4828 for as_dir in $PATH
4830 IFS=$as_save_IFS
4831 test -z "$as_dir" && as_dir=.
4832 for ac_exec_ext in '' $ac_executable_extensions; do
4833 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4834 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4835 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4836 break 2
4838 done
4839 done
4840 IFS=$as_save_IFS
4844 CXX=$ac_cv_prog_CXX
4845 if test -n "$CXX"; then
4846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4847 $as_echo "$CXX" >&6; }
4848 else
4849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4850 $as_echo "no" >&6; }
4854 test -n "$CXX" && break
4855 done
4857 if test -z "$CXX"; then
4858 ac_ct_CXX=$CXX
4859 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4861 # Extract the first word of "$ac_prog", so it can be a program name with args.
4862 set dummy $ac_prog; ac_word=$2
4863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4864 $as_echo_n "checking for $ac_word... " >&6; }
4865 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4866 $as_echo_n "(cached) " >&6
4867 else
4868 if test -n "$ac_ct_CXX"; then
4869 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4870 else
4871 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4872 for as_dir in $PATH
4874 IFS=$as_save_IFS
4875 test -z "$as_dir" && as_dir=.
4876 for ac_exec_ext in '' $ac_executable_extensions; do
4877 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4878 ac_cv_prog_ac_ct_CXX="$ac_prog"
4879 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4880 break 2
4882 done
4883 done
4884 IFS=$as_save_IFS
4888 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4889 if test -n "$ac_ct_CXX"; then
4890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4891 $as_echo "$ac_ct_CXX" >&6; }
4892 else
4893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4894 $as_echo "no" >&6; }
4898 test -n "$ac_ct_CXX" && break
4899 done
4901 if test "x$ac_ct_CXX" = x; then
4902 CXX="g++"
4903 else
4904 case $cross_compiling:$ac_tool_warned in
4905 yes:)
4906 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4907 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4908 ac_tool_warned=yes ;;
4909 esac
4910 CXX=$ac_ct_CXX
4916 # Provide some information about the compiler.
4917 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4918 set X $ac_compile
4919 ac_compiler=$2
4920 for ac_option in --version -v -V -qversion; do
4921 { { ac_try="$ac_compiler $ac_option >&5"
4922 case "(($ac_try" in
4923 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4924 *) ac_try_echo=$ac_try;;
4925 esac
4926 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4927 $as_echo "$ac_try_echo"; } >&5
4928 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4929 ac_status=$?
4930 if test -s conftest.err; then
4931 sed '10a\
4932 ... rest of stderr output deleted ...
4933 10q' conftest.err >conftest.er1
4934 cat conftest.er1 >&5
4936 rm -f conftest.er1 conftest.err
4937 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4938 test $ac_status = 0; }
4939 done
4941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4942 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4943 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4944 $as_echo_n "(cached) " >&6
4945 else
4946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4947 /* end confdefs.h. */
4950 main ()
4952 #ifndef __GNUC__
4953 choke me
4954 #endif
4957 return 0;
4959 _ACEOF
4960 if ac_fn_cxx_try_compile "$LINENO"; then :
4961 ac_compiler_gnu=yes
4962 else
4963 ac_compiler_gnu=no
4965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4966 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4970 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4971 if test $ac_compiler_gnu = yes; then
4972 GXX=yes
4973 else
4974 GXX=
4976 ac_test_CXXFLAGS=${CXXFLAGS+set}
4977 ac_save_CXXFLAGS=$CXXFLAGS
4978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4979 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4980 if ${ac_cv_prog_cxx_g+:} false; then :
4981 $as_echo_n "(cached) " >&6
4982 else
4983 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4984 ac_cxx_werror_flag=yes
4985 ac_cv_prog_cxx_g=no
4986 CXXFLAGS="-g"
4987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4988 /* end confdefs.h. */
4991 main ()
4995 return 0;
4997 _ACEOF
4998 if ac_fn_cxx_try_compile "$LINENO"; then :
4999 ac_cv_prog_cxx_g=yes
5000 else
5001 CXXFLAGS=""
5002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5003 /* end confdefs.h. */
5006 main ()
5010 return 0;
5012 _ACEOF
5013 if ac_fn_cxx_try_compile "$LINENO"; then :
5015 else
5016 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5017 CXXFLAGS="-g"
5018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5019 /* end confdefs.h. */
5022 main ()
5026 return 0;
5028 _ACEOF
5029 if ac_fn_cxx_try_compile "$LINENO"; then :
5030 ac_cv_prog_cxx_g=yes
5032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5037 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5040 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5041 if test "$ac_test_CXXFLAGS" = set; then
5042 CXXFLAGS=$ac_save_CXXFLAGS
5043 elif test $ac_cv_prog_cxx_g = yes; then
5044 if test "$GXX" = yes; then
5045 CXXFLAGS="-g -O2"
5046 else
5047 CXXFLAGS="-g"
5049 else
5050 if test "$GXX" = yes; then
5051 CXXFLAGS="-O2"
5052 else
5053 CXXFLAGS=
5056 ac_ext=c
5057 ac_cpp='$CPP $CPPFLAGS'
5058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5062 CXXFLAGS="$save_CXXFLAGS"
5065 # Check whether --enable-largefile was given.
5066 if test "${enable_largefile+set}" = set; then :
5067 enableval=$enable_largefile;
5070 if test "$enable_largefile" != no; then
5072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
5073 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
5074 if ${ac_cv_sys_largefile_CC+:} false; then :
5075 $as_echo_n "(cached) " >&6
5076 else
5077 ac_cv_sys_largefile_CC=no
5078 if test "$GCC" != yes; then
5079 ac_save_CC=$CC
5080 while :; do
5081 # IRIX 6.2 and later do not support large files by default,
5082 # so use the C compiler's -n32 option if that helps.
5083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5084 /* end confdefs.h. */
5085 #include <sys/types.h>
5086 /* Check that off_t can represent 2**63 - 1 correctly.
5087 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5088 since some C++ compilers masquerading as C compilers
5089 incorrectly reject 9223372036854775807. */
5090 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5091 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5092 && LARGE_OFF_T % 2147483647 == 1)
5093 ? 1 : -1];
5095 main ()
5099 return 0;
5101 _ACEOF
5102 if ac_fn_c_try_compile "$LINENO"; then :
5103 break
5105 rm -f core conftest.err conftest.$ac_objext
5106 CC="$CC -n32"
5107 if ac_fn_c_try_compile "$LINENO"; then :
5108 ac_cv_sys_largefile_CC=' -n32'; break
5110 rm -f core conftest.err conftest.$ac_objext
5111 break
5112 done
5113 CC=$ac_save_CC
5114 rm -f conftest.$ac_ext
5117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
5118 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
5119 if test "$ac_cv_sys_largefile_CC" != no; then
5120 CC=$CC$ac_cv_sys_largefile_CC
5123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
5124 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
5125 if ${ac_cv_sys_file_offset_bits+:} false; then :
5126 $as_echo_n "(cached) " >&6
5127 else
5128 while :; do
5129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5130 /* end confdefs.h. */
5131 #include <sys/types.h>
5132 /* Check that off_t can represent 2**63 - 1 correctly.
5133 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5134 since some C++ compilers masquerading as C compilers
5135 incorrectly reject 9223372036854775807. */
5136 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5137 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5138 && LARGE_OFF_T % 2147483647 == 1)
5139 ? 1 : -1];
5141 main ()
5145 return 0;
5147 _ACEOF
5148 if ac_fn_c_try_compile "$LINENO"; then :
5149 ac_cv_sys_file_offset_bits=no; break
5151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5153 /* end confdefs.h. */
5154 #define _FILE_OFFSET_BITS 64
5155 #include <sys/types.h>
5156 /* Check that off_t can represent 2**63 - 1 correctly.
5157 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5158 since some C++ compilers masquerading as C compilers
5159 incorrectly reject 9223372036854775807. */
5160 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5161 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5162 && LARGE_OFF_T % 2147483647 == 1)
5163 ? 1 : -1];
5165 main ()
5169 return 0;
5171 _ACEOF
5172 if ac_fn_c_try_compile "$LINENO"; then :
5173 ac_cv_sys_file_offset_bits=64; break
5175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5176 ac_cv_sys_file_offset_bits=unknown
5177 break
5178 done
5180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
5181 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
5182 case $ac_cv_sys_file_offset_bits in #(
5183 no | unknown) ;;
5185 cat >>confdefs.h <<_ACEOF
5186 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
5187 _ACEOF
5189 esac
5190 rm -rf conftest*
5191 if test $ac_cv_sys_file_offset_bits = unknown; then
5192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
5193 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
5194 if ${ac_cv_sys_large_files+:} false; then :
5195 $as_echo_n "(cached) " >&6
5196 else
5197 while :; do
5198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5199 /* end confdefs.h. */
5200 #include <sys/types.h>
5201 /* Check that off_t can represent 2**63 - 1 correctly.
5202 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5203 since some C++ compilers masquerading as C compilers
5204 incorrectly reject 9223372036854775807. */
5205 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5206 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5207 && LARGE_OFF_T % 2147483647 == 1)
5208 ? 1 : -1];
5210 main ()
5214 return 0;
5216 _ACEOF
5217 if ac_fn_c_try_compile "$LINENO"; then :
5218 ac_cv_sys_large_files=no; break
5220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5222 /* end confdefs.h. */
5223 #define _LARGE_FILES 1
5224 #include <sys/types.h>
5225 /* Check that off_t can represent 2**63 - 1 correctly.
5226 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5227 since some C++ compilers masquerading as C compilers
5228 incorrectly reject 9223372036854775807. */
5229 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5230 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5231 && LARGE_OFF_T % 2147483647 == 1)
5232 ? 1 : -1];
5234 main ()
5238 return 0;
5240 _ACEOF
5241 if ac_fn_c_try_compile "$LINENO"; then :
5242 ac_cv_sys_large_files=1; break
5244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5245 ac_cv_sys_large_files=unknown
5246 break
5247 done
5249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
5250 $as_echo "$ac_cv_sys_large_files" >&6; }
5251 case $ac_cv_sys_large_files in #(
5252 no | unknown) ;;
5254 cat >>confdefs.h <<_ACEOF
5255 #define _LARGE_FILES $ac_cv_sys_large_files
5256 _ACEOF
5258 esac
5259 rm -rf conftest*
5266 # Runs configure.host, and assorted other critical bits. Sets
5267 # up critical shell variables.
5268 ac_ext=c
5269 ac_cpp='$CPP $CPPFLAGS'
5270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5274 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5275 # On Suns, sometimes $CPP names a directory.
5276 if test -n "$CPP" && test -d "$CPP"; then
5277 CPP=
5279 if test -z "$CPP"; then
5280 if ${ac_cv_prog_CPP+:} false; then :
5281 $as_echo_n "(cached) " >&6
5282 else
5283 # Double quotes because CPP needs to be expanded
5284 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5286 ac_preproc_ok=false
5287 for ac_c_preproc_warn_flag in '' yes
5289 # Use a header file that comes with gcc, so configuring glibc
5290 # with a fresh cross-compiler works.
5291 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5292 # <limits.h> exists even on freestanding compilers.
5293 # On the NeXT, cc -E runs the code through the compiler's parser,
5294 # not just through cpp. "Syntax error" is here to catch this case.
5295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5296 /* end confdefs.h. */
5297 #ifdef __STDC__
5298 # include <limits.h>
5299 #else
5300 # include <assert.h>
5301 #endif
5302 Syntax error
5303 _ACEOF
5304 if ac_fn_c_try_cpp "$LINENO"; then :
5306 else
5307 # Broken: fails on valid input.
5308 continue
5310 rm -f conftest.err conftest.i conftest.$ac_ext
5312 # OK, works on sane cases. Now check whether nonexistent headers
5313 # can be detected and how.
5314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5315 /* end confdefs.h. */
5316 #include <ac_nonexistent.h>
5317 _ACEOF
5318 if ac_fn_c_try_cpp "$LINENO"; then :
5319 # Broken: success on invalid input.
5320 continue
5321 else
5322 # Passes both tests.
5323 ac_preproc_ok=:
5324 break
5326 rm -f conftest.err conftest.i conftest.$ac_ext
5328 done
5329 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5330 rm -f conftest.i conftest.err conftest.$ac_ext
5331 if $ac_preproc_ok; then :
5332 break
5335 done
5336 ac_cv_prog_CPP=$CPP
5339 CPP=$ac_cv_prog_CPP
5340 else
5341 ac_cv_prog_CPP=$CPP
5343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5344 $as_echo "$CPP" >&6; }
5345 ac_preproc_ok=false
5346 for ac_c_preproc_warn_flag in '' yes
5348 # Use a header file that comes with gcc, so configuring glibc
5349 # with a fresh cross-compiler works.
5350 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5351 # <limits.h> exists even on freestanding compilers.
5352 # On the NeXT, cc -E runs the code through the compiler's parser,
5353 # not just through cpp. "Syntax error" is here to catch this case.
5354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5355 /* end confdefs.h. */
5356 #ifdef __STDC__
5357 # include <limits.h>
5358 #else
5359 # include <assert.h>
5360 #endif
5361 Syntax error
5362 _ACEOF
5363 if ac_fn_c_try_cpp "$LINENO"; then :
5365 else
5366 # Broken: fails on valid input.
5367 continue
5369 rm -f conftest.err conftest.i conftest.$ac_ext
5371 # OK, works on sane cases. Now check whether nonexistent headers
5372 # can be detected and how.
5373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5374 /* end confdefs.h. */
5375 #include <ac_nonexistent.h>
5376 _ACEOF
5377 if ac_fn_c_try_cpp "$LINENO"; then :
5378 # Broken: success on invalid input.
5379 continue
5380 else
5381 # Passes both tests.
5382 ac_preproc_ok=:
5383 break
5385 rm -f conftest.err conftest.i conftest.$ac_ext
5387 done
5388 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5389 rm -f conftest.i conftest.err conftest.$ac_ext
5390 if $ac_preproc_ok; then :
5392 else
5393 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5394 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5395 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
5396 See \`config.log' for more details" "$LINENO" 5; }
5399 ac_ext=c
5400 ac_cpp='$CPP $CPPFLAGS'
5401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5407 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5408 if ${ac_cv_path_GREP+:} false; then :
5409 $as_echo_n "(cached) " >&6
5410 else
5411 if test -z "$GREP"; then
5412 ac_path_GREP_found=false
5413 # Loop through the user's path and test for each of PROGNAME-LIST
5414 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5415 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5417 IFS=$as_save_IFS
5418 test -z "$as_dir" && as_dir=.
5419 for ac_prog in grep ggrep; do
5420 for ac_exec_ext in '' $ac_executable_extensions; do
5421 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5422 as_fn_executable_p "$ac_path_GREP" || continue
5423 # Check for GNU ac_path_GREP and select it if it is found.
5424 # Check for GNU $ac_path_GREP
5425 case `"$ac_path_GREP" --version 2>&1` in
5426 *GNU*)
5427 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5429 ac_count=0
5430 $as_echo_n 0123456789 >"conftest.in"
5431 while :
5433 cat "conftest.in" "conftest.in" >"conftest.tmp"
5434 mv "conftest.tmp" "conftest.in"
5435 cp "conftest.in" "conftest.nl"
5436 $as_echo 'GREP' >> "conftest.nl"
5437 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5438 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5439 as_fn_arith $ac_count + 1 && ac_count=$as_val
5440 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5441 # Best one so far, save it but keep looking for a better one
5442 ac_cv_path_GREP="$ac_path_GREP"
5443 ac_path_GREP_max=$ac_count
5445 # 10*(2^10) chars as input seems more than enough
5446 test $ac_count -gt 10 && break
5447 done
5448 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5449 esac
5451 $ac_path_GREP_found && break 3
5452 done
5453 done
5454 done
5455 IFS=$as_save_IFS
5456 if test -z "$ac_cv_path_GREP"; then
5457 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5459 else
5460 ac_cv_path_GREP=$GREP
5464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5465 $as_echo "$ac_cv_path_GREP" >&6; }
5466 GREP="$ac_cv_path_GREP"
5469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5470 $as_echo_n "checking for egrep... " >&6; }
5471 if ${ac_cv_path_EGREP+:} false; then :
5472 $as_echo_n "(cached) " >&6
5473 else
5474 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5475 then ac_cv_path_EGREP="$GREP -E"
5476 else
5477 if test -z "$EGREP"; then
5478 ac_path_EGREP_found=false
5479 # Loop through the user's path and test for each of PROGNAME-LIST
5480 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5481 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5483 IFS=$as_save_IFS
5484 test -z "$as_dir" && as_dir=.
5485 for ac_prog in egrep; do
5486 for ac_exec_ext in '' $ac_executable_extensions; do
5487 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5488 as_fn_executable_p "$ac_path_EGREP" || continue
5489 # Check for GNU ac_path_EGREP and select it if it is found.
5490 # Check for GNU $ac_path_EGREP
5491 case `"$ac_path_EGREP" --version 2>&1` in
5492 *GNU*)
5493 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5495 ac_count=0
5496 $as_echo_n 0123456789 >"conftest.in"
5497 while :
5499 cat "conftest.in" "conftest.in" >"conftest.tmp"
5500 mv "conftest.tmp" "conftest.in"
5501 cp "conftest.in" "conftest.nl"
5502 $as_echo 'EGREP' >> "conftest.nl"
5503 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5504 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5505 as_fn_arith $ac_count + 1 && ac_count=$as_val
5506 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5507 # Best one so far, save it but keep looking for a better one
5508 ac_cv_path_EGREP="$ac_path_EGREP"
5509 ac_path_EGREP_max=$ac_count
5511 # 10*(2^10) chars as input seems more than enough
5512 test $ac_count -gt 10 && break
5513 done
5514 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5515 esac
5517 $ac_path_EGREP_found && break 3
5518 done
5519 done
5520 done
5521 IFS=$as_save_IFS
5522 if test -z "$ac_cv_path_EGREP"; then
5523 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5525 else
5526 ac_cv_path_EGREP=$EGREP
5531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5532 $as_echo "$ac_cv_path_EGREP" >&6; }
5533 EGREP="$ac_cv_path_EGREP"
5537 # Keep these sync'd with the list in Makefile.am. The first provides an
5538 # expandable list at autoconf time; the second provides an expandable list
5539 # (i.e., shell variable) at configure time.
5541 SUBDIRS='include libsupc++ src src/c++98 src/c++11 src/c++17 src/c++20 src/filesystem doc po testsuite python'
5543 # These need to be absolute paths, yet at the same time need to
5544 # canonicalize only relative paths, because then amd will not unmount
5545 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
5546 glibcxx_builddir=`${PWDCMD-pwd}`
5547 case $srcdir in
5548 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
5549 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
5550 esac
5551 toplevel_builddir=${glibcxx_builddir}/..
5552 toplevel_srcdir=${glibcxx_srcdir}/..
5558 # We use these options to decide which functions to include. They are
5559 # set from the top level.
5561 # Check whether --with-target-subdir was given.
5562 if test "${with_target_subdir+set}" = set; then :
5563 withval=$with_target_subdir;
5568 # Check whether --with-cross-host was given.
5569 if test "${with_cross_host+set}" = set; then :
5570 withval=$with_cross_host;
5575 # Check whether --with-newlib was given.
5576 if test "${with_newlib+set}" = set; then :
5577 withval=$with_newlib;
5581 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
5582 # available). Uncomment the next line to force a particular method.
5583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5584 $as_echo_n "checking whether ln -s works... " >&6; }
5585 LN_S=$as_ln_s
5586 if test "$LN_S" = "ln -s"; then
5587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5588 $as_echo "yes" >&6; }
5589 else
5590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5591 $as_echo "no, using $LN_S" >&6; }
5594 #LN_S='cp -p'
5596 if test -n "$ac_tool_prefix"; then
5597 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
5598 set dummy ${ac_tool_prefix}as; ac_word=$2
5599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5600 $as_echo_n "checking for $ac_word... " >&6; }
5601 if ${ac_cv_prog_AS+:} false; then :
5602 $as_echo_n "(cached) " >&6
5603 else
5604 if test -n "$AS"; then
5605 ac_cv_prog_AS="$AS" # Let the user override the test.
5606 else
5607 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5608 for as_dir in $PATH
5610 IFS=$as_save_IFS
5611 test -z "$as_dir" && as_dir=.
5612 for ac_exec_ext in '' $ac_executable_extensions; do
5613 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5614 ac_cv_prog_AS="${ac_tool_prefix}as"
5615 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5616 break 2
5618 done
5619 done
5620 IFS=$as_save_IFS
5624 AS=$ac_cv_prog_AS
5625 if test -n "$AS"; then
5626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
5627 $as_echo "$AS" >&6; }
5628 else
5629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5630 $as_echo "no" >&6; }
5635 if test -z "$ac_cv_prog_AS"; then
5636 ac_ct_AS=$AS
5637 # Extract the first word of "as", so it can be a program name with args.
5638 set dummy as; ac_word=$2
5639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5640 $as_echo_n "checking for $ac_word... " >&6; }
5641 if ${ac_cv_prog_ac_ct_AS+:} false; then :
5642 $as_echo_n "(cached) " >&6
5643 else
5644 if test -n "$ac_ct_AS"; then
5645 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5646 else
5647 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5648 for as_dir in $PATH
5650 IFS=$as_save_IFS
5651 test -z "$as_dir" && as_dir=.
5652 for ac_exec_ext in '' $ac_executable_extensions; do
5653 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5654 ac_cv_prog_ac_ct_AS="as"
5655 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5656 break 2
5658 done
5659 done
5660 IFS=$as_save_IFS
5664 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5665 if test -n "$ac_ct_AS"; then
5666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
5667 $as_echo "$ac_ct_AS" >&6; }
5668 else
5669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5670 $as_echo "no" >&6; }
5673 if test "x$ac_ct_AS" = x; then
5674 AS=""
5675 else
5676 case $cross_compiling:$ac_tool_warned in
5677 yes:)
5678 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5679 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5680 ac_tool_warned=yes ;;
5681 esac
5682 AS=$ac_ct_AS
5684 else
5685 AS="$ac_cv_prog_AS"
5688 if test -n "$ac_tool_prefix"; then
5689 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5690 set dummy ${ac_tool_prefix}ar; ac_word=$2
5691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5692 $as_echo_n "checking for $ac_word... " >&6; }
5693 if ${ac_cv_prog_AR+:} false; then :
5694 $as_echo_n "(cached) " >&6
5695 else
5696 if test -n "$AR"; then
5697 ac_cv_prog_AR="$AR" # Let the user override the test.
5698 else
5699 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5700 for as_dir in $PATH
5702 IFS=$as_save_IFS
5703 test -z "$as_dir" && as_dir=.
5704 for ac_exec_ext in '' $ac_executable_extensions; do
5705 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5706 ac_cv_prog_AR="${ac_tool_prefix}ar"
5707 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5708 break 2
5710 done
5711 done
5712 IFS=$as_save_IFS
5716 AR=$ac_cv_prog_AR
5717 if test -n "$AR"; then
5718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5719 $as_echo "$AR" >&6; }
5720 else
5721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5722 $as_echo "no" >&6; }
5727 if test -z "$ac_cv_prog_AR"; then
5728 ac_ct_AR=$AR
5729 # Extract the first word of "ar", so it can be a program name with args.
5730 set dummy ar; ac_word=$2
5731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5732 $as_echo_n "checking for $ac_word... " >&6; }
5733 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5734 $as_echo_n "(cached) " >&6
5735 else
5736 if test -n "$ac_ct_AR"; then
5737 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5738 else
5739 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5740 for as_dir in $PATH
5742 IFS=$as_save_IFS
5743 test -z "$as_dir" && as_dir=.
5744 for ac_exec_ext in '' $ac_executable_extensions; do
5745 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5746 ac_cv_prog_ac_ct_AR="ar"
5747 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5748 break 2
5750 done
5751 done
5752 IFS=$as_save_IFS
5756 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5757 if test -n "$ac_ct_AR"; then
5758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5759 $as_echo "$ac_ct_AR" >&6; }
5760 else
5761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5762 $as_echo "no" >&6; }
5765 if test "x$ac_ct_AR" = x; then
5766 AR=""
5767 else
5768 case $cross_compiling:$ac_tool_warned in
5769 yes:)
5770 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5771 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5772 ac_tool_warned=yes ;;
5773 esac
5774 AR=$ac_ct_AR
5776 else
5777 AR="$ac_cv_prog_AR"
5780 if test -n "$ac_tool_prefix"; then
5781 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5782 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5784 $as_echo_n "checking for $ac_word... " >&6; }
5785 if ${ac_cv_prog_RANLIB+:} false; then :
5786 $as_echo_n "(cached) " >&6
5787 else
5788 if test -n "$RANLIB"; then
5789 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5790 else
5791 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5792 for as_dir in $PATH
5794 IFS=$as_save_IFS
5795 test -z "$as_dir" && as_dir=.
5796 for ac_exec_ext in '' $ac_executable_extensions; do
5797 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5798 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5799 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5800 break 2
5802 done
5803 done
5804 IFS=$as_save_IFS
5808 RANLIB=$ac_cv_prog_RANLIB
5809 if test -n "$RANLIB"; then
5810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5811 $as_echo "$RANLIB" >&6; }
5812 else
5813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5814 $as_echo "no" >&6; }
5819 if test -z "$ac_cv_prog_RANLIB"; then
5820 ac_ct_RANLIB=$RANLIB
5821 # Extract the first word of "ranlib", so it can be a program name with args.
5822 set dummy ranlib; ac_word=$2
5823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5824 $as_echo_n "checking for $ac_word... " >&6; }
5825 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5826 $as_echo_n "(cached) " >&6
5827 else
5828 if test -n "$ac_ct_RANLIB"; then
5829 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5830 else
5831 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5832 for as_dir in $PATH
5834 IFS=$as_save_IFS
5835 test -z "$as_dir" && as_dir=.
5836 for ac_exec_ext in '' $ac_executable_extensions; do
5837 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5838 ac_cv_prog_ac_ct_RANLIB="ranlib"
5839 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5840 break 2
5842 done
5843 done
5844 IFS=$as_save_IFS
5848 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5849 if test -n "$ac_ct_RANLIB"; then
5850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5851 $as_echo "$ac_ct_RANLIB" >&6; }
5852 else
5853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5854 $as_echo "no" >&6; }
5857 if test "x$ac_ct_RANLIB" = x; then
5858 RANLIB="ranlib-not-found-in-path-error"
5859 else
5860 case $cross_compiling:$ac_tool_warned in
5861 yes:)
5862 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5863 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5864 ac_tool_warned=yes ;;
5865 esac
5866 RANLIB=$ac_ct_RANLIB
5868 else
5869 RANLIB="$ac_cv_prog_RANLIB"
5874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5875 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5876 # Check whether --enable-maintainer-mode was given.
5877 if test "${enable_maintainer_mode+set}" = set; then :
5878 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
5879 else
5880 USE_MAINTAINER_MODE=no
5883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5884 $as_echo "$USE_MAINTAINER_MODE" >&6; }
5885 if test $USE_MAINTAINER_MODE = yes; then
5886 MAINTAINER_MODE_TRUE=
5887 MAINTAINER_MODE_FALSE='#'
5888 else
5889 MAINTAINER_MODE_TRUE='#'
5890 MAINTAINER_MODE_FALSE=
5893 MAINT=$MAINTAINER_MODE_TRUE
5897 # Set up safe default values for all subsequent AM_CONDITIONAL tests
5898 # which are themselves conditionally expanded.
5899 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
5900 ## other macros from doing the same. This should be automated.) -pme
5902 # Check for C library flavor since GNU/Linux platforms use different
5903 # configuration directories depending on the C library in use.
5904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5905 /* end confdefs.h. */
5907 #include <stdio.h>
5908 #if __UCLIBC__
5909 _using_uclibc
5910 #endif
5912 _ACEOF
5913 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5914 $EGREP "_using_uclibc" >/dev/null 2>&1; then :
5915 uclibc=yes
5916 else
5917 uclibc=no
5919 rm -f conftest*
5922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5923 /* end confdefs.h. */
5925 #include <stdio.h>
5926 #if __BIONIC__
5927 _using_bionic
5928 #endif
5930 _ACEOF
5931 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5932 $EGREP "_using_bionic" >/dev/null 2>&1; then :
5933 bionic=yes
5934 else
5935 bionic=no
5937 rm -f conftest*
5940 # Find platform-specific directories containing configuration info.
5941 # Also possibly modify flags used elsewhere, as needed by the platform.
5943 . $glibcxx_srcdir/configure.host
5944 { $as_echo "$as_me:${as_lineno-$LINENO}: CPU config directory is $cpu_include_dir" >&5
5945 $as_echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
5946 { $as_echo "$as_me:${as_lineno-$LINENO}: OS config directory is $os_include_dir" >&5
5947 $as_echo "$as_me: OS config directory is $os_include_dir" >&6;}
5951 # Libtool setup.
5952 if test "x${with_newlib}" != "xyes" && test "x${with_avrlibc}" != "xyes"; then
5953 enable_dlopen=yes
5958 case `pwd` in
5959 *\ * | *\ *)
5960 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5961 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5962 esac
5966 macro_version='2.2.7a'
5967 macro_revision='1.3134'
5981 ltmain="$ac_aux_dir/ltmain.sh"
5983 # Backslashify metacharacters that are still active within
5984 # double-quoted strings.
5985 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5987 # Same as above, but do not quote variable references.
5988 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5990 # Sed substitution to delay expansion of an escaped shell variable in a
5991 # double_quote_subst'ed string.
5992 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5994 # Sed substitution to delay expansion of an escaped single quote.
5995 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5997 # Sed substitution to avoid accidental globbing in evaled expressions
5998 no_glob_subst='s/\*/\\\*/g'
6000 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6001 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
6002 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
6004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
6005 $as_echo_n "checking how to print strings... " >&6; }
6006 # Test print first, because it will be a builtin if present.
6007 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
6008 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
6009 ECHO='print -r --'
6010 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
6011 ECHO='printf %s\n'
6012 else
6013 # Use this function as a fallback that always works.
6014 func_fallback_echo ()
6016 eval 'cat <<_LTECHO_EOF
6018 _LTECHO_EOF'
6020 ECHO='func_fallback_echo'
6023 # func_echo_all arg...
6024 # Invoke $ECHO with all args, space-separated.
6025 func_echo_all ()
6027 $ECHO ""
6030 case "$ECHO" in
6031 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
6032 $as_echo "printf" >&6; } ;;
6033 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
6034 $as_echo "print -r" >&6; } ;;
6035 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
6036 $as_echo "cat" >&6; } ;;
6037 esac
6052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
6053 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
6054 if ${ac_cv_path_SED+:} false; then :
6055 $as_echo_n "(cached) " >&6
6056 else
6057 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6058 for ac_i in 1 2 3 4 5 6 7; do
6059 ac_script="$ac_script$as_nl$ac_script"
6060 done
6061 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6062 { ac_script=; unset ac_script;}
6063 if test -z "$SED"; then
6064 ac_path_SED_found=false
6065 # Loop through the user's path and test for each of PROGNAME-LIST
6066 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6067 for as_dir in $PATH
6069 IFS=$as_save_IFS
6070 test -z "$as_dir" && as_dir=.
6071 for ac_prog in sed gsed; do
6072 for ac_exec_ext in '' $ac_executable_extensions; do
6073 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
6074 as_fn_executable_p "$ac_path_SED" || continue
6075 # Check for GNU ac_path_SED and select it if it is found.
6076 # Check for GNU $ac_path_SED
6077 case `"$ac_path_SED" --version 2>&1` in
6078 *GNU*)
6079 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
6081 ac_count=0
6082 $as_echo_n 0123456789 >"conftest.in"
6083 while :
6085 cat "conftest.in" "conftest.in" >"conftest.tmp"
6086 mv "conftest.tmp" "conftest.in"
6087 cp "conftest.in" "conftest.nl"
6088 $as_echo '' >> "conftest.nl"
6089 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
6090 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6091 as_fn_arith $ac_count + 1 && ac_count=$as_val
6092 if test $ac_count -gt ${ac_path_SED_max-0}; then
6093 # Best one so far, save it but keep looking for a better one
6094 ac_cv_path_SED="$ac_path_SED"
6095 ac_path_SED_max=$ac_count
6097 # 10*(2^10) chars as input seems more than enough
6098 test $ac_count -gt 10 && break
6099 done
6100 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6101 esac
6103 $ac_path_SED_found && break 3
6104 done
6105 done
6106 done
6107 IFS=$as_save_IFS
6108 if test -z "$ac_cv_path_SED"; then
6109 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
6111 else
6112 ac_cv_path_SED=$SED
6116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6117 $as_echo "$ac_cv_path_SED" >&6; }
6118 SED="$ac_cv_path_SED"
6119 rm -f conftest.sed
6121 test -z "$SED" && SED=sed
6122 Xsed="$SED -e 1s/^X//"
6134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
6135 $as_echo_n "checking for fgrep... " >&6; }
6136 if ${ac_cv_path_FGREP+:} false; then :
6137 $as_echo_n "(cached) " >&6
6138 else
6139 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
6140 then ac_cv_path_FGREP="$GREP -F"
6141 else
6142 if test -z "$FGREP"; then
6143 ac_path_FGREP_found=false
6144 # Loop through the user's path and test for each of PROGNAME-LIST
6145 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6146 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6148 IFS=$as_save_IFS
6149 test -z "$as_dir" && as_dir=.
6150 for ac_prog in fgrep; do
6151 for ac_exec_ext in '' $ac_executable_extensions; do
6152 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
6153 as_fn_executable_p "$ac_path_FGREP" || continue
6154 # Check for GNU ac_path_FGREP and select it if it is found.
6155 # Check for GNU $ac_path_FGREP
6156 case `"$ac_path_FGREP" --version 2>&1` in
6157 *GNU*)
6158 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
6160 ac_count=0
6161 $as_echo_n 0123456789 >"conftest.in"
6162 while :
6164 cat "conftest.in" "conftest.in" >"conftest.tmp"
6165 mv "conftest.tmp" "conftest.in"
6166 cp "conftest.in" "conftest.nl"
6167 $as_echo 'FGREP' >> "conftest.nl"
6168 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
6169 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6170 as_fn_arith $ac_count + 1 && ac_count=$as_val
6171 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6172 # Best one so far, save it but keep looking for a better one
6173 ac_cv_path_FGREP="$ac_path_FGREP"
6174 ac_path_FGREP_max=$ac_count
6176 # 10*(2^10) chars as input seems more than enough
6177 test $ac_count -gt 10 && break
6178 done
6179 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6180 esac
6182 $ac_path_FGREP_found && break 3
6183 done
6184 done
6185 done
6186 IFS=$as_save_IFS
6187 if test -z "$ac_cv_path_FGREP"; then
6188 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6190 else
6191 ac_cv_path_FGREP=$FGREP
6196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6197 $as_echo "$ac_cv_path_FGREP" >&6; }
6198 FGREP="$ac_cv_path_FGREP"
6201 test -z "$GREP" && GREP=grep
6221 # Check whether --with-gnu-ld was given.
6222 if test "${with_gnu_ld+set}" = set; then :
6223 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
6224 else
6225 with_gnu_ld=no
6228 ac_prog=ld
6229 if test "$GCC" = yes; then
6230 # Check if gcc -print-prog-name=ld gives a path.
6231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6232 $as_echo_n "checking for ld used by $CC... " >&6; }
6233 case $host in
6234 *-*-mingw*)
6235 # gcc leaves a trailing carriage return which upsets mingw
6236 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6238 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
6239 esac
6240 case $ac_prog in
6241 # Accept absolute paths.
6242 [\\/]* | ?:[\\/]*)
6243 re_direlt='/[^/][^/]*/\.\./'
6244 # Canonicalize the pathname of ld
6245 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6246 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
6247 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
6248 done
6249 test -z "$LD" && LD="$ac_prog"
6252 # If it fails, then pretend we aren't using GCC.
6253 ac_prog=ld
6256 # If it is relative, then search for the first ld in PATH.
6257 with_gnu_ld=unknown
6259 esac
6260 elif test "$with_gnu_ld" = yes; then
6261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6262 $as_echo_n "checking for GNU ld... " >&6; }
6263 else
6264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6265 $as_echo_n "checking for non-GNU ld... " >&6; }
6267 if ${lt_cv_path_LD+:} false; then :
6268 $as_echo_n "(cached) " >&6
6269 else
6270 if test -z "$LD"; then
6271 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6272 for ac_dir in $PATH; do
6273 IFS="$lt_save_ifs"
6274 test -z "$ac_dir" && ac_dir=.
6275 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6276 lt_cv_path_LD="$ac_dir/$ac_prog"
6277 # Check to see if the program is GNU ld. I'd rather use --version,
6278 # but apparently some variants of GNU ld only accept -v.
6279 # Break only if it was the GNU/non-GNU ld that we prefer.
6280 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6281 *GNU* | *'with BFD'*)
6282 test "$with_gnu_ld" != no && break
6285 test "$with_gnu_ld" != yes && break
6287 esac
6289 done
6290 IFS="$lt_save_ifs"
6291 else
6292 lt_cv_path_LD="$LD" # Let the user override the test with a path.
6296 LD="$lt_cv_path_LD"
6297 if test -n "$LD"; then
6298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6299 $as_echo "$LD" >&6; }
6300 else
6301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6302 $as_echo "no" >&6; }
6304 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
6305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6306 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6307 if ${lt_cv_prog_gnu_ld+:} false; then :
6308 $as_echo_n "(cached) " >&6
6309 else
6310 # I'd rather use --version here, but apparently some GNU lds only accept -v.
6311 case `$LD -v 2>&1 </dev/null` in
6312 *GNU* | *'with BFD'*)
6313 lt_cv_prog_gnu_ld=yes
6316 lt_cv_prog_gnu_ld=no
6318 esac
6320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6321 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6322 with_gnu_ld=$lt_cv_prog_gnu_ld
6332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6333 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6334 if ${lt_cv_path_NM+:} false; then :
6335 $as_echo_n "(cached) " >&6
6336 else
6337 if test -n "$NM"; then
6338 # Let the user override the test.
6339 lt_cv_path_NM="$NM"
6340 else
6341 lt_nm_to_check="${ac_tool_prefix}nm"
6342 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6343 lt_nm_to_check="$lt_nm_to_check nm"
6345 for lt_tmp_nm in $lt_nm_to_check; do
6346 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6347 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6348 IFS="$lt_save_ifs"
6349 test -z "$ac_dir" && ac_dir=.
6350 tmp_nm="$ac_dir/$lt_tmp_nm"
6351 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
6352 # Check to see if the nm accepts a BSD-compat flag.
6353 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6354 # nm: unknown option "B" ignored
6355 # Tru64's nm complains that /dev/null is an invalid object file
6356 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6357 */dev/null* | *'Invalid file or object type'*)
6358 lt_cv_path_NM="$tmp_nm -B"
6359 break
6362 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6363 */dev/null*)
6364 lt_cv_path_NM="$tmp_nm -p"
6365 break
6368 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6369 continue # so that we can try to find one that supports BSD flags
6371 esac
6373 esac
6375 done
6376 IFS="$lt_save_ifs"
6377 done
6378 : ${lt_cv_path_NM=no}
6381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6382 $as_echo "$lt_cv_path_NM" >&6; }
6383 if test "$lt_cv_path_NM" != "no"; then
6384 NM="$lt_cv_path_NM"
6385 else
6386 # Didn't find any BSD compatible name lister, look for dumpbin.
6387 if test -n "$DUMPBIN"; then :
6388 # Let the user override the test.
6389 else
6390 if test -n "$ac_tool_prefix"; then
6391 for ac_prog in dumpbin "link -dump"
6393 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6394 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6396 $as_echo_n "checking for $ac_word... " >&6; }
6397 if ${ac_cv_prog_DUMPBIN+:} false; then :
6398 $as_echo_n "(cached) " >&6
6399 else
6400 if test -n "$DUMPBIN"; then
6401 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
6402 else
6403 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6404 for as_dir in $PATH
6406 IFS=$as_save_IFS
6407 test -z "$as_dir" && as_dir=.
6408 for ac_exec_ext in '' $ac_executable_extensions; do
6409 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6410 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
6411 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6412 break 2
6414 done
6415 done
6416 IFS=$as_save_IFS
6420 DUMPBIN=$ac_cv_prog_DUMPBIN
6421 if test -n "$DUMPBIN"; then
6422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6423 $as_echo "$DUMPBIN" >&6; }
6424 else
6425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6426 $as_echo "no" >&6; }
6430 test -n "$DUMPBIN" && break
6431 done
6433 if test -z "$DUMPBIN"; then
6434 ac_ct_DUMPBIN=$DUMPBIN
6435 for ac_prog in dumpbin "link -dump"
6437 # Extract the first word of "$ac_prog", so it can be a program name with args.
6438 set dummy $ac_prog; ac_word=$2
6439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6440 $as_echo_n "checking for $ac_word... " >&6; }
6441 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
6442 $as_echo_n "(cached) " >&6
6443 else
6444 if test -n "$ac_ct_DUMPBIN"; then
6445 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6446 else
6447 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6448 for as_dir in $PATH
6450 IFS=$as_save_IFS
6451 test -z "$as_dir" && as_dir=.
6452 for ac_exec_ext in '' $ac_executable_extensions; do
6453 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6454 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6455 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6456 break 2
6458 done
6459 done
6460 IFS=$as_save_IFS
6464 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6465 if test -n "$ac_ct_DUMPBIN"; then
6466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6467 $as_echo "$ac_ct_DUMPBIN" >&6; }
6468 else
6469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6470 $as_echo "no" >&6; }
6474 test -n "$ac_ct_DUMPBIN" && break
6475 done
6477 if test "x$ac_ct_DUMPBIN" = x; then
6478 DUMPBIN=":"
6479 else
6480 case $cross_compiling:$ac_tool_warned in
6481 yes:)
6482 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6483 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6484 ac_tool_warned=yes ;;
6485 esac
6486 DUMPBIN=$ac_ct_DUMPBIN
6490 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
6491 *COFF*)
6492 DUMPBIN="$DUMPBIN -symbols"
6495 DUMPBIN=:
6497 esac
6500 if test "$DUMPBIN" != ":"; then
6501 NM="$DUMPBIN"
6504 test -z "$NM" && NM=nm
6511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6512 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
6513 if ${lt_cv_nm_interface+:} false; then :
6514 $as_echo_n "(cached) " >&6
6515 else
6516 lt_cv_nm_interface="BSD nm"
6517 echo "int some_variable = 0;" > conftest.$ac_ext
6518 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6519 (eval "$ac_compile" 2>conftest.err)
6520 cat conftest.err >&5
6521 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6522 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
6523 cat conftest.err >&5
6524 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6525 cat conftest.out >&5
6526 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6527 lt_cv_nm_interface="MS dumpbin"
6529 rm -f conftest*
6531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6532 $as_echo "$lt_cv_nm_interface" >&6; }
6534 # find the maximum length of command line arguments
6535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6536 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
6537 if ${lt_cv_sys_max_cmd_len+:} false; then :
6538 $as_echo_n "(cached) " >&6
6539 else
6541 teststring="ABCD"
6543 case $build_os in
6544 msdosdjgpp*)
6545 # On DJGPP, this test can blow up pretty badly due to problems in libc
6546 # (any single argument exceeding 2000 bytes causes a buffer overrun
6547 # during glob expansion). Even if it were fixed, the result of this
6548 # check would be larger than it should be.
6549 lt_cv_sys_max_cmd_len=12288; # 12K is about right
6552 gnu*)
6553 # Under GNU Hurd, this test is not required because there is
6554 # no limit to the length of command line arguments.
6555 # Libtool will interpret -1 as no limit whatsoever
6556 lt_cv_sys_max_cmd_len=-1;
6559 cygwin* | mingw* | cegcc*)
6560 # On Win9x/ME, this test blows up -- it succeeds, but takes
6561 # about 5 minutes as the teststring grows exponentially.
6562 # Worse, since 9x/ME are not pre-emptively multitasking,
6563 # you end up with a "frozen" computer, even though with patience
6564 # the test eventually succeeds (with a max line length of 256k).
6565 # Instead, let's just punt: use the minimum linelength reported by
6566 # all of the supported platforms: 8192 (on NT/2K/XP).
6567 lt_cv_sys_max_cmd_len=8192;
6570 mint*)
6571 # On MiNT this can take a long time and run out of memory.
6572 lt_cv_sys_max_cmd_len=8192;
6575 amigaos*)
6576 # On AmigaOS with pdksh, this test takes hours, literally.
6577 # So we just punt and use a minimum line length of 8192.
6578 lt_cv_sys_max_cmd_len=8192;
6581 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6582 # This has been around since 386BSD, at least. Likely further.
6583 if test -x /sbin/sysctl; then
6584 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6585 elif test -x /usr/sbin/sysctl; then
6586 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6587 else
6588 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
6590 # And add a safety zone
6591 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6592 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6595 interix*)
6596 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6597 lt_cv_sys_max_cmd_len=196608
6600 osf*)
6601 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6602 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6603 # nice to cause kernel panics so lets avoid the loop below.
6604 # First set a reasonable default.
6605 lt_cv_sys_max_cmd_len=16384
6607 if test -x /sbin/sysconfig; then
6608 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6609 *1*) lt_cv_sys_max_cmd_len=-1 ;;
6610 esac
6613 sco3.2v5*)
6614 lt_cv_sys_max_cmd_len=102400
6616 sysv5* | sco5v6* | sysv4.2uw2*)
6617 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6618 if test -n "$kargmax"; then
6619 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6620 else
6621 lt_cv_sys_max_cmd_len=32768
6625 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6626 if test -n "$lt_cv_sys_max_cmd_len"; then
6627 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6628 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6629 else
6630 # Make teststring a little bigger before we do anything with it.
6631 # a 1K string should be a reasonable start.
6632 for i in 1 2 3 4 5 6 7 8 ; do
6633 teststring=$teststring$teststring
6634 done
6635 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6636 # If test is not a shell built-in, we'll probably end up computing a
6637 # maximum length that is only half of the actual maximum length, but
6638 # we can't tell.
6639 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
6640 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6641 test $i != 17 # 1/2 MB should be enough
6643 i=`expr $i + 1`
6644 teststring=$teststring$teststring
6645 done
6646 # Only check the string length outside the loop.
6647 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6648 teststring=
6649 # Add a significant safety factor because C++ compilers can tack on
6650 # massive amounts of additional arguments before passing them to the
6651 # linker. It appears as though 1/2 is a usable value.
6652 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6655 esac
6659 if test -n $lt_cv_sys_max_cmd_len ; then
6660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6661 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6662 else
6663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6664 $as_echo "none" >&6; }
6666 max_cmd_len=$lt_cv_sys_max_cmd_len
6673 : ${CP="cp -f"}
6674 : ${MV="mv -f"}
6675 : ${RM="rm -f"}
6677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6678 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6679 # Try some XSI features
6680 xsi_shell=no
6681 ( _lt_dummy="a/b/c"
6682 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6683 = c,a/b,, \
6684 && eval 'test $(( 1 + 1 )) -eq 2 \
6685 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6686 && xsi_shell=yes
6687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6688 $as_echo "$xsi_shell" >&6; }
6691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6692 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6693 lt_shell_append=no
6694 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6695 >/dev/null 2>&1 \
6696 && lt_shell_append=yes
6697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6698 $as_echo "$lt_shell_append" >&6; }
6701 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6702 lt_unset=unset
6703 else
6704 lt_unset=false
6711 # test EBCDIC or ASCII
6712 case `echo X|tr X '\101'` in
6713 A) # ASCII based system
6714 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6715 lt_SP2NL='tr \040 \012'
6716 lt_NL2SP='tr \015\012 \040\040'
6718 *) # EBCDIC based system
6719 lt_SP2NL='tr \100 \n'
6720 lt_NL2SP='tr \r\n \100\100'
6722 esac
6732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6733 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6734 if ${lt_cv_ld_reload_flag+:} false; then :
6735 $as_echo_n "(cached) " >&6
6736 else
6737 lt_cv_ld_reload_flag='-r'
6739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6740 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6741 reload_flag=$lt_cv_ld_reload_flag
6742 case $reload_flag in
6743 "" | " "*) ;;
6744 *) reload_flag=" $reload_flag" ;;
6745 esac
6746 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6747 case $host_os in
6748 darwin*)
6749 if test "$GCC" = yes; then
6750 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6751 else
6752 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6755 esac
6765 if test -n "$ac_tool_prefix"; then
6766 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6767 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6769 $as_echo_n "checking for $ac_word... " >&6; }
6770 if ${ac_cv_prog_OBJDUMP+:} false; then :
6771 $as_echo_n "(cached) " >&6
6772 else
6773 if test -n "$OBJDUMP"; then
6774 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6775 else
6776 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6777 for as_dir in $PATH
6779 IFS=$as_save_IFS
6780 test -z "$as_dir" && as_dir=.
6781 for ac_exec_ext in '' $ac_executable_extensions; do
6782 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6783 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6784 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6785 break 2
6787 done
6788 done
6789 IFS=$as_save_IFS
6793 OBJDUMP=$ac_cv_prog_OBJDUMP
6794 if test -n "$OBJDUMP"; then
6795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6796 $as_echo "$OBJDUMP" >&6; }
6797 else
6798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6799 $as_echo "no" >&6; }
6804 if test -z "$ac_cv_prog_OBJDUMP"; then
6805 ac_ct_OBJDUMP=$OBJDUMP
6806 # Extract the first word of "objdump", so it can be a program name with args.
6807 set dummy objdump; ac_word=$2
6808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6809 $as_echo_n "checking for $ac_word... " >&6; }
6810 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6811 $as_echo_n "(cached) " >&6
6812 else
6813 if test -n "$ac_ct_OBJDUMP"; then
6814 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6815 else
6816 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6817 for as_dir in $PATH
6819 IFS=$as_save_IFS
6820 test -z "$as_dir" && as_dir=.
6821 for ac_exec_ext in '' $ac_executable_extensions; do
6822 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6823 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6824 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6825 break 2
6827 done
6828 done
6829 IFS=$as_save_IFS
6833 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6834 if test -n "$ac_ct_OBJDUMP"; then
6835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6836 $as_echo "$ac_ct_OBJDUMP" >&6; }
6837 else
6838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6839 $as_echo "no" >&6; }
6842 if test "x$ac_ct_OBJDUMP" = x; then
6843 OBJDUMP="false"
6844 else
6845 case $cross_compiling:$ac_tool_warned in
6846 yes:)
6847 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6848 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6849 ac_tool_warned=yes ;;
6850 esac
6851 OBJDUMP=$ac_ct_OBJDUMP
6853 else
6854 OBJDUMP="$ac_cv_prog_OBJDUMP"
6857 test -z "$OBJDUMP" && OBJDUMP=objdump
6867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6868 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6869 if ${lt_cv_deplibs_check_method+:} false; then :
6870 $as_echo_n "(cached) " >&6
6871 else
6872 lt_cv_file_magic_cmd='$MAGIC_CMD'
6873 lt_cv_file_magic_test_file=
6874 lt_cv_deplibs_check_method='unknown'
6875 # Need to set the preceding variable on all platforms that support
6876 # interlibrary dependencies.
6877 # 'none' -- dependencies not supported.
6878 # `unknown' -- same as none, but documents that we really don't know.
6879 # 'pass_all' -- all dependencies passed with no checks.
6880 # 'test_compile' -- check by making test program.
6881 # 'file_magic [[regex]]' -- check by looking for files in library path
6882 # which responds to the $file_magic_cmd with a given extended regex.
6883 # If you have `file' or equivalent on your system and you're not sure
6884 # whether `pass_all' will *always* work, you probably want this one.
6886 case $host_os in
6887 aix[4-9]*)
6888 lt_cv_deplibs_check_method=pass_all
6891 beos*)
6892 lt_cv_deplibs_check_method=pass_all
6895 bsdi[45]*)
6896 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6897 lt_cv_file_magic_cmd='/usr/bin/file -L'
6898 lt_cv_file_magic_test_file=/shlib/libc.so
6901 cygwin*)
6902 # func_win32_libid is a shell function defined in ltmain.sh
6903 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6904 lt_cv_file_magic_cmd='func_win32_libid'
6907 mingw* | pw32*)
6908 # Base MSYS/MinGW do not provide the 'file' command needed by
6909 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6910 # unless we find 'file', for example because we are cross-compiling.
6911 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6912 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6913 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6914 lt_cv_file_magic_cmd='func_win32_libid'
6915 else
6916 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6917 lt_cv_file_magic_cmd='$OBJDUMP -f'
6921 cegcc*)
6922 # use the weaker test based on 'objdump'. See mingw*.
6923 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6924 lt_cv_file_magic_cmd='$OBJDUMP -f'
6927 darwin* | rhapsody*)
6928 lt_cv_deplibs_check_method=pass_all
6931 freebsd* | dragonfly*)
6932 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6933 case $host_cpu in
6934 i*86 )
6935 # Not sure whether the presence of OpenBSD here was a mistake.
6936 # Let's accept both of them until this is cleared up.
6937 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6938 lt_cv_file_magic_cmd=/usr/bin/file
6939 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6941 esac
6942 else
6943 lt_cv_deplibs_check_method=pass_all
6947 gnu*)
6948 lt_cv_deplibs_check_method=pass_all
6951 haiku*)
6952 lt_cv_deplibs_check_method=pass_all
6955 hpux10.20* | hpux11*)
6956 lt_cv_file_magic_cmd=/usr/bin/file
6957 case $host_cpu in
6958 ia64*)
6959 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6960 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6962 hppa*64*)
6963 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
6964 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6967 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6968 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6970 esac
6973 interix[3-9]*)
6974 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6975 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6978 irix5* | irix6* | nonstopux*)
6979 case $LD in
6980 *-32|*"-32 ") libmagic=32-bit;;
6981 *-n32|*"-n32 ") libmagic=N32;;
6982 *-64|*"-64 ") libmagic=64-bit;;
6983 *) libmagic=never-match;;
6984 esac
6985 lt_cv_deplibs_check_method=pass_all
6988 # This must be Linux ELF.
6989 linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
6990 lt_cv_deplibs_check_method=pass_all
6993 netbsd*)
6994 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6995 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6996 else
6997 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7001 newos6*)
7002 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7003 lt_cv_file_magic_cmd=/usr/bin/file
7004 lt_cv_file_magic_test_file=/usr/lib/libnls.so
7007 *nto* | *qnx*)
7008 lt_cv_deplibs_check_method=pass_all
7011 openbsd*)
7012 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7013 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7014 else
7015 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7019 osf3* | osf4* | osf5*)
7020 lt_cv_deplibs_check_method=pass_all
7023 rdos*)
7024 lt_cv_deplibs_check_method=pass_all
7027 solaris*)
7028 lt_cv_deplibs_check_method=pass_all
7031 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
7032 lt_cv_deplibs_check_method=pass_all
7035 sysv4 | sysv4.3*)
7036 case $host_vendor in
7037 motorola)
7038 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
7039 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
7041 ncr)
7042 lt_cv_deplibs_check_method=pass_all
7044 sequent)
7045 lt_cv_file_magic_cmd='/bin/file'
7046 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7048 sni)
7049 lt_cv_file_magic_cmd='/bin/file'
7050 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
7051 lt_cv_file_magic_test_file=/lib/libc.so
7053 siemens)
7054 lt_cv_deplibs_check_method=pass_all
7057 lt_cv_deplibs_check_method=pass_all
7059 esac
7062 tpf*)
7063 lt_cv_deplibs_check_method=pass_all
7065 esac
7068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
7069 $as_echo "$lt_cv_deplibs_check_method" >&6; }
7070 file_magic_cmd=$lt_cv_file_magic_cmd
7071 deplibs_check_method=$lt_cv_deplibs_check_method
7072 test -z "$deplibs_check_method" && deplibs_check_method=unknown
7085 if test -n "$ac_tool_prefix"; then
7086 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7087 set dummy ${ac_tool_prefix}ar; ac_word=$2
7088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7089 $as_echo_n "checking for $ac_word... " >&6; }
7090 if ${ac_cv_prog_AR+:} false; then :
7091 $as_echo_n "(cached) " >&6
7092 else
7093 if test -n "$AR"; then
7094 ac_cv_prog_AR="$AR" # Let the user override the test.
7095 else
7096 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7097 for as_dir in $PATH
7099 IFS=$as_save_IFS
7100 test -z "$as_dir" && as_dir=.
7101 for ac_exec_ext in '' $ac_executable_extensions; do
7102 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7103 ac_cv_prog_AR="${ac_tool_prefix}ar"
7104 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7105 break 2
7107 done
7108 done
7109 IFS=$as_save_IFS
7113 AR=$ac_cv_prog_AR
7114 if test -n "$AR"; then
7115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7116 $as_echo "$AR" >&6; }
7117 else
7118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7119 $as_echo "no" >&6; }
7124 if test -z "$ac_cv_prog_AR"; then
7125 ac_ct_AR=$AR
7126 # Extract the first word of "ar", so it can be a program name with args.
7127 set dummy ar; ac_word=$2
7128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7129 $as_echo_n "checking for $ac_word... " >&6; }
7130 if ${ac_cv_prog_ac_ct_AR+:} false; then :
7131 $as_echo_n "(cached) " >&6
7132 else
7133 if test -n "$ac_ct_AR"; then
7134 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7135 else
7136 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7137 for as_dir in $PATH
7139 IFS=$as_save_IFS
7140 test -z "$as_dir" && as_dir=.
7141 for ac_exec_ext in '' $ac_executable_extensions; do
7142 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7143 ac_cv_prog_ac_ct_AR="ar"
7144 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7145 break 2
7147 done
7148 done
7149 IFS=$as_save_IFS
7153 ac_ct_AR=$ac_cv_prog_ac_ct_AR
7154 if test -n "$ac_ct_AR"; then
7155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7156 $as_echo "$ac_ct_AR" >&6; }
7157 else
7158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7159 $as_echo "no" >&6; }
7162 if test "x$ac_ct_AR" = x; then
7163 AR="false"
7164 else
7165 case $cross_compiling:$ac_tool_warned in
7166 yes:)
7167 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7168 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7169 ac_tool_warned=yes ;;
7170 esac
7171 AR=$ac_ct_AR
7173 else
7174 AR="$ac_cv_prog_AR"
7177 test -z "$AR" && AR=ar
7178 test -z "$AR_FLAGS" && AR_FLAGS=cru
7190 if test -n "$ac_tool_prefix"; then
7191 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7192 set dummy ${ac_tool_prefix}strip; ac_word=$2
7193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7194 $as_echo_n "checking for $ac_word... " >&6; }
7195 if ${ac_cv_prog_STRIP+:} false; then :
7196 $as_echo_n "(cached) " >&6
7197 else
7198 if test -n "$STRIP"; then
7199 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7200 else
7201 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7202 for as_dir in $PATH
7204 IFS=$as_save_IFS
7205 test -z "$as_dir" && as_dir=.
7206 for ac_exec_ext in '' $ac_executable_extensions; do
7207 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7208 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7209 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7210 break 2
7212 done
7213 done
7214 IFS=$as_save_IFS
7218 STRIP=$ac_cv_prog_STRIP
7219 if test -n "$STRIP"; then
7220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7221 $as_echo "$STRIP" >&6; }
7222 else
7223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7224 $as_echo "no" >&6; }
7229 if test -z "$ac_cv_prog_STRIP"; then
7230 ac_ct_STRIP=$STRIP
7231 # Extract the first word of "strip", so it can be a program name with args.
7232 set dummy strip; ac_word=$2
7233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7234 $as_echo_n "checking for $ac_word... " >&6; }
7235 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
7236 $as_echo_n "(cached) " >&6
7237 else
7238 if test -n "$ac_ct_STRIP"; then
7239 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7240 else
7241 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7242 for as_dir in $PATH
7244 IFS=$as_save_IFS
7245 test -z "$as_dir" && as_dir=.
7246 for ac_exec_ext in '' $ac_executable_extensions; do
7247 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7248 ac_cv_prog_ac_ct_STRIP="strip"
7249 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7250 break 2
7252 done
7253 done
7254 IFS=$as_save_IFS
7258 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7259 if test -n "$ac_ct_STRIP"; then
7260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7261 $as_echo "$ac_ct_STRIP" >&6; }
7262 else
7263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7264 $as_echo "no" >&6; }
7267 if test "x$ac_ct_STRIP" = x; then
7268 STRIP=":"
7269 else
7270 case $cross_compiling:$ac_tool_warned in
7271 yes:)
7272 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7273 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7274 ac_tool_warned=yes ;;
7275 esac
7276 STRIP=$ac_ct_STRIP
7278 else
7279 STRIP="$ac_cv_prog_STRIP"
7282 test -z "$STRIP" && STRIP=:
7289 if test -n "$ac_tool_prefix"; then
7290 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7291 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7293 $as_echo_n "checking for $ac_word... " >&6; }
7294 if ${ac_cv_prog_RANLIB+:} false; then :
7295 $as_echo_n "(cached) " >&6
7296 else
7297 if test -n "$RANLIB"; then
7298 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7299 else
7300 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7301 for as_dir in $PATH
7303 IFS=$as_save_IFS
7304 test -z "$as_dir" && as_dir=.
7305 for ac_exec_ext in '' $ac_executable_extensions; do
7306 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7307 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7308 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7309 break 2
7311 done
7312 done
7313 IFS=$as_save_IFS
7317 RANLIB=$ac_cv_prog_RANLIB
7318 if test -n "$RANLIB"; then
7319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7320 $as_echo "$RANLIB" >&6; }
7321 else
7322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7323 $as_echo "no" >&6; }
7328 if test -z "$ac_cv_prog_RANLIB"; then
7329 ac_ct_RANLIB=$RANLIB
7330 # Extract the first word of "ranlib", so it can be a program name with args.
7331 set dummy ranlib; ac_word=$2
7332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7333 $as_echo_n "checking for $ac_word... " >&6; }
7334 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
7335 $as_echo_n "(cached) " >&6
7336 else
7337 if test -n "$ac_ct_RANLIB"; then
7338 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7339 else
7340 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7341 for as_dir in $PATH
7343 IFS=$as_save_IFS
7344 test -z "$as_dir" && as_dir=.
7345 for ac_exec_ext in '' $ac_executable_extensions; do
7346 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7347 ac_cv_prog_ac_ct_RANLIB="ranlib"
7348 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7349 break 2
7351 done
7352 done
7353 IFS=$as_save_IFS
7357 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7358 if test -n "$ac_ct_RANLIB"; then
7359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7360 $as_echo "$ac_ct_RANLIB" >&6; }
7361 else
7362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7363 $as_echo "no" >&6; }
7366 if test "x$ac_ct_RANLIB" = x; then
7367 RANLIB=":"
7368 else
7369 case $cross_compiling:$ac_tool_warned in
7370 yes:)
7371 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7372 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7373 ac_tool_warned=yes ;;
7374 esac
7375 RANLIB=$ac_ct_RANLIB
7377 else
7378 RANLIB="$ac_cv_prog_RANLIB"
7381 test -z "$RANLIB" && RANLIB=:
7388 # Determine commands to create old-style static archives.
7389 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7390 old_postinstall_cmds='chmod 644 $oldlib'
7391 old_postuninstall_cmds=
7393 if test -n "$RANLIB"; then
7394 case $host_os in
7395 openbsd*)
7396 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
7399 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
7401 esac
7402 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
7405 case $host_os in
7406 darwin*)
7407 lock_old_archive_extraction=yes ;;
7409 lock_old_archive_extraction=no ;;
7410 esac
7450 # If no C compiler was specified, use CC.
7451 LTCC=${LTCC-"$CC"}
7453 # If no C compiler flags were specified, use CFLAGS.
7454 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7456 # Allow CC to be a program name with arguments.
7457 compiler=$CC
7460 # Check for command to grab the raw symbol name followed by C symbol from nm.
7461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7462 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7463 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7464 $as_echo_n "(cached) " >&6
7465 else
7467 # These are sane defaults that work on at least a few old systems.
7468 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7470 # Character class describing NM global symbol codes.
7471 symcode='[BCDEGRST]'
7473 # Regexp to match symbols that can be accessed directly from C.
7474 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7476 # Define system-specific variables.
7477 case $host_os in
7478 aix*)
7479 symcode='[BCDT]'
7481 cygwin* | mingw* | pw32* | cegcc*)
7482 symcode='[ABCDGISTW]'
7484 hpux*)
7485 if test "$host_cpu" = ia64; then
7486 symcode='[ABCDEGRST]'
7489 irix* | nonstopux*)
7490 symcode='[BCDEGRST]'
7492 osf*)
7493 symcode='[BCDEGQRST]'
7495 solaris*)
7496 symcode='[BDRT]'
7498 sco3.2v5*)
7499 symcode='[DT]'
7501 sysv4.2uw2*)
7502 symcode='[DT]'
7504 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7505 symcode='[ABDT]'
7507 sysv4)
7508 symcode='[DFNSTU]'
7510 esac
7512 # If we're using GNU nm, then use its standard symbol codes.
7513 case `$NM -V 2>&1` in
7514 *GNU* | *'with BFD'*)
7515 symcode='[ABCDGIRSTW]' ;;
7516 esac
7518 # Transform an extracted symbol line into a proper C declaration.
7519 # Some systems (esp. on ia64) link data and code symbols differently,
7520 # so use this general approach.
7521 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7523 # Transform an extracted symbol line into symbol name and symbol address
7524 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7525 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
7527 # Handle CRLF in mingw tool chain
7528 opt_cr=
7529 case $build_os in
7530 mingw*)
7531 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7533 esac
7535 # Try without a prefix underscore, then with it.
7536 for ac_symprfx in "" "_"; do
7538 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7539 symxfrm="\\1 $ac_symprfx\\2 \\2"
7541 # Write the raw and C identifiers.
7542 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7543 # Fake it for dumpbin and say T for any non-static function
7544 # and D for any global variable.
7545 # Also find C++ and __fastcall symbols from MSVC++,
7546 # which start with @ or ?.
7547 lt_cv_sys_global_symbol_pipe="$AWK '"\
7548 " {last_section=section; section=\$ 3};"\
7549 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7550 " \$ 0!~/External *\|/{next};"\
7551 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7552 " {if(hide[section]) next};"\
7553 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7554 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7555 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7556 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7557 " ' prfx=^$ac_symprfx"
7558 else
7559 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7562 # Check to see that the pipe works correctly.
7563 pipe_works=no
7565 rm -f conftest*
7566 cat > conftest.$ac_ext <<_LT_EOF
7567 #ifdef __cplusplus
7568 extern "C" {
7569 #endif
7570 char nm_test_var;
7571 void nm_test_func(void);
7572 void nm_test_func(void){}
7573 #ifdef __cplusplus
7575 #endif
7576 int main(){nm_test_var='a';nm_test_func();return(0);}
7577 _LT_EOF
7579 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7580 (eval $ac_compile) 2>&5
7581 ac_status=$?
7582 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7583 test $ac_status = 0; }; then
7584 # Now try to grab the symbols.
7585 nlist=conftest.nm
7586 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7587 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7588 ac_status=$?
7589 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7590 test $ac_status = 0; } && test -s "$nlist"; then
7591 # Try sorting and uniquifying the output.
7592 if sort "$nlist" | uniq > "$nlist"T; then
7593 mv -f "$nlist"T "$nlist"
7594 else
7595 rm -f "$nlist"T
7598 # Make sure that we snagged all the symbols we need.
7599 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7600 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7601 cat <<_LT_EOF > conftest.$ac_ext
7602 #ifdef __cplusplus
7603 extern "C" {
7604 #endif
7606 _LT_EOF
7607 # Now generate the symbol file.
7608 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7610 cat <<_LT_EOF >> conftest.$ac_ext
7612 /* The mapping between symbol names and symbols. */
7613 const struct {
7614 const char *name;
7615 void *address;
7617 lt__PROGRAM__LTX_preloaded_symbols[] =
7619 { "@PROGRAM@", (void *) 0 },
7620 _LT_EOF
7621 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7622 cat <<\_LT_EOF >> conftest.$ac_ext
7623 {0, (void *) 0}
7626 /* This works around a problem in FreeBSD linker */
7627 #ifdef FREEBSD_WORKAROUND
7628 static const void *lt_preloaded_setup() {
7629 return lt__PROGRAM__LTX_preloaded_symbols;
7631 #endif
7633 #ifdef __cplusplus
7635 #endif
7636 _LT_EOF
7637 # Now try linking the two files.
7638 mv conftest.$ac_objext conftstm.$ac_objext
7639 lt_save_LIBS="$LIBS"
7640 lt_save_CFLAGS="$CFLAGS"
7641 LIBS="conftstm.$ac_objext"
7642 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7643 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7644 (eval $ac_link) 2>&5
7645 ac_status=$?
7646 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7647 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7648 pipe_works=yes
7650 LIBS="$lt_save_LIBS"
7651 CFLAGS="$lt_save_CFLAGS"
7652 else
7653 echo "cannot find nm_test_func in $nlist" >&5
7655 else
7656 echo "cannot find nm_test_var in $nlist" >&5
7658 else
7659 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7661 else
7662 echo "$progname: failed program was:" >&5
7663 cat conftest.$ac_ext >&5
7665 rm -rf conftest* conftst*
7667 # Do not use the global_symbol_pipe unless it works.
7668 if test "$pipe_works" = yes; then
7669 break
7670 else
7671 lt_cv_sys_global_symbol_pipe=
7673 done
7677 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7678 lt_cv_sys_global_symbol_to_cdecl=
7680 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7682 $as_echo "failed" >&6; }
7683 else
7684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7685 $as_echo "ok" >&6; }
7709 # Check whether --enable-libtool-lock was given.
7710 if test "${enable_libtool_lock+set}" = set; then :
7711 enableval=$enable_libtool_lock;
7714 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7716 # Some flags need to be propagated to the compiler or linker for good
7717 # libtool support.
7718 case $host in
7719 ia64-*-hpux*)
7720 # Find out which ABI we are using.
7721 echo 'int i;' > conftest.$ac_ext
7722 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7723 (eval $ac_compile) 2>&5
7724 ac_status=$?
7725 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7726 test $ac_status = 0; }; then
7727 case `/usr/bin/file conftest.$ac_objext` in
7728 *ELF-32*)
7729 HPUX_IA64_MODE="32"
7731 *ELF-64*)
7732 HPUX_IA64_MODE="64"
7734 esac
7736 rm -rf conftest*
7738 *-*-irix6*)
7739 # Find out which ABI we are using.
7740 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7741 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7742 (eval $ac_compile) 2>&5
7743 ac_status=$?
7744 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7745 test $ac_status = 0; }; then
7746 if test "$lt_cv_prog_gnu_ld" = yes; then
7747 case `/usr/bin/file conftest.$ac_objext` in
7748 *32-bit*)
7749 LD="${LD-ld} -melf32bsmip"
7751 *N32*)
7752 LD="${LD-ld} -melf32bmipn32"
7754 *64-bit*)
7755 LD="${LD-ld} -melf64bmip"
7757 esac
7758 else
7759 case `/usr/bin/file conftest.$ac_objext` in
7760 *32-bit*)
7761 LD="${LD-ld} -32"
7763 *N32*)
7764 LD="${LD-ld} -n32"
7766 *64-bit*)
7767 LD="${LD-ld} -64"
7769 esac
7772 rm -rf conftest*
7775 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7776 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7777 # Find out which ABI we are using.
7778 echo 'int i;' > conftest.$ac_ext
7779 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7780 (eval $ac_compile) 2>&5
7781 ac_status=$?
7782 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7783 test $ac_status = 0; }; then
7784 case `/usr/bin/file conftest.o` in
7785 *32-bit*)
7786 case $host in
7787 x86_64-*kfreebsd*-gnu)
7788 LD="${LD-ld} -m elf_i386_fbsd"
7790 x86_64-*linux*)
7791 case `/usr/bin/file conftest.o` in
7792 *x86-64*)
7793 LD="${LD-ld} -m elf32_x86_64"
7796 LD="${LD-ld} -m elf_i386"
7798 esac
7800 powerpc64le-*linux*)
7801 LD="${LD-ld} -m elf32lppclinux"
7803 powerpc64-*linux*)
7804 LD="${LD-ld} -m elf32ppclinux"
7806 s390x-*linux*)
7807 LD="${LD-ld} -m elf_s390"
7809 sparc64-*linux*)
7810 LD="${LD-ld} -m elf32_sparc"
7812 esac
7814 *64-bit*)
7815 case $host in
7816 x86_64-*kfreebsd*-gnu)
7817 LD="${LD-ld} -m elf_x86_64_fbsd"
7819 x86_64-*linux*)
7820 LD="${LD-ld} -m elf_x86_64"
7822 powerpcle-*linux*)
7823 LD="${LD-ld} -m elf64lppc"
7825 powerpc-*linux*)
7826 LD="${LD-ld} -m elf64ppc"
7828 s390*-*linux*|s390*-*tpf*)
7829 LD="${LD-ld} -m elf64_s390"
7831 sparc*-*linux*)
7832 LD="${LD-ld} -m elf64_sparc"
7834 esac
7836 esac
7838 rm -rf conftest*
7841 *-*-sco3.2v5*)
7842 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7843 SAVE_CFLAGS="$CFLAGS"
7844 CFLAGS="$CFLAGS -belf"
7845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7846 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7847 if ${lt_cv_cc_needs_belf+:} false; then :
7848 $as_echo_n "(cached) " >&6
7849 else
7850 ac_ext=c
7851 ac_cpp='$CPP $CPPFLAGS'
7852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7856 if test x$gcc_no_link = xyes; then
7857 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7860 /* end confdefs.h. */
7863 main ()
7867 return 0;
7869 _ACEOF
7870 if ac_fn_c_try_link "$LINENO"; then :
7871 lt_cv_cc_needs_belf=yes
7872 else
7873 lt_cv_cc_needs_belf=no
7875 rm -f core conftest.err conftest.$ac_objext \
7876 conftest$ac_exeext conftest.$ac_ext
7877 ac_ext=c
7878 ac_cpp='$CPP $CPPFLAGS'
7879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7885 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7886 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7887 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7888 CFLAGS="$SAVE_CFLAGS"
7891 sparc*-*solaris*)
7892 # Find out which ABI we are using.
7893 echo 'int i;' > conftest.$ac_ext
7894 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7895 (eval $ac_compile) 2>&5
7896 ac_status=$?
7897 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7898 test $ac_status = 0; }; then
7899 case `/usr/bin/file conftest.o` in
7900 *64-bit*)
7901 case $lt_cv_prog_gnu_ld in
7902 yes*) LD="${LD-ld} -m elf64_sparc" ;;
7904 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7905 LD="${LD-ld} -64"
7908 esac
7910 esac
7912 rm -rf conftest*
7914 esac
7916 need_locks="$enable_libtool_lock"
7919 case $host_os in
7920 rhapsody* | darwin*)
7921 if test -n "$ac_tool_prefix"; then
7922 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7923 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7925 $as_echo_n "checking for $ac_word... " >&6; }
7926 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7927 $as_echo_n "(cached) " >&6
7928 else
7929 if test -n "$DSYMUTIL"; then
7930 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7931 else
7932 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7933 for as_dir in $PATH
7935 IFS=$as_save_IFS
7936 test -z "$as_dir" && as_dir=.
7937 for ac_exec_ext in '' $ac_executable_extensions; do
7938 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7939 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7940 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7941 break 2
7943 done
7944 done
7945 IFS=$as_save_IFS
7949 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7950 if test -n "$DSYMUTIL"; then
7951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7952 $as_echo "$DSYMUTIL" >&6; }
7953 else
7954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7955 $as_echo "no" >&6; }
7960 if test -z "$ac_cv_prog_DSYMUTIL"; then
7961 ac_ct_DSYMUTIL=$DSYMUTIL
7962 # Extract the first word of "dsymutil", so it can be a program name with args.
7963 set dummy dsymutil; ac_word=$2
7964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7965 $as_echo_n "checking for $ac_word... " >&6; }
7966 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7967 $as_echo_n "(cached) " >&6
7968 else
7969 if test -n "$ac_ct_DSYMUTIL"; then
7970 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7971 else
7972 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7973 for as_dir in $PATH
7975 IFS=$as_save_IFS
7976 test -z "$as_dir" && as_dir=.
7977 for ac_exec_ext in '' $ac_executable_extensions; do
7978 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7979 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7980 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7981 break 2
7983 done
7984 done
7985 IFS=$as_save_IFS
7989 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7990 if test -n "$ac_ct_DSYMUTIL"; then
7991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7992 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7993 else
7994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7995 $as_echo "no" >&6; }
7998 if test "x$ac_ct_DSYMUTIL" = x; then
7999 DSYMUTIL=":"
8000 else
8001 case $cross_compiling:$ac_tool_warned in
8002 yes:)
8003 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8004 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8005 ac_tool_warned=yes ;;
8006 esac
8007 DSYMUTIL=$ac_ct_DSYMUTIL
8009 else
8010 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8013 if test -n "$ac_tool_prefix"; then
8014 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8015 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8017 $as_echo_n "checking for $ac_word... " >&6; }
8018 if ${ac_cv_prog_NMEDIT+:} false; then :
8019 $as_echo_n "(cached) " >&6
8020 else
8021 if test -n "$NMEDIT"; then
8022 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8023 else
8024 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8025 for as_dir in $PATH
8027 IFS=$as_save_IFS
8028 test -z "$as_dir" && as_dir=.
8029 for ac_exec_ext in '' $ac_executable_extensions; do
8030 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8031 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
8032 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8033 break 2
8035 done
8036 done
8037 IFS=$as_save_IFS
8041 NMEDIT=$ac_cv_prog_NMEDIT
8042 if test -n "$NMEDIT"; then
8043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8044 $as_echo "$NMEDIT" >&6; }
8045 else
8046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8047 $as_echo "no" >&6; }
8052 if test -z "$ac_cv_prog_NMEDIT"; then
8053 ac_ct_NMEDIT=$NMEDIT
8054 # Extract the first word of "nmedit", so it can be a program name with args.
8055 set dummy nmedit; ac_word=$2
8056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8057 $as_echo_n "checking for $ac_word... " >&6; }
8058 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
8059 $as_echo_n "(cached) " >&6
8060 else
8061 if test -n "$ac_ct_NMEDIT"; then
8062 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8063 else
8064 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8065 for as_dir in $PATH
8067 IFS=$as_save_IFS
8068 test -z "$as_dir" && as_dir=.
8069 for ac_exec_ext in '' $ac_executable_extensions; do
8070 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8071 ac_cv_prog_ac_ct_NMEDIT="nmedit"
8072 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8073 break 2
8075 done
8076 done
8077 IFS=$as_save_IFS
8081 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8082 if test -n "$ac_ct_NMEDIT"; then
8083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8084 $as_echo "$ac_ct_NMEDIT" >&6; }
8085 else
8086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8087 $as_echo "no" >&6; }
8090 if test "x$ac_ct_NMEDIT" = x; then
8091 NMEDIT=":"
8092 else
8093 case $cross_compiling:$ac_tool_warned in
8094 yes:)
8095 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8096 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8097 ac_tool_warned=yes ;;
8098 esac
8099 NMEDIT=$ac_ct_NMEDIT
8101 else
8102 NMEDIT="$ac_cv_prog_NMEDIT"
8105 if test -n "$ac_tool_prefix"; then
8106 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8107 set dummy ${ac_tool_prefix}lipo; ac_word=$2
8108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8109 $as_echo_n "checking for $ac_word... " >&6; }
8110 if ${ac_cv_prog_LIPO+:} false; then :
8111 $as_echo_n "(cached) " >&6
8112 else
8113 if test -n "$LIPO"; then
8114 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8115 else
8116 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8117 for as_dir in $PATH
8119 IFS=$as_save_IFS
8120 test -z "$as_dir" && as_dir=.
8121 for ac_exec_ext in '' $ac_executable_extensions; do
8122 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8123 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
8124 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8125 break 2
8127 done
8128 done
8129 IFS=$as_save_IFS
8133 LIPO=$ac_cv_prog_LIPO
8134 if test -n "$LIPO"; then
8135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8136 $as_echo "$LIPO" >&6; }
8137 else
8138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8139 $as_echo "no" >&6; }
8144 if test -z "$ac_cv_prog_LIPO"; then
8145 ac_ct_LIPO=$LIPO
8146 # Extract the first word of "lipo", so it can be a program name with args.
8147 set dummy lipo; ac_word=$2
8148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8149 $as_echo_n "checking for $ac_word... " >&6; }
8150 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
8151 $as_echo_n "(cached) " >&6
8152 else
8153 if test -n "$ac_ct_LIPO"; then
8154 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8155 else
8156 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8157 for as_dir in $PATH
8159 IFS=$as_save_IFS
8160 test -z "$as_dir" && as_dir=.
8161 for ac_exec_ext in '' $ac_executable_extensions; do
8162 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8163 ac_cv_prog_ac_ct_LIPO="lipo"
8164 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8165 break 2
8167 done
8168 done
8169 IFS=$as_save_IFS
8173 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8174 if test -n "$ac_ct_LIPO"; then
8175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8176 $as_echo "$ac_ct_LIPO" >&6; }
8177 else
8178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8179 $as_echo "no" >&6; }
8182 if test "x$ac_ct_LIPO" = x; then
8183 LIPO=":"
8184 else
8185 case $cross_compiling:$ac_tool_warned in
8186 yes:)
8187 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8188 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8189 ac_tool_warned=yes ;;
8190 esac
8191 LIPO=$ac_ct_LIPO
8193 else
8194 LIPO="$ac_cv_prog_LIPO"
8197 if test -n "$ac_tool_prefix"; then
8198 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8199 set dummy ${ac_tool_prefix}otool; ac_word=$2
8200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8201 $as_echo_n "checking for $ac_word... " >&6; }
8202 if ${ac_cv_prog_OTOOL+:} false; then :
8203 $as_echo_n "(cached) " >&6
8204 else
8205 if test -n "$OTOOL"; then
8206 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8207 else
8208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8209 for as_dir in $PATH
8211 IFS=$as_save_IFS
8212 test -z "$as_dir" && as_dir=.
8213 for ac_exec_ext in '' $ac_executable_extensions; do
8214 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8215 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8216 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8217 break 2
8219 done
8220 done
8221 IFS=$as_save_IFS
8225 OTOOL=$ac_cv_prog_OTOOL
8226 if test -n "$OTOOL"; then
8227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8228 $as_echo "$OTOOL" >&6; }
8229 else
8230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8231 $as_echo "no" >&6; }
8236 if test -z "$ac_cv_prog_OTOOL"; then
8237 ac_ct_OTOOL=$OTOOL
8238 # Extract the first word of "otool", so it can be a program name with args.
8239 set dummy otool; ac_word=$2
8240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8241 $as_echo_n "checking for $ac_word... " >&6; }
8242 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8243 $as_echo_n "(cached) " >&6
8244 else
8245 if test -n "$ac_ct_OTOOL"; then
8246 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8247 else
8248 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8249 for as_dir in $PATH
8251 IFS=$as_save_IFS
8252 test -z "$as_dir" && as_dir=.
8253 for ac_exec_ext in '' $ac_executable_extensions; do
8254 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8255 ac_cv_prog_ac_ct_OTOOL="otool"
8256 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8257 break 2
8259 done
8260 done
8261 IFS=$as_save_IFS
8265 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8266 if test -n "$ac_ct_OTOOL"; then
8267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8268 $as_echo "$ac_ct_OTOOL" >&6; }
8269 else
8270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8271 $as_echo "no" >&6; }
8274 if test "x$ac_ct_OTOOL" = x; then
8275 OTOOL=":"
8276 else
8277 case $cross_compiling:$ac_tool_warned in
8278 yes:)
8279 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8280 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8281 ac_tool_warned=yes ;;
8282 esac
8283 OTOOL=$ac_ct_OTOOL
8285 else
8286 OTOOL="$ac_cv_prog_OTOOL"
8289 if test -n "$ac_tool_prefix"; then
8290 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8291 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8293 $as_echo_n "checking for $ac_word... " >&6; }
8294 if ${ac_cv_prog_OTOOL64+:} false; then :
8295 $as_echo_n "(cached) " >&6
8296 else
8297 if test -n "$OTOOL64"; then
8298 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8299 else
8300 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8301 for as_dir in $PATH
8303 IFS=$as_save_IFS
8304 test -z "$as_dir" && as_dir=.
8305 for ac_exec_ext in '' $ac_executable_extensions; do
8306 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8307 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8308 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8309 break 2
8311 done
8312 done
8313 IFS=$as_save_IFS
8317 OTOOL64=$ac_cv_prog_OTOOL64
8318 if test -n "$OTOOL64"; then
8319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8320 $as_echo "$OTOOL64" >&6; }
8321 else
8322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8323 $as_echo "no" >&6; }
8328 if test -z "$ac_cv_prog_OTOOL64"; then
8329 ac_ct_OTOOL64=$OTOOL64
8330 # Extract the first word of "otool64", so it can be a program name with args.
8331 set dummy otool64; ac_word=$2
8332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8333 $as_echo_n "checking for $ac_word... " >&6; }
8334 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8335 $as_echo_n "(cached) " >&6
8336 else
8337 if test -n "$ac_ct_OTOOL64"; then
8338 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8339 else
8340 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8341 for as_dir in $PATH
8343 IFS=$as_save_IFS
8344 test -z "$as_dir" && as_dir=.
8345 for ac_exec_ext in '' $ac_executable_extensions; do
8346 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8347 ac_cv_prog_ac_ct_OTOOL64="otool64"
8348 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8349 break 2
8351 done
8352 done
8353 IFS=$as_save_IFS
8357 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8358 if test -n "$ac_ct_OTOOL64"; then
8359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8360 $as_echo "$ac_ct_OTOOL64" >&6; }
8361 else
8362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8363 $as_echo "no" >&6; }
8366 if test "x$ac_ct_OTOOL64" = x; then
8367 OTOOL64=":"
8368 else
8369 case $cross_compiling:$ac_tool_warned in
8370 yes:)
8371 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8372 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8373 ac_tool_warned=yes ;;
8374 esac
8375 OTOOL64=$ac_ct_OTOOL64
8377 else
8378 OTOOL64="$ac_cv_prog_OTOOL64"
8407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8408 $as_echo_n "checking for -single_module linker flag... " >&6; }
8409 if ${lt_cv_apple_cc_single_mod+:} false; then :
8410 $as_echo_n "(cached) " >&6
8411 else
8412 lt_cv_apple_cc_single_mod=no
8413 if test -z "${LT_MULTI_MODULE}"; then
8414 # By default we will add the -single_module flag. You can override
8415 # by either setting the environment variable LT_MULTI_MODULE
8416 # non-empty at configure time, or by adding -multi_module to the
8417 # link flags.
8418 rm -rf libconftest.dylib*
8419 echo "int foo(void){return 1;}" > conftest.c
8420 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8421 -dynamiclib -Wl,-single_module conftest.c" >&5
8422 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8423 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8424 _lt_result=$?
8425 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
8426 lt_cv_apple_cc_single_mod=yes
8427 else
8428 cat conftest.err >&5
8430 rm -rf libconftest.dylib*
8431 rm -f conftest.*
8434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8435 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8437 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8438 if ${lt_cv_ld_exported_symbols_list+:} false; then :
8439 $as_echo_n "(cached) " >&6
8440 else
8441 lt_cv_ld_exported_symbols_list=no
8442 save_LDFLAGS=$LDFLAGS
8443 echo "_main" > conftest.sym
8444 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8445 if test x$gcc_no_link = xyes; then
8446 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8449 /* end confdefs.h. */
8452 main ()
8456 return 0;
8458 _ACEOF
8459 if ac_fn_c_try_link "$LINENO"; then :
8460 lt_cv_ld_exported_symbols_list=yes
8461 else
8462 lt_cv_ld_exported_symbols_list=no
8464 rm -f core conftest.err conftest.$ac_objext \
8465 conftest$ac_exeext conftest.$ac_ext
8466 LDFLAGS="$save_LDFLAGS"
8469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8470 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8472 $as_echo_n "checking for -force_load linker flag... " >&6; }
8473 if ${lt_cv_ld_force_load+:} false; then :
8474 $as_echo_n "(cached) " >&6
8475 else
8476 lt_cv_ld_force_load=no
8477 cat > conftest.c << _LT_EOF
8478 int forced_loaded() { return 2;}
8479 _LT_EOF
8480 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8481 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8482 echo "$AR cru libconftest.a conftest.o" >&5
8483 $AR cru libconftest.a conftest.o 2>&5
8484 cat > conftest.c << _LT_EOF
8485 int main() { return 0;}
8486 _LT_EOF
8487 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8488 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8489 _lt_result=$?
8490 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
8491 lt_cv_ld_force_load=yes
8492 else
8493 cat conftest.err >&5
8495 rm -f conftest.err libconftest.a conftest conftest.c
8496 rm -rf conftest.dSYM
8499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8500 $as_echo "$lt_cv_ld_force_load" >&6; }
8501 # Allow for Darwin 4-7 (macOS 10.0-10.3) although these are not expect to
8502 # build without first building modern cctools / linker.
8503 case $host_cpu-$host_os in
8504 *-rhapsody* | *-darwin1.[012])
8505 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8506 *-darwin1.*)
8507 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8508 *-darwin*)
8509 # darwin 5.x (macOS 10.1) onwards we only need to adjust when the
8510 # deployment target is forced to an earlier version.
8511 case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host in
8512 UNSET,*-darwin[89]*|UNSET,*-darwin[12][0123456789]*)
8514 10.[012][,.]*)
8515 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8519 esac
8521 esac
8522 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8523 _lt_dar_single_mod='$single_module'
8525 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8526 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8527 else
8528 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8530 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8531 _lt_dsymutil='~$DSYMUTIL $lib || :'
8532 else
8533 _lt_dsymutil=
8536 esac
8538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
8539 $as_echo_n "checking for ANSI C header files... " >&6; }
8540 if ${ac_cv_header_stdc+:} false; then :
8541 $as_echo_n "(cached) " >&6
8542 else
8543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8544 /* end confdefs.h. */
8545 #include <stdlib.h>
8546 #include <stdarg.h>
8547 #include <string.h>
8548 #include <float.h>
8551 main ()
8555 return 0;
8557 _ACEOF
8558 if ac_fn_c_try_compile "$LINENO"; then :
8559 ac_cv_header_stdc=yes
8560 else
8561 ac_cv_header_stdc=no
8563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8565 if test $ac_cv_header_stdc = yes; then
8566 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8568 /* end confdefs.h. */
8569 #include <string.h>
8571 _ACEOF
8572 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8573 $EGREP "memchr" >/dev/null 2>&1; then :
8575 else
8576 ac_cv_header_stdc=no
8578 rm -f conftest*
8582 if test $ac_cv_header_stdc = yes; then
8583 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8585 /* end confdefs.h. */
8586 #include <stdlib.h>
8588 _ACEOF
8589 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8590 $EGREP "free" >/dev/null 2>&1; then :
8592 else
8593 ac_cv_header_stdc=no
8595 rm -f conftest*
8599 if test $ac_cv_header_stdc = yes; then
8600 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8601 if test "$cross_compiling" = yes; then :
8603 else
8604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8605 /* end confdefs.h. */
8606 #include <ctype.h>
8607 #include <stdlib.h>
8608 #if ((' ' & 0x0FF) == 0x020)
8609 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8610 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8611 #else
8612 # define ISLOWER(c) \
8613 (('a' <= (c) && (c) <= 'i') \
8614 || ('j' <= (c) && (c) <= 'r') \
8615 || ('s' <= (c) && (c) <= 'z'))
8616 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8617 #endif
8619 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8621 main ()
8623 int i;
8624 for (i = 0; i < 256; i++)
8625 if (XOR (islower (i), ISLOWER (i))
8626 || toupper (i) != TOUPPER (i))
8627 return 2;
8628 return 0;
8630 _ACEOF
8631 if ac_fn_c_try_run "$LINENO"; then :
8633 else
8634 ac_cv_header_stdc=no
8636 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8637 conftest.$ac_objext conftest.beam conftest.$ac_ext
8642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8643 $as_echo "$ac_cv_header_stdc" >&6; }
8644 if test $ac_cv_header_stdc = yes; then
8646 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8650 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8651 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8652 inttypes.h stdint.h unistd.h
8653 do :
8654 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8655 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8657 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8658 cat >>confdefs.h <<_ACEOF
8659 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8660 _ACEOF
8664 done
8667 for ac_header in dlfcn.h
8668 do :
8669 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8671 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8672 cat >>confdefs.h <<_ACEOF
8673 #define HAVE_DLFCN_H 1
8674 _ACEOF
8678 done
8685 # Set options
8690 enable_win32_dll=no
8693 # Check whether --enable-shared was given.
8694 if test "${enable_shared+set}" = set; then :
8695 enableval=$enable_shared; p=${PACKAGE-default}
8696 case $enableval in
8697 yes) enable_shared=yes ;;
8698 no) enable_shared=no ;;
8700 enable_shared=no
8701 # Look at the argument we got. We use all the common list separators.
8702 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8703 for pkg in $enableval; do
8704 IFS="$lt_save_ifs"
8705 if test "X$pkg" = "X$p"; then
8706 enable_shared=yes
8708 done
8709 IFS="$lt_save_ifs"
8711 esac
8712 else
8713 enable_shared=yes
8724 # Check whether --enable-static was given.
8725 if test "${enable_static+set}" = set; then :
8726 enableval=$enable_static; p=${PACKAGE-default}
8727 case $enableval in
8728 yes) enable_static=yes ;;
8729 no) enable_static=no ;;
8731 enable_static=no
8732 # Look at the argument we got. We use all the common list separators.
8733 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8734 for pkg in $enableval; do
8735 IFS="$lt_save_ifs"
8736 if test "X$pkg" = "X$p"; then
8737 enable_static=yes
8739 done
8740 IFS="$lt_save_ifs"
8742 esac
8743 else
8744 enable_static=yes
8756 # Check whether --with-pic was given.
8757 if test "${with_pic+set}" = set; then :
8758 withval=$with_pic; pic_mode="$withval"
8759 else
8760 pic_mode=default
8764 test -z "$pic_mode" && pic_mode=default
8772 # Check whether --enable-fast-install was given.
8773 if test "${enable_fast_install+set}" = set; then :
8774 enableval=$enable_fast_install; p=${PACKAGE-default}
8775 case $enableval in
8776 yes) enable_fast_install=yes ;;
8777 no) enable_fast_install=no ;;
8779 enable_fast_install=no
8780 # Look at the argument we got. We use all the common list separators.
8781 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8782 for pkg in $enableval; do
8783 IFS="$lt_save_ifs"
8784 if test "X$pkg" = "X$p"; then
8785 enable_fast_install=yes
8787 done
8788 IFS="$lt_save_ifs"
8790 esac
8791 else
8792 enable_fast_install=yes
8805 # This can be used to rebuild libtool when needed
8806 LIBTOOL_DEPS="$ltmain"
8808 # Always use our own libtool.
8809 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8836 test -z "$LN_S" && LN_S="ln -s"
8851 if test -n "${ZSH_VERSION+set}" ; then
8852 setopt NO_GLOB_SUBST
8855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8856 $as_echo_n "checking for objdir... " >&6; }
8857 if ${lt_cv_objdir+:} false; then :
8858 $as_echo_n "(cached) " >&6
8859 else
8860 rm -f .libs 2>/dev/null
8861 mkdir .libs 2>/dev/null
8862 if test -d .libs; then
8863 lt_cv_objdir=.libs
8864 else
8865 # MS-DOS does not allow filenames that begin with a dot.
8866 lt_cv_objdir=_libs
8868 rmdir .libs 2>/dev/null
8870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8871 $as_echo "$lt_cv_objdir" >&6; }
8872 objdir=$lt_cv_objdir
8878 cat >>confdefs.h <<_ACEOF
8879 #define LT_OBJDIR "$lt_cv_objdir/"
8880 _ACEOF
8885 case $host_os in
8886 aix3*)
8887 # AIX sometimes has problems with the GCC collect2 program. For some
8888 # reason, if we set the COLLECT_NAMES environment variable, the problems
8889 # vanish in a puff of smoke.
8890 if test "X${COLLECT_NAMES+set}" != Xset; then
8891 COLLECT_NAMES=
8892 export COLLECT_NAMES
8895 esac
8897 # Global variables:
8898 ofile=libtool
8899 can_build_shared=yes
8901 # All known linkers require a `.a' archive for static linking (except MSVC,
8902 # which needs '.lib').
8903 libext=a
8905 with_gnu_ld="$lt_cv_prog_gnu_ld"
8907 old_CC="$CC"
8908 old_CFLAGS="$CFLAGS"
8910 # Set sane defaults for various variables
8911 test -z "$CC" && CC=cc
8912 test -z "$LTCC" && LTCC=$CC
8913 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8914 test -z "$LD" && LD=ld
8915 test -z "$ac_objext" && ac_objext=o
8917 for cc_temp in $compiler""; do
8918 case $cc_temp in
8919 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8920 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8921 \-*) ;;
8922 *) break;;
8923 esac
8924 done
8925 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8928 # Only perform the check for file, if the check method requires it
8929 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8930 case $deplibs_check_method in
8931 file_magic*)
8932 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8934 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8935 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8936 $as_echo_n "(cached) " >&6
8937 else
8938 case $MAGIC_CMD in
8939 [\\/*] | ?:[\\/]*)
8940 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8943 lt_save_MAGIC_CMD="$MAGIC_CMD"
8944 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8945 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8946 for ac_dir in $ac_dummy; do
8947 IFS="$lt_save_ifs"
8948 test -z "$ac_dir" && ac_dir=.
8949 if test -f $ac_dir/${ac_tool_prefix}file; then
8950 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8951 if test -n "$file_magic_test_file"; then
8952 case $deplibs_check_method in
8953 "file_magic "*)
8954 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8955 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8956 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8957 $EGREP "$file_magic_regex" > /dev/null; then
8959 else
8960 cat <<_LT_EOF 1>&2
8962 *** Warning: the command libtool uses to detect shared libraries,
8963 *** $file_magic_cmd, produces output that libtool cannot recognize.
8964 *** The result is that libtool may fail to recognize shared libraries
8965 *** as such. This will affect the creation of libtool libraries that
8966 *** depend on shared libraries, but programs linked with such libtool
8967 *** libraries will work regardless of this problem. Nevertheless, you
8968 *** may want to report the problem to your system manager and/or to
8969 *** bug-libtool@gnu.org
8971 _LT_EOF
8972 fi ;;
8973 esac
8975 break
8977 done
8978 IFS="$lt_save_ifs"
8979 MAGIC_CMD="$lt_save_MAGIC_CMD"
8981 esac
8984 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8985 if test -n "$MAGIC_CMD"; then
8986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8987 $as_echo "$MAGIC_CMD" >&6; }
8988 else
8989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8990 $as_echo "no" >&6; }
8997 if test -z "$lt_cv_path_MAGIC_CMD"; then
8998 if test -n "$ac_tool_prefix"; then
8999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9000 $as_echo_n "checking for file... " >&6; }
9001 if ${lt_cv_path_MAGIC_CMD+:} false; then :
9002 $as_echo_n "(cached) " >&6
9003 else
9004 case $MAGIC_CMD in
9005 [\\/*] | ?:[\\/]*)
9006 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9009 lt_save_MAGIC_CMD="$MAGIC_CMD"
9010 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9011 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9012 for ac_dir in $ac_dummy; do
9013 IFS="$lt_save_ifs"
9014 test -z "$ac_dir" && ac_dir=.
9015 if test -f $ac_dir/file; then
9016 lt_cv_path_MAGIC_CMD="$ac_dir/file"
9017 if test -n "$file_magic_test_file"; then
9018 case $deplibs_check_method in
9019 "file_magic "*)
9020 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9021 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9022 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9023 $EGREP "$file_magic_regex" > /dev/null; then
9025 else
9026 cat <<_LT_EOF 1>&2
9028 *** Warning: the command libtool uses to detect shared libraries,
9029 *** $file_magic_cmd, produces output that libtool cannot recognize.
9030 *** The result is that libtool may fail to recognize shared libraries
9031 *** as such. This will affect the creation of libtool libraries that
9032 *** depend on shared libraries, but programs linked with such libtool
9033 *** libraries will work regardless of this problem. Nevertheless, you
9034 *** may want to report the problem to your system manager and/or to
9035 *** bug-libtool@gnu.org
9037 _LT_EOF
9038 fi ;;
9039 esac
9041 break
9043 done
9044 IFS="$lt_save_ifs"
9045 MAGIC_CMD="$lt_save_MAGIC_CMD"
9047 esac
9050 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9051 if test -n "$MAGIC_CMD"; then
9052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9053 $as_echo "$MAGIC_CMD" >&6; }
9054 else
9055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9056 $as_echo "no" >&6; }
9060 else
9061 MAGIC_CMD=:
9067 esac
9069 # Use C for the default configuration in the libtool script
9071 lt_save_CC="$CC"
9072 ac_ext=c
9073 ac_cpp='$CPP $CPPFLAGS'
9074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9079 # Source file extension for C test sources.
9080 ac_ext=c
9082 # Object file extension for compiled C test sources.
9083 objext=o
9084 objext=$objext
9086 # Code to be used in simple compile tests
9087 lt_simple_compile_test_code="int some_variable = 0;"
9089 # Code to be used in simple link tests
9090 lt_simple_link_test_code='int main(){return(0);}'
9098 # If no C compiler was specified, use CC.
9099 LTCC=${LTCC-"$CC"}
9101 # If no C compiler flags were specified, use CFLAGS.
9102 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9104 # Allow CC to be a program name with arguments.
9105 compiler=$CC
9107 # Save the default compiler, since it gets overwritten when the other
9108 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9109 compiler_DEFAULT=$CC
9111 # save warnings/boilerplate of simple test code
9112 ac_outfile=conftest.$ac_objext
9113 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9114 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9115 _lt_compiler_boilerplate=`cat conftest.err`
9116 $RM conftest*
9118 ac_outfile=conftest.$ac_objext
9119 echo "$lt_simple_link_test_code" >conftest.$ac_ext
9120 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9121 _lt_linker_boilerplate=`cat conftest.err`
9122 $RM -r conftest*
9125 ## CAVEAT EMPTOR:
9126 ## There is no encapsulation within the following macros, do not change
9127 ## the running order or otherwise move them around unless you know exactly
9128 ## what you are doing...
9129 if test -n "$compiler"; then
9131 lt_prog_compiler_no_builtin_flag=
9133 if test "$GCC" = yes; then
9134 case $cc_basename in
9135 nvcc*)
9136 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9138 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9139 esac
9141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9142 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9143 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
9144 $as_echo_n "(cached) " >&6
9145 else
9146 lt_cv_prog_compiler_rtti_exceptions=no
9147 ac_outfile=conftest.$ac_objext
9148 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9149 lt_compiler_flag="-fno-rtti -fno-exceptions"
9150 # Insert the option either (1) after the last *FLAGS variable, or
9151 # (2) before a word containing "conftest.", or (3) at the end.
9152 # Note that $ac_compile itself does not contain backslashes and begins
9153 # with a dollar sign (not a hyphen), so the echo should work correctly.
9154 # The option is referenced via a variable to avoid confusing sed.
9155 lt_compile=`echo "$ac_compile" | $SED \
9156 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9157 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9158 -e 's:$: $lt_compiler_flag:'`
9159 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9160 (eval "$lt_compile" 2>conftest.err)
9161 ac_status=$?
9162 cat conftest.err >&5
9163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9164 if (exit $ac_status) && test -s "$ac_outfile"; then
9165 # The compiler can only warn and ignore the option if not recognized
9166 # So say no if there are warnings other than the usual output.
9167 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9168 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9169 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9170 lt_cv_prog_compiler_rtti_exceptions=yes
9173 $RM conftest*
9176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9177 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9179 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9180 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9181 else
9192 lt_prog_compiler_wl=
9193 lt_prog_compiler_pic=
9194 lt_prog_compiler_static=
9196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9197 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9199 if test "$GCC" = yes; then
9200 lt_prog_compiler_wl='-Wl,'
9201 lt_prog_compiler_static='-static'
9203 case $host_os in
9204 aix*)
9205 # All AIX code is PIC.
9206 if test "$host_cpu" = ia64; then
9207 # AIX 5 now supports IA64 processor
9208 lt_prog_compiler_static='-Bstatic'
9210 lt_prog_compiler_pic='-fPIC'
9213 amigaos*)
9214 case $host_cpu in
9215 powerpc)
9216 # see comment about AmigaOS4 .so support
9217 lt_prog_compiler_pic='-fPIC'
9219 m68k)
9220 # FIXME: we need at least 68020 code to build shared libraries, but
9221 # adding the `-m68020' flag to GCC prevents building anything better,
9222 # like `-m68040'.
9223 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9225 esac
9228 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9229 # PIC is the default for these OSes.
9232 mingw* | cygwin* | pw32* | os2* | cegcc*)
9233 # This hack is so that the source file can tell whether it is being
9234 # built for inclusion in a dll (and should export symbols for example).
9235 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9236 # (--disable-auto-import) libraries
9237 lt_prog_compiler_pic='-DDLL_EXPORT'
9240 darwin* | rhapsody*)
9241 # PIC is the default on this platform
9242 # Common symbols not allowed in MH_DYLIB files
9243 lt_prog_compiler_pic='-fno-common'
9246 haiku*)
9247 # PIC is the default for Haiku.
9248 # The "-static" flag exists, but is broken.
9249 lt_prog_compiler_static=
9252 hpux*)
9253 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9254 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9255 # sets the default TLS model and affects inlining.
9256 case $host_cpu in
9257 hppa*64*)
9258 # +Z the default
9261 lt_prog_compiler_pic='-fPIC'
9263 esac
9266 interix[3-9]*)
9267 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9268 # Instead, we relocate shared libraries at runtime.
9271 msdosdjgpp*)
9272 # Just because we use GCC doesn't mean we suddenly get shared libraries
9273 # on systems that don't support them.
9274 lt_prog_compiler_can_build_shared=no
9275 enable_shared=no
9278 *nto* | *qnx*)
9279 # QNX uses GNU C++, but need to define -shared option too, otherwise
9280 # it will coredump.
9281 lt_prog_compiler_pic='-fPIC -shared'
9284 sysv4*MP*)
9285 if test -d /usr/nec; then
9286 lt_prog_compiler_pic=-Kconform_pic
9291 lt_prog_compiler_pic='-fPIC'
9293 esac
9295 case $cc_basename in
9296 nvcc*) # Cuda Compiler Driver 2.2
9297 lt_prog_compiler_wl='-Xlinker '
9298 lt_prog_compiler_pic='-Xcompiler -fPIC'
9300 esac
9301 else
9302 # PORTME Check for flag to pass linker flags through the system compiler.
9303 case $host_os in
9304 aix*)
9305 lt_prog_compiler_wl='-Wl,'
9306 if test "$host_cpu" = ia64; then
9307 # AIX 5 now supports IA64 processor
9308 lt_prog_compiler_static='-Bstatic'
9309 else
9310 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9314 mingw* | cygwin* | pw32* | os2* | cegcc*)
9315 # This hack is so that the source file can tell whether it is being
9316 # built for inclusion in a dll (and should export symbols for example).
9317 lt_prog_compiler_pic='-DDLL_EXPORT'
9320 hpux9* | hpux10* | hpux11*)
9321 lt_prog_compiler_wl='-Wl,'
9322 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9323 # not for PA HP-UX.
9324 case $host_cpu in
9325 hppa*64*|ia64*)
9326 # +Z the default
9329 lt_prog_compiler_pic='+Z'
9331 esac
9332 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9333 lt_prog_compiler_static='${wl}-a ${wl}archive'
9336 irix5* | irix6* | nonstopux*)
9337 lt_prog_compiler_wl='-Wl,'
9338 # PIC (with -KPIC) is the default.
9339 lt_prog_compiler_static='-non_shared'
9342 linux* | k*bsd*-gnu | kopensolaris*-gnu)
9343 case $cc_basename in
9344 # old Intel for x86_64 which still supported -KPIC.
9345 ecc*)
9346 lt_prog_compiler_wl='-Wl,'
9347 lt_prog_compiler_pic='-KPIC'
9348 lt_prog_compiler_static='-static'
9350 # icc used to be incompatible with GCC.
9351 # ICC 10 doesn't accept -KPIC any more.
9352 icc* | ifort*)
9353 lt_prog_compiler_wl='-Wl,'
9354 lt_prog_compiler_pic='-fPIC'
9355 lt_prog_compiler_static='-static'
9357 # Lahey Fortran 8.1.
9358 lf95*)
9359 lt_prog_compiler_wl='-Wl,'
9360 lt_prog_compiler_pic='--shared'
9361 lt_prog_compiler_static='--static'
9363 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9364 # Portland Group compilers (*not* the Pentium gcc compiler,
9365 # which looks to be a dead project)
9366 lt_prog_compiler_wl='-Wl,'
9367 lt_prog_compiler_pic='-fpic'
9368 lt_prog_compiler_static='-Bstatic'
9370 ccc*)
9371 lt_prog_compiler_wl='-Wl,'
9372 # All Alpha code is PIC.
9373 lt_prog_compiler_static='-non_shared'
9375 xl* | bgxl* | bgf* | mpixl*)
9376 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9377 lt_prog_compiler_wl='-Wl,'
9378 lt_prog_compiler_pic='-qpic'
9379 lt_prog_compiler_static='-qstaticlink'
9382 case `$CC -V 2>&1 | sed 5q` in
9383 *Sun\ F* | *Sun*Fortran*)
9384 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9385 lt_prog_compiler_pic='-KPIC'
9386 lt_prog_compiler_static='-Bstatic'
9387 lt_prog_compiler_wl=''
9389 *Sun\ C*)
9390 # Sun C 5.9
9391 lt_prog_compiler_pic='-KPIC'
9392 lt_prog_compiler_static='-Bstatic'
9393 lt_prog_compiler_wl='-Wl,'
9395 esac
9397 esac
9400 newsos6)
9401 lt_prog_compiler_pic='-KPIC'
9402 lt_prog_compiler_static='-Bstatic'
9405 *nto* | *qnx*)
9406 # QNX uses GNU C++, but need to define -shared option too, otherwise
9407 # it will coredump.
9408 lt_prog_compiler_pic='-fPIC -shared'
9411 osf3* | osf4* | osf5*)
9412 lt_prog_compiler_wl='-Wl,'
9413 # All OSF/1 code is PIC.
9414 lt_prog_compiler_static='-non_shared'
9417 rdos*)
9418 lt_prog_compiler_static='-non_shared'
9421 solaris*)
9422 lt_prog_compiler_pic='-KPIC'
9423 lt_prog_compiler_static='-Bstatic'
9424 case $cc_basename in
9425 f77* | f90* | f95*)
9426 lt_prog_compiler_wl='-Qoption ld ';;
9428 lt_prog_compiler_wl='-Wl,';;
9429 esac
9432 sunos4*)
9433 lt_prog_compiler_wl='-Qoption ld '
9434 lt_prog_compiler_pic='-PIC'
9435 lt_prog_compiler_static='-Bstatic'
9438 sysv4 | sysv4.2uw2* | sysv4.3*)
9439 lt_prog_compiler_wl='-Wl,'
9440 lt_prog_compiler_pic='-KPIC'
9441 lt_prog_compiler_static='-Bstatic'
9444 sysv4*MP*)
9445 if test -d /usr/nec ;then
9446 lt_prog_compiler_pic='-Kconform_pic'
9447 lt_prog_compiler_static='-Bstatic'
9451 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9452 lt_prog_compiler_wl='-Wl,'
9453 lt_prog_compiler_pic='-KPIC'
9454 lt_prog_compiler_static='-Bstatic'
9457 unicos*)
9458 lt_prog_compiler_wl='-Wl,'
9459 lt_prog_compiler_can_build_shared=no
9462 uts4*)
9463 lt_prog_compiler_pic='-pic'
9464 lt_prog_compiler_static='-Bstatic'
9468 lt_prog_compiler_can_build_shared=no
9470 esac
9473 case $host_os in
9474 # For platforms which do not support PIC, -DPIC is meaningless:
9475 *djgpp*)
9476 lt_prog_compiler_pic=
9479 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9481 esac
9482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
9483 $as_echo "$lt_prog_compiler_pic" >&6; }
9491 # Check to make sure the PIC flag actually works.
9493 if test -n "$lt_prog_compiler_pic"; then
9494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9495 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9496 if ${lt_cv_prog_compiler_pic_works+:} false; then :
9497 $as_echo_n "(cached) " >&6
9498 else
9499 lt_cv_prog_compiler_pic_works=no
9500 ac_outfile=conftest.$ac_objext
9501 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9502 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9503 # Insert the option either (1) after the last *FLAGS variable, or
9504 # (2) before a word containing "conftest.", or (3) at the end.
9505 # Note that $ac_compile itself does not contain backslashes and begins
9506 # with a dollar sign (not a hyphen), so the echo should work correctly.
9507 # The option is referenced via a variable to avoid confusing sed.
9508 lt_compile=`echo "$ac_compile" | $SED \
9509 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9510 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9511 -e 's:$: $lt_compiler_flag:'`
9512 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9513 (eval "$lt_compile" 2>conftest.err)
9514 ac_status=$?
9515 cat conftest.err >&5
9516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9517 if (exit $ac_status) && test -s "$ac_outfile"; then
9518 # The compiler can only warn and ignore the option if not recognized
9519 # So say no if there are warnings other than the usual output.
9520 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9521 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9522 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9523 lt_cv_prog_compiler_pic_works=yes
9526 $RM conftest*
9529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9530 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9532 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9533 case $lt_prog_compiler_pic in
9534 "" | " "*) ;;
9535 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9536 esac
9537 else
9538 lt_prog_compiler_pic=
9539 lt_prog_compiler_can_build_shared=no
9550 # Check to make sure the static flag actually works.
9552 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9554 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9555 if ${lt_cv_prog_compiler_static_works+:} false; then :
9556 $as_echo_n "(cached) " >&6
9557 else
9558 lt_cv_prog_compiler_static_works=no
9559 save_LDFLAGS="$LDFLAGS"
9560 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9561 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9562 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9563 # The linker can only warn and ignore the option if not recognized
9564 # So say no if there are warnings
9565 if test -s conftest.err; then
9566 # Append any errors to the config.log.
9567 cat conftest.err 1>&5
9568 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9569 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9570 if diff conftest.exp conftest.er2 >/dev/null; then
9571 lt_cv_prog_compiler_static_works=yes
9573 else
9574 lt_cv_prog_compiler_static_works=yes
9577 $RM -r conftest*
9578 LDFLAGS="$save_LDFLAGS"
9581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9582 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9584 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9586 else
9587 lt_prog_compiler_static=
9596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9597 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9598 if ${lt_cv_prog_compiler_c_o+:} false; then :
9599 $as_echo_n "(cached) " >&6
9600 else
9601 lt_cv_prog_compiler_c_o=no
9602 $RM -r conftest 2>/dev/null
9603 mkdir conftest
9604 cd conftest
9605 mkdir out
9606 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9608 lt_compiler_flag="-o out/conftest2.$ac_objext"
9609 # Insert the option either (1) after the last *FLAGS variable, or
9610 # (2) before a word containing "conftest.", or (3) at the end.
9611 # Note that $ac_compile itself does not contain backslashes and begins
9612 # with a dollar sign (not a hyphen), so the echo should work correctly.
9613 lt_compile=`echo "$ac_compile" | $SED \
9614 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9615 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9616 -e 's:$: $lt_compiler_flag:'`
9617 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9618 (eval "$lt_compile" 2>out/conftest.err)
9619 ac_status=$?
9620 cat out/conftest.err >&5
9621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9622 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9623 then
9624 # The compiler can only warn and ignore the option if not recognized
9625 # So say no if there are warnings
9626 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9627 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9628 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9629 lt_cv_prog_compiler_c_o=yes
9632 chmod u+w . 2>&5
9633 $RM conftest*
9634 # SGI C++ compiler will create directory out/ii_files/ for
9635 # template instantiation
9636 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9637 $RM out/* && rmdir out
9638 cd ..
9639 $RM -r conftest
9640 $RM conftest*
9643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9644 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9652 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9653 if ${lt_cv_prog_compiler_c_o+:} false; then :
9654 $as_echo_n "(cached) " >&6
9655 else
9656 lt_cv_prog_compiler_c_o=no
9657 $RM -r conftest 2>/dev/null
9658 mkdir conftest
9659 cd conftest
9660 mkdir out
9661 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9663 lt_compiler_flag="-o out/conftest2.$ac_objext"
9664 # Insert the option either (1) after the last *FLAGS variable, or
9665 # (2) before a word containing "conftest.", or (3) at the end.
9666 # Note that $ac_compile itself does not contain backslashes and begins
9667 # with a dollar sign (not a hyphen), so the echo should work correctly.
9668 lt_compile=`echo "$ac_compile" | $SED \
9669 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9670 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9671 -e 's:$: $lt_compiler_flag:'`
9672 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9673 (eval "$lt_compile" 2>out/conftest.err)
9674 ac_status=$?
9675 cat out/conftest.err >&5
9676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9677 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9678 then
9679 # The compiler can only warn and ignore the option if not recognized
9680 # So say no if there are warnings
9681 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9682 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9683 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9684 lt_cv_prog_compiler_c_o=yes
9687 chmod u+w . 2>&5
9688 $RM conftest*
9689 # SGI C++ compiler will create directory out/ii_files/ for
9690 # template instantiation
9691 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9692 $RM out/* && rmdir out
9693 cd ..
9694 $RM -r conftest
9695 $RM conftest*
9698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9699 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9704 hard_links="nottested"
9705 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9706 # do not overwrite the value of need_locks provided by the user
9707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9708 $as_echo_n "checking if we can lock with hard links... " >&6; }
9709 hard_links=yes
9710 $RM conftest*
9711 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9712 touch conftest.a
9713 ln conftest.a conftest.b 2>&5 || hard_links=no
9714 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9716 $as_echo "$hard_links" >&6; }
9717 if test "$hard_links" = no; then
9718 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9719 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9720 need_locks=warn
9722 else
9723 need_locks=no
9731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9732 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9734 runpath_var=
9735 allow_undefined_flag=
9736 always_export_symbols=no
9737 archive_cmds=
9738 archive_expsym_cmds=
9739 compiler_needs_object=no
9740 enable_shared_with_static_runtimes=no
9741 export_dynamic_flag_spec=
9742 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9743 hardcode_automatic=no
9744 hardcode_direct=no
9745 hardcode_direct_absolute=no
9746 hardcode_libdir_flag_spec=
9747 hardcode_libdir_flag_spec_ld=
9748 hardcode_libdir_separator=
9749 hardcode_minus_L=no
9750 hardcode_shlibpath_var=unsupported
9751 inherit_rpath=no
9752 link_all_deplibs=unknown
9753 module_cmds=
9754 module_expsym_cmds=
9755 old_archive_from_new_cmds=
9756 old_archive_from_expsyms_cmds=
9757 thread_safe_flag_spec=
9758 whole_archive_flag_spec=
9759 # include_expsyms should be a list of space-separated symbols to be *always*
9760 # included in the symbol list
9761 include_expsyms=
9762 # exclude_expsyms can be an extended regexp of symbols to exclude
9763 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9764 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9765 # as well as any symbol that contains `d'.
9766 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9767 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9768 # platforms (ab)use it in PIC code, but their linkers get confused if
9769 # the symbol is explicitly referenced. Since portable code cannot
9770 # rely on this symbol name, it's probably fine to never include it in
9771 # preloaded symbol tables.
9772 # Exclude shared library initialization/finalization symbols.
9773 extract_expsyms_cmds=
9775 case $host_os in
9776 cygwin* | mingw* | pw32* | cegcc*)
9777 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9778 # When not using gcc, we currently assume that we are using
9779 # Microsoft Visual C++.
9780 if test "$GCC" != yes; then
9781 with_gnu_ld=no
9784 interix*)
9785 # we just hope/assume this is gcc and not c89 (= MSVC++)
9786 with_gnu_ld=yes
9788 openbsd*)
9789 with_gnu_ld=no
9791 esac
9793 ld_shlibs=yes
9795 # On some targets, GNU ld is compatible enough with the native linker
9796 # that we're better off using the native interface for both.
9797 lt_use_gnu_ld_interface=no
9798 if test "$with_gnu_ld" = yes; then
9799 case $host_os in
9800 aix*)
9801 # The AIX port of GNU ld has always aspired to compatibility
9802 # with the native linker. However, as the warning in the GNU ld
9803 # block says, versions before 2.19.5* couldn't really create working
9804 # shared libraries, regardless of the interface used.
9805 case `$LD -v 2>&1` in
9806 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9807 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9808 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9810 lt_use_gnu_ld_interface=yes
9812 esac
9815 lt_use_gnu_ld_interface=yes
9817 esac
9820 if test "$lt_use_gnu_ld_interface" = yes; then
9821 # If archive_cmds runs LD, not CC, wlarc should be empty
9822 wlarc='${wl}'
9824 # Set some defaults for GNU ld with shared library support. These
9825 # are reset later if shared libraries are not supported. Putting them
9826 # here allows them to be overridden if necessary.
9827 runpath_var=LD_RUN_PATH
9828 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9829 export_dynamic_flag_spec='${wl}--export-dynamic'
9830 # ancient GNU ld didn't support --whole-archive et. al.
9831 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9832 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9833 else
9834 whole_archive_flag_spec=
9836 supports_anon_versioning=no
9837 case `$LD -v 2>&1` in
9838 *GNU\ gold*) supports_anon_versioning=yes ;;
9839 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9840 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9841 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9842 *\ 2.11.*) ;; # other 2.11 versions
9843 *) supports_anon_versioning=yes ;;
9844 esac
9846 # See if GNU ld supports shared libraries.
9847 case $host_os in
9848 aix[3-9]*)
9849 # On AIX/PPC, the GNU linker is very broken
9850 if test "$host_cpu" != ia64; then
9851 ld_shlibs=no
9852 cat <<_LT_EOF 1>&2
9854 *** Warning: the GNU linker, at least up to release 2.19, is reported
9855 *** to be unable to reliably create shared libraries on AIX.
9856 *** Therefore, libtool is disabling shared libraries support. If you
9857 *** really care for shared libraries, you may want to install binutils
9858 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9859 *** You will then need to restart the configuration process.
9861 _LT_EOF
9865 amigaos*)
9866 case $host_cpu in
9867 powerpc)
9868 # see comment about AmigaOS4 .so support
9869 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9870 archive_expsym_cmds=''
9872 m68k)
9873 archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
9874 hardcode_libdir_flag_spec='-L$libdir'
9875 hardcode_minus_L=yes
9877 esac
9880 beos*)
9881 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9882 allow_undefined_flag=unsupported
9883 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9884 # support --undefined. This deserves some investigation. FIXME
9885 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9886 else
9887 ld_shlibs=no
9891 cygwin* | mingw* | pw32* | cegcc*)
9892 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9893 # as there is no search path for DLLs.
9894 hardcode_libdir_flag_spec='-L$libdir'
9895 export_dynamic_flag_spec='${wl}--export-all-symbols'
9896 allow_undefined_flag=unsupported
9897 always_export_symbols=no
9898 enable_shared_with_static_runtimes=yes
9899 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9901 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9902 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9903 # If the export-symbols file already is a .def file (1st line
9904 # is EXPORTS), use it as is; otherwise, prepend...
9905 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9906 cp $export_symbols $output_objdir/$soname.def;
9907 else
9908 echo EXPORTS > $output_objdir/$soname.def;
9909 cat $export_symbols >> $output_objdir/$soname.def;
9911 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9912 else
9913 ld_shlibs=no
9917 haiku*)
9918 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9919 link_all_deplibs=yes
9922 interix[3-9]*)
9923 hardcode_direct=no
9924 hardcode_shlibpath_var=no
9925 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9926 export_dynamic_flag_spec='${wl}-E'
9927 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9928 # Instead, shared libraries are loaded at an image base (0x10000000 by
9929 # default) and relocated if they conflict, which is a slow very memory
9930 # consuming and fragmenting process. To avoid this, we pick a random,
9931 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9932 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9933 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9934 archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9937 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
9938 tmp_diet=no
9939 if test "$host_os" = linux-dietlibc; then
9940 case $cc_basename in
9941 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9942 esac
9944 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9945 && test "$tmp_diet" = no
9946 then
9947 tmp_addflag=' $pic_flag'
9948 tmp_sharedflag='-shared'
9949 case $cc_basename,$host_cpu in
9950 pgcc*) # Portland Group C compiler
9951 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9952 tmp_addflag=' $pic_flag'
9954 pgf77* | pgf90* | pgf95* | pgfortran*)
9955 # Portland Group f77 and f90 compilers
9956 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9957 tmp_addflag=' $pic_flag -Mnomain' ;;
9958 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9959 tmp_addflag=' -i_dynamic' ;;
9960 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9961 tmp_addflag=' -i_dynamic -nofor_main' ;;
9962 ifc* | ifort*) # Intel Fortran compiler
9963 tmp_addflag=' -nofor_main' ;;
9964 lf95*) # Lahey Fortran 8.1
9965 whole_archive_flag_spec=
9966 tmp_sharedflag='--shared' ;;
9967 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9968 tmp_sharedflag='-qmkshrobj'
9969 tmp_addflag= ;;
9970 nvcc*) # Cuda Compiler Driver 2.2
9971 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9972 compiler_needs_object=yes
9974 esac
9975 case `$CC -V 2>&1 | sed 5q` in
9976 *Sun\ C*) # Sun C 5.9
9977 whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9978 compiler_needs_object=yes
9979 tmp_sharedflag='-G' ;;
9980 *Sun\ F*) # Sun Fortran 8.3
9981 tmp_sharedflag='-G' ;;
9982 esac
9983 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9985 if test "x$supports_anon_versioning" = xyes; then
9986 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9987 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9988 echo "local: *; };" >> $output_objdir/$libname.ver~
9989 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9992 case $cc_basename in
9993 xlf* | bgf* | bgxlf* | mpixlf*)
9994 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9995 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9996 hardcode_libdir_flag_spec=
9997 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9998 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9999 if test "x$supports_anon_versioning" = xyes; then
10000 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10001 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10002 echo "local: *; };" >> $output_objdir/$libname.ver~
10003 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10006 esac
10007 else
10008 ld_shlibs=no
10012 netbsd*)
10013 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10014 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10015 wlarc=
10016 else
10017 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10018 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10022 solaris*)
10023 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
10024 ld_shlibs=no
10025 cat <<_LT_EOF 1>&2
10027 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10028 *** create shared libraries on Solaris systems. Therefore, libtool
10029 *** is disabling shared libraries support. We urge you to upgrade GNU
10030 *** binutils to release 2.9.1 or newer. Another option is to modify
10031 *** your PATH or compiler configuration so that the native linker is
10032 *** used, and then restart.
10034 _LT_EOF
10035 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10036 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10037 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10038 else
10039 ld_shlibs=no
10043 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
10044 case `$LD -v 2>&1` in
10045 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
10046 ld_shlibs=no
10047 cat <<_LT_EOF 1>&2
10049 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10050 *** reliably create shared libraries on SCO systems. Therefore, libtool
10051 *** is disabling shared libraries support. We urge you to upgrade GNU
10052 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10053 *** your PATH or compiler configuration so that the native linker is
10054 *** used, and then restart.
10056 _LT_EOF
10059 # For security reasons, it is highly recommended that you always
10060 # use absolute paths for naming shared libraries, and exclude the
10061 # DT_RUNPATH tag from executables and libraries. But doing so
10062 # requires that you compile everything twice, which is a pain.
10063 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10064 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10065 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10066 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10067 else
10068 ld_shlibs=no
10071 esac
10074 sunos4*)
10075 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10076 wlarc=
10077 hardcode_direct=yes
10078 hardcode_shlibpath_var=no
10082 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10083 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10084 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10085 else
10086 ld_shlibs=no
10089 esac
10091 if test "$ld_shlibs" = no; then
10092 runpath_var=
10093 hardcode_libdir_flag_spec=
10094 export_dynamic_flag_spec=
10095 whole_archive_flag_spec=
10097 else
10098 # PORTME fill in a description of your system's linker (not GNU ld)
10099 case $host_os in
10100 aix3*)
10101 allow_undefined_flag=unsupported
10102 always_export_symbols=yes
10103 archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
10104 # Note: this linker hardcodes the directories in LIBPATH if there
10105 # are no directories specified by -L.
10106 hardcode_minus_L=yes
10107 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10108 # Neither direct hardcoding nor static linking is supported with a
10109 # broken collect2.
10110 hardcode_direct=unsupported
10114 aix[4-9]*)
10115 if test "$host_cpu" = ia64; then
10116 # On IA64, the linker does run time linking by default, so we don't
10117 # have to do anything special.
10118 aix_use_runtimelinking=no
10119 exp_sym_flag='-Bexport'
10120 no_entry_flag=""
10121 else
10122 # If we're using GNU nm, then we don't want the "-C" option.
10123 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10124 # Also, AIX nm treats weak defined symbols like other global
10125 # defined symbols, whereas GNU nm marks them as "W".
10126 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10127 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
10128 else
10129 export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
10131 aix_use_runtimelinking=no
10133 # Test if we are trying to use run time linking or normal
10134 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10135 # need to do runtime linking.
10136 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10137 for ld_flag in $LDFLAGS; do
10138 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
10139 aix_use_runtimelinking=yes
10140 break
10142 done
10144 esac
10146 exp_sym_flag='-bexport'
10147 no_entry_flag='-bnoentry'
10150 # When large executables or shared objects are built, AIX ld can
10151 # have problems creating the table of contents. If linking a library
10152 # or program results in "error TOC overflow" add -mminimal-toc to
10153 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10154 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10156 archive_cmds=''
10157 hardcode_direct=yes
10158 hardcode_direct_absolute=yes
10159 hardcode_libdir_separator=':'
10160 link_all_deplibs=yes
10161 file_list_spec='${wl}-f,'
10163 if test "$GCC" = yes; then
10164 case $host_os in aix4.[012]|aix4.[012].*)
10165 # We only want to do this on AIX 4.2 and lower, the check
10166 # below for broken collect2 doesn't work under 4.3+
10167 collect2name=`${CC} -print-prog-name=collect2`
10168 if test -f "$collect2name" &&
10169 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10170 then
10171 # We have reworked collect2
10173 else
10174 # We have old collect2
10175 hardcode_direct=unsupported
10176 # It fails to find uninstalled libraries when the uninstalled
10177 # path is not listed in the libpath. Setting hardcode_minus_L
10178 # to unsupported forces relinking
10179 hardcode_minus_L=yes
10180 hardcode_libdir_flag_spec='-L$libdir'
10181 hardcode_libdir_separator=
10184 esac
10185 shared_flag='-shared'
10186 if test "$aix_use_runtimelinking" = yes; then
10187 shared_flag="$shared_flag "'${wl}-G'
10189 else
10190 # not using gcc
10191 if test "$host_cpu" = ia64; then
10192 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10193 # chokes on -Wl,-G. The following line is correct:
10194 shared_flag='-G'
10195 else
10196 if test "$aix_use_runtimelinking" = yes; then
10197 shared_flag='${wl}-G'
10198 else
10199 shared_flag='${wl}-bM:SRE'
10204 export_dynamic_flag_spec='${wl}-bexpall'
10205 # It seems that -bexpall does not export symbols beginning with
10206 # underscore (_), so it is better to generate a list of symbols to export.
10207 always_export_symbols=yes
10208 if test "$aix_use_runtimelinking" = yes; then
10209 # Warning - without using the other runtime loading flags (-brtl),
10210 # -berok will link without error, but may produce a broken library.
10211 allow_undefined_flag='-berok'
10212 # Determine the default libpath from the value encoded in an
10213 # empty executable.
10214 if test x$gcc_no_link = xyes; then
10215 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10218 /* end confdefs.h. */
10221 main ()
10225 return 0;
10227 _ACEOF
10228 if ac_fn_c_try_link "$LINENO"; then :
10230 lt_aix_libpath_sed='
10231 /Import File Strings/,/^$/ {
10232 /^0/ {
10233 s/^0 *\(.*\)$/\1/
10237 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10238 # Check for a 64-bit object if we didn't find anything.
10239 if test -z "$aix_libpath"; then
10240 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10243 rm -f core conftest.err conftest.$ac_objext \
10244 conftest$ac_exeext conftest.$ac_ext
10245 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10247 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10248 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
10249 else
10250 if test "$host_cpu" = ia64; then
10251 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
10252 allow_undefined_flag="-z nodefs"
10253 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
10254 else
10255 # Determine the default libpath from the value encoded in an
10256 # empty executable.
10257 if test x$gcc_no_link = xyes; then
10258 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10261 /* end confdefs.h. */
10264 main ()
10268 return 0;
10270 _ACEOF
10271 if ac_fn_c_try_link "$LINENO"; then :
10273 lt_aix_libpath_sed='
10274 /Import File Strings/,/^$/ {
10275 /^0/ {
10276 s/^0 *\(.*\)$/\1/
10280 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10281 # Check for a 64-bit object if we didn't find anything.
10282 if test -z "$aix_libpath"; then
10283 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10286 rm -f core conftest.err conftest.$ac_objext \
10287 conftest$ac_exeext conftest.$ac_ext
10288 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10290 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10291 # Warning - without using the other run time loading flags,
10292 # -berok will link without error, but may produce a broken library.
10293 no_undefined_flag=' ${wl}-bernotok'
10294 allow_undefined_flag=' ${wl}-berok'
10295 if test "$with_gnu_ld" = yes; then
10296 # We only use this code for GNU lds that support --whole-archive.
10297 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10298 else
10299 # Exported symbols can be pulled into shared objects from archives
10300 whole_archive_flag_spec='$convenience'
10302 archive_cmds_need_lc=yes
10303 # This is similar to how AIX traditionally builds its shared libraries.
10304 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
10309 amigaos*)
10310 case $host_cpu in
10311 powerpc)
10312 # see comment about AmigaOS4 .so support
10313 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10314 archive_expsym_cmds=''
10316 m68k)
10317 archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
10318 hardcode_libdir_flag_spec='-L$libdir'
10319 hardcode_minus_L=yes
10321 esac
10324 bsdi[45]*)
10325 export_dynamic_flag_spec=-rdynamic
10328 cygwin* | mingw* | pw32* | cegcc*)
10329 # When not using gcc, we currently assume that we are using
10330 # Microsoft Visual C++.
10331 # hardcode_libdir_flag_spec is actually meaningless, as there is
10332 # no search path for DLLs.
10333 hardcode_libdir_flag_spec=' '
10334 allow_undefined_flag=unsupported
10335 # Tell ltmain to make .lib files, not .a files.
10336 libext=lib
10337 # Tell ltmain to make .dll files, not .so files.
10338 shrext_cmds=".dll"
10339 # FIXME: Setting linknames here is a bad hack.
10340 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10341 # The linker will automatically build a .lib file if we build a DLL.
10342 old_archive_from_new_cmds='true'
10343 # FIXME: Should let the user specify the lib program.
10344 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10345 fix_srcfile_path='`cygpath -w "$srcfile"`'
10346 enable_shared_with_static_runtimes=yes
10349 darwin* | rhapsody*)
10352 archive_cmds_need_lc=no
10353 hardcode_direct=no
10354 hardcode_automatic=yes
10355 hardcode_shlibpath_var=unsupported
10356 if test "$lt_cv_ld_force_load" = "yes"; then
10357 whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
10358 else
10359 whole_archive_flag_spec=''
10361 link_all_deplibs=yes
10362 allow_undefined_flag="$_lt_dar_allow_undefined"
10363 case $cc_basename in
10364 ifort*) _lt_dar_can_shared=yes ;;
10365 *) _lt_dar_can_shared=$GCC ;;
10366 esac
10367 if test "$_lt_dar_can_shared" = "yes"; then
10368 output_verbose_link_cmd=func_echo_all
10369 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10370 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10371 archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
10372 module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
10374 else
10375 ld_shlibs=no
10380 dgux*)
10381 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10382 hardcode_libdir_flag_spec='-L$libdir'
10383 hardcode_shlibpath_var=no
10386 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10387 # support. Future versions do this automatically, but an explicit c++rt0.o
10388 # does not break anything, and helps significantly (at the cost of a little
10389 # extra space).
10390 freebsd2.2*)
10391 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10392 hardcode_libdir_flag_spec='-R$libdir'
10393 hardcode_direct=yes
10394 hardcode_shlibpath_var=no
10397 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10398 freebsd2.*)
10399 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10400 hardcode_direct=yes
10401 hardcode_minus_L=yes
10402 hardcode_shlibpath_var=no
10405 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10406 freebsd* | dragonfly*)
10407 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10408 hardcode_libdir_flag_spec='-R$libdir'
10409 hardcode_direct=yes
10410 hardcode_shlibpath_var=no
10413 hpux9*)
10414 if test "$GCC" = yes; then
10415 archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
10416 else
10417 archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
10419 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10420 hardcode_libdir_separator=:
10421 hardcode_direct=yes
10423 # hardcode_minus_L: Not really in the search PATH,
10424 # but as the default location of the library.
10425 hardcode_minus_L=yes
10426 export_dynamic_flag_spec='${wl}-E'
10429 hpux10*)
10430 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10431 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10432 else
10433 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10435 if test "$with_gnu_ld" = no; then
10436 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10437 hardcode_libdir_flag_spec_ld='+b $libdir'
10438 hardcode_libdir_separator=:
10439 hardcode_direct=yes
10440 hardcode_direct_absolute=yes
10441 export_dynamic_flag_spec='${wl}-E'
10442 # hardcode_minus_L: Not really in the search PATH,
10443 # but as the default location of the library.
10444 hardcode_minus_L=yes
10448 hpux11*)
10449 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10450 case $host_cpu in
10451 hppa*64*)
10452 archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10454 ia64*)
10455 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10458 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10460 esac
10461 else
10462 case $host_cpu in
10463 hppa*64*)
10464 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10466 ia64*)
10467 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10471 # Older versions of the 11.00 compiler do not understand -b yet
10472 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10474 $as_echo_n "checking if $CC understands -b... " >&6; }
10475 if ${lt_cv_prog_compiler__b+:} false; then :
10476 $as_echo_n "(cached) " >&6
10477 else
10478 lt_cv_prog_compiler__b=no
10479 save_LDFLAGS="$LDFLAGS"
10480 LDFLAGS="$LDFLAGS -b"
10481 echo "$lt_simple_link_test_code" > conftest.$ac_ext
10482 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10483 # The linker can only warn and ignore the option if not recognized
10484 # So say no if there are warnings
10485 if test -s conftest.err; then
10486 # Append any errors to the config.log.
10487 cat conftest.err 1>&5
10488 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10489 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10490 if diff conftest.exp conftest.er2 >/dev/null; then
10491 lt_cv_prog_compiler__b=yes
10493 else
10494 lt_cv_prog_compiler__b=yes
10497 $RM -r conftest*
10498 LDFLAGS="$save_LDFLAGS"
10501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10502 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10504 if test x"$lt_cv_prog_compiler__b" = xyes; then
10505 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10506 else
10507 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10511 esac
10513 if test "$with_gnu_ld" = no; then
10514 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10515 hardcode_libdir_separator=:
10517 case $host_cpu in
10518 hppa*64*|ia64*)
10519 hardcode_direct=no
10520 hardcode_shlibpath_var=no
10523 hardcode_direct=yes
10524 hardcode_direct_absolute=yes
10525 export_dynamic_flag_spec='${wl}-E'
10527 # hardcode_minus_L: Not really in the search PATH,
10528 # but as the default location of the library.
10529 hardcode_minus_L=yes
10531 esac
10535 irix5* | irix6* | nonstopux*)
10536 if test "$GCC" = yes; then
10537 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10538 # Try to use the -exported_symbol ld option, if it does not
10539 # work, assume that -exports_file does not work either and
10540 # implicitly export all symbols.
10541 save_LDFLAGS="$LDFLAGS"
10542 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10543 if test x$gcc_no_link = xyes; then
10544 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10547 /* end confdefs.h. */
10548 int foo(void) {}
10549 _ACEOF
10550 if ac_fn_c_try_link "$LINENO"; then :
10551 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
10554 rm -f core conftest.err conftest.$ac_objext \
10555 conftest$ac_exeext conftest.$ac_ext
10556 LDFLAGS="$save_LDFLAGS"
10557 else
10558 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10559 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
10561 archive_cmds_need_lc='no'
10562 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10563 hardcode_libdir_separator=:
10564 inherit_rpath=yes
10565 link_all_deplibs=yes
10568 netbsd*)
10569 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10570 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10571 else
10572 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10574 hardcode_libdir_flag_spec='-R$libdir'
10575 hardcode_direct=yes
10576 hardcode_shlibpath_var=no
10579 newsos6)
10580 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10581 hardcode_direct=yes
10582 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10583 hardcode_libdir_separator=:
10584 hardcode_shlibpath_var=no
10587 *nto* | *qnx*)
10590 openbsd*)
10591 if test -f /usr/libexec/ld.so; then
10592 hardcode_direct=yes
10593 hardcode_shlibpath_var=no
10594 hardcode_direct_absolute=yes
10595 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10596 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10597 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10598 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10599 export_dynamic_flag_spec='${wl}-E'
10600 else
10601 case $host_os in
10602 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10603 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10604 hardcode_libdir_flag_spec='-R$libdir'
10607 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10608 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10610 esac
10612 else
10613 ld_shlibs=no
10617 os2*)
10618 hardcode_libdir_flag_spec='-L$libdir'
10619 hardcode_minus_L=yes
10620 allow_undefined_flag=unsupported
10621 archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
10622 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10625 osf3*)
10626 if test "$GCC" = yes; then
10627 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10628 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10629 else
10630 allow_undefined_flag=' -expect_unresolved \*'
10631 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10633 archive_cmds_need_lc='no'
10634 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10635 hardcode_libdir_separator=:
10638 osf4* | osf5*) # as osf3* with the addition of -msym flag
10639 if test "$GCC" = yes; then
10640 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10641 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10642 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10643 else
10644 allow_undefined_flag=' -expect_unresolved \*'
10645 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10646 archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
10647 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
10649 # Both c and cxx compiler support -rpath directly
10650 hardcode_libdir_flag_spec='-rpath $libdir'
10652 archive_cmds_need_lc='no'
10653 hardcode_libdir_separator=:
10656 solaris*)
10657 no_undefined_flag=' -z defs'
10658 if test "$GCC" = yes; then
10659 wlarc='${wl}'
10660 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10661 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10662 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10663 else
10664 case `$CC -V 2>&1` in
10665 *"Compilers 5.0"*)
10666 wlarc=''
10667 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10668 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10669 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10672 wlarc='${wl}'
10673 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10674 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10675 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10677 esac
10679 hardcode_libdir_flag_spec='-R$libdir'
10680 hardcode_shlibpath_var=no
10681 case $host_os in
10682 solaris2.[0-5] | solaris2.[0-5].*) ;;
10684 # The compiler driver will combine and reorder linker options,
10685 # but understands `-z linker_flag'. GCC discards it without `$wl',
10686 # but is careful enough not to reorder.
10687 # Supported since Solaris 2.6 (maybe 2.5.1?)
10688 if test "$GCC" = yes; then
10689 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10690 else
10691 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10694 esac
10695 link_all_deplibs=yes
10698 sunos4*)
10699 if test "x$host_vendor" = xsequent; then
10700 # Use $CC to link under sequent, because it throws in some extra .o
10701 # files that make .init and .fini sections work.
10702 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10703 else
10704 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10706 hardcode_libdir_flag_spec='-L$libdir'
10707 hardcode_direct=yes
10708 hardcode_minus_L=yes
10709 hardcode_shlibpath_var=no
10712 sysv4)
10713 case $host_vendor in
10714 sni)
10715 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10716 hardcode_direct=yes # is this really true???
10718 siemens)
10719 ## LD is ld it makes a PLAMLIB
10720 ## CC just makes a GrossModule.
10721 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10722 reload_cmds='$CC -r -o $output$reload_objs'
10723 hardcode_direct=no
10725 motorola)
10726 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10727 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10729 esac
10730 runpath_var='LD_RUN_PATH'
10731 hardcode_shlibpath_var=no
10734 sysv4.3*)
10735 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10736 hardcode_shlibpath_var=no
10737 export_dynamic_flag_spec='-Bexport'
10740 sysv4*MP*)
10741 if test -d /usr/nec; then
10742 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10743 hardcode_shlibpath_var=no
10744 runpath_var=LD_RUN_PATH
10745 hardcode_runpath_var=yes
10746 ld_shlibs=yes
10750 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10751 no_undefined_flag='${wl}-z,text'
10752 archive_cmds_need_lc=no
10753 hardcode_shlibpath_var=no
10754 runpath_var='LD_RUN_PATH'
10756 if test "$GCC" = yes; then
10757 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10758 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10759 else
10760 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10761 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10765 sysv5* | sco3.2v5* | sco5v6*)
10766 # Note: We can NOT use -z defs as we might desire, because we do not
10767 # link with -lc, and that would cause any symbols used from libc to
10768 # always be unresolved, which means just about no library would
10769 # ever link correctly. If we're not using GNU ld we use -z text
10770 # though, which does catch some bad symbols but isn't as heavy-handed
10771 # as -z defs.
10772 no_undefined_flag='${wl}-z,text'
10773 allow_undefined_flag='${wl}-z,nodefs'
10774 archive_cmds_need_lc=no
10775 hardcode_shlibpath_var=no
10776 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10777 hardcode_libdir_separator=':'
10778 link_all_deplibs=yes
10779 export_dynamic_flag_spec='${wl}-Bexport'
10780 runpath_var='LD_RUN_PATH'
10782 if test "$GCC" = yes; then
10783 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10784 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10785 else
10786 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10787 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10791 uts4*)
10792 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10793 hardcode_libdir_flag_spec='-L$libdir'
10794 hardcode_shlibpath_var=no
10798 ld_shlibs=no
10800 esac
10802 if test x$host_vendor = xsni; then
10803 case $host in
10804 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10805 export_dynamic_flag_spec='${wl}-Blargedynsym'
10807 esac
10811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10812 $as_echo "$ld_shlibs" >&6; }
10813 test "$ld_shlibs" = no && can_build_shared=no
10815 with_gnu_ld=$with_gnu_ld
10832 # Do we need to explicitly link libc?
10834 case "x$archive_cmds_need_lc" in
10835 x|xyes)
10836 # Assume -lc should be added
10837 archive_cmds_need_lc=yes
10839 if test "$enable_shared" = yes && test "$GCC" = yes; then
10840 case $archive_cmds in
10841 *'~'*)
10842 # FIXME: we may have to deal with multi-command sequences.
10844 '$CC '*)
10845 # Test whether the compiler implicitly links with -lc since on some
10846 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10847 # to ld, don't add -lc before -lgcc.
10848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10849 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10850 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10851 $as_echo_n "(cached) " >&6
10852 else
10853 $RM conftest*
10854 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10856 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10857 (eval $ac_compile) 2>&5
10858 ac_status=$?
10859 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10860 test $ac_status = 0; } 2>conftest.err; then
10861 soname=conftest
10862 lib=conftest
10863 libobjs=conftest.$ac_objext
10864 deplibs=
10865 wl=$lt_prog_compiler_wl
10866 pic_flag=$lt_prog_compiler_pic
10867 compiler_flags=-v
10868 linker_flags=-v
10869 verstring=
10870 output_objdir=.
10871 libname=conftest
10872 lt_save_allow_undefined_flag=$allow_undefined_flag
10873 allow_undefined_flag=
10874 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10875 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10876 ac_status=$?
10877 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10878 test $ac_status = 0; }
10879 then
10880 lt_cv_archive_cmds_need_lc=no
10881 else
10882 lt_cv_archive_cmds_need_lc=yes
10884 allow_undefined_flag=$lt_save_allow_undefined_flag
10885 else
10886 cat conftest.err 1>&5
10888 $RM conftest*
10891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10892 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10893 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10895 esac
10898 esac
11056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11057 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11059 if test "$GCC" = yes; then
11060 case $host_os in
11061 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
11062 *) lt_awk_arg="/^libraries:/" ;;
11063 esac
11064 case $host_os in
11065 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
11066 *) lt_sed_strip_eq="s,=/,/,g" ;;
11067 esac
11068 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11069 case $lt_search_path_spec in
11070 *\;*)
11071 # if the path contains ";" then we assume it to be the separator
11072 # otherwise default to the standard path separator (i.e. ":") - it is
11073 # assumed that no part of a normal pathname contains ";" but that should
11074 # okay in the real world where ";" in dirpaths is itself problematic.
11075 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11078 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11080 esac
11081 # Ok, now we have the path, separated by spaces, we can step through it
11082 # and add multilib dir if necessary.
11083 lt_tmp_lt_search_path_spec=
11084 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11085 for lt_sys_path in $lt_search_path_spec; do
11086 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11087 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11088 else
11089 test -d "$lt_sys_path" && \
11090 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11092 done
11093 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11094 BEGIN {RS=" "; FS="/|\n";} {
11095 lt_foo="";
11096 lt_count=0;
11097 for (lt_i = NF; lt_i > 0; lt_i--) {
11098 if ($lt_i != "" && $lt_i != ".") {
11099 if ($lt_i == "..") {
11100 lt_count++;
11101 } else {
11102 if (lt_count == 0) {
11103 lt_foo="/" $lt_i lt_foo;
11104 } else {
11105 lt_count--;
11110 if (lt_foo != "") { lt_freq[lt_foo]++; }
11111 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11113 # AWK program above erroneously prepends '/' to C:/dos/paths
11114 # for these hosts.
11115 case $host_os in
11116 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
11117 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11118 esac
11119 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11120 else
11121 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11123 library_names_spec=
11124 libname_spec='lib$name'
11125 soname_spec=
11126 shrext_cmds=".so"
11127 postinstall_cmds=
11128 postuninstall_cmds=
11129 finish_cmds=
11130 finish_eval=
11131 shlibpath_var=
11132 shlibpath_overrides_runpath=unknown
11133 version_type=none
11134 dynamic_linker="$host_os ld.so"
11135 sys_lib_dlsearch_path_spec="/lib /usr/lib"
11136 need_lib_prefix=unknown
11137 hardcode_into_libs=no
11139 # when you set need_version to no, make sure it does not cause -set_version
11140 # flags to be left without arguments
11141 need_version=unknown
11143 case $host_os in
11144 aix3*)
11145 version_type=linux
11146 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11147 shlibpath_var=LIBPATH
11149 # AIX 3 has no versioning support, so we append a major version to the name.
11150 soname_spec='${libname}${release}${shared_ext}$major'
11153 aix[4-9]*)
11154 version_type=linux
11155 need_lib_prefix=no
11156 need_version=no
11157 hardcode_into_libs=yes
11158 if test "$host_cpu" = ia64; then
11159 # AIX 5 supports IA64
11160 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11161 shlibpath_var=LD_LIBRARY_PATH
11162 else
11163 # With GCC up to 2.95.x, collect2 would create an import file
11164 # for dependence libraries. The import file would start with
11165 # the line `#! .'. This would cause the generated library to
11166 # depend on `.', always an invalid library. This was fixed in
11167 # development snapshots of GCC prior to 3.0.
11168 case $host_os in
11169 aix4 | aix4.[01] | aix4.[01].*)
11170 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11171 echo ' yes '
11172 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
11174 else
11175 can_build_shared=no
11178 esac
11179 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11180 # soname into executable. Probably we can add versioning support to
11181 # collect2, so additional links can be useful in future.
11182 if test "$aix_use_runtimelinking" = yes; then
11183 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11184 # instead of lib<name>.a to let people know that these are not
11185 # typical AIX shared libraries.
11186 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11187 else
11188 # We preserve .a as extension for shared libraries through AIX4.2
11189 # and later when we are not doing run time linking.
11190 library_names_spec='${libname}${release}.a $libname.a'
11191 soname_spec='${libname}${release}${shared_ext}$major'
11193 shlibpath_var=LIBPATH
11197 amigaos*)
11198 case $host_cpu in
11199 powerpc)
11200 # Since July 2007 AmigaOS4 officially supports .so libraries.
11201 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11202 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11204 m68k)
11205 library_names_spec='$libname.ixlibrary $libname.a'
11206 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11207 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
11209 esac
11212 beos*)
11213 library_names_spec='${libname}${shared_ext}'
11214 dynamic_linker="$host_os ld.so"
11215 shlibpath_var=LIBRARY_PATH
11218 bsdi[45]*)
11219 version_type=linux
11220 need_version=no
11221 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11222 soname_spec='${libname}${release}${shared_ext}$major'
11223 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11224 shlibpath_var=LD_LIBRARY_PATH
11225 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11226 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11227 # the default ld.so.conf also contains /usr/contrib/lib and
11228 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11229 # libtool to hard-code these into programs
11232 cygwin* | mingw* | pw32* | cegcc*)
11233 version_type=windows
11234 shrext_cmds=".dll"
11235 need_version=no
11236 need_lib_prefix=no
11238 case $GCC,$host_os in
11239 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
11240 library_names_spec='$libname.dll.a'
11241 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11242 postinstall_cmds='base_file=`basename \${file}`~
11243 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11244 dldir=$destdir/`dirname \$dlpath`~
11245 test -d \$dldir || mkdir -p \$dldir~
11246 $install_prog $dir/$dlname \$dldir/$dlname~
11247 chmod a+x \$dldir/$dlname~
11248 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11249 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11251 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11252 dlpath=$dir/\$dldll~
11253 $RM \$dlpath'
11254 shlibpath_overrides_runpath=yes
11256 case $host_os in
11257 cygwin*)
11258 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11259 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11261 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11263 mingw* | cegcc*)
11264 # MinGW DLLs use traditional 'lib' prefix
11265 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11267 pw32*)
11268 # pw32 DLLs use 'pw' prefix rather than 'lib'
11269 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11271 esac
11275 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11277 esac
11278 dynamic_linker='Win32 ld.exe'
11279 # FIXME: first we should search . and the directory the executable is in
11280 shlibpath_var=PATH
11283 darwin* | rhapsody*)
11284 dynamic_linker="$host_os dyld"
11285 version_type=darwin
11286 need_lib_prefix=no
11287 need_version=no
11288 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11289 soname_spec='${libname}${release}${major}$shared_ext'
11290 shlibpath_overrides_runpath=yes
11291 shlibpath_var=DYLD_LIBRARY_PATH
11292 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11294 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11295 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11298 dgux*)
11299 version_type=linux
11300 need_lib_prefix=no
11301 need_version=no
11302 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11303 soname_spec='${libname}${release}${shared_ext}$major'
11304 shlibpath_var=LD_LIBRARY_PATH
11307 freebsd* | dragonfly*)
11308 # DragonFly does not have aout. When/if they implement a new
11309 # versioning mechanism, adjust this.
11310 if test -x /usr/bin/objformat; then
11311 objformat=`/usr/bin/objformat`
11312 else
11313 case $host_os in
11314 freebsd[23].*) objformat=aout ;;
11315 *) objformat=elf ;;
11316 esac
11318 version_type=freebsd-$objformat
11319 case $version_type in
11320 freebsd-elf*)
11321 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11322 need_version=no
11323 need_lib_prefix=no
11325 freebsd-*)
11326 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11327 need_version=yes
11329 esac
11330 shlibpath_var=LD_LIBRARY_PATH
11331 case $host_os in
11332 freebsd2.*)
11333 shlibpath_overrides_runpath=yes
11335 freebsd3.[01]* | freebsdelf3.[01]*)
11336 shlibpath_overrides_runpath=yes
11337 hardcode_into_libs=yes
11339 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11340 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11341 shlibpath_overrides_runpath=no
11342 hardcode_into_libs=yes
11344 *) # from 4.6 on, and DragonFly
11345 shlibpath_overrides_runpath=yes
11346 hardcode_into_libs=yes
11348 esac
11351 haiku*)
11352 version_type=linux
11353 need_lib_prefix=no
11354 need_version=no
11355 dynamic_linker="$host_os runtime_loader"
11356 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11357 soname_spec='${libname}${release}${shared_ext}$major'
11358 shlibpath_var=LIBRARY_PATH
11359 shlibpath_overrides_runpath=yes
11360 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
11361 hardcode_into_libs=yes
11364 hpux9* | hpux10* | hpux11*)
11365 # Give a soname corresponding to the major version so that dld.sl refuses to
11366 # link against other versions.
11367 version_type=sunos
11368 need_lib_prefix=no
11369 need_version=no
11370 case $host_cpu in
11371 ia64*)
11372 shrext_cmds='.so'
11373 hardcode_into_libs=yes
11374 dynamic_linker="$host_os dld.so"
11375 shlibpath_var=LD_LIBRARY_PATH
11376 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11377 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11378 soname_spec='${libname}${release}${shared_ext}$major'
11379 if test "X$HPUX_IA64_MODE" = X32; then
11380 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11381 else
11382 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11384 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11386 hppa*64*)
11387 shrext_cmds='.sl'
11388 hardcode_into_libs=yes
11389 dynamic_linker="$host_os dld.sl"
11390 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11391 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11392 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11393 soname_spec='${libname}${release}${shared_ext}$major'
11394 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11395 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11398 shrext_cmds='.sl'
11399 dynamic_linker="$host_os dld.sl"
11400 shlibpath_var=SHLIB_PATH
11401 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11402 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11403 soname_spec='${libname}${release}${shared_ext}$major'
11405 esac
11406 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11407 postinstall_cmds='chmod 555 $lib'
11408 # or fails outright, so override atomically:
11409 install_override_mode=555
11412 interix[3-9]*)
11413 version_type=linux
11414 need_lib_prefix=no
11415 need_version=no
11416 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11417 soname_spec='${libname}${release}${shared_ext}$major'
11418 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11419 shlibpath_var=LD_LIBRARY_PATH
11420 shlibpath_overrides_runpath=no
11421 hardcode_into_libs=yes
11424 irix5* | irix6* | nonstopux*)
11425 case $host_os in
11426 nonstopux*) version_type=nonstopux ;;
11428 if test "$lt_cv_prog_gnu_ld" = yes; then
11429 version_type=linux
11430 else
11431 version_type=irix
11432 fi ;;
11433 esac
11434 need_lib_prefix=no
11435 need_version=no
11436 soname_spec='${libname}${release}${shared_ext}$major'
11437 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11438 case $host_os in
11439 irix5* | nonstopux*)
11440 libsuff= shlibsuff=
11443 case $LD in # libtool.m4 will add one of these switches to LD
11444 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11445 libsuff= shlibsuff= libmagic=32-bit;;
11446 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11447 libsuff=32 shlibsuff=N32 libmagic=N32;;
11448 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11449 libsuff=64 shlibsuff=64 libmagic=64-bit;;
11450 *) libsuff= shlibsuff= libmagic=never-match;;
11451 esac
11453 esac
11454 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11455 shlibpath_overrides_runpath=no
11456 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11457 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11458 hardcode_into_libs=yes
11461 # No shared lib support for Linux oldld, aout, or coff.
11462 linux*oldld* | linux*aout* | linux*coff*)
11463 dynamic_linker=no
11466 # This must be Linux ELF.
11468 # uclinux* changes (here and below) have been submitted to the libtool
11469 # project, but have not yet been accepted: they are GCC-local changes
11470 # for the time being. (See
11471 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
11472 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu* | uclinuxfdpiceabi)
11473 version_type=linux
11474 need_lib_prefix=no
11475 need_version=no
11476 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11477 soname_spec='${libname}${release}${shared_ext}$major'
11478 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11479 shlibpath_var=LD_LIBRARY_PATH
11480 shlibpath_overrides_runpath=no
11482 # Some binutils ld are patched to set DT_RUNPATH
11483 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11484 $as_echo_n "(cached) " >&6
11485 else
11486 lt_cv_shlibpath_overrides_runpath=no
11487 save_LDFLAGS=$LDFLAGS
11488 save_libdir=$libdir
11489 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11490 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11491 if test x$gcc_no_link = xyes; then
11492 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11495 /* end confdefs.h. */
11498 main ()
11502 return 0;
11504 _ACEOF
11505 if ac_fn_c_try_link "$LINENO"; then :
11506 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11507 lt_cv_shlibpath_overrides_runpath=yes
11510 rm -f core conftest.err conftest.$ac_objext \
11511 conftest$ac_exeext conftest.$ac_ext
11512 LDFLAGS=$save_LDFLAGS
11513 libdir=$save_libdir
11517 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11519 # This implies no fast_install, which is unacceptable.
11520 # Some rework will be needed to allow for fast_install
11521 # before this can be enabled.
11522 hardcode_into_libs=yes
11524 # Append ld.so.conf contents to the search path
11525 if test -f /etc/ld.so.conf; then
11526 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
11527 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11530 # We used to test for /lib/ld.so.1 and disable shared libraries on
11531 # powerpc, because MkLinux only supported shared libraries with the
11532 # GNU dynamic linker. Since this was broken with cross compilers,
11533 # most powerpc-linux boxes support dynamic linking these days and
11534 # people can always --disable-shared, the test was removed, and we
11535 # assume the GNU/Linux dynamic linker is in use.
11536 dynamic_linker='GNU/Linux ld.so'
11539 netbsd*)
11540 version_type=sunos
11541 need_lib_prefix=no
11542 need_version=no
11543 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11544 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11545 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11546 dynamic_linker='NetBSD (a.out) ld.so'
11547 else
11548 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11549 soname_spec='${libname}${release}${shared_ext}$major'
11550 dynamic_linker='NetBSD ld.elf_so'
11552 shlibpath_var=LD_LIBRARY_PATH
11553 shlibpath_overrides_runpath=yes
11554 hardcode_into_libs=yes
11557 newsos6)
11558 version_type=linux
11559 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11560 shlibpath_var=LD_LIBRARY_PATH
11561 shlibpath_overrides_runpath=yes
11564 *nto* | *qnx*)
11565 version_type=qnx
11566 need_lib_prefix=no
11567 need_version=no
11568 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11569 soname_spec='${libname}${release}${shared_ext}$major'
11570 shlibpath_var=LD_LIBRARY_PATH
11571 shlibpath_overrides_runpath=no
11572 hardcode_into_libs=yes
11573 dynamic_linker='ldqnx.so'
11576 openbsd*)
11577 version_type=sunos
11578 sys_lib_dlsearch_path_spec="/usr/lib"
11579 need_lib_prefix=no
11580 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11581 case $host_os in
11582 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11583 *) need_version=no ;;
11584 esac
11585 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11586 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11587 shlibpath_var=LD_LIBRARY_PATH
11588 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11589 case $host_os in
11590 openbsd2.[89] | openbsd2.[89].*)
11591 shlibpath_overrides_runpath=no
11594 shlibpath_overrides_runpath=yes
11596 esac
11597 else
11598 shlibpath_overrides_runpath=yes
11602 os2*)
11603 libname_spec='$name'
11604 shrext_cmds=".dll"
11605 need_lib_prefix=no
11606 library_names_spec='$libname${shared_ext} $libname.a'
11607 dynamic_linker='OS/2 ld.exe'
11608 shlibpath_var=LIBPATH
11611 osf3* | osf4* | osf5*)
11612 version_type=osf
11613 need_lib_prefix=no
11614 need_version=no
11615 soname_spec='${libname}${release}${shared_ext}$major'
11616 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11617 shlibpath_var=LD_LIBRARY_PATH
11618 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11619 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11622 rdos*)
11623 dynamic_linker=no
11626 solaris*)
11627 version_type=linux
11628 need_lib_prefix=no
11629 need_version=no
11630 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11631 soname_spec='${libname}${release}${shared_ext}$major'
11632 shlibpath_var=LD_LIBRARY_PATH
11633 shlibpath_overrides_runpath=yes
11634 hardcode_into_libs=yes
11635 # ldd complains unless libraries are executable
11636 postinstall_cmds='chmod +x $lib'
11639 sunos4*)
11640 version_type=sunos
11641 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11642 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11643 shlibpath_var=LD_LIBRARY_PATH
11644 shlibpath_overrides_runpath=yes
11645 if test "$with_gnu_ld" = yes; then
11646 need_lib_prefix=no
11648 need_version=yes
11651 sysv4 | sysv4.3*)
11652 version_type=linux
11653 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11654 soname_spec='${libname}${release}${shared_ext}$major'
11655 shlibpath_var=LD_LIBRARY_PATH
11656 case $host_vendor in
11657 sni)
11658 shlibpath_overrides_runpath=no
11659 need_lib_prefix=no
11660 runpath_var=LD_RUN_PATH
11662 siemens)
11663 need_lib_prefix=no
11665 motorola)
11666 need_lib_prefix=no
11667 need_version=no
11668 shlibpath_overrides_runpath=no
11669 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11671 esac
11674 sysv4*MP*)
11675 if test -d /usr/nec ;then
11676 version_type=linux
11677 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11678 soname_spec='$libname${shared_ext}.$major'
11679 shlibpath_var=LD_LIBRARY_PATH
11683 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11684 version_type=freebsd-elf
11685 need_lib_prefix=no
11686 need_version=no
11687 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11688 soname_spec='${libname}${release}${shared_ext}$major'
11689 shlibpath_var=LD_LIBRARY_PATH
11690 shlibpath_overrides_runpath=yes
11691 hardcode_into_libs=yes
11692 if test "$with_gnu_ld" = yes; then
11693 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11694 else
11695 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11696 case $host_os in
11697 sco3.2v5*)
11698 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11700 esac
11702 sys_lib_dlsearch_path_spec='/usr/lib'
11705 tpf*)
11706 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11707 version_type=linux
11708 need_lib_prefix=no
11709 need_version=no
11710 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11711 shlibpath_var=LD_LIBRARY_PATH
11712 shlibpath_overrides_runpath=no
11713 hardcode_into_libs=yes
11716 uts4*)
11717 version_type=linux
11718 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11719 soname_spec='${libname}${release}${shared_ext}$major'
11720 shlibpath_var=LD_LIBRARY_PATH
11724 dynamic_linker=no
11726 esac
11727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11728 $as_echo "$dynamic_linker" >&6; }
11729 test "$dynamic_linker" = no && can_build_shared=no
11731 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11732 if test "$GCC" = yes; then
11733 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11736 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11737 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11739 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11740 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11835 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11836 hardcode_action=
11837 if test -n "$hardcode_libdir_flag_spec" ||
11838 test -n "$runpath_var" ||
11839 test "X$hardcode_automatic" = "Xyes" ; then
11841 # We can hardcode non-existent directories.
11842 if test "$hardcode_direct" != no &&
11843 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11844 # have to relink, otherwise we might link with an installed library
11845 # when we should be linking with a yet-to-be-installed one
11846 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11847 test "$hardcode_minus_L" != no; then
11848 # Linking always hardcodes the temporary library directory.
11849 hardcode_action=relink
11850 else
11851 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11852 hardcode_action=immediate
11854 else
11855 # We cannot hardcode anything, or else we can only hardcode existing
11856 # directories.
11857 hardcode_action=unsupported
11859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11860 $as_echo "$hardcode_action" >&6; }
11862 if test "$hardcode_action" = relink ||
11863 test "$inherit_rpath" = yes; then
11864 # Fast installation is not supported
11865 enable_fast_install=no
11866 elif test "$shlibpath_overrides_runpath" = yes ||
11867 test "$enable_shared" = no; then
11868 # Fast installation is not necessary
11869 enable_fast_install=needless
11877 if test "x$enable_dlopen" != xyes; then
11878 enable_dlopen=unknown
11879 enable_dlopen_self=unknown
11880 enable_dlopen_self_static=unknown
11881 else
11882 lt_cv_dlopen=no
11883 lt_cv_dlopen_libs=
11885 case $host_os in
11886 beos*)
11887 lt_cv_dlopen="load_add_on"
11888 lt_cv_dlopen_libs=
11889 lt_cv_dlopen_self=yes
11892 mingw* | pw32* | cegcc*)
11893 lt_cv_dlopen="LoadLibrary"
11894 lt_cv_dlopen_libs=
11897 cygwin*)
11898 lt_cv_dlopen="dlopen"
11899 lt_cv_dlopen_libs=
11902 darwin*)
11903 # if libdl is installed we need to link against it
11904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11905 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11906 if ${ac_cv_lib_dl_dlopen+:} false; then :
11907 $as_echo_n "(cached) " >&6
11908 else
11909 ac_check_lib_save_LIBS=$LIBS
11910 LIBS="-ldl $LIBS"
11911 if test x$gcc_no_link = xyes; then
11912 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11915 /* end confdefs.h. */
11917 /* Override any GCC internal prototype to avoid an error.
11918 Use char because int might match the return type of a GCC
11919 builtin and then its argument prototype would still apply. */
11920 #ifdef __cplusplus
11921 extern "C"
11922 #endif
11923 char dlopen ();
11925 main ()
11927 return dlopen ();
11929 return 0;
11931 _ACEOF
11932 if ac_fn_c_try_link "$LINENO"; then :
11933 ac_cv_lib_dl_dlopen=yes
11934 else
11935 ac_cv_lib_dl_dlopen=no
11937 rm -f core conftest.err conftest.$ac_objext \
11938 conftest$ac_exeext conftest.$ac_ext
11939 LIBS=$ac_check_lib_save_LIBS
11941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11942 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11943 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11944 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11945 else
11947 lt_cv_dlopen="dyld"
11948 lt_cv_dlopen_libs=
11949 lt_cv_dlopen_self=yes
11956 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11957 if test "x$ac_cv_func_shl_load" = xyes; then :
11958 lt_cv_dlopen="shl_load"
11959 else
11960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11961 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11962 if ${ac_cv_lib_dld_shl_load+:} false; then :
11963 $as_echo_n "(cached) " >&6
11964 else
11965 ac_check_lib_save_LIBS=$LIBS
11966 LIBS="-ldld $LIBS"
11967 if test x$gcc_no_link = xyes; then
11968 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11971 /* end confdefs.h. */
11973 /* Override any GCC internal prototype to avoid an error.
11974 Use char because int might match the return type of a GCC
11975 builtin and then its argument prototype would still apply. */
11976 #ifdef __cplusplus
11977 extern "C"
11978 #endif
11979 char shl_load ();
11981 main ()
11983 return shl_load ();
11985 return 0;
11987 _ACEOF
11988 if ac_fn_c_try_link "$LINENO"; then :
11989 ac_cv_lib_dld_shl_load=yes
11990 else
11991 ac_cv_lib_dld_shl_load=no
11993 rm -f core conftest.err conftest.$ac_objext \
11994 conftest$ac_exeext conftest.$ac_ext
11995 LIBS=$ac_check_lib_save_LIBS
11997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11998 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11999 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12000 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
12001 else
12002 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
12003 if test "x$ac_cv_func_dlopen" = xyes; then :
12004 lt_cv_dlopen="dlopen"
12005 else
12006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12007 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12008 if ${ac_cv_lib_dl_dlopen+:} false; then :
12009 $as_echo_n "(cached) " >&6
12010 else
12011 ac_check_lib_save_LIBS=$LIBS
12012 LIBS="-ldl $LIBS"
12013 if test x$gcc_no_link = xyes; then
12014 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12017 /* end confdefs.h. */
12019 /* Override any GCC internal prototype to avoid an error.
12020 Use char because int might match the return type of a GCC
12021 builtin and then its argument prototype would still apply. */
12022 #ifdef __cplusplus
12023 extern "C"
12024 #endif
12025 char dlopen ();
12027 main ()
12029 return dlopen ();
12031 return 0;
12033 _ACEOF
12034 if ac_fn_c_try_link "$LINENO"; then :
12035 ac_cv_lib_dl_dlopen=yes
12036 else
12037 ac_cv_lib_dl_dlopen=no
12039 rm -f core conftest.err conftest.$ac_objext \
12040 conftest$ac_exeext conftest.$ac_ext
12041 LIBS=$ac_check_lib_save_LIBS
12043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12044 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12045 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12046 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12047 else
12048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12049 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12050 if ${ac_cv_lib_svld_dlopen+:} false; then :
12051 $as_echo_n "(cached) " >&6
12052 else
12053 ac_check_lib_save_LIBS=$LIBS
12054 LIBS="-lsvld $LIBS"
12055 if test x$gcc_no_link = xyes; then
12056 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12059 /* end confdefs.h. */
12061 /* Override any GCC internal prototype to avoid an error.
12062 Use char because int might match the return type of a GCC
12063 builtin and then its argument prototype would still apply. */
12064 #ifdef __cplusplus
12065 extern "C"
12066 #endif
12067 char dlopen ();
12069 main ()
12071 return dlopen ();
12073 return 0;
12075 _ACEOF
12076 if ac_fn_c_try_link "$LINENO"; then :
12077 ac_cv_lib_svld_dlopen=yes
12078 else
12079 ac_cv_lib_svld_dlopen=no
12081 rm -f core conftest.err conftest.$ac_objext \
12082 conftest$ac_exeext conftest.$ac_ext
12083 LIBS=$ac_check_lib_save_LIBS
12085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12086 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12087 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12088 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12089 else
12090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12091 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12092 if ${ac_cv_lib_dld_dld_link+:} false; then :
12093 $as_echo_n "(cached) " >&6
12094 else
12095 ac_check_lib_save_LIBS=$LIBS
12096 LIBS="-ldld $LIBS"
12097 if test x$gcc_no_link = xyes; then
12098 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12101 /* end confdefs.h. */
12103 /* Override any GCC internal prototype to avoid an error.
12104 Use char because int might match the return type of a GCC
12105 builtin and then its argument prototype would still apply. */
12106 #ifdef __cplusplus
12107 extern "C"
12108 #endif
12109 char dld_link ();
12111 main ()
12113 return dld_link ();
12115 return 0;
12117 _ACEOF
12118 if ac_fn_c_try_link "$LINENO"; then :
12119 ac_cv_lib_dld_dld_link=yes
12120 else
12121 ac_cv_lib_dld_dld_link=no
12123 rm -f core conftest.err conftest.$ac_objext \
12124 conftest$ac_exeext conftest.$ac_ext
12125 LIBS=$ac_check_lib_save_LIBS
12127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12128 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12129 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12130 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
12149 esac
12151 if test "x$lt_cv_dlopen" != xno; then
12152 enable_dlopen=yes
12153 else
12154 enable_dlopen=no
12157 case $lt_cv_dlopen in
12158 dlopen)
12159 save_CPPFLAGS="$CPPFLAGS"
12160 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12162 save_LDFLAGS="$LDFLAGS"
12163 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12165 save_LIBS="$LIBS"
12166 LIBS="$lt_cv_dlopen_libs $LIBS"
12168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12169 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12170 if ${lt_cv_dlopen_self+:} false; then :
12171 $as_echo_n "(cached) " >&6
12172 else
12173 if test "$cross_compiling" = yes; then :
12174 lt_cv_dlopen_self=cross
12175 else
12176 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12177 lt_status=$lt_dlunknown
12178 cat > conftest.$ac_ext <<_LT_EOF
12179 #line 12179 "configure"
12180 #include "confdefs.h"
12182 #if HAVE_DLFCN_H
12183 #include <dlfcn.h>
12184 #endif
12186 #include <stdio.h>
12188 #ifdef RTLD_GLOBAL
12189 # define LT_DLGLOBAL RTLD_GLOBAL
12190 #else
12191 # ifdef DL_GLOBAL
12192 # define LT_DLGLOBAL DL_GLOBAL
12193 # else
12194 # define LT_DLGLOBAL 0
12195 # endif
12196 #endif
12198 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12199 find out it does not work in some platform. */
12200 #ifndef LT_DLLAZY_OR_NOW
12201 # ifdef RTLD_LAZY
12202 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12203 # else
12204 # ifdef DL_LAZY
12205 # define LT_DLLAZY_OR_NOW DL_LAZY
12206 # else
12207 # ifdef RTLD_NOW
12208 # define LT_DLLAZY_OR_NOW RTLD_NOW
12209 # else
12210 # ifdef DL_NOW
12211 # define LT_DLLAZY_OR_NOW DL_NOW
12212 # else
12213 # define LT_DLLAZY_OR_NOW 0
12214 # endif
12215 # endif
12216 # endif
12217 # endif
12218 #endif
12220 /* When -fvisbility=hidden is used, assume the code has been annotated
12221 correspondingly for the symbols needed. */
12222 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12223 void fnord () __attribute__((visibility("default")));
12224 #endif
12226 void fnord () { int i=42; }
12227 int main ()
12229 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12230 int status = $lt_dlunknown;
12232 if (self)
12234 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12235 else
12237 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12238 else puts (dlerror ());
12240 /* dlclose (self); */
12242 else
12243 puts (dlerror ());
12245 return status;
12247 _LT_EOF
12248 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12249 (eval $ac_link) 2>&5
12250 ac_status=$?
12251 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12252 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12253 (./conftest; exit; ) >&5 2>/dev/null
12254 lt_status=$?
12255 case x$lt_status in
12256 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12257 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12258 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12259 esac
12260 else :
12261 # compilation failed
12262 lt_cv_dlopen_self=no
12265 rm -fr conftest*
12269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12270 $as_echo "$lt_cv_dlopen_self" >&6; }
12272 if test "x$lt_cv_dlopen_self" = xyes; then
12273 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12275 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12276 if ${lt_cv_dlopen_self_static+:} false; then :
12277 $as_echo_n "(cached) " >&6
12278 else
12279 if test "$cross_compiling" = yes; then :
12280 lt_cv_dlopen_self_static=cross
12281 else
12282 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12283 lt_status=$lt_dlunknown
12284 cat > conftest.$ac_ext <<_LT_EOF
12285 #line 12285 "configure"
12286 #include "confdefs.h"
12288 #if HAVE_DLFCN_H
12289 #include <dlfcn.h>
12290 #endif
12292 #include <stdio.h>
12294 #ifdef RTLD_GLOBAL
12295 # define LT_DLGLOBAL RTLD_GLOBAL
12296 #else
12297 # ifdef DL_GLOBAL
12298 # define LT_DLGLOBAL DL_GLOBAL
12299 # else
12300 # define LT_DLGLOBAL 0
12301 # endif
12302 #endif
12304 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12305 find out it does not work in some platform. */
12306 #ifndef LT_DLLAZY_OR_NOW
12307 # ifdef RTLD_LAZY
12308 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12309 # else
12310 # ifdef DL_LAZY
12311 # define LT_DLLAZY_OR_NOW DL_LAZY
12312 # else
12313 # ifdef RTLD_NOW
12314 # define LT_DLLAZY_OR_NOW RTLD_NOW
12315 # else
12316 # ifdef DL_NOW
12317 # define LT_DLLAZY_OR_NOW DL_NOW
12318 # else
12319 # define LT_DLLAZY_OR_NOW 0
12320 # endif
12321 # endif
12322 # endif
12323 # endif
12324 #endif
12326 /* When -fvisbility=hidden is used, assume the code has been annotated
12327 correspondingly for the symbols needed. */
12328 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12329 void fnord () __attribute__((visibility("default")));
12330 #endif
12332 void fnord () { int i=42; }
12333 int main ()
12335 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12336 int status = $lt_dlunknown;
12338 if (self)
12340 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12341 else
12343 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12344 else puts (dlerror ());
12346 /* dlclose (self); */
12348 else
12349 puts (dlerror ());
12351 return status;
12353 _LT_EOF
12354 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12355 (eval $ac_link) 2>&5
12356 ac_status=$?
12357 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12358 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12359 (./conftest; exit; ) >&5 2>/dev/null
12360 lt_status=$?
12361 case x$lt_status in
12362 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12363 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12364 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12365 esac
12366 else :
12367 # compilation failed
12368 lt_cv_dlopen_self_static=no
12371 rm -fr conftest*
12375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12376 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12379 CPPFLAGS="$save_CPPFLAGS"
12380 LDFLAGS="$save_LDFLAGS"
12381 LIBS="$save_LIBS"
12383 esac
12385 case $lt_cv_dlopen_self in
12386 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12387 *) enable_dlopen_self=unknown ;;
12388 esac
12390 case $lt_cv_dlopen_self_static in
12391 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12392 *) enable_dlopen_self_static=unknown ;;
12393 esac
12412 striplib=
12413 old_striplib=
12414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12415 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12416 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12417 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12418 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12420 $as_echo "yes" >&6; }
12421 else
12422 # FIXME - insert some real tests, host_os isn't really good enough
12423 case $host_os in
12424 darwin*)
12425 if test -n "$STRIP" ; then
12426 striplib="$STRIP -x"
12427 old_striplib="$STRIP -S"
12428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12429 $as_echo "yes" >&6; }
12430 else
12431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12432 $as_echo "no" >&6; }
12436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12437 $as_echo "no" >&6; }
12439 esac
12453 # Report which library types will actually be built
12454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12455 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12457 $as_echo "$can_build_shared" >&6; }
12459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12460 $as_echo_n "checking whether to build shared libraries... " >&6; }
12461 test "$can_build_shared" = "no" && enable_shared=no
12463 # On AIX, shared libraries and static libraries use the same namespace, and
12464 # are all built from PIC.
12465 case $host_os in
12466 aix3*)
12467 test "$enable_shared" = yes && enable_static=no
12468 if test -n "$RANLIB"; then
12469 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12470 postinstall_cmds='$RANLIB $lib'
12474 aix[4-9]*)
12475 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12476 test "$enable_shared" = yes && enable_static=no
12479 esac
12480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12481 $as_echo "$enable_shared" >&6; }
12483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12484 $as_echo_n "checking whether to build static libraries... " >&6; }
12485 # Make sure either enable_shared or enable_static is yes.
12486 test "$enable_shared" = yes || enable_static=yes
12487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12488 $as_echo "$enable_static" >&6; }
12494 ac_ext=c
12495 ac_cpp='$CPP $CPPFLAGS'
12496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12500 CC="$lt_save_CC"
12502 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
12503 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
12504 (test "X$CXX" != "Xg++"))) ; then
12505 ac_ext=cpp
12506 ac_cpp='$CXXCPP $CPPFLAGS'
12507 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12508 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12509 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
12511 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
12512 if test -z "$CXXCPP"; then
12513 if ${ac_cv_prog_CXXCPP+:} false; then :
12514 $as_echo_n "(cached) " >&6
12515 else
12516 # Double quotes because CXXCPP needs to be expanded
12517 for CXXCPP in "$CXX -E" "/lib/cpp"
12519 ac_preproc_ok=false
12520 for ac_cxx_preproc_warn_flag in '' yes
12522 # Use a header file that comes with gcc, so configuring glibc
12523 # with a fresh cross-compiler works.
12524 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12525 # <limits.h> exists even on freestanding compilers.
12526 # On the NeXT, cc -E runs the code through the compiler's parser,
12527 # not just through cpp. "Syntax error" is here to catch this case.
12528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12529 /* end confdefs.h. */
12530 #ifdef __STDC__
12531 # include <limits.h>
12532 #else
12533 # include <assert.h>
12534 #endif
12535 Syntax error
12536 _ACEOF
12537 if ac_fn_cxx_try_cpp "$LINENO"; then :
12539 else
12540 # Broken: fails on valid input.
12541 continue
12543 rm -f conftest.err conftest.i conftest.$ac_ext
12545 # OK, works on sane cases. Now check whether nonexistent headers
12546 # can be detected and how.
12547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12548 /* end confdefs.h. */
12549 #include <ac_nonexistent.h>
12550 _ACEOF
12551 if ac_fn_cxx_try_cpp "$LINENO"; then :
12552 # Broken: success on invalid input.
12553 continue
12554 else
12555 # Passes both tests.
12556 ac_preproc_ok=:
12557 break
12559 rm -f conftest.err conftest.i conftest.$ac_ext
12561 done
12562 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12563 rm -f conftest.i conftest.err conftest.$ac_ext
12564 if $ac_preproc_ok; then :
12565 break
12568 done
12569 ac_cv_prog_CXXCPP=$CXXCPP
12572 CXXCPP=$ac_cv_prog_CXXCPP
12573 else
12574 ac_cv_prog_CXXCPP=$CXXCPP
12576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
12577 $as_echo "$CXXCPP" >&6; }
12578 ac_preproc_ok=false
12579 for ac_cxx_preproc_warn_flag in '' yes
12581 # Use a header file that comes with gcc, so configuring glibc
12582 # with a fresh cross-compiler works.
12583 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12584 # <limits.h> exists even on freestanding compilers.
12585 # On the NeXT, cc -E runs the code through the compiler's parser,
12586 # not just through cpp. "Syntax error" is here to catch this case.
12587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12588 /* end confdefs.h. */
12589 #ifdef __STDC__
12590 # include <limits.h>
12591 #else
12592 # include <assert.h>
12593 #endif
12594 Syntax error
12595 _ACEOF
12596 if ac_fn_cxx_try_cpp "$LINENO"; then :
12598 else
12599 # Broken: fails on valid input.
12600 continue
12602 rm -f conftest.err conftest.i conftest.$ac_ext
12604 # OK, works on sane cases. Now check whether nonexistent headers
12605 # can be detected and how.
12606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12607 /* end confdefs.h. */
12608 #include <ac_nonexistent.h>
12609 _ACEOF
12610 if ac_fn_cxx_try_cpp "$LINENO"; then :
12611 # Broken: success on invalid input.
12612 continue
12613 else
12614 # Passes both tests.
12615 ac_preproc_ok=:
12616 break
12618 rm -f conftest.err conftest.i conftest.$ac_ext
12620 done
12621 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12622 rm -f conftest.i conftest.err conftest.$ac_ext
12623 if $ac_preproc_ok; then :
12625 else
12626 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12627 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12628 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
12629 See \`config.log' for more details" "$LINENO" 5; }
12632 ac_ext=c
12633 ac_cpp='$CPP $CPPFLAGS'
12634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12638 else
12639 _lt_caught_CXX_error=yes
12642 ac_ext=cpp
12643 ac_cpp='$CXXCPP $CPPFLAGS'
12644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12648 archive_cmds_need_lc_CXX=no
12649 allow_undefined_flag_CXX=
12650 always_export_symbols_CXX=no
12651 archive_expsym_cmds_CXX=
12652 compiler_needs_object_CXX=no
12653 export_dynamic_flag_spec_CXX=
12654 hardcode_direct_CXX=no
12655 hardcode_direct_absolute_CXX=no
12656 hardcode_libdir_flag_spec_CXX=
12657 hardcode_libdir_flag_spec_ld_CXX=
12658 hardcode_libdir_separator_CXX=
12659 hardcode_minus_L_CXX=no
12660 hardcode_shlibpath_var_CXX=unsupported
12661 hardcode_automatic_CXX=no
12662 inherit_rpath_CXX=no
12663 module_cmds_CXX=
12664 module_expsym_cmds_CXX=
12665 link_all_deplibs_CXX=unknown
12666 old_archive_cmds_CXX=$old_archive_cmds
12667 reload_flag_CXX=$reload_flag
12668 reload_cmds_CXX=$reload_cmds
12669 no_undefined_flag_CXX=
12670 whole_archive_flag_spec_CXX=
12671 enable_shared_with_static_runtimes_CXX=no
12673 # Source file extension for C++ test sources.
12674 ac_ext=cpp
12676 # Object file extension for compiled C++ test sources.
12677 objext=o
12678 objext_CXX=$objext
12680 # No sense in running all these tests if we already determined that
12681 # the CXX compiler isn't working. Some variables (like enable_shared)
12682 # are currently assumed to apply to all compilers on this platform,
12683 # and will be corrupted by setting them based on a non-working compiler.
12684 if test "$_lt_caught_CXX_error" != yes; then
12685 # Code to be used in simple compile tests
12686 lt_simple_compile_test_code="int some_variable = 0;"
12688 # Code to be used in simple link tests
12689 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12691 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12698 # If no C compiler was specified, use CC.
12699 LTCC=${LTCC-"$CC"}
12701 # If no C compiler flags were specified, use CFLAGS.
12702 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12704 # Allow CC to be a program name with arguments.
12705 compiler=$CC
12708 # save warnings/boilerplate of simple test code
12709 ac_outfile=conftest.$ac_objext
12710 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12711 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12712 _lt_compiler_boilerplate=`cat conftest.err`
12713 $RM conftest*
12715 ac_outfile=conftest.$ac_objext
12716 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12717 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12718 _lt_linker_boilerplate=`cat conftest.err`
12719 $RM -r conftest*
12722 # Allow CC to be a program name with arguments.
12723 lt_save_CC=$CC
12724 lt_save_LD=$LD
12725 lt_save_GCC=$GCC
12726 GCC=$GXX
12727 lt_save_with_gnu_ld=$with_gnu_ld
12728 lt_save_path_LD=$lt_cv_path_LD
12729 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12730 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12731 else
12732 $as_unset lt_cv_prog_gnu_ld
12734 if test -n "${lt_cv_path_LDCXX+set}"; then
12735 lt_cv_path_LD=$lt_cv_path_LDCXX
12736 else
12737 $as_unset lt_cv_path_LD
12739 test -z "${LDCXX+set}" || LD=$LDCXX
12740 CC=${CXX-"c++"}
12741 compiler=$CC
12742 compiler_CXX=$CC
12743 for cc_temp in $compiler""; do
12744 case $cc_temp in
12745 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12746 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12747 \-*) ;;
12748 *) break;;
12749 esac
12750 done
12751 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12754 if test -n "$compiler"; then
12755 # We don't want -fno-exception when compiling C++ code, so set the
12756 # no_builtin_flag separately
12757 if test "$GXX" = yes; then
12758 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12759 else
12760 lt_prog_compiler_no_builtin_flag_CXX=
12763 if test "$GXX" = yes; then
12764 # Set up default GNU C++ configuration
12768 # Check whether --with-gnu-ld was given.
12769 if test "${with_gnu_ld+set}" = set; then :
12770 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12771 else
12772 with_gnu_ld=no
12775 ac_prog=ld
12776 if test "$GCC" = yes; then
12777 # Check if gcc -print-prog-name=ld gives a path.
12778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12779 $as_echo_n "checking for ld used by $CC... " >&6; }
12780 case $host in
12781 *-*-mingw*)
12782 # gcc leaves a trailing carriage return which upsets mingw
12783 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12785 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12786 esac
12787 case $ac_prog in
12788 # Accept absolute paths.
12789 [\\/]* | ?:[\\/]*)
12790 re_direlt='/[^/][^/]*/\.\./'
12791 # Canonicalize the pathname of ld
12792 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12793 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12794 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12795 done
12796 test -z "$LD" && LD="$ac_prog"
12799 # If it fails, then pretend we aren't using GCC.
12800 ac_prog=ld
12803 # If it is relative, then search for the first ld in PATH.
12804 with_gnu_ld=unknown
12806 esac
12807 elif test "$with_gnu_ld" = yes; then
12808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12809 $as_echo_n "checking for GNU ld... " >&6; }
12810 else
12811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12812 $as_echo_n "checking for non-GNU ld... " >&6; }
12814 if ${lt_cv_path_LD+:} false; then :
12815 $as_echo_n "(cached) " >&6
12816 else
12817 if test -z "$LD"; then
12818 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12819 for ac_dir in $PATH; do
12820 IFS="$lt_save_ifs"
12821 test -z "$ac_dir" && ac_dir=.
12822 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12823 lt_cv_path_LD="$ac_dir/$ac_prog"
12824 # Check to see if the program is GNU ld. I'd rather use --version,
12825 # but apparently some variants of GNU ld only accept -v.
12826 # Break only if it was the GNU/non-GNU ld that we prefer.
12827 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12828 *GNU* | *'with BFD'*)
12829 test "$with_gnu_ld" != no && break
12832 test "$with_gnu_ld" != yes && break
12834 esac
12836 done
12837 IFS="$lt_save_ifs"
12838 else
12839 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12843 LD="$lt_cv_path_LD"
12844 if test -n "$LD"; then
12845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12846 $as_echo "$LD" >&6; }
12847 else
12848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12849 $as_echo "no" >&6; }
12851 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
12852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12853 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12854 if ${lt_cv_prog_gnu_ld+:} false; then :
12855 $as_echo_n "(cached) " >&6
12856 else
12857 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12858 case `$LD -v 2>&1 </dev/null` in
12859 *GNU* | *'with BFD'*)
12860 lt_cv_prog_gnu_ld=yes
12863 lt_cv_prog_gnu_ld=no
12865 esac
12867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12868 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12869 with_gnu_ld=$lt_cv_prog_gnu_ld
12877 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12878 # archiving commands below assume that GNU ld is being used.
12879 if test "$with_gnu_ld" = yes; then
12880 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12881 archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12883 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12884 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12886 # If archive_cmds runs LD, not CC, wlarc should be empty
12887 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12888 # investigate it a little bit more. (MM)
12889 wlarc='${wl}'
12891 # ancient GNU ld didn't support --whole-archive et. al.
12892 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12893 $GREP 'no-whole-archive' > /dev/null; then
12894 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12895 else
12896 whole_archive_flag_spec_CXX=
12898 else
12899 with_gnu_ld=no
12900 wlarc=
12902 # A generic and very simple default shared library creation
12903 # command for GNU C++ for the case where it uses the native
12904 # linker, instead of GNU ld. If possible, this setting should
12905 # overridden to take advantage of the native linker features on
12906 # the platform it is being used on.
12907 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12910 # Commands to make compiler produce verbose output that lists
12911 # what "hidden" libraries, object files and flags are used when
12912 # linking a shared library.
12913 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12915 else
12916 GXX=no
12917 with_gnu_ld=no
12918 wlarc=
12921 # PORTME: fill in a description of your system's C++ link characteristics
12922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12923 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12924 ld_shlibs_CXX=yes
12925 case $host_os in
12926 aix3*)
12927 # FIXME: insert proper C++ library support
12928 ld_shlibs_CXX=no
12930 aix[4-9]*)
12931 if test "$host_cpu" = ia64; then
12932 # On IA64, the linker does run time linking by default, so we don't
12933 # have to do anything special.
12934 aix_use_runtimelinking=no
12935 exp_sym_flag='-Bexport'
12936 no_entry_flag=""
12937 else
12938 aix_use_runtimelinking=no
12940 # Test if we are trying to use run time linking or normal
12941 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12942 # need to do runtime linking.
12943 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12944 for ld_flag in $LDFLAGS; do
12945 case $ld_flag in
12946 *-brtl*)
12947 aix_use_runtimelinking=yes
12948 break
12950 esac
12951 done
12953 esac
12955 exp_sym_flag='-bexport'
12956 no_entry_flag='-bnoentry'
12959 # When large executables or shared objects are built, AIX ld can
12960 # have problems creating the table of contents. If linking a library
12961 # or program results in "error TOC overflow" add -mminimal-toc to
12962 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12963 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12965 archive_cmds_CXX=''
12966 hardcode_direct_CXX=yes
12967 hardcode_direct_absolute_CXX=yes
12968 hardcode_libdir_separator_CXX=':'
12969 link_all_deplibs_CXX=yes
12970 file_list_spec_CXX='${wl}-f,'
12972 if test "$GXX" = yes; then
12973 case $host_os in aix4.[012]|aix4.[012].*)
12974 # We only want to do this on AIX 4.2 and lower, the check
12975 # below for broken collect2 doesn't work under 4.3+
12976 collect2name=`${CC} -print-prog-name=collect2`
12977 if test -f "$collect2name" &&
12978 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12979 then
12980 # We have reworked collect2
12982 else
12983 # We have old collect2
12984 hardcode_direct_CXX=unsupported
12985 # It fails to find uninstalled libraries when the uninstalled
12986 # path is not listed in the libpath. Setting hardcode_minus_L
12987 # to unsupported forces relinking
12988 hardcode_minus_L_CXX=yes
12989 hardcode_libdir_flag_spec_CXX='-L$libdir'
12990 hardcode_libdir_separator_CXX=
12992 esac
12993 shared_flag='-shared'
12994 if test "$aix_use_runtimelinking" = yes; then
12995 shared_flag="$shared_flag "'${wl}-G'
12997 else
12998 # not using gcc
12999 if test "$host_cpu" = ia64; then
13000 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13001 # chokes on -Wl,-G. The following line is correct:
13002 shared_flag='-G'
13003 else
13004 if test "$aix_use_runtimelinking" = yes; then
13005 shared_flag='${wl}-G'
13006 else
13007 shared_flag='${wl}-bM:SRE'
13012 export_dynamic_flag_spec_CXX='${wl}-bexpall'
13013 # It seems that -bexpall does not export symbols beginning with
13014 # underscore (_), so it is better to generate a list of symbols to
13015 # export.
13016 always_export_symbols_CXX=yes
13017 if test "$aix_use_runtimelinking" = yes; then
13018 # Warning - without using the other runtime loading flags (-brtl),
13019 # -berok will link without error, but may produce a broken library.
13020 allow_undefined_flag_CXX='-berok'
13021 # Determine the default libpath from the value encoded in an empty
13022 # executable.
13023 if test x$gcc_no_link = xyes; then
13024 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13027 /* end confdefs.h. */
13030 main ()
13034 return 0;
13036 _ACEOF
13037 if ac_fn_cxx_try_link "$LINENO"; then :
13039 lt_aix_libpath_sed='
13040 /Import File Strings/,/^$/ {
13041 /^0/ {
13042 s/^0 *\(.*\)$/\1/
13046 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13047 # Check for a 64-bit object if we didn't find anything.
13048 if test -z "$aix_libpath"; then
13049 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13052 rm -f core conftest.err conftest.$ac_objext \
13053 conftest$ac_exeext conftest.$ac_ext
13054 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13056 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
13058 archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
13059 else
13060 if test "$host_cpu" = ia64; then
13061 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
13062 allow_undefined_flag_CXX="-z nodefs"
13063 archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
13064 else
13065 # Determine the default libpath from the value encoded in an
13066 # empty executable.
13067 if test x$gcc_no_link = xyes; then
13068 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13071 /* end confdefs.h. */
13074 main ()
13078 return 0;
13080 _ACEOF
13081 if ac_fn_cxx_try_link "$LINENO"; then :
13083 lt_aix_libpath_sed='
13084 /Import File Strings/,/^$/ {
13085 /^0/ {
13086 s/^0 *\(.*\)$/\1/
13090 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13091 # Check for a 64-bit object if we didn't find anything.
13092 if test -z "$aix_libpath"; then
13093 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13096 rm -f core conftest.err conftest.$ac_objext \
13097 conftest$ac_exeext conftest.$ac_ext
13098 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13100 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
13101 # Warning - without using the other run time loading flags,
13102 # -berok will link without error, but may produce a broken library.
13103 no_undefined_flag_CXX=' ${wl}-bernotok'
13104 allow_undefined_flag_CXX=' ${wl}-berok'
13105 if test "$with_gnu_ld" = yes; then
13106 # We only use this code for GNU lds that support --whole-archive.
13107 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13108 else
13109 # Exported symbols can be pulled into shared objects from archives
13110 whole_archive_flag_spec_CXX='$convenience'
13112 archive_cmds_need_lc_CXX=yes
13113 # This is similar to how AIX traditionally builds its shared
13114 # libraries.
13115 archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
13120 beos*)
13121 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
13122 allow_undefined_flag_CXX=unsupported
13123 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13124 # support --undefined. This deserves some investigation. FIXME
13125 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13126 else
13127 ld_shlibs_CXX=no
13131 chorus*)
13132 case $cc_basename in
13134 # FIXME: insert proper C++ library support
13135 ld_shlibs_CXX=no
13137 esac
13140 cygwin* | mingw* | pw32* | cegcc*)
13141 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
13142 # as there is no search path for DLLs.
13143 hardcode_libdir_flag_spec_CXX='-L$libdir'
13144 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
13145 allow_undefined_flag_CXX=unsupported
13146 always_export_symbols_CXX=no
13147 enable_shared_with_static_runtimes_CXX=yes
13149 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
13150 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13151 # If the export-symbols file already is a .def file (1st line
13152 # is EXPORTS), use it as is; otherwise, prepend...
13153 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13154 cp $export_symbols $output_objdir/$soname.def;
13155 else
13156 echo EXPORTS > $output_objdir/$soname.def;
13157 cat $export_symbols >> $output_objdir/$soname.def;
13159 $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13160 else
13161 ld_shlibs_CXX=no
13164 darwin* | rhapsody*)
13167 archive_cmds_need_lc_CXX=no
13168 hardcode_direct_CXX=no
13169 hardcode_automatic_CXX=yes
13170 hardcode_shlibpath_var_CXX=unsupported
13171 if test "$lt_cv_ld_force_load" = "yes"; then
13172 whole_archive_flag_spec_CXX='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
13173 else
13174 whole_archive_flag_spec_CXX=''
13176 link_all_deplibs_CXX=yes
13177 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
13178 case $cc_basename in
13179 ifort*) _lt_dar_can_shared=yes ;;
13180 *) _lt_dar_can_shared=$GCC ;;
13181 esac
13182 if test "$_lt_dar_can_shared" = "yes"; then
13183 output_verbose_link_cmd=func_echo_all
13184 archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
13185 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
13186 archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
13187 module_expsym_cmds_CXX="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
13188 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
13189 archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
13190 archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
13193 else
13194 ld_shlibs_CXX=no
13199 dgux*)
13200 case $cc_basename in
13201 ec++*)
13202 # FIXME: insert proper C++ library support
13203 ld_shlibs_CXX=no
13205 ghcx*)
13206 # Green Hills C++ Compiler
13207 # FIXME: insert proper C++ library support
13208 ld_shlibs_CXX=no
13211 # FIXME: insert proper C++ library support
13212 ld_shlibs_CXX=no
13214 esac
13217 freebsd2.*)
13218 # C++ shared libraries reported to be fairly broken before
13219 # switch to ELF
13220 ld_shlibs_CXX=no
13223 freebsd-elf*)
13224 archive_cmds_need_lc_CXX=no
13227 freebsd* | dragonfly*)
13228 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
13229 # conventions
13230 ld_shlibs_CXX=yes
13233 gnu*)
13236 haiku*)
13237 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13238 link_all_deplibs_CXX=yes
13241 hpux9*)
13242 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13243 hardcode_libdir_separator_CXX=:
13244 export_dynamic_flag_spec_CXX='${wl}-E'
13245 hardcode_direct_CXX=yes
13246 hardcode_minus_L_CXX=yes # Not in the search PATH,
13247 # but as the default
13248 # location of the library.
13250 case $cc_basename in
13251 CC*)
13252 # FIXME: insert proper C++ library support
13253 ld_shlibs_CXX=no
13255 aCC*)
13256 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
13257 # Commands to make compiler produce verbose output that lists
13258 # what "hidden" libraries, object files and flags are used when
13259 # linking a shared library.
13261 # There doesn't appear to be a way to prevent this compiler from
13262 # explicitly linking system object files so we need to strip them
13263 # from the output so that they don't get included in the library
13264 # dependencies.
13265 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
13268 if test "$GXX" = yes; then
13269 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
13270 else
13271 # FIXME: insert proper C++ library support
13272 ld_shlibs_CXX=no
13275 esac
13278 hpux10*|hpux11*)
13279 if test $with_gnu_ld = no; then
13280 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13281 hardcode_libdir_separator_CXX=:
13283 case $host_cpu in
13284 hppa*64*|ia64*)
13287 export_dynamic_flag_spec_CXX='${wl}-E'
13289 esac
13291 case $host_cpu in
13292 hppa*64*|ia64*)
13293 hardcode_direct_CXX=no
13294 hardcode_shlibpath_var_CXX=no
13297 hardcode_direct_CXX=yes
13298 hardcode_direct_absolute_CXX=yes
13299 hardcode_minus_L_CXX=yes # Not in the search PATH,
13300 # but as the default
13301 # location of the library.
13303 esac
13305 case $cc_basename in
13306 CC*)
13307 # FIXME: insert proper C++ library support
13308 ld_shlibs_CXX=no
13310 aCC*)
13311 case $host_cpu in
13312 hppa*64*)
13313 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13315 ia64*)
13316 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13319 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13321 esac
13322 # Commands to make compiler produce verbose output that lists
13323 # what "hidden" libraries, object files and flags are used when
13324 # linking a shared library.
13326 # There doesn't appear to be a way to prevent this compiler from
13327 # explicitly linking system object files so we need to strip them
13328 # from the output so that they don't get included in the library
13329 # dependencies.
13330 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
13333 if test "$GXX" = yes; then
13334 if test $with_gnu_ld = no; then
13335 case $host_cpu in
13336 hppa*64*)
13337 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13339 ia64*)
13340 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13343 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13345 esac
13347 else
13348 # FIXME: insert proper C++ library support
13349 ld_shlibs_CXX=no
13352 esac
13355 interix[3-9]*)
13356 hardcode_direct_CXX=no
13357 hardcode_shlibpath_var_CXX=no
13358 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13359 export_dynamic_flag_spec_CXX='${wl}-E'
13360 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13361 # Instead, shared libraries are loaded at an image base (0x10000000 by
13362 # default) and relocated if they conflict, which is a slow very memory
13363 # consuming and fragmenting process. To avoid this, we pick a random,
13364 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13365 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
13366 archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
13367 archive_expsym_cmds_CXX='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
13369 irix5* | irix6*)
13370 case $cc_basename in
13371 CC*)
13372 # SGI C++
13373 archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
13375 # Archives containing C++ object files must be created using
13376 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
13377 # necessary to make sure instantiated templates are included
13378 # in the archive.
13379 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
13382 if test "$GXX" = yes; then
13383 if test "$with_gnu_ld" = no; then
13384 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13385 else
13386 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib'
13389 link_all_deplibs_CXX=yes
13391 esac
13392 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13393 hardcode_libdir_separator_CXX=:
13394 inherit_rpath_CXX=yes
13397 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13398 case $cc_basename in
13399 KCC*)
13400 # Kuck and Associates, Inc. (KAI) C++ Compiler
13402 # KCC will only create a shared library if the output file
13403 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13404 # to its proper name (with version) after linking.
13405 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
13406 archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
13407 # Commands to make compiler produce verbose output that lists
13408 # what "hidden" libraries, object files and flags are used when
13409 # linking a shared library.
13411 # There doesn't appear to be a way to prevent this compiler from
13412 # explicitly linking system object files so we need to strip them
13413 # from the output so that they don't get included in the library
13414 # dependencies.
13415 output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
13417 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13418 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13420 # Archives containing C++ object files must be created using
13421 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13422 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
13424 icpc* | ecpc* )
13425 # Intel C++
13426 with_gnu_ld=yes
13427 # version 8.0 and above of icpc choke on multiply defined symbols
13428 # if we add $predep_objects and $postdep_objects, however 7.1 and
13429 # earlier do not add the objects themselves.
13430 case `$CC -V 2>&1` in
13431 *"Version 7."*)
13432 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13433 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13435 *) # Version 8.0 or newer
13436 tmp_idyn=
13437 case $host_cpu in
13438 ia64*) tmp_idyn=' -i_dynamic';;
13439 esac
13440 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13441 archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13443 esac
13444 archive_cmds_need_lc_CXX=no
13445 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13446 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13447 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13449 pgCC* | pgcpp*)
13450 # Portland Group C++ compiler
13451 case `$CC -V` in
13452 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
13453 prelink_cmds_CXX='tpldir=Template.dir~
13454 rm -rf $tpldir~
13455 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
13456 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
13457 old_archive_cmds_CXX='tpldir=Template.dir~
13458 rm -rf $tpldir~
13459 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
13460 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
13461 $RANLIB $oldlib'
13462 archive_cmds_CXX='tpldir=Template.dir~
13463 rm -rf $tpldir~
13464 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13465 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13466 archive_expsym_cmds_CXX='tpldir=Template.dir~
13467 rm -rf $tpldir~
13468 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13469 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
13471 *) # Version 6 and above use weak symbols
13472 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13473 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
13475 esac
13477 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
13478 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13479 whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
13481 cxx*)
13482 # Compaq C++
13483 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13484 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
13486 runpath_var=LD_RUN_PATH
13487 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13488 hardcode_libdir_separator_CXX=:
13490 # Commands to make compiler produce verbose output that lists
13491 # what "hidden" libraries, object files and flags are used when
13492 # linking a shared library.
13494 # There doesn't appear to be a way to prevent this compiler from
13495 # explicitly linking system object files so we need to strip them
13496 # from the output so that they don't get included in the library
13497 # dependencies.
13498 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed'
13500 xl* | mpixl* | bgxl*)
13501 # IBM XL 8.0 on PPC, with GNU ld
13502 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13503 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13504 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13505 if test "x$supports_anon_versioning" = xyes; then
13506 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
13507 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13508 echo "local: *; };" >> $output_objdir/$libname.ver~
13509 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13513 case `$CC -V 2>&1 | sed 5q` in
13514 *Sun\ C*)
13515 # Sun C++ 5.9
13516 no_undefined_flag_CXX=' -zdefs'
13517 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13518 archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
13519 hardcode_libdir_flag_spec_CXX='-R$libdir'
13520 whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
13521 compiler_needs_object_CXX=yes
13523 # Not sure whether something based on
13524 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13525 # would be better.
13526 output_verbose_link_cmd='func_echo_all'
13528 # Archives containing C++ object files must be created using
13529 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13530 # necessary to make sure instantiated templates are included
13531 # in the archive.
13532 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13534 esac
13536 esac
13539 lynxos*)
13540 # FIXME: insert proper C++ library support
13541 ld_shlibs_CXX=no
13544 m88k*)
13545 # FIXME: insert proper C++ library support
13546 ld_shlibs_CXX=no
13549 mvs*)
13550 case $cc_basename in
13551 cxx*)
13552 # FIXME: insert proper C++ library support
13553 ld_shlibs_CXX=no
13556 # FIXME: insert proper C++ library support
13557 ld_shlibs_CXX=no
13559 esac
13562 netbsd*)
13563 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13564 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13565 wlarc=
13566 hardcode_libdir_flag_spec_CXX='-R$libdir'
13567 hardcode_direct_CXX=yes
13568 hardcode_shlibpath_var_CXX=no
13570 # Workaround some broken pre-1.5 toolchains
13571 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13574 *nto* | *qnx*)
13575 ld_shlibs_CXX=yes
13578 openbsd2*)
13579 # C++ shared libraries are fairly broken
13580 ld_shlibs_CXX=no
13583 openbsd*)
13584 if test -f /usr/libexec/ld.so; then
13585 hardcode_direct_CXX=yes
13586 hardcode_shlibpath_var_CXX=no
13587 hardcode_direct_absolute_CXX=yes
13588 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13589 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13590 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13591 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13592 export_dynamic_flag_spec_CXX='${wl}-E'
13593 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13595 output_verbose_link_cmd=func_echo_all
13596 else
13597 ld_shlibs_CXX=no
13601 osf3* | osf4* | osf5*)
13602 case $cc_basename in
13603 KCC*)
13604 # Kuck and Associates, Inc. (KAI) C++ Compiler
13606 # KCC will only create a shared library if the output file
13607 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13608 # to its proper name (with version) after linking.
13609 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
13611 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13612 hardcode_libdir_separator_CXX=:
13614 # Archives containing C++ object files must be created using
13615 # the KAI C++ compiler.
13616 case $host in
13617 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
13618 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
13619 esac
13621 RCC*)
13622 # Rational C++ 2.4.1
13623 # FIXME: insert proper C++ library support
13624 ld_shlibs_CXX=no
13626 cxx*)
13627 case $host in
13628 osf3*)
13629 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13630 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && func_echo_all "${wl}-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
13631 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13634 allow_undefined_flag_CXX=' -expect_unresolved \*'
13635 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
13636 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13637 echo "-hidden">> $lib.exp~
13638 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~
13639 $RM $lib.exp'
13640 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13642 esac
13644 hardcode_libdir_separator_CXX=:
13646 # Commands to make compiler produce verbose output that lists
13647 # what "hidden" libraries, object files and flags are used when
13648 # linking a shared library.
13650 # There doesn't appear to be a way to prevent this compiler from
13651 # explicitly linking system object files so we need to strip them
13652 # from the output so that they don't get included in the library
13653 # dependencies.
13654 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
13657 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13658 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13659 case $host in
13660 osf3*)
13661 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13664 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13666 esac
13668 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13669 hardcode_libdir_separator_CXX=:
13671 # Commands to make compiler produce verbose output that lists
13672 # what "hidden" libraries, object files and flags are used when
13673 # linking a shared library.
13674 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13676 else
13677 # FIXME: insert proper C++ library support
13678 ld_shlibs_CXX=no
13681 esac
13684 psos*)
13685 # FIXME: insert proper C++ library support
13686 ld_shlibs_CXX=no
13689 sunos4*)
13690 case $cc_basename in
13691 CC*)
13692 # Sun C++ 4.x
13693 # FIXME: insert proper C++ library support
13694 ld_shlibs_CXX=no
13696 lcc*)
13697 # Lucid
13698 # FIXME: insert proper C++ library support
13699 ld_shlibs_CXX=no
13702 # FIXME: insert proper C++ library support
13703 ld_shlibs_CXX=no
13705 esac
13708 solaris*)
13709 case $cc_basename in
13710 CC*)
13711 # Sun C++ 4.2, 5.x and Centerline C++
13712 archive_cmds_need_lc_CXX=yes
13713 no_undefined_flag_CXX=' -zdefs'
13714 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13715 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13716 $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13718 hardcode_libdir_flag_spec_CXX='-R$libdir'
13719 hardcode_shlibpath_var_CXX=no
13720 case $host_os in
13721 solaris2.[0-5] | solaris2.[0-5].*) ;;
13723 # The compiler driver will combine and reorder linker options,
13724 # but understands `-z linker_flag'.
13725 # Supported since Solaris 2.6 (maybe 2.5.1?)
13726 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13728 esac
13729 link_all_deplibs_CXX=yes
13731 output_verbose_link_cmd='func_echo_all'
13733 # Archives containing C++ object files must be created using
13734 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13735 # necessary to make sure instantiated templates are included
13736 # in the archive.
13737 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13739 gcx*)
13740 # Green Hills C++ Compiler
13741 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13743 # The C++ compiler must be used to create the archive.
13744 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13747 # GNU C++ compiler with Solaris linker
13748 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13749 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13750 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13751 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13752 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13753 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13755 # Commands to make compiler produce verbose output that lists
13756 # what "hidden" libraries, object files and flags are used when
13757 # linking a shared library.
13758 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13759 else
13760 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13761 # platform.
13762 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13763 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13764 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13766 # Commands to make compiler produce verbose output that lists
13767 # what "hidden" libraries, object files and flags are used when
13768 # linking a shared library.
13769 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13772 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13773 case $host_os in
13774 solaris2.[0-5] | solaris2.[0-5].*) ;;
13776 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13778 esac
13781 esac
13784 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13785 no_undefined_flag_CXX='${wl}-z,text'
13786 archive_cmds_need_lc_CXX=no
13787 hardcode_shlibpath_var_CXX=no
13788 runpath_var='LD_RUN_PATH'
13790 case $cc_basename in
13791 CC*)
13792 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13793 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13796 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13797 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13799 esac
13802 sysv5* | sco3.2v5* | sco5v6*)
13803 # Note: We can NOT use -z defs as we might desire, because we do not
13804 # link with -lc, and that would cause any symbols used from libc to
13805 # always be unresolved, which means just about no library would
13806 # ever link correctly. If we're not using GNU ld we use -z text
13807 # though, which does catch some bad symbols but isn't as heavy-handed
13808 # as -z defs.
13809 no_undefined_flag_CXX='${wl}-z,text'
13810 allow_undefined_flag_CXX='${wl}-z,nodefs'
13811 archive_cmds_need_lc_CXX=no
13812 hardcode_shlibpath_var_CXX=no
13813 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13814 hardcode_libdir_separator_CXX=':'
13815 link_all_deplibs_CXX=yes
13816 export_dynamic_flag_spec_CXX='${wl}-Bexport'
13817 runpath_var='LD_RUN_PATH'
13819 case $cc_basename in
13820 CC*)
13821 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13822 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13823 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13824 '"$old_archive_cmds_CXX"
13825 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13826 '"$reload_cmds_CXX"
13829 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13830 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13832 esac
13835 tandem*)
13836 case $cc_basename in
13837 NCC*)
13838 # NonStop-UX NCC 3.20
13839 # FIXME: insert proper C++ library support
13840 ld_shlibs_CXX=no
13843 # FIXME: insert proper C++ library support
13844 ld_shlibs_CXX=no
13846 esac
13849 vxworks*)
13850 # FIXME: insert proper C++ library support
13851 ld_shlibs_CXX=no
13855 # FIXME: insert proper C++ library support
13856 ld_shlibs_CXX=no
13858 esac
13860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13861 $as_echo "$ld_shlibs_CXX" >&6; }
13862 test "$ld_shlibs_CXX" = no && can_build_shared=no
13864 GCC_CXX="$GXX"
13865 LD_CXX="$LD"
13867 ## CAVEAT EMPTOR:
13868 ## There is no encapsulation within the following macros, do not change
13869 ## the running order or otherwise move them around unless you know exactly
13870 ## what you are doing...
13871 # Dependencies to place before and after the object being linked:
13872 predep_objects_CXX=
13873 postdep_objects_CXX=
13874 predeps_CXX=
13875 postdeps_CXX=
13876 compiler_lib_search_path_CXX=
13878 cat > conftest.$ac_ext <<_LT_EOF
13879 class Foo
13881 public:
13882 Foo (void) { a = 0; }
13883 private:
13884 int a;
13886 _LT_EOF
13888 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13889 (eval $ac_compile) 2>&5
13890 ac_status=$?
13891 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13892 test $ac_status = 0; }; then
13893 # Parse the compiler output and extract the necessary
13894 # objects, libraries and library flags.
13896 # Sentinel used to keep track of whether or not we are before
13897 # the conftest object file.
13898 pre_test_object_deps_done=no
13900 for p in `eval "$output_verbose_link_cmd"`; do
13901 case $p in
13903 -L* | -R* | -l*)
13904 # Some compilers place space between "-{L,R}" and the path.
13905 # Remove the space.
13906 if test $p = "-L" ||
13907 test $p = "-R"; then
13908 prev=$p
13909 continue
13910 else
13911 prev=
13914 if test "$pre_test_object_deps_done" = no; then
13915 case $p in
13916 -L* | -R*)
13917 # Internal compiler library paths should come after those
13918 # provided the user. The postdeps already come after the
13919 # user supplied libs so there is no need to process them.
13920 if test -z "$compiler_lib_search_path_CXX"; then
13921 compiler_lib_search_path_CXX="${prev}${p}"
13922 else
13923 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13926 # The "-l" case would never come before the object being
13927 # linked, so don't bother handling this case.
13928 esac
13929 else
13930 if test -z "$postdeps_CXX"; then
13931 postdeps_CXX="${prev}${p}"
13932 else
13933 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13938 *.$objext)
13939 # This assumes that the test object file only shows up
13940 # once in the compiler output.
13941 if test "$p" = "conftest.$objext"; then
13942 pre_test_object_deps_done=yes
13943 continue
13946 if test "$pre_test_object_deps_done" = no; then
13947 if test -z "$predep_objects_CXX"; then
13948 predep_objects_CXX="$p"
13949 else
13950 predep_objects_CXX="$predep_objects_CXX $p"
13952 else
13953 if test -z "$postdep_objects_CXX"; then
13954 postdep_objects_CXX="$p"
13955 else
13956 postdep_objects_CXX="$postdep_objects_CXX $p"
13961 *) ;; # Ignore the rest.
13963 esac
13964 done
13966 # Clean up.
13967 rm -f a.out a.exe
13968 else
13969 echo "libtool.m4: error: problem compiling CXX test program"
13972 $RM -f confest.$objext
13974 # PORTME: override above test on systems where it is broken
13975 case $host_os in
13976 interix[3-9]*)
13977 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13978 # hack all around it, let's just trust "g++" to DTRT.
13979 predep_objects_CXX=
13980 postdep_objects_CXX=
13981 postdeps_CXX=
13984 linux*)
13985 case `$CC -V 2>&1 | sed 5q` in
13986 *Sun\ C*)
13987 # Sun C++ 5.9
13989 # The more standards-conforming stlport4 library is
13990 # incompatible with the Cstd library. Avoid specifying
13991 # it if it's in CXXFLAGS. Ignore libCrun as
13992 # -library=stlport4 depends on it.
13993 case " $CXX $CXXFLAGS " in
13994 *" -library=stlport4 "*)
13995 solaris_use_stlport4=yes
13997 esac
13999 if test "$solaris_use_stlport4" != yes; then
14000 postdeps_CXX='-library=Cstd -library=Crun'
14003 esac
14006 solaris*)
14007 case $cc_basename in
14008 CC*)
14009 # The more standards-conforming stlport4 library is
14010 # incompatible with the Cstd library. Avoid specifying
14011 # it if it's in CXXFLAGS. Ignore libCrun as
14012 # -library=stlport4 depends on it.
14013 case " $CXX $CXXFLAGS " in
14014 *" -library=stlport4 "*)
14015 solaris_use_stlport4=yes
14017 esac
14019 # Adding this requires a known-good setup of shared libraries for
14020 # Sun compiler versions before 5.6, else PIC objects from an old
14021 # archive will be linked into the output, leading to subtle bugs.
14022 if test "$solaris_use_stlport4" != yes; then
14023 postdeps_CXX='-library=Cstd -library=Crun'
14026 esac
14028 esac
14031 case " $postdeps_CXX " in
14032 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
14033 esac
14034 compiler_lib_search_dirs_CXX=
14035 if test -n "${compiler_lib_search_path_CXX}"; then
14036 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
14069 lt_prog_compiler_wl_CXX=
14070 lt_prog_compiler_pic_CXX=
14071 lt_prog_compiler_static_CXX=
14073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
14074 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
14076 # C++ specific cases for pic, static, wl, etc.
14077 if test "$GXX" = yes; then
14078 lt_prog_compiler_wl_CXX='-Wl,'
14079 lt_prog_compiler_static_CXX='-static'
14081 case $host_os in
14082 aix*)
14083 # All AIX code is PIC.
14084 if test "$host_cpu" = ia64; then
14085 # AIX 5 now supports IA64 processor
14086 lt_prog_compiler_static_CXX='-Bstatic'
14088 lt_prog_compiler_pic_CXX='-fPIC'
14091 amigaos*)
14092 case $host_cpu in
14093 powerpc)
14094 # see comment about AmigaOS4 .so support
14095 lt_prog_compiler_pic_CXX='-fPIC'
14097 m68k)
14098 # FIXME: we need at least 68020 code to build shared libraries, but
14099 # adding the `-m68020' flag to GCC prevents building anything better,
14100 # like `-m68040'.
14101 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
14103 esac
14106 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
14107 # PIC is the default for these OSes.
14109 mingw* | cygwin* | os2* | pw32* | cegcc*)
14110 # This hack is so that the source file can tell whether it is being
14111 # built for inclusion in a dll (and should export symbols for example).
14112 # Although the cygwin gcc ignores -fPIC, still need this for old-style
14113 # (--disable-auto-import) libraries
14114 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
14116 darwin* | rhapsody*)
14117 # PIC is the default on this platform
14118 # Common symbols not allowed in MH_DYLIB files
14119 lt_prog_compiler_pic_CXX='-fno-common'
14121 *djgpp*)
14122 # DJGPP does not support shared libraries at all
14123 lt_prog_compiler_pic_CXX=
14125 haiku*)
14126 # PIC is the default for Haiku.
14127 # The "-static" flag exists, but is broken.
14128 lt_prog_compiler_static_CXX=
14130 interix[3-9]*)
14131 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14132 # Instead, we relocate shared libraries at runtime.
14134 sysv4*MP*)
14135 if test -d /usr/nec; then
14136 lt_prog_compiler_pic_CXX=-Kconform_pic
14139 hpux*)
14140 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
14141 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
14142 # sets the default TLS model and affects inlining.
14143 case $host_cpu in
14144 hppa*64*)
14147 lt_prog_compiler_pic_CXX='-fPIC'
14149 esac
14151 *qnx* | *nto*)
14152 # QNX uses GNU C++, but need to define -shared option too, otherwise
14153 # it will coredump.
14154 lt_prog_compiler_pic_CXX='-fPIC -shared'
14157 lt_prog_compiler_pic_CXX='-fPIC'
14159 esac
14160 else
14161 case $host_os in
14162 aix[4-9]*)
14163 # All AIX code is PIC.
14164 if test "$host_cpu" = ia64; then
14165 # AIX 5 now supports IA64 processor
14166 lt_prog_compiler_static_CXX='-Bstatic'
14167 else
14168 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
14171 chorus*)
14172 case $cc_basename in
14173 cxch68*)
14174 # Green Hills C++ Compiler
14175 # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
14177 esac
14179 dgux*)
14180 case $cc_basename in
14181 ec++*)
14182 lt_prog_compiler_pic_CXX='-KPIC'
14184 ghcx*)
14185 # Green Hills C++ Compiler
14186 lt_prog_compiler_pic_CXX='-pic'
14190 esac
14192 freebsd* | dragonfly*)
14193 # FreeBSD uses GNU C++
14195 hpux9* | hpux10* | hpux11*)
14196 case $cc_basename in
14197 CC*)
14198 lt_prog_compiler_wl_CXX='-Wl,'
14199 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
14200 if test "$host_cpu" != ia64; then
14201 lt_prog_compiler_pic_CXX='+Z'
14204 aCC*)
14205 lt_prog_compiler_wl_CXX='-Wl,'
14206 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
14207 case $host_cpu in
14208 hppa*64*|ia64*)
14209 # +Z the default
14212 lt_prog_compiler_pic_CXX='+Z'
14214 esac
14218 esac
14220 interix*)
14221 # This is c89, which is MS Visual C++ (no shared libs)
14222 # Anyone wants to do a port?
14224 irix5* | irix6* | nonstopux*)
14225 case $cc_basename in
14226 CC*)
14227 lt_prog_compiler_wl_CXX='-Wl,'
14228 lt_prog_compiler_static_CXX='-non_shared'
14229 # CC pic flag -KPIC is the default.
14233 esac
14235 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14236 case $cc_basename in
14237 KCC*)
14238 # KAI C++ Compiler
14239 lt_prog_compiler_wl_CXX='--backend -Wl,'
14240 lt_prog_compiler_pic_CXX='-fPIC'
14242 ecpc* )
14243 # old Intel C++ for x86_64 which still supported -KPIC.
14244 lt_prog_compiler_wl_CXX='-Wl,'
14245 lt_prog_compiler_pic_CXX='-KPIC'
14246 lt_prog_compiler_static_CXX='-static'
14248 icpc* )
14249 # Intel C++, used to be incompatible with GCC.
14250 # ICC 10 doesn't accept -KPIC any more.
14251 lt_prog_compiler_wl_CXX='-Wl,'
14252 lt_prog_compiler_pic_CXX='-fPIC'
14253 lt_prog_compiler_static_CXX='-static'
14255 pgCC* | pgcpp*)
14256 # Portland Group C++ compiler
14257 lt_prog_compiler_wl_CXX='-Wl,'
14258 lt_prog_compiler_pic_CXX='-fpic'
14259 lt_prog_compiler_static_CXX='-Bstatic'
14261 cxx*)
14262 # Compaq C++
14263 # Make sure the PIC flag is empty. It appears that all Alpha
14264 # Linux and Compaq Tru64 Unix objects are PIC.
14265 lt_prog_compiler_pic_CXX=
14266 lt_prog_compiler_static_CXX='-non_shared'
14268 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
14269 # IBM XL 8.0, 9.0 on PPC and BlueGene
14270 lt_prog_compiler_wl_CXX='-Wl,'
14271 lt_prog_compiler_pic_CXX='-qpic'
14272 lt_prog_compiler_static_CXX='-qstaticlink'
14275 case `$CC -V 2>&1 | sed 5q` in
14276 *Sun\ C*)
14277 # Sun C++ 5.9
14278 lt_prog_compiler_pic_CXX='-KPIC'
14279 lt_prog_compiler_static_CXX='-Bstatic'
14280 lt_prog_compiler_wl_CXX='-Qoption ld '
14282 esac
14284 esac
14286 lynxos*)
14288 m88k*)
14290 mvs*)
14291 case $cc_basename in
14292 cxx*)
14293 lt_prog_compiler_pic_CXX='-W c,exportall'
14297 esac
14299 netbsd*)
14301 *qnx* | *nto*)
14302 # QNX uses GNU C++, but need to define -shared option too, otherwise
14303 # it will coredump.
14304 lt_prog_compiler_pic_CXX='-fPIC -shared'
14306 osf3* | osf4* | osf5*)
14307 case $cc_basename in
14308 KCC*)
14309 lt_prog_compiler_wl_CXX='--backend -Wl,'
14311 RCC*)
14312 # Rational C++ 2.4.1
14313 lt_prog_compiler_pic_CXX='-pic'
14315 cxx*)
14316 # Digital/Compaq C++
14317 lt_prog_compiler_wl_CXX='-Wl,'
14318 # Make sure the PIC flag is empty. It appears that all Alpha
14319 # Linux and Compaq Tru64 Unix objects are PIC.
14320 lt_prog_compiler_pic_CXX=
14321 lt_prog_compiler_static_CXX='-non_shared'
14325 esac
14327 psos*)
14329 solaris*)
14330 case $cc_basename in
14331 CC*)
14332 # Sun C++ 4.2, 5.x and Centerline C++
14333 lt_prog_compiler_pic_CXX='-KPIC'
14334 lt_prog_compiler_static_CXX='-Bstatic'
14335 lt_prog_compiler_wl_CXX='-Qoption ld '
14337 gcx*)
14338 # Green Hills C++ Compiler
14339 lt_prog_compiler_pic_CXX='-PIC'
14343 esac
14345 sunos4*)
14346 case $cc_basename in
14347 CC*)
14348 # Sun C++ 4.x
14349 lt_prog_compiler_pic_CXX='-pic'
14350 lt_prog_compiler_static_CXX='-Bstatic'
14352 lcc*)
14353 # Lucid
14354 lt_prog_compiler_pic_CXX='-pic'
14358 esac
14360 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
14361 case $cc_basename in
14362 CC*)
14363 lt_prog_compiler_wl_CXX='-Wl,'
14364 lt_prog_compiler_pic_CXX='-KPIC'
14365 lt_prog_compiler_static_CXX='-Bstatic'
14367 esac
14369 tandem*)
14370 case $cc_basename in
14371 NCC*)
14372 # NonStop-UX NCC 3.20
14373 lt_prog_compiler_pic_CXX='-KPIC'
14377 esac
14379 vxworks*)
14382 lt_prog_compiler_can_build_shared_CXX=no
14384 esac
14387 case $host_os in
14388 # For platforms which do not support PIC, -DPIC is meaningless:
14389 *djgpp*)
14390 lt_prog_compiler_pic_CXX=
14393 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
14395 esac
14396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
14397 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
14402 # Check to make sure the PIC flag actually works.
14404 if test -n "$lt_prog_compiler_pic_CXX"; then
14405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14406 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
14407 if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
14408 $as_echo_n "(cached) " >&6
14409 else
14410 lt_cv_prog_compiler_pic_works_CXX=no
14411 ac_outfile=conftest.$ac_objext
14412 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14413 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
14414 # Insert the option either (1) after the last *FLAGS variable, or
14415 # (2) before a word containing "conftest.", or (3) at the end.
14416 # Note that $ac_compile itself does not contain backslashes and begins
14417 # with a dollar sign (not a hyphen), so the echo should work correctly.
14418 # The option is referenced via a variable to avoid confusing sed.
14419 lt_compile=`echo "$ac_compile" | $SED \
14420 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14421 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14422 -e 's:$: $lt_compiler_flag:'`
14423 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14424 (eval "$lt_compile" 2>conftest.err)
14425 ac_status=$?
14426 cat conftest.err >&5
14427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14428 if (exit $ac_status) && test -s "$ac_outfile"; then
14429 # The compiler can only warn and ignore the option if not recognized
14430 # So say no if there are warnings other than the usual output.
14431 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
14432 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14433 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
14434 lt_cv_prog_compiler_pic_works_CXX=yes
14437 $RM conftest*
14440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
14441 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
14443 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
14444 case $lt_prog_compiler_pic_CXX in
14445 "" | " "*) ;;
14446 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
14447 esac
14448 else
14449 lt_prog_compiler_pic_CXX=
14450 lt_prog_compiler_can_build_shared_CXX=no
14458 # Check to make sure the static flag actually works.
14460 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
14461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14462 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14463 if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
14464 $as_echo_n "(cached) " >&6
14465 else
14466 lt_cv_prog_compiler_static_works_CXX=no
14467 save_LDFLAGS="$LDFLAGS"
14468 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
14469 echo "$lt_simple_link_test_code" > conftest.$ac_ext
14470 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
14471 # The linker can only warn and ignore the option if not recognized
14472 # So say no if there are warnings
14473 if test -s conftest.err; then
14474 # Append any errors to the config.log.
14475 cat conftest.err 1>&5
14476 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
14477 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14478 if diff conftest.exp conftest.er2 >/dev/null; then
14479 lt_cv_prog_compiler_static_works_CXX=yes
14481 else
14482 lt_cv_prog_compiler_static_works_CXX=yes
14485 $RM -r conftest*
14486 LDFLAGS="$save_LDFLAGS"
14489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
14490 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
14492 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
14494 else
14495 lt_prog_compiler_static_CXX=
14501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14502 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14503 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
14504 $as_echo_n "(cached) " >&6
14505 else
14506 lt_cv_prog_compiler_c_o_CXX=no
14507 $RM -r conftest 2>/dev/null
14508 mkdir conftest
14509 cd conftest
14510 mkdir out
14511 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14513 lt_compiler_flag="-o out/conftest2.$ac_objext"
14514 # Insert the option either (1) after the last *FLAGS variable, or
14515 # (2) before a word containing "conftest.", or (3) at the end.
14516 # Note that $ac_compile itself does not contain backslashes and begins
14517 # with a dollar sign (not a hyphen), so the echo should work correctly.
14518 lt_compile=`echo "$ac_compile" | $SED \
14519 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14520 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14521 -e 's:$: $lt_compiler_flag:'`
14522 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14523 (eval "$lt_compile" 2>out/conftest.err)
14524 ac_status=$?
14525 cat out/conftest.err >&5
14526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14527 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14528 then
14529 # The compiler can only warn and ignore the option if not recognized
14530 # So say no if there are warnings
14531 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14532 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14533 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14534 lt_cv_prog_compiler_c_o_CXX=yes
14537 chmod u+w . 2>&5
14538 $RM conftest*
14539 # SGI C++ compiler will create directory out/ii_files/ for
14540 # template instantiation
14541 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14542 $RM out/* && rmdir out
14543 cd ..
14544 $RM -r conftest
14545 $RM conftest*
14548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14549 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14554 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14555 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
14556 $as_echo_n "(cached) " >&6
14557 else
14558 lt_cv_prog_compiler_c_o_CXX=no
14559 $RM -r conftest 2>/dev/null
14560 mkdir conftest
14561 cd conftest
14562 mkdir out
14563 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14565 lt_compiler_flag="-o out/conftest2.$ac_objext"
14566 # Insert the option either (1) after the last *FLAGS variable, or
14567 # (2) before a word containing "conftest.", or (3) at the end.
14568 # Note that $ac_compile itself does not contain backslashes and begins
14569 # with a dollar sign (not a hyphen), so the echo should work correctly.
14570 lt_compile=`echo "$ac_compile" | $SED \
14571 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14572 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14573 -e 's:$: $lt_compiler_flag:'`
14574 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14575 (eval "$lt_compile" 2>out/conftest.err)
14576 ac_status=$?
14577 cat out/conftest.err >&5
14578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14579 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14580 then
14581 # The compiler can only warn and ignore the option if not recognized
14582 # So say no if there are warnings
14583 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14584 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14585 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14586 lt_cv_prog_compiler_c_o_CXX=yes
14589 chmod u+w . 2>&5
14590 $RM conftest*
14591 # SGI C++ compiler will create directory out/ii_files/ for
14592 # template instantiation
14593 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14594 $RM out/* && rmdir out
14595 cd ..
14596 $RM -r conftest
14597 $RM conftest*
14600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14601 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14606 hard_links="nottested"
14607 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
14608 # do not overwrite the value of need_locks provided by the user
14609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14610 $as_echo_n "checking if we can lock with hard links... " >&6; }
14611 hard_links=yes
14612 $RM conftest*
14613 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14614 touch conftest.a
14615 ln conftest.a conftest.b 2>&5 || hard_links=no
14616 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14618 $as_echo "$hard_links" >&6; }
14619 if test "$hard_links" = no; then
14620 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14621 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14622 need_locks=warn
14624 else
14625 need_locks=no
14630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14631 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14633 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14634 case $host_os in
14635 aix[4-9]*)
14636 # If we're using GNU nm, then we don't want the "-C" option.
14637 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14638 # Also, AIX nm treats weak defined symbols like other global defined
14639 # symbols, whereas GNU nm marks them as "W".
14640 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14641 export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
14642 else
14643 export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
14646 pw32*)
14647 export_symbols_cmds_CXX="$ltdll_cmds"
14649 cygwin* | mingw* | cegcc*)
14650 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;/^.*[ ]__nm__/s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
14653 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14655 esac
14656 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14659 $as_echo "$ld_shlibs_CXX" >&6; }
14660 test "$ld_shlibs_CXX" = no && can_build_shared=no
14662 with_gnu_ld_CXX=$with_gnu_ld
14670 # Do we need to explicitly link libc?
14672 case "x$archive_cmds_need_lc_CXX" in
14673 x|xyes)
14674 # Assume -lc should be added
14675 archive_cmds_need_lc_CXX=yes
14677 if test "$enable_shared" = yes && test "$GCC" = yes; then
14678 case $archive_cmds_CXX in
14679 *'~'*)
14680 # FIXME: we may have to deal with multi-command sequences.
14682 '$CC '*)
14683 # Test whether the compiler implicitly links with -lc since on some
14684 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14685 # to ld, don't add -lc before -lgcc.
14686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14687 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14688 if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
14689 $as_echo_n "(cached) " >&6
14690 else
14691 $RM conftest*
14692 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14694 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14695 (eval $ac_compile) 2>&5
14696 ac_status=$?
14697 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14698 test $ac_status = 0; } 2>conftest.err; then
14699 soname=conftest
14700 lib=conftest
14701 libobjs=conftest.$ac_objext
14702 deplibs=
14703 wl=$lt_prog_compiler_wl_CXX
14704 pic_flag=$lt_prog_compiler_pic_CXX
14705 compiler_flags=-v
14706 linker_flags=-v
14707 verstring=
14708 output_objdir=.
14709 libname=conftest
14710 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14711 allow_undefined_flag_CXX=
14712 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14713 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14714 ac_status=$?
14715 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14716 test $ac_status = 0; }
14717 then
14718 lt_cv_archive_cmds_need_lc_CXX=no
14719 else
14720 lt_cv_archive_cmds_need_lc_CXX=yes
14722 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14723 else
14724 cat conftest.err 1>&5
14726 $RM conftest*
14729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14730 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14731 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14733 esac
14736 esac
14801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14802 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14804 library_names_spec=
14805 libname_spec='lib$name'
14806 soname_spec=
14807 shrext_cmds=".so"
14808 postinstall_cmds=
14809 postuninstall_cmds=
14810 finish_cmds=
14811 finish_eval=
14812 shlibpath_var=
14813 shlibpath_overrides_runpath=unknown
14814 version_type=none
14815 dynamic_linker="$host_os ld.so"
14816 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14817 need_lib_prefix=unknown
14818 hardcode_into_libs=no
14820 # when you set need_version to no, make sure it does not cause -set_version
14821 # flags to be left without arguments
14822 need_version=unknown
14824 case $host_os in
14825 aix3*)
14826 version_type=linux
14827 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14828 shlibpath_var=LIBPATH
14830 # AIX 3 has no versioning support, so we append a major version to the name.
14831 soname_spec='${libname}${release}${shared_ext}$major'
14834 aix[4-9]*)
14835 version_type=linux
14836 need_lib_prefix=no
14837 need_version=no
14838 hardcode_into_libs=yes
14839 if test "$host_cpu" = ia64; then
14840 # AIX 5 supports IA64
14841 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14842 shlibpath_var=LD_LIBRARY_PATH
14843 else
14844 # With GCC up to 2.95.x, collect2 would create an import file
14845 # for dependence libraries. The import file would start with
14846 # the line `#! .'. This would cause the generated library to
14847 # depend on `.', always an invalid library. This was fixed in
14848 # development snapshots of GCC prior to 3.0.
14849 case $host_os in
14850 aix4 | aix4.[01] | aix4.[01].*)
14851 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14852 echo ' yes '
14853 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14855 else
14856 can_build_shared=no
14859 esac
14860 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14861 # soname into executable. Probably we can add versioning support to
14862 # collect2, so additional links can be useful in future.
14863 if test "$aix_use_runtimelinking" = yes; then
14864 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14865 # instead of lib<name>.a to let people know that these are not
14866 # typical AIX shared libraries.
14867 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14868 else
14869 # We preserve .a as extension for shared libraries through AIX4.2
14870 # and later when we are not doing run time linking.
14871 library_names_spec='${libname}${release}.a $libname.a'
14872 soname_spec='${libname}${release}${shared_ext}$major'
14874 shlibpath_var=LIBPATH
14878 amigaos*)
14879 case $host_cpu in
14880 powerpc)
14881 # Since July 2007 AmigaOS4 officially supports .so libraries.
14882 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14883 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14885 m68k)
14886 library_names_spec='$libname.ixlibrary $libname.a'
14887 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14888 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
14890 esac
14893 beos*)
14894 library_names_spec='${libname}${shared_ext}'
14895 dynamic_linker="$host_os ld.so"
14896 shlibpath_var=LIBRARY_PATH
14899 bsdi[45]*)
14900 version_type=linux
14901 need_version=no
14902 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14903 soname_spec='${libname}${release}${shared_ext}$major'
14904 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14905 shlibpath_var=LD_LIBRARY_PATH
14906 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14907 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14908 # the default ld.so.conf also contains /usr/contrib/lib and
14909 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14910 # libtool to hard-code these into programs
14913 cygwin* | mingw* | pw32* | cegcc*)
14914 version_type=windows
14915 shrext_cmds=".dll"
14916 need_version=no
14917 need_lib_prefix=no
14919 case $GCC,$host_os in
14920 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14921 library_names_spec='$libname.dll.a'
14922 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14923 postinstall_cmds='base_file=`basename \${file}`~
14924 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14925 dldir=$destdir/`dirname \$dlpath`~
14926 test -d \$dldir || mkdir -p \$dldir~
14927 $install_prog $dir/$dlname \$dldir/$dlname~
14928 chmod a+x \$dldir/$dlname~
14929 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14930 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14932 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14933 dlpath=$dir/\$dldll~
14934 $RM \$dlpath'
14935 shlibpath_overrides_runpath=yes
14937 case $host_os in
14938 cygwin*)
14939 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14940 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14943 mingw* | cegcc*)
14944 # MinGW DLLs use traditional 'lib' prefix
14945 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14947 pw32*)
14948 # pw32 DLLs use 'pw' prefix rather than 'lib'
14949 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14951 esac
14955 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14957 esac
14958 dynamic_linker='Win32 ld.exe'
14959 # FIXME: first we should search . and the directory the executable is in
14960 shlibpath_var=PATH
14963 darwin* | rhapsody*)
14964 dynamic_linker="$host_os dyld"
14965 version_type=darwin
14966 need_lib_prefix=no
14967 need_version=no
14968 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14969 soname_spec='${libname}${release}${major}$shared_ext'
14970 shlibpath_overrides_runpath=yes
14971 shlibpath_var=DYLD_LIBRARY_PATH
14972 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14974 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14977 dgux*)
14978 version_type=linux
14979 need_lib_prefix=no
14980 need_version=no
14981 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14982 soname_spec='${libname}${release}${shared_ext}$major'
14983 shlibpath_var=LD_LIBRARY_PATH
14986 freebsd* | dragonfly*)
14987 # DragonFly does not have aout. When/if they implement a new
14988 # versioning mechanism, adjust this.
14989 if test -x /usr/bin/objformat; then
14990 objformat=`/usr/bin/objformat`
14991 else
14992 case $host_os in
14993 freebsd[23].*) objformat=aout ;;
14994 *) objformat=elf ;;
14995 esac
14997 version_type=freebsd-$objformat
14998 case $version_type in
14999 freebsd-elf*)
15000 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15001 need_version=no
15002 need_lib_prefix=no
15004 freebsd-*)
15005 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15006 need_version=yes
15008 esac
15009 shlibpath_var=LD_LIBRARY_PATH
15010 case $host_os in
15011 freebsd2.*)
15012 shlibpath_overrides_runpath=yes
15014 freebsd3.[01]* | freebsdelf3.[01]*)
15015 shlibpath_overrides_runpath=yes
15016 hardcode_into_libs=yes
15018 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
15019 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
15020 shlibpath_overrides_runpath=no
15021 hardcode_into_libs=yes
15023 *) # from 4.6 on, and DragonFly
15024 shlibpath_overrides_runpath=yes
15025 hardcode_into_libs=yes
15027 esac
15030 haiku*)
15031 version_type=linux
15032 need_lib_prefix=no
15033 need_version=no
15034 dynamic_linker="$host_os runtime_loader"
15035 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15036 soname_spec='${libname}${release}${shared_ext}$major'
15037 shlibpath_var=LIBRARY_PATH
15038 shlibpath_overrides_runpath=yes
15039 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
15040 hardcode_into_libs=yes
15043 hpux9* | hpux10* | hpux11*)
15044 # Give a soname corresponding to the major version so that dld.sl refuses to
15045 # link against other versions.
15046 version_type=sunos
15047 need_lib_prefix=no
15048 need_version=no
15049 case $host_cpu in
15050 ia64*)
15051 shrext_cmds='.so'
15052 hardcode_into_libs=yes
15053 dynamic_linker="$host_os dld.so"
15054 shlibpath_var=LD_LIBRARY_PATH
15055 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15056 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15057 soname_spec='${libname}${release}${shared_ext}$major'
15058 if test "X$HPUX_IA64_MODE" = X32; then
15059 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15060 else
15061 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
15063 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15065 hppa*64*)
15066 shrext_cmds='.sl'
15067 hardcode_into_libs=yes
15068 dynamic_linker="$host_os dld.sl"
15069 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
15070 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15071 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15072 soname_spec='${libname}${release}${shared_ext}$major'
15073 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15074 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15077 shrext_cmds='.sl'
15078 dynamic_linker="$host_os dld.sl"
15079 shlibpath_var=SHLIB_PATH
15080 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
15081 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15082 soname_spec='${libname}${release}${shared_ext}$major'
15084 esac
15085 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15086 postinstall_cmds='chmod 555 $lib'
15087 # or fails outright, so override atomically:
15088 install_override_mode=555
15091 interix[3-9]*)
15092 version_type=linux
15093 need_lib_prefix=no
15094 need_version=no
15095 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15096 soname_spec='${libname}${release}${shared_ext}$major'
15097 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
15098 shlibpath_var=LD_LIBRARY_PATH
15099 shlibpath_overrides_runpath=no
15100 hardcode_into_libs=yes
15103 irix5* | irix6* | nonstopux*)
15104 case $host_os in
15105 nonstopux*) version_type=nonstopux ;;
15107 if test "$lt_cv_prog_gnu_ld" = yes; then
15108 version_type=linux
15109 else
15110 version_type=irix
15111 fi ;;
15112 esac
15113 need_lib_prefix=no
15114 need_version=no
15115 soname_spec='${libname}${release}${shared_ext}$major'
15116 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15117 case $host_os in
15118 irix5* | nonstopux*)
15119 libsuff= shlibsuff=
15122 case $LD in # libtool.m4 will add one of these switches to LD
15123 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
15124 libsuff= shlibsuff= libmagic=32-bit;;
15125 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
15126 libsuff=32 shlibsuff=N32 libmagic=N32;;
15127 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
15128 libsuff=64 shlibsuff=64 libmagic=64-bit;;
15129 *) libsuff= shlibsuff= libmagic=never-match;;
15130 esac
15132 esac
15133 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
15134 shlibpath_overrides_runpath=no
15135 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15136 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
15137 hardcode_into_libs=yes
15140 # No shared lib support for Linux oldld, aout, or coff.
15141 linux*oldld* | linux*aout* | linux*coff*)
15142 dynamic_linker=no
15145 # This must be Linux ELF.
15147 # uclinux* changes (here and below) have been submitted to the libtool
15148 # project, but have not yet been accepted: they are GCC-local changes
15149 # for the time being. (See
15150 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
15151 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu* | uclinuxfdpiceabi)
15152 version_type=linux
15153 need_lib_prefix=no
15154 need_version=no
15155 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15156 soname_spec='${libname}${release}${shared_ext}$major'
15157 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15158 shlibpath_var=LD_LIBRARY_PATH
15159 shlibpath_overrides_runpath=no
15161 # Some binutils ld are patched to set DT_RUNPATH
15162 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
15163 $as_echo_n "(cached) " >&6
15164 else
15165 lt_cv_shlibpath_overrides_runpath=no
15166 save_LDFLAGS=$LDFLAGS
15167 save_libdir=$libdir
15168 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
15169 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
15170 if test x$gcc_no_link = xyes; then
15171 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15174 /* end confdefs.h. */
15177 main ()
15181 return 0;
15183 _ACEOF
15184 if ac_fn_cxx_try_link "$LINENO"; then :
15185 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
15186 lt_cv_shlibpath_overrides_runpath=yes
15189 rm -f core conftest.err conftest.$ac_objext \
15190 conftest$ac_exeext conftest.$ac_ext
15191 LDFLAGS=$save_LDFLAGS
15192 libdir=$save_libdir
15196 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
15198 # This implies no fast_install, which is unacceptable.
15199 # Some rework will be needed to allow for fast_install
15200 # before this can be enabled.
15201 hardcode_into_libs=yes
15203 # Append ld.so.conf contents to the search path
15204 if test -f /etc/ld.so.conf; then
15205 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
15206 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
15209 # We used to test for /lib/ld.so.1 and disable shared libraries on
15210 # powerpc, because MkLinux only supported shared libraries with the
15211 # GNU dynamic linker. Since this was broken with cross compilers,
15212 # most powerpc-linux boxes support dynamic linking these days and
15213 # people can always --disable-shared, the test was removed, and we
15214 # assume the GNU/Linux dynamic linker is in use.
15215 dynamic_linker='GNU/Linux ld.so'
15218 netbsd*)
15219 version_type=sunos
15220 need_lib_prefix=no
15221 need_version=no
15222 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
15223 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15224 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15225 dynamic_linker='NetBSD (a.out) ld.so'
15226 else
15227 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15228 soname_spec='${libname}${release}${shared_ext}$major'
15229 dynamic_linker='NetBSD ld.elf_so'
15231 shlibpath_var=LD_LIBRARY_PATH
15232 shlibpath_overrides_runpath=yes
15233 hardcode_into_libs=yes
15236 newsos6)
15237 version_type=linux
15238 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15239 shlibpath_var=LD_LIBRARY_PATH
15240 shlibpath_overrides_runpath=yes
15243 *nto* | *qnx*)
15244 version_type=qnx
15245 need_lib_prefix=no
15246 need_version=no
15247 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15248 soname_spec='${libname}${release}${shared_ext}$major'
15249 shlibpath_var=LD_LIBRARY_PATH
15250 shlibpath_overrides_runpath=no
15251 hardcode_into_libs=yes
15252 dynamic_linker='ldqnx.so'
15255 openbsd*)
15256 version_type=sunos
15257 sys_lib_dlsearch_path_spec="/usr/lib"
15258 need_lib_prefix=no
15259 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15260 case $host_os in
15261 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
15262 *) need_version=no ;;
15263 esac
15264 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15265 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15266 shlibpath_var=LD_LIBRARY_PATH
15267 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15268 case $host_os in
15269 openbsd2.[89] | openbsd2.[89].*)
15270 shlibpath_overrides_runpath=no
15273 shlibpath_overrides_runpath=yes
15275 esac
15276 else
15277 shlibpath_overrides_runpath=yes
15281 os2*)
15282 libname_spec='$name'
15283 shrext_cmds=".dll"
15284 need_lib_prefix=no
15285 library_names_spec='$libname${shared_ext} $libname.a'
15286 dynamic_linker='OS/2 ld.exe'
15287 shlibpath_var=LIBPATH
15290 osf3* | osf4* | osf5*)
15291 version_type=osf
15292 need_lib_prefix=no
15293 need_version=no
15294 soname_spec='${libname}${release}${shared_ext}$major'
15295 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15296 shlibpath_var=LD_LIBRARY_PATH
15297 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15298 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
15301 rdos*)
15302 dynamic_linker=no
15305 solaris*)
15306 version_type=linux
15307 need_lib_prefix=no
15308 need_version=no
15309 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15310 soname_spec='${libname}${release}${shared_ext}$major'
15311 shlibpath_var=LD_LIBRARY_PATH
15312 shlibpath_overrides_runpath=yes
15313 hardcode_into_libs=yes
15314 # ldd complains unless libraries are executable
15315 postinstall_cmds='chmod +x $lib'
15318 sunos4*)
15319 version_type=sunos
15320 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15321 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15322 shlibpath_var=LD_LIBRARY_PATH
15323 shlibpath_overrides_runpath=yes
15324 if test "$with_gnu_ld" = yes; then
15325 need_lib_prefix=no
15327 need_version=yes
15330 sysv4 | sysv4.3*)
15331 version_type=linux
15332 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15333 soname_spec='${libname}${release}${shared_ext}$major'
15334 shlibpath_var=LD_LIBRARY_PATH
15335 case $host_vendor in
15336 sni)
15337 shlibpath_overrides_runpath=no
15338 need_lib_prefix=no
15339 runpath_var=LD_RUN_PATH
15341 siemens)
15342 need_lib_prefix=no
15344 motorola)
15345 need_lib_prefix=no
15346 need_version=no
15347 shlibpath_overrides_runpath=no
15348 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
15350 esac
15353 sysv4*MP*)
15354 if test -d /usr/nec ;then
15355 version_type=linux
15356 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15357 soname_spec='$libname${shared_ext}.$major'
15358 shlibpath_var=LD_LIBRARY_PATH
15362 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
15363 version_type=freebsd-elf
15364 need_lib_prefix=no
15365 need_version=no
15366 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15367 soname_spec='${libname}${release}${shared_ext}$major'
15368 shlibpath_var=LD_LIBRARY_PATH
15369 shlibpath_overrides_runpath=yes
15370 hardcode_into_libs=yes
15371 if test "$with_gnu_ld" = yes; then
15372 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15373 else
15374 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
15375 case $host_os in
15376 sco3.2v5*)
15377 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
15379 esac
15381 sys_lib_dlsearch_path_spec='/usr/lib'
15384 tpf*)
15385 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
15386 version_type=linux
15387 need_lib_prefix=no
15388 need_version=no
15389 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15390 shlibpath_var=LD_LIBRARY_PATH
15391 shlibpath_overrides_runpath=no
15392 hardcode_into_libs=yes
15395 uts4*)
15396 version_type=linux
15397 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15398 soname_spec='${libname}${release}${shared_ext}$major'
15399 shlibpath_var=LD_LIBRARY_PATH
15403 dynamic_linker=no
15405 esac
15406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15407 $as_echo "$dynamic_linker" >&6; }
15408 test "$dynamic_linker" = no && can_build_shared=no
15410 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
15411 if test "$GCC" = yes; then
15412 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15415 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15416 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
15418 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15419 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
15459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15460 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15461 hardcode_action_CXX=
15462 if test -n "$hardcode_libdir_flag_spec_CXX" ||
15463 test -n "$runpath_var_CXX" ||
15464 test "X$hardcode_automatic_CXX" = "Xyes" ; then
15466 # We can hardcode non-existent directories.
15467 if test "$hardcode_direct_CXX" != no &&
15468 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15469 # have to relink, otherwise we might link with an installed library
15470 # when we should be linking with a yet-to-be-installed one
15471 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
15472 test "$hardcode_minus_L_CXX" != no; then
15473 # Linking always hardcodes the temporary library directory.
15474 hardcode_action_CXX=relink
15475 else
15476 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15477 hardcode_action_CXX=immediate
15479 else
15480 # We cannot hardcode anything, or else we can only hardcode existing
15481 # directories.
15482 hardcode_action_CXX=unsupported
15484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
15485 $as_echo "$hardcode_action_CXX" >&6; }
15487 if test "$hardcode_action_CXX" = relink ||
15488 test "$inherit_rpath_CXX" = yes; then
15489 # Fast installation is not supported
15490 enable_fast_install=no
15491 elif test "$shlibpath_overrides_runpath" = yes ||
15492 test "$enable_shared" = no; then
15493 # Fast installation is not necessary
15494 enable_fast_install=needless
15503 fi # test -n "$compiler"
15505 CC=$lt_save_CC
15506 LDCXX=$LD
15507 LD=$lt_save_LD
15508 GCC=$lt_save_GCC
15509 with_gnu_ld=$lt_save_with_gnu_ld
15510 lt_cv_path_LDCXX=$lt_cv_path_LD
15511 lt_cv_path_LD=$lt_save_path_LD
15512 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
15513 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
15514 fi # test "$_lt_caught_CXX_error" != yes
15516 ac_ext=c
15517 ac_cpp='$CPP $CPPFLAGS'
15518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15534 ac_config_commands="$ac_config_commands libtool"
15539 # Only expand once:
15545 case $host in
15546 *-cygwin* | *-mingw*)
15547 # 'host' will be top-level target in the case of a target lib,
15548 # we must compare to with_cross_host to decide if this is a native
15549 # or cross-compiler and select where to install dlls appropriately.
15550 if test -n "$with_cross_host" &&
15551 test x"$with_cross_host" != x"no"; then
15552 lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
15553 else
15554 lt_host_flags='-no-undefined -bindir "$(bindir)"';
15558 lt_host_flags=
15560 esac
15567 if test "$enable_vtable_verify" = yes; then
15568 predep_objects_CXX="${predep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_start.o"
15569 postdep_objects_CXX="${postdep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_end.o"
15573 # libtool variables for C++ shared and position-independent compiles.
15575 # Use glibcxx_lt_pic_flag to designate the automake variable
15576 # used to encapsulate the default libtool approach to creating objects
15577 # with position-independent code. Default: -prefer-pic.
15579 # Use glibcxx_compiler_shared_flag to designate a compile-time flags for
15580 # creating shared objects. Default: -D_GLIBCXX_SHARED.
15582 # Use glibcxx_compiler_pic_flag to designate a compile-time flags for
15583 # creating position-independent objects. This varies with the target
15584 # hardware and operating system, but is often: -DPIC -fPIC.
15585 if test "$enable_shared" = yes; then
15586 glibcxx_lt_pic_flag="-prefer-pic"
15587 glibcxx_compiler_pic_flag="$lt_prog_compiler_pic_CXX"
15588 glibcxx_compiler_shared_flag="-D_GLIBCXX_SHARED"
15590 else
15591 glibcxx_lt_pic_flag=
15592 glibcxx_compiler_pic_flag=
15593 glibcxx_compiler_shared_flag=
15599 # Override the libtool's pic_flag and pic_mode.
15600 # Do this step after AM_PROG_LIBTOOL, but before AC_OUTPUT.
15601 # NB: this impacts --with-pic and --without-pic.
15602 lt_prog_compiler_pic_CXX="$glibcxx_compiler_pic_flag $glibcxx_compiler_shared_flag"
15603 pic_mode='default'
15605 # Eliminate -lstdc++ addition to postdeps for cross compiles.
15606 postdeps_CXX=`echo " $postdeps_CXX " | sed 's, -lstdc++ ,,g'`
15608 # Possibly disable most of the library.
15609 ## TODO: Consider skipping unncessary tests altogether in this case, rather
15610 ## than just ignoring the results. Faster /and/ more correct, win win.
15612 # Check whether --enable-hosted-libstdcxx was given.
15613 if test "${enable_hosted_libstdcxx+set}" = set; then :
15614 enableval=$enable_hosted_libstdcxx;
15615 else
15616 case "$host" in
15617 arm*-*-symbianelf*)
15618 enable_hosted_libstdcxx=no
15621 enable_hosted_libstdcxx=yes
15623 esac
15626 if test "$enable_hosted_libstdcxx" = no; then
15627 { $as_echo "$as_me:${as_lineno-$LINENO}: Only freestanding libraries will be built" >&5
15628 $as_echo "$as_me: Only freestanding libraries will be built" >&6;}
15629 is_hosted=no
15630 hosted_define=0
15631 enable_abi_check=no
15632 enable_libstdcxx_pch=no
15633 else
15634 is_hosted=yes
15635 hosted_define=1
15639 cat >>confdefs.h <<_ACEOF
15640 #define _GLIBCXX_HOSTED $hosted_define
15641 _ACEOF
15645 # Enable descriptive messages to standard output on termination.
15647 # Check whether --enable-libstdcxx-verbose was given.
15648 if test "${enable_libstdcxx_verbose+set}" = set; then :
15649 enableval=$enable_libstdcxx_verbose;
15650 else
15651 enable_libstdcxx_verbose=yes
15654 if test x"$enable_libstdcxx_verbose" = xyes; then
15655 verbose_define=1
15656 else
15657 { $as_echo "$as_me:${as_lineno-$LINENO}: verbose termination messages are disabled" >&5
15658 $as_echo "$as_me: verbose termination messages are disabled" >&6;}
15659 verbose_define=0
15662 cat >>confdefs.h <<_ACEOF
15663 #define _GLIBCXX_VERBOSE $verbose_define
15664 _ACEOF
15668 # Enable compiler support that doesn't require linking.
15670 # Check whether --enable-libstdcxx-pch was given.
15671 if test "${enable_libstdcxx_pch+set}" = set; then :
15672 enableval=$enable_libstdcxx_pch;
15673 case "$enableval" in
15674 yes|no) ;;
15675 *) as_fn_error $? "Argument to enable/disable libstdcxx-pch must be yes or no" "$LINENO" 5 ;;
15676 esac
15678 else
15679 enable_libstdcxx_pch=$is_hosted
15683 if test $enable_libstdcxx_pch = yes; then
15684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler with PCH support" >&5
15685 $as_echo_n "checking for compiler with PCH support... " >&6; }
15686 if ${glibcxx_cv_prog_CXX_pch+:} false; then :
15687 $as_echo_n "(cached) " >&6
15688 else
15689 ac_save_CXXFLAGS="$CXXFLAGS"
15690 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
15692 ac_ext=cpp
15693 ac_cpp='$CXXCPP $CPPFLAGS'
15694 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15695 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15696 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15698 echo '#include <math.h>' > conftest.h
15699 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
15700 -o conftest.h.gch 1>&5 2>&1 &&
15701 echo '#error "pch failed"' > conftest.h &&
15702 echo '#include "conftest.h"' > conftest.cc &&
15703 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
15704 then
15705 glibcxx_cv_prog_CXX_pch=yes
15706 else
15707 glibcxx_cv_prog_CXX_pch=no
15709 rm -f conftest*
15710 CXXFLAGS=$ac_save_CXXFLAGS
15711 ac_ext=c
15712 ac_cpp='$CPP $CPPFLAGS'
15713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_prog_CXX_pch" >&5
15720 $as_echo "$glibcxx_cv_prog_CXX_pch" >&6; }
15721 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
15724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled PCH" >&5
15725 $as_echo_n "checking for enabled PCH... " >&6; }
15726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_pch" >&5
15727 $as_echo "$enable_libstdcxx_pch" >&6; }
15730 if test $enable_libstdcxx_pch = yes; then
15731 glibcxx_PCHFLAGS="-include bits/stdc++.h"
15732 else
15733 glibcxx_PCHFLAGS=""
15738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
15739 $as_echo_n "checking for thread model used by GCC... " >&6; }
15740 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
15741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5
15742 $as_echo "$target_thread_file" >&6; }
15744 case $target_thread_file in
15745 aix) thread_header=config/rs6000/gthr-aix.h ;;
15746 dce) thread_header=config/pa/gthr-dce.h ;;
15747 gcn) thread_header=config/gcn/gthr-gcn.h ;;
15748 lynx) thread_header=config/gthr-lynx.h ;;
15749 mipssde) thread_header=config/mips/gthr-mipssde.h ;;
15750 posix) thread_header=gthr-posix.h ;;
15751 rtems) thread_header=config/gthr-rtems.h ;;
15752 single) thread_header=gthr-single.h ;;
15753 tpf) thread_header=config/s390/gthr-tpf.h ;;
15754 vxworks) thread_header=config/gthr-vxworks.h ;;
15755 win32) thread_header=config/i386/gthr-win32.h ;;
15756 esac
15762 ac_ext=cpp
15763 ac_cpp='$CXXCPP $CPPFLAGS'
15764 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15765 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15766 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15768 old_CXXFLAGS="$CXXFLAGS"
15770 # Do link tests if possible, instead asm tests, limited to some platforms
15771 # see discussion in PR target/40134, PR libstdc++/40133 and the thread
15772 # starting at http://gcc.gnu.org/ml/gcc-patches/2009-07/msg00322.html
15773 atomic_builtins_link_tests=no
15774 if test x$gcc_no_link != xyes; then
15775 # Can do link tests. Limit to some tested platforms
15776 case "$host" in
15777 *-*-linux* | *-*-uclinux* | *-*-kfreebsd*-gnu | *-*-gnu*)
15778 atomic_builtins_link_tests=yes
15780 esac
15783 if test x$atomic_builtins_link_tests = xyes; then
15785 # Do link tests.
15787 CXXFLAGS="$CXXFLAGS -fno-exceptions"
15789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15790 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15791 if ${glibcxx_cv_atomic_bool+:} false; then :
15792 $as_echo_n "(cached) " >&6
15793 else
15795 if test x$gcc_no_link = xyes; then
15796 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15799 /* end confdefs.h. */
15802 main ()
15804 typedef bool atomic_type;
15805 atomic_type c1;
15806 atomic_type c2;
15807 atomic_type c3(0);
15808 // N.B. __atomic_fetch_add is not supported for bool.
15809 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15810 __ATOMIC_RELAXED);
15811 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15812 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15815 return 0;
15817 _ACEOF
15818 if ac_fn_cxx_try_link "$LINENO"; then :
15819 glibcxx_cv_atomic_bool=yes
15820 else
15821 glibcxx_cv_atomic_bool=no
15823 rm -f core conftest.err conftest.$ac_objext \
15824 conftest$ac_exeext conftest.$ac_ext
15827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15828 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15831 $as_echo_n "checking for atomic builtins for short... " >&6; }
15832 if ${glibcxx_cv_atomic_short+:} false; then :
15833 $as_echo_n "(cached) " >&6
15834 else
15836 if test x$gcc_no_link = xyes; then
15837 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15840 /* end confdefs.h. */
15843 main ()
15845 typedef short atomic_type;
15846 atomic_type c1;
15847 atomic_type c2;
15848 atomic_type c3(0);
15849 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15850 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15851 __ATOMIC_RELAXED);
15852 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15853 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15856 return 0;
15858 _ACEOF
15859 if ac_fn_cxx_try_link "$LINENO"; then :
15860 glibcxx_cv_atomic_short=yes
15861 else
15862 glibcxx_cv_atomic_short=no
15864 rm -f core conftest.err conftest.$ac_objext \
15865 conftest$ac_exeext conftest.$ac_ext
15868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15869 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15872 $as_echo_n "checking for atomic builtins for int... " >&6; }
15873 if ${glibcxx_cv_atomic_int+:} false; then :
15874 $as_echo_n "(cached) " >&6
15875 else
15877 if test x$gcc_no_link = xyes; then
15878 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15881 /* end confdefs.h. */
15884 main ()
15886 typedef int atomic_type;
15887 atomic_type c1;
15888 atomic_type c2;
15889 atomic_type c3(0);
15890 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15891 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15892 __ATOMIC_RELAXED);
15893 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15894 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15897 return 0;
15899 _ACEOF
15900 if ac_fn_cxx_try_link "$LINENO"; then :
15901 glibcxx_cv_atomic_int=yes
15902 else
15903 glibcxx_cv_atomic_int=no
15905 rm -f core conftest.err conftest.$ac_objext \
15906 conftest$ac_exeext conftest.$ac_ext
15909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15910 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15913 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15914 if ${glibcxx_cv_atomic_long_long+:} false; then :
15915 $as_echo_n "(cached) " >&6
15916 else
15918 if test x$gcc_no_link = xyes; then
15919 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15922 /* end confdefs.h. */
15925 main ()
15927 typedef long long atomic_type;
15928 atomic_type c1;
15929 atomic_type c2;
15930 atomic_type c3(0);
15931 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15932 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15933 __ATOMIC_RELAXED);
15934 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15935 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15938 return 0;
15940 _ACEOF
15941 if ac_fn_cxx_try_link "$LINENO"; then :
15942 glibcxx_cv_atomic_long_long=yes
15943 else
15944 glibcxx_cv_atomic_long_long=no
15946 rm -f core conftest.err conftest.$ac_objext \
15947 conftest$ac_exeext conftest.$ac_ext
15950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15951 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15953 else
15955 # Do asm tests.
15957 # Compile unoptimized.
15958 CXXFLAGS='-O0 -S'
15960 # Fake what AC_TRY_COMPILE does.
15962 cat > conftest.$ac_ext << EOF
15963 #line 15963 "configure"
15964 int main()
15966 typedef bool atomic_type;
15967 atomic_type c1;
15968 atomic_type c2;
15969 atomic_type c3(0);
15970 // N.B. __atomic_fetch_add is not supported for bool.
15971 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15972 __ATOMIC_RELAXED);
15973 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15974 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15976 return 0;
15980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15981 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15982 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15983 (eval $ac_compile) 2>&5
15984 ac_status=$?
15985 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15986 test $ac_status = 0; }; then
15987 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15988 glibcxx_cv_atomic_bool=no
15989 else
15990 glibcxx_cv_atomic_bool=yes
15993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15994 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15995 rm -f conftest*
15997 cat > conftest.$ac_ext << EOF
15998 #line 15998 "configure"
15999 int main()
16001 typedef short atomic_type;
16002 atomic_type c1;
16003 atomic_type c2;
16004 atomic_type c3(0);
16005 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
16006 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
16007 __ATOMIC_RELAXED);
16008 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
16009 __atomic_load_n(&c1, __ATOMIC_RELAXED);
16011 return 0;
16015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
16016 $as_echo_n "checking for atomic builtins for short... " >&6; }
16017 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16018 (eval $ac_compile) 2>&5
16019 ac_status=$?
16020 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16021 test $ac_status = 0; }; then
16022 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
16023 glibcxx_cv_atomic_short=no
16024 else
16025 glibcxx_cv_atomic_short=yes
16028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
16029 $as_echo "$glibcxx_cv_atomic_short" >&6; }
16030 rm -f conftest*
16032 cat > conftest.$ac_ext << EOF
16033 #line 16033 "configure"
16034 int main()
16036 // NB: _Atomic_word not necessarily int.
16037 typedef int atomic_type;
16038 atomic_type c1;
16039 atomic_type c2;
16040 atomic_type c3(0);
16041 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
16042 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
16043 __ATOMIC_RELAXED);
16044 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
16045 __atomic_load_n(&c1, __ATOMIC_RELAXED);
16047 return 0;
16051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
16052 $as_echo_n "checking for atomic builtins for int... " >&6; }
16053 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16054 (eval $ac_compile) 2>&5
16055 ac_status=$?
16056 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16057 test $ac_status = 0; }; then
16058 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
16059 glibcxx_cv_atomic_int=no
16060 else
16061 glibcxx_cv_atomic_int=yes
16064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
16065 $as_echo "$glibcxx_cv_atomic_int" >&6; }
16066 rm -f conftest*
16068 cat > conftest.$ac_ext << EOF
16069 #line 16069 "configure"
16070 int main()
16072 typedef long long atomic_type;
16073 atomic_type c1;
16074 atomic_type c2;
16075 atomic_type c3(0);
16076 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
16077 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
16078 __ATOMIC_RELAXED);
16079 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
16080 __atomic_load_n(&c1, __ATOMIC_RELAXED);
16082 return 0;
16086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
16087 $as_echo_n "checking for atomic builtins for long long... " >&6; }
16088 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16089 (eval $ac_compile) 2>&5
16090 ac_status=$?
16091 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16092 test $ac_status = 0; }; then
16093 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
16094 glibcxx_cv_atomic_long_long=no
16095 else
16096 glibcxx_cv_atomic_long_long=yes
16099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
16100 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
16101 rm -f conftest*
16105 CXXFLAGS="$old_CXXFLAGS"
16106 ac_ext=c
16107 ac_cpp='$CPP $CPPFLAGS'
16108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16113 # Set atomicity_dir to builtins if all but the long long test above passes,
16114 # or if the builtins were already chosen (e.g. by configure.host).
16115 if { test "$glibcxx_cv_atomic_bool" = yes \
16116 && test "$glibcxx_cv_atomic_short" = yes \
16117 && test "$glibcxx_cv_atomic_int" = yes; } \
16118 || test "$atomicity_dir" = "cpu/generic/atomicity_builtins"; then
16120 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS 1" >>confdefs.h
16122 atomicity_dir=cpu/generic/atomicity_builtins
16125 # If still generic, set to mutex.
16126 if test $atomicity_dir = "cpu/generic" ; then
16127 atomicity_dir=cpu/generic/atomicity_mutex
16128 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No native atomic operations are provided for this platform." >&5
16129 $as_echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
16130 if test "x$target_thread_file" = xsingle; then
16131 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They cannot be faked when thread support is disabled." >&5
16132 $as_echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
16133 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Thread-safety of certain classes is not guaranteed." >&5
16134 $as_echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
16135 else
16136 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They will be faked using a mutex." >&5
16137 $as_echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
16138 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Performance of certain classes will degrade as a result." >&5
16139 $as_echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
16147 # Check whether --with-libstdcxx-lock-policy was given.
16148 if test "${with_libstdcxx_lock_policy+set}" = set; then :
16149 withval=$with_libstdcxx_lock_policy; libstdcxx_atomic_lock_policy=$withval
16150 else
16151 libstdcxx_atomic_lock_policy=auto
16155 case "$libstdcxx_atomic_lock_policy" in
16156 atomic|mutex|auto) ;;
16157 *) as_fn_error $? "Invalid argument for --with-libstdcxx-lock-policy" "$LINENO" 5 ;;
16158 esac
16159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lock policy for shared_ptr reference counts" >&5
16160 $as_echo_n "checking for lock policy for shared_ptr reference counts... " >&6; }
16162 if test x"$libstdcxx_atomic_lock_policy" = x"auto"; then
16164 ac_ext=cpp
16165 ac_cpp='$CXXCPP $CPPFLAGS'
16166 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16167 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16168 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16170 ac_save_CXXFLAGS="$CXXFLAGS"
16172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16173 /* end confdefs.h. */
16175 #if ! defined __GCC_HAVE_SYNC_COMPARE_AND_SWAP_2
16176 # error "No 2-byte compare-and-swap"
16177 #elif ! defined __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4
16178 # error "No 4-byte compare-and-swap"
16179 #endif
16182 main ()
16186 return 0;
16188 _ACEOF
16189 if ac_fn_cxx_try_compile "$LINENO"; then :
16190 libstdcxx_atomic_lock_policy=atomic
16191 else
16192 libstdcxx_atomic_lock_policy=mutex
16194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16195 ac_ext=c
16196 ac_cpp='$CPP $CPPFLAGS'
16197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16201 CXXFLAGS="$ac_save_CXXFLAGS"
16204 if test x"$libstdcxx_atomic_lock_policy" = x"atomic"; then
16205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: atomic" >&5
16206 $as_echo "atomic" >&6; }
16208 $as_echo "#define HAVE_ATOMIC_LOCK_POLICY 1" >>confdefs.h
16210 else
16211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: mutex" >&5
16212 $as_echo "mutex" >&6; }
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 int main()
16225 _Decimal32 d1;
16226 _Decimal64 d2;
16227 _Decimal128 d3;
16228 return 0;
16232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO/IEC TR 24733 " >&5
16233 $as_echo_n "checking for ISO/IEC TR 24733 ... " >&6; }
16234 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16235 (eval $ac_compile) 2>&5
16236 ac_status=$?
16237 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16238 test $ac_status = 0; }; then
16240 $as_echo "#define _GLIBCXX_USE_DECIMAL_FLOAT 1" >>confdefs.h
16242 enable_dfp=yes
16243 else
16244 enable_dfp=no
16246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dfp" >&5
16247 $as_echo "$enable_dfp" >&6; }
16248 rm -f conftest*
16253 ac_ext=cpp
16254 ac_cpp='$CXXCPP $CPPFLAGS'
16255 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16256 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16257 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16260 # Fake what AC_TRY_COMPILE does, without linking as this is
16261 # unnecessary for this test.
16263 cat > conftest.$ac_ext << EOF
16264 #line 16264 "configure"
16265 template<typename T1, typename T2>
16266 struct same
16267 { typedef T2 type; };
16269 template<typename T>
16270 struct same<T, T>;
16272 int main()
16274 typename same<double, __float128>::type f1;
16275 typename same<long double, __float128>::type f2;
16279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __float128" >&5
16280 $as_echo_n "checking for __float128... " >&6; }
16281 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16282 (eval $ac_compile) 2>&5
16283 ac_status=$?
16284 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16285 test $ac_status = 0; }; then
16286 enable_float128=yes
16287 else
16288 enable_float128=no
16290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_float128" >&5
16291 $as_echo "$enable_float128" >&6; }
16293 rm -f conftest*
16295 ac_ext=c
16296 ac_cpp='$CPP $CPPFLAGS'
16297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16302 if test "$enable_float128" = yes; then
16303 port_specific_symbol_files="$port_specific_symbol_files \$(top_srcdir)/config/abi/pre/float128.ver"
16306 # Checks for compiler support that doesn't require linking.
16308 # All these tests are for C++; save the language and the compiler flags.
16309 # The CXXFLAGS thing is suspicious, but based on similar bits previously
16310 # found in GLIBCXX_CONFIGURE.
16312 ac_ext=cpp
16313 ac_cpp='$CXXCPP $CPPFLAGS'
16314 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16315 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16316 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16318 ac_test_CXXFLAGS="${CXXFLAGS+set}"
16319 ac_save_CXXFLAGS="$CXXFLAGS"
16321 # Check for -ffunction-sections -fdata-sections
16322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
16323 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
16324 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
16325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16326 /* end confdefs.h. */
16327 int foo; void bar() { };
16329 main ()
16333 return 0;
16335 _ACEOF
16336 if ac_fn_cxx_try_compile "$LINENO"; then :
16337 ac_fdsections=yes
16338 else
16339 ac_fdsections=no
16341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16342 if test "$ac_test_CXXFLAGS" = set; then
16343 CXXFLAGS="$ac_save_CXXFLAGS"
16344 else
16345 # this is the suspicious part
16346 CXXFLAGS=''
16348 if test x"$ac_fdsections" = x"yes"; then
16349 SECTION_FLAGS='-ffunction-sections -fdata-sections'
16351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
16352 $as_echo "$ac_fdsections" >&6; }
16354 ac_ext=c
16355 ac_cpp='$CPP $CPPFLAGS'
16356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16363 # Enable all the variable C++ runtime options that don't require linking.
16365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for underlying I/O to use" >&5
16366 $as_echo_n "checking for underlying I/O to use... " >&6; }
16367 # Check whether --enable-cstdio was given.
16368 if test "${enable_cstdio+set}" = set; then :
16369 enableval=$enable_cstdio;
16370 case "$enableval" in
16371 stdio|stdio_posix|stdio_pure) ;;
16372 *) as_fn_error $? "Unknown argument to enable/disable cstdio" "$LINENO" 5 ;;
16373 esac
16375 else
16376 enable_cstdio=stdio
16381 # The only available I/O model is based on stdio, via basic_file_stdio.
16382 # The default "stdio" is actually "stdio + POSIX" because it uses fdopen(3)
16383 # to get a file descriptor and then uses read(3) and write(3) with it.
16384 # The "stdio_pure" model doesn't use fdopen and only uses FILE* for I/O.
16385 case ${enable_cstdio} in
16386 stdio*)
16387 CSTDIO_H=config/io/c_io_stdio.h
16388 BASIC_FILE_H=config/io/basic_file_stdio.h
16389 BASIC_FILE_CC=config/io/basic_file_stdio.cc
16390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: stdio" >&5
16391 $as_echo "stdio" >&6; }
16393 if test "x$enable_cstdio" = "xstdio_pure" ; then
16395 $as_echo "#define _GLIBCXX_USE_STDIO_PURE 1" >>confdefs.h
16399 esac
16406 # Check whether --enable-clocale was given.
16407 if test "${enable_clocale+set}" = set; then :
16408 enableval=$enable_clocale;
16409 case "$enableval" in
16410 generic|gnu|ieee_1003.1-2001|newlib|yes|no|auto) ;;
16411 *) as_fn_error $? "Unknown argument to enable/disable clocale" "$LINENO" 5 ;;
16412 esac
16414 else
16415 enable_clocale=auto
16420 # Deal with gettext issues. Default to not using it (=no) until we detect
16421 # support for it later. Let the user turn it off via --e/d, but let that
16422 # default to on for easier handling.
16423 USE_NLS=no
16424 # Check whether --enable-nls was given.
16425 if test "${enable_nls+set}" = set; then :
16426 enableval=$enable_nls;
16427 else
16428 enable_nls=yes
16432 # Either a known package, or "auto"
16433 if test $enable_clocale = no || test $enable_clocale = yes; then
16434 enable_clocale=auto
16436 enable_clocale_flag=$enable_clocale
16438 # Probe for locale model to use if none specified.
16439 # Default to "generic".
16440 if test $enable_clocale_flag = auto; then
16441 case ${target_os} in
16442 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16443 enable_clocale_flag=gnu
16445 darwin*)
16446 enable_clocale_flag=darwin
16448 vxworks*)
16449 enable_clocale_flag=vxworks
16451 dragonfly* | freebsd*)
16452 enable_clocale_flag=dragonfly
16454 openbsd*)
16455 enable_clocale_flag=newlib
16458 if test x"$with_newlib" = x"yes"; then
16459 enable_clocale_flag=newlib
16460 else
16461 enable_clocale_flag=generic
16464 esac
16467 # Sanity check model, and test for special functionality.
16468 if test $enable_clocale_flag = gnu; then
16469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16470 /* end confdefs.h. */
16472 #include <features.h>
16473 #if (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) && !defined(__UCLIBC__)
16474 _GLIBCXX_ok
16475 #endif
16477 _ACEOF
16478 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16479 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then :
16480 enable_clocale_flag=gnu
16481 else
16482 enable_clocale_flag=generic
16484 rm -f conftest*
16487 # Set it to scream when it hurts.
16488 ac_save_CFLAGS="$CFLAGS"
16489 CFLAGS="-Wimplicit-function-declaration -Werror"
16491 # Use strxfrm_l if available.
16492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16493 /* end confdefs.h. */
16494 #define _GNU_SOURCE 1
16495 #include <string.h>
16496 #include <locale.h>
16498 main ()
16500 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
16502 return 0;
16504 _ACEOF
16505 if ac_fn_c_try_compile "$LINENO"; then :
16507 $as_echo "#define HAVE_STRXFRM_L 1" >>confdefs.h
16510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16512 # Use strerror_l if available.
16513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16514 /* end confdefs.h. */
16515 #define _GNU_SOURCE 1
16516 #include <string.h>
16517 #include <locale.h>
16519 main ()
16521 __locale_t loc; strerror_l(5, loc);
16523 return 0;
16525 _ACEOF
16526 if ac_fn_c_try_compile "$LINENO"; then :
16528 $as_echo "#define HAVE_STRERROR_L 1" >>confdefs.h
16531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16533 CFLAGS="$ac_save_CFLAGS"
16536 # Perhaps use strerror_r if available, and strerror_l isn't.
16537 ac_save_CFLAGS="$CFLAGS"
16538 CFLAGS="-Wimplicit-function-declaration -Werror"
16539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16540 /* end confdefs.h. */
16541 #define _GNU_SOURCE 1
16542 #include <string.h>
16543 #include <locale.h>
16545 main ()
16547 char s[128]; strerror_r(5, s, 128);
16549 return 0;
16551 _ACEOF
16552 if ac_fn_c_try_compile "$LINENO"; then :
16554 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
16557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16558 CFLAGS="$ac_save_CFLAGS"
16560 # Set configure bits for specified locale package
16561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C locale to use" >&5
16562 $as_echo_n "checking for C locale to use... " >&6; }
16563 case ${enable_clocale_flag} in
16564 generic)
16565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: generic" >&5
16566 $as_echo "generic" >&6; }
16568 CLOCALE_H=config/locale/generic/c_locale.h
16569 CLOCALE_CC=config/locale/generic/c_locale.cc
16570 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16571 CCOLLATE_CC=config/locale/generic/collate_members.cc
16572 CCTYPE_CC=config/locale/generic/ctype_members.cc
16573 CMESSAGES_H=config/locale/generic/messages_members.h
16574 CMESSAGES_CC=config/locale/generic/messages_members.cc
16575 CMONEY_CC=config/locale/generic/monetary_members.cc
16576 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16577 CTIME_H=config/locale/generic/time_members.h
16578 CTIME_CC=config/locale/generic/time_members.cc
16579 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16581 darwin)
16582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: darwin" >&5
16583 $as_echo "darwin" >&6; }
16585 CLOCALE_H=config/locale/generic/c_locale.h
16586 CLOCALE_CC=config/locale/generic/c_locale.cc
16587 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16588 CCOLLATE_CC=config/locale/generic/collate_members.cc
16589 CCTYPE_CC=config/locale/darwin/ctype_members.cc
16590 CMESSAGES_H=config/locale/generic/messages_members.h
16591 CMESSAGES_CC=config/locale/generic/messages_members.cc
16592 CMONEY_CC=config/locale/generic/monetary_members.cc
16593 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16594 CTIME_H=config/locale/generic/time_members.h
16595 CTIME_CC=config/locale/generic/time_members.cc
16596 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16598 vxworks)
16599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: vxworks" >&5
16600 $as_echo "vxworks" >&6; }
16602 CLOCALE_H=config/locale/generic/c_locale.h
16603 CLOCALE_CC=config/locale/generic/c_locale.cc
16604 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16605 CCOLLATE_CC=config/locale/generic/collate_members.cc
16606 CCTYPE_CC=config/locale/vxworks/ctype_members.cc
16607 CMESSAGES_H=config/locale/generic/messages_members.h
16608 CMESSAGES_CC=config/locale/generic/messages_members.cc
16609 CMONEY_CC=config/locale/generic/monetary_members.cc
16610 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16611 CTIME_H=config/locale/generic/time_members.h
16612 CTIME_CC=config/locale/generic/time_members.cc
16613 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16615 dragonfly)
16616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: dragonfly or freebsd" >&5
16617 $as_echo "dragonfly or freebsd" >&6; }
16619 CLOCALE_H=config/locale/dragonfly/c_locale.h
16620 CLOCALE_CC=config/locale/dragonfly/c_locale.cc
16621 CCODECVT_CC=config/locale/dragonfly/codecvt_members.cc
16622 CCOLLATE_CC=config/locale/dragonfly/collate_members.cc
16623 CCTYPE_CC=config/locale/dragonfly/ctype_members.cc
16624 CMESSAGES_H=config/locale/generic/messages_members.h
16625 CMESSAGES_CC=config/locale/generic/messages_members.cc
16626 CMONEY_CC=config/locale/dragonfly/monetary_members.cc
16627 CNUMERIC_CC=config/locale/dragonfly/numeric_members.cc
16628 CTIME_H=config/locale/dragonfly/time_members.h
16629 CTIME_CC=config/locale/dragonfly/time_members.cc
16630 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16633 gnu)
16634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gnu" >&5
16635 $as_echo "gnu" >&6; }
16637 # Declare intention to use gettext, and add support for specific
16638 # languages.
16639 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
16640 ALL_LINGUAS="de fr"
16642 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
16643 # Extract the first word of "msgfmt", so it can be a program name with args.
16644 set dummy msgfmt; ac_word=$2
16645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16646 $as_echo_n "checking for $ac_word... " >&6; }
16647 if ${ac_cv_prog_check_msgfmt+:} false; then :
16648 $as_echo_n "(cached) " >&6
16649 else
16650 if test -n "$check_msgfmt"; then
16651 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
16652 else
16653 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16654 for as_dir in $PATH
16656 IFS=$as_save_IFS
16657 test -z "$as_dir" && as_dir=.
16658 for ac_exec_ext in '' $ac_executable_extensions; do
16659 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16660 ac_cv_prog_check_msgfmt="yes"
16661 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16662 break 2
16664 done
16665 done
16666 IFS=$as_save_IFS
16668 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
16671 check_msgfmt=$ac_cv_prog_check_msgfmt
16672 if test -n "$check_msgfmt"; then
16673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $check_msgfmt" >&5
16674 $as_echo "$check_msgfmt" >&6; }
16675 else
16676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16677 $as_echo "no" >&6; }
16681 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
16682 USE_NLS=yes
16684 # Export the build objects.
16685 for ling in $ALL_LINGUAS; do \
16686 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
16687 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
16688 done
16692 CLOCALE_H=config/locale/gnu/c_locale.h
16693 CLOCALE_CC=config/locale/gnu/c_locale.cc
16694 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
16695 CCOLLATE_CC=config/locale/gnu/collate_members.cc
16696 CCTYPE_CC=config/locale/gnu/ctype_members.cc
16697 CMESSAGES_H=config/locale/gnu/messages_members.h
16698 CMESSAGES_CC=config/locale/gnu/messages_members.cc
16699 CMONEY_CC=config/locale/gnu/monetary_members.cc
16700 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
16701 CTIME_H=config/locale/gnu/time_members.h
16702 CTIME_CC=config/locale/gnu/time_members.cc
16703 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
16705 ieee_1003.1-2001)
16706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: IEEE 1003.1" >&5
16707 $as_echo "IEEE 1003.1" >&6; }
16709 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
16710 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
16711 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16712 CCOLLATE_CC=config/locale/generic/collate_members.cc
16713 CCTYPE_CC=config/locale/generic/ctype_members.cc
16714 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
16715 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
16716 CMONEY_CC=config/locale/generic/monetary_members.cc
16717 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16718 CTIME_H=config/locale/generic/time_members.h
16719 CTIME_CC=config/locale/generic/time_members.cc
16720 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16722 newlib)
16723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: newlib" >&5
16724 $as_echo "newlib" >&6; }
16726 CLOCALE_H=config/locale/generic/c_locale.h
16727 CLOCALE_CC=config/locale/generic/c_locale.cc
16728 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16729 CCOLLATE_CC=config/locale/generic/collate_members.cc
16730 CCTYPE_CC=config/locale/newlib/ctype_members.cc
16731 CMESSAGES_H=config/locale/generic/messages_members.h
16732 CMESSAGES_CC=config/locale/generic/messages_members.cc
16733 CMONEY_CC=config/locale/generic/monetary_members.cc
16734 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16735 CTIME_H=config/locale/generic/time_members.h
16736 CTIME_CC=config/locale/generic/time_members.cc
16737 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16739 esac
16741 # This is where the testsuite looks for locale catalogs, using the
16742 # -DLOCALEDIR define during testsuite compilation.
16743 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
16746 # A standalone libintl (e.g., GNU libintl) may be in use.
16747 if test $USE_NLS = yes; then
16748 for ac_header in libintl.h
16749 do :
16750 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
16751 if test "x$ac_cv_header_libintl_h" = xyes; then :
16752 cat >>confdefs.h <<_ACEOF
16753 #define HAVE_LIBINTL_H 1
16754 _ACEOF
16756 else
16757 USE_NLS=no
16760 done
16762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5
16763 $as_echo_n "checking for library containing gettext... " >&6; }
16764 if ${ac_cv_search_gettext+:} false; then :
16765 $as_echo_n "(cached) " >&6
16766 else
16767 ac_func_search_save_LIBS=$LIBS
16768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16769 /* end confdefs.h. */
16771 /* Override any GCC internal prototype to avoid an error.
16772 Use char because int might match the return type of a GCC
16773 builtin and then its argument prototype would still apply. */
16774 #ifdef __cplusplus
16775 extern "C"
16776 #endif
16777 char gettext ();
16779 main ()
16781 return gettext ();
16783 return 0;
16785 _ACEOF
16786 for ac_lib in '' intl; do
16787 if test -z "$ac_lib"; then
16788 ac_res="none required"
16789 else
16790 ac_res=-l$ac_lib
16791 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16793 if test x$gcc_no_link = xyes; then
16794 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16796 if ac_fn_c_try_link "$LINENO"; then :
16797 ac_cv_search_gettext=$ac_res
16799 rm -f core conftest.err conftest.$ac_objext \
16800 conftest$ac_exeext
16801 if ${ac_cv_search_gettext+:} false; then :
16802 break
16804 done
16805 if ${ac_cv_search_gettext+:} false; then :
16807 else
16808 ac_cv_search_gettext=no
16810 rm conftest.$ac_ext
16811 LIBS=$ac_func_search_save_LIBS
16813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5
16814 $as_echo "$ac_cv_search_gettext" >&6; }
16815 ac_res=$ac_cv_search_gettext
16816 if test "$ac_res" != no; then :
16817 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16819 else
16820 USE_NLS=no
16824 if test $USE_NLS = yes; then
16826 $as_echo "#define _GLIBCXX_USE_NLS 1" >>confdefs.h
16845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::allocator base class" >&5
16846 $as_echo_n "checking for std::allocator base class... " >&6; }
16847 # Check whether --enable-libstdcxx-allocator was given.
16848 if test "${enable_libstdcxx_allocator+set}" = set; then :
16849 enableval=$enable_libstdcxx_allocator;
16850 case "$enableval" in
16851 new|malloc|yes|no|auto) ;;
16852 *) as_fn_error $? "Unknown argument to enable/disable libstdcxx-allocator" "$LINENO" 5 ;;
16853 esac
16855 else
16856 enable_libstdcxx_allocator=auto
16861 # If they didn't use this option switch, or if they specified --enable
16862 # with no specific model, we'll have to look for one. If they
16863 # specified --disable (???), do likewise.
16864 if test $enable_libstdcxx_allocator = no ||
16865 test $enable_libstdcxx_allocator = yes;
16866 then
16867 enable_libstdcxx_allocator=auto
16870 # Either a known package, or "auto". Auto implies the default choice
16871 # for a particular platform.
16872 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
16874 # Probe for host-specific support if no specific model is specified.
16875 # Default to "new".
16876 if test $enable_libstdcxx_allocator_flag = auto; then
16877 case ${target_os} in
16878 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16879 enable_libstdcxx_allocator_flag=new
16882 enable_libstdcxx_allocator_flag=new
16884 esac
16886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_allocator_flag" >&5
16887 $as_echo "$enable_libstdcxx_allocator_flag" >&6; }
16890 # Set configure bits for specified locale package
16891 case ${enable_libstdcxx_allocator_flag} in
16892 malloc)
16893 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
16894 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
16896 new)
16897 ALLOCATOR_H=config/allocator/new_allocator_base.h
16898 ALLOCATOR_NAME=__gnu_cxx::new_allocator
16900 esac
16907 # Check whether --enable-cheaders-obsolete was given.
16908 if test "${enable_cheaders_obsolete+set}" = set; then :
16909 enableval=$enable_cheaders_obsolete;
16910 case "$enableval" in
16911 yes|no) ;;
16912 *) as_fn_error $? "Argument to enable/disable cheaders-obsolete must be yes or no" "$LINENO" 5 ;;
16913 esac
16915 else
16916 enable_cheaders_obsolete=no
16920 # Check whether --enable-cheaders was given.
16921 if test "${enable_cheaders+set}" = set; then :
16922 enableval=$enable_cheaders;
16923 case "$enableval" in
16924 c|c_global|c_std) ;;
16925 *) as_fn_error $? "Unknown argument to enable/disable cheaders" "$LINENO" 5 ;;
16926 esac
16928 else
16929 enable_cheaders=$c_model
16933 { $as_echo "$as_me:${as_lineno-$LINENO}: \"C\" header strategy set to $enable_cheaders" >&5
16934 $as_echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
16935 if test $enable_cheaders = c_std ; then
16936 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: the --enable-cheaders=c_std configuration is obsolete, c_global should be used instead" >&5
16937 $as_echo "$as_me: WARNING: the --enable-cheaders=c_std configuration is obsolete, c_global should be used instead" >&2;}
16938 { $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
16939 $as_echo "$as_me: WARNING: if you are unable to use c_global please report a bug or inform libstdc++@gcc.gnu.org" >&2;}
16940 if test $enable_cheaders_obsolete != yes ; then
16941 as_fn_error $? "use --enable-cheaders-obsolete to use c_std \"C\" headers" "$LINENO" 5
16945 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
16947 # Allow overrides to configure.host here.
16948 if test $enable_cheaders = c_global; then
16949 c_compatibility=yes
16958 # Check whether --enable-long-long was given.
16959 if test "${enable_long_long+set}" = set; then :
16960 enableval=$enable_long_long;
16961 case "$enableval" in
16962 yes|no) ;;
16963 *) as_fn_error $? "Argument to enable/disable long-long must be yes or no" "$LINENO" 5 ;;
16964 esac
16966 else
16967 enable_long_long=yes
16971 if test $enable_long_long = yes; then
16973 $as_echo "#define _GLIBCXX_USE_LONG_LONG 1" >>confdefs.h
16976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled long long specializations" >&5
16977 $as_echo_n "checking for enabled long long specializations... " >&6; }
16978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_long_long" >&5
16979 $as_echo "$enable_long_long" >&6; }
16982 # Check whether --enable-wchar_t was given.
16983 if test "${enable_wchar_t+set}" = set; then :
16984 enableval=$enable_wchar_t;
16985 case "$enableval" in
16986 yes|no) ;;
16987 *) as_fn_error $? "Argument to enable/disable wchar_t must be yes or no" "$LINENO" 5 ;;
16988 esac
16990 else
16991 enable_wchar_t=yes
16996 # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
16997 for ac_header in wchar.h
16998 do :
16999 ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
17000 if test "x$ac_cv_header_wchar_h" = xyes; then :
17001 cat >>confdefs.h <<_ACEOF
17002 #define HAVE_WCHAR_H 1
17003 _ACEOF
17004 ac_has_wchar_h=yes
17005 else
17006 ac_has_wchar_h=no
17009 done
17011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
17012 $as_echo_n "checking for mbstate_t... " >&6; }
17013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17014 /* end confdefs.h. */
17015 #include <wchar.h>
17017 main ()
17019 mbstate_t teststate;
17021 return 0;
17023 _ACEOF
17024 if ac_fn_c_try_compile "$LINENO"; then :
17025 have_mbstate_t=yes
17026 else
17027 have_mbstate_t=no
17029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_mbstate_t" >&5
17031 $as_echo "$have_mbstate_t" >&6; }
17032 if test x"$have_mbstate_t" = xyes; then
17034 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
17038 # Test it always, for use in GLIBCXX_ENABLE_C99, together with
17039 # ac_has_wchar_h.
17040 for ac_header in wctype.h
17041 do :
17042 ac_fn_c_check_header_mongrel "$LINENO" "wctype.h" "ac_cv_header_wctype_h" "$ac_includes_default"
17043 if test "x$ac_cv_header_wctype_h" = xyes; then :
17044 cat >>confdefs.h <<_ACEOF
17045 #define HAVE_WCTYPE_H 1
17046 _ACEOF
17047 ac_has_wctype_h=yes
17048 else
17049 ac_has_wctype_h=no
17052 done
17055 if test x"$enable_wchar_t" = x"yes"; then
17058 ac_ext=cpp
17059 ac_cpp='$CXXCPP $CPPFLAGS'
17060 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17061 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17062 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17065 if test x"$ac_has_wchar_h" = xyes &&
17066 test x"$ac_has_wctype_h" = xyes; then
17067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17068 /* end confdefs.h. */
17069 #include <wchar.h>
17070 #include <stddef.h>
17071 wint_t i;
17072 long l = WEOF;
17073 long j = WCHAR_MIN;
17074 long k = WCHAR_MAX;
17075 namespace test
17077 using ::btowc;
17078 using ::fgetwc;
17079 using ::fgetws;
17080 using ::fputwc;
17081 using ::fputws;
17082 using ::fwide;
17083 using ::fwprintf;
17084 using ::fwscanf;
17085 using ::getwc;
17086 using ::getwchar;
17087 using ::mbrlen;
17088 using ::mbrtowc;
17089 using ::mbsinit;
17090 using ::mbsrtowcs;
17091 using ::putwc;
17092 using ::putwchar;
17093 using ::swprintf;
17094 using ::swscanf;
17095 using ::ungetwc;
17096 using ::vfwprintf;
17097 using ::vswprintf;
17098 using ::vwprintf;
17099 using ::wcrtomb;
17100 using ::wcscat;
17101 using ::wcschr;
17102 using ::wcscmp;
17103 using ::wcscoll;
17104 using ::wcscpy;
17105 using ::wcscspn;
17106 using ::wcsftime;
17107 using ::wcslen;
17108 using ::wcsncat;
17109 using ::wcsncmp;
17110 using ::wcsncpy;
17111 using ::wcspbrk;
17112 using ::wcsrchr;
17113 using ::wcsrtombs;
17114 using ::wcsspn;
17115 using ::wcsstr;
17116 using ::wcstod;
17117 using ::wcstok;
17118 using ::wcstol;
17119 using ::wcstoul;
17120 using ::wcsxfrm;
17121 using ::wctob;
17122 using ::wmemchr;
17123 using ::wmemcmp;
17124 using ::wmemcpy;
17125 using ::wmemmove;
17126 using ::wmemset;
17127 using ::wprintf;
17128 using ::wscanf;
17132 main ()
17136 return 0;
17138 _ACEOF
17139 if ac_fn_cxx_try_compile "$LINENO"; then :
17141 else
17142 enable_wchar_t=no
17144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17145 else
17146 enable_wchar_t=no
17149 ac_ext=c
17150 ac_cpp='$CPP $CPPFLAGS'
17151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17157 if test x"$enable_wchar_t" = x"yes"; then
17159 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
17163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled wchar_t specializations" >&5
17164 $as_echo_n "checking for enabled wchar_t specializations... " >&6; }
17165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_wchar_t" >&5
17166 $as_echo "$enable_wchar_t" >&6; }
17170 # Check whether --enable-c99 was given.
17171 if test "${enable_c99+set}" = set; then :
17172 enableval=$enable_c99;
17173 case "$enableval" in
17174 yes|no) ;;
17175 *) as_fn_error $? "Argument to enable/disable c99 must be yes or no" "$LINENO" 5 ;;
17176 esac
17178 else
17179 enable_c99=yes
17184 if test x"$enable_c99" = x"yes"; then
17186 ac_ext=cpp
17187 ac_cpp='$CXXCPP $CPPFLAGS'
17188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17193 # Use -std=c++98 (instead of -std=gnu++98) because leaving __STRICT_ANSI__
17194 # undefined may cause fake C99 facilities, like pre-standard snprintf,
17195 # to be spuriously enabled.
17196 ac_save_CXXFLAGS="$CXXFLAGS"
17197 CXXFLAGS="$CXXFLAGS -std=c++98"
17198 ac_save_LIBS="$LIBS"
17199 ac_save_gcc_no_link="$gcc_no_link"
17201 if test x$gcc_no_link != xyes; then
17202 # Use -fno-exceptions to that the C driver can link these tests without
17203 # hitting undefined references to personality routines.
17204 CXXFLAGS="$CXXFLAGS -fno-exceptions"
17205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
17206 $as_echo_n "checking for sin in -lm... " >&6; }
17207 if ${ac_cv_lib_m_sin+:} false; then :
17208 $as_echo_n "(cached) " >&6
17209 else
17210 ac_check_lib_save_LIBS=$LIBS
17211 LIBS="-lm $LIBS"
17212 if test x$gcc_no_link = xyes; then
17213 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17216 /* end confdefs.h. */
17218 /* Override any GCC internal prototype to avoid an error.
17219 Use char because int might match the return type of a GCC
17220 builtin and then its argument prototype would still apply. */
17221 #ifdef __cplusplus
17222 extern "C"
17223 #endif
17224 char sin ();
17226 main ()
17228 return sin ();
17230 return 0;
17232 _ACEOF
17233 if ac_fn_cxx_try_link "$LINENO"; then :
17234 ac_cv_lib_m_sin=yes
17235 else
17236 ac_cv_lib_m_sin=no
17238 rm -f core conftest.err conftest.$ac_objext \
17239 conftest$ac_exeext conftest.$ac_ext
17240 LIBS=$ac_check_lib_save_LIBS
17242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
17243 $as_echo "$ac_cv_lib_m_sin" >&6; }
17244 if test "x$ac_cv_lib_m_sin" = xyes; then :
17245 LIBS="$LIBS -lm"
17246 else
17248 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
17249 gcc_no_link=yes
17255 # Check for the existence of <math.h> functions used if C99 is enabled.
17256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h> for C++98" >&5
17257 $as_echo_n "checking for ISO C99 support in <math.h> for C++98... " >&6; }
17258 if ${glibcxx_cv_c99_math_cxx98+:} false; then :
17259 $as_echo_n "(cached) " >&6
17260 else
17262 if test x$gcc_no_link = xyes; then
17263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17264 /* end confdefs.h. */
17265 #include <math.h>
17266 volatile double d1, d2;
17267 volatile int i;
17269 main ()
17271 i = fpclassify(d1);
17272 i = isfinite(d1);
17273 i = isinf(d1);
17274 i = isnan(d1);
17275 i = isnormal(d1);
17276 i = signbit(d1);
17277 i = isgreater(d1, d2);
17278 i = isgreaterequal(d1, d2);
17279 i = isless(d1, d2);
17280 i = islessequal(d1, d2);
17281 i = islessgreater(d1, d2);
17282 i = islessgreater(d1, d2);
17283 i = isunordered(d1, d2);
17286 return 0;
17288 _ACEOF
17289 if ac_fn_cxx_try_compile "$LINENO"; then :
17290 glibcxx_cv_c99_math_cxx98=yes
17291 else
17292 glibcxx_cv_c99_math_cxx98=no
17294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17295 else
17296 if test x$gcc_no_link = xyes; then
17297 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17300 /* end confdefs.h. */
17301 #include <math.h>
17302 volatile double d1, d2;
17303 volatile int i;
17305 main ()
17307 i = fpclassify(d1);
17308 i = isfinite(d1);
17309 i = isinf(d1);
17310 i = isnan(d1);
17311 i = isnormal(d1);
17312 i = signbit(d1);
17313 i = isgreater(d1, d2);
17314 i = isgreaterequal(d1, d2);
17315 i = isless(d1, d2);
17316 i = islessequal(d1, d2);
17317 i = islessgreater(d1, d2);
17318 i = islessgreater(d1, d2);
17319 i = isunordered(d1, d2);
17322 return 0;
17324 _ACEOF
17325 if ac_fn_cxx_try_link "$LINENO"; then :
17326 glibcxx_cv_c99_math_cxx98=yes
17327 else
17328 glibcxx_cv_c99_math_cxx98=no
17330 rm -f core conftest.err conftest.$ac_objext \
17331 conftest$ac_exeext conftest.$ac_ext
17335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_cxx98" >&5
17336 $as_echo "$glibcxx_cv_c99_math_cxx98" >&6; }
17337 if test x"$glibcxx_cv_c99_math_cxx98" = x"yes"; then
17339 $as_echo "#define _GLIBCXX98_USE_C99_MATH 1" >>confdefs.h
17343 # Check for the existence of <complex.h> complex math functions.
17344 # This is necessary even though libstdc++ uses the builtin versions
17345 # of these functions, because if the builtin cannot be used, a reference
17346 # to the library function is emitted.
17347 for ac_header in tgmath.h
17348 do :
17349 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
17350 if test "x$ac_cv_header_tgmath_h" = xyes; then :
17351 cat >>confdefs.h <<_ACEOF
17352 #define HAVE_TGMATH_H 1
17353 _ACEOF
17354 ac_has_tgmath_h=yes
17355 else
17356 ac_has_tgmath_h=no
17359 done
17361 for ac_header in complex.h
17362 do :
17363 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
17364 if test "x$ac_cv_header_complex_h" = xyes; then :
17365 cat >>confdefs.h <<_ACEOF
17366 #define HAVE_COMPLEX_H 1
17367 _ACEOF
17368 ac_has_complex_h=yes
17369 else
17370 ac_has_complex_h=no
17373 done
17375 if test x"$ac_has_complex_h" = x"yes"; then
17376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h> for C++98" >&5
17377 $as_echo_n "checking for ISO C99 support in <complex.h> for C++98... " >&6; }
17378 if ${glibcxx_cv_c99_complex_cxx98+:} false; then :
17379 $as_echo_n "(cached) " >&6
17380 else
17382 if test x$gcc_no_link = xyes; then
17383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17384 /* end confdefs.h. */
17385 #include <complex.h>
17386 typedef __complex__ float float_type;
17387 typedef __complex__ double double_type;
17388 typedef __complex__ long double ld_type;
17389 volatile float_type tmpf;
17390 volatile double_type tmpd;
17391 volatile ld_type tmpld;
17392 volatile float f;
17393 volatile double d;
17394 volatile long double ld;
17396 main ()
17398 f = cabsf(tmpf);
17399 f = cargf(tmpf);
17400 tmpf = ccosf(tmpf);
17401 tmpf = ccoshf(tmpf);
17402 tmpf = cexpf(tmpf);
17403 tmpf = clogf(tmpf);
17404 tmpf = csinf(tmpf);
17405 tmpf = csinhf(tmpf);
17406 tmpf = csqrtf(tmpf);
17407 tmpf = ctanf(tmpf);
17408 tmpf = ctanhf(tmpf);
17409 tmpf = cpowf(tmpf, tmpf);
17410 tmpf = cprojf(tmpf);
17411 d = cabs(tmpd);
17412 d = carg(tmpd);
17413 tmpd = ccos(tmpd);
17414 tmpd = ccosh(tmpd);
17415 tmpd = cexp(tmpd);
17416 tmpd = clog(tmpd);
17417 tmpd = csin(tmpd);
17418 tmpd = csinh(tmpd);
17419 tmpd = csqrt(tmpd);
17420 tmpd = ctan(tmpd);
17421 tmpd = ctanh(tmpd);
17422 tmpd = cpow(tmpd, tmpd);
17423 tmpd = cproj(tmpd);
17424 ld = cabsl(tmpld);
17425 ld = cargl(tmpld);
17426 tmpld = ccosl(tmpld);
17427 tmpld = ccoshl(tmpld);
17428 tmpld = cexpl(tmpld);
17429 tmpld = clogl(tmpld);
17430 tmpld = csinl(tmpld);
17431 tmpld = csinhl(tmpld);
17432 tmpld = csqrtl(tmpld);
17433 tmpld = ctanl(tmpld);
17434 tmpld = ctanhl(tmpld);
17435 tmpld = cpowl(tmpld, tmpld);
17436 tmpld = cprojl(tmpld);
17439 return 0;
17441 _ACEOF
17442 if ac_fn_cxx_try_compile "$LINENO"; then :
17443 glibcxx_cv_c99_complex_cxx98=yes
17444 else
17445 glibcxx_cv_c99_complex_cxx98=no
17447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17448 else
17449 if test x$gcc_no_link = xyes; then
17450 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17453 /* end confdefs.h. */
17454 #include <complex.h>
17455 typedef __complex__ float float_type;
17456 typedef __complex__ double double_type;
17457 typedef __complex__ long double ld_type;
17458 volatile float_type tmpf;
17459 volatile double_type tmpd;
17460 volatile ld_type tmpld;
17461 volatile float f;
17462 volatile double d;
17463 volatile long double ld;
17465 main ()
17467 f = cabsf(tmpf);
17468 f = cargf(tmpf);
17469 tmpf = ccosf(tmpf);
17470 tmpf = ccoshf(tmpf);
17471 tmpf = cexpf(tmpf);
17472 tmpf = clogf(tmpf);
17473 tmpf = csinf(tmpf);
17474 tmpf = csinhf(tmpf);
17475 tmpf = csqrtf(tmpf);
17476 tmpf = ctanf(tmpf);
17477 tmpf = ctanhf(tmpf);
17478 tmpf = cpowf(tmpf, tmpf);
17479 tmpf = cprojf(tmpf);
17480 d = cabs(tmpd);
17481 d = carg(tmpd);
17482 tmpd = ccos(tmpd);
17483 tmpd = ccosh(tmpd);
17484 tmpd = cexp(tmpd);
17485 tmpd = clog(tmpd);
17486 tmpd = csin(tmpd);
17487 tmpd = csinh(tmpd);
17488 tmpd = csqrt(tmpd);
17489 tmpd = ctan(tmpd);
17490 tmpd = ctanh(tmpd);
17491 tmpd = cpow(tmpd, tmpd);
17492 tmpd = cproj(tmpd);
17493 ld = cabsl(tmpld);
17494 ld = cargl(tmpld);
17495 tmpld = ccosl(tmpld);
17496 tmpld = ccoshl(tmpld);
17497 tmpld = cexpl(tmpld);
17498 tmpld = clogl(tmpld);
17499 tmpld = csinl(tmpld);
17500 tmpld = csinhl(tmpld);
17501 tmpld = csqrtl(tmpld);
17502 tmpld = ctanl(tmpld);
17503 tmpld = ctanhl(tmpld);
17504 tmpld = cpowl(tmpld, tmpld);
17505 tmpld = cprojl(tmpld);
17508 return 0;
17510 _ACEOF
17511 if ac_fn_cxx_try_link "$LINENO"; then :
17512 glibcxx_cv_c99_complex_cxx98=yes
17513 else
17514 glibcxx_cv_c99_complex_cxx98=no
17516 rm -f core conftest.err conftest.$ac_objext \
17517 conftest$ac_exeext conftest.$ac_ext
17521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex_cxx98" >&5
17522 $as_echo "$glibcxx_cv_c99_complex_cxx98" >&6; }
17524 if test x"$glibcxx_cv_c99_complex_cxx98" = x"yes"; then
17526 $as_echo "#define _GLIBCXX98_USE_C99_COMPLEX 1" >>confdefs.h
17530 # Check for the existence in <stdio.h> of vscanf, et. al.
17531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h> for C++98" >&5
17532 $as_echo_n "checking for ISO C99 support in <stdio.h> for C++98... " >&6; }
17533 if ${glibcxx_cv_c99_stdio_cxx98+:} false; then :
17534 $as_echo_n "(cached) " >&6
17535 else
17537 if test x$gcc_no_link = xyes; then
17538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17539 /* end confdefs.h. */
17540 #include <stdio.h>
17541 #include <stdarg.h>
17542 void foo(char* fmt, ...)
17544 va_list args; va_start(args, fmt);
17545 vfscanf(stderr, "%i", args);
17546 vscanf("%i", args);
17547 vsnprintf(fmt, 0, "%i", args);
17548 vsscanf(fmt, "%i", args);
17549 snprintf(fmt, 0, "%i");
17552 main ()
17556 return 0;
17558 _ACEOF
17559 if ac_fn_cxx_try_compile "$LINENO"; then :
17560 glibcxx_cv_c99_stdio_cxx98=yes
17561 else
17562 glibcxx_cv_c99_stdio_cxx98=no
17564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17565 else
17566 if test x$gcc_no_link = xyes; then
17567 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17570 /* end confdefs.h. */
17571 #include <stdio.h>
17572 #include <stdarg.h>
17573 void foo(char* fmt, ...)
17575 va_list args; va_start(args, fmt);
17576 vfscanf(stderr, "%i", args);
17577 vscanf("%i", args);
17578 vsnprintf(fmt, 0, "%i", args);
17579 vsscanf(fmt, "%i", args);
17580 snprintf(fmt, 0, "%i");
17583 main ()
17587 return 0;
17589 _ACEOF
17590 if ac_fn_cxx_try_link "$LINENO"; then :
17591 glibcxx_cv_c99_stdio_cxx98=yes
17592 else
17593 glibcxx_cv_c99_stdio_cxx98=no
17595 rm -f core conftest.err conftest.$ac_objext \
17596 conftest$ac_exeext conftest.$ac_ext
17600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio_cxx98" >&5
17601 $as_echo "$glibcxx_cv_c99_stdio_cxx98" >&6; }
17602 if test x"$glibcxx_cv_c99_stdio_cxx98" = x"yes"; then
17604 $as_echo "#define _GLIBCXX98_USE_C99_STDIO 1" >>confdefs.h
17608 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
17609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h> for C++98" >&5
17610 $as_echo_n "checking for ISO C99 support in <stdlib.h> for C++98... " >&6; }
17611 if ${glibcxx_cv_c99_stdlib_cxx98+:} false; then :
17612 $as_echo_n "(cached) " >&6
17613 else
17615 if test x$gcc_no_link = xyes; then
17616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17617 /* end confdefs.h. */
17618 #include <stdlib.h>
17619 volatile float f;
17620 volatile long double ld;
17621 volatile unsigned long long ll;
17622 lldiv_t mydivt;
17624 main ()
17626 char* tmp;
17627 f = strtof("gnu", &tmp);
17628 ld = strtold("gnu", &tmp);
17629 ll = strtoll("gnu", &tmp, 10);
17630 ll = strtoull("gnu", &tmp, 10);
17631 ll = llabs(10);
17632 mydivt = lldiv(10,1);
17633 ll = mydivt.quot;
17634 ll = mydivt.rem;
17635 ll = atoll("10");
17636 _Exit(0);
17639 return 0;
17641 _ACEOF
17642 if ac_fn_cxx_try_compile "$LINENO"; then :
17643 glibcxx_cv_c99_stdlib_cxx98=yes
17644 else
17645 glibcxx_cv_c99_stdlib_cxx98=no
17647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17648 else
17649 if test x$gcc_no_link = xyes; then
17650 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17653 /* end confdefs.h. */
17654 #include <stdlib.h>
17655 volatile float f;
17656 volatile long double ld;
17657 volatile unsigned long long ll;
17658 lldiv_t mydivt;
17660 main ()
17662 char* tmp;
17663 f = strtof("gnu", &tmp);
17664 ld = strtold("gnu", &tmp);
17665 ll = strtoll("gnu", &tmp, 10);
17666 ll = strtoull("gnu", &tmp, 10);
17667 ll = llabs(10);
17668 mydivt = lldiv(10,1);
17669 ll = mydivt.quot;
17670 ll = mydivt.rem;
17671 ll = atoll("10");
17672 _Exit(0);
17675 return 0;
17677 _ACEOF
17678 if ac_fn_cxx_try_link "$LINENO"; then :
17679 glibcxx_cv_c99_stdlib_cxx98=yes
17680 else
17681 glibcxx_cv_c99_stdlib_cxx98=no
17683 rm -f core conftest.err conftest.$ac_objext \
17684 conftest$ac_exeext conftest.$ac_ext
17688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib_cxx98" >&5
17689 $as_echo "$glibcxx_cv_c99_stdlib_cxx98" >&6; }
17690 if test x"$glibcxx_cv_c99_stdlib_cxx98" = x"yes"; then
17692 $as_echo "#define _GLIBCXX98_USE_C99_STDLIB 1" >>confdefs.h
17696 # Check for the existence in <wchar.h> of wcstold, etc.
17697 if test x"$ac_has_wchar_h" = xyes &&
17698 test x"$ac_has_wctype_h" = xyes; then
17699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h> for C++98" >&5
17700 $as_echo_n "checking for ISO C99 support in <wchar.h> for C++98... " >&6; }
17701 if ${glibcxx_cv_c99_wchar_cxx98+:} false; then :
17702 $as_echo_n "(cached) " >&6
17703 else
17705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17706 /* end confdefs.h. */
17707 #include <wchar.h>
17708 namespace test
17710 using ::wcstold;
17711 using ::wcstoll;
17712 using ::wcstoull;
17716 main ()
17720 return 0;
17722 _ACEOF
17723 if ac_fn_cxx_try_compile "$LINENO"; then :
17724 glibcxx_cv_c99_wchar_cxx98=yes
17725 else
17726 glibcxx_cv_c99_wchar_cxx98=no
17728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar_cxx98" >&5
17732 $as_echo "$glibcxx_cv_c99_wchar_cxx98" >&6; }
17734 # Checks for wide character functions that may not be present.
17735 # Injection of these is wrapped with guard macros.
17736 # NB: only put functions here, instead of immediately above, if
17737 # absolutely necessary.
17738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17739 /* end confdefs.h. */
17740 #include <wchar.h>
17741 namespace test { using ::vfwscanf; }
17743 main ()
17747 return 0;
17749 _ACEOF
17750 if ac_fn_cxx_try_compile "$LINENO"; then :
17752 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
17755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17758 /* end confdefs.h. */
17759 #include <wchar.h>
17760 namespace test { using ::vswscanf; }
17762 main ()
17766 return 0;
17768 _ACEOF
17769 if ac_fn_cxx_try_compile "$LINENO"; then :
17771 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
17774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17777 /* end confdefs.h. */
17778 #include <wchar.h>
17779 namespace test { using ::vwscanf; }
17781 main ()
17785 return 0;
17787 _ACEOF
17788 if ac_fn_cxx_try_compile "$LINENO"; then :
17790 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
17793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17796 /* end confdefs.h. */
17797 #include <wchar.h>
17798 namespace test { using ::wcstof; }
17800 main ()
17804 return 0;
17806 _ACEOF
17807 if ac_fn_cxx_try_compile "$LINENO"; then :
17809 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
17812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17815 /* end confdefs.h. */
17816 #include <wctype.h>
17818 main ()
17820 wint_t t; int i = iswblank(t);
17822 return 0;
17824 _ACEOF
17825 if ac_fn_cxx_try_compile "$LINENO"; then :
17827 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
17830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17832 if test x"$glibcxx_cv_c99_wchar_cxx98" = x"yes"; then
17834 $as_echo "#define _GLIBCXX98_USE_C99_WCHAR 1" >>confdefs.h
17839 # Option parsed, now set things appropriately.
17840 if test x"$glibcxx_cv_c99_math_cxx98" = x"no" ||
17841 test x"$glibcxx_cv_c99_complex_cxx98" = x"no" ||
17842 test x"$glibcxx_cv_c99_stdio_cxx98" = x"no" ||
17843 test x"$glibcxx_cv_c99_stdlib_cxx98" = x"no" ||
17844 test x"$glibcxx_cv_c99_wchar_cxx98" = x"no"; then
17845 enable_c99=no;
17846 else
17848 $as_echo "#define _GLIBCXX_USE_C99 1" >>confdefs.h
17852 gcc_no_link="$ac_save_gcc_no_link"
17853 LIBS="$ac_save_LIBS"
17854 CXXFLAGS="$ac_save_CXXFLAGS"
17855 ac_ext=c
17856 ac_cpp='$CPP $CPPFLAGS'
17857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17863 ac_ext=cpp
17864 ac_cpp='$CXXCPP $CPPFLAGS'
17865 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17866 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17867 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17870 # Use -std=c++11 and test again for C99 library feature in C++11 mode.
17871 # For the reasons given above we use -std=c++11 not -std=gnu++11.
17872 ac_save_CXXFLAGS="$CXXFLAGS"
17873 CXXFLAGS="$CXXFLAGS -std=c++11"
17874 ac_save_LIBS="$LIBS"
17875 ac_save_gcc_no_link="$gcc_no_link"
17877 if test x$gcc_no_link != xyes; then
17878 # Use -fno-exceptions to that the C driver can link these tests without
17879 # hitting undefined references to personality routines.
17880 CXXFLAGS="$CXXFLAGS -fno-exceptions"
17881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
17882 $as_echo_n "checking for sin in -lm... " >&6; }
17883 if ${ac_cv_lib_m_sin+:} false; then :
17884 $as_echo_n "(cached) " >&6
17885 else
17886 ac_check_lib_save_LIBS=$LIBS
17887 LIBS="-lm $LIBS"
17888 if test x$gcc_no_link = xyes; then
17889 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17892 /* end confdefs.h. */
17894 /* Override any GCC internal prototype to avoid an error.
17895 Use char because int might match the return type of a GCC
17896 builtin and then its argument prototype would still apply. */
17897 #ifdef __cplusplus
17898 extern "C"
17899 #endif
17900 char sin ();
17902 main ()
17904 return sin ();
17906 return 0;
17908 _ACEOF
17909 if ac_fn_cxx_try_link "$LINENO"; then :
17910 ac_cv_lib_m_sin=yes
17911 else
17912 ac_cv_lib_m_sin=no
17914 rm -f core conftest.err conftest.$ac_objext \
17915 conftest$ac_exeext conftest.$ac_ext
17916 LIBS=$ac_check_lib_save_LIBS
17918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
17919 $as_echo "$ac_cv_lib_m_sin" >&6; }
17920 if test "x$ac_cv_lib_m_sin" = xyes; then :
17921 LIBS="$LIBS -lm"
17922 else
17924 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
17925 gcc_no_link=yes
17931 # Check for the existence of <math.h> functions used if C99 is enabled.
17932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h> for C++11" >&5
17933 $as_echo_n "checking for ISO C99 support in <math.h> for C++11... " >&6; }
17934 if ${glibcxx_cv_c99_math_cxx11+:} false; then :
17935 $as_echo_n "(cached) " >&6
17936 else
17938 if test x$gcc_no_link = xyes; then
17939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17940 /* end confdefs.h. */
17941 #include <math.h>
17942 volatile double d1, d2;
17943 volatile int i;
17945 main ()
17947 i = fpclassify(d1);
17948 i = isfinite(d1);
17949 i = isinf(d1);
17950 i = isnan(d1);
17951 i = isnormal(d1);
17952 i = signbit(d1);
17953 i = isgreater(d1, d2);
17954 i = isgreaterequal(d1, d2);
17955 i = isless(d1, d2);
17956 i = islessequal(d1, d2);
17957 i = islessgreater(d1, d2);
17958 i = islessgreater(d1, d2);
17959 i = isunordered(d1, d2);
17962 return 0;
17964 _ACEOF
17965 if ac_fn_cxx_try_compile "$LINENO"; then :
17966 glibcxx_cv_c99_math_cxx11=yes
17967 else
17968 glibcxx_cv_c99_math_cxx11=no
17970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17971 else
17972 if test x$gcc_no_link = xyes; then
17973 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17976 /* end confdefs.h. */
17977 #include <math.h>
17978 volatile double d1, d2;
17979 volatile int i;
17981 main ()
17983 i = fpclassify(d1);
17984 i = isfinite(d1);
17985 i = isinf(d1);
17986 i = isnan(d1);
17987 i = isnormal(d1);
17988 i = signbit(d1);
17989 i = isgreater(d1, d2);
17990 i = isgreaterequal(d1, d2);
17991 i = isless(d1, d2);
17992 i = islessequal(d1, d2);
17993 i = islessgreater(d1, d2);
17994 i = islessgreater(d1, d2);
17995 i = isunordered(d1, d2);
17998 return 0;
18000 _ACEOF
18001 if ac_fn_cxx_try_link "$LINENO"; then :
18002 glibcxx_cv_c99_math_cxx11=yes
18003 else
18004 glibcxx_cv_c99_math_cxx11=no
18006 rm -f core conftest.err conftest.$ac_objext \
18007 conftest$ac_exeext conftest.$ac_ext
18011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_cxx11" >&5
18012 $as_echo "$glibcxx_cv_c99_math_cxx11" >&6; }
18013 if test x"$glibcxx_cv_c99_math_cxx11" = x"yes"; then
18015 $as_echo "#define _GLIBCXX11_USE_C99_MATH 1" >>confdefs.h
18019 # Check for the existence of <complex.h> complex math functions.
18020 # This is necessary even though libstdc++ uses the builtin versions
18021 # of these functions, because if the builtin cannot be used, a reference
18022 # to the library function is emitted.
18023 for ac_header in tgmath.h
18024 do :
18025 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
18026 if test "x$ac_cv_header_tgmath_h" = xyes; then :
18027 cat >>confdefs.h <<_ACEOF
18028 #define HAVE_TGMATH_H 1
18029 _ACEOF
18030 ac_has_tgmath_h=yes
18031 else
18032 ac_has_tgmath_h=no
18035 done
18037 for ac_header in complex.h
18038 do :
18039 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
18040 if test "x$ac_cv_header_complex_h" = xyes; then :
18041 cat >>confdefs.h <<_ACEOF
18042 #define HAVE_COMPLEX_H 1
18043 _ACEOF
18044 ac_has_complex_h=yes
18045 else
18046 ac_has_complex_h=no
18049 done
18051 if test x"$ac_has_complex_h" = x"yes"; then
18052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h> for C++11" >&5
18053 $as_echo_n "checking for ISO C99 support in <complex.h> for C++11... " >&6; }
18054 if ${glibcxx_cv_c99_complex_cxx11+:} false; then :
18055 $as_echo_n "(cached) " >&6
18056 else
18058 if test x$gcc_no_link = xyes; then
18059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18060 /* end confdefs.h. */
18061 #include <complex.h>
18062 typedef __complex__ float float_type;
18063 typedef __complex__ double double_type;
18064 typedef __complex__ long double ld_type;
18065 volatile float_type tmpf;
18066 volatile double_type tmpd;
18067 volatile ld_type tmpld;
18068 volatile float f;
18069 volatile double d;
18070 volatile long double ld;
18072 main ()
18074 f = cabsf(tmpf);
18075 f = cargf(tmpf);
18076 tmpf = ccosf(tmpf);
18077 tmpf = ccoshf(tmpf);
18078 tmpf = cexpf(tmpf);
18079 tmpf = clogf(tmpf);
18080 tmpf = csinf(tmpf);
18081 tmpf = csinhf(tmpf);
18082 tmpf = csqrtf(tmpf);
18083 tmpf = ctanf(tmpf);
18084 tmpf = ctanhf(tmpf);
18085 tmpf = cpowf(tmpf, tmpf);
18086 tmpf = cprojf(tmpf);
18087 d = cabs(tmpd);
18088 d = carg(tmpd);
18089 tmpd = ccos(tmpd);
18090 tmpd = ccosh(tmpd);
18091 tmpd = cexp(tmpd);
18092 tmpd = clog(tmpd);
18093 tmpd = csin(tmpd);
18094 tmpd = csinh(tmpd);
18095 tmpd = csqrt(tmpd);
18096 tmpd = ctan(tmpd);
18097 tmpd = ctanh(tmpd);
18098 tmpd = cpow(tmpd, tmpd);
18099 tmpd = cproj(tmpd);
18100 ld = cabsl(tmpld);
18101 ld = cargl(tmpld);
18102 tmpld = ccosl(tmpld);
18103 tmpld = ccoshl(tmpld);
18104 tmpld = cexpl(tmpld);
18105 tmpld = clogl(tmpld);
18106 tmpld = csinl(tmpld);
18107 tmpld = csinhl(tmpld);
18108 tmpld = csqrtl(tmpld);
18109 tmpld = ctanl(tmpld);
18110 tmpld = ctanhl(tmpld);
18111 tmpld = cpowl(tmpld, tmpld);
18112 tmpld = cprojl(tmpld);
18115 return 0;
18117 _ACEOF
18118 if ac_fn_cxx_try_compile "$LINENO"; then :
18119 glibcxx_cv_c99_complex_cxx11=yes
18120 else
18121 glibcxx_cv_c99_complex_cxx11=no
18123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18124 else
18125 if test x$gcc_no_link = xyes; then
18126 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18129 /* end confdefs.h. */
18130 #include <complex.h>
18131 typedef __complex__ float float_type;
18132 typedef __complex__ double double_type;
18133 typedef __complex__ long double ld_type;
18134 volatile float_type tmpf;
18135 volatile double_type tmpd;
18136 volatile ld_type tmpld;
18137 volatile float f;
18138 volatile double d;
18139 volatile long double ld;
18141 main ()
18143 f = cabsf(tmpf);
18144 f = cargf(tmpf);
18145 tmpf = ccosf(tmpf);
18146 tmpf = ccoshf(tmpf);
18147 tmpf = cexpf(tmpf);
18148 tmpf = clogf(tmpf);
18149 tmpf = csinf(tmpf);
18150 tmpf = csinhf(tmpf);
18151 tmpf = csqrtf(tmpf);
18152 tmpf = ctanf(tmpf);
18153 tmpf = ctanhf(tmpf);
18154 tmpf = cpowf(tmpf, tmpf);
18155 tmpf = cprojf(tmpf);
18156 d = cabs(tmpd);
18157 d = carg(tmpd);
18158 tmpd = ccos(tmpd);
18159 tmpd = ccosh(tmpd);
18160 tmpd = cexp(tmpd);
18161 tmpd = clog(tmpd);
18162 tmpd = csin(tmpd);
18163 tmpd = csinh(tmpd);
18164 tmpd = csqrt(tmpd);
18165 tmpd = ctan(tmpd);
18166 tmpd = ctanh(tmpd);
18167 tmpd = cpow(tmpd, tmpd);
18168 tmpd = cproj(tmpd);
18169 ld = cabsl(tmpld);
18170 ld = cargl(tmpld);
18171 tmpld = ccosl(tmpld);
18172 tmpld = ccoshl(tmpld);
18173 tmpld = cexpl(tmpld);
18174 tmpld = clogl(tmpld);
18175 tmpld = csinl(tmpld);
18176 tmpld = csinhl(tmpld);
18177 tmpld = csqrtl(tmpld);
18178 tmpld = ctanl(tmpld);
18179 tmpld = ctanhl(tmpld);
18180 tmpld = cpowl(tmpld, tmpld);
18181 tmpld = cprojl(tmpld);
18184 return 0;
18186 _ACEOF
18187 if ac_fn_cxx_try_link "$LINENO"; then :
18188 glibcxx_cv_c99_complex_cxx11=yes
18189 else
18190 glibcxx_cv_c99_complex_cxx11=no
18192 rm -f core conftest.err conftest.$ac_objext \
18193 conftest$ac_exeext conftest.$ac_ext
18197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex_cxx11" >&5
18198 $as_echo "$glibcxx_cv_c99_complex_cxx11" >&6; }
18200 if test x"$glibcxx_cv_c99_complex_cxx11" = x"yes"; then
18202 $as_echo "#define _GLIBCXX11_USE_C99_COMPLEX 1" >>confdefs.h
18206 # Check for the existence in <stdio.h> of vscanf, et. al.
18207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h> for C++11" >&5
18208 $as_echo_n "checking for ISO C99 support in <stdio.h> for C++11... " >&6; }
18209 if ${glibcxx_cv_c99_stdio_cxx11+:} false; then :
18210 $as_echo_n "(cached) " >&6
18211 else
18213 if test x$gcc_no_link = xyes; then
18214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18215 /* end confdefs.h. */
18216 #include <stdio.h>
18217 #include <stdarg.h>
18218 void foo(char* fmt, ...)
18220 va_list args; va_start(args, fmt);
18221 vfscanf(stderr, "%i", args);
18222 vscanf("%i", args);
18223 vsnprintf(fmt, 0, "%i", args);
18224 vsscanf(fmt, "%i", args);
18225 snprintf(fmt, 0, "%i");
18228 main ()
18232 return 0;
18234 _ACEOF
18235 if ac_fn_cxx_try_compile "$LINENO"; then :
18236 glibcxx_cv_c99_stdio_cxx11=yes
18237 else
18238 glibcxx_cv_c99_stdio_cxx11=no
18240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18241 else
18242 if test x$gcc_no_link = xyes; then
18243 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18246 /* end confdefs.h. */
18247 #include <stdio.h>
18248 #include <stdarg.h>
18249 void foo(char* fmt, ...)
18251 va_list args; va_start(args, fmt);
18252 vfscanf(stderr, "%i", args);
18253 vscanf("%i", args);
18254 vsnprintf(fmt, 0, "%i", args);
18255 vsscanf(fmt, "%i", args);
18256 snprintf(fmt, 0, "%i");
18259 main ()
18263 return 0;
18265 _ACEOF
18266 if ac_fn_cxx_try_link "$LINENO"; then :
18267 glibcxx_cv_c99_stdio_cxx11=yes
18268 else
18269 glibcxx_cv_c99_stdio_cxx11=no
18271 rm -f core conftest.err conftest.$ac_objext \
18272 conftest$ac_exeext conftest.$ac_ext
18276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio_cxx11" >&5
18277 $as_echo "$glibcxx_cv_c99_stdio_cxx11" >&6; }
18278 if test x"$glibcxx_cv_c99_stdio_cxx11" = x"yes"; then
18280 $as_echo "#define _GLIBCXX11_USE_C99_STDIO 1" >>confdefs.h
18284 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
18285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h> for C++11" >&5
18286 $as_echo_n "checking for ISO C99 support in <stdlib.h> for C++11... " >&6; }
18287 if ${glibcxx_cv_c99_stdlib_cxx11+:} false; then :
18288 $as_echo_n "(cached) " >&6
18289 else
18291 if test x$gcc_no_link = xyes; then
18292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18293 /* end confdefs.h. */
18294 #include <stdlib.h>
18295 volatile float f;
18296 volatile long double ld;
18297 volatile unsigned long long ll;
18298 lldiv_t mydivt;
18300 main ()
18302 char* tmp;
18303 f = strtof("gnu", &tmp);
18304 ld = strtold("gnu", &tmp);
18305 ll = strtoll("gnu", &tmp, 10);
18306 ll = strtoull("gnu", &tmp, 10);
18307 ll = llabs(10);
18308 mydivt = lldiv(10,1);
18309 ll = mydivt.quot;
18310 ll = mydivt.rem;
18311 ll = atoll("10");
18312 _Exit(0);
18315 return 0;
18317 _ACEOF
18318 if ac_fn_cxx_try_compile "$LINENO"; then :
18319 glibcxx_cv_c99_stdlib_cxx11=yes
18320 else
18321 glibcxx_cv_c99_stdlib_cxx11=no
18323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18324 else
18325 if test x$gcc_no_link = xyes; then
18326 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18329 /* end confdefs.h. */
18330 #include <stdlib.h>
18331 volatile float f;
18332 volatile long double ld;
18333 volatile unsigned long long ll;
18334 lldiv_t mydivt;
18336 main ()
18338 char* tmp;
18339 f = strtof("gnu", &tmp);
18340 ld = strtold("gnu", &tmp);
18341 ll = strtoll("gnu", &tmp, 10);
18342 ll = strtoull("gnu", &tmp, 10);
18343 ll = llabs(10);
18344 mydivt = lldiv(10,1);
18345 ll = mydivt.quot;
18346 ll = mydivt.rem;
18347 ll = atoll("10");
18348 _Exit(0);
18351 return 0;
18353 _ACEOF
18354 if ac_fn_cxx_try_link "$LINENO"; then :
18355 glibcxx_cv_c99_stdlib_cxx11=yes
18356 else
18357 glibcxx_cv_c99_stdlib_cxx11=no
18359 rm -f core conftest.err conftest.$ac_objext \
18360 conftest$ac_exeext conftest.$ac_ext
18364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib_cxx11" >&5
18365 $as_echo "$glibcxx_cv_c99_stdlib_cxx11" >&6; }
18366 if test x"$glibcxx_cv_c99_stdlib_cxx11" = x"yes"; then
18368 $as_echo "#define _GLIBCXX11_USE_C99_STDLIB 1" >>confdefs.h
18372 # Check for the existence in <wchar.h> of wcstold, etc.
18373 if test x"$ac_has_wchar_h" = xyes &&
18374 test x"$ac_has_wctype_h" = xyes; then
18375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h> for C++11" >&5
18376 $as_echo_n "checking for ISO C99 support in <wchar.h> for C++11... " >&6; }
18377 if ${glibcxx_cv_c99_wchar_cxx11+:} false; then :
18378 $as_echo_n "(cached) " >&6
18379 else
18381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18382 /* end confdefs.h. */
18383 #include <wchar.h>
18384 namespace test
18386 using ::wcstold;
18387 using ::wcstoll;
18388 using ::wcstoull;
18392 main ()
18396 return 0;
18398 _ACEOF
18399 if ac_fn_cxx_try_compile "$LINENO"; then :
18400 glibcxx_cv_c99_wchar_cxx11=yes
18401 else
18402 glibcxx_cv_c99_wchar_cxx11=no
18404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar_cxx11" >&5
18408 $as_echo "$glibcxx_cv_c99_wchar_cxx11" >&6; }
18410 # Checks for wide character functions that may not be present.
18411 # Injection of these is wrapped with guard macros.
18412 # NB: only put functions here, instead of immediately above, if
18413 # absolutely necessary.
18414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18415 /* end confdefs.h. */
18416 #include <wchar.h>
18417 namespace test { using ::vfwscanf; }
18419 main ()
18423 return 0;
18425 _ACEOF
18426 if ac_fn_cxx_try_compile "$LINENO"; then :
18428 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
18431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18434 /* end confdefs.h. */
18435 #include <wchar.h>
18436 namespace test { using ::vswscanf; }
18438 main ()
18442 return 0;
18444 _ACEOF
18445 if ac_fn_cxx_try_compile "$LINENO"; then :
18447 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
18450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18453 /* end confdefs.h. */
18454 #include <wchar.h>
18455 namespace test { using ::vwscanf; }
18457 main ()
18461 return 0;
18463 _ACEOF
18464 if ac_fn_cxx_try_compile "$LINENO"; then :
18466 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
18469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18472 /* end confdefs.h. */
18473 #include <wchar.h>
18474 namespace test { using ::wcstof; }
18476 main ()
18480 return 0;
18482 _ACEOF
18483 if ac_fn_cxx_try_compile "$LINENO"; then :
18485 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
18488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18491 /* end confdefs.h. */
18492 #include <wctype.h>
18494 main ()
18496 wint_t t; int i = iswblank(t);
18498 return 0;
18500 _ACEOF
18501 if ac_fn_cxx_try_compile "$LINENO"; then :
18503 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
18506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18508 if test x"$glibcxx_cv_c99_wchar_cxx11" = x"yes"; then
18510 $as_echo "#define _GLIBCXX11_USE_C99_WCHAR 1" >>confdefs.h
18515 gcc_no_link="$ac_save_gcc_no_link"
18516 LIBS="$ac_save_LIBS"
18517 CXXFLAGS="$ac_save_CXXFLAGS"
18518 ac_ext=c
18519 ac_cpp='$CPP $CPPFLAGS'
18520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fully enabled ISO C99 support" >&5
18527 $as_echo_n "checking for fully enabled ISO C99 support... " >&6; }
18528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_c99" >&5
18529 $as_echo "$enable_c99" >&6; }
18532 # Check whether --enable-concept-checks was given.
18533 if test "${enable_concept_checks+set}" = set; then :
18534 enableval=$enable_concept_checks;
18535 case "$enableval" in
18536 yes|no) ;;
18537 *) as_fn_error $? "Argument to enable/disable concept-checks must be yes or no" "$LINENO" 5 ;;
18538 esac
18540 else
18541 enable_concept_checks=no
18545 if test $enable_concept_checks = yes; then
18547 $as_echo "#define _GLIBCXX_CONCEPT_CHECKS 1" >>confdefs.h
18552 # Check whether --enable-libstdcxx-debug-flags was given.
18553 if test "${enable_libstdcxx_debug_flags+set}" = set; then :
18554 enableval=$enable_libstdcxx_debug_flags; case "x$enable_libstdcxx_debug_flags" in
18555 xno | x) enable_libstdcxx_debug_flags= ;;
18556 x-*) ;;
18557 *) as_fn_error $? "--enable-libstdcxx-debug-flags needs compiler flags as arguments" "$LINENO" 5 ;;
18558 esac
18559 else
18560 enable_libstdcxx_debug_flags="-gdwarf-4 -g3 -O0 -D_GLIBCXX_ASSERTIONS"
18565 # Option parsed, now set things appropriately
18566 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
18569 { $as_echo "$as_me:${as_lineno-$LINENO}: Debug build flags set to $DEBUG_FLAGS" >&5
18570 $as_echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
18573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional debug build" >&5
18574 $as_echo_n "checking for additional debug build... " >&6; }
18575 skip_debug_build=
18576 # Check whether --enable-libstdcxx-debug was given.
18577 if test "${enable_libstdcxx_debug+set}" = set; then :
18578 enableval=$enable_libstdcxx_debug;
18579 case "$enableval" in
18580 yes|no) ;;
18581 *) as_fn_error $? "Argument to enable/disable libstdcxx-debug must be yes or no" "$LINENO" 5 ;;
18582 esac
18584 else
18585 enable_libstdcxx_debug=no
18589 if test x$enable_libstdcxx_debug = xyes; then
18590 if test -f $toplevel_builddir/../stage_final \
18591 && test -f $toplevel_builddir/../stage_current; then
18592 stage_final=`cat $toplevel_builddir/../stage_final`
18593 stage_current=`cat $toplevel_builddir/../stage_current`
18594 if test x$stage_current != x$stage_final ; then
18595 skip_debug_build=" (skipped for bootstrap stage $stage_current)"
18596 enable_libstdcxx_debug=no
18600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_debug$skip_debug_build" >&5
18601 $as_echo "$enable_libstdcxx_debug$skip_debug_build" >&6; }
18606 enable_parallel=no;
18608 # See if configured libgomp/omp.h exists. (libgomp may be in
18609 # noconfigdirs but not explicitly disabled.)
18610 if echo " ${TARGET_CONFIGDIRS} " | grep " libgomp " > /dev/null 2>&1 ; then
18611 enable_parallel=yes;
18612 else
18613 { $as_echo "$as_me:${as_lineno-$LINENO}: target-libgomp not built" >&5
18614 $as_echo "$as_me: target-libgomp not built" >&6;}
18617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parallel mode support" >&5
18618 $as_echo_n "checking for parallel mode support... " >&6; }
18619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_parallel" >&5
18620 $as_echo "$enable_parallel" >&6; }
18622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra compiler flags for building" >&5
18623 $as_echo_n "checking for extra compiler flags for building... " >&6; }
18624 # Check whether --enable-cxx-flags was given.
18625 if test "${enable_cxx_flags+set}" = set; then :
18626 enableval=$enable_cxx_flags; case "x$enable_cxx_flags" in
18627 xno | x) enable_cxx_flags= ;;
18628 x-*) ;;
18629 *) as_fn_error $? "--enable-cxx-flags needs compiler flags as arguments" "$LINENO" 5 ;;
18630 esac
18631 else
18632 enable_cxx_flags=
18637 # Run through flags (either default or command-line) and set anything
18638 # extra (e.g., #defines) that must accompany particular g++ options.
18639 if test -n "$enable_cxx_flags"; then
18640 for f in $enable_cxx_flags; do
18641 case "$f" in
18642 -fhonor-std) ;;
18643 -*) ;;
18644 *) # and we're trying to pass /what/ exactly?
18645 as_fn_error $? "compiler flags start with a -" "$LINENO" 5 ;;
18646 esac
18647 done
18650 EXTRA_CXX_FLAGS="$enable_cxx_flags"
18651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXTRA_CXX_FLAGS" >&5
18652 $as_echo "$EXTRA_CXX_FLAGS" >&6; }
18656 # Check whether --enable-fully-dynamic-string was given.
18657 if test "${enable_fully_dynamic_string+set}" = set; then :
18658 enableval=$enable_fully_dynamic_string;
18659 case "$enableval" in
18660 yes|no) ;;
18661 *) as_fn_error $? "Argument to enable/disable fully-dynamic-string must be yes or no" "$LINENO" 5 ;;
18662 esac
18664 else
18665 enable_fully_dynamic_string=no
18669 if test $enable_fully_dynamic_string = yes; then
18670 enable_fully_dynamic_string_def=1
18671 else
18672 enable_fully_dynamic_string_def=0
18675 cat >>confdefs.h <<_ACEOF
18676 #define _GLIBCXX_FULLY_DYNAMIC_STRING ${enable_fully_dynamic_string_def}
18677 _ACEOF
18682 # Check whether --enable-extern-template was given.
18683 if test "${enable_extern_template+set}" = set; then :
18684 enableval=$enable_extern_template;
18685 case "$enableval" in
18686 yes|no) ;;
18687 *) as_fn_error $? "Argument to enable/disable extern-template must be yes or no" "$LINENO" 5 ;;
18688 esac
18690 else
18691 enable_extern_template=yes
18696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extern template support" >&5
18697 $as_echo_n "checking for extern template support... " >&6; }
18698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_extern_template" >&5
18699 $as_echo "$enable_extern_template" >&6; }
18705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for custom python install directory" >&5
18706 $as_echo_n "checking for custom python install directory... " >&6; }
18708 # Check whether --with-python-dir was given.
18709 if test "${with_python_dir+set}" = set; then :
18710 withval=$with_python_dir; with_python_dir=$withval
18711 else
18712 with_python_dir="no"
18715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_python_dir}" >&5
18716 $as_echo "${with_python_dir}" >&6; }
18718 # Needed for installing Python modules during make install.
18719 python_mod_dir="${with_python_dir}"
18724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Werror" >&5
18725 $as_echo_n "checking for -Werror... " >&6; }
18726 # Check whether --enable-werror was given.
18727 if test "${enable_werror+set}" = set; then :
18728 enableval=$enable_werror;
18729 case "$enableval" in
18730 yes|no) ;;
18731 *) as_fn_error $? "Argument to enable/disable werror must be yes or no" "$LINENO" 5 ;;
18732 esac
18734 else
18735 enable_werror=no
18739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_werror" >&5
18740 $as_echo "$enable_werror" >&6; }
18745 # Check whether --enable-vtable-verify was given.
18746 if test "${enable_vtable_verify+set}" = set; then :
18747 enableval=$enable_vtable_verify;
18748 case "$enableval" in
18749 yes|no) ;;
18750 *) as_fn_error $? "Argument to enable/disable vtable-verify must be yes or no" "$LINENO" 5 ;;
18751 esac
18753 else
18754 enable_vtable_verify=no
18759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vtable verify support" >&5
18760 $as_echo_n "checking for vtable verify support... " >&6; }
18761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_vtable_verify" >&5
18762 $as_echo "$enable_vtable_verify" >&6; }
18764 vtv_cygmin=no
18765 if test $enable_vtable_verify = yes; then
18766 case ${target_os} in
18767 cygwin*|mingw32*)
18768 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-lvtv,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
18769 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,--rpath -Wl,${toplevel_builddir}/libvtv/.libs"
18770 vtv_cygmin=yes
18772 darwin*)
18773 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u,_vtable_map_vars_start -Wl,-u,_vtable_map_vars_end"
18774 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,-rpath,${toplevel_builddir}/libvtv/.libs"
18776 solaris2*)
18777 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
18778 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,-R -Wl,${toplevel_builddir}/libvtv/.libs"
18781 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
18782 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,--rpath -Wl,${toplevel_builddir}/libvtv/.libs"
18784 esac
18785 VTV_PCH_CXXFLAGS="-fvtable-verify=std"
18786 else
18787 VTV_CXXFLAGS=
18788 VTV_PCH_CXXFLAGS=
18789 VTV_CXXLINKFLAGS=
18795 if test x$vtv_cygmin = xyes; then
18796 VTV_CYGMIN_TRUE=
18797 VTV_CYGMIN_FALSE='#'
18798 else
18799 VTV_CYGMIN_TRUE='#'
18800 VTV_CYGMIN_FALSE=
18806 # Checks for operating systems support that doesn't require linking.
18810 ac_ext=cpp
18811 ac_cpp='$CXXCPP $CPPFLAGS'
18812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18816 # Use C++11 because a conforming <stdio.h> won't define gets for C++14,
18817 # and we don't need a declaration for C++14 anyway.
18818 ac_save_CXXFLAGS="$CXXFLAGS"
18819 CXXFLAGS="$CXXFLAGS -std=gnu++11"
18821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gets declaration" >&5
18822 $as_echo_n "checking for gets declaration... " >&6; }
18823 if ${glibcxx_cv_gets+:} false; then :
18824 $as_echo_n "(cached) " >&6
18825 else
18827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18828 /* end confdefs.h. */
18829 #include <stdio.h>
18830 namespace test
18832 using ::gets;
18835 _ACEOF
18836 if ac_fn_cxx_try_compile "$LINENO"; then :
18837 glibcxx_cv_gets=yes
18838 else
18839 glibcxx_cv_gets=no
18842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_gets" >&5
18845 $as_echo "$glibcxx_cv_gets" >&6; }
18847 if test $glibcxx_cv_gets = yes; then
18849 $as_echo "#define HAVE_GETS 1" >>confdefs.h
18853 CXXFLAGS="$ac_save_CXXFLAGS"
18854 ac_ext=c
18855 ac_cpp='$CPP $CPPFLAGS'
18856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18864 ac_ext=cpp
18865 ac_cpp='$CXXCPP $CPPFLAGS'
18866 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18867 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18868 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18870 ac_save_CXXFLAGS="$CXXFLAGS"
18871 CXXFLAGS="$CXXFLAGS -std=c++11"
18873 case "$host" in
18874 *-*-solaris2.*)
18875 # Solaris 12 Build 86, Solaris 11.3 SRU 3.6, and Solaris 10 Patch
18876 # 11996[67]-02 introduced the C++11 <math.h> floating point overloads.
18877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++11 <math.h> floating point overloads" >&5
18878 $as_echo_n "checking for C++11 <math.h> floating point overloads... " >&6; }
18879 if ${glibcxx_cv_math11_fp_overload+:} false; then :
18880 $as_echo_n "(cached) " >&6
18881 else
18883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18884 /* end confdefs.h. */
18885 #include <math.h>
18886 #undef isfinite
18887 namespace std {
18888 inline bool isfinite(float __x)
18889 { return __builtin_isfinite(__x); }
18892 _ACEOF
18893 if ac_fn_cxx_try_compile "$LINENO"; then :
18894 glibcxx_cv_math11_fp_overload=no
18895 else
18896 glibcxx_cv_math11_fp_overload=yes
18899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_math11_fp_overload" >&5
18902 $as_echo "$glibcxx_cv_math11_fp_overload" >&6; }
18904 # autoheader cannot handle indented templates.
18907 if test $glibcxx_cv_math11_fp_overload = yes; then
18908 $as_echo "#define __CORRECT_ISO_CPP11_MATH_H_PROTO_FP 1" >>confdefs.h
18912 # Solaris 12 Build 90, Solaris 11.3 SRU 5.6, and Solaris 10 Patch
18913 # 11996[67]-02 introduced the C++11 <math.h> integral type overloads.
18914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++11 <math.h> integral type overloads" >&5
18915 $as_echo_n "checking for C++11 <math.h> integral type overloads... " >&6; }
18916 if ${glibcxx_cv_math11_int_overload+:} false; then :
18917 $as_echo_n "(cached) " >&6
18918 else
18920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18921 /* end confdefs.h. */
18922 #include <math.h>
18923 namespace std {
18924 template<typename _Tp>
18925 struct __is_integer;
18926 template<>
18927 struct __is_integer<int>
18929 enum { __value = 1 };
18932 namespace __gnu_cxx {
18933 template<bool, typename>
18934 struct __enable_if;
18935 template<typename _Tp>
18936 struct __enable_if<true, _Tp>
18937 { typedef _Tp __type; };
18939 namespace std {
18940 template<typename _Tp>
18941 constexpr typename __gnu_cxx::__enable_if
18942 <__is_integer<_Tp>::__value, double>::__type
18943 log2(_Tp __x)
18944 { return __builtin_log2(__x); }
18947 main (void)
18949 int i = 1000;
18950 return std::log2(i);
18953 _ACEOF
18954 if ac_fn_cxx_try_compile "$LINENO"; then :
18955 glibcxx_cv_math11_int_overload=no
18956 else
18957 glibcxx_cv_math11_int_overload=yes
18960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_math11_int_overload" >&5
18963 $as_echo "$glibcxx_cv_math11_int_overload" >&6; }
18965 # autoheader cannot handle indented templates.
18968 if test $glibcxx_cv_math11_int_overload = yes; then
18969 $as_echo "#define __CORRECT_ISO_CPP11_MATH_H_PROTO_INT 1" >>confdefs.h
18974 # If <math.h> defines the obsolete isinf(double) and isnan(double)
18975 # functions (instead of or as well as the C99 generic macros) then we
18976 # can't define std::isinf(double) and std::isnan(double) in <cmath>
18977 # and must use the ones from <math.h> instead.
18978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for obsolete isinf function in <math.h>" >&5
18979 $as_echo_n "checking for obsolete isinf function in <math.h>... " >&6; }
18980 if ${glibcxx_cv_obsolete_isinf+:} false; then :
18981 $as_echo_n "(cached) " >&6
18982 else
18984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18985 /* end confdefs.h. */
18986 #define _GLIBCXX_INCLUDE_NEXT_C_HEADERS
18987 #include <math.h>
18988 #undef isinf
18989 namespace std {
18990 using ::isinf;
18991 bool isinf(float);
18992 bool isinf(long double);
18994 using std::isinf;
18995 bool b = isinf(0.0);
18997 _ACEOF
18998 if ac_fn_cxx_try_compile "$LINENO"; then :
18999 glibcxx_cv_obsolete_isinf=yes
19000 else
19001 glibcxx_cv_obsolete_isinf=no
19004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_obsolete_isinf" >&5
19007 $as_echo "$glibcxx_cv_obsolete_isinf" >&6; }
19008 if test $glibcxx_cv_obsolete_isinf = yes; then
19010 $as_echo "#define HAVE_OBSOLETE_ISINF 1" >>confdefs.h
19014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for obsolete isnan function in <math.h>" >&5
19015 $as_echo_n "checking for obsolete isnan function in <math.h>... " >&6; }
19016 if ${glibcxx_cv_obsolete_isnan+:} false; then :
19017 $as_echo_n "(cached) " >&6
19018 else
19020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19021 /* end confdefs.h. */
19022 #define _GLIBCXX_INCLUDE_NEXT_C_HEADERS
19023 #include <math.h>
19024 #undef isnan
19025 namespace std {
19026 using ::isnan;
19027 bool isnan(float);
19028 bool isnan(long double);
19030 using std::isnan;
19031 bool b = isnan(0.0);
19033 _ACEOF
19034 if ac_fn_cxx_try_compile "$LINENO"; then :
19035 glibcxx_cv_obsolete_isnan=yes
19036 else
19037 glibcxx_cv_obsolete_isnan=no
19040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_obsolete_isnan" >&5
19043 $as_echo "$glibcxx_cv_obsolete_isnan" >&6; }
19044 if test $glibcxx_cv_obsolete_isnan = yes; then
19046 $as_echo "#define HAVE_OBSOLETE_ISNAN 1" >>confdefs.h
19050 esac
19052 CXXFLAGS="$ac_save_CXXFLAGS"
19053 ac_ext=c
19054 ac_cpp='$CPP $CPPFLAGS'
19055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19056 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19062 # Test uchar.h.
19063 for ac_header in uchar.h
19064 do :
19065 ac_fn_c_check_header_mongrel "$LINENO" "uchar.h" "ac_cv_header_uchar_h" "$ac_includes_default"
19066 if test "x$ac_cv_header_uchar_h" = xyes; then :
19067 cat >>confdefs.h <<_ACEOF
19068 #define HAVE_UCHAR_H 1
19069 _ACEOF
19070 ac_has_uchar_h=yes
19071 else
19072 ac_has_uchar_h=no
19075 done
19079 ac_ext=cpp
19080 ac_cpp='$CXXCPP $CPPFLAGS'
19081 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19082 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19083 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19085 ac_save_CXXFLAGS="$CXXFLAGS"
19086 CXXFLAGS="$CXXFLAGS -std=c++11"
19088 if test x"$ac_has_uchar_h" = x"yes"; then
19089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C11 support for <uchar.h>" >&5
19090 $as_echo_n "checking for ISO C11 support for <uchar.h>... " >&6; }
19091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19092 /* end confdefs.h. */
19093 #include <uchar.h>
19094 #ifdef __STDC_UTF_16__
19095 long i = __STDC_UTF_16__;
19096 #endif
19097 #ifdef __STDC_UTF_32__
19098 long j = __STDC_UTF_32__;
19099 #endif
19100 namespace test
19102 using ::c16rtomb;
19103 using ::c32rtomb;
19104 using ::mbrtoc16;
19105 using ::mbrtoc32;
19109 main ()
19113 return 0;
19115 _ACEOF
19116 if ac_fn_cxx_try_compile "$LINENO"; then :
19117 ac_c11_uchar_cxx11=yes
19118 else
19119 ac_c11_uchar_cxx11=no
19121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c11_uchar_cxx11" >&5
19123 $as_echo "$ac_c11_uchar_cxx11" >&6; }
19124 else
19125 ac_c11_uchar_cxx11=no
19127 if test x"$ac_c11_uchar_cxx11" = x"yes"; then
19129 $as_echo "#define _GLIBCXX_USE_C11_UCHAR_CXX11 1" >>confdefs.h
19133 CXXFLAGS="$ac_save_CXXFLAGS"
19134 ac_ext=c
19135 ac_cpp='$CPP $CPPFLAGS'
19136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19142 # For LFS support.
19145 ac_ext=cpp
19146 ac_cpp='$CXXCPP $CPPFLAGS'
19147 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19148 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19149 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19151 ac_save_CXXFLAGS="$CXXFLAGS"
19152 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LFS support" >&5
19154 $as_echo_n "checking for LFS support... " >&6; }
19155 if ${glibcxx_cv_LFS+:} false; then :
19156 $as_echo_n "(cached) " >&6
19157 else
19159 if test x$gcc_no_link = xyes; then
19160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19161 /* end confdefs.h. */
19162 #include <unistd.h>
19163 #include <stdio.h>
19164 #include <sys/stat.h>
19167 main ()
19169 FILE* fp;
19170 fopen64("t", "w");
19171 fseeko64(fp, 0, SEEK_CUR);
19172 ftello64(fp);
19173 lseek64(1, 0, SEEK_CUR);
19174 struct stat64 buf;
19175 fstat64(1, &buf);
19177 return 0;
19179 _ACEOF
19180 if ac_fn_cxx_try_compile "$LINENO"; then :
19181 glibcxx_cv_LFS=yes
19182 else
19183 glibcxx_cv_LFS=no
19185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19186 else
19187 if test x$gcc_no_link = xyes; then
19188 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19191 /* end confdefs.h. */
19192 #include <unistd.h>
19193 #include <stdio.h>
19194 #include <sys/stat.h>
19197 main ()
19199 FILE* fp;
19200 fopen64("t", "w");
19201 fseeko64(fp, 0, SEEK_CUR);
19202 ftello64(fp);
19203 lseek64(1, 0, SEEK_CUR);
19204 struct stat64 buf;
19205 fstat64(1, &buf);
19207 return 0;
19209 _ACEOF
19210 if ac_fn_cxx_try_link "$LINENO"; then :
19211 glibcxx_cv_LFS=yes
19212 else
19213 glibcxx_cv_LFS=no
19215 rm -f core conftest.err conftest.$ac_objext \
19216 conftest$ac_exeext conftest.$ac_ext
19220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_LFS" >&5
19221 $as_echo "$glibcxx_cv_LFS" >&6; }
19222 if test $glibcxx_cv_LFS = yes; then
19224 $as_echo "#define _GLIBCXX_USE_LFS 1" >>confdefs.h
19227 CXXFLAGS="$ac_save_CXXFLAGS"
19228 ac_ext=c
19229 ac_cpp='$CPP $CPPFLAGS'
19230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19236 # For showmanyc_helper().
19237 for ac_header in sys/ioctl.h sys/filio.h
19238 do :
19239 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19240 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19241 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
19242 cat >>confdefs.h <<_ACEOF
19243 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19244 _ACEOF
19248 done
19253 ac_ext=cpp
19254 ac_cpp='$CXXCPP $CPPFLAGS'
19255 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19256 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19257 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19259 ac_save_CXXFLAGS="$CXXFLAGS"
19260 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll" >&5
19263 $as_echo_n "checking for poll... " >&6; }
19264 if ${glibcxx_cv_POLL+:} false; then :
19265 $as_echo_n "(cached) " >&6
19266 else
19268 if test x$gcc_no_link = xyes; then
19269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19270 /* end confdefs.h. */
19271 #include <poll.h>
19273 main ()
19275 struct pollfd pfd[1];
19276 pfd[0].events = POLLIN;
19277 poll(pfd, 1, 0);
19279 return 0;
19281 _ACEOF
19282 if ac_fn_cxx_try_compile "$LINENO"; then :
19283 glibcxx_cv_POLL=yes
19284 else
19285 glibcxx_cv_POLL=no
19287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19288 else
19289 if test x$gcc_no_link = xyes; then
19290 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19293 /* end confdefs.h. */
19294 #include <poll.h>
19296 main ()
19298 struct pollfd pfd[1];
19299 pfd[0].events = POLLIN;
19300 poll(pfd, 1, 0);
19302 return 0;
19304 _ACEOF
19305 if ac_fn_cxx_try_link "$LINENO"; then :
19306 glibcxx_cv_POLL=yes
19307 else
19308 glibcxx_cv_POLL=no
19310 rm -f core conftest.err conftest.$ac_objext \
19311 conftest$ac_exeext conftest.$ac_ext
19315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_POLL" >&5
19316 $as_echo "$glibcxx_cv_POLL" >&6; }
19317 if test $glibcxx_cv_POLL = yes; then
19319 $as_echo "#define HAVE_POLL 1" >>confdefs.h
19323 CXXFLAGS="$ac_save_CXXFLAGS"
19324 ac_ext=c
19325 ac_cpp='$CPP $CPPFLAGS'
19326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19334 ac_ext=cpp
19335 ac_cpp='$CXXCPP $CPPFLAGS'
19336 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19337 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19338 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19340 ac_save_CXXFLAGS="$CXXFLAGS"
19341 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for S_ISREG or S_IFREG" >&5
19344 $as_echo_n "checking for S_ISREG or S_IFREG... " >&6; }
19345 if ${glibcxx_cv_S_ISREG+:} false; then :
19346 $as_echo_n "(cached) " >&6
19347 else
19349 if test x$gcc_no_link = xyes; then
19350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19351 /* end confdefs.h. */
19352 #include <sys/stat.h>
19354 main ()
19356 struct stat buffer;
19357 fstat(0, &buffer);
19358 S_ISREG(buffer.st_mode);
19360 return 0;
19362 _ACEOF
19363 if ac_fn_cxx_try_compile "$LINENO"; then :
19364 glibcxx_cv_S_ISREG=yes
19365 else
19366 glibcxx_cv_S_ISREG=no
19368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19369 else
19370 if test x$gcc_no_link = xyes; then
19371 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19374 /* end confdefs.h. */
19375 #include <sys/stat.h>
19377 main ()
19379 struct stat buffer;
19380 fstat(0, &buffer);
19381 S_ISREG(buffer.st_mode);
19383 return 0;
19385 _ACEOF
19386 if ac_fn_cxx_try_link "$LINENO"; then :
19387 glibcxx_cv_S_ISREG=yes
19388 else
19389 glibcxx_cv_S_ISREG=no
19391 rm -f core conftest.err conftest.$ac_objext \
19392 conftest$ac_exeext conftest.$ac_ext
19397 if ${glibcxx_cv_S_IFREG+:} false; then :
19398 $as_echo_n "(cached) " >&6
19399 else
19401 if test x$gcc_no_link = xyes; then
19402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19403 /* end confdefs.h. */
19404 #include <sys/stat.h>
19406 main ()
19408 struct stat buffer;
19409 fstat(0, &buffer);
19410 S_IFREG & buffer.st_mode;
19412 return 0;
19414 _ACEOF
19415 if ac_fn_cxx_try_compile "$LINENO"; then :
19416 glibcxx_cv_S_IFREG=yes
19417 else
19418 glibcxx_cv_S_IFREG=no
19420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19421 else
19422 if test x$gcc_no_link = xyes; then
19423 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19426 /* end confdefs.h. */
19427 #include <sys/stat.h>
19429 main ()
19431 struct stat buffer;
19432 fstat(0, &buffer);
19433 S_IFREG & buffer.st_mode;
19435 return 0;
19437 _ACEOF
19438 if ac_fn_cxx_try_link "$LINENO"; then :
19439 glibcxx_cv_S_IFREG=yes
19440 else
19441 glibcxx_cv_S_IFREG=no
19443 rm -f core conftest.err conftest.$ac_objext \
19444 conftest$ac_exeext conftest.$ac_ext
19449 res=no
19450 if test $glibcxx_cv_S_ISREG = yes; then
19452 $as_echo "#define HAVE_S_ISREG 1" >>confdefs.h
19454 res=S_ISREG
19455 elif test $glibcxx_cv_S_IFREG = yes; then
19457 $as_echo "#define HAVE_S_IFREG 1" >>confdefs.h
19459 res=S_IFREG
19461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
19462 $as_echo "$res" >&6; }
19464 CXXFLAGS="$ac_save_CXXFLAGS"
19465 ac_ext=c
19466 ac_cpp='$CPP $CPPFLAGS'
19467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19473 # For xsputn_2().
19474 for ac_header in sys/uio.h
19475 do :
19476 ac_fn_c_check_header_mongrel "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
19477 if test "x$ac_cv_header_sys_uio_h" = xyes; then :
19478 cat >>confdefs.h <<_ACEOF
19479 #define HAVE_SYS_UIO_H 1
19480 _ACEOF
19484 done
19489 ac_ext=cpp
19490 ac_cpp='$CXXCPP $CPPFLAGS'
19491 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19492 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19493 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19495 ac_save_CXXFLAGS="$CXXFLAGS"
19496 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for writev" >&5
19499 $as_echo_n "checking for writev... " >&6; }
19500 if ${glibcxx_cv_WRITEV+:} false; then :
19501 $as_echo_n "(cached) " >&6
19502 else
19504 if test x$gcc_no_link = xyes; then
19505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19506 /* end confdefs.h. */
19507 #include <sys/uio.h>
19509 main ()
19511 struct iovec iov[2];
19512 writev(0, iov, 0);
19514 return 0;
19516 _ACEOF
19517 if ac_fn_cxx_try_compile "$LINENO"; then :
19518 glibcxx_cv_WRITEV=yes
19519 else
19520 glibcxx_cv_WRITEV=no
19522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19523 else
19524 if test x$gcc_no_link = xyes; then
19525 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19528 /* end confdefs.h. */
19529 #include <sys/uio.h>
19531 main ()
19533 struct iovec iov[2];
19534 writev(0, iov, 0);
19536 return 0;
19538 _ACEOF
19539 if ac_fn_cxx_try_link "$LINENO"; then :
19540 glibcxx_cv_WRITEV=yes
19541 else
19542 glibcxx_cv_WRITEV=no
19544 rm -f core conftest.err conftest.$ac_objext \
19545 conftest$ac_exeext conftest.$ac_ext
19549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_WRITEV" >&5
19550 $as_echo "$glibcxx_cv_WRITEV" >&6; }
19551 if test $glibcxx_cv_WRITEV = yes; then
19553 $as_echo "#define HAVE_WRITEV 1" >>confdefs.h
19557 CXXFLAGS="$ac_save_CXXFLAGS"
19558 ac_ext=c
19559 ac_cpp='$CPP $CPPFLAGS'
19560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19566 # Check for fenv.h and complex.h before GLIBCXX_CHECK_C99_TR1
19567 # so that the check is done with the C compiler (not C++).
19568 # Checking with C++ can break a canadian cross build if either
19569 # file does not exist in C but does in C++.
19570 for ac_header in fenv.h complex.h
19571 do :
19572 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19573 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19574 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
19575 cat >>confdefs.h <<_ACEOF
19576 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19577 _ACEOF
19581 done
19584 # For C99 support to TR1.
19588 ac_ext=cpp
19589 ac_cpp='$CXXCPP $CPPFLAGS'
19590 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19591 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19592 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19595 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
19596 # undefined and fake C99 facilities may be spuriously enabled.
19597 ac_save_CXXFLAGS="$CXXFLAGS"
19598 CXXFLAGS="$CXXFLAGS -std=c++98"
19600 # Check for the existence of <complex.h> complex math functions used
19601 # by tr1/complex.
19602 for ac_header in complex.h
19603 do :
19604 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
19605 if test "x$ac_cv_header_complex_h" = xyes; then :
19606 cat >>confdefs.h <<_ACEOF
19607 #define HAVE_COMPLEX_H 1
19608 _ACEOF
19609 ac_has_complex_h=yes
19610 else
19611 ac_has_complex_h=no
19614 done
19616 ac_c99_complex_tr1=no;
19617 if test x"$ac_has_complex_h" = x"yes"; then
19618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <complex.h>" >&5
19619 $as_echo_n "checking for ISO C99 support to TR1 in <complex.h>... " >&6; }
19620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19621 /* end confdefs.h. */
19622 #include <complex.h>
19624 main ()
19626 typedef __complex__ float float_type; float_type tmpf;
19627 cacosf(tmpf);
19628 casinf(tmpf);
19629 catanf(tmpf);
19630 cacoshf(tmpf);
19631 casinhf(tmpf);
19632 catanhf(tmpf);
19633 typedef __complex__ double double_type; double_type tmpd;
19634 cacos(tmpd);
19635 casin(tmpd);
19636 catan(tmpd);
19637 cacosh(tmpd);
19638 casinh(tmpd);
19639 catanh(tmpd);
19640 typedef __complex__ long double ld_type; ld_type tmpld;
19641 cacosl(tmpld);
19642 casinl(tmpld);
19643 catanl(tmpld);
19644 cacoshl(tmpld);
19645 casinhl(tmpld);
19646 catanhl(tmpld);
19649 return 0;
19651 _ACEOF
19652 if ac_fn_cxx_try_compile "$LINENO"; then :
19653 ac_c99_complex_tr1=yes
19654 else
19655 ac_c99_complex_tr1=no
19657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_complex_tr1" >&5
19660 $as_echo "$ac_c99_complex_tr1" >&6; }
19661 if test x"$ac_c99_complex_tr1" = x"yes"; then
19663 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX_TR1 1" >>confdefs.h
19667 # Check for the existence of <ctype.h> functions.
19668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <ctype.h>" >&5
19669 $as_echo_n "checking for ISO C99 support to TR1 in <ctype.h>... " >&6; }
19670 if ${glibcxx_cv_c99_ctype_tr1+:} false; then :
19671 $as_echo_n "(cached) " >&6
19672 else
19674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19675 /* end confdefs.h. */
19676 #include <ctype.h>
19678 main ()
19680 int ch;
19681 int ret;
19682 ret = isblank(ch);
19685 return 0;
19687 _ACEOF
19688 if ac_fn_cxx_try_compile "$LINENO"; then :
19689 glibcxx_cv_c99_ctype_tr1=yes
19690 else
19691 glibcxx_cv_c99_ctype_tr1=no
19693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_ctype_tr1" >&5
19697 $as_echo "$glibcxx_cv_c99_ctype_tr1" >&6; }
19698 if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
19700 $as_echo "#define _GLIBCXX_USE_C99_CTYPE_TR1 1" >>confdefs.h
19704 # Check for the existence of <fenv.h> functions.
19705 for ac_header in fenv.h
19706 do :
19707 ac_fn_cxx_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
19708 if test "x$ac_cv_header_fenv_h" = xyes; then :
19709 cat >>confdefs.h <<_ACEOF
19710 #define HAVE_FENV_H 1
19711 _ACEOF
19712 ac_has_fenv_h=yes
19713 else
19714 ac_has_fenv_h=no
19717 done
19719 ac_c99_fenv_tr1=no;
19720 if test x"$ac_has_fenv_h" = x"yes"; then
19721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <fenv.h>" >&5
19722 $as_echo_n "checking for ISO C99 support to TR1 in <fenv.h>... " >&6; }
19723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19724 /* end confdefs.h. */
19725 #include <fenv.h>
19727 main ()
19729 int except, mode;
19730 fexcept_t* pflag;
19731 fenv_t* penv;
19732 int ret;
19733 ret = feclearexcept(except);
19734 ret = fegetexceptflag(pflag, except);
19735 ret = feraiseexcept(except);
19736 ret = fesetexceptflag(pflag, except);
19737 ret = fetestexcept(except);
19738 ret = fegetround();
19739 ret = fesetround(mode);
19740 ret = fegetenv(penv);
19741 ret = feholdexcept(penv);
19742 ret = fesetenv(penv);
19743 ret = feupdateenv(penv);
19746 return 0;
19748 _ACEOF
19749 if ac_fn_cxx_try_compile "$LINENO"; then :
19750 ac_c99_fenv_tr1=yes
19751 else
19752 ac_c99_fenv_tr1=no
19754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_fenv_tr1" >&5
19756 $as_echo "$ac_c99_fenv_tr1" >&6; }
19758 if test x"$ac_c99_fenv_tr1" = x"yes"; then
19760 $as_echo "#define _GLIBCXX_USE_C99_FENV_TR1 1" >>confdefs.h
19764 # Check for the existence of <stdint.h> types.
19765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <stdint.h>" >&5
19766 $as_echo_n "checking for ISO C99 support to TR1 in <stdint.h>... " >&6; }
19767 if ${glibcxx_cv_c99_stdint_tr1+:} false; then :
19768 $as_echo_n "(cached) " >&6
19769 else
19771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19772 /* end confdefs.h. */
19773 #define __STDC_LIMIT_MACROS
19774 #define __STDC_CONSTANT_MACROS
19775 #include <stdint.h>
19777 main ()
19779 typedef int8_t my_int8_t;
19780 my_int8_t i8 = INT8_MIN;
19781 i8 = INT8_MAX;
19782 typedef int16_t my_int16_t;
19783 my_int16_t i16 = INT16_MIN;
19784 i16 = INT16_MAX;
19785 typedef int32_t my_int32_t;
19786 my_int32_t i32 = INT32_MIN;
19787 i32 = INT32_MAX;
19788 typedef int64_t my_int64_t;
19789 my_int64_t i64 = INT64_MIN;
19790 i64 = INT64_MAX;
19791 typedef int_fast8_t my_int_fast8_t;
19792 my_int_fast8_t if8 = INT_FAST8_MIN;
19793 if8 = INT_FAST8_MAX;
19794 typedef int_fast16_t my_int_fast16_t;
19795 my_int_fast16_t if16 = INT_FAST16_MIN;
19796 if16 = INT_FAST16_MAX;
19797 typedef int_fast32_t my_int_fast32_t;
19798 my_int_fast32_t if32 = INT_FAST32_MIN;
19799 if32 = INT_FAST32_MAX;
19800 typedef int_fast64_t my_int_fast64_t;
19801 my_int_fast64_t if64 = INT_FAST64_MIN;
19802 if64 = INT_FAST64_MAX;
19803 typedef int_least8_t my_int_least8_t;
19804 my_int_least8_t il8 = INT_LEAST8_MIN;
19805 il8 = INT_LEAST8_MAX;
19806 typedef int_least16_t my_int_least16_t;
19807 my_int_least16_t il16 = INT_LEAST16_MIN;
19808 il16 = INT_LEAST16_MAX;
19809 typedef int_least32_t my_int_least32_t;
19810 my_int_least32_t il32 = INT_LEAST32_MIN;
19811 il32 = INT_LEAST32_MAX;
19812 typedef int_least64_t my_int_least64_t;
19813 my_int_least64_t il64 = INT_LEAST64_MIN;
19814 il64 = INT_LEAST64_MAX;
19815 typedef intmax_t my_intmax_t;
19816 my_intmax_t im = INTMAX_MAX;
19817 im = INTMAX_MIN;
19818 typedef intptr_t my_intptr_t;
19819 my_intptr_t ip = INTPTR_MAX;
19820 ip = INTPTR_MIN;
19821 typedef uint8_t my_uint8_t;
19822 my_uint8_t ui8 = UINT8_MAX;
19823 ui8 = UINT8_MAX;
19824 typedef uint16_t my_uint16_t;
19825 my_uint16_t ui16 = UINT16_MAX;
19826 ui16 = UINT16_MAX;
19827 typedef uint32_t my_uint32_t;
19828 my_uint32_t ui32 = UINT32_MAX;
19829 ui32 = UINT32_MAX;
19830 typedef uint64_t my_uint64_t;
19831 my_uint64_t ui64 = UINT64_MAX;
19832 ui64 = UINT64_MAX;
19833 typedef uint_fast8_t my_uint_fast8_t;
19834 my_uint_fast8_t uif8 = UINT_FAST8_MAX;
19835 uif8 = UINT_FAST8_MAX;
19836 typedef uint_fast16_t my_uint_fast16_t;
19837 my_uint_fast16_t uif16 = UINT_FAST16_MAX;
19838 uif16 = UINT_FAST16_MAX;
19839 typedef uint_fast32_t my_uint_fast32_t;
19840 my_uint_fast32_t uif32 = UINT_FAST32_MAX;
19841 uif32 = UINT_FAST32_MAX;
19842 typedef uint_fast64_t my_uint_fast64_t;
19843 my_uint_fast64_t uif64 = UINT_FAST64_MAX;
19844 uif64 = UINT_FAST64_MAX;
19845 typedef uint_least8_t my_uint_least8_t;
19846 my_uint_least8_t uil8 = UINT_LEAST8_MAX;
19847 uil8 = UINT_LEAST8_MAX;
19848 typedef uint_least16_t my_uint_least16_t;
19849 my_uint_least16_t uil16 = UINT_LEAST16_MAX;
19850 uil16 = UINT_LEAST16_MAX;
19851 typedef uint_least32_t my_uint_least32_t;
19852 my_uint_least32_t uil32 = UINT_LEAST32_MAX;
19853 uil32 = UINT_LEAST32_MAX;
19854 typedef uint_least64_t my_uint_least64_t;
19855 my_uint_least64_t uil64 = UINT_LEAST64_MAX;
19856 uil64 = UINT_LEAST64_MAX;
19857 typedef uintmax_t my_uintmax_t;
19858 my_uintmax_t uim = UINTMAX_MAX;
19859 uim = UINTMAX_MAX;
19860 typedef uintptr_t my_uintptr_t;
19861 my_uintptr_t uip = UINTPTR_MAX;
19862 uip = UINTPTR_MAX;
19865 return 0;
19867 _ACEOF
19868 if ac_fn_cxx_try_compile "$LINENO"; then :
19869 glibcxx_cv_c99_stdint_tr1=yes
19870 else
19871 glibcxx_cv_c99_stdint_tr1=no
19873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdint_tr1" >&5
19877 $as_echo "$glibcxx_cv_c99_stdint_tr1" >&6; }
19878 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
19880 $as_echo "#define _GLIBCXX_USE_C99_STDINT_TR1 1" >>confdefs.h
19884 # Check for the existence of <math.h> functions.
19885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <math.h>" >&5
19886 $as_echo_n "checking for ISO C99 support to TR1 in <math.h>... " >&6; }
19887 if ${glibcxx_cv_c99_math_tr1+:} false; then :
19888 $as_echo_n "(cached) " >&6
19889 else
19891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19892 /* end confdefs.h. */
19893 #include <math.h>
19895 main ()
19897 typedef double_t my_double_t;
19898 typedef float_t my_float_t;
19899 acosh(0.0);
19900 acoshf(0.0f);
19901 acoshl(0.0l);
19902 asinh(0.0);
19903 asinhf(0.0f);
19904 asinhl(0.0l);
19905 atanh(0.0);
19906 atanhf(0.0f);
19907 atanhl(0.0l);
19908 cbrt(0.0);
19909 cbrtf(0.0f);
19910 cbrtl(0.0l);
19911 copysign(0.0, 0.0);
19912 copysignf(0.0f, 0.0f);
19913 copysignl(0.0l, 0.0l);
19914 erf(0.0);
19915 erff(0.0f);
19916 erfl(0.0l);
19917 erfc(0.0);
19918 erfcf(0.0f);
19919 erfcl(0.0l);
19920 exp2(0.0);
19921 exp2f(0.0f);
19922 exp2l(0.0l);
19923 expm1(0.0);
19924 expm1f(0.0f);
19925 expm1l(0.0l);
19926 fdim(0.0, 0.0);
19927 fdimf(0.0f, 0.0f);
19928 fdiml(0.0l, 0.0l);
19929 fma(0.0, 0.0, 0.0);
19930 fmaf(0.0f, 0.0f, 0.0f);
19931 fmal(0.0l, 0.0l, 0.0l);
19932 fmax(0.0, 0.0);
19933 fmaxf(0.0f, 0.0f);
19934 fmaxl(0.0l, 0.0l);
19935 fmin(0.0, 0.0);
19936 fminf(0.0f, 0.0f);
19937 fminl(0.0l, 0.0l);
19938 hypot(0.0, 0.0);
19939 hypotf(0.0f, 0.0f);
19940 hypotl(0.0l, 0.0l);
19941 ilogb(0.0);
19942 ilogbf(0.0f);
19943 ilogbl(0.0l);
19944 lgamma(0.0);
19945 lgammaf(0.0f);
19946 lgammal(0.0l);
19947 #ifndef __APPLE__ /* see below */
19948 llrint(0.0);
19949 llrintf(0.0f);
19950 llrintl(0.0l);
19951 llround(0.0);
19952 llroundf(0.0f);
19953 llroundl(0.0l);
19954 #endif
19955 log1p(0.0);
19956 log1pf(0.0f);
19957 log1pl(0.0l);
19958 log2(0.0);
19959 log2f(0.0f);
19960 log2l(0.0l);
19961 logb(0.0);
19962 logbf(0.0f);
19963 logbl(0.0l);
19964 lrint(0.0);
19965 lrintf(0.0f);
19966 lrintl(0.0l);
19967 lround(0.0);
19968 lroundf(0.0f);
19969 lroundl(0.0l);
19970 nan(0);
19971 nanf(0);
19972 nanl(0);
19973 nearbyint(0.0);
19974 nearbyintf(0.0f);
19975 nearbyintl(0.0l);
19976 nextafter(0.0, 0.0);
19977 nextafterf(0.0f, 0.0f);
19978 nextafterl(0.0l, 0.0l);
19979 nexttoward(0.0, 0.0);
19980 nexttowardf(0.0f, 0.0f);
19981 nexttowardl(0.0l, 0.0l);
19982 remainder(0.0, 0.0);
19983 remainderf(0.0f, 0.0f);
19984 remainderl(0.0l, 0.0l);
19985 remquo(0.0, 0.0, 0);
19986 remquof(0.0f, 0.0f, 0);
19987 remquol(0.0l, 0.0l, 0);
19988 rint(0.0);
19989 rintf(0.0f);
19990 rintl(0.0l);
19991 round(0.0);
19992 roundf(0.0f);
19993 roundl(0.0l);
19994 scalbln(0.0, 0l);
19995 scalblnf(0.0f, 0l);
19996 scalblnl(0.0l, 0l);
19997 scalbn(0.0, 0);
19998 scalbnf(0.0f, 0);
19999 scalbnl(0.0l, 0);
20000 tgamma(0.0);
20001 tgammaf(0.0f);
20002 tgammal(0.0l);
20003 trunc(0.0);
20004 truncf(0.0f);
20005 truncl(0.0l);
20008 return 0;
20010 _ACEOF
20011 if ac_fn_cxx_try_compile "$LINENO"; then :
20012 glibcxx_cv_c99_math_tr1=yes
20013 else
20014 glibcxx_cv_c99_math_tr1=no
20016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_tr1" >&5
20020 $as_echo "$glibcxx_cv_c99_math_tr1" >&6; }
20021 if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
20023 $as_echo "#define _GLIBCXX_USE_C99_MATH_TR1 1" >>confdefs.h
20026 case "${target_os}" in
20027 darwin*)
20028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 rounding functions in <math.h>" >&5
20029 $as_echo_n "checking for ISO C99 rounding functions in <math.h>... " >&6; }
20030 if ${glibcxx_cv_c99_math_llround+:} false; then :
20031 $as_echo_n "(cached) " >&6
20032 else
20034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20035 /* end confdefs.h. */
20036 #include <math.h>
20038 main ()
20040 llrint(0.0);
20041 llrintf(0.0f);
20042 llrintl(0.0l);
20043 llround(0.0);
20044 llroundf(0.0f);
20045 llroundl(0.0l);
20048 return 0;
20050 _ACEOF
20051 if ac_fn_cxx_try_compile "$LINENO"; then :
20052 glibcxx_cv_c99_math_llround=yes
20053 else
20054 glibcxx_cv_c99_math_llround=no
20056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_llround" >&5
20060 $as_echo "$glibcxx_cv_c99_math_llround" >&6; }
20062 esac
20063 if test x"$glibcxx_cv_c99_math_llround" = x"no"; then
20065 $as_echo "#define _GLIBCXX_NO_C99_ROUNDING_FUNCS 1" >>confdefs.h
20070 # Check for the existence of <inttypes.h> functions (NB: doesn't make
20071 # sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
20072 ac_c99_inttypes_tr1=no;
20073 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
20074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
20075 $as_echo_n "checking for ISO C99 support to TR1 in <inttypes.h>... " >&6; }
20076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20077 /* end confdefs.h. */
20078 #include <inttypes.h>
20080 main ()
20082 intmax_t i, numer, denom, base;
20083 const char* s;
20084 char** endptr;
20085 intmax_t ret = imaxabs(i);
20086 imaxdiv_t dret = imaxdiv(numer, denom);
20087 ret = strtoimax(s, endptr, base);
20088 uintmax_t uret = strtoumax(s, endptr, base);
20091 return 0;
20093 _ACEOF
20094 if ac_fn_cxx_try_compile "$LINENO"; then :
20095 ac_c99_inttypes_tr1=yes
20096 else
20097 ac_c99_inttypes_tr1=no
20099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_tr1" >&5
20101 $as_echo "$ac_c99_inttypes_tr1" >&6; }
20103 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
20105 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_TR1 1" >>confdefs.h
20109 # Check for the existence of wchar_t <inttypes.h> functions (NB: doesn't
20110 # make sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
20111 ac_c99_inttypes_wchar_t_tr1=no;
20112 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
20113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t ISO C99 support to TR1 in <inttypes.h>" >&5
20114 $as_echo_n "checking for wchar_t ISO C99 support to TR1 in <inttypes.h>... " >&6; }
20115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20116 /* end confdefs.h. */
20117 #include <inttypes.h>
20119 main ()
20121 intmax_t base;
20122 const wchar_t* s;
20123 wchar_t** endptr;
20124 intmax_t ret = wcstoimax(s, endptr, base);
20125 uintmax_t uret = wcstoumax(s, endptr, base);
20128 return 0;
20130 _ACEOF
20131 if ac_fn_cxx_try_compile "$LINENO"; then :
20132 ac_c99_inttypes_wchar_t_tr1=yes
20133 else
20134 ac_c99_inttypes_wchar_t_tr1=no
20136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_wchar_t_tr1" >&5
20138 $as_echo "$ac_c99_inttypes_wchar_t_tr1" >&6; }
20140 if test x"$ac_c99_inttypes_wchar_t_tr1" = x"yes"; then
20142 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1 1" >>confdefs.h
20146 # Check for the existence of the <stdbool.h> header.
20147 for ac_header in stdbool.h
20148 do :
20149 ac_fn_cxx_check_header_mongrel "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
20150 if test "x$ac_cv_header_stdbool_h" = xyes; then :
20151 cat >>confdefs.h <<_ACEOF
20152 #define HAVE_STDBOOL_H 1
20153 _ACEOF
20157 done
20160 # Check for the existence of the <stdalign.h> header.
20161 for ac_header in stdalign.h
20162 do :
20163 ac_fn_cxx_check_header_mongrel "$LINENO" "stdalign.h" "ac_cv_header_stdalign_h" "$ac_includes_default"
20164 if test "x$ac_cv_header_stdalign_h" = xyes; then :
20165 cat >>confdefs.h <<_ACEOF
20166 #define HAVE_STDALIGN_H 1
20167 _ACEOF
20171 done
20174 CXXFLAGS="$ac_save_CXXFLAGS"
20175 ac_ext=c
20176 ac_cpp='$CPP $CPPFLAGS'
20177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20183 # For the EOF, SEEK_CUR, and SEEK_END integer constants.
20186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of EOF" >&5
20187 $as_echo_n "checking for the value of EOF... " >&6; }
20188 if ${glibcxx_cv_stdio_eof+:} false; then :
20189 $as_echo_n "(cached) " >&6
20190 else
20192 if ac_fn_c_compute_int "$LINENO" "EOF" "glibcxx_cv_stdio_eof" "#include <stdio.h>"; then :
20194 else
20195 as_fn_error $? "computing EOF failed" "$LINENO" 5
20200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_eof" >&5
20201 $as_echo "$glibcxx_cv_stdio_eof" >&6; }
20203 cat >>confdefs.h <<_ACEOF
20204 #define _GLIBCXX_STDIO_EOF $glibcxx_cv_stdio_eof
20205 _ACEOF
20208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_CUR" >&5
20209 $as_echo_n "checking for the value of SEEK_CUR... " >&6; }
20210 if ${glibcxx_cv_stdio_seek_cur+:} false; then :
20211 $as_echo_n "(cached) " >&6
20212 else
20214 if ac_fn_c_compute_int "$LINENO" "SEEK_CUR" "glibcxx_cv_stdio_seek_cur" "#include <stdio.h>"; then :
20216 else
20217 as_fn_error $? "computing SEEK_CUR failed" "$LINENO" 5
20222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_cur" >&5
20223 $as_echo "$glibcxx_cv_stdio_seek_cur" >&6; }
20225 cat >>confdefs.h <<_ACEOF
20226 #define _GLIBCXX_STDIO_SEEK_CUR $glibcxx_cv_stdio_seek_cur
20227 _ACEOF
20230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_END" >&5
20231 $as_echo_n "checking for the value of SEEK_END... " >&6; }
20232 if ${glibcxx_cv_stdio_seek_end+:} false; then :
20233 $as_echo_n "(cached) " >&6
20234 else
20236 if ac_fn_c_compute_int "$LINENO" "SEEK_END" "glibcxx_cv_stdio_seek_end" "#include <stdio.h>"; then :
20238 else
20239 as_fn_error $? "computing SEEK_END failed" "$LINENO" 5
20244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_end" >&5
20245 $as_echo "$glibcxx_cv_stdio_seek_end" >&6; }
20247 cat >>confdefs.h <<_ACEOF
20248 #define _GLIBCXX_STDIO_SEEK_END $glibcxx_cv_stdio_seek_end
20249 _ACEOF
20253 # For gettimeofday support.
20256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
20257 $as_echo_n "checking for gettimeofday... " >&6; }
20260 ac_ext=cpp
20261 ac_cpp='$CXXCPP $CPPFLAGS'
20262 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20263 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20264 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20266 ac_save_CXXFLAGS="$CXXFLAGS"
20267 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20269 ac_has_gettimeofday=no;
20270 for ac_header in sys/time.h
20271 do :
20272 ac_fn_cxx_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
20273 if test "x$ac_cv_header_sys_time_h" = xyes; then :
20274 cat >>confdefs.h <<_ACEOF
20275 #define HAVE_SYS_TIME_H 1
20276 _ACEOF
20277 ac_has_sys_time_h=yes
20278 else
20279 ac_has_sys_time_h=no
20282 done
20284 if test x"$ac_has_sys_time_h" = x"yes"; then
20285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
20286 $as_echo_n "checking for gettimeofday... " >&6; }
20287 if test x$gcc_no_link = xyes; then
20288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20289 /* end confdefs.h. */
20290 #include <sys/time.h>
20292 main ()
20294 timeval tv; gettimeofday(&tv, 0);
20296 return 0;
20298 _ACEOF
20299 if ac_fn_cxx_try_compile "$LINENO"; then :
20300 ac_has_gettimeofday=yes
20301 else
20302 ac_has_gettimeofday=no
20304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20305 else
20306 if test x$gcc_no_link = xyes; then
20307 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20310 /* end confdefs.h. */
20311 #include <sys/time.h>
20313 main ()
20315 timeval tv; gettimeofday(&tv, 0);
20317 return 0;
20319 _ACEOF
20320 if ac_fn_cxx_try_link "$LINENO"; then :
20321 ac_has_gettimeofday=yes
20322 else
20323 ac_has_gettimeofday=no
20325 rm -f core conftest.err conftest.$ac_objext \
20326 conftest$ac_exeext conftest.$ac_ext
20329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gettimeofday" >&5
20330 $as_echo "$ac_has_gettimeofday" >&6; }
20333 if test x"$ac_has_gettimeofday" = x"yes"; then
20335 $as_echo "#define _GLIBCXX_USE_GETTIMEOFDAY 1" >>confdefs.h
20339 CXXFLAGS="$ac_save_CXXFLAGS"
20340 ac_ext=c
20341 ac_cpp='$CPP $CPPFLAGS'
20342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20348 # For clock_gettime, nanosleep and sched_yield support.
20351 # Check whether --enable-libstdcxx-time was given.
20352 if test "${enable_libstdcxx_time+set}" = set; then :
20353 enableval=$enable_libstdcxx_time;
20354 case "$enableval" in
20355 yes|no|rt) ;;
20356 *) as_fn_error $? "Unknown argument to enable/disable libstdcxx-time" "$LINENO" 5 ;;
20357 esac
20359 else
20360 enable_libstdcxx_time=auto
20366 ac_ext=cpp
20367 ac_cpp='$CXXCPP $CPPFLAGS'
20368 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20369 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20370 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20372 ac_save_CXXFLAGS="$CXXFLAGS"
20373 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20374 ac_save_LIBS="$LIBS"
20376 ac_has_clock_monotonic=no
20377 ac_has_clock_realtime=no
20378 ac_has_nanosleep=no
20379 ac_has_sched_yield=no
20381 if test x"$enable_libstdcxx_time" = x"auto"; then
20383 case "${target_os}" in
20384 cygwin*)
20385 ac_has_nanosleep=yes
20387 darwin*)
20388 ac_has_nanosleep=yes
20389 ac_has_sched_yield=yes
20391 # VxWorks has nanosleep as soon as the kernel is configured with
20392 # INCLUDE_POSIX_TIMERS, which is normally/most-often the case.
20393 vxworks*)
20394 ac_has_nanosleep=yes
20396 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
20397 # Don't use link test for freestanding library, in case gcc_no_link=yes
20398 if test x"$is_hosted" = xyes; then
20399 # Versions of glibc before 2.17 needed -lrt for clock_gettime.
20400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20401 $as_echo_n "checking for library containing clock_gettime... " >&6; }
20402 if ${ac_cv_search_clock_gettime+:} false; then :
20403 $as_echo_n "(cached) " >&6
20404 else
20405 ac_func_search_save_LIBS=$LIBS
20406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20407 /* end confdefs.h. */
20409 /* Override any GCC internal prototype to avoid an error.
20410 Use char because int might match the return type of a GCC
20411 builtin and then its argument prototype would still apply. */
20412 #ifdef __cplusplus
20413 extern "C"
20414 #endif
20415 char clock_gettime ();
20417 main ()
20419 return clock_gettime ();
20421 return 0;
20423 _ACEOF
20424 for ac_lib in '' rt; do
20425 if test -z "$ac_lib"; then
20426 ac_res="none required"
20427 else
20428 ac_res=-l$ac_lib
20429 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20431 if test x$gcc_no_link = xyes; then
20432 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20434 if ac_fn_cxx_try_link "$LINENO"; then :
20435 ac_cv_search_clock_gettime=$ac_res
20437 rm -f core conftest.err conftest.$ac_objext \
20438 conftest$ac_exeext
20439 if ${ac_cv_search_clock_gettime+:} false; then :
20440 break
20442 done
20443 if ${ac_cv_search_clock_gettime+:} false; then :
20445 else
20446 ac_cv_search_clock_gettime=no
20448 rm conftest.$ac_ext
20449 LIBS=$ac_func_search_save_LIBS
20451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20452 $as_echo "$ac_cv_search_clock_gettime" >&6; }
20453 ac_res=$ac_cv_search_clock_gettime
20454 if test "$ac_res" != no; then :
20455 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20459 if test x"$ac_cv_search_clock_gettime" = x"none required"; then
20460 ac_has_clock_monotonic=yes
20461 ac_has_clock_realtime=yes
20464 ac_has_nanosleep=yes
20465 ac_has_sched_yield=yes
20467 freebsd*|netbsd*|dragonfly*|rtems*)
20468 ac_has_clock_monotonic=yes
20469 ac_has_clock_realtime=yes
20470 ac_has_nanosleep=yes
20471 ac_has_sched_yield=yes
20473 openbsd*)
20474 ac_has_clock_monotonic=yes
20475 ac_has_clock_realtime=yes
20476 ac_has_nanosleep=yes
20478 solaris*)
20479 ac_has_clock_monotonic=yes
20480 ac_has_clock_realtime=yes
20481 ac_has_nanosleep=yes
20482 ac_has_sched_yield=yes
20484 uclinux*)
20485 ac_has_nanosleep=yes
20486 ac_has_sched_yield=yes
20487 esac
20489 elif test x"$enable_libstdcxx_time" != x"no"; then
20491 if test x"$enable_libstdcxx_time" = x"rt"; then
20492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20493 $as_echo_n "checking for library containing clock_gettime... " >&6; }
20494 if ${ac_cv_search_clock_gettime+:} false; then :
20495 $as_echo_n "(cached) " >&6
20496 else
20497 ac_func_search_save_LIBS=$LIBS
20498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20499 /* end confdefs.h. */
20501 /* Override any GCC internal prototype to avoid an error.
20502 Use char because int might match the return type of a GCC
20503 builtin and then its argument prototype would still apply. */
20504 #ifdef __cplusplus
20505 extern "C"
20506 #endif
20507 char clock_gettime ();
20509 main ()
20511 return clock_gettime ();
20513 return 0;
20515 _ACEOF
20516 for ac_lib in '' rt; do
20517 if test -z "$ac_lib"; then
20518 ac_res="none required"
20519 else
20520 ac_res=-l$ac_lib
20521 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20523 if test x$gcc_no_link = xyes; then
20524 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20526 if ac_fn_cxx_try_link "$LINENO"; then :
20527 ac_cv_search_clock_gettime=$ac_res
20529 rm -f core conftest.err conftest.$ac_objext \
20530 conftest$ac_exeext
20531 if ${ac_cv_search_clock_gettime+:} false; then :
20532 break
20534 done
20535 if ${ac_cv_search_clock_gettime+:} false; then :
20537 else
20538 ac_cv_search_clock_gettime=no
20540 rm conftest.$ac_ext
20541 LIBS=$ac_func_search_save_LIBS
20543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20544 $as_echo "$ac_cv_search_clock_gettime" >&6; }
20545 ac_res=$ac_cv_search_clock_gettime
20546 if test "$ac_res" != no; then :
20547 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
20552 $as_echo_n "checking for library containing nanosleep... " >&6; }
20553 if ${ac_cv_search_nanosleep+:} false; then :
20554 $as_echo_n "(cached) " >&6
20555 else
20556 ac_func_search_save_LIBS=$LIBS
20557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20558 /* end confdefs.h. */
20560 /* Override any GCC internal prototype to avoid an error.
20561 Use char because int might match the return type of a GCC
20562 builtin and then its argument prototype would still apply. */
20563 #ifdef __cplusplus
20564 extern "C"
20565 #endif
20566 char nanosleep ();
20568 main ()
20570 return nanosleep ();
20572 return 0;
20574 _ACEOF
20575 for ac_lib in '' rt; do
20576 if test -z "$ac_lib"; then
20577 ac_res="none required"
20578 else
20579 ac_res=-l$ac_lib
20580 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20582 if test x$gcc_no_link = xyes; then
20583 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20585 if ac_fn_cxx_try_link "$LINENO"; then :
20586 ac_cv_search_nanosleep=$ac_res
20588 rm -f core conftest.err conftest.$ac_objext \
20589 conftest$ac_exeext
20590 if ${ac_cv_search_nanosleep+:} false; then :
20591 break
20593 done
20594 if ${ac_cv_search_nanosleep+:} false; then :
20596 else
20597 ac_cv_search_nanosleep=no
20599 rm conftest.$ac_ext
20600 LIBS=$ac_func_search_save_LIBS
20602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
20603 $as_echo "$ac_cv_search_nanosleep" >&6; }
20604 ac_res=$ac_cv_search_nanosleep
20605 if test "$ac_res" != no; then :
20606 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20610 else
20611 ac_fn_cxx_check_func "$LINENO" "clock_gettime" "ac_cv_func_clock_gettime"
20612 if test "x$ac_cv_func_clock_gettime" = xyes; then :
20616 ac_fn_cxx_check_func "$LINENO" "nanosleep" "ac_cv_func_nanosleep"
20617 if test "x$ac_cv_func_nanosleep" = xyes; then :
20623 case "$ac_cv_search_clock_gettime" in
20624 -l*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
20626 esac
20627 case "$ac_cv_search_nanosleep" in
20628 -l*) GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_nanosleep"
20630 esac
20632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
20633 $as_echo_n "checking for library containing sched_yield... " >&6; }
20634 if ${ac_cv_search_sched_yield+:} false; then :
20635 $as_echo_n "(cached) " >&6
20636 else
20637 ac_func_search_save_LIBS=$LIBS
20638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20639 /* end confdefs.h. */
20641 /* Override any GCC internal prototype to avoid an error.
20642 Use char because int might match the return type of a GCC
20643 builtin and then its argument prototype would still apply. */
20644 #ifdef __cplusplus
20645 extern "C"
20646 #endif
20647 char sched_yield ();
20649 main ()
20651 return sched_yield ();
20653 return 0;
20655 _ACEOF
20656 for ac_lib in '' rt; do
20657 if test -z "$ac_lib"; then
20658 ac_res="none required"
20659 else
20660 ac_res=-l$ac_lib
20661 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20663 if test x$gcc_no_link = xyes; then
20664 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20666 if ac_fn_cxx_try_link "$LINENO"; then :
20667 ac_cv_search_sched_yield=$ac_res
20669 rm -f core conftest.err conftest.$ac_objext \
20670 conftest$ac_exeext
20671 if ${ac_cv_search_sched_yield+:} false; then :
20672 break
20674 done
20675 if ${ac_cv_search_sched_yield+:} false; then :
20677 else
20678 ac_cv_search_sched_yield=no
20680 rm conftest.$ac_ext
20681 LIBS=$ac_func_search_save_LIBS
20683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
20684 $as_echo "$ac_cv_search_sched_yield" >&6; }
20685 ac_res=$ac_cv_search_sched_yield
20686 if test "$ac_res" != no; then :
20687 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20692 case "$ac_cv_search_sched_yield" in
20693 -lrt*)
20694 if test x"$enable_libstdcxx_time" = x"rt"; then
20695 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
20696 ac_has_sched_yield=yes
20700 ac_has_sched_yield=yes
20702 esac
20704 for ac_header in unistd.h
20705 do :
20706 ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
20707 if test "x$ac_cv_header_unistd_h" = xyes; then :
20708 cat >>confdefs.h <<_ACEOF
20709 #define HAVE_UNISTD_H 1
20710 _ACEOF
20711 ac_has_unistd_h=yes
20712 else
20713 ac_has_unistd_h=no
20716 done
20719 if test x"$ac_has_unistd_h" = x"yes"; then
20720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock" >&5
20721 $as_echo_n "checking for monotonic clock... " >&6; }
20722 if test x$gcc_no_link = xyes; then
20723 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20726 /* end confdefs.h. */
20727 #include <unistd.h>
20728 #include <time.h>
20731 main ()
20733 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
20734 timespec tp;
20735 #endif
20736 clock_gettime(CLOCK_MONOTONIC, &tp);
20739 return 0;
20741 _ACEOF
20742 if ac_fn_cxx_try_link "$LINENO"; then :
20743 ac_has_clock_monotonic=yes
20744 else
20745 ac_has_clock_monotonic=no
20747 rm -f core conftest.err conftest.$ac_objext \
20748 conftest$ac_exeext conftest.$ac_ext
20750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic" >&5
20751 $as_echo "$ac_has_clock_monotonic" >&6; }
20753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realtime clock" >&5
20754 $as_echo_n "checking for realtime clock... " >&6; }
20755 if test x$gcc_no_link = xyes; then
20756 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20759 /* end confdefs.h. */
20760 #include <unistd.h>
20761 #include <time.h>
20764 main ()
20766 #if _POSIX_TIMERS > 0
20767 timespec tp;
20768 #endif
20769 clock_gettime(CLOCK_REALTIME, &tp);
20772 return 0;
20774 _ACEOF
20775 if ac_fn_cxx_try_link "$LINENO"; then :
20776 ac_has_clock_realtime=yes
20777 else
20778 ac_has_clock_realtime=no
20780 rm -f core conftest.err conftest.$ac_objext \
20781 conftest$ac_exeext conftest.$ac_ext
20783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_realtime" >&5
20784 $as_echo "$ac_has_clock_realtime" >&6; }
20786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep" >&5
20787 $as_echo_n "checking for nanosleep... " >&6; }
20788 if test x$gcc_no_link = xyes; then
20789 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20792 /* end confdefs.h. */
20793 #include <unistd.h>
20794 #include <time.h>
20797 main ()
20799 #if _POSIX_TIMERS > 0
20800 timespec tp;
20801 #endif
20802 nanosleep(&tp, 0);
20805 return 0;
20807 _ACEOF
20808 if ac_fn_cxx_try_link "$LINENO"; then :
20809 ac_has_nanosleep=yes
20810 else
20811 ac_has_nanosleep=no
20813 rm -f core conftest.err conftest.$ac_objext \
20814 conftest$ac_exeext conftest.$ac_ext
20816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_nanosleep" >&5
20817 $as_echo "$ac_has_nanosleep" >&6; }
20821 if test x"$ac_has_clock_monotonic" != x"yes"; then
20822 case ${target_os} in
20823 linux* | uclinux*)
20824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime syscall" >&5
20825 $as_echo_n "checking for clock_gettime syscall... " >&6; }
20826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20827 /* end confdefs.h. */
20828 #include <unistd.h>
20829 #include <time.h>
20830 #include <sys/syscall.h>
20833 main ()
20835 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
20836 timespec tp;
20837 #endif
20838 syscall(SYS_clock_gettime, CLOCK_MONOTONIC, &tp);
20839 syscall(SYS_clock_gettime, CLOCK_REALTIME, &tp);
20842 return 0;
20844 _ACEOF
20845 if ac_fn_cxx_try_compile "$LINENO"; then :
20846 ac_has_clock_gettime_syscall=yes
20847 else
20848 ac_has_clock_gettime_syscall=no
20850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_gettime_syscall" >&5
20852 $as_echo "$ac_has_clock_gettime_syscall" >&6; }
20853 if test x"$ac_has_clock_gettime_syscall" = x"yes"; then
20855 $as_echo "#define _GLIBCXX_USE_CLOCK_GETTIME_SYSCALL 1" >>confdefs.h
20857 ac_has_clock_monotonic=yes
20858 ac_has_clock_realtime=yes
20859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct timespec that matches syscall" >&5
20860 $as_echo_n "checking for struct timespec that matches syscall... " >&6; }
20861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20862 /* end confdefs.h. */
20863 #include <time.h>
20864 #include <sys/syscall.h>
20867 main ()
20869 #ifdef SYS_clock_gettime64
20870 #if SYS_clock_gettime64 != SYS_clock_gettime
20871 // We need to use SYS_clock_gettime and libc appears to
20872 // also know about the SYS_clock_gettime64 syscall.
20873 // Check that userspace doesn't use time64 version of timespec.
20874 static_assert(sizeof(timespec::tv_sec) == sizeof(long),
20875 "struct timespec must be compatible with SYS_clock_gettime");
20876 #endif
20877 #endif
20880 return 0;
20882 _ACEOF
20883 if ac_fn_cxx_try_compile "$LINENO"; then :
20884 ac_timespec_matches_syscall=yes
20885 else
20886 ac_timespec_matches_syscall=no
20888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_timespec_matches_syscall" >&5
20890 $as_echo "$ac_timespec_matches_syscall" >&6; }
20891 if test x"$ac_timespec_matches_syscall" = no; then
20892 as_fn_error $? "struct timespec is not compatible with SYS_clock_gettime, please report a bug to http://gcc.gnu.org/bugzilla" "$LINENO" 5
20894 fi;;
20895 esac
20898 if test x"$ac_has_clock_monotonic" = x"yes"; then
20900 $as_echo "#define _GLIBCXX_USE_CLOCK_MONOTONIC 1" >>confdefs.h
20904 if test x"$ac_has_clock_realtime" = x"yes"; then
20906 $as_echo "#define _GLIBCXX_USE_CLOCK_REALTIME 1" >>confdefs.h
20910 if test x"$ac_has_sched_yield" = x"yes"; then
20912 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
20916 if test x"$ac_has_nanosleep" = x"yes"; then
20918 $as_echo "#define _GLIBCXX_USE_NANOSLEEP 1" >>confdefs.h
20920 else
20921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sleep" >&5
20922 $as_echo_n "checking for sleep... " >&6; }
20923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20924 /* end confdefs.h. */
20925 #include <unistd.h>
20927 main ()
20929 sleep(1)
20931 return 0;
20933 _ACEOF
20934 if ac_fn_cxx_try_compile "$LINENO"; then :
20935 ac_has_sleep=yes
20936 else
20937 ac_has_sleep=no
20939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20940 if test x"$ac_has_sleep" = x"yes"; then
20942 $as_echo "#define HAVE_SLEEP 1" >>confdefs.h
20945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_sleep" >&5
20946 $as_echo "$ac_has_sleep" >&6; }
20947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for usleep" >&5
20948 $as_echo_n "checking for usleep... " >&6; }
20949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20950 /* end confdefs.h. */
20951 #include <unistd.h>
20953 main ()
20955 sleep(1);
20956 usleep(100);
20958 return 0;
20960 _ACEOF
20961 if ac_fn_cxx_try_compile "$LINENO"; then :
20962 ac_has_usleep=yes
20963 else
20964 ac_has_usleep=no
20966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20967 if test x"$ac_has_usleep" = x"yes"; then
20969 $as_echo "#define HAVE_USLEEP 1" >>confdefs.h
20972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_usleep" >&5
20973 $as_echo "$ac_has_usleep" >&6; }
20976 if test x"$ac_has_nanosleep$ac_has_sleep" = x"nono"; then
20977 ac_no_sleep=yes
20978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Sleep" >&5
20979 $as_echo_n "checking for Sleep... " >&6; }
20980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20981 /* end confdefs.h. */
20982 #include <windows.h>
20984 main ()
20986 Sleep(1)
20988 return 0;
20990 _ACEOF
20991 if ac_fn_cxx_try_compile "$LINENO"; then :
20992 ac_has_win32_sleep=yes
20993 else
20994 ac_has_win32_sleep=no
20996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20997 if test x"$ac_has_win32_sleep" = x"yes"; then
20999 $as_echo "#define HAVE_WIN32_SLEEP 1" >>confdefs.h
21001 ac_no_sleep=no
21003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_win32_sleep" >&5
21004 $as_echo "$ac_has_win32_sleep" >&6; }
21007 if test x"$ac_no_sleep" = x"yes"; then
21009 $as_echo "#define _GLIBCXX_NO_SLEEP 1" >>confdefs.h
21015 CXXFLAGS="$ac_save_CXXFLAGS"
21016 LIBS="$ac_save_LIBS"
21017 ac_ext=c
21018 ac_cpp='$CPP $CPPFLAGS'
21019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21025 # Check for tmpnam which is obsolescent in POSIX.1-2008
21027 ac_ext=cpp
21028 ac_cpp='$CXXCPP $CPPFLAGS'
21029 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21030 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21031 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21033 ac_save_CXXFLAGS="$CXXFLAGS"
21034 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tmpnam" >&5
21036 $as_echo_n "checking for tmpnam... " >&6; }
21037 if ${glibcxx_cv_TMPNAM+:} false; then :
21038 $as_echo_n "(cached) " >&6
21039 else
21040 if test x$gcc_no_link = xyes; then
21041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21042 /* end confdefs.h. */
21043 #include <stdio.h>
21045 main ()
21047 char *tmp = tmpnam(NULL);
21049 return 0;
21051 _ACEOF
21052 if ac_fn_cxx_try_compile "$LINENO"; then :
21053 glibcxx_cv_TMPNAM=yes
21054 else
21055 glibcxx_cv_TMPNAM=no
21057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21058 else
21059 if test x$gcc_no_link = xyes; then
21060 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21063 /* end confdefs.h. */
21064 #include <stdio.h>
21066 main ()
21068 char *tmp = tmpnam(NULL);
21070 return 0;
21072 _ACEOF
21073 if ac_fn_cxx_try_link "$LINENO"; then :
21074 glibcxx_cv_TMPNAM=yes
21075 else
21076 glibcxx_cv_TMPNAM=no
21078 rm -f core conftest.err conftest.$ac_objext \
21079 conftest$ac_exeext conftest.$ac_ext
21083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_TMPNAM" >&5
21084 $as_echo "$glibcxx_cv_TMPNAM" >&6; }
21085 if test $glibcxx_cv_TMPNAM = yes; then
21087 $as_echo "#define _GLIBCXX_USE_TMPNAM 1" >>confdefs.h
21090 CXXFLAGS="$ac_save_CXXFLAGS"
21091 ac_ext=c
21092 ac_cpp='$CPP $CPPFLAGS'
21093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21099 # For pthread_cond_clockwait
21103 ac_ext=cpp
21104 ac_cpp='$CXXCPP $CPPFLAGS'
21105 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21106 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21107 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21109 ac_save_CXXFLAGS="$CXXFLAGS"
21110 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21111 ac_save_LIBS="$LIBS"
21112 LIBS="$LIBS -lpthread"
21114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_cond_clockwait" >&5
21115 $as_echo_n "checking for pthread_cond_clockwait... " >&6; }
21116 if ${glibcxx_cv_PTHREAD_COND_CLOCKWAIT+:} false; then :
21117 $as_echo_n "(cached) " >&6
21118 else
21120 if test x$gcc_no_link = xyes; then
21121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21122 /* end confdefs.h. */
21123 #include <pthread.h>
21125 main ()
21127 pthread_mutex_t mutex; pthread_cond_t cond; struct timespec ts; int n = pthread_cond_clockwait(&cond, &mutex, 0, &ts);
21129 return 0;
21131 _ACEOF
21132 if ac_fn_cxx_try_compile "$LINENO"; then :
21133 glibcxx_cv_PTHREAD_COND_CLOCKWAIT=yes
21134 else
21135 glibcxx_cv_PTHREAD_COND_CLOCKWAIT=no
21137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21138 else
21139 if test x$gcc_no_link = xyes; then
21140 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21143 /* end confdefs.h. */
21144 #include <pthread.h>
21146 main ()
21148 pthread_mutex_t mutex; pthread_cond_t cond; struct timespec ts; int n = pthread_cond_clockwait(&cond, &mutex, 0, &ts);
21150 return 0;
21152 _ACEOF
21153 if ac_fn_cxx_try_link "$LINENO"; then :
21154 glibcxx_cv_PTHREAD_COND_CLOCKWAIT=yes
21155 else
21156 glibcxx_cv_PTHREAD_COND_CLOCKWAIT=no
21158 rm -f core conftest.err conftest.$ac_objext \
21159 conftest$ac_exeext conftest.$ac_ext
21163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREAD_COND_CLOCKWAIT" >&5
21164 $as_echo "$glibcxx_cv_PTHREAD_COND_CLOCKWAIT" >&6; }
21165 if test $glibcxx_cv_PTHREAD_COND_CLOCKWAIT = yes; then
21167 $as_echo "#define _GLIBCXX_USE_PTHREAD_COND_CLOCKWAIT 1" >>confdefs.h
21171 CXXFLAGS="$ac_save_CXXFLAGS"
21172 LIBS="$ac_save_LIBS"
21173 ac_ext=c
21174 ac_cpp='$CPP $CPPFLAGS'
21175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21181 # For pthread_mutex_clocklock
21185 ac_ext=cpp
21186 ac_cpp='$CXXCPP $CPPFLAGS'
21187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21191 ac_save_CXXFLAGS="$CXXFLAGS"
21192 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21193 ac_save_LIBS="$LIBS"
21194 LIBS="$LIBS -lpthread"
21196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutex_clocklock" >&5
21197 $as_echo_n "checking for pthread_mutex_clocklock... " >&6; }
21198 if ${glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK+:} false; then :
21199 $as_echo_n "(cached) " >&6
21200 else
21202 if test x$gcc_no_link = xyes; then
21203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21204 /* end confdefs.h. */
21205 #include <pthread.h>
21207 main ()
21209 pthread_mutex_t mutex; struct timespec ts; int n = pthread_mutex_clocklock(&mutex, CLOCK_REALTIME, &ts);
21211 return 0;
21213 _ACEOF
21214 if ac_fn_cxx_try_compile "$LINENO"; then :
21215 glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK=yes
21216 else
21217 glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK=no
21219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21220 else
21221 if test x$gcc_no_link = xyes; then
21222 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21225 /* end confdefs.h. */
21226 #include <pthread.h>
21228 main ()
21230 pthread_mutex_t mutex; struct timespec ts; int n = pthread_mutex_clocklock(&mutex, CLOCK_REALTIME, &ts);
21232 return 0;
21234 _ACEOF
21235 if ac_fn_cxx_try_link "$LINENO"; then :
21236 glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK=yes
21237 else
21238 glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK=no
21240 rm -f core conftest.err conftest.$ac_objext \
21241 conftest$ac_exeext conftest.$ac_ext
21245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK" >&5
21246 $as_echo "$glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK" >&6; }
21247 if test $glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK = yes; then
21249 $as_echo "#define _GLIBCXX_USE_PTHREAD_MUTEX_CLOCKLOCK 1" >>confdefs.h
21253 CXXFLAGS="$ac_save_CXXFLAGS"
21254 LIBS="$ac_save_LIBS"
21255 ac_ext=c
21256 ac_cpp='$CPP $CPPFLAGS'
21257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21263 # For pthread_rwlock_clockrdlock and pthread_rwlock_clockwrlock
21267 ac_ext=cpp
21268 ac_cpp='$CXXCPP $CPPFLAGS'
21269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21273 ac_save_CXXFLAGS="$CXXFLAGS"
21274 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21275 ac_save_LIBS="$LIBS"
21276 LIBS="$LIBS -lpthread"
21278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_rwlock_clockrdlock, pthread_wlock_clockwrlock" >&5
21279 $as_echo_n "checking for pthread_rwlock_clockrdlock, pthread_wlock_clockwrlock... " >&6; }
21280 if ${glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK+:} false; then :
21281 $as_echo_n "(cached) " >&6
21282 else
21284 if test x$gcc_no_link = xyes; then
21285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21286 /* end confdefs.h. */
21287 #include <pthread.h>
21289 main ()
21291 pthread_rwlock_t rwl; struct timespec ts;
21292 int n = pthread_rwlock_clockrdlock(&rwl, CLOCK_REALTIME, &ts);
21293 int m = pthread_rwlock_clockwrlock(&rwl, CLOCK_REALTIME, &ts);
21295 return 0;
21297 _ACEOF
21298 if ac_fn_cxx_try_compile "$LINENO"; then :
21299 glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK=yes
21300 else
21301 glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK=no
21303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21304 else
21305 if test x$gcc_no_link = xyes; then
21306 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21309 /* end confdefs.h. */
21310 #include <pthread.h>
21312 main ()
21314 pthread_rwlock_t rwl; struct timespec ts;
21315 int n = pthread_rwlock_clockrdlock(&rwl, CLOCK_REALTIME, &ts);
21316 int m = pthread_rwlock_clockwrlock(&rwl, CLOCK_REALTIME, &ts);
21318 return 0;
21320 _ACEOF
21321 if ac_fn_cxx_try_link "$LINENO"; then :
21322 glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK=yes
21323 else
21324 glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK=no
21326 rm -f core conftest.err conftest.$ac_objext \
21327 conftest$ac_exeext conftest.$ac_ext
21331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK" >&5
21332 $as_echo "$glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK" >&6; }
21333 if test $glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK = yes; then
21335 $as_echo "#define _GLIBCXX_USE_PTHREAD_RWLOCK_CLOCKLOCK 1" >>confdefs.h
21339 CXXFLAGS="$ac_save_CXXFLAGS"
21340 LIBS="$ac_save_LIBS"
21341 ac_ext=c
21342 ac_cpp='$CPP $CPPFLAGS'
21343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21350 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
21351 if test "x$ac_cv_header_locale_h" = xyes; then :
21353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
21354 $as_echo_n "checking for LC_MESSAGES... " >&6; }
21355 if ${ac_cv_val_LC_MESSAGES+:} false; then :
21356 $as_echo_n "(cached) " >&6
21357 else
21358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21359 /* end confdefs.h. */
21360 #include <locale.h>
21362 main ()
21364 return LC_MESSAGES
21366 return 0;
21368 _ACEOF
21369 if ac_fn_c_try_compile "$LINENO"; then :
21370 ac_cv_val_LC_MESSAGES=yes
21371 else
21372 ac_cv_val_LC_MESSAGES=no
21374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_val_LC_MESSAGES" >&5
21377 $as_echo "$ac_cv_val_LC_MESSAGES" >&6; }
21378 if test $ac_cv_val_LC_MESSAGES = yes; then
21380 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
21389 # For hardware_concurrency
21390 for ac_header in sys/sysinfo.h
21391 do :
21392 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
21393 if test "x$ac_cv_header_sys_sysinfo_h" = xyes; then :
21394 cat >>confdefs.h <<_ACEOF
21395 #define HAVE_SYS_SYSINFO_H 1
21396 _ACEOF
21400 done
21405 ac_ext=cpp
21406 ac_cpp='$CXXCPP $CPPFLAGS'
21407 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21408 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21409 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21411 ac_save_CXXFLAGS="$CXXFLAGS"
21412 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for get_nprocs" >&5
21415 $as_echo_n "checking for get_nprocs... " >&6; }
21416 if ${glibcxx_cv_GET_NPROCS+:} false; then :
21417 $as_echo_n "(cached) " >&6
21418 else
21420 if test x$gcc_no_link = xyes; then
21421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21422 /* end confdefs.h. */
21423 #include <sys/sysinfo.h>
21425 main ()
21427 int n = get_nprocs();
21429 return 0;
21431 _ACEOF
21432 if ac_fn_cxx_try_compile "$LINENO"; then :
21433 glibcxx_cv_GET_NPROCS=yes
21434 else
21435 glibcxx_cv_GET_NPROCS=no
21437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21438 else
21439 if test x$gcc_no_link = xyes; then
21440 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21443 /* end confdefs.h. */
21444 #include <sys/sysinfo.h>
21446 main ()
21448 int n = get_nprocs();
21450 return 0;
21452 _ACEOF
21453 if ac_fn_cxx_try_link "$LINENO"; then :
21454 glibcxx_cv_GET_NPROCS=yes
21455 else
21456 glibcxx_cv_GET_NPROCS=no
21458 rm -f core conftest.err conftest.$ac_objext \
21459 conftest$ac_exeext conftest.$ac_ext
21463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_GET_NPROCS" >&5
21464 $as_echo "$glibcxx_cv_GET_NPROCS" >&6; }
21465 if test $glibcxx_cv_GET_NPROCS = yes; then
21467 $as_echo "#define _GLIBCXX_USE_GET_NPROCS 1" >>confdefs.h
21471 CXXFLAGS="$ac_save_CXXFLAGS"
21472 ac_ext=c
21473 ac_cpp='$CPP $CPPFLAGS'
21474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21479 for ac_header in unistd.h
21480 do :
21481 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
21482 if test "x$ac_cv_header_unistd_h" = xyes; then :
21483 cat >>confdefs.h <<_ACEOF
21484 #define HAVE_UNISTD_H 1
21485 _ACEOF
21489 done
21494 ac_ext=cpp
21495 ac_cpp='$CXXCPP $CPPFLAGS'
21496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21500 ac_save_CXXFLAGS="$CXXFLAGS"
21501 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROCESSORS_ONLN" >&5
21504 $as_echo_n "checking for _SC_NPROCESSORS_ONLN... " >&6; }
21505 if ${glibcxx_cv_SC_NPROCESSORS_ONLN+:} false; then :
21506 $as_echo_n "(cached) " >&6
21507 else
21509 if test x$gcc_no_link = xyes; then
21510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21511 /* end confdefs.h. */
21512 #include <unistd.h>
21514 main ()
21516 int n = sysconf(_SC_NPROCESSORS_ONLN);
21518 return 0;
21520 _ACEOF
21521 if ac_fn_cxx_try_compile "$LINENO"; then :
21522 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
21523 else
21524 glibcxx_cv_SC_NPROCESSORS_ONLN=no
21526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21527 else
21528 if test x$gcc_no_link = xyes; then
21529 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21532 /* end confdefs.h. */
21533 #include <unistd.h>
21535 main ()
21537 int n = sysconf(_SC_NPROCESSORS_ONLN);
21539 return 0;
21541 _ACEOF
21542 if ac_fn_cxx_try_link "$LINENO"; then :
21543 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
21544 else
21545 glibcxx_cv_SC_NPROCESSORS_ONLN=no
21547 rm -f core conftest.err conftest.$ac_objext \
21548 conftest$ac_exeext conftest.$ac_ext
21552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROCESSORS_ONLN" >&5
21553 $as_echo "$glibcxx_cv_SC_NPROCESSORS_ONLN" >&6; }
21554 if test $glibcxx_cv_SC_NPROCESSORS_ONLN = yes; then
21556 $as_echo "#define _GLIBCXX_USE_SC_NPROCESSORS_ONLN 1" >>confdefs.h
21560 CXXFLAGS="$ac_save_CXXFLAGS"
21561 ac_ext=c
21562 ac_cpp='$CPP $CPPFLAGS'
21563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21571 ac_ext=cpp
21572 ac_cpp='$CXXCPP $CPPFLAGS'
21573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21577 ac_save_CXXFLAGS="$CXXFLAGS"
21578 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROC_ONLN" >&5
21581 $as_echo_n "checking for _SC_NPROC_ONLN... " >&6; }
21582 if ${glibcxx_cv_SC_NPROC_ONLN+:} false; then :
21583 $as_echo_n "(cached) " >&6
21584 else
21586 if test x$gcc_no_link = xyes; then
21587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21588 /* end confdefs.h. */
21589 #include <unistd.h>
21591 main ()
21593 int n = sysconf(_SC_NPROC_ONLN);
21595 return 0;
21597 _ACEOF
21598 if ac_fn_cxx_try_compile "$LINENO"; then :
21599 glibcxx_cv_SC_NPROC_ONLN=yes
21600 else
21601 glibcxx_cv_SC_NPROC_ONLN=no
21603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21604 else
21605 if test x$gcc_no_link = xyes; then
21606 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21609 /* end confdefs.h. */
21610 #include <unistd.h>
21612 main ()
21614 int n = sysconf(_SC_NPROC_ONLN);
21616 return 0;
21618 _ACEOF
21619 if ac_fn_cxx_try_link "$LINENO"; then :
21620 glibcxx_cv_SC_NPROC_ONLN=yes
21621 else
21622 glibcxx_cv_SC_NPROC_ONLN=no
21624 rm -f core conftest.err conftest.$ac_objext \
21625 conftest$ac_exeext conftest.$ac_ext
21629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROC_ONLN" >&5
21630 $as_echo "$glibcxx_cv_SC_NPROC_ONLN" >&6; }
21631 if test $glibcxx_cv_SC_NPROC_ONLN = yes; then
21633 $as_echo "#define _GLIBCXX_USE_SC_NPROC_ONLN 1" >>confdefs.h
21637 CXXFLAGS="$ac_save_CXXFLAGS"
21638 ac_ext=c
21639 ac_cpp='$CPP $CPPFLAGS'
21640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21648 ac_ext=cpp
21649 ac_cpp='$CXXCPP $CPPFLAGS'
21650 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21651 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21652 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21654 ac_save_CXXFLAGS="$CXXFLAGS"
21655 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthreads_num_processors_np" >&5
21658 $as_echo_n "checking for pthreads_num_processors_np... " >&6; }
21659 if ${glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP+:} false; then :
21660 $as_echo_n "(cached) " >&6
21661 else
21663 if test x$gcc_no_link = xyes; then
21664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21665 /* end confdefs.h. */
21666 #include <pthread.h>
21668 main ()
21670 int n = pthread_num_processors_np();
21672 return 0;
21674 _ACEOF
21675 if ac_fn_cxx_try_compile "$LINENO"; then :
21676 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
21677 else
21678 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
21680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21681 else
21682 if test x$gcc_no_link = xyes; then
21683 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21686 /* end confdefs.h. */
21687 #include <pthread.h>
21689 main ()
21691 int n = pthread_num_processors_np();
21693 return 0;
21695 _ACEOF
21696 if ac_fn_cxx_try_link "$LINENO"; then :
21697 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
21698 else
21699 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
21701 rm -f core conftest.err conftest.$ac_objext \
21702 conftest$ac_exeext conftest.$ac_ext
21706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&5
21707 $as_echo "$glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&6; }
21708 if test $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP = yes; then
21710 $as_echo "#define _GLIBCXX_USE_PTHREADS_NUM_PROCESSORS_NP 1" >>confdefs.h
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
21799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SYSCTL_HW_NCPU" >&5
21800 $as_echo "$glibcxx_cv_SYSCTL_HW_NCPU" >&6; }
21801 if test $glibcxx_cv_SYSCTL_HW_NCPU = yes; then
21803 $as_echo "#define _GLIBCXX_USE_SYSCTL_HW_NCPU 1" >>confdefs.h
21807 CXXFLAGS="$ac_save_CXXFLAGS"
21808 ac_ext=c
21809 ac_cpp='$CPP $CPPFLAGS'
21810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21816 # Note that this test has to be run with the C language.
21817 # Otherwise, sdt.h will try to include some headers from
21818 # libstdc++ itself.
21820 ac_ext=c
21821 ac_cpp='$CPP $CPPFLAGS'
21822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suitable sys/sdt.h" >&5
21827 $as_echo_n "checking for suitable sys/sdt.h... " >&6; }
21828 if ${glibcxx_cv_sys_sdt_h+:} false; then :
21829 $as_echo_n "(cached) " >&6
21830 else
21832 # Because we have to run the test in C, we use grep rather
21833 # than the compiler to check for the bug. The bug is that
21834 # were strings without trailing whitespace, causing g++
21835 # to look for operator"". The pattern searches for the fixed
21836 # output.
21837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21838 /* end confdefs.h. */
21840 #include <sys/sdt.h>
21841 int f() { STAP_PROBE(hi, bob); }
21843 _ACEOF
21844 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21845 $EGREP " \",\" " >/dev/null 2>&1; then :
21846 glibcxx_cv_sys_sdt_h=yes
21847 else
21848 glibcxx_cv_sys_sdt_h=no
21850 rm -f conftest*
21854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sys_sdt_h" >&5
21855 $as_echo "$glibcxx_cv_sys_sdt_h" >&6; }
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
21869 # Check for available headers.
21870 for ac_header in endian.h execinfo.h float.h fp.h ieeefp.h inttypes.h \
21871 locale.h machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
21872 strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
21873 sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
21874 wchar.h wctype.h linux/types.h
21875 do :
21876 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
21877 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
21878 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
21879 cat >>confdefs.h <<_ACEOF
21880 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
21881 _ACEOF
21885 done
21888 for ac_header in linux/random.h
21889 do :
21890 ac_fn_c_check_header_compile "$LINENO" "linux/random.h" "ac_cv_header_linux_random_h" "#ifdef HAVE_LINUX_TYPES_H
21891 # include <linux/types.h>
21892 #endif
21895 if test "x$ac_cv_header_linux_random_h" = xyes; then :
21896 cat >>confdefs.h <<_ACEOF
21897 #define HAVE_LINUX_RANDOM_H 1
21898 _ACEOF
21902 done
21905 for ac_header in xlocale.h
21906 do :
21907 ac_fn_c_check_header_mongrel "$LINENO" "xlocale.h" "ac_cv_header_xlocale_h" "$ac_includes_default"
21908 if test "x$ac_cv_header_xlocale_h" = xyes; then :
21909 cat >>confdefs.h <<_ACEOF
21910 #define HAVE_XLOCALE_H 1
21911 _ACEOF
21915 done
21918 # Only do link tests if native. Else, hardcode.
21919 if $GLIBCXX_IS_NATIVE; then
21921 # We can do more elaborate tests that assume a working linker.
21922 CANADIAN=no
21926 # Check whether --with-gnu-ld was given.
21927 if test "${with_gnu_ld+set}" = set; then :
21928 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
21929 else
21930 with_gnu_ld=no
21933 ac_prog=ld
21934 if test "$GCC" = yes; then
21935 # Check if gcc -print-prog-name=ld gives a path.
21936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
21937 $as_echo_n "checking for ld used by $CC... " >&6; }
21938 case $host in
21939 *-*-mingw*)
21940 # gcc leaves a trailing carriage return which upsets mingw
21941 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
21943 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
21944 esac
21945 case $ac_prog in
21946 # Accept absolute paths.
21947 [\\/]* | ?:[\\/]*)
21948 re_direlt='/[^/][^/]*/\.\./'
21949 # Canonicalize the pathname of ld
21950 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
21951 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
21952 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
21953 done
21954 test -z "$LD" && LD="$ac_prog"
21957 # If it fails, then pretend we aren't using GCC.
21958 ac_prog=ld
21961 # If it is relative, then search for the first ld in PATH.
21962 with_gnu_ld=unknown
21964 esac
21965 elif test "$with_gnu_ld" = yes; then
21966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
21967 $as_echo_n "checking for GNU ld... " >&6; }
21968 else
21969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
21970 $as_echo_n "checking for non-GNU ld... " >&6; }
21972 if ${lt_cv_path_LD+:} false; then :
21973 $as_echo_n "(cached) " >&6
21974 else
21975 if test -z "$LD"; then
21976 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
21977 for ac_dir in $PATH; do
21978 IFS="$lt_save_ifs"
21979 test -z "$ac_dir" && ac_dir=.
21980 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
21981 lt_cv_path_LD="$ac_dir/$ac_prog"
21982 # Check to see if the program is GNU ld. I'd rather use --version,
21983 # but apparently some variants of GNU ld only accept -v.
21984 # Break only if it was the GNU/non-GNU ld that we prefer.
21985 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
21986 *GNU* | *'with BFD'*)
21987 test "$with_gnu_ld" != no && break
21990 test "$with_gnu_ld" != yes && break
21992 esac
21994 done
21995 IFS="$lt_save_ifs"
21996 else
21997 lt_cv_path_LD="$LD" # Let the user override the test with a path.
22001 LD="$lt_cv_path_LD"
22002 if test -n "$LD"; then
22003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
22004 $as_echo "$LD" >&6; }
22005 else
22006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22007 $as_echo "no" >&6; }
22009 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
22010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
22011 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
22012 if ${lt_cv_prog_gnu_ld+:} false; then :
22013 $as_echo_n "(cached) " >&6
22014 else
22015 # I'd rather use --version here, but apparently some GNU lds only accept -v.
22016 case `$LD -v 2>&1 </dev/null` in
22017 *GNU* | *'with BFD'*)
22018 lt_cv_prog_gnu_ld=yes
22021 lt_cv_prog_gnu_ld=no
22023 esac
22025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
22026 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
22027 with_gnu_ld=$lt_cv_prog_gnu_ld
22035 # If we're not using GNU ld, then there's no point in even trying these
22036 # tests. Check for that first. We should have already tested for gld
22037 # by now (in libtool), but require it now just to be safe...
22038 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
22039 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
22043 # The name set by libtool depends on the version of libtool. Shame on us
22044 # for depending on an impl detail, but c'est la vie. Older versions used
22045 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
22046 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
22047 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
22048 # set (hence we're using an older libtool), then set it.
22049 if test x${with_gnu_ld+set} != xset; then
22050 if test x${ac_cv_prog_gnu_ld+set} != xset; then
22051 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
22052 with_gnu_ld=no
22053 else
22054 with_gnu_ld=$ac_cv_prog_gnu_ld
22058 # Start by getting the version number. I think the libtool test already
22059 # does some of this, but throws away the result.
22060 glibcxx_ld_is_gold=no
22061 if test x"$with_gnu_ld" = x"yes"; then
22062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
22063 $as_echo_n "checking for ld version... " >&6; }
22065 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
22066 glibcxx_ld_is_gold=yes
22068 ldver=`$LD --version 2>/dev/null |
22069 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
22071 glibcxx_gnu_ld_version=`echo $ldver | \
22072 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
22073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
22074 $as_echo "$glibcxx_gnu_ld_version" >&6; }
22077 # Set --gc-sections.
22078 glibcxx_have_gc_sections=no
22079 if test "$glibcxx_ld_is_gold" = "yes"; then
22080 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
22081 glibcxx_have_gc_sections=yes
22083 else
22084 glibcxx_gcsections_min_ld=21602
22085 if test x"$with_gnu_ld" = x"yes" &&
22086 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
22087 glibcxx_have_gc_sections=yes
22090 if test "$glibcxx_have_gc_sections" = "yes"; then
22091 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
22092 # NB: This flag only works reliably after 2.16.1. Configure tests
22093 # for this are difficult, so hard wire a value that should work.
22095 ac_test_CFLAGS="${CFLAGS+set}"
22096 ac_save_CFLAGS="$CFLAGS"
22097 CFLAGS='-Wl,--gc-sections'
22099 # Check for -Wl,--gc-sections
22100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
22101 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
22102 if test x$gcc_no_link = xyes; then
22103 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22106 /* end confdefs.h. */
22107 int one(void) { return 1; }
22108 int two(void) { return 2; }
22111 main ()
22113 two();
22115 return 0;
22117 _ACEOF
22118 if ac_fn_c_try_link "$LINENO"; then :
22119 ac_gcsections=yes
22120 else
22121 ac_gcsections=no
22123 rm -f core conftest.err conftest.$ac_objext \
22124 conftest$ac_exeext conftest.$ac_ext
22125 if test "$ac_gcsections" = "yes"; then
22126 rm -f conftest.c
22127 touch conftest.c
22128 if $CC -c conftest.c; then
22129 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
22130 grep "Warning: gc-sections option ignored" > /dev/null; then
22131 ac_gcsections=no
22134 rm -f conftest.c conftest.o conftest
22136 if test "$ac_gcsections" = "yes"; then
22137 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
22139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
22140 $as_echo "$ac_gcsections" >&6; }
22142 if test "$ac_test_CFLAGS" = set; then
22143 CFLAGS="$ac_save_CFLAGS"
22144 else
22145 # this is the suspicious part
22146 CFLAGS=''
22150 # Set -z,relro.
22151 # Note this is only for shared objects.
22152 ac_ld_relro=no
22153 if test x"$with_gnu_ld" = x"yes"; then
22154 # cygwin and mingw uses PE, which has no ELF relro support,
22155 # multi target ld may confuse configure machinery
22156 case "$host" in
22157 *-*-cygwin*)
22159 *-*-mingw*)
22162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
22163 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
22164 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
22165 if test -n "$cxx_z_relo"; then
22166 OPT_LDFLAGS="-Wl,-z,relro"
22167 ac_ld_relro=yes
22169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
22170 $as_echo "$ac_ld_relro" >&6; }
22171 esac
22174 # Set linker optimization flags.
22175 if test x"$with_gnu_ld" = x"yes"; then
22176 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
22183 ac_test_CXXFLAGS="${CXXFLAGS+set}"
22184 ac_save_CXXFLAGS="$CXXFLAGS"
22185 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
22187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
22188 $as_echo_n "checking for sin in -lm... " >&6; }
22189 if ${ac_cv_lib_m_sin+:} false; then :
22190 $as_echo_n "(cached) " >&6
22191 else
22192 ac_check_lib_save_LIBS=$LIBS
22193 LIBS="-lm $LIBS"
22194 if test x$gcc_no_link = xyes; then
22195 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22198 /* end confdefs.h. */
22200 /* Override any GCC internal prototype to avoid an error.
22201 Use char because int might match the return type of a GCC
22202 builtin and then its argument prototype would still apply. */
22203 #ifdef __cplusplus
22204 extern "C"
22205 #endif
22206 char sin ();
22208 main ()
22210 return sin ();
22212 return 0;
22214 _ACEOF
22215 if ac_fn_c_try_link "$LINENO"; then :
22216 ac_cv_lib_m_sin=yes
22217 else
22218 ac_cv_lib_m_sin=no
22220 rm -f core conftest.err conftest.$ac_objext \
22221 conftest$ac_exeext conftest.$ac_ext
22222 LIBS=$ac_check_lib_save_LIBS
22224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
22225 $as_echo "$ac_cv_lib_m_sin" >&6; }
22226 if test "x$ac_cv_lib_m_sin" = xyes; then :
22227 libm="-lm"
22230 ac_save_LIBS="$LIBS"
22231 LIBS="$LIBS $libm"
22235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
22236 $as_echo_n "checking for isinf declaration... " >&6; }
22237 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
22238 if ${glibcxx_cv_func_isinf_use+:} false; then :
22239 $as_echo_n "(cached) " >&6
22240 else
22243 ac_ext=cpp
22244 ac_cpp='$CXXCPP $CPPFLAGS'
22245 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22246 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22247 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22250 /* end confdefs.h. */
22251 #include <math.h>
22252 #ifdef HAVE_IEEEFP_H
22253 #include <ieeefp.h>
22254 #endif
22257 main ()
22259 isinf(0);
22261 return 0;
22263 _ACEOF
22264 if ac_fn_cxx_try_compile "$LINENO"; then :
22265 glibcxx_cv_func_isinf_use=yes
22266 else
22267 glibcxx_cv_func_isinf_use=no
22269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22270 ac_ext=c
22271 ac_cpp='$CPP $CPPFLAGS'
22272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
22281 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
22283 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
22284 for ac_func in isinf
22285 do :
22286 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
22287 if test "x$ac_cv_func_isinf" = xyes; then :
22288 cat >>confdefs.h <<_ACEOF
22289 #define HAVE_ISINF 1
22290 _ACEOF
22293 done
22295 else
22297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
22298 $as_echo_n "checking for _isinf declaration... " >&6; }
22299 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
22300 if ${glibcxx_cv_func__isinf_use+:} false; then :
22301 $as_echo_n "(cached) " >&6
22302 else
22305 ac_ext=cpp
22306 ac_cpp='$CXXCPP $CPPFLAGS'
22307 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22308 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22309 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22312 /* end confdefs.h. */
22313 #include <math.h>
22314 #ifdef HAVE_IEEEFP_H
22315 #include <ieeefp.h>
22316 #endif
22319 main ()
22321 _isinf(0);
22323 return 0;
22325 _ACEOF
22326 if ac_fn_cxx_try_compile "$LINENO"; then :
22327 glibcxx_cv_func__isinf_use=yes
22328 else
22329 glibcxx_cv_func__isinf_use=no
22331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22332 ac_ext=c
22333 ac_cpp='$CPP $CPPFLAGS'
22334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
22343 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
22345 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
22346 for ac_func in _isinf
22347 do :
22348 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
22349 if test "x$ac_cv_func__isinf" = xyes; then :
22350 cat >>confdefs.h <<_ACEOF
22351 #define HAVE__ISINF 1
22352 _ACEOF
22355 done
22364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
22365 $as_echo_n "checking for isnan declaration... " >&6; }
22366 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
22367 if ${glibcxx_cv_func_isnan_use+:} false; then :
22368 $as_echo_n "(cached) " >&6
22369 else
22372 ac_ext=cpp
22373 ac_cpp='$CXXCPP $CPPFLAGS'
22374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22379 /* end confdefs.h. */
22380 #include <math.h>
22381 #ifdef HAVE_IEEEFP_H
22382 #include <ieeefp.h>
22383 #endif
22386 main ()
22388 isnan(0);
22390 return 0;
22392 _ACEOF
22393 if ac_fn_cxx_try_compile "$LINENO"; then :
22394 glibcxx_cv_func_isnan_use=yes
22395 else
22396 glibcxx_cv_func_isnan_use=no
22398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22399 ac_ext=c
22400 ac_cpp='$CPP $CPPFLAGS'
22401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
22410 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
22412 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
22413 for ac_func in isnan
22414 do :
22415 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
22416 if test "x$ac_cv_func_isnan" = xyes; then :
22417 cat >>confdefs.h <<_ACEOF
22418 #define HAVE_ISNAN 1
22419 _ACEOF
22422 done
22424 else
22426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
22427 $as_echo_n "checking for _isnan declaration... " >&6; }
22428 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
22429 if ${glibcxx_cv_func__isnan_use+:} false; then :
22430 $as_echo_n "(cached) " >&6
22431 else
22434 ac_ext=cpp
22435 ac_cpp='$CXXCPP $CPPFLAGS'
22436 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22437 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22438 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22441 /* end confdefs.h. */
22442 #include <math.h>
22443 #ifdef HAVE_IEEEFP_H
22444 #include <ieeefp.h>
22445 #endif
22448 main ()
22450 _isnan(0);
22452 return 0;
22454 _ACEOF
22455 if ac_fn_cxx_try_compile "$LINENO"; then :
22456 glibcxx_cv_func__isnan_use=yes
22457 else
22458 glibcxx_cv_func__isnan_use=no
22460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22461 ac_ext=c
22462 ac_cpp='$CPP $CPPFLAGS'
22463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
22472 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
22474 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
22475 for ac_func in _isnan
22476 do :
22477 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
22478 if test "x$ac_cv_func__isnan" = xyes; then :
22479 cat >>confdefs.h <<_ACEOF
22480 #define HAVE__ISNAN 1
22481 _ACEOF
22484 done
22493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
22494 $as_echo_n "checking for finite declaration... " >&6; }
22495 if test x${glibcxx_cv_func_finite_use+set} != xset; then
22496 if ${glibcxx_cv_func_finite_use+:} false; then :
22497 $as_echo_n "(cached) " >&6
22498 else
22501 ac_ext=cpp
22502 ac_cpp='$CXXCPP $CPPFLAGS'
22503 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22504 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22505 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22508 /* end confdefs.h. */
22509 #include <math.h>
22510 #ifdef HAVE_IEEEFP_H
22511 #include <ieeefp.h>
22512 #endif
22515 main ()
22517 finite(0);
22519 return 0;
22521 _ACEOF
22522 if ac_fn_cxx_try_compile "$LINENO"; then :
22523 glibcxx_cv_func_finite_use=yes
22524 else
22525 glibcxx_cv_func_finite_use=no
22527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22528 ac_ext=c
22529 ac_cpp='$CPP $CPPFLAGS'
22530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
22539 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
22541 if test x$glibcxx_cv_func_finite_use = x"yes"; then
22542 for ac_func in finite
22543 do :
22544 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
22545 if test "x$ac_cv_func_finite" = xyes; then :
22546 cat >>confdefs.h <<_ACEOF
22547 #define HAVE_FINITE 1
22548 _ACEOF
22551 done
22553 else
22555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
22556 $as_echo_n "checking for _finite declaration... " >&6; }
22557 if test x${glibcxx_cv_func__finite_use+set} != xset; then
22558 if ${glibcxx_cv_func__finite_use+:} false; then :
22559 $as_echo_n "(cached) " >&6
22560 else
22563 ac_ext=cpp
22564 ac_cpp='$CXXCPP $CPPFLAGS'
22565 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22566 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22567 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22570 /* end confdefs.h. */
22571 #include <math.h>
22572 #ifdef HAVE_IEEEFP_H
22573 #include <ieeefp.h>
22574 #endif
22577 main ()
22579 _finite(0);
22581 return 0;
22583 _ACEOF
22584 if ac_fn_cxx_try_compile "$LINENO"; then :
22585 glibcxx_cv_func__finite_use=yes
22586 else
22587 glibcxx_cv_func__finite_use=no
22589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22590 ac_ext=c
22591 ac_cpp='$CPP $CPPFLAGS'
22592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
22601 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
22603 if test x$glibcxx_cv_func__finite_use = x"yes"; then
22604 for ac_func in _finite
22605 do :
22606 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
22607 if test "x$ac_cv_func__finite" = xyes; then :
22608 cat >>confdefs.h <<_ACEOF
22609 #define HAVE__FINITE 1
22610 _ACEOF
22613 done
22622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
22623 $as_echo_n "checking for sincos declaration... " >&6; }
22624 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
22625 if ${glibcxx_cv_func_sincos_use+:} false; then :
22626 $as_echo_n "(cached) " >&6
22627 else
22630 ac_ext=cpp
22631 ac_cpp='$CXXCPP $CPPFLAGS'
22632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22637 /* end confdefs.h. */
22638 #include <math.h>
22640 main ()
22642 sincos(0, 0, 0);
22644 return 0;
22646 _ACEOF
22647 if ac_fn_cxx_try_compile "$LINENO"; then :
22648 glibcxx_cv_func_sincos_use=yes
22649 else
22650 glibcxx_cv_func_sincos_use=no
22652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22653 ac_ext=c
22654 ac_cpp='$CPP $CPPFLAGS'
22655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
22664 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
22666 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
22667 for ac_func in sincos
22668 do :
22669 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
22670 if test "x$ac_cv_func_sincos" = xyes; then :
22671 cat >>confdefs.h <<_ACEOF
22672 #define HAVE_SINCOS 1
22673 _ACEOF
22676 done
22678 else
22680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
22681 $as_echo_n "checking for _sincos declaration... " >&6; }
22682 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
22683 if ${glibcxx_cv_func__sincos_use+:} false; then :
22684 $as_echo_n "(cached) " >&6
22685 else
22688 ac_ext=cpp
22689 ac_cpp='$CXXCPP $CPPFLAGS'
22690 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22691 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22692 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22695 /* end confdefs.h. */
22696 #include <math.h>
22698 main ()
22700 _sincos(0, 0, 0);
22702 return 0;
22704 _ACEOF
22705 if ac_fn_cxx_try_compile "$LINENO"; then :
22706 glibcxx_cv_func__sincos_use=yes
22707 else
22708 glibcxx_cv_func__sincos_use=no
22710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22711 ac_ext=c
22712 ac_cpp='$CPP $CPPFLAGS'
22713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
22722 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
22724 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
22725 for ac_func in _sincos
22726 do :
22727 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
22728 if test "x$ac_cv_func__sincos" = xyes; then :
22729 cat >>confdefs.h <<_ACEOF
22730 #define HAVE__SINCOS 1
22731 _ACEOF
22734 done
22743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
22744 $as_echo_n "checking for fpclass declaration... " >&6; }
22745 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
22746 if ${glibcxx_cv_func_fpclass_use+:} false; then :
22747 $as_echo_n "(cached) " >&6
22748 else
22751 ac_ext=cpp
22752 ac_cpp='$CXXCPP $CPPFLAGS'
22753 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22754 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22755 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22758 /* end confdefs.h. */
22759 #include <math.h>
22760 #ifdef HAVE_IEEEFP_H
22761 #include <ieeefp.h>
22762 #endif
22765 main ()
22767 fpclass(0);
22769 return 0;
22771 _ACEOF
22772 if ac_fn_cxx_try_compile "$LINENO"; then :
22773 glibcxx_cv_func_fpclass_use=yes
22774 else
22775 glibcxx_cv_func_fpclass_use=no
22777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22778 ac_ext=c
22779 ac_cpp='$CPP $CPPFLAGS'
22780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
22789 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
22791 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
22792 for ac_func in fpclass
22793 do :
22794 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
22795 if test "x$ac_cv_func_fpclass" = xyes; then :
22796 cat >>confdefs.h <<_ACEOF
22797 #define HAVE_FPCLASS 1
22798 _ACEOF
22801 done
22803 else
22805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
22806 $as_echo_n "checking for _fpclass declaration... " >&6; }
22807 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
22808 if ${glibcxx_cv_func__fpclass_use+:} false; then :
22809 $as_echo_n "(cached) " >&6
22810 else
22813 ac_ext=cpp
22814 ac_cpp='$CXXCPP $CPPFLAGS'
22815 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22816 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22817 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22820 /* end confdefs.h. */
22821 #include <math.h>
22822 #ifdef HAVE_IEEEFP_H
22823 #include <ieeefp.h>
22824 #endif
22827 main ()
22829 _fpclass(0);
22831 return 0;
22833 _ACEOF
22834 if ac_fn_cxx_try_compile "$LINENO"; then :
22835 glibcxx_cv_func__fpclass_use=yes
22836 else
22837 glibcxx_cv_func__fpclass_use=no
22839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22840 ac_ext=c
22841 ac_cpp='$CPP $CPPFLAGS'
22842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
22851 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
22853 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
22854 for ac_func in _fpclass
22855 do :
22856 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
22857 if test "x$ac_cv_func__fpclass" = xyes; then :
22858 cat >>confdefs.h <<_ACEOF
22859 #define HAVE__FPCLASS 1
22860 _ACEOF
22863 done
22872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
22873 $as_echo_n "checking for qfpclass declaration... " >&6; }
22874 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
22875 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
22876 $as_echo_n "(cached) " >&6
22877 else
22880 ac_ext=cpp
22881 ac_cpp='$CXXCPP $CPPFLAGS'
22882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22887 /* end confdefs.h. */
22888 #include <math.h>
22889 #ifdef HAVE_IEEEFP_H
22890 #include <ieeefp.h>
22891 #endif
22894 main ()
22896 qfpclass(0);
22898 return 0;
22900 _ACEOF
22901 if ac_fn_cxx_try_compile "$LINENO"; then :
22902 glibcxx_cv_func_qfpclass_use=yes
22903 else
22904 glibcxx_cv_func_qfpclass_use=no
22906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22907 ac_ext=c
22908 ac_cpp='$CPP $CPPFLAGS'
22909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
22918 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
22920 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
22921 for ac_func in qfpclass
22922 do :
22923 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
22924 if test "x$ac_cv_func_qfpclass" = xyes; then :
22925 cat >>confdefs.h <<_ACEOF
22926 #define HAVE_QFPCLASS 1
22927 _ACEOF
22930 done
22932 else
22934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
22935 $as_echo_n "checking for _qfpclass declaration... " >&6; }
22936 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
22937 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
22938 $as_echo_n "(cached) " >&6
22939 else
22942 ac_ext=cpp
22943 ac_cpp='$CXXCPP $CPPFLAGS'
22944 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22945 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22946 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22949 /* end confdefs.h. */
22950 #include <math.h>
22951 #ifdef HAVE_IEEEFP_H
22952 #include <ieeefp.h>
22953 #endif
22956 main ()
22958 _qfpclass(0);
22960 return 0;
22962 _ACEOF
22963 if ac_fn_cxx_try_compile "$LINENO"; then :
22964 glibcxx_cv_func__qfpclass_use=yes
22965 else
22966 glibcxx_cv_func__qfpclass_use=no
22968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22969 ac_ext=c
22970 ac_cpp='$CPP $CPPFLAGS'
22971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
22980 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
22982 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
22983 for ac_func in _qfpclass
22984 do :
22985 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
22986 if test "x$ac_cv_func__qfpclass" = xyes; then :
22987 cat >>confdefs.h <<_ACEOF
22988 #define HAVE__QFPCLASS 1
22989 _ACEOF
22992 done
23001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
23002 $as_echo_n "checking for hypot declaration... " >&6; }
23003 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
23004 if ${glibcxx_cv_func_hypot_use+:} false; then :
23005 $as_echo_n "(cached) " >&6
23006 else
23009 ac_ext=cpp
23010 ac_cpp='$CXXCPP $CPPFLAGS'
23011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23016 /* end confdefs.h. */
23017 #include <math.h>
23019 main ()
23021 hypot(0, 0);
23023 return 0;
23025 _ACEOF
23026 if ac_fn_cxx_try_compile "$LINENO"; then :
23027 glibcxx_cv_func_hypot_use=yes
23028 else
23029 glibcxx_cv_func_hypot_use=no
23031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23032 ac_ext=c
23033 ac_cpp='$CPP $CPPFLAGS'
23034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
23043 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
23045 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
23046 for ac_func in hypot
23047 do :
23048 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
23049 if test "x$ac_cv_func_hypot" = xyes; then :
23050 cat >>confdefs.h <<_ACEOF
23051 #define HAVE_HYPOT 1
23052 _ACEOF
23055 done
23057 else
23059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
23060 $as_echo_n "checking for _hypot declaration... " >&6; }
23061 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
23062 if ${glibcxx_cv_func__hypot_use+:} false; then :
23063 $as_echo_n "(cached) " >&6
23064 else
23067 ac_ext=cpp
23068 ac_cpp='$CXXCPP $CPPFLAGS'
23069 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23070 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23071 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23074 /* end confdefs.h. */
23075 #include <math.h>
23077 main ()
23079 _hypot(0, 0);
23081 return 0;
23083 _ACEOF
23084 if ac_fn_cxx_try_compile "$LINENO"; then :
23085 glibcxx_cv_func__hypot_use=yes
23086 else
23087 glibcxx_cv_func__hypot_use=no
23089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23090 ac_ext=c
23091 ac_cpp='$CPP $CPPFLAGS'
23092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
23101 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
23103 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
23104 for ac_func in _hypot
23105 do :
23106 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
23107 if test "x$ac_cv_func__hypot" = xyes; then :
23108 cat >>confdefs.h <<_ACEOF
23109 #define HAVE__HYPOT 1
23110 _ACEOF
23113 done
23122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
23123 $as_echo_n "checking for float trig functions... " >&6; }
23124 if ${glibcxx_cv_func_float_trig_use+:} false; then :
23125 $as_echo_n "(cached) " >&6
23126 else
23129 ac_ext=cpp
23130 ac_cpp='$CXXCPP $CPPFLAGS'
23131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23136 /* end confdefs.h. */
23137 #include <math.h>
23139 main ()
23141 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
23143 return 0;
23145 _ACEOF
23146 if ac_fn_cxx_try_compile "$LINENO"; then :
23147 glibcxx_cv_func_float_trig_use=yes
23148 else
23149 glibcxx_cv_func_float_trig_use=no
23151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23152 ac_ext=c
23153 ac_cpp='$CPP $CPPFLAGS'
23154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
23161 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
23162 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
23163 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
23164 do :
23165 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23166 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23167 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
23168 cat >>confdefs.h <<_ACEOF
23169 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23170 _ACEOF
23173 done
23175 else
23176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
23177 $as_echo_n "checking for _float trig functions... " >&6; }
23178 if ${glibcxx_cv_func__float_trig_use+:} false; then :
23179 $as_echo_n "(cached) " >&6
23180 else
23183 ac_ext=cpp
23184 ac_cpp='$CXXCPP $CPPFLAGS'
23185 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23186 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23187 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23190 /* end confdefs.h. */
23191 #include <math.h>
23193 main ()
23195 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
23197 return 0;
23199 _ACEOF
23200 if ac_fn_cxx_try_compile "$LINENO"; then :
23201 glibcxx_cv_func__float_trig_use=yes
23202 else
23203 glibcxx_cv_func__float_trig_use=no
23205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23206 ac_ext=c
23207 ac_cpp='$CPP $CPPFLAGS'
23208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
23215 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
23216 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
23217 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
23218 do :
23219 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23220 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23221 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
23222 cat >>confdefs.h <<_ACEOF
23223 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23224 _ACEOF
23227 done
23236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
23237 $as_echo_n "checking for float round functions... " >&6; }
23238 if ${glibcxx_cv_func_float_round_use+:} false; then :
23239 $as_echo_n "(cached) " >&6
23240 else
23243 ac_ext=cpp
23244 ac_cpp='$CXXCPP $CPPFLAGS'
23245 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23246 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23247 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23250 /* end confdefs.h. */
23251 #include <math.h>
23253 main ()
23255 ceilf (0); floorf (0);
23257 return 0;
23259 _ACEOF
23260 if ac_fn_cxx_try_compile "$LINENO"; then :
23261 glibcxx_cv_func_float_round_use=yes
23262 else
23263 glibcxx_cv_func_float_round_use=no
23265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23266 ac_ext=c
23267 ac_cpp='$CPP $CPPFLAGS'
23268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
23275 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
23276 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
23277 for ac_func in ceilf floorf
23278 do :
23279 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23280 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23281 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
23282 cat >>confdefs.h <<_ACEOF
23283 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23284 _ACEOF
23287 done
23289 else
23290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
23291 $as_echo_n "checking for _float round functions... " >&6; }
23292 if ${glibcxx_cv_func__float_round_use+:} false; then :
23293 $as_echo_n "(cached) " >&6
23294 else
23297 ac_ext=cpp
23298 ac_cpp='$CXXCPP $CPPFLAGS'
23299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23304 /* end confdefs.h. */
23305 #include <math.h>
23307 main ()
23309 _ceilf (0); _floorf (0);
23311 return 0;
23313 _ACEOF
23314 if ac_fn_cxx_try_compile "$LINENO"; then :
23315 glibcxx_cv_func__float_round_use=yes
23316 else
23317 glibcxx_cv_func__float_round_use=no
23319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23320 ac_ext=c
23321 ac_cpp='$CPP $CPPFLAGS'
23322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
23329 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
23330 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
23331 for ac_func in _ceilf _floorf
23332 do :
23333 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23334 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23335 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
23336 cat >>confdefs.h <<_ACEOF
23337 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23338 _ACEOF
23341 done
23351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
23352 $as_echo_n "checking for expf declaration... " >&6; }
23353 if test x${glibcxx_cv_func_expf_use+set} != xset; then
23354 if ${glibcxx_cv_func_expf_use+:} false; then :
23355 $as_echo_n "(cached) " >&6
23356 else
23359 ac_ext=cpp
23360 ac_cpp='$CXXCPP $CPPFLAGS'
23361 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23362 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23363 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23366 /* end confdefs.h. */
23367 #include <math.h>
23368 #ifdef HAVE_IEEEFP_H
23369 #include <ieeefp.h>
23370 #endif
23373 main ()
23375 expf(0);
23377 return 0;
23379 _ACEOF
23380 if ac_fn_cxx_try_compile "$LINENO"; then :
23381 glibcxx_cv_func_expf_use=yes
23382 else
23383 glibcxx_cv_func_expf_use=no
23385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23386 ac_ext=c
23387 ac_cpp='$CPP $CPPFLAGS'
23388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
23397 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
23399 if test x$glibcxx_cv_func_expf_use = x"yes"; then
23400 for ac_func in expf
23401 do :
23402 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
23403 if test "x$ac_cv_func_expf" = xyes; then :
23404 cat >>confdefs.h <<_ACEOF
23405 #define HAVE_EXPF 1
23406 _ACEOF
23409 done
23411 else
23413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
23414 $as_echo_n "checking for _expf declaration... " >&6; }
23415 if test x${glibcxx_cv_func__expf_use+set} != xset; then
23416 if ${glibcxx_cv_func__expf_use+:} false; then :
23417 $as_echo_n "(cached) " >&6
23418 else
23421 ac_ext=cpp
23422 ac_cpp='$CXXCPP $CPPFLAGS'
23423 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23424 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23425 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23428 /* end confdefs.h. */
23429 #include <math.h>
23430 #ifdef HAVE_IEEEFP_H
23431 #include <ieeefp.h>
23432 #endif
23435 main ()
23437 _expf(0);
23439 return 0;
23441 _ACEOF
23442 if ac_fn_cxx_try_compile "$LINENO"; then :
23443 glibcxx_cv_func__expf_use=yes
23444 else
23445 glibcxx_cv_func__expf_use=no
23447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23448 ac_ext=c
23449 ac_cpp='$CPP $CPPFLAGS'
23450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
23459 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
23461 if test x$glibcxx_cv_func__expf_use = x"yes"; then
23462 for ac_func in _expf
23463 do :
23464 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
23465 if test "x$ac_cv_func__expf" = xyes; then :
23466 cat >>confdefs.h <<_ACEOF
23467 #define HAVE__EXPF 1
23468 _ACEOF
23471 done
23480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
23481 $as_echo_n "checking for isnanf declaration... " >&6; }
23482 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
23483 if ${glibcxx_cv_func_isnanf_use+:} false; then :
23484 $as_echo_n "(cached) " >&6
23485 else
23488 ac_ext=cpp
23489 ac_cpp='$CXXCPP $CPPFLAGS'
23490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23491 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23495 /* end confdefs.h. */
23496 #include <math.h>
23497 #ifdef HAVE_IEEEFP_H
23498 #include <ieeefp.h>
23499 #endif
23502 main ()
23504 isnanf(0);
23506 return 0;
23508 _ACEOF
23509 if ac_fn_cxx_try_compile "$LINENO"; then :
23510 glibcxx_cv_func_isnanf_use=yes
23511 else
23512 glibcxx_cv_func_isnanf_use=no
23514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23515 ac_ext=c
23516 ac_cpp='$CPP $CPPFLAGS'
23517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
23526 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
23528 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
23529 for ac_func in isnanf
23530 do :
23531 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
23532 if test "x$ac_cv_func_isnanf" = xyes; then :
23533 cat >>confdefs.h <<_ACEOF
23534 #define HAVE_ISNANF 1
23535 _ACEOF
23538 done
23540 else
23542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
23543 $as_echo_n "checking for _isnanf declaration... " >&6; }
23544 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
23545 if ${glibcxx_cv_func__isnanf_use+:} false; then :
23546 $as_echo_n "(cached) " >&6
23547 else
23550 ac_ext=cpp
23551 ac_cpp='$CXXCPP $CPPFLAGS'
23552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23557 /* end confdefs.h. */
23558 #include <math.h>
23559 #ifdef HAVE_IEEEFP_H
23560 #include <ieeefp.h>
23561 #endif
23564 main ()
23566 _isnanf(0);
23568 return 0;
23570 _ACEOF
23571 if ac_fn_cxx_try_compile "$LINENO"; then :
23572 glibcxx_cv_func__isnanf_use=yes
23573 else
23574 glibcxx_cv_func__isnanf_use=no
23576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23577 ac_ext=c
23578 ac_cpp='$CPP $CPPFLAGS'
23579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
23588 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
23590 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
23591 for ac_func in _isnanf
23592 do :
23593 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
23594 if test "x$ac_cv_func__isnanf" = xyes; then :
23595 cat >>confdefs.h <<_ACEOF
23596 #define HAVE__ISNANF 1
23597 _ACEOF
23600 done
23609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
23610 $as_echo_n "checking for isinff declaration... " >&6; }
23611 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
23612 if ${glibcxx_cv_func_isinff_use+:} false; then :
23613 $as_echo_n "(cached) " >&6
23614 else
23617 ac_ext=cpp
23618 ac_cpp='$CXXCPP $CPPFLAGS'
23619 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23620 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23621 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23624 /* end confdefs.h. */
23625 #include <math.h>
23626 #ifdef HAVE_IEEEFP_H
23627 #include <ieeefp.h>
23628 #endif
23631 main ()
23633 isinff(0);
23635 return 0;
23637 _ACEOF
23638 if ac_fn_cxx_try_compile "$LINENO"; then :
23639 glibcxx_cv_func_isinff_use=yes
23640 else
23641 glibcxx_cv_func_isinff_use=no
23643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23644 ac_ext=c
23645 ac_cpp='$CPP $CPPFLAGS'
23646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
23655 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
23657 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
23658 for ac_func in isinff
23659 do :
23660 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
23661 if test "x$ac_cv_func_isinff" = xyes; then :
23662 cat >>confdefs.h <<_ACEOF
23663 #define HAVE_ISINFF 1
23664 _ACEOF
23667 done
23669 else
23671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
23672 $as_echo_n "checking for _isinff declaration... " >&6; }
23673 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
23674 if ${glibcxx_cv_func__isinff_use+:} false; then :
23675 $as_echo_n "(cached) " >&6
23676 else
23679 ac_ext=cpp
23680 ac_cpp='$CXXCPP $CPPFLAGS'
23681 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23682 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23683 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23686 /* end confdefs.h. */
23687 #include <math.h>
23688 #ifdef HAVE_IEEEFP_H
23689 #include <ieeefp.h>
23690 #endif
23693 main ()
23695 _isinff(0);
23697 return 0;
23699 _ACEOF
23700 if ac_fn_cxx_try_compile "$LINENO"; then :
23701 glibcxx_cv_func__isinff_use=yes
23702 else
23703 glibcxx_cv_func__isinff_use=no
23705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23706 ac_ext=c
23707 ac_cpp='$CPP $CPPFLAGS'
23708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
23717 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
23719 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
23720 for ac_func in _isinff
23721 do :
23722 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
23723 if test "x$ac_cv_func__isinff" = xyes; then :
23724 cat >>confdefs.h <<_ACEOF
23725 #define HAVE__ISINFF 1
23726 _ACEOF
23729 done
23738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
23739 $as_echo_n "checking for atan2f declaration... " >&6; }
23740 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
23741 if ${glibcxx_cv_func_atan2f_use+:} false; then :
23742 $as_echo_n "(cached) " >&6
23743 else
23746 ac_ext=cpp
23747 ac_cpp='$CXXCPP $CPPFLAGS'
23748 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23749 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23750 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23753 /* end confdefs.h. */
23754 #include <math.h>
23756 main ()
23758 atan2f(0, 0);
23760 return 0;
23762 _ACEOF
23763 if ac_fn_cxx_try_compile "$LINENO"; then :
23764 glibcxx_cv_func_atan2f_use=yes
23765 else
23766 glibcxx_cv_func_atan2f_use=no
23768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23769 ac_ext=c
23770 ac_cpp='$CPP $CPPFLAGS'
23771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
23780 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
23782 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
23783 for ac_func in atan2f
23784 do :
23785 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
23786 if test "x$ac_cv_func_atan2f" = xyes; then :
23787 cat >>confdefs.h <<_ACEOF
23788 #define HAVE_ATAN2F 1
23789 _ACEOF
23792 done
23794 else
23796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
23797 $as_echo_n "checking for _atan2f declaration... " >&6; }
23798 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
23799 if ${glibcxx_cv_func__atan2f_use+:} false; then :
23800 $as_echo_n "(cached) " >&6
23801 else
23804 ac_ext=cpp
23805 ac_cpp='$CXXCPP $CPPFLAGS'
23806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23811 /* end confdefs.h. */
23812 #include <math.h>
23814 main ()
23816 _atan2f(0, 0);
23818 return 0;
23820 _ACEOF
23821 if ac_fn_cxx_try_compile "$LINENO"; then :
23822 glibcxx_cv_func__atan2f_use=yes
23823 else
23824 glibcxx_cv_func__atan2f_use=no
23826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23827 ac_ext=c
23828 ac_cpp='$CPP $CPPFLAGS'
23829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
23838 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
23840 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
23841 for ac_func in _atan2f
23842 do :
23843 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
23844 if test "x$ac_cv_func__atan2f" = xyes; then :
23845 cat >>confdefs.h <<_ACEOF
23846 #define HAVE__ATAN2F 1
23847 _ACEOF
23850 done
23859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
23860 $as_echo_n "checking for fabsf declaration... " >&6; }
23861 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
23862 if ${glibcxx_cv_func_fabsf_use+:} false; then :
23863 $as_echo_n "(cached) " >&6
23864 else
23867 ac_ext=cpp
23868 ac_cpp='$CXXCPP $CPPFLAGS'
23869 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23870 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23871 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23874 /* end confdefs.h. */
23875 #include <math.h>
23876 #ifdef HAVE_IEEEFP_H
23877 #include <ieeefp.h>
23878 #endif
23881 main ()
23883 fabsf(0);
23885 return 0;
23887 _ACEOF
23888 if ac_fn_cxx_try_compile "$LINENO"; then :
23889 glibcxx_cv_func_fabsf_use=yes
23890 else
23891 glibcxx_cv_func_fabsf_use=no
23893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23894 ac_ext=c
23895 ac_cpp='$CPP $CPPFLAGS'
23896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
23905 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
23907 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
23908 for ac_func in fabsf
23909 do :
23910 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
23911 if test "x$ac_cv_func_fabsf" = xyes; then :
23912 cat >>confdefs.h <<_ACEOF
23913 #define HAVE_FABSF 1
23914 _ACEOF
23917 done
23919 else
23921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
23922 $as_echo_n "checking for _fabsf declaration... " >&6; }
23923 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
23924 if ${glibcxx_cv_func__fabsf_use+:} false; then :
23925 $as_echo_n "(cached) " >&6
23926 else
23929 ac_ext=cpp
23930 ac_cpp='$CXXCPP $CPPFLAGS'
23931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23932 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23936 /* end confdefs.h. */
23937 #include <math.h>
23938 #ifdef HAVE_IEEEFP_H
23939 #include <ieeefp.h>
23940 #endif
23943 main ()
23945 _fabsf(0);
23947 return 0;
23949 _ACEOF
23950 if ac_fn_cxx_try_compile "$LINENO"; then :
23951 glibcxx_cv_func__fabsf_use=yes
23952 else
23953 glibcxx_cv_func__fabsf_use=no
23955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23956 ac_ext=c
23957 ac_cpp='$CPP $CPPFLAGS'
23958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
23967 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
23969 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
23970 for ac_func in _fabsf
23971 do :
23972 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
23973 if test "x$ac_cv_func__fabsf" = xyes; then :
23974 cat >>confdefs.h <<_ACEOF
23975 #define HAVE__FABSF 1
23976 _ACEOF
23979 done
23988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
23989 $as_echo_n "checking for fmodf declaration... " >&6; }
23990 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
23991 if ${glibcxx_cv_func_fmodf_use+:} false; then :
23992 $as_echo_n "(cached) " >&6
23993 else
23996 ac_ext=cpp
23997 ac_cpp='$CXXCPP $CPPFLAGS'
23998 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23999 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24000 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24003 /* end confdefs.h. */
24004 #include <math.h>
24006 main ()
24008 fmodf(0, 0);
24010 return 0;
24012 _ACEOF
24013 if ac_fn_cxx_try_compile "$LINENO"; then :
24014 glibcxx_cv_func_fmodf_use=yes
24015 else
24016 glibcxx_cv_func_fmodf_use=no
24018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24019 ac_ext=c
24020 ac_cpp='$CPP $CPPFLAGS'
24021 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24022 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24023 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
24030 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
24032 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
24033 for ac_func in fmodf
24034 do :
24035 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
24036 if test "x$ac_cv_func_fmodf" = xyes; then :
24037 cat >>confdefs.h <<_ACEOF
24038 #define HAVE_FMODF 1
24039 _ACEOF
24042 done
24044 else
24046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
24047 $as_echo_n "checking for _fmodf declaration... " >&6; }
24048 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
24049 if ${glibcxx_cv_func__fmodf_use+:} false; then :
24050 $as_echo_n "(cached) " >&6
24051 else
24054 ac_ext=cpp
24055 ac_cpp='$CXXCPP $CPPFLAGS'
24056 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24057 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24058 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24061 /* end confdefs.h. */
24062 #include <math.h>
24064 main ()
24066 _fmodf(0, 0);
24068 return 0;
24070 _ACEOF
24071 if ac_fn_cxx_try_compile "$LINENO"; then :
24072 glibcxx_cv_func__fmodf_use=yes
24073 else
24074 glibcxx_cv_func__fmodf_use=no
24076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24077 ac_ext=c
24078 ac_cpp='$CPP $CPPFLAGS'
24079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
24088 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
24090 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
24091 for ac_func in _fmodf
24092 do :
24093 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
24094 if test "x$ac_cv_func__fmodf" = xyes; then :
24095 cat >>confdefs.h <<_ACEOF
24096 #define HAVE__FMODF 1
24097 _ACEOF
24100 done
24109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
24110 $as_echo_n "checking for frexpf declaration... " >&6; }
24111 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
24112 if ${glibcxx_cv_func_frexpf_use+:} false; then :
24113 $as_echo_n "(cached) " >&6
24114 else
24117 ac_ext=cpp
24118 ac_cpp='$CXXCPP $CPPFLAGS'
24119 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24120 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24121 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24124 /* end confdefs.h. */
24125 #include <math.h>
24127 main ()
24129 frexpf(0, 0);
24131 return 0;
24133 _ACEOF
24134 if ac_fn_cxx_try_compile "$LINENO"; then :
24135 glibcxx_cv_func_frexpf_use=yes
24136 else
24137 glibcxx_cv_func_frexpf_use=no
24139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24140 ac_ext=c
24141 ac_cpp='$CPP $CPPFLAGS'
24142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
24151 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
24153 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
24154 for ac_func in frexpf
24155 do :
24156 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
24157 if test "x$ac_cv_func_frexpf" = xyes; then :
24158 cat >>confdefs.h <<_ACEOF
24159 #define HAVE_FREXPF 1
24160 _ACEOF
24163 done
24165 else
24167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
24168 $as_echo_n "checking for _frexpf declaration... " >&6; }
24169 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
24170 if ${glibcxx_cv_func__frexpf_use+:} false; then :
24171 $as_echo_n "(cached) " >&6
24172 else
24175 ac_ext=cpp
24176 ac_cpp='$CXXCPP $CPPFLAGS'
24177 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24178 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24179 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24182 /* end confdefs.h. */
24183 #include <math.h>
24185 main ()
24187 _frexpf(0, 0);
24189 return 0;
24191 _ACEOF
24192 if ac_fn_cxx_try_compile "$LINENO"; then :
24193 glibcxx_cv_func__frexpf_use=yes
24194 else
24195 glibcxx_cv_func__frexpf_use=no
24197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24198 ac_ext=c
24199 ac_cpp='$CPP $CPPFLAGS'
24200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
24209 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
24211 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
24212 for ac_func in _frexpf
24213 do :
24214 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
24215 if test "x$ac_cv_func__frexpf" = xyes; then :
24216 cat >>confdefs.h <<_ACEOF
24217 #define HAVE__FREXPF 1
24218 _ACEOF
24221 done
24230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
24231 $as_echo_n "checking for hypotf declaration... " >&6; }
24232 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
24233 if ${glibcxx_cv_func_hypotf_use+:} false; then :
24234 $as_echo_n "(cached) " >&6
24235 else
24238 ac_ext=cpp
24239 ac_cpp='$CXXCPP $CPPFLAGS'
24240 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24241 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24242 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24245 /* end confdefs.h. */
24246 #include <math.h>
24248 main ()
24250 hypotf(0, 0);
24252 return 0;
24254 _ACEOF
24255 if ac_fn_cxx_try_compile "$LINENO"; then :
24256 glibcxx_cv_func_hypotf_use=yes
24257 else
24258 glibcxx_cv_func_hypotf_use=no
24260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24261 ac_ext=c
24262 ac_cpp='$CPP $CPPFLAGS'
24263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
24272 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
24274 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
24275 for ac_func in hypotf
24276 do :
24277 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
24278 if test "x$ac_cv_func_hypotf" = xyes; then :
24279 cat >>confdefs.h <<_ACEOF
24280 #define HAVE_HYPOTF 1
24281 _ACEOF
24284 done
24286 else
24288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
24289 $as_echo_n "checking for _hypotf declaration... " >&6; }
24290 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
24291 if ${glibcxx_cv_func__hypotf_use+:} false; then :
24292 $as_echo_n "(cached) " >&6
24293 else
24296 ac_ext=cpp
24297 ac_cpp='$CXXCPP $CPPFLAGS'
24298 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24299 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24300 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24303 /* end confdefs.h. */
24304 #include <math.h>
24306 main ()
24308 _hypotf(0, 0);
24310 return 0;
24312 _ACEOF
24313 if ac_fn_cxx_try_compile "$LINENO"; then :
24314 glibcxx_cv_func__hypotf_use=yes
24315 else
24316 glibcxx_cv_func__hypotf_use=no
24318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24319 ac_ext=c
24320 ac_cpp='$CPP $CPPFLAGS'
24321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
24330 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
24332 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
24333 for ac_func in _hypotf
24334 do :
24335 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
24336 if test "x$ac_cv_func__hypotf" = xyes; then :
24337 cat >>confdefs.h <<_ACEOF
24338 #define HAVE__HYPOTF 1
24339 _ACEOF
24342 done
24351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
24352 $as_echo_n "checking for ldexpf declaration... " >&6; }
24353 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
24354 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
24355 $as_echo_n "(cached) " >&6
24356 else
24359 ac_ext=cpp
24360 ac_cpp='$CXXCPP $CPPFLAGS'
24361 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24362 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24363 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24366 /* end confdefs.h. */
24367 #include <math.h>
24369 main ()
24371 ldexpf(0, 0);
24373 return 0;
24375 _ACEOF
24376 if ac_fn_cxx_try_compile "$LINENO"; then :
24377 glibcxx_cv_func_ldexpf_use=yes
24378 else
24379 glibcxx_cv_func_ldexpf_use=no
24381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24382 ac_ext=c
24383 ac_cpp='$CPP $CPPFLAGS'
24384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
24393 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
24395 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
24396 for ac_func in ldexpf
24397 do :
24398 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
24399 if test "x$ac_cv_func_ldexpf" = xyes; then :
24400 cat >>confdefs.h <<_ACEOF
24401 #define HAVE_LDEXPF 1
24402 _ACEOF
24405 done
24407 else
24409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
24410 $as_echo_n "checking for _ldexpf declaration... " >&6; }
24411 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
24412 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
24413 $as_echo_n "(cached) " >&6
24414 else
24417 ac_ext=cpp
24418 ac_cpp='$CXXCPP $CPPFLAGS'
24419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24424 /* end confdefs.h. */
24425 #include <math.h>
24427 main ()
24429 _ldexpf(0, 0);
24431 return 0;
24433 _ACEOF
24434 if ac_fn_cxx_try_compile "$LINENO"; then :
24435 glibcxx_cv_func__ldexpf_use=yes
24436 else
24437 glibcxx_cv_func__ldexpf_use=no
24439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24440 ac_ext=c
24441 ac_cpp='$CPP $CPPFLAGS'
24442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
24451 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
24453 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
24454 for ac_func in _ldexpf
24455 do :
24456 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
24457 if test "x$ac_cv_func__ldexpf" = xyes; then :
24458 cat >>confdefs.h <<_ACEOF
24459 #define HAVE__LDEXPF 1
24460 _ACEOF
24463 done
24472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
24473 $as_echo_n "checking for logf declaration... " >&6; }
24474 if test x${glibcxx_cv_func_logf_use+set} != xset; then
24475 if ${glibcxx_cv_func_logf_use+:} false; then :
24476 $as_echo_n "(cached) " >&6
24477 else
24480 ac_ext=cpp
24481 ac_cpp='$CXXCPP $CPPFLAGS'
24482 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24483 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24484 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24487 /* end confdefs.h. */
24488 #include <math.h>
24489 #ifdef HAVE_IEEEFP_H
24490 #include <ieeefp.h>
24491 #endif
24494 main ()
24496 logf(0);
24498 return 0;
24500 _ACEOF
24501 if ac_fn_cxx_try_compile "$LINENO"; then :
24502 glibcxx_cv_func_logf_use=yes
24503 else
24504 glibcxx_cv_func_logf_use=no
24506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24507 ac_ext=c
24508 ac_cpp='$CPP $CPPFLAGS'
24509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
24518 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
24520 if test x$glibcxx_cv_func_logf_use = x"yes"; then
24521 for ac_func in logf
24522 do :
24523 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
24524 if test "x$ac_cv_func_logf" = xyes; then :
24525 cat >>confdefs.h <<_ACEOF
24526 #define HAVE_LOGF 1
24527 _ACEOF
24530 done
24532 else
24534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
24535 $as_echo_n "checking for _logf declaration... " >&6; }
24536 if test x${glibcxx_cv_func__logf_use+set} != xset; then
24537 if ${glibcxx_cv_func__logf_use+:} false; then :
24538 $as_echo_n "(cached) " >&6
24539 else
24542 ac_ext=cpp
24543 ac_cpp='$CXXCPP $CPPFLAGS'
24544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24549 /* end confdefs.h. */
24550 #include <math.h>
24551 #ifdef HAVE_IEEEFP_H
24552 #include <ieeefp.h>
24553 #endif
24556 main ()
24558 _logf(0);
24560 return 0;
24562 _ACEOF
24563 if ac_fn_cxx_try_compile "$LINENO"; then :
24564 glibcxx_cv_func__logf_use=yes
24565 else
24566 glibcxx_cv_func__logf_use=no
24568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24569 ac_ext=c
24570 ac_cpp='$CPP $CPPFLAGS'
24571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
24580 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
24582 if test x$glibcxx_cv_func__logf_use = x"yes"; then
24583 for ac_func in _logf
24584 do :
24585 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
24586 if test "x$ac_cv_func__logf" = xyes; then :
24587 cat >>confdefs.h <<_ACEOF
24588 #define HAVE__LOGF 1
24589 _ACEOF
24592 done
24601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
24602 $as_echo_n "checking for log10f declaration... " >&6; }
24603 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
24604 if ${glibcxx_cv_func_log10f_use+:} false; then :
24605 $as_echo_n "(cached) " >&6
24606 else
24609 ac_ext=cpp
24610 ac_cpp='$CXXCPP $CPPFLAGS'
24611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24616 /* end confdefs.h. */
24617 #include <math.h>
24618 #ifdef HAVE_IEEEFP_H
24619 #include <ieeefp.h>
24620 #endif
24623 main ()
24625 log10f(0);
24627 return 0;
24629 _ACEOF
24630 if ac_fn_cxx_try_compile "$LINENO"; then :
24631 glibcxx_cv_func_log10f_use=yes
24632 else
24633 glibcxx_cv_func_log10f_use=no
24635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24636 ac_ext=c
24637 ac_cpp='$CPP $CPPFLAGS'
24638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
24647 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
24649 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
24650 for ac_func in log10f
24651 do :
24652 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
24653 if test "x$ac_cv_func_log10f" = xyes; then :
24654 cat >>confdefs.h <<_ACEOF
24655 #define HAVE_LOG10F 1
24656 _ACEOF
24659 done
24661 else
24663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
24664 $as_echo_n "checking for _log10f declaration... " >&6; }
24665 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
24666 if ${glibcxx_cv_func__log10f_use+:} false; then :
24667 $as_echo_n "(cached) " >&6
24668 else
24671 ac_ext=cpp
24672 ac_cpp='$CXXCPP $CPPFLAGS'
24673 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24674 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24675 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24678 /* end confdefs.h. */
24679 #include <math.h>
24680 #ifdef HAVE_IEEEFP_H
24681 #include <ieeefp.h>
24682 #endif
24685 main ()
24687 _log10f(0);
24689 return 0;
24691 _ACEOF
24692 if ac_fn_cxx_try_compile "$LINENO"; then :
24693 glibcxx_cv_func__log10f_use=yes
24694 else
24695 glibcxx_cv_func__log10f_use=no
24697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24698 ac_ext=c
24699 ac_cpp='$CPP $CPPFLAGS'
24700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
24709 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
24711 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
24712 for ac_func in _log10f
24713 do :
24714 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
24715 if test "x$ac_cv_func__log10f" = xyes; then :
24716 cat >>confdefs.h <<_ACEOF
24717 #define HAVE__LOG10F 1
24718 _ACEOF
24721 done
24730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
24731 $as_echo_n "checking for modff declaration... " >&6; }
24732 if test x${glibcxx_cv_func_modff_use+set} != xset; then
24733 if ${glibcxx_cv_func_modff_use+:} false; then :
24734 $as_echo_n "(cached) " >&6
24735 else
24738 ac_ext=cpp
24739 ac_cpp='$CXXCPP $CPPFLAGS'
24740 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24741 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24742 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24745 /* end confdefs.h. */
24746 #include <math.h>
24748 main ()
24750 modff(0, 0);
24752 return 0;
24754 _ACEOF
24755 if ac_fn_cxx_try_compile "$LINENO"; then :
24756 glibcxx_cv_func_modff_use=yes
24757 else
24758 glibcxx_cv_func_modff_use=no
24760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24761 ac_ext=c
24762 ac_cpp='$CPP $CPPFLAGS'
24763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
24772 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
24774 if test x$glibcxx_cv_func_modff_use = x"yes"; then
24775 for ac_func in modff
24776 do :
24777 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
24778 if test "x$ac_cv_func_modff" = xyes; then :
24779 cat >>confdefs.h <<_ACEOF
24780 #define HAVE_MODFF 1
24781 _ACEOF
24784 done
24786 else
24788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
24789 $as_echo_n "checking for _modff declaration... " >&6; }
24790 if test x${glibcxx_cv_func__modff_use+set} != xset; then
24791 if ${glibcxx_cv_func__modff_use+:} false; then :
24792 $as_echo_n "(cached) " >&6
24793 else
24796 ac_ext=cpp
24797 ac_cpp='$CXXCPP $CPPFLAGS'
24798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24803 /* end confdefs.h. */
24804 #include <math.h>
24806 main ()
24808 _modff(0, 0);
24810 return 0;
24812 _ACEOF
24813 if ac_fn_cxx_try_compile "$LINENO"; then :
24814 glibcxx_cv_func__modff_use=yes
24815 else
24816 glibcxx_cv_func__modff_use=no
24818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24819 ac_ext=c
24820 ac_cpp='$CPP $CPPFLAGS'
24821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24823 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
24830 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
24832 if test x$glibcxx_cv_func__modff_use = x"yes"; then
24833 for ac_func in _modff
24834 do :
24835 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
24836 if test "x$ac_cv_func__modff" = xyes; then :
24837 cat >>confdefs.h <<_ACEOF
24838 #define HAVE__MODFF 1
24839 _ACEOF
24842 done
24851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
24852 $as_echo_n "checking for modf declaration... " >&6; }
24853 if test x${glibcxx_cv_func_modf_use+set} != xset; then
24854 if ${glibcxx_cv_func_modf_use+:} false; then :
24855 $as_echo_n "(cached) " >&6
24856 else
24859 ac_ext=cpp
24860 ac_cpp='$CXXCPP $CPPFLAGS'
24861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24866 /* end confdefs.h. */
24867 #include <math.h>
24869 main ()
24871 modf(0, 0);
24873 return 0;
24875 _ACEOF
24876 if ac_fn_cxx_try_compile "$LINENO"; then :
24877 glibcxx_cv_func_modf_use=yes
24878 else
24879 glibcxx_cv_func_modf_use=no
24881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24882 ac_ext=c
24883 ac_cpp='$CPP $CPPFLAGS'
24884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
24893 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
24895 if test x$glibcxx_cv_func_modf_use = x"yes"; then
24896 for ac_func in modf
24897 do :
24898 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
24899 if test "x$ac_cv_func_modf" = xyes; then :
24900 cat >>confdefs.h <<_ACEOF
24901 #define HAVE_MODF 1
24902 _ACEOF
24905 done
24907 else
24909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
24910 $as_echo_n "checking for _modf declaration... " >&6; }
24911 if test x${glibcxx_cv_func__modf_use+set} != xset; then
24912 if ${glibcxx_cv_func__modf_use+:} false; then :
24913 $as_echo_n "(cached) " >&6
24914 else
24917 ac_ext=cpp
24918 ac_cpp='$CXXCPP $CPPFLAGS'
24919 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24920 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24921 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24924 /* end confdefs.h. */
24925 #include <math.h>
24927 main ()
24929 _modf(0, 0);
24931 return 0;
24933 _ACEOF
24934 if ac_fn_cxx_try_compile "$LINENO"; then :
24935 glibcxx_cv_func__modf_use=yes
24936 else
24937 glibcxx_cv_func__modf_use=no
24939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24940 ac_ext=c
24941 ac_cpp='$CPP $CPPFLAGS'
24942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
24951 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
24953 if test x$glibcxx_cv_func__modf_use = x"yes"; then
24954 for ac_func in _modf
24955 do :
24956 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
24957 if test "x$ac_cv_func__modf" = xyes; then :
24958 cat >>confdefs.h <<_ACEOF
24959 #define HAVE__MODF 1
24960 _ACEOF
24963 done
24972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
24973 $as_echo_n "checking for powf declaration... " >&6; }
24974 if test x${glibcxx_cv_func_powf_use+set} != xset; then
24975 if ${glibcxx_cv_func_powf_use+:} false; then :
24976 $as_echo_n "(cached) " >&6
24977 else
24980 ac_ext=cpp
24981 ac_cpp='$CXXCPP $CPPFLAGS'
24982 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24983 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24984 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24987 /* end confdefs.h. */
24988 #include <math.h>
24990 main ()
24992 powf(0, 0);
24994 return 0;
24996 _ACEOF
24997 if ac_fn_cxx_try_compile "$LINENO"; then :
24998 glibcxx_cv_func_powf_use=yes
24999 else
25000 glibcxx_cv_func_powf_use=no
25002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25003 ac_ext=c
25004 ac_cpp='$CPP $CPPFLAGS'
25005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
25014 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
25016 if test x$glibcxx_cv_func_powf_use = x"yes"; then
25017 for ac_func in powf
25018 do :
25019 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
25020 if test "x$ac_cv_func_powf" = xyes; then :
25021 cat >>confdefs.h <<_ACEOF
25022 #define HAVE_POWF 1
25023 _ACEOF
25026 done
25028 else
25030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
25031 $as_echo_n "checking for _powf declaration... " >&6; }
25032 if test x${glibcxx_cv_func__powf_use+set} != xset; then
25033 if ${glibcxx_cv_func__powf_use+:} false; then :
25034 $as_echo_n "(cached) " >&6
25035 else
25038 ac_ext=cpp
25039 ac_cpp='$CXXCPP $CPPFLAGS'
25040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25045 /* end confdefs.h. */
25046 #include <math.h>
25048 main ()
25050 _powf(0, 0);
25052 return 0;
25054 _ACEOF
25055 if ac_fn_cxx_try_compile "$LINENO"; then :
25056 glibcxx_cv_func__powf_use=yes
25057 else
25058 glibcxx_cv_func__powf_use=no
25060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25061 ac_ext=c
25062 ac_cpp='$CPP $CPPFLAGS'
25063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
25072 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
25074 if test x$glibcxx_cv_func__powf_use = x"yes"; then
25075 for ac_func in _powf
25076 do :
25077 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
25078 if test "x$ac_cv_func__powf" = xyes; then :
25079 cat >>confdefs.h <<_ACEOF
25080 #define HAVE__POWF 1
25081 _ACEOF
25084 done
25093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
25094 $as_echo_n "checking for sqrtf declaration... " >&6; }
25095 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
25096 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
25097 $as_echo_n "(cached) " >&6
25098 else
25101 ac_ext=cpp
25102 ac_cpp='$CXXCPP $CPPFLAGS'
25103 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25104 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25105 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25108 /* end confdefs.h. */
25109 #include <math.h>
25110 #ifdef HAVE_IEEEFP_H
25111 #include <ieeefp.h>
25112 #endif
25115 main ()
25117 sqrtf(0);
25119 return 0;
25121 _ACEOF
25122 if ac_fn_cxx_try_compile "$LINENO"; then :
25123 glibcxx_cv_func_sqrtf_use=yes
25124 else
25125 glibcxx_cv_func_sqrtf_use=no
25127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25128 ac_ext=c
25129 ac_cpp='$CPP $CPPFLAGS'
25130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
25139 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
25141 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
25142 for ac_func in sqrtf
25143 do :
25144 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
25145 if test "x$ac_cv_func_sqrtf" = xyes; then :
25146 cat >>confdefs.h <<_ACEOF
25147 #define HAVE_SQRTF 1
25148 _ACEOF
25151 done
25153 else
25155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
25156 $as_echo_n "checking for _sqrtf declaration... " >&6; }
25157 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
25158 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
25159 $as_echo_n "(cached) " >&6
25160 else
25163 ac_ext=cpp
25164 ac_cpp='$CXXCPP $CPPFLAGS'
25165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25170 /* end confdefs.h. */
25171 #include <math.h>
25172 #ifdef HAVE_IEEEFP_H
25173 #include <ieeefp.h>
25174 #endif
25177 main ()
25179 _sqrtf(0);
25181 return 0;
25183 _ACEOF
25184 if ac_fn_cxx_try_compile "$LINENO"; then :
25185 glibcxx_cv_func__sqrtf_use=yes
25186 else
25187 glibcxx_cv_func__sqrtf_use=no
25189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25190 ac_ext=c
25191 ac_cpp='$CPP $CPPFLAGS'
25192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
25201 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
25203 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
25204 for ac_func in _sqrtf
25205 do :
25206 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
25207 if test "x$ac_cv_func__sqrtf" = xyes; then :
25208 cat >>confdefs.h <<_ACEOF
25209 #define HAVE__SQRTF 1
25210 _ACEOF
25213 done
25222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
25223 $as_echo_n "checking for sincosf declaration... " >&6; }
25224 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
25225 if ${glibcxx_cv_func_sincosf_use+:} false; then :
25226 $as_echo_n "(cached) " >&6
25227 else
25230 ac_ext=cpp
25231 ac_cpp='$CXXCPP $CPPFLAGS'
25232 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25233 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25234 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25237 /* end confdefs.h. */
25238 #include <math.h>
25240 main ()
25242 sincosf(0, 0, 0);
25244 return 0;
25246 _ACEOF
25247 if ac_fn_cxx_try_compile "$LINENO"; then :
25248 glibcxx_cv_func_sincosf_use=yes
25249 else
25250 glibcxx_cv_func_sincosf_use=no
25252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25253 ac_ext=c
25254 ac_cpp='$CPP $CPPFLAGS'
25255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
25264 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
25266 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
25267 for ac_func in sincosf
25268 do :
25269 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
25270 if test "x$ac_cv_func_sincosf" = xyes; then :
25271 cat >>confdefs.h <<_ACEOF
25272 #define HAVE_SINCOSF 1
25273 _ACEOF
25276 done
25278 else
25280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
25281 $as_echo_n "checking for _sincosf declaration... " >&6; }
25282 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
25283 if ${glibcxx_cv_func__sincosf_use+:} false; then :
25284 $as_echo_n "(cached) " >&6
25285 else
25288 ac_ext=cpp
25289 ac_cpp='$CXXCPP $CPPFLAGS'
25290 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25291 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25292 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25295 /* end confdefs.h. */
25296 #include <math.h>
25298 main ()
25300 _sincosf(0, 0, 0);
25302 return 0;
25304 _ACEOF
25305 if ac_fn_cxx_try_compile "$LINENO"; then :
25306 glibcxx_cv_func__sincosf_use=yes
25307 else
25308 glibcxx_cv_func__sincosf_use=no
25310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25311 ac_ext=c
25312 ac_cpp='$CPP $CPPFLAGS'
25313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
25322 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
25324 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
25325 for ac_func in _sincosf
25326 do :
25327 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
25328 if test "x$ac_cv_func__sincosf" = xyes; then :
25329 cat >>confdefs.h <<_ACEOF
25330 #define HAVE__SINCOSF 1
25331 _ACEOF
25334 done
25343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
25344 $as_echo_n "checking for finitef declaration... " >&6; }
25345 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
25346 if ${glibcxx_cv_func_finitef_use+:} false; then :
25347 $as_echo_n "(cached) " >&6
25348 else
25351 ac_ext=cpp
25352 ac_cpp='$CXXCPP $CPPFLAGS'
25353 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25354 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25355 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25358 /* end confdefs.h. */
25359 #include <math.h>
25360 #ifdef HAVE_IEEEFP_H
25361 #include <ieeefp.h>
25362 #endif
25365 main ()
25367 finitef(0);
25369 return 0;
25371 _ACEOF
25372 if ac_fn_cxx_try_compile "$LINENO"; then :
25373 glibcxx_cv_func_finitef_use=yes
25374 else
25375 glibcxx_cv_func_finitef_use=no
25377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25378 ac_ext=c
25379 ac_cpp='$CPP $CPPFLAGS'
25380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
25389 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
25391 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
25392 for ac_func in finitef
25393 do :
25394 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
25395 if test "x$ac_cv_func_finitef" = xyes; then :
25396 cat >>confdefs.h <<_ACEOF
25397 #define HAVE_FINITEF 1
25398 _ACEOF
25401 done
25403 else
25405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
25406 $as_echo_n "checking for _finitef declaration... " >&6; }
25407 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
25408 if ${glibcxx_cv_func__finitef_use+:} false; then :
25409 $as_echo_n "(cached) " >&6
25410 else
25413 ac_ext=cpp
25414 ac_cpp='$CXXCPP $CPPFLAGS'
25415 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25416 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25417 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25420 /* end confdefs.h. */
25421 #include <math.h>
25422 #ifdef HAVE_IEEEFP_H
25423 #include <ieeefp.h>
25424 #endif
25427 main ()
25429 _finitef(0);
25431 return 0;
25433 _ACEOF
25434 if ac_fn_cxx_try_compile "$LINENO"; then :
25435 glibcxx_cv_func__finitef_use=yes
25436 else
25437 glibcxx_cv_func__finitef_use=no
25439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25440 ac_ext=c
25441 ac_cpp='$CPP $CPPFLAGS'
25442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
25451 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
25453 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
25454 for ac_func in _finitef
25455 do :
25456 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
25457 if test "x$ac_cv_func__finitef" = xyes; then :
25458 cat >>confdefs.h <<_ACEOF
25459 #define HAVE__FINITEF 1
25460 _ACEOF
25463 done
25472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
25473 $as_echo_n "checking for long double trig functions... " >&6; }
25474 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
25475 $as_echo_n "(cached) " >&6
25476 else
25479 ac_ext=cpp
25480 ac_cpp='$CXXCPP $CPPFLAGS'
25481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25486 /* end confdefs.h. */
25487 #include <math.h>
25489 main ()
25491 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
25493 return 0;
25495 _ACEOF
25496 if ac_fn_cxx_try_compile "$LINENO"; then :
25497 glibcxx_cv_func_long_double_trig_use=yes
25498 else
25499 glibcxx_cv_func_long_double_trig_use=no
25501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25502 ac_ext=c
25503 ac_cpp='$CPP $CPPFLAGS'
25504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
25511 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
25512 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
25513 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
25514 do :
25515 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25516 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25517 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
25518 cat >>confdefs.h <<_ACEOF
25519 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25520 _ACEOF
25523 done
25525 else
25526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
25527 $as_echo_n "checking for _long double trig functions... " >&6; }
25528 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
25529 $as_echo_n "(cached) " >&6
25530 else
25533 ac_ext=cpp
25534 ac_cpp='$CXXCPP $CPPFLAGS'
25535 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25536 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25537 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25540 /* end confdefs.h. */
25541 #include <math.h>
25543 main ()
25545 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
25547 return 0;
25549 _ACEOF
25550 if ac_fn_cxx_try_compile "$LINENO"; then :
25551 glibcxx_cv_func__long_double_trig_use=yes
25552 else
25553 glibcxx_cv_func__long_double_trig_use=no
25555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25556 ac_ext=c
25557 ac_cpp='$CPP $CPPFLAGS'
25558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
25565 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
25566 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
25567 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
25568 do :
25569 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25570 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25571 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
25572 cat >>confdefs.h <<_ACEOF
25573 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25574 _ACEOF
25577 done
25586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
25587 $as_echo_n "checking for long double round functions... " >&6; }
25588 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
25589 $as_echo_n "(cached) " >&6
25590 else
25593 ac_ext=cpp
25594 ac_cpp='$CXXCPP $CPPFLAGS'
25595 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25596 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25597 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25600 /* end confdefs.h. */
25601 #include <math.h>
25603 main ()
25605 ceill (0); floorl (0);
25607 return 0;
25609 _ACEOF
25610 if ac_fn_cxx_try_compile "$LINENO"; then :
25611 glibcxx_cv_func_long_double_round_use=yes
25612 else
25613 glibcxx_cv_func_long_double_round_use=no
25615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25616 ac_ext=c
25617 ac_cpp='$CPP $CPPFLAGS'
25618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
25625 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
25626 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
25627 for ac_func in ceill floorl
25628 do :
25629 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25630 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25631 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
25632 cat >>confdefs.h <<_ACEOF
25633 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25634 _ACEOF
25637 done
25639 else
25640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
25641 $as_echo_n "checking for _long double round functions... " >&6; }
25642 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
25643 $as_echo_n "(cached) " >&6
25644 else
25647 ac_ext=cpp
25648 ac_cpp='$CXXCPP $CPPFLAGS'
25649 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25650 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25651 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25654 /* end confdefs.h. */
25655 #include <math.h>
25657 main ()
25659 _ceill (0); _floorl (0);
25661 return 0;
25663 _ACEOF
25664 if ac_fn_cxx_try_compile "$LINENO"; then :
25665 glibcxx_cv_func__long_double_round_use=yes
25666 else
25667 glibcxx_cv_func__long_double_round_use=no
25669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25670 ac_ext=c
25671 ac_cpp='$CPP $CPPFLAGS'
25672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
25679 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
25680 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
25681 for ac_func in _ceill _floorl
25682 do :
25683 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25684 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25685 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
25686 cat >>confdefs.h <<_ACEOF
25687 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25688 _ACEOF
25691 done
25701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
25702 $as_echo_n "checking for isnanl declaration... " >&6; }
25703 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
25704 if ${glibcxx_cv_func_isnanl_use+:} false; then :
25705 $as_echo_n "(cached) " >&6
25706 else
25709 ac_ext=cpp
25710 ac_cpp='$CXXCPP $CPPFLAGS'
25711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25716 /* end confdefs.h. */
25717 #include <math.h>
25718 #ifdef HAVE_IEEEFP_H
25719 #include <ieeefp.h>
25720 #endif
25723 main ()
25725 isnanl(0);
25727 return 0;
25729 _ACEOF
25730 if ac_fn_cxx_try_compile "$LINENO"; then :
25731 glibcxx_cv_func_isnanl_use=yes
25732 else
25733 glibcxx_cv_func_isnanl_use=no
25735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25736 ac_ext=c
25737 ac_cpp='$CPP $CPPFLAGS'
25738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
25747 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
25749 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
25750 for ac_func in isnanl
25751 do :
25752 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
25753 if test "x$ac_cv_func_isnanl" = xyes; then :
25754 cat >>confdefs.h <<_ACEOF
25755 #define HAVE_ISNANL 1
25756 _ACEOF
25759 done
25761 else
25763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
25764 $as_echo_n "checking for _isnanl declaration... " >&6; }
25765 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
25766 if ${glibcxx_cv_func__isnanl_use+:} false; then :
25767 $as_echo_n "(cached) " >&6
25768 else
25771 ac_ext=cpp
25772 ac_cpp='$CXXCPP $CPPFLAGS'
25773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25778 /* end confdefs.h. */
25779 #include <math.h>
25780 #ifdef HAVE_IEEEFP_H
25781 #include <ieeefp.h>
25782 #endif
25785 main ()
25787 _isnanl(0);
25789 return 0;
25791 _ACEOF
25792 if ac_fn_cxx_try_compile "$LINENO"; then :
25793 glibcxx_cv_func__isnanl_use=yes
25794 else
25795 glibcxx_cv_func__isnanl_use=no
25797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25798 ac_ext=c
25799 ac_cpp='$CPP $CPPFLAGS'
25800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
25809 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
25811 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
25812 for ac_func in _isnanl
25813 do :
25814 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
25815 if test "x$ac_cv_func__isnanl" = xyes; then :
25816 cat >>confdefs.h <<_ACEOF
25817 #define HAVE__ISNANL 1
25818 _ACEOF
25821 done
25830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
25831 $as_echo_n "checking for isinfl declaration... " >&6; }
25832 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
25833 if ${glibcxx_cv_func_isinfl_use+:} false; then :
25834 $as_echo_n "(cached) " >&6
25835 else
25838 ac_ext=cpp
25839 ac_cpp='$CXXCPP $CPPFLAGS'
25840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25845 /* end confdefs.h. */
25846 #include <math.h>
25847 #ifdef HAVE_IEEEFP_H
25848 #include <ieeefp.h>
25849 #endif
25852 main ()
25854 isinfl(0);
25856 return 0;
25858 _ACEOF
25859 if ac_fn_cxx_try_compile "$LINENO"; then :
25860 glibcxx_cv_func_isinfl_use=yes
25861 else
25862 glibcxx_cv_func_isinfl_use=no
25864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25865 ac_ext=c
25866 ac_cpp='$CPP $CPPFLAGS'
25867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
25876 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
25878 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
25879 for ac_func in isinfl
25880 do :
25881 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
25882 if test "x$ac_cv_func_isinfl" = xyes; then :
25883 cat >>confdefs.h <<_ACEOF
25884 #define HAVE_ISINFL 1
25885 _ACEOF
25888 done
25890 else
25892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
25893 $as_echo_n "checking for _isinfl declaration... " >&6; }
25894 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
25895 if ${glibcxx_cv_func__isinfl_use+:} false; then :
25896 $as_echo_n "(cached) " >&6
25897 else
25900 ac_ext=cpp
25901 ac_cpp='$CXXCPP $CPPFLAGS'
25902 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25903 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25904 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25907 /* end confdefs.h. */
25908 #include <math.h>
25909 #ifdef HAVE_IEEEFP_H
25910 #include <ieeefp.h>
25911 #endif
25914 main ()
25916 _isinfl(0);
25918 return 0;
25920 _ACEOF
25921 if ac_fn_cxx_try_compile "$LINENO"; then :
25922 glibcxx_cv_func__isinfl_use=yes
25923 else
25924 glibcxx_cv_func__isinfl_use=no
25926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25927 ac_ext=c
25928 ac_cpp='$CPP $CPPFLAGS'
25929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
25938 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
25940 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
25941 for ac_func in _isinfl
25942 do :
25943 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
25944 if test "x$ac_cv_func__isinfl" = xyes; then :
25945 cat >>confdefs.h <<_ACEOF
25946 #define HAVE__ISINFL 1
25947 _ACEOF
25950 done
25959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
25960 $as_echo_n "checking for atan2l declaration... " >&6; }
25961 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
25962 if ${glibcxx_cv_func_atan2l_use+:} false; then :
25963 $as_echo_n "(cached) " >&6
25964 else
25967 ac_ext=cpp
25968 ac_cpp='$CXXCPP $CPPFLAGS'
25969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25974 /* end confdefs.h. */
25975 #include <math.h>
25977 main ()
25979 atan2l(0, 0);
25981 return 0;
25983 _ACEOF
25984 if ac_fn_cxx_try_compile "$LINENO"; then :
25985 glibcxx_cv_func_atan2l_use=yes
25986 else
25987 glibcxx_cv_func_atan2l_use=no
25989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25990 ac_ext=c
25991 ac_cpp='$CPP $CPPFLAGS'
25992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
26001 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
26003 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
26004 for ac_func in atan2l
26005 do :
26006 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
26007 if test "x$ac_cv_func_atan2l" = xyes; then :
26008 cat >>confdefs.h <<_ACEOF
26009 #define HAVE_ATAN2L 1
26010 _ACEOF
26013 done
26015 else
26017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
26018 $as_echo_n "checking for _atan2l declaration... " >&6; }
26019 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
26020 if ${glibcxx_cv_func__atan2l_use+:} false; then :
26021 $as_echo_n "(cached) " >&6
26022 else
26025 ac_ext=cpp
26026 ac_cpp='$CXXCPP $CPPFLAGS'
26027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26032 /* end confdefs.h. */
26033 #include <math.h>
26035 main ()
26037 _atan2l(0, 0);
26039 return 0;
26041 _ACEOF
26042 if ac_fn_cxx_try_compile "$LINENO"; then :
26043 glibcxx_cv_func__atan2l_use=yes
26044 else
26045 glibcxx_cv_func__atan2l_use=no
26047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26048 ac_ext=c
26049 ac_cpp='$CPP $CPPFLAGS'
26050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
26059 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
26061 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
26062 for ac_func in _atan2l
26063 do :
26064 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
26065 if test "x$ac_cv_func__atan2l" = xyes; then :
26066 cat >>confdefs.h <<_ACEOF
26067 #define HAVE__ATAN2L 1
26068 _ACEOF
26071 done
26080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
26081 $as_echo_n "checking for expl declaration... " >&6; }
26082 if test x${glibcxx_cv_func_expl_use+set} != xset; then
26083 if ${glibcxx_cv_func_expl_use+:} false; then :
26084 $as_echo_n "(cached) " >&6
26085 else
26088 ac_ext=cpp
26089 ac_cpp='$CXXCPP $CPPFLAGS'
26090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26095 /* end confdefs.h. */
26096 #include <math.h>
26097 #ifdef HAVE_IEEEFP_H
26098 #include <ieeefp.h>
26099 #endif
26102 main ()
26104 expl(0);
26106 return 0;
26108 _ACEOF
26109 if ac_fn_cxx_try_compile "$LINENO"; then :
26110 glibcxx_cv_func_expl_use=yes
26111 else
26112 glibcxx_cv_func_expl_use=no
26114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26115 ac_ext=c
26116 ac_cpp='$CPP $CPPFLAGS'
26117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
26126 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
26128 if test x$glibcxx_cv_func_expl_use = x"yes"; then
26129 for ac_func in expl
26130 do :
26131 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
26132 if test "x$ac_cv_func_expl" = xyes; then :
26133 cat >>confdefs.h <<_ACEOF
26134 #define HAVE_EXPL 1
26135 _ACEOF
26138 done
26140 else
26142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
26143 $as_echo_n "checking for _expl declaration... " >&6; }
26144 if test x${glibcxx_cv_func__expl_use+set} != xset; then
26145 if ${glibcxx_cv_func__expl_use+:} false; then :
26146 $as_echo_n "(cached) " >&6
26147 else
26150 ac_ext=cpp
26151 ac_cpp='$CXXCPP $CPPFLAGS'
26152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26157 /* end confdefs.h. */
26158 #include <math.h>
26159 #ifdef HAVE_IEEEFP_H
26160 #include <ieeefp.h>
26161 #endif
26164 main ()
26166 _expl(0);
26168 return 0;
26170 _ACEOF
26171 if ac_fn_cxx_try_compile "$LINENO"; then :
26172 glibcxx_cv_func__expl_use=yes
26173 else
26174 glibcxx_cv_func__expl_use=no
26176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26177 ac_ext=c
26178 ac_cpp='$CPP $CPPFLAGS'
26179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
26188 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
26190 if test x$glibcxx_cv_func__expl_use = x"yes"; then
26191 for ac_func in _expl
26192 do :
26193 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
26194 if test "x$ac_cv_func__expl" = xyes; then :
26195 cat >>confdefs.h <<_ACEOF
26196 #define HAVE__EXPL 1
26197 _ACEOF
26200 done
26209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
26210 $as_echo_n "checking for fabsl declaration... " >&6; }
26211 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
26212 if ${glibcxx_cv_func_fabsl_use+:} false; then :
26213 $as_echo_n "(cached) " >&6
26214 else
26217 ac_ext=cpp
26218 ac_cpp='$CXXCPP $CPPFLAGS'
26219 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26220 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26221 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26224 /* end confdefs.h. */
26225 #include <math.h>
26226 #ifdef HAVE_IEEEFP_H
26227 #include <ieeefp.h>
26228 #endif
26231 main ()
26233 fabsl(0);
26235 return 0;
26237 _ACEOF
26238 if ac_fn_cxx_try_compile "$LINENO"; then :
26239 glibcxx_cv_func_fabsl_use=yes
26240 else
26241 glibcxx_cv_func_fabsl_use=no
26243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26244 ac_ext=c
26245 ac_cpp='$CPP $CPPFLAGS'
26246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
26255 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
26257 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
26258 for ac_func in fabsl
26259 do :
26260 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
26261 if test "x$ac_cv_func_fabsl" = xyes; then :
26262 cat >>confdefs.h <<_ACEOF
26263 #define HAVE_FABSL 1
26264 _ACEOF
26267 done
26269 else
26271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
26272 $as_echo_n "checking for _fabsl declaration... " >&6; }
26273 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
26274 if ${glibcxx_cv_func__fabsl_use+:} false; then :
26275 $as_echo_n "(cached) " >&6
26276 else
26279 ac_ext=cpp
26280 ac_cpp='$CXXCPP $CPPFLAGS'
26281 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26282 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26283 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26286 /* end confdefs.h. */
26287 #include <math.h>
26288 #ifdef HAVE_IEEEFP_H
26289 #include <ieeefp.h>
26290 #endif
26293 main ()
26295 _fabsl(0);
26297 return 0;
26299 _ACEOF
26300 if ac_fn_cxx_try_compile "$LINENO"; then :
26301 glibcxx_cv_func__fabsl_use=yes
26302 else
26303 glibcxx_cv_func__fabsl_use=no
26305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26306 ac_ext=c
26307 ac_cpp='$CPP $CPPFLAGS'
26308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
26317 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
26319 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
26320 for ac_func in _fabsl
26321 do :
26322 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
26323 if test "x$ac_cv_func__fabsl" = xyes; then :
26324 cat >>confdefs.h <<_ACEOF
26325 #define HAVE__FABSL 1
26326 _ACEOF
26329 done
26338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
26339 $as_echo_n "checking for fmodl declaration... " >&6; }
26340 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
26341 if ${glibcxx_cv_func_fmodl_use+:} false; then :
26342 $as_echo_n "(cached) " >&6
26343 else
26346 ac_ext=cpp
26347 ac_cpp='$CXXCPP $CPPFLAGS'
26348 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26349 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26350 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26353 /* end confdefs.h. */
26354 #include <math.h>
26356 main ()
26358 fmodl(0, 0);
26360 return 0;
26362 _ACEOF
26363 if ac_fn_cxx_try_compile "$LINENO"; then :
26364 glibcxx_cv_func_fmodl_use=yes
26365 else
26366 glibcxx_cv_func_fmodl_use=no
26368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26369 ac_ext=c
26370 ac_cpp='$CPP $CPPFLAGS'
26371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
26380 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
26382 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
26383 for ac_func in fmodl
26384 do :
26385 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
26386 if test "x$ac_cv_func_fmodl" = xyes; then :
26387 cat >>confdefs.h <<_ACEOF
26388 #define HAVE_FMODL 1
26389 _ACEOF
26392 done
26394 else
26396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
26397 $as_echo_n "checking for _fmodl declaration... " >&6; }
26398 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
26399 if ${glibcxx_cv_func__fmodl_use+:} false; then :
26400 $as_echo_n "(cached) " >&6
26401 else
26404 ac_ext=cpp
26405 ac_cpp='$CXXCPP $CPPFLAGS'
26406 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26407 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26408 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26411 /* end confdefs.h. */
26412 #include <math.h>
26414 main ()
26416 _fmodl(0, 0);
26418 return 0;
26420 _ACEOF
26421 if ac_fn_cxx_try_compile "$LINENO"; then :
26422 glibcxx_cv_func__fmodl_use=yes
26423 else
26424 glibcxx_cv_func__fmodl_use=no
26426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26427 ac_ext=c
26428 ac_cpp='$CPP $CPPFLAGS'
26429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
26438 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
26440 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
26441 for ac_func in _fmodl
26442 do :
26443 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
26444 if test "x$ac_cv_func__fmodl" = xyes; then :
26445 cat >>confdefs.h <<_ACEOF
26446 #define HAVE__FMODL 1
26447 _ACEOF
26450 done
26459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
26460 $as_echo_n "checking for frexpl declaration... " >&6; }
26461 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
26462 if ${glibcxx_cv_func_frexpl_use+:} false; then :
26463 $as_echo_n "(cached) " >&6
26464 else
26467 ac_ext=cpp
26468 ac_cpp='$CXXCPP $CPPFLAGS'
26469 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26470 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26471 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26474 /* end confdefs.h. */
26475 #include <math.h>
26477 main ()
26479 frexpl(0, 0);
26481 return 0;
26483 _ACEOF
26484 if ac_fn_cxx_try_compile "$LINENO"; then :
26485 glibcxx_cv_func_frexpl_use=yes
26486 else
26487 glibcxx_cv_func_frexpl_use=no
26489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26490 ac_ext=c
26491 ac_cpp='$CPP $CPPFLAGS'
26492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
26501 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
26503 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
26504 for ac_func in frexpl
26505 do :
26506 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
26507 if test "x$ac_cv_func_frexpl" = xyes; then :
26508 cat >>confdefs.h <<_ACEOF
26509 #define HAVE_FREXPL 1
26510 _ACEOF
26513 done
26515 else
26517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
26518 $as_echo_n "checking for _frexpl declaration... " >&6; }
26519 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
26520 if ${glibcxx_cv_func__frexpl_use+:} false; then :
26521 $as_echo_n "(cached) " >&6
26522 else
26525 ac_ext=cpp
26526 ac_cpp='$CXXCPP $CPPFLAGS'
26527 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26528 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26529 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26532 /* end confdefs.h. */
26533 #include <math.h>
26535 main ()
26537 _frexpl(0, 0);
26539 return 0;
26541 _ACEOF
26542 if ac_fn_cxx_try_compile "$LINENO"; then :
26543 glibcxx_cv_func__frexpl_use=yes
26544 else
26545 glibcxx_cv_func__frexpl_use=no
26547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26548 ac_ext=c
26549 ac_cpp='$CPP $CPPFLAGS'
26550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
26559 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
26561 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
26562 for ac_func in _frexpl
26563 do :
26564 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
26565 if test "x$ac_cv_func__frexpl" = xyes; then :
26566 cat >>confdefs.h <<_ACEOF
26567 #define HAVE__FREXPL 1
26568 _ACEOF
26571 done
26580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
26581 $as_echo_n "checking for hypotl declaration... " >&6; }
26582 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
26583 if ${glibcxx_cv_func_hypotl_use+:} false; then :
26584 $as_echo_n "(cached) " >&6
26585 else
26588 ac_ext=cpp
26589 ac_cpp='$CXXCPP $CPPFLAGS'
26590 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26591 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26592 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26595 /* end confdefs.h. */
26596 #include <math.h>
26598 main ()
26600 hypotl(0, 0);
26602 return 0;
26604 _ACEOF
26605 if ac_fn_cxx_try_compile "$LINENO"; then :
26606 glibcxx_cv_func_hypotl_use=yes
26607 else
26608 glibcxx_cv_func_hypotl_use=no
26610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26611 ac_ext=c
26612 ac_cpp='$CPP $CPPFLAGS'
26613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
26622 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
26624 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
26625 for ac_func in hypotl
26626 do :
26627 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
26628 if test "x$ac_cv_func_hypotl" = xyes; then :
26629 cat >>confdefs.h <<_ACEOF
26630 #define HAVE_HYPOTL 1
26631 _ACEOF
26634 done
26636 else
26638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
26639 $as_echo_n "checking for _hypotl declaration... " >&6; }
26640 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
26641 if ${glibcxx_cv_func__hypotl_use+:} false; then :
26642 $as_echo_n "(cached) " >&6
26643 else
26646 ac_ext=cpp
26647 ac_cpp='$CXXCPP $CPPFLAGS'
26648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26653 /* end confdefs.h. */
26654 #include <math.h>
26656 main ()
26658 _hypotl(0, 0);
26660 return 0;
26662 _ACEOF
26663 if ac_fn_cxx_try_compile "$LINENO"; then :
26664 glibcxx_cv_func__hypotl_use=yes
26665 else
26666 glibcxx_cv_func__hypotl_use=no
26668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26669 ac_ext=c
26670 ac_cpp='$CPP $CPPFLAGS'
26671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
26680 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
26682 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
26683 for ac_func in _hypotl
26684 do :
26685 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
26686 if test "x$ac_cv_func__hypotl" = xyes; then :
26687 cat >>confdefs.h <<_ACEOF
26688 #define HAVE__HYPOTL 1
26689 _ACEOF
26692 done
26701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
26702 $as_echo_n "checking for ldexpl declaration... " >&6; }
26703 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
26704 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
26705 $as_echo_n "(cached) " >&6
26706 else
26709 ac_ext=cpp
26710 ac_cpp='$CXXCPP $CPPFLAGS'
26711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26716 /* end confdefs.h. */
26717 #include <math.h>
26719 main ()
26721 ldexpl(0, 0);
26723 return 0;
26725 _ACEOF
26726 if ac_fn_cxx_try_compile "$LINENO"; then :
26727 glibcxx_cv_func_ldexpl_use=yes
26728 else
26729 glibcxx_cv_func_ldexpl_use=no
26731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26732 ac_ext=c
26733 ac_cpp='$CPP $CPPFLAGS'
26734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
26743 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
26745 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
26746 for ac_func in ldexpl
26747 do :
26748 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
26749 if test "x$ac_cv_func_ldexpl" = xyes; then :
26750 cat >>confdefs.h <<_ACEOF
26751 #define HAVE_LDEXPL 1
26752 _ACEOF
26755 done
26757 else
26759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
26760 $as_echo_n "checking for _ldexpl declaration... " >&6; }
26761 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
26762 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
26763 $as_echo_n "(cached) " >&6
26764 else
26767 ac_ext=cpp
26768 ac_cpp='$CXXCPP $CPPFLAGS'
26769 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26770 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26771 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26774 /* end confdefs.h. */
26775 #include <math.h>
26777 main ()
26779 _ldexpl(0, 0);
26781 return 0;
26783 _ACEOF
26784 if ac_fn_cxx_try_compile "$LINENO"; then :
26785 glibcxx_cv_func__ldexpl_use=yes
26786 else
26787 glibcxx_cv_func__ldexpl_use=no
26789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26790 ac_ext=c
26791 ac_cpp='$CPP $CPPFLAGS'
26792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
26801 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
26803 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
26804 for ac_func in _ldexpl
26805 do :
26806 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
26807 if test "x$ac_cv_func__ldexpl" = xyes; then :
26808 cat >>confdefs.h <<_ACEOF
26809 #define HAVE__LDEXPL 1
26810 _ACEOF
26813 done
26822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
26823 $as_echo_n "checking for logl declaration... " >&6; }
26824 if test x${glibcxx_cv_func_logl_use+set} != xset; then
26825 if ${glibcxx_cv_func_logl_use+:} false; then :
26826 $as_echo_n "(cached) " >&6
26827 else
26830 ac_ext=cpp
26831 ac_cpp='$CXXCPP $CPPFLAGS'
26832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26837 /* end confdefs.h. */
26838 #include <math.h>
26839 #ifdef HAVE_IEEEFP_H
26840 #include <ieeefp.h>
26841 #endif
26844 main ()
26846 logl(0);
26848 return 0;
26850 _ACEOF
26851 if ac_fn_cxx_try_compile "$LINENO"; then :
26852 glibcxx_cv_func_logl_use=yes
26853 else
26854 glibcxx_cv_func_logl_use=no
26856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26857 ac_ext=c
26858 ac_cpp='$CPP $CPPFLAGS'
26859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
26868 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
26870 if test x$glibcxx_cv_func_logl_use = x"yes"; then
26871 for ac_func in logl
26872 do :
26873 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
26874 if test "x$ac_cv_func_logl" = xyes; then :
26875 cat >>confdefs.h <<_ACEOF
26876 #define HAVE_LOGL 1
26877 _ACEOF
26880 done
26882 else
26884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
26885 $as_echo_n "checking for _logl declaration... " >&6; }
26886 if test x${glibcxx_cv_func__logl_use+set} != xset; then
26887 if ${glibcxx_cv_func__logl_use+:} false; then :
26888 $as_echo_n "(cached) " >&6
26889 else
26892 ac_ext=cpp
26893 ac_cpp='$CXXCPP $CPPFLAGS'
26894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26899 /* end confdefs.h. */
26900 #include <math.h>
26901 #ifdef HAVE_IEEEFP_H
26902 #include <ieeefp.h>
26903 #endif
26906 main ()
26908 _logl(0);
26910 return 0;
26912 _ACEOF
26913 if ac_fn_cxx_try_compile "$LINENO"; then :
26914 glibcxx_cv_func__logl_use=yes
26915 else
26916 glibcxx_cv_func__logl_use=no
26918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26919 ac_ext=c
26920 ac_cpp='$CPP $CPPFLAGS'
26921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
26930 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
26932 if test x$glibcxx_cv_func__logl_use = x"yes"; then
26933 for ac_func in _logl
26934 do :
26935 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
26936 if test "x$ac_cv_func__logl" = xyes; then :
26937 cat >>confdefs.h <<_ACEOF
26938 #define HAVE__LOGL 1
26939 _ACEOF
26942 done
26951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
26952 $as_echo_n "checking for log10l declaration... " >&6; }
26953 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
26954 if ${glibcxx_cv_func_log10l_use+:} false; then :
26955 $as_echo_n "(cached) " >&6
26956 else
26959 ac_ext=cpp
26960 ac_cpp='$CXXCPP $CPPFLAGS'
26961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26966 /* end confdefs.h. */
26967 #include <math.h>
26968 #ifdef HAVE_IEEEFP_H
26969 #include <ieeefp.h>
26970 #endif
26973 main ()
26975 log10l(0);
26977 return 0;
26979 _ACEOF
26980 if ac_fn_cxx_try_compile "$LINENO"; then :
26981 glibcxx_cv_func_log10l_use=yes
26982 else
26983 glibcxx_cv_func_log10l_use=no
26985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26986 ac_ext=c
26987 ac_cpp='$CPP $CPPFLAGS'
26988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
26997 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
26999 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
27000 for ac_func in log10l
27001 do :
27002 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
27003 if test "x$ac_cv_func_log10l" = xyes; then :
27004 cat >>confdefs.h <<_ACEOF
27005 #define HAVE_LOG10L 1
27006 _ACEOF
27009 done
27011 else
27013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
27014 $as_echo_n "checking for _log10l declaration... " >&6; }
27015 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
27016 if ${glibcxx_cv_func__log10l_use+:} false; then :
27017 $as_echo_n "(cached) " >&6
27018 else
27021 ac_ext=cpp
27022 ac_cpp='$CXXCPP $CPPFLAGS'
27023 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27024 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27025 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27028 /* end confdefs.h. */
27029 #include <math.h>
27030 #ifdef HAVE_IEEEFP_H
27031 #include <ieeefp.h>
27032 #endif
27035 main ()
27037 _log10l(0);
27039 return 0;
27041 _ACEOF
27042 if ac_fn_cxx_try_compile "$LINENO"; then :
27043 glibcxx_cv_func__log10l_use=yes
27044 else
27045 glibcxx_cv_func__log10l_use=no
27047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27048 ac_ext=c
27049 ac_cpp='$CPP $CPPFLAGS'
27050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
27059 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
27061 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
27062 for ac_func in _log10l
27063 do :
27064 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
27065 if test "x$ac_cv_func__log10l" = xyes; then :
27066 cat >>confdefs.h <<_ACEOF
27067 #define HAVE__LOG10L 1
27068 _ACEOF
27071 done
27080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
27081 $as_echo_n "checking for modfl declaration... " >&6; }
27082 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
27083 if ${glibcxx_cv_func_modfl_use+:} false; then :
27084 $as_echo_n "(cached) " >&6
27085 else
27088 ac_ext=cpp
27089 ac_cpp='$CXXCPP $CPPFLAGS'
27090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27095 /* end confdefs.h. */
27096 #include <math.h>
27098 main ()
27100 modfl(0, 0);
27102 return 0;
27104 _ACEOF
27105 if ac_fn_cxx_try_compile "$LINENO"; then :
27106 glibcxx_cv_func_modfl_use=yes
27107 else
27108 glibcxx_cv_func_modfl_use=no
27110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27111 ac_ext=c
27112 ac_cpp='$CPP $CPPFLAGS'
27113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
27122 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
27124 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
27125 for ac_func in modfl
27126 do :
27127 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
27128 if test "x$ac_cv_func_modfl" = xyes; then :
27129 cat >>confdefs.h <<_ACEOF
27130 #define HAVE_MODFL 1
27131 _ACEOF
27134 done
27136 else
27138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
27139 $as_echo_n "checking for _modfl declaration... " >&6; }
27140 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
27141 if ${glibcxx_cv_func__modfl_use+:} false; then :
27142 $as_echo_n "(cached) " >&6
27143 else
27146 ac_ext=cpp
27147 ac_cpp='$CXXCPP $CPPFLAGS'
27148 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27149 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27150 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27153 /* end confdefs.h. */
27154 #include <math.h>
27156 main ()
27158 _modfl(0, 0);
27160 return 0;
27162 _ACEOF
27163 if ac_fn_cxx_try_compile "$LINENO"; then :
27164 glibcxx_cv_func__modfl_use=yes
27165 else
27166 glibcxx_cv_func__modfl_use=no
27168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27169 ac_ext=c
27170 ac_cpp='$CPP $CPPFLAGS'
27171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
27180 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
27182 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
27183 for ac_func in _modfl
27184 do :
27185 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
27186 if test "x$ac_cv_func__modfl" = xyes; then :
27187 cat >>confdefs.h <<_ACEOF
27188 #define HAVE__MODFL 1
27189 _ACEOF
27192 done
27201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
27202 $as_echo_n "checking for powl declaration... " >&6; }
27203 if test x${glibcxx_cv_func_powl_use+set} != xset; then
27204 if ${glibcxx_cv_func_powl_use+:} false; then :
27205 $as_echo_n "(cached) " >&6
27206 else
27209 ac_ext=cpp
27210 ac_cpp='$CXXCPP $CPPFLAGS'
27211 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27212 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27213 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27216 /* end confdefs.h. */
27217 #include <math.h>
27219 main ()
27221 powl(0, 0);
27223 return 0;
27225 _ACEOF
27226 if ac_fn_cxx_try_compile "$LINENO"; then :
27227 glibcxx_cv_func_powl_use=yes
27228 else
27229 glibcxx_cv_func_powl_use=no
27231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27232 ac_ext=c
27233 ac_cpp='$CPP $CPPFLAGS'
27234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
27243 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
27245 if test x$glibcxx_cv_func_powl_use = x"yes"; then
27246 for ac_func in powl
27247 do :
27248 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
27249 if test "x$ac_cv_func_powl" = xyes; then :
27250 cat >>confdefs.h <<_ACEOF
27251 #define HAVE_POWL 1
27252 _ACEOF
27255 done
27257 else
27259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
27260 $as_echo_n "checking for _powl declaration... " >&6; }
27261 if test x${glibcxx_cv_func__powl_use+set} != xset; then
27262 if ${glibcxx_cv_func__powl_use+:} false; then :
27263 $as_echo_n "(cached) " >&6
27264 else
27267 ac_ext=cpp
27268 ac_cpp='$CXXCPP $CPPFLAGS'
27269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27274 /* end confdefs.h. */
27275 #include <math.h>
27277 main ()
27279 _powl(0, 0);
27281 return 0;
27283 _ACEOF
27284 if ac_fn_cxx_try_compile "$LINENO"; then :
27285 glibcxx_cv_func__powl_use=yes
27286 else
27287 glibcxx_cv_func__powl_use=no
27289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27290 ac_ext=c
27291 ac_cpp='$CPP $CPPFLAGS'
27292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
27301 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
27303 if test x$glibcxx_cv_func__powl_use = x"yes"; then
27304 for ac_func in _powl
27305 do :
27306 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
27307 if test "x$ac_cv_func__powl" = xyes; then :
27308 cat >>confdefs.h <<_ACEOF
27309 #define HAVE__POWL 1
27310 _ACEOF
27313 done
27322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
27323 $as_echo_n "checking for sqrtl declaration... " >&6; }
27324 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
27325 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
27326 $as_echo_n "(cached) " >&6
27327 else
27330 ac_ext=cpp
27331 ac_cpp='$CXXCPP $CPPFLAGS'
27332 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27333 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27334 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27337 /* end confdefs.h. */
27338 #include <math.h>
27339 #ifdef HAVE_IEEEFP_H
27340 #include <ieeefp.h>
27341 #endif
27344 main ()
27346 sqrtl(0);
27348 return 0;
27350 _ACEOF
27351 if ac_fn_cxx_try_compile "$LINENO"; then :
27352 glibcxx_cv_func_sqrtl_use=yes
27353 else
27354 glibcxx_cv_func_sqrtl_use=no
27356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27357 ac_ext=c
27358 ac_cpp='$CPP $CPPFLAGS'
27359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
27368 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
27370 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
27371 for ac_func in sqrtl
27372 do :
27373 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
27374 if test "x$ac_cv_func_sqrtl" = xyes; then :
27375 cat >>confdefs.h <<_ACEOF
27376 #define HAVE_SQRTL 1
27377 _ACEOF
27380 done
27382 else
27384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
27385 $as_echo_n "checking for _sqrtl declaration... " >&6; }
27386 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
27387 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
27388 $as_echo_n "(cached) " >&6
27389 else
27392 ac_ext=cpp
27393 ac_cpp='$CXXCPP $CPPFLAGS'
27394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27399 /* end confdefs.h. */
27400 #include <math.h>
27401 #ifdef HAVE_IEEEFP_H
27402 #include <ieeefp.h>
27403 #endif
27406 main ()
27408 _sqrtl(0);
27410 return 0;
27412 _ACEOF
27413 if ac_fn_cxx_try_compile "$LINENO"; then :
27414 glibcxx_cv_func__sqrtl_use=yes
27415 else
27416 glibcxx_cv_func__sqrtl_use=no
27418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27419 ac_ext=c
27420 ac_cpp='$CPP $CPPFLAGS'
27421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
27430 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
27432 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
27433 for ac_func in _sqrtl
27434 do :
27435 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
27436 if test "x$ac_cv_func__sqrtl" = xyes; then :
27437 cat >>confdefs.h <<_ACEOF
27438 #define HAVE__SQRTL 1
27439 _ACEOF
27442 done
27451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
27452 $as_echo_n "checking for sincosl declaration... " >&6; }
27453 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
27454 if ${glibcxx_cv_func_sincosl_use+:} false; then :
27455 $as_echo_n "(cached) " >&6
27456 else
27459 ac_ext=cpp
27460 ac_cpp='$CXXCPP $CPPFLAGS'
27461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27466 /* end confdefs.h. */
27467 #include <math.h>
27469 main ()
27471 sincosl(0, 0, 0);
27473 return 0;
27475 _ACEOF
27476 if ac_fn_cxx_try_compile "$LINENO"; then :
27477 glibcxx_cv_func_sincosl_use=yes
27478 else
27479 glibcxx_cv_func_sincosl_use=no
27481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27482 ac_ext=c
27483 ac_cpp='$CPP $CPPFLAGS'
27484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
27493 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
27495 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
27496 for ac_func in sincosl
27497 do :
27498 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
27499 if test "x$ac_cv_func_sincosl" = xyes; then :
27500 cat >>confdefs.h <<_ACEOF
27501 #define HAVE_SINCOSL 1
27502 _ACEOF
27505 done
27507 else
27509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
27510 $as_echo_n "checking for _sincosl declaration... " >&6; }
27511 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
27512 if ${glibcxx_cv_func__sincosl_use+:} false; then :
27513 $as_echo_n "(cached) " >&6
27514 else
27517 ac_ext=cpp
27518 ac_cpp='$CXXCPP $CPPFLAGS'
27519 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27520 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27521 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27524 /* end confdefs.h. */
27525 #include <math.h>
27527 main ()
27529 _sincosl(0, 0, 0);
27531 return 0;
27533 _ACEOF
27534 if ac_fn_cxx_try_compile "$LINENO"; then :
27535 glibcxx_cv_func__sincosl_use=yes
27536 else
27537 glibcxx_cv_func__sincosl_use=no
27539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27540 ac_ext=c
27541 ac_cpp='$CPP $CPPFLAGS'
27542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
27551 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
27553 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
27554 for ac_func in _sincosl
27555 do :
27556 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
27557 if test "x$ac_cv_func__sincosl" = xyes; then :
27558 cat >>confdefs.h <<_ACEOF
27559 #define HAVE__SINCOSL 1
27560 _ACEOF
27563 done
27572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
27573 $as_echo_n "checking for finitel declaration... " >&6; }
27574 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
27575 if ${glibcxx_cv_func_finitel_use+:} false; then :
27576 $as_echo_n "(cached) " >&6
27577 else
27580 ac_ext=cpp
27581 ac_cpp='$CXXCPP $CPPFLAGS'
27582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27587 /* end confdefs.h. */
27588 #include <math.h>
27589 #ifdef HAVE_IEEEFP_H
27590 #include <ieeefp.h>
27591 #endif
27594 main ()
27596 finitel(0);
27598 return 0;
27600 _ACEOF
27601 if ac_fn_cxx_try_compile "$LINENO"; then :
27602 glibcxx_cv_func_finitel_use=yes
27603 else
27604 glibcxx_cv_func_finitel_use=no
27606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27607 ac_ext=c
27608 ac_cpp='$CPP $CPPFLAGS'
27609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
27618 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
27620 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
27621 for ac_func in finitel
27622 do :
27623 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
27624 if test "x$ac_cv_func_finitel" = xyes; then :
27625 cat >>confdefs.h <<_ACEOF
27626 #define HAVE_FINITEL 1
27627 _ACEOF
27630 done
27632 else
27634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
27635 $as_echo_n "checking for _finitel declaration... " >&6; }
27636 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
27637 if ${glibcxx_cv_func__finitel_use+:} false; then :
27638 $as_echo_n "(cached) " >&6
27639 else
27642 ac_ext=cpp
27643 ac_cpp='$CXXCPP $CPPFLAGS'
27644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27649 /* end confdefs.h. */
27650 #include <math.h>
27651 #ifdef HAVE_IEEEFP_H
27652 #include <ieeefp.h>
27653 #endif
27656 main ()
27658 _finitel(0);
27660 return 0;
27662 _ACEOF
27663 if ac_fn_cxx_try_compile "$LINENO"; then :
27664 glibcxx_cv_func__finitel_use=yes
27665 else
27666 glibcxx_cv_func__finitel_use=no
27668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27669 ac_ext=c
27670 ac_cpp='$CPP $CPPFLAGS'
27671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
27680 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
27682 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
27683 for ac_func in _finitel
27684 do :
27685 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
27686 if test "x$ac_cv_func__finitel" = xyes; then :
27687 cat >>confdefs.h <<_ACEOF
27688 #define HAVE__FINITEL 1
27689 _ACEOF
27692 done
27700 LIBS="$ac_save_LIBS"
27701 CXXFLAGS="$ac_save_CXXFLAGS"
27704 ac_test_CXXFLAGS="${CXXFLAGS+set}"
27705 ac_save_CXXFLAGS="$CXXFLAGS"
27706 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
27709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
27710 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
27711 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
27712 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
27713 $as_echo_n "(cached) " >&6
27714 else
27717 ac_ext=cpp
27718 ac_cpp='$CXXCPP $CPPFLAGS'
27719 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27720 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27721 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27724 /* end confdefs.h. */
27725 #include <stdlib.h>
27727 main ()
27729 at_quick_exit(0);
27731 return 0;
27733 _ACEOF
27734 if ac_fn_cxx_try_compile "$LINENO"; then :
27735 glibcxx_cv_func_at_quick_exit_use=yes
27736 else
27737 glibcxx_cv_func_at_quick_exit_use=no
27739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27740 ac_ext=c
27741 ac_cpp='$CPP $CPPFLAGS'
27742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
27751 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
27752 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
27753 for ac_func in at_quick_exit
27754 do :
27755 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
27756 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
27757 cat >>confdefs.h <<_ACEOF
27758 #define HAVE_AT_QUICK_EXIT 1
27759 _ACEOF
27762 done
27767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
27768 $as_echo_n "checking for quick_exit declaration... " >&6; }
27769 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
27770 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
27771 $as_echo_n "(cached) " >&6
27772 else
27775 ac_ext=cpp
27776 ac_cpp='$CXXCPP $CPPFLAGS'
27777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27778 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27782 /* end confdefs.h. */
27783 #include <stdlib.h>
27785 main ()
27787 quick_exit(0);
27789 return 0;
27791 _ACEOF
27792 if ac_fn_cxx_try_compile "$LINENO"; then :
27793 glibcxx_cv_func_quick_exit_use=yes
27794 else
27795 glibcxx_cv_func_quick_exit_use=no
27797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27798 ac_ext=c
27799 ac_cpp='$CPP $CPPFLAGS'
27800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
27809 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
27810 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
27811 for ac_func in quick_exit
27812 do :
27813 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
27814 if test "x$ac_cv_func_quick_exit" = xyes; then :
27815 cat >>confdefs.h <<_ACEOF
27816 #define HAVE_QUICK_EXIT 1
27817 _ACEOF
27820 done
27825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
27826 $as_echo_n "checking for strtold declaration... " >&6; }
27827 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
27828 if ${glibcxx_cv_func_strtold_use+:} false; then :
27829 $as_echo_n "(cached) " >&6
27830 else
27833 ac_ext=cpp
27834 ac_cpp='$CXXCPP $CPPFLAGS'
27835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27840 /* end confdefs.h. */
27841 #include <stdlib.h>
27843 main ()
27845 strtold(0, 0);
27847 return 0;
27849 _ACEOF
27850 if ac_fn_cxx_try_compile "$LINENO"; then :
27851 glibcxx_cv_func_strtold_use=yes
27852 else
27853 glibcxx_cv_func_strtold_use=no
27855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27856 ac_ext=c
27857 ac_cpp='$CPP $CPPFLAGS'
27858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
27867 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
27868 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
27869 for ac_func in strtold
27870 do :
27871 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
27872 if test "x$ac_cv_func_strtold" = xyes; then :
27873 cat >>confdefs.h <<_ACEOF
27874 #define HAVE_STRTOLD 1
27875 _ACEOF
27878 done
27885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
27886 $as_echo_n "checking for strtof declaration... " >&6; }
27887 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
27888 if ${glibcxx_cv_func_strtof_use+:} false; then :
27889 $as_echo_n "(cached) " >&6
27890 else
27893 ac_ext=cpp
27894 ac_cpp='$CXXCPP $CPPFLAGS'
27895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27900 /* end confdefs.h. */
27901 #include <stdlib.h>
27903 main ()
27905 strtof(0, 0);
27907 return 0;
27909 _ACEOF
27910 if ac_fn_cxx_try_compile "$LINENO"; then :
27911 glibcxx_cv_func_strtof_use=yes
27912 else
27913 glibcxx_cv_func_strtof_use=no
27915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27916 ac_ext=c
27917 ac_cpp='$CPP $CPPFLAGS'
27918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
27927 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
27928 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
27929 for ac_func in strtof
27930 do :
27931 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
27932 if test "x$ac_cv_func_strtof" = xyes; then :
27933 cat >>confdefs.h <<_ACEOF
27934 #define HAVE_STRTOF 1
27935 _ACEOF
27938 done
27945 CXXFLAGS="$ac_save_CXXFLAGS"
27948 # For /dev/random and /dev/urandom for std::random_device.
27951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/random\" and \"/dev/urandom\" for std::random_device" >&5
27952 $as_echo_n "checking for \"/dev/random\" and \"/dev/urandom\" for std::random_device... " >&6; }
27953 if ${glibcxx_cv_dev_random+:} false; then :
27954 $as_echo_n "(cached) " >&6
27955 else
27957 if test -r /dev/random && test -r /dev/urandom; then
27958 ## For MSys environment the test above is detected as false-positive
27959 ## on mingw-targets. So disable it explicitly for them.
27960 case ${target_os} in
27961 *mingw*) glibcxx_cv_dev_random=no ;;
27962 *) glibcxx_cv_dev_random=yes ;;
27963 esac
27964 else
27965 glibcxx_cv_dev_random=no;
27969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_dev_random" >&5
27970 $as_echo "$glibcxx_cv_dev_random" >&6; }
27972 if test x"$glibcxx_cv_dev_random" = x"yes"; then
27974 $as_echo "#define _GLIBCXX_USE_DEV_RANDOM 1" >>confdefs.h
27977 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
27983 # For TLS support.
27986 # Check whether --enable-tls was given.
27987 if test "${enable_tls+set}" = set; then :
27988 enableval=$enable_tls;
27989 case "$enableval" in
27990 yes|no) ;;
27991 *) as_fn_error $? "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
27992 esac
27994 else
27995 enable_tls=yes
27999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
28000 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
28001 if ${gcc_cv_have_tls+:} false; then :
28002 $as_echo_n "(cached) " >&6
28003 else
28005 if test "$cross_compiling" = yes; then :
28006 if test x$gcc_no_link = xyes; then
28007 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28010 /* end confdefs.h. */
28011 __thread int a; int b; int main() { return a = b; }
28012 _ACEOF
28013 if ac_fn_c_try_link "$LINENO"; then :
28014 chktls_save_LDFLAGS="$LDFLAGS"
28015 case $host in
28016 *-*-linux* | -*-uclinuxfdpic*)
28017 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
28019 esac
28020 chktls_save_CFLAGS="$CFLAGS"
28021 CFLAGS="-fPIC $CFLAGS"
28022 if test x$gcc_no_link = xyes; then
28023 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28026 /* end confdefs.h. */
28027 int f() { return 0; }
28028 _ACEOF
28029 if ac_fn_c_try_link "$LINENO"; then :
28030 if test x$gcc_no_link = xyes; then
28031 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28034 /* end confdefs.h. */
28035 __thread int a; int b; int f() { return a = b; }
28036 _ACEOF
28037 if ac_fn_c_try_link "$LINENO"; then :
28038 gcc_cv_have_tls=yes
28039 else
28040 gcc_cv_have_tls=no
28042 rm -f core conftest.err conftest.$ac_objext \
28043 conftest$ac_exeext conftest.$ac_ext
28044 else
28045 gcc_cv_have_tls=yes
28047 rm -f core conftest.err conftest.$ac_objext \
28048 conftest$ac_exeext conftest.$ac_ext
28049 CFLAGS="$chktls_save_CFLAGS"
28050 LDFLAGS="$chktls_save_LDFLAGS"
28051 else
28052 gcc_cv_have_tls=no
28054 rm -f core conftest.err conftest.$ac_objext \
28055 conftest$ac_exeext conftest.$ac_ext
28058 else
28059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28060 /* end confdefs.h. */
28061 __thread int a; int b; int main() { return a = b; }
28062 _ACEOF
28063 if ac_fn_c_try_run "$LINENO"; then :
28064 chktls_save_LDFLAGS="$LDFLAGS"
28065 LDFLAGS="-static $LDFLAGS"
28066 if test x$gcc_no_link = xyes; then
28067 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28070 /* end confdefs.h. */
28071 int main() { return 0; }
28072 _ACEOF
28073 if ac_fn_c_try_link "$LINENO"; then :
28074 if test "$cross_compiling" = yes; then :
28075 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
28076 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
28077 as_fn_error $? "cannot run test program while cross compiling
28078 See \`config.log' for more details" "$LINENO" 5; }
28079 else
28080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28081 /* end confdefs.h. */
28082 __thread int a; int b; int main() { return a = b; }
28083 _ACEOF
28084 if ac_fn_c_try_run "$LINENO"; then :
28085 gcc_cv_have_tls=yes
28086 else
28087 gcc_cv_have_tls=no
28089 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
28090 conftest.$ac_objext conftest.beam conftest.$ac_ext
28093 else
28094 gcc_cv_have_tls=yes
28096 rm -f core conftest.err conftest.$ac_objext \
28097 conftest$ac_exeext conftest.$ac_ext
28098 LDFLAGS="$chktls_save_LDFLAGS"
28099 if test $gcc_cv_have_tls = yes; then
28100 chktls_save_CFLAGS="$CFLAGS"
28101 thread_CFLAGS=failed
28102 for flag in '' '-pthread' '-lpthread'; do
28103 CFLAGS="$flag $chktls_save_CFLAGS"
28104 if test x$gcc_no_link = xyes; then
28105 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28108 /* end confdefs.h. */
28109 #include <pthread.h>
28110 void *g(void *d) { return NULL; }
28112 main ()
28114 pthread_t t; pthread_create(&t,NULL,g,NULL);
28116 return 0;
28118 _ACEOF
28119 if ac_fn_c_try_link "$LINENO"; then :
28120 thread_CFLAGS="$flag"
28122 rm -f core conftest.err conftest.$ac_objext \
28123 conftest$ac_exeext conftest.$ac_ext
28124 if test "X$thread_CFLAGS" != Xfailed; then
28125 break
28127 done
28128 CFLAGS="$chktls_save_CFLAGS"
28129 if test "X$thread_CFLAGS" != Xfailed; then
28130 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
28131 if test "$cross_compiling" = yes; then :
28132 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
28133 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
28134 as_fn_error $? "cannot run test program while cross compiling
28135 See \`config.log' for more details" "$LINENO" 5; }
28136 else
28137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28138 /* end confdefs.h. */
28139 #include <pthread.h>
28140 __thread int a;
28141 static int *volatile a_in_other_thread;
28142 static void *
28143 thread_func (void *arg)
28145 a_in_other_thread = &a;
28146 return (void *)0;
28149 main ()
28151 pthread_t thread;
28152 void *thread_retval;
28153 int *volatile a_in_main_thread;
28154 a_in_main_thread = &a;
28155 if (pthread_create (&thread, (pthread_attr_t *)0,
28156 thread_func, (void *)0))
28157 return 0;
28158 if (pthread_join (thread, &thread_retval))
28159 return 0;
28160 return (a_in_other_thread == a_in_main_thread);
28162 return 0;
28164 _ACEOF
28165 if ac_fn_c_try_run "$LINENO"; then :
28166 gcc_cv_have_tls=yes
28167 else
28168 gcc_cv_have_tls=no
28170 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
28171 conftest.$ac_objext conftest.beam conftest.$ac_ext
28174 CFLAGS="$chktls_save_CFLAGS"
28177 else
28178 gcc_cv_have_tls=no
28180 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
28181 conftest.$ac_objext conftest.beam conftest.$ac_ext
28185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
28186 $as_echo "$gcc_cv_have_tls" >&6; }
28187 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
28189 $as_echo "#define HAVE_TLS 1" >>confdefs.h
28193 for ac_func in __cxa_thread_atexit_impl __cxa_thread_atexit
28194 do :
28195 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28196 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28197 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
28198 cat >>confdefs.h <<_ACEOF
28199 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28200 _ACEOF
28203 done
28205 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
28206 do :
28207 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28208 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28209 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
28210 cat >>confdefs.h <<_ACEOF
28211 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28212 _ACEOF
28215 done
28217 for ac_func in _wfopen
28218 do :
28219 ac_fn_c_check_func "$LINENO" "_wfopen" "ac_cv_func__wfopen"
28220 if test "x$ac_cv_func__wfopen" = xyes; then :
28221 cat >>confdefs.h <<_ACEOF
28222 #define HAVE__WFOPEN 1
28223 _ACEOF
28226 done
28228 for ac_func in secure_getenv
28229 do :
28230 ac_fn_c_check_func "$LINENO" "secure_getenv" "ac_cv_func_secure_getenv"
28231 if test "x$ac_cv_func_secure_getenv" = xyes; then :
28232 cat >>confdefs.h <<_ACEOF
28233 #define HAVE_SECURE_GETENV 1
28234 _ACEOF
28237 done
28240 # C11 functions for C++17 library
28241 for ac_func in timespec_get
28242 do :
28243 ac_fn_c_check_func "$LINENO" "timespec_get" "ac_cv_func_timespec_get"
28244 if test "x$ac_cv_func_timespec_get" = xyes; then :
28245 cat >>confdefs.h <<_ACEOF
28246 #define HAVE_TIMESPEC_GET 1
28247 _ACEOF
28250 done
28253 # For Networking TS.
28254 for ac_func in sockatmark
28255 do :
28256 ac_fn_c_check_func "$LINENO" "sockatmark" "ac_cv_func_sockatmark"
28257 if test "x$ac_cv_func_sockatmark" = xyes; then :
28258 cat >>confdefs.h <<_ACEOF
28259 #define HAVE_SOCKATMARK 1
28260 _ACEOF
28263 done
28266 # Non-standard functions used by C++17 std::from_chars
28267 for ac_func in uselocale
28268 do :
28269 ac_fn_c_check_func "$LINENO" "uselocale" "ac_cv_func_uselocale"
28270 if test "x$ac_cv_func_uselocale" = xyes; then :
28271 cat >>confdefs.h <<_ACEOF
28272 #define HAVE_USELOCALE 1
28273 _ACEOF
28276 done
28279 # For iconv support.
28281 if test "X$prefix" = "XNONE"; then
28282 acl_final_prefix="$ac_default_prefix"
28283 else
28284 acl_final_prefix="$prefix"
28286 if test "X$exec_prefix" = "XNONE"; then
28287 acl_final_exec_prefix='${prefix}'
28288 else
28289 acl_final_exec_prefix="$exec_prefix"
28291 acl_save_prefix="$prefix"
28292 prefix="$acl_final_prefix"
28293 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
28294 prefix="$acl_save_prefix"
28297 # Check whether --with-gnu-ld was given.
28298 if test "${with_gnu_ld+set}" = set; then :
28299 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
28300 else
28301 with_gnu_ld=no
28304 # Prepare PATH_SEPARATOR.
28305 # The user is always right.
28306 if test "${PATH_SEPARATOR+set}" != set; then
28307 echo "#! /bin/sh" >conf$$.sh
28308 echo "exit 0" >>conf$$.sh
28309 chmod +x conf$$.sh
28310 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
28311 PATH_SEPARATOR=';'
28312 else
28313 PATH_SEPARATOR=:
28315 rm -f conf$$.sh
28317 ac_prog=ld
28318 if test "$GCC" = yes; then
28319 # Check if gcc -print-prog-name=ld gives a path.
28320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
28321 $as_echo_n "checking for ld used by GCC... " >&6; }
28322 case $host in
28323 *-*-mingw*)
28324 # gcc leaves a trailing carriage return which upsets mingw
28325 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
28327 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
28328 esac
28329 case $ac_prog in
28330 # Accept absolute paths.
28331 [\\/]* | [A-Za-z]:[\\/]*)
28332 re_direlt='/[^/][^/]*/\.\./'
28333 # Canonicalize the path of ld
28334 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
28335 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
28336 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
28337 done
28338 test -z "$LD" && LD="$ac_prog"
28341 # If it fails, then pretend we aren't using GCC.
28342 ac_prog=ld
28345 # If it is relative, then search for the first ld in PATH.
28346 with_gnu_ld=unknown
28348 esac
28349 elif test "$with_gnu_ld" = yes; then
28350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
28351 $as_echo_n "checking for GNU ld... " >&6; }
28352 else
28353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
28354 $as_echo_n "checking for non-GNU ld... " >&6; }
28356 if ${acl_cv_path_LD+:} false; then :
28357 $as_echo_n "(cached) " >&6
28358 else
28359 if test -z "$LD"; then
28360 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
28361 for ac_dir in $PATH; do
28362 test -z "$ac_dir" && ac_dir=.
28363 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
28364 acl_cv_path_LD="$ac_dir/$ac_prog"
28365 # Check to see if the program is GNU ld. I'd rather use --version,
28366 # but apparently some GNU ld's only accept -v.
28367 # Break only if it was the GNU/non-GNU ld that we prefer.
28368 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
28369 test "$with_gnu_ld" != no && break
28370 else
28371 test "$with_gnu_ld" != yes && break
28374 done
28375 IFS="$ac_save_ifs"
28376 else
28377 acl_cv_path_LD="$LD" # Let the user override the test with a path.
28381 LD="$acl_cv_path_LD"
28382 if test -n "$LD"; then
28383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
28384 $as_echo "$LD" >&6; }
28385 else
28386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28387 $as_echo "no" >&6; }
28389 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
28390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
28391 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
28392 if ${acl_cv_prog_gnu_ld+:} false; then :
28393 $as_echo_n "(cached) " >&6
28394 else
28395 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
28396 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
28397 acl_cv_prog_gnu_ld=yes
28398 else
28399 acl_cv_prog_gnu_ld=no
28402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
28403 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
28404 with_gnu_ld=$acl_cv_prog_gnu_ld
28408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
28409 $as_echo_n "checking for shared library run path origin... " >&6; }
28410 if ${acl_cv_rpath+:} false; then :
28411 $as_echo_n "(cached) " >&6
28412 else
28414 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
28415 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
28416 . ./conftest.sh
28417 rm -f ./conftest.sh
28418 acl_cv_rpath=done
28421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
28422 $as_echo "$acl_cv_rpath" >&6; }
28423 wl="$acl_cv_wl"
28424 libext="$acl_cv_libext"
28425 shlibext="$acl_cv_shlibext"
28426 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
28427 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
28428 hardcode_direct="$acl_cv_hardcode_direct"
28429 hardcode_minus_L="$acl_cv_hardcode_minus_L"
28430 # Check whether --enable-rpath was given.
28431 if test "${enable_rpath+set}" = set; then :
28432 enableval=$enable_rpath; :
28433 else
28434 enable_rpath=yes
28444 use_additional=yes
28446 acl_save_prefix="$prefix"
28447 prefix="$acl_final_prefix"
28448 acl_save_exec_prefix="$exec_prefix"
28449 exec_prefix="$acl_final_exec_prefix"
28451 eval additional_includedir=\"$includedir\"
28452 eval additional_libdir=\"$libdir\"
28454 exec_prefix="$acl_save_exec_prefix"
28455 prefix="$acl_save_prefix"
28458 # Check whether --with-libiconv-prefix was given.
28459 if test "${with_libiconv_prefix+set}" = set; then :
28460 withval=$with_libiconv_prefix;
28461 if test "X$withval" = "Xno"; then
28462 use_additional=no
28463 else
28464 if test "X$withval" = "X"; then
28466 acl_save_prefix="$prefix"
28467 prefix="$acl_final_prefix"
28468 acl_save_exec_prefix="$exec_prefix"
28469 exec_prefix="$acl_final_exec_prefix"
28471 eval additional_includedir=\"$includedir\"
28472 eval additional_libdir=\"$libdir\"
28474 exec_prefix="$acl_save_exec_prefix"
28475 prefix="$acl_save_prefix"
28477 else
28478 additional_includedir="$withval/include"
28479 additional_libdir="$withval/lib"
28486 # Check whether --with-libiconv-type was given.
28487 if test "${with_libiconv_type+set}" = set; then :
28488 withval=$with_libiconv_type; with_libiconv_type=$withval
28489 else
28490 with_libiconv_type=auto
28493 lib_type=`eval echo \$with_libiconv_type`
28495 LIBICONV=
28496 LTLIBICONV=
28497 INCICONV=
28498 rpathdirs=
28499 ltrpathdirs=
28500 names_already_handled=
28501 names_next_round='iconv '
28502 while test -n "$names_next_round"; do
28503 names_this_round="$names_next_round"
28504 names_next_round=
28505 for name in $names_this_round; do
28506 already_handled=
28507 for n in $names_already_handled; do
28508 if test "$n" = "$name"; then
28509 already_handled=yes
28510 break
28512 done
28513 if test -z "$already_handled"; then
28514 names_already_handled="$names_already_handled $name"
28515 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
28516 eval value=\"\$HAVE_LIB$uppername\"
28517 if test -n "$value"; then
28518 if test "$value" = yes; then
28519 eval value=\"\$LIB$uppername\"
28520 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
28521 eval value=\"\$LTLIB$uppername\"
28522 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
28523 else
28526 else
28527 found_dir=
28528 found_la=
28529 found_so=
28530 found_a=
28531 if test $use_additional = yes; then
28532 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext" && test x$lib_type != xstatic; then
28533 found_dir="$additional_libdir"
28534 found_so="$additional_libdir/lib$name.$shlibext"
28535 if test -f "$additional_libdir/lib$name.la"; then
28536 found_la="$additional_libdir/lib$name.la"
28538 elif test x$lib_type != xshared; then
28539 if test -f "$additional_libdir/lib$name.$libext"; then
28540 found_dir="$additional_libdir"
28541 found_a="$additional_libdir/lib$name.$libext"
28542 if test -f "$additional_libdir/lib$name.la"; then
28543 found_la="$additional_libdir/lib$name.la"
28548 if test "X$found_dir" = "X"; then
28549 for x in $LDFLAGS $LTLIBICONV; do
28551 acl_save_prefix="$prefix"
28552 prefix="$acl_final_prefix"
28553 acl_save_exec_prefix="$exec_prefix"
28554 exec_prefix="$acl_final_exec_prefix"
28555 eval x=\"$x\"
28556 exec_prefix="$acl_save_exec_prefix"
28557 prefix="$acl_save_prefix"
28559 case "$x" in
28560 -L*)
28561 dir=`echo "X$x" | sed -e 's/^X-L//'`
28562 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext" && test x$lib_type != xstatic; then
28563 found_dir="$dir"
28564 found_so="$dir/lib$name.$shlibext"
28565 if test -f "$dir/lib$name.la"; then
28566 found_la="$dir/lib$name.la"
28568 elif test x$lib_type != xshared; then
28569 if test -f "$dir/lib$name.$libext"; then
28570 found_dir="$dir"
28571 found_a="$dir/lib$name.$libext"
28572 if test -f "$dir/lib$name.la"; then
28573 found_la="$dir/lib$name.la"
28578 esac
28579 if test "X$found_dir" != "X"; then
28580 break
28582 done
28584 if test "X$found_dir" != "X"; then
28585 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
28586 if test "X$found_so" != "X"; then
28587 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
28588 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28589 else
28590 haveit=
28591 for x in $ltrpathdirs; do
28592 if test "X$x" = "X$found_dir"; then
28593 haveit=yes
28594 break
28596 done
28597 if test -z "$haveit"; then
28598 ltrpathdirs="$ltrpathdirs $found_dir"
28600 if test "$hardcode_direct" = yes; then
28601 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28602 else
28603 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
28604 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28605 haveit=
28606 for x in $rpathdirs; do
28607 if test "X$x" = "X$found_dir"; then
28608 haveit=yes
28609 break
28611 done
28612 if test -z "$haveit"; then
28613 rpathdirs="$rpathdirs $found_dir"
28615 else
28616 haveit=
28617 for x in $LDFLAGS $LIBICONV; do
28619 acl_save_prefix="$prefix"
28620 prefix="$acl_final_prefix"
28621 acl_save_exec_prefix="$exec_prefix"
28622 exec_prefix="$acl_final_exec_prefix"
28623 eval x=\"$x\"
28624 exec_prefix="$acl_save_exec_prefix"
28625 prefix="$acl_save_prefix"
28627 if test "X$x" = "X-L$found_dir"; then
28628 haveit=yes
28629 break
28631 done
28632 if test -z "$haveit"; then
28633 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
28635 if test "$hardcode_minus_L" != no; then
28636 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28637 else
28638 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
28643 else
28644 if test "X$found_a" != "X"; then
28645 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
28646 else
28647 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
28650 additional_includedir=
28651 case "$found_dir" in
28652 */lib | */lib/)
28653 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
28654 additional_includedir="$basedir/include"
28656 esac
28657 if test "X$additional_includedir" != "X"; then
28658 if test "X$additional_includedir" != "X/usr/include"; then
28659 haveit=
28660 if test "X$additional_includedir" = "X/usr/local/include"; then
28661 if test -n "$GCC"; then
28662 case $host_os in
28663 linux*) haveit=yes;;
28664 esac
28667 if test -z "$haveit"; then
28668 for x in $CPPFLAGS $INCICONV; do
28670 acl_save_prefix="$prefix"
28671 prefix="$acl_final_prefix"
28672 acl_save_exec_prefix="$exec_prefix"
28673 exec_prefix="$acl_final_exec_prefix"
28674 eval x=\"$x\"
28675 exec_prefix="$acl_save_exec_prefix"
28676 prefix="$acl_save_prefix"
28678 if test "X$x" = "X-I$additional_includedir"; then
28679 haveit=yes
28680 break
28682 done
28683 if test -z "$haveit"; then
28684 if test -d "$additional_includedir"; then
28685 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
28691 if test -n "$found_la"; then
28692 save_libdir="$libdir"
28693 case "$found_la" in
28694 */* | *\\*) . "$found_la" ;;
28695 *) . "./$found_la" ;;
28696 esac
28697 libdir="$save_libdir"
28698 for dep in $dependency_libs; do
28699 case "$dep" in
28700 -L*)
28701 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
28702 if test "X$additional_libdir" != "X/usr/lib"; then
28703 haveit=
28704 if test "X$additional_libdir" = "X/usr/local/lib"; then
28705 if test -n "$GCC"; then
28706 case $host_os in
28707 linux*) haveit=yes;;
28708 esac
28711 if test -z "$haveit"; then
28712 haveit=
28713 for x in $LDFLAGS $LIBICONV; do
28715 acl_save_prefix="$prefix"
28716 prefix="$acl_final_prefix"
28717 acl_save_exec_prefix="$exec_prefix"
28718 exec_prefix="$acl_final_exec_prefix"
28719 eval x=\"$x\"
28720 exec_prefix="$acl_save_exec_prefix"
28721 prefix="$acl_save_prefix"
28723 if test "X$x" = "X-L$additional_libdir"; then
28724 haveit=yes
28725 break
28727 done
28728 if test -z "$haveit"; then
28729 if test -d "$additional_libdir"; then
28730 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
28733 haveit=
28734 for x in $LDFLAGS $LTLIBICONV; do
28736 acl_save_prefix="$prefix"
28737 prefix="$acl_final_prefix"
28738 acl_save_exec_prefix="$exec_prefix"
28739 exec_prefix="$acl_final_exec_prefix"
28740 eval x=\"$x\"
28741 exec_prefix="$acl_save_exec_prefix"
28742 prefix="$acl_save_prefix"
28744 if test "X$x" = "X-L$additional_libdir"; then
28745 haveit=yes
28746 break
28748 done
28749 if test -z "$haveit"; then
28750 if test -d "$additional_libdir"; then
28751 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
28757 -R*)
28758 dir=`echo "X$dep" | sed -e 's/^X-R//'`
28759 if test "$enable_rpath" != no; then
28760 haveit=
28761 for x in $rpathdirs; do
28762 if test "X$x" = "X$dir"; then
28763 haveit=yes
28764 break
28766 done
28767 if test -z "$haveit"; then
28768 rpathdirs="$rpathdirs $dir"
28770 haveit=
28771 for x in $ltrpathdirs; do
28772 if test "X$x" = "X$dir"; then
28773 haveit=yes
28774 break
28776 done
28777 if test -z "$haveit"; then
28778 ltrpathdirs="$ltrpathdirs $dir"
28782 -l*)
28783 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
28785 *.la)
28786 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
28789 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
28790 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
28792 esac
28793 done
28795 else
28796 if test "x$lib_type" = "xauto" || test "x$lib_type" = "xshared"; then
28797 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
28798 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
28799 else
28800 LIBICONV="${LIBICONV}${LIBICONV:+ }-l:lib$name.$libext"
28801 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l:lib$name.$libext"
28806 done
28807 done
28808 if test "X$rpathdirs" != "X"; then
28809 if test -n "$hardcode_libdir_separator"; then
28810 alldirs=
28811 for found_dir in $rpathdirs; do
28812 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
28813 done
28814 acl_save_libdir="$libdir"
28815 libdir="$alldirs"
28816 eval flag=\"$hardcode_libdir_flag_spec\"
28817 libdir="$acl_save_libdir"
28818 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
28819 else
28820 for found_dir in $rpathdirs; do
28821 acl_save_libdir="$libdir"
28822 libdir="$found_dir"
28823 eval flag=\"$hardcode_libdir_flag_spec\"
28824 libdir="$acl_save_libdir"
28825 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
28826 done
28829 if test "X$ltrpathdirs" != "X"; then
28830 for found_dir in $ltrpathdirs; do
28831 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
28832 done
28841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
28842 $as_echo_n "checking for iconv... " >&6; }
28843 if ${am_cv_func_iconv+:} false; then :
28844 $as_echo_n "(cached) " >&6
28845 else
28847 am_cv_func_iconv="no, consider installing GNU libiconv"
28848 am_cv_lib_iconv=no
28849 am_save_CPPFLAGS="$CPPFLAGS"
28850 CPPFLAGS="$CPPFLAGS $INCICONV"
28851 if test x$gcc_no_link = xyes; then
28852 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28855 /* end confdefs.h. */
28856 #include <stdlib.h>
28857 #include <iconv.h>
28859 main ()
28861 iconv_t cd = iconv_open("","");
28862 iconv(cd,NULL,NULL,NULL,NULL);
28863 iconv_close(cd);
28865 return 0;
28867 _ACEOF
28868 if ac_fn_c_try_link "$LINENO"; then :
28869 am_cv_func_iconv=yes
28871 rm -f core conftest.err conftest.$ac_objext \
28872 conftest$ac_exeext conftest.$ac_ext
28873 CPPFLAGS="$am_save_CPPFLAGS"
28875 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
28876 for _libs in .libs _libs; do
28877 am_save_CPPFLAGS="$CPPFLAGS"
28878 am_save_LIBS="$LIBS"
28879 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
28880 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
28881 if test x$gcc_no_link = xyes; then
28882 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28885 /* end confdefs.h. */
28886 #include <stdlib.h>
28887 #include <iconv.h>
28889 main ()
28891 iconv_t cd = iconv_open("","");
28892 iconv(cd,NULL,NULL,NULL,NULL);
28893 iconv_close(cd);
28895 return 0;
28897 _ACEOF
28898 if ac_fn_c_try_link "$LINENO"; then :
28899 INCICONV="-I../libiconv/include"
28900 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
28901 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
28902 am_cv_lib_iconv=yes
28903 am_cv_func_iconv=yes
28905 rm -f core conftest.err conftest.$ac_objext \
28906 conftest$ac_exeext conftest.$ac_ext
28907 CPPFLAGS="$am_save_CPPFLAGS"
28908 LIBS="$am_save_LIBS"
28909 if test "$am_cv_func_iconv" = "yes"; then
28910 break
28912 done
28915 if test "$am_cv_func_iconv" != yes; then
28916 am_save_CPPFLAGS="$CPPFLAGS"
28917 am_save_LIBS="$LIBS"
28918 CPPFLAGS="$CPPFLAGS $INCICONV"
28919 LIBS="$LIBS $LIBICONV"
28920 if test x$gcc_no_link = xyes; then
28921 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28924 /* end confdefs.h. */
28925 #include <stdlib.h>
28926 #include <iconv.h>
28928 main ()
28930 iconv_t cd = iconv_open("","");
28931 iconv(cd,NULL,NULL,NULL,NULL);
28932 iconv_close(cd);
28934 return 0;
28936 _ACEOF
28937 if ac_fn_c_try_link "$LINENO"; then :
28938 am_cv_lib_iconv=yes
28939 am_cv_func_iconv=yes
28941 rm -f core conftest.err conftest.$ac_objext \
28942 conftest$ac_exeext conftest.$ac_ext
28943 CPPFLAGS="$am_save_CPPFLAGS"
28944 LIBS="$am_save_LIBS"
28948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
28949 $as_echo "$am_cv_func_iconv" >&6; }
28950 if test "$am_cv_func_iconv" = yes; then
28952 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
28955 if test "$am_cv_lib_iconv" = yes; then
28957 for element in $INCICONV; do
28958 haveit=
28959 for x in $CPPFLAGS; do
28961 acl_save_prefix="$prefix"
28962 prefix="$acl_final_prefix"
28963 acl_save_exec_prefix="$exec_prefix"
28964 exec_prefix="$acl_final_exec_prefix"
28965 eval x=\"$x\"
28966 exec_prefix="$acl_save_exec_prefix"
28967 prefix="$acl_save_prefix"
28969 if test "X$x" = "X$element"; then
28970 haveit=yes
28971 break
28973 done
28974 if test -z "$haveit"; then
28975 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
28977 done
28979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
28980 $as_echo_n "checking how to link with libiconv... " >&6; }
28981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
28982 $as_echo "$LIBICONV" >&6; }
28983 else
28984 LIBICONV=
28985 LTLIBICONV=
28990 if test "$am_cv_func_iconv" = yes; then
28991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
28992 $as_echo_n "checking for iconv declaration... " >&6; }
28993 if ${am_cv_proto_iconv+:} false; then :
28994 $as_echo_n "(cached) " >&6
28995 else
28997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28998 /* end confdefs.h. */
29000 #include <stdlib.h>
29001 #include <iconv.h>
29002 extern
29003 #ifdef __cplusplus
29005 #endif
29006 #if defined(__STDC__) || defined(__cplusplus)
29007 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
29008 #else
29009 size_t iconv();
29010 #endif
29013 main ()
29017 return 0;
29019 _ACEOF
29020 if ac_fn_c_try_compile "$LINENO"; then :
29021 am_cv_proto_iconv_arg1=""
29022 else
29023 am_cv_proto_iconv_arg1="const"
29025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29026 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);"
29029 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
29030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
29031 }$am_cv_proto_iconv" >&5
29032 $as_echo "${ac_t:-
29033 }$am_cv_proto_iconv" >&6; }
29035 cat >>confdefs.h <<_ACEOF
29036 #define ICONV_CONST $am_cv_proto_iconv_arg1
29037 _ACEOF
29042 else
29044 # This lets us hard-code the functionality we know we'll have in the cross
29045 # target environment. "Let" is a sugar-coated word placed on an especially
29046 # dull and tedious hack, actually.
29048 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
29049 # that involve linking, can't be used:
29050 # "cannot open sim-crt0.o"
29051 # "cannot open crt0.o"
29052 # etc. All this is because there currently exists no unified, consistent
29053 # way for top level CC information to be passed down to target directories:
29054 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
29055 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
29056 # crosses can be removed.
29058 # If Canadian cross, then don't pick up tools from the build directory.
29059 # Used only in GLIBCXX_EXPORT_INCLUDES.
29060 if test -n "$with_cross_host" &&
29061 test x"$build_alias" != x"$with_cross_host" &&
29062 test x"$build" != x"$target";
29063 then
29064 CANADIAN=yes
29065 else
29066 CANADIAN=no
29069 # Construct crosses by hand, eliminating bits that need ld...
29070 # GLIBCXX_CHECK_MATH_SUPPORT
29072 # First, test for "known" system libraries. We may be using newlib even
29073 # on a hosted environment.
29074 if test "x${with_newlib}" = "xyes"; then
29075 os_include_dir="os/newlib"
29076 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
29079 # GLIBCXX_CHECK_STDLIB_SUPPORT
29080 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
29083 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
29085 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
29087 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
29089 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
29091 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
29093 $as_echo "#define HAVE_COSF 1" >>confdefs.h
29095 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
29097 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
29099 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
29101 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
29103 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
29105 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
29107 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
29109 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
29111 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
29113 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
29115 $as_echo "#define HAVE_POWF 1" >>confdefs.h
29117 $as_echo "#define HAVE_SINF 1" >>confdefs.h
29119 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
29121 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
29123 $as_echo "#define HAVE_TANF 1" >>confdefs.h
29125 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
29128 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
29130 $as_echo "#define HAVE_MEMALIGN 1" >>confdefs.h
29132 else
29134 # Base decisions on target environment.
29135 case "${host}" in
29136 arm*-*-symbianelf*)
29137 # This is a freestanding configuration; there is nothing to do here.
29140 avr*-*-*)
29141 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
29143 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
29145 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
29147 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
29149 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
29151 $as_echo "#define HAVE_COSF 1" >>confdefs.h
29153 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
29155 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
29157 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
29159 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
29161 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
29163 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
29165 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
29167 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
29169 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
29171 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
29173 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
29175 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
29177 $as_echo "#define HAVE_POWF 1" >>confdefs.h
29179 $as_echo "#define HAVE_SINF 1" >>confdefs.h
29181 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
29183 $as_echo "#define HAVE_TANF 1" >>confdefs.h
29185 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
29189 mips*-sde-elf*)
29190 # These definitions are for the SDE C library rather than newlib.
29191 SECTION_FLAGS='-ffunction-sections -fdata-sections'
29194 # All these tests are for C++; save the language and the compiler flags.
29195 # The CXXFLAGS thing is suspicious, but based on similar bits previously
29196 # found in GLIBCXX_CONFIGURE.
29198 ac_ext=cpp
29199 ac_cpp='$CXXCPP $CPPFLAGS'
29200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29204 ac_test_CXXFLAGS="${CXXFLAGS+set}"
29205 ac_save_CXXFLAGS="$CXXFLAGS"
29207 # Check for -ffunction-sections -fdata-sections
29208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
29209 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
29210 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
29211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29212 /* end confdefs.h. */
29213 int foo; void bar() { };
29215 main ()
29219 return 0;
29221 _ACEOF
29222 if ac_fn_cxx_try_compile "$LINENO"; then :
29223 ac_fdsections=yes
29224 else
29225 ac_fdsections=no
29227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29228 if test "$ac_test_CXXFLAGS" = set; then
29229 CXXFLAGS="$ac_save_CXXFLAGS"
29230 else
29231 # this is the suspicious part
29232 CXXFLAGS=''
29234 if test x"$ac_fdsections" = x"yes"; then
29235 SECTION_FLAGS='-ffunction-sections -fdata-sections'
29237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
29238 $as_echo "$ac_fdsections" >&6; }
29240 ac_ext=c
29241 ac_cpp='$CPP $CPPFLAGS'
29242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29249 # If we're not using GNU ld, then there's no point in even trying these
29250 # tests. Check for that first. We should have already tested for gld
29251 # by now (in libtool), but require it now just to be safe...
29252 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
29253 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
29257 # The name set by libtool depends on the version of libtool. Shame on us
29258 # for depending on an impl detail, but c'est la vie. Older versions used
29259 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
29260 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
29261 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
29262 # set (hence we're using an older libtool), then set it.
29263 if test x${with_gnu_ld+set} != xset; then
29264 if test x${ac_cv_prog_gnu_ld+set} != xset; then
29265 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
29266 with_gnu_ld=no
29267 else
29268 with_gnu_ld=$ac_cv_prog_gnu_ld
29272 # Start by getting the version number. I think the libtool test already
29273 # does some of this, but throws away the result.
29274 glibcxx_ld_is_gold=no
29275 if test x"$with_gnu_ld" = x"yes"; then
29276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
29277 $as_echo_n "checking for ld version... " >&6; }
29279 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
29280 glibcxx_ld_is_gold=yes
29282 ldver=`$LD --version 2>/dev/null |
29283 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
29285 glibcxx_gnu_ld_version=`echo $ldver | \
29286 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
29287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
29288 $as_echo "$glibcxx_gnu_ld_version" >&6; }
29291 # Set --gc-sections.
29292 glibcxx_have_gc_sections=no
29293 if test "$glibcxx_ld_is_gold" = "yes"; then
29294 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
29295 glibcxx_have_gc_sections=yes
29297 else
29298 glibcxx_gcsections_min_ld=21602
29299 if test x"$with_gnu_ld" = x"yes" &&
29300 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
29301 glibcxx_have_gc_sections=yes
29304 if test "$glibcxx_have_gc_sections" = "yes"; then
29305 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
29306 # NB: This flag only works reliably after 2.16.1. Configure tests
29307 # for this are difficult, so hard wire a value that should work.
29309 ac_test_CFLAGS="${CFLAGS+set}"
29310 ac_save_CFLAGS="$CFLAGS"
29311 CFLAGS='-Wl,--gc-sections'
29313 # Check for -Wl,--gc-sections
29314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
29315 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
29316 if test x$gcc_no_link = xyes; then
29317 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29320 /* end confdefs.h. */
29321 int one(void) { return 1; }
29322 int two(void) { return 2; }
29325 main ()
29327 two();
29329 return 0;
29331 _ACEOF
29332 if ac_fn_c_try_link "$LINENO"; then :
29333 ac_gcsections=yes
29334 else
29335 ac_gcsections=no
29337 rm -f core conftest.err conftest.$ac_objext \
29338 conftest$ac_exeext conftest.$ac_ext
29339 if test "$ac_gcsections" = "yes"; then
29340 rm -f conftest.c
29341 touch conftest.c
29342 if $CC -c conftest.c; then
29343 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
29344 grep "Warning: gc-sections option ignored" > /dev/null; then
29345 ac_gcsections=no
29348 rm -f conftest.c conftest.o conftest
29350 if test "$ac_gcsections" = "yes"; then
29351 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
29353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
29354 $as_echo "$ac_gcsections" >&6; }
29356 if test "$ac_test_CFLAGS" = set; then
29357 CFLAGS="$ac_save_CFLAGS"
29358 else
29359 # this is the suspicious part
29360 CFLAGS=''
29364 # Set -z,relro.
29365 # Note this is only for shared objects.
29366 ac_ld_relro=no
29367 if test x"$with_gnu_ld" = x"yes"; then
29368 # cygwin and mingw uses PE, which has no ELF relro support,
29369 # multi target ld may confuse configure machinery
29370 case "$host" in
29371 *-*-cygwin*)
29373 *-*-mingw*)
29376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
29377 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
29378 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
29379 if test -n "$cxx_z_relo"; then
29380 OPT_LDFLAGS="-Wl,-z,relro"
29381 ac_ld_relro=yes
29383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
29384 $as_echo "$ac_ld_relro" >&6; }
29385 esac
29388 # Set linker optimization flags.
29389 if test x"$with_gnu_ld" = x"yes"; then
29390 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
29397 ac_test_CXXFLAGS="${CXXFLAGS+set}"
29398 ac_save_CXXFLAGS="$CXXFLAGS"
29399 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
29401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
29402 $as_echo_n "checking for sin in -lm... " >&6; }
29403 if ${ac_cv_lib_m_sin+:} false; then :
29404 $as_echo_n "(cached) " >&6
29405 else
29406 ac_check_lib_save_LIBS=$LIBS
29407 LIBS="-lm $LIBS"
29408 if test x$gcc_no_link = xyes; then
29409 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29412 /* end confdefs.h. */
29414 /* Override any GCC internal prototype to avoid an error.
29415 Use char because int might match the return type of a GCC
29416 builtin and then its argument prototype would still apply. */
29417 #ifdef __cplusplus
29418 extern "C"
29419 #endif
29420 char sin ();
29422 main ()
29424 return sin ();
29426 return 0;
29428 _ACEOF
29429 if ac_fn_c_try_link "$LINENO"; then :
29430 ac_cv_lib_m_sin=yes
29431 else
29432 ac_cv_lib_m_sin=no
29434 rm -f core conftest.err conftest.$ac_objext \
29435 conftest$ac_exeext conftest.$ac_ext
29436 LIBS=$ac_check_lib_save_LIBS
29438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
29439 $as_echo "$ac_cv_lib_m_sin" >&6; }
29440 if test "x$ac_cv_lib_m_sin" = xyes; then :
29441 libm="-lm"
29444 ac_save_LIBS="$LIBS"
29445 LIBS="$LIBS $libm"
29449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
29450 $as_echo_n "checking for isinf declaration... " >&6; }
29451 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
29452 if ${glibcxx_cv_func_isinf_use+:} false; then :
29453 $as_echo_n "(cached) " >&6
29454 else
29457 ac_ext=cpp
29458 ac_cpp='$CXXCPP $CPPFLAGS'
29459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29464 /* end confdefs.h. */
29465 #include <math.h>
29466 #ifdef HAVE_IEEEFP_H
29467 #include <ieeefp.h>
29468 #endif
29471 main ()
29473 isinf(0);
29475 return 0;
29477 _ACEOF
29478 if ac_fn_cxx_try_compile "$LINENO"; then :
29479 glibcxx_cv_func_isinf_use=yes
29480 else
29481 glibcxx_cv_func_isinf_use=no
29483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29484 ac_ext=c
29485 ac_cpp='$CPP $CPPFLAGS'
29486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
29495 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
29497 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
29498 for ac_func in isinf
29499 do :
29500 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
29501 if test "x$ac_cv_func_isinf" = xyes; then :
29502 cat >>confdefs.h <<_ACEOF
29503 #define HAVE_ISINF 1
29504 _ACEOF
29507 done
29509 else
29511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
29512 $as_echo_n "checking for _isinf declaration... " >&6; }
29513 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
29514 if ${glibcxx_cv_func__isinf_use+:} false; then :
29515 $as_echo_n "(cached) " >&6
29516 else
29519 ac_ext=cpp
29520 ac_cpp='$CXXCPP $CPPFLAGS'
29521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29526 /* end confdefs.h. */
29527 #include <math.h>
29528 #ifdef HAVE_IEEEFP_H
29529 #include <ieeefp.h>
29530 #endif
29533 main ()
29535 _isinf(0);
29537 return 0;
29539 _ACEOF
29540 if ac_fn_cxx_try_compile "$LINENO"; then :
29541 glibcxx_cv_func__isinf_use=yes
29542 else
29543 glibcxx_cv_func__isinf_use=no
29545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29546 ac_ext=c
29547 ac_cpp='$CPP $CPPFLAGS'
29548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
29557 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
29559 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
29560 for ac_func in _isinf
29561 do :
29562 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
29563 if test "x$ac_cv_func__isinf" = xyes; then :
29564 cat >>confdefs.h <<_ACEOF
29565 #define HAVE__ISINF 1
29566 _ACEOF
29569 done
29578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
29579 $as_echo_n "checking for isnan declaration... " >&6; }
29580 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
29581 if ${glibcxx_cv_func_isnan_use+:} false; then :
29582 $as_echo_n "(cached) " >&6
29583 else
29586 ac_ext=cpp
29587 ac_cpp='$CXXCPP $CPPFLAGS'
29588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29593 /* end confdefs.h. */
29594 #include <math.h>
29595 #ifdef HAVE_IEEEFP_H
29596 #include <ieeefp.h>
29597 #endif
29600 main ()
29602 isnan(0);
29604 return 0;
29606 _ACEOF
29607 if ac_fn_cxx_try_compile "$LINENO"; then :
29608 glibcxx_cv_func_isnan_use=yes
29609 else
29610 glibcxx_cv_func_isnan_use=no
29612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29613 ac_ext=c
29614 ac_cpp='$CPP $CPPFLAGS'
29615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
29624 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
29626 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
29627 for ac_func in isnan
29628 do :
29629 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
29630 if test "x$ac_cv_func_isnan" = xyes; then :
29631 cat >>confdefs.h <<_ACEOF
29632 #define HAVE_ISNAN 1
29633 _ACEOF
29636 done
29638 else
29640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
29641 $as_echo_n "checking for _isnan declaration... " >&6; }
29642 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
29643 if ${glibcxx_cv_func__isnan_use+:} false; then :
29644 $as_echo_n "(cached) " >&6
29645 else
29648 ac_ext=cpp
29649 ac_cpp='$CXXCPP $CPPFLAGS'
29650 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29651 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29652 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29655 /* end confdefs.h. */
29656 #include <math.h>
29657 #ifdef HAVE_IEEEFP_H
29658 #include <ieeefp.h>
29659 #endif
29662 main ()
29664 _isnan(0);
29666 return 0;
29668 _ACEOF
29669 if ac_fn_cxx_try_compile "$LINENO"; then :
29670 glibcxx_cv_func__isnan_use=yes
29671 else
29672 glibcxx_cv_func__isnan_use=no
29674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29675 ac_ext=c
29676 ac_cpp='$CPP $CPPFLAGS'
29677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
29686 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
29688 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
29689 for ac_func in _isnan
29690 do :
29691 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
29692 if test "x$ac_cv_func__isnan" = xyes; then :
29693 cat >>confdefs.h <<_ACEOF
29694 #define HAVE__ISNAN 1
29695 _ACEOF
29698 done
29707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
29708 $as_echo_n "checking for finite declaration... " >&6; }
29709 if test x${glibcxx_cv_func_finite_use+set} != xset; then
29710 if ${glibcxx_cv_func_finite_use+:} false; then :
29711 $as_echo_n "(cached) " >&6
29712 else
29715 ac_ext=cpp
29716 ac_cpp='$CXXCPP $CPPFLAGS'
29717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29722 /* end confdefs.h. */
29723 #include <math.h>
29724 #ifdef HAVE_IEEEFP_H
29725 #include <ieeefp.h>
29726 #endif
29729 main ()
29731 finite(0);
29733 return 0;
29735 _ACEOF
29736 if ac_fn_cxx_try_compile "$LINENO"; then :
29737 glibcxx_cv_func_finite_use=yes
29738 else
29739 glibcxx_cv_func_finite_use=no
29741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29742 ac_ext=c
29743 ac_cpp='$CPP $CPPFLAGS'
29744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
29753 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
29755 if test x$glibcxx_cv_func_finite_use = x"yes"; then
29756 for ac_func in finite
29757 do :
29758 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
29759 if test "x$ac_cv_func_finite" = xyes; then :
29760 cat >>confdefs.h <<_ACEOF
29761 #define HAVE_FINITE 1
29762 _ACEOF
29765 done
29767 else
29769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
29770 $as_echo_n "checking for _finite declaration... " >&6; }
29771 if test x${glibcxx_cv_func__finite_use+set} != xset; then
29772 if ${glibcxx_cv_func__finite_use+:} false; then :
29773 $as_echo_n "(cached) " >&6
29774 else
29777 ac_ext=cpp
29778 ac_cpp='$CXXCPP $CPPFLAGS'
29779 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29780 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29781 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29784 /* end confdefs.h. */
29785 #include <math.h>
29786 #ifdef HAVE_IEEEFP_H
29787 #include <ieeefp.h>
29788 #endif
29791 main ()
29793 _finite(0);
29795 return 0;
29797 _ACEOF
29798 if ac_fn_cxx_try_compile "$LINENO"; then :
29799 glibcxx_cv_func__finite_use=yes
29800 else
29801 glibcxx_cv_func__finite_use=no
29803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29804 ac_ext=c
29805 ac_cpp='$CPP $CPPFLAGS'
29806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
29815 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
29817 if test x$glibcxx_cv_func__finite_use = x"yes"; then
29818 for ac_func in _finite
29819 do :
29820 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
29821 if test "x$ac_cv_func__finite" = xyes; then :
29822 cat >>confdefs.h <<_ACEOF
29823 #define HAVE__FINITE 1
29824 _ACEOF
29827 done
29836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
29837 $as_echo_n "checking for sincos declaration... " >&6; }
29838 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
29839 if ${glibcxx_cv_func_sincos_use+:} false; then :
29840 $as_echo_n "(cached) " >&6
29841 else
29844 ac_ext=cpp
29845 ac_cpp='$CXXCPP $CPPFLAGS'
29846 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29847 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29848 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29851 /* end confdefs.h. */
29852 #include <math.h>
29854 main ()
29856 sincos(0, 0, 0);
29858 return 0;
29860 _ACEOF
29861 if ac_fn_cxx_try_compile "$LINENO"; then :
29862 glibcxx_cv_func_sincos_use=yes
29863 else
29864 glibcxx_cv_func_sincos_use=no
29866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29867 ac_ext=c
29868 ac_cpp='$CPP $CPPFLAGS'
29869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
29878 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
29880 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
29881 for ac_func in sincos
29882 do :
29883 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
29884 if test "x$ac_cv_func_sincos" = xyes; then :
29885 cat >>confdefs.h <<_ACEOF
29886 #define HAVE_SINCOS 1
29887 _ACEOF
29890 done
29892 else
29894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
29895 $as_echo_n "checking for _sincos declaration... " >&6; }
29896 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
29897 if ${glibcxx_cv_func__sincos_use+:} false; then :
29898 $as_echo_n "(cached) " >&6
29899 else
29902 ac_ext=cpp
29903 ac_cpp='$CXXCPP $CPPFLAGS'
29904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29909 /* end confdefs.h. */
29910 #include <math.h>
29912 main ()
29914 _sincos(0, 0, 0);
29916 return 0;
29918 _ACEOF
29919 if ac_fn_cxx_try_compile "$LINENO"; then :
29920 glibcxx_cv_func__sincos_use=yes
29921 else
29922 glibcxx_cv_func__sincos_use=no
29924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29925 ac_ext=c
29926 ac_cpp='$CPP $CPPFLAGS'
29927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
29936 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
29938 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
29939 for ac_func in _sincos
29940 do :
29941 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
29942 if test "x$ac_cv_func__sincos" = xyes; then :
29943 cat >>confdefs.h <<_ACEOF
29944 #define HAVE__SINCOS 1
29945 _ACEOF
29948 done
29957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
29958 $as_echo_n "checking for fpclass declaration... " >&6; }
29959 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
29960 if ${glibcxx_cv_func_fpclass_use+:} false; then :
29961 $as_echo_n "(cached) " >&6
29962 else
29965 ac_ext=cpp
29966 ac_cpp='$CXXCPP $CPPFLAGS'
29967 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29968 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29969 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29972 /* end confdefs.h. */
29973 #include <math.h>
29974 #ifdef HAVE_IEEEFP_H
29975 #include <ieeefp.h>
29976 #endif
29979 main ()
29981 fpclass(0);
29983 return 0;
29985 _ACEOF
29986 if ac_fn_cxx_try_compile "$LINENO"; then :
29987 glibcxx_cv_func_fpclass_use=yes
29988 else
29989 glibcxx_cv_func_fpclass_use=no
29991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29992 ac_ext=c
29993 ac_cpp='$CPP $CPPFLAGS'
29994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
30003 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
30005 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
30006 for ac_func in fpclass
30007 do :
30008 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
30009 if test "x$ac_cv_func_fpclass" = xyes; then :
30010 cat >>confdefs.h <<_ACEOF
30011 #define HAVE_FPCLASS 1
30012 _ACEOF
30015 done
30017 else
30019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
30020 $as_echo_n "checking for _fpclass declaration... " >&6; }
30021 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
30022 if ${glibcxx_cv_func__fpclass_use+:} false; then :
30023 $as_echo_n "(cached) " >&6
30024 else
30027 ac_ext=cpp
30028 ac_cpp='$CXXCPP $CPPFLAGS'
30029 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30030 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30031 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30034 /* end confdefs.h. */
30035 #include <math.h>
30036 #ifdef HAVE_IEEEFP_H
30037 #include <ieeefp.h>
30038 #endif
30041 main ()
30043 _fpclass(0);
30045 return 0;
30047 _ACEOF
30048 if ac_fn_cxx_try_compile "$LINENO"; then :
30049 glibcxx_cv_func__fpclass_use=yes
30050 else
30051 glibcxx_cv_func__fpclass_use=no
30053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30054 ac_ext=c
30055 ac_cpp='$CPP $CPPFLAGS'
30056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
30065 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
30067 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
30068 for ac_func in _fpclass
30069 do :
30070 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
30071 if test "x$ac_cv_func__fpclass" = xyes; then :
30072 cat >>confdefs.h <<_ACEOF
30073 #define HAVE__FPCLASS 1
30074 _ACEOF
30077 done
30086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
30087 $as_echo_n "checking for qfpclass declaration... " >&6; }
30088 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
30089 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
30090 $as_echo_n "(cached) " >&6
30091 else
30094 ac_ext=cpp
30095 ac_cpp='$CXXCPP $CPPFLAGS'
30096 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30097 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30098 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30101 /* end confdefs.h. */
30102 #include <math.h>
30103 #ifdef HAVE_IEEEFP_H
30104 #include <ieeefp.h>
30105 #endif
30108 main ()
30110 qfpclass(0);
30112 return 0;
30114 _ACEOF
30115 if ac_fn_cxx_try_compile "$LINENO"; then :
30116 glibcxx_cv_func_qfpclass_use=yes
30117 else
30118 glibcxx_cv_func_qfpclass_use=no
30120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30121 ac_ext=c
30122 ac_cpp='$CPP $CPPFLAGS'
30123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
30132 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
30134 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
30135 for ac_func in qfpclass
30136 do :
30137 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
30138 if test "x$ac_cv_func_qfpclass" = xyes; then :
30139 cat >>confdefs.h <<_ACEOF
30140 #define HAVE_QFPCLASS 1
30141 _ACEOF
30144 done
30146 else
30148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
30149 $as_echo_n "checking for _qfpclass declaration... " >&6; }
30150 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
30151 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
30152 $as_echo_n "(cached) " >&6
30153 else
30156 ac_ext=cpp
30157 ac_cpp='$CXXCPP $CPPFLAGS'
30158 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30159 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30160 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30163 /* end confdefs.h. */
30164 #include <math.h>
30165 #ifdef HAVE_IEEEFP_H
30166 #include <ieeefp.h>
30167 #endif
30170 main ()
30172 _qfpclass(0);
30174 return 0;
30176 _ACEOF
30177 if ac_fn_cxx_try_compile "$LINENO"; then :
30178 glibcxx_cv_func__qfpclass_use=yes
30179 else
30180 glibcxx_cv_func__qfpclass_use=no
30182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30183 ac_ext=c
30184 ac_cpp='$CPP $CPPFLAGS'
30185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
30194 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
30196 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
30197 for ac_func in _qfpclass
30198 do :
30199 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
30200 if test "x$ac_cv_func__qfpclass" = xyes; then :
30201 cat >>confdefs.h <<_ACEOF
30202 #define HAVE__QFPCLASS 1
30203 _ACEOF
30206 done
30215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
30216 $as_echo_n "checking for hypot declaration... " >&6; }
30217 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
30218 if ${glibcxx_cv_func_hypot_use+:} false; then :
30219 $as_echo_n "(cached) " >&6
30220 else
30223 ac_ext=cpp
30224 ac_cpp='$CXXCPP $CPPFLAGS'
30225 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30226 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30227 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30230 /* end confdefs.h. */
30231 #include <math.h>
30233 main ()
30235 hypot(0, 0);
30237 return 0;
30239 _ACEOF
30240 if ac_fn_cxx_try_compile "$LINENO"; then :
30241 glibcxx_cv_func_hypot_use=yes
30242 else
30243 glibcxx_cv_func_hypot_use=no
30245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30246 ac_ext=c
30247 ac_cpp='$CPP $CPPFLAGS'
30248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
30257 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
30259 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
30260 for ac_func in hypot
30261 do :
30262 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
30263 if test "x$ac_cv_func_hypot" = xyes; then :
30264 cat >>confdefs.h <<_ACEOF
30265 #define HAVE_HYPOT 1
30266 _ACEOF
30269 done
30271 else
30273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
30274 $as_echo_n "checking for _hypot declaration... " >&6; }
30275 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
30276 if ${glibcxx_cv_func__hypot_use+:} false; then :
30277 $as_echo_n "(cached) " >&6
30278 else
30281 ac_ext=cpp
30282 ac_cpp='$CXXCPP $CPPFLAGS'
30283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30288 /* end confdefs.h. */
30289 #include <math.h>
30291 main ()
30293 _hypot(0, 0);
30295 return 0;
30297 _ACEOF
30298 if ac_fn_cxx_try_compile "$LINENO"; then :
30299 glibcxx_cv_func__hypot_use=yes
30300 else
30301 glibcxx_cv_func__hypot_use=no
30303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30304 ac_ext=c
30305 ac_cpp='$CPP $CPPFLAGS'
30306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
30315 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
30317 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
30318 for ac_func in _hypot
30319 do :
30320 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
30321 if test "x$ac_cv_func__hypot" = xyes; then :
30322 cat >>confdefs.h <<_ACEOF
30323 #define HAVE__HYPOT 1
30324 _ACEOF
30327 done
30336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
30337 $as_echo_n "checking for float trig functions... " >&6; }
30338 if ${glibcxx_cv_func_float_trig_use+:} false; then :
30339 $as_echo_n "(cached) " >&6
30340 else
30343 ac_ext=cpp
30344 ac_cpp='$CXXCPP $CPPFLAGS'
30345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30350 /* end confdefs.h. */
30351 #include <math.h>
30353 main ()
30355 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
30357 return 0;
30359 _ACEOF
30360 if ac_fn_cxx_try_compile "$LINENO"; then :
30361 glibcxx_cv_func_float_trig_use=yes
30362 else
30363 glibcxx_cv_func_float_trig_use=no
30365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30366 ac_ext=c
30367 ac_cpp='$CPP $CPPFLAGS'
30368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
30375 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
30376 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
30377 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
30378 do :
30379 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30380 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30381 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
30382 cat >>confdefs.h <<_ACEOF
30383 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30384 _ACEOF
30387 done
30389 else
30390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
30391 $as_echo_n "checking for _float trig functions... " >&6; }
30392 if ${glibcxx_cv_func__float_trig_use+:} false; then :
30393 $as_echo_n "(cached) " >&6
30394 else
30397 ac_ext=cpp
30398 ac_cpp='$CXXCPP $CPPFLAGS'
30399 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30400 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30401 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30404 /* end confdefs.h. */
30405 #include <math.h>
30407 main ()
30409 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
30411 return 0;
30413 _ACEOF
30414 if ac_fn_cxx_try_compile "$LINENO"; then :
30415 glibcxx_cv_func__float_trig_use=yes
30416 else
30417 glibcxx_cv_func__float_trig_use=no
30419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30420 ac_ext=c
30421 ac_cpp='$CPP $CPPFLAGS'
30422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
30429 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
30430 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
30431 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
30432 do :
30433 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30434 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30435 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
30436 cat >>confdefs.h <<_ACEOF
30437 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30438 _ACEOF
30441 done
30450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
30451 $as_echo_n "checking for float round functions... " >&6; }
30452 if ${glibcxx_cv_func_float_round_use+:} false; then :
30453 $as_echo_n "(cached) " >&6
30454 else
30457 ac_ext=cpp
30458 ac_cpp='$CXXCPP $CPPFLAGS'
30459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30464 /* end confdefs.h. */
30465 #include <math.h>
30467 main ()
30469 ceilf (0); floorf (0);
30471 return 0;
30473 _ACEOF
30474 if ac_fn_cxx_try_compile "$LINENO"; then :
30475 glibcxx_cv_func_float_round_use=yes
30476 else
30477 glibcxx_cv_func_float_round_use=no
30479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30480 ac_ext=c
30481 ac_cpp='$CPP $CPPFLAGS'
30482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
30489 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
30490 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
30491 for ac_func in ceilf floorf
30492 do :
30493 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30494 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30495 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
30496 cat >>confdefs.h <<_ACEOF
30497 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30498 _ACEOF
30501 done
30503 else
30504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
30505 $as_echo_n "checking for _float round functions... " >&6; }
30506 if ${glibcxx_cv_func__float_round_use+:} false; then :
30507 $as_echo_n "(cached) " >&6
30508 else
30511 ac_ext=cpp
30512 ac_cpp='$CXXCPP $CPPFLAGS'
30513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30518 /* end confdefs.h. */
30519 #include <math.h>
30521 main ()
30523 _ceilf (0); _floorf (0);
30525 return 0;
30527 _ACEOF
30528 if ac_fn_cxx_try_compile "$LINENO"; then :
30529 glibcxx_cv_func__float_round_use=yes
30530 else
30531 glibcxx_cv_func__float_round_use=no
30533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30534 ac_ext=c
30535 ac_cpp='$CPP $CPPFLAGS'
30536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
30543 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
30544 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
30545 for ac_func in _ceilf _floorf
30546 do :
30547 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30548 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30549 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
30550 cat >>confdefs.h <<_ACEOF
30551 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30552 _ACEOF
30555 done
30565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
30566 $as_echo_n "checking for expf declaration... " >&6; }
30567 if test x${glibcxx_cv_func_expf_use+set} != xset; then
30568 if ${glibcxx_cv_func_expf_use+:} false; then :
30569 $as_echo_n "(cached) " >&6
30570 else
30573 ac_ext=cpp
30574 ac_cpp='$CXXCPP $CPPFLAGS'
30575 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30576 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30577 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30580 /* end confdefs.h. */
30581 #include <math.h>
30582 #ifdef HAVE_IEEEFP_H
30583 #include <ieeefp.h>
30584 #endif
30587 main ()
30589 expf(0);
30591 return 0;
30593 _ACEOF
30594 if ac_fn_cxx_try_compile "$LINENO"; then :
30595 glibcxx_cv_func_expf_use=yes
30596 else
30597 glibcxx_cv_func_expf_use=no
30599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30600 ac_ext=c
30601 ac_cpp='$CPP $CPPFLAGS'
30602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
30611 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
30613 if test x$glibcxx_cv_func_expf_use = x"yes"; then
30614 for ac_func in expf
30615 do :
30616 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
30617 if test "x$ac_cv_func_expf" = xyes; then :
30618 cat >>confdefs.h <<_ACEOF
30619 #define HAVE_EXPF 1
30620 _ACEOF
30623 done
30625 else
30627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
30628 $as_echo_n "checking for _expf declaration... " >&6; }
30629 if test x${glibcxx_cv_func__expf_use+set} != xset; then
30630 if ${glibcxx_cv_func__expf_use+:} false; then :
30631 $as_echo_n "(cached) " >&6
30632 else
30635 ac_ext=cpp
30636 ac_cpp='$CXXCPP $CPPFLAGS'
30637 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30638 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30639 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30642 /* end confdefs.h. */
30643 #include <math.h>
30644 #ifdef HAVE_IEEEFP_H
30645 #include <ieeefp.h>
30646 #endif
30649 main ()
30651 _expf(0);
30653 return 0;
30655 _ACEOF
30656 if ac_fn_cxx_try_compile "$LINENO"; then :
30657 glibcxx_cv_func__expf_use=yes
30658 else
30659 glibcxx_cv_func__expf_use=no
30661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30662 ac_ext=c
30663 ac_cpp='$CPP $CPPFLAGS'
30664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
30673 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
30675 if test x$glibcxx_cv_func__expf_use = x"yes"; then
30676 for ac_func in _expf
30677 do :
30678 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
30679 if test "x$ac_cv_func__expf" = xyes; then :
30680 cat >>confdefs.h <<_ACEOF
30681 #define HAVE__EXPF 1
30682 _ACEOF
30685 done
30694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
30695 $as_echo_n "checking for isnanf declaration... " >&6; }
30696 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
30697 if ${glibcxx_cv_func_isnanf_use+:} false; then :
30698 $as_echo_n "(cached) " >&6
30699 else
30702 ac_ext=cpp
30703 ac_cpp='$CXXCPP $CPPFLAGS'
30704 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30705 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30706 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30709 /* end confdefs.h. */
30710 #include <math.h>
30711 #ifdef HAVE_IEEEFP_H
30712 #include <ieeefp.h>
30713 #endif
30716 main ()
30718 isnanf(0);
30720 return 0;
30722 _ACEOF
30723 if ac_fn_cxx_try_compile "$LINENO"; then :
30724 glibcxx_cv_func_isnanf_use=yes
30725 else
30726 glibcxx_cv_func_isnanf_use=no
30728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30729 ac_ext=c
30730 ac_cpp='$CPP $CPPFLAGS'
30731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
30740 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
30742 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
30743 for ac_func in isnanf
30744 do :
30745 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
30746 if test "x$ac_cv_func_isnanf" = xyes; then :
30747 cat >>confdefs.h <<_ACEOF
30748 #define HAVE_ISNANF 1
30749 _ACEOF
30752 done
30754 else
30756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
30757 $as_echo_n "checking for _isnanf declaration... " >&6; }
30758 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
30759 if ${glibcxx_cv_func__isnanf_use+:} false; then :
30760 $as_echo_n "(cached) " >&6
30761 else
30764 ac_ext=cpp
30765 ac_cpp='$CXXCPP $CPPFLAGS'
30766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30771 /* end confdefs.h. */
30772 #include <math.h>
30773 #ifdef HAVE_IEEEFP_H
30774 #include <ieeefp.h>
30775 #endif
30778 main ()
30780 _isnanf(0);
30782 return 0;
30784 _ACEOF
30785 if ac_fn_cxx_try_compile "$LINENO"; then :
30786 glibcxx_cv_func__isnanf_use=yes
30787 else
30788 glibcxx_cv_func__isnanf_use=no
30790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30791 ac_ext=c
30792 ac_cpp='$CPP $CPPFLAGS'
30793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
30802 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
30804 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
30805 for ac_func in _isnanf
30806 do :
30807 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
30808 if test "x$ac_cv_func__isnanf" = xyes; then :
30809 cat >>confdefs.h <<_ACEOF
30810 #define HAVE__ISNANF 1
30811 _ACEOF
30814 done
30823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
30824 $as_echo_n "checking for isinff declaration... " >&6; }
30825 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
30826 if ${glibcxx_cv_func_isinff_use+:} false; then :
30827 $as_echo_n "(cached) " >&6
30828 else
30831 ac_ext=cpp
30832 ac_cpp='$CXXCPP $CPPFLAGS'
30833 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30834 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30835 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30838 /* end confdefs.h. */
30839 #include <math.h>
30840 #ifdef HAVE_IEEEFP_H
30841 #include <ieeefp.h>
30842 #endif
30845 main ()
30847 isinff(0);
30849 return 0;
30851 _ACEOF
30852 if ac_fn_cxx_try_compile "$LINENO"; then :
30853 glibcxx_cv_func_isinff_use=yes
30854 else
30855 glibcxx_cv_func_isinff_use=no
30857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30858 ac_ext=c
30859 ac_cpp='$CPP $CPPFLAGS'
30860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
30869 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
30871 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
30872 for ac_func in isinff
30873 do :
30874 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
30875 if test "x$ac_cv_func_isinff" = xyes; then :
30876 cat >>confdefs.h <<_ACEOF
30877 #define HAVE_ISINFF 1
30878 _ACEOF
30881 done
30883 else
30885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
30886 $as_echo_n "checking for _isinff declaration... " >&6; }
30887 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
30888 if ${glibcxx_cv_func__isinff_use+:} false; then :
30889 $as_echo_n "(cached) " >&6
30890 else
30893 ac_ext=cpp
30894 ac_cpp='$CXXCPP $CPPFLAGS'
30895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30900 /* end confdefs.h. */
30901 #include <math.h>
30902 #ifdef HAVE_IEEEFP_H
30903 #include <ieeefp.h>
30904 #endif
30907 main ()
30909 _isinff(0);
30911 return 0;
30913 _ACEOF
30914 if ac_fn_cxx_try_compile "$LINENO"; then :
30915 glibcxx_cv_func__isinff_use=yes
30916 else
30917 glibcxx_cv_func__isinff_use=no
30919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30920 ac_ext=c
30921 ac_cpp='$CPP $CPPFLAGS'
30922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
30931 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
30933 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
30934 for ac_func in _isinff
30935 do :
30936 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
30937 if test "x$ac_cv_func__isinff" = xyes; then :
30938 cat >>confdefs.h <<_ACEOF
30939 #define HAVE__ISINFF 1
30940 _ACEOF
30943 done
30952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
30953 $as_echo_n "checking for atan2f declaration... " >&6; }
30954 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
30955 if ${glibcxx_cv_func_atan2f_use+:} false; then :
30956 $as_echo_n "(cached) " >&6
30957 else
30960 ac_ext=cpp
30961 ac_cpp='$CXXCPP $CPPFLAGS'
30962 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30963 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30964 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30967 /* end confdefs.h. */
30968 #include <math.h>
30970 main ()
30972 atan2f(0, 0);
30974 return 0;
30976 _ACEOF
30977 if ac_fn_cxx_try_compile "$LINENO"; then :
30978 glibcxx_cv_func_atan2f_use=yes
30979 else
30980 glibcxx_cv_func_atan2f_use=no
30982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30983 ac_ext=c
30984 ac_cpp='$CPP $CPPFLAGS'
30985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
30994 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
30996 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
30997 for ac_func in atan2f
30998 do :
30999 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
31000 if test "x$ac_cv_func_atan2f" = xyes; then :
31001 cat >>confdefs.h <<_ACEOF
31002 #define HAVE_ATAN2F 1
31003 _ACEOF
31006 done
31008 else
31010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
31011 $as_echo_n "checking for _atan2f declaration... " >&6; }
31012 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
31013 if ${glibcxx_cv_func__atan2f_use+:} false; then :
31014 $as_echo_n "(cached) " >&6
31015 else
31018 ac_ext=cpp
31019 ac_cpp='$CXXCPP $CPPFLAGS'
31020 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31021 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31022 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31025 /* end confdefs.h. */
31026 #include <math.h>
31028 main ()
31030 _atan2f(0, 0);
31032 return 0;
31034 _ACEOF
31035 if ac_fn_cxx_try_compile "$LINENO"; then :
31036 glibcxx_cv_func__atan2f_use=yes
31037 else
31038 glibcxx_cv_func__atan2f_use=no
31040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31041 ac_ext=c
31042 ac_cpp='$CPP $CPPFLAGS'
31043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
31052 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
31054 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
31055 for ac_func in _atan2f
31056 do :
31057 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
31058 if test "x$ac_cv_func__atan2f" = xyes; then :
31059 cat >>confdefs.h <<_ACEOF
31060 #define HAVE__ATAN2F 1
31061 _ACEOF
31064 done
31073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
31074 $as_echo_n "checking for fabsf declaration... " >&6; }
31075 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
31076 if ${glibcxx_cv_func_fabsf_use+:} false; then :
31077 $as_echo_n "(cached) " >&6
31078 else
31081 ac_ext=cpp
31082 ac_cpp='$CXXCPP $CPPFLAGS'
31083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31088 /* end confdefs.h. */
31089 #include <math.h>
31090 #ifdef HAVE_IEEEFP_H
31091 #include <ieeefp.h>
31092 #endif
31095 main ()
31097 fabsf(0);
31099 return 0;
31101 _ACEOF
31102 if ac_fn_cxx_try_compile "$LINENO"; then :
31103 glibcxx_cv_func_fabsf_use=yes
31104 else
31105 glibcxx_cv_func_fabsf_use=no
31107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31108 ac_ext=c
31109 ac_cpp='$CPP $CPPFLAGS'
31110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
31119 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
31121 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
31122 for ac_func in fabsf
31123 do :
31124 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
31125 if test "x$ac_cv_func_fabsf" = xyes; then :
31126 cat >>confdefs.h <<_ACEOF
31127 #define HAVE_FABSF 1
31128 _ACEOF
31131 done
31133 else
31135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
31136 $as_echo_n "checking for _fabsf declaration... " >&6; }
31137 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
31138 if ${glibcxx_cv_func__fabsf_use+:} false; then :
31139 $as_echo_n "(cached) " >&6
31140 else
31143 ac_ext=cpp
31144 ac_cpp='$CXXCPP $CPPFLAGS'
31145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31150 /* end confdefs.h. */
31151 #include <math.h>
31152 #ifdef HAVE_IEEEFP_H
31153 #include <ieeefp.h>
31154 #endif
31157 main ()
31159 _fabsf(0);
31161 return 0;
31163 _ACEOF
31164 if ac_fn_cxx_try_compile "$LINENO"; then :
31165 glibcxx_cv_func__fabsf_use=yes
31166 else
31167 glibcxx_cv_func__fabsf_use=no
31169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31170 ac_ext=c
31171 ac_cpp='$CPP $CPPFLAGS'
31172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31173 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
31181 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
31183 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
31184 for ac_func in _fabsf
31185 do :
31186 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
31187 if test "x$ac_cv_func__fabsf" = xyes; then :
31188 cat >>confdefs.h <<_ACEOF
31189 #define HAVE__FABSF 1
31190 _ACEOF
31193 done
31202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
31203 $as_echo_n "checking for fmodf declaration... " >&6; }
31204 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
31205 if ${glibcxx_cv_func_fmodf_use+:} false; then :
31206 $as_echo_n "(cached) " >&6
31207 else
31210 ac_ext=cpp
31211 ac_cpp='$CXXCPP $CPPFLAGS'
31212 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31213 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31214 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31217 /* end confdefs.h. */
31218 #include <math.h>
31220 main ()
31222 fmodf(0, 0);
31224 return 0;
31226 _ACEOF
31227 if ac_fn_cxx_try_compile "$LINENO"; then :
31228 glibcxx_cv_func_fmodf_use=yes
31229 else
31230 glibcxx_cv_func_fmodf_use=no
31232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31233 ac_ext=c
31234 ac_cpp='$CPP $CPPFLAGS'
31235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
31244 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
31246 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
31247 for ac_func in fmodf
31248 do :
31249 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
31250 if test "x$ac_cv_func_fmodf" = xyes; then :
31251 cat >>confdefs.h <<_ACEOF
31252 #define HAVE_FMODF 1
31253 _ACEOF
31256 done
31258 else
31260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
31261 $as_echo_n "checking for _fmodf declaration... " >&6; }
31262 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
31263 if ${glibcxx_cv_func__fmodf_use+:} false; then :
31264 $as_echo_n "(cached) " >&6
31265 else
31268 ac_ext=cpp
31269 ac_cpp='$CXXCPP $CPPFLAGS'
31270 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31271 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31272 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31275 /* end confdefs.h. */
31276 #include <math.h>
31278 main ()
31280 _fmodf(0, 0);
31282 return 0;
31284 _ACEOF
31285 if ac_fn_cxx_try_compile "$LINENO"; then :
31286 glibcxx_cv_func__fmodf_use=yes
31287 else
31288 glibcxx_cv_func__fmodf_use=no
31290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31291 ac_ext=c
31292 ac_cpp='$CPP $CPPFLAGS'
31293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
31302 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
31304 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
31305 for ac_func in _fmodf
31306 do :
31307 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
31308 if test "x$ac_cv_func__fmodf" = xyes; then :
31309 cat >>confdefs.h <<_ACEOF
31310 #define HAVE__FMODF 1
31311 _ACEOF
31314 done
31323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
31324 $as_echo_n "checking for frexpf declaration... " >&6; }
31325 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
31326 if ${glibcxx_cv_func_frexpf_use+:} false; then :
31327 $as_echo_n "(cached) " >&6
31328 else
31331 ac_ext=cpp
31332 ac_cpp='$CXXCPP $CPPFLAGS'
31333 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31334 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31335 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31338 /* end confdefs.h. */
31339 #include <math.h>
31341 main ()
31343 frexpf(0, 0);
31345 return 0;
31347 _ACEOF
31348 if ac_fn_cxx_try_compile "$LINENO"; then :
31349 glibcxx_cv_func_frexpf_use=yes
31350 else
31351 glibcxx_cv_func_frexpf_use=no
31353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31354 ac_ext=c
31355 ac_cpp='$CPP $CPPFLAGS'
31356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
31365 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
31367 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
31368 for ac_func in frexpf
31369 do :
31370 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
31371 if test "x$ac_cv_func_frexpf" = xyes; then :
31372 cat >>confdefs.h <<_ACEOF
31373 #define HAVE_FREXPF 1
31374 _ACEOF
31377 done
31379 else
31381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
31382 $as_echo_n "checking for _frexpf declaration... " >&6; }
31383 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
31384 if ${glibcxx_cv_func__frexpf_use+:} false; then :
31385 $as_echo_n "(cached) " >&6
31386 else
31389 ac_ext=cpp
31390 ac_cpp='$CXXCPP $CPPFLAGS'
31391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31396 /* end confdefs.h. */
31397 #include <math.h>
31399 main ()
31401 _frexpf(0, 0);
31403 return 0;
31405 _ACEOF
31406 if ac_fn_cxx_try_compile "$LINENO"; then :
31407 glibcxx_cv_func__frexpf_use=yes
31408 else
31409 glibcxx_cv_func__frexpf_use=no
31411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31412 ac_ext=c
31413 ac_cpp='$CPP $CPPFLAGS'
31414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
31423 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
31425 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
31426 for ac_func in _frexpf
31427 do :
31428 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
31429 if test "x$ac_cv_func__frexpf" = xyes; then :
31430 cat >>confdefs.h <<_ACEOF
31431 #define HAVE__FREXPF 1
31432 _ACEOF
31435 done
31444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
31445 $as_echo_n "checking for hypotf declaration... " >&6; }
31446 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
31447 if ${glibcxx_cv_func_hypotf_use+:} false; then :
31448 $as_echo_n "(cached) " >&6
31449 else
31452 ac_ext=cpp
31453 ac_cpp='$CXXCPP $CPPFLAGS'
31454 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31455 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31456 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31459 /* end confdefs.h. */
31460 #include <math.h>
31462 main ()
31464 hypotf(0, 0);
31466 return 0;
31468 _ACEOF
31469 if ac_fn_cxx_try_compile "$LINENO"; then :
31470 glibcxx_cv_func_hypotf_use=yes
31471 else
31472 glibcxx_cv_func_hypotf_use=no
31474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31475 ac_ext=c
31476 ac_cpp='$CPP $CPPFLAGS'
31477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
31486 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
31488 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
31489 for ac_func in hypotf
31490 do :
31491 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
31492 if test "x$ac_cv_func_hypotf" = xyes; then :
31493 cat >>confdefs.h <<_ACEOF
31494 #define HAVE_HYPOTF 1
31495 _ACEOF
31498 done
31500 else
31502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
31503 $as_echo_n "checking for _hypotf declaration... " >&6; }
31504 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
31505 if ${glibcxx_cv_func__hypotf_use+:} false; then :
31506 $as_echo_n "(cached) " >&6
31507 else
31510 ac_ext=cpp
31511 ac_cpp='$CXXCPP $CPPFLAGS'
31512 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31513 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31514 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31517 /* end confdefs.h. */
31518 #include <math.h>
31520 main ()
31522 _hypotf(0, 0);
31524 return 0;
31526 _ACEOF
31527 if ac_fn_cxx_try_compile "$LINENO"; then :
31528 glibcxx_cv_func__hypotf_use=yes
31529 else
31530 glibcxx_cv_func__hypotf_use=no
31532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31533 ac_ext=c
31534 ac_cpp='$CPP $CPPFLAGS'
31535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
31544 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
31546 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
31547 for ac_func in _hypotf
31548 do :
31549 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
31550 if test "x$ac_cv_func__hypotf" = xyes; then :
31551 cat >>confdefs.h <<_ACEOF
31552 #define HAVE__HYPOTF 1
31553 _ACEOF
31556 done
31565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
31566 $as_echo_n "checking for ldexpf declaration... " >&6; }
31567 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
31568 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
31569 $as_echo_n "(cached) " >&6
31570 else
31573 ac_ext=cpp
31574 ac_cpp='$CXXCPP $CPPFLAGS'
31575 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31576 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31577 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31580 /* end confdefs.h. */
31581 #include <math.h>
31583 main ()
31585 ldexpf(0, 0);
31587 return 0;
31589 _ACEOF
31590 if ac_fn_cxx_try_compile "$LINENO"; then :
31591 glibcxx_cv_func_ldexpf_use=yes
31592 else
31593 glibcxx_cv_func_ldexpf_use=no
31595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31596 ac_ext=c
31597 ac_cpp='$CPP $CPPFLAGS'
31598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
31607 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
31609 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
31610 for ac_func in ldexpf
31611 do :
31612 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
31613 if test "x$ac_cv_func_ldexpf" = xyes; then :
31614 cat >>confdefs.h <<_ACEOF
31615 #define HAVE_LDEXPF 1
31616 _ACEOF
31619 done
31621 else
31623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
31624 $as_echo_n "checking for _ldexpf declaration... " >&6; }
31625 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
31626 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
31627 $as_echo_n "(cached) " >&6
31628 else
31631 ac_ext=cpp
31632 ac_cpp='$CXXCPP $CPPFLAGS'
31633 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31634 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31635 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31638 /* end confdefs.h. */
31639 #include <math.h>
31641 main ()
31643 _ldexpf(0, 0);
31645 return 0;
31647 _ACEOF
31648 if ac_fn_cxx_try_compile "$LINENO"; then :
31649 glibcxx_cv_func__ldexpf_use=yes
31650 else
31651 glibcxx_cv_func__ldexpf_use=no
31653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31654 ac_ext=c
31655 ac_cpp='$CPP $CPPFLAGS'
31656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
31665 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
31667 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
31668 for ac_func in _ldexpf
31669 do :
31670 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
31671 if test "x$ac_cv_func__ldexpf" = xyes; then :
31672 cat >>confdefs.h <<_ACEOF
31673 #define HAVE__LDEXPF 1
31674 _ACEOF
31677 done
31686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
31687 $as_echo_n "checking for logf declaration... " >&6; }
31688 if test x${glibcxx_cv_func_logf_use+set} != xset; then
31689 if ${glibcxx_cv_func_logf_use+:} false; then :
31690 $as_echo_n "(cached) " >&6
31691 else
31694 ac_ext=cpp
31695 ac_cpp='$CXXCPP $CPPFLAGS'
31696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31701 /* end confdefs.h. */
31702 #include <math.h>
31703 #ifdef HAVE_IEEEFP_H
31704 #include <ieeefp.h>
31705 #endif
31708 main ()
31710 logf(0);
31712 return 0;
31714 _ACEOF
31715 if ac_fn_cxx_try_compile "$LINENO"; then :
31716 glibcxx_cv_func_logf_use=yes
31717 else
31718 glibcxx_cv_func_logf_use=no
31720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31721 ac_ext=c
31722 ac_cpp='$CPP $CPPFLAGS'
31723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
31732 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
31734 if test x$glibcxx_cv_func_logf_use = x"yes"; then
31735 for ac_func in logf
31736 do :
31737 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
31738 if test "x$ac_cv_func_logf" = xyes; then :
31739 cat >>confdefs.h <<_ACEOF
31740 #define HAVE_LOGF 1
31741 _ACEOF
31744 done
31746 else
31748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
31749 $as_echo_n "checking for _logf declaration... " >&6; }
31750 if test x${glibcxx_cv_func__logf_use+set} != xset; then
31751 if ${glibcxx_cv_func__logf_use+:} false; then :
31752 $as_echo_n "(cached) " >&6
31753 else
31756 ac_ext=cpp
31757 ac_cpp='$CXXCPP $CPPFLAGS'
31758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31763 /* end confdefs.h. */
31764 #include <math.h>
31765 #ifdef HAVE_IEEEFP_H
31766 #include <ieeefp.h>
31767 #endif
31770 main ()
31772 _logf(0);
31774 return 0;
31776 _ACEOF
31777 if ac_fn_cxx_try_compile "$LINENO"; then :
31778 glibcxx_cv_func__logf_use=yes
31779 else
31780 glibcxx_cv_func__logf_use=no
31782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31783 ac_ext=c
31784 ac_cpp='$CPP $CPPFLAGS'
31785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
31794 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
31796 if test x$glibcxx_cv_func__logf_use = x"yes"; then
31797 for ac_func in _logf
31798 do :
31799 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
31800 if test "x$ac_cv_func__logf" = xyes; then :
31801 cat >>confdefs.h <<_ACEOF
31802 #define HAVE__LOGF 1
31803 _ACEOF
31806 done
31815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
31816 $as_echo_n "checking for log10f declaration... " >&6; }
31817 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
31818 if ${glibcxx_cv_func_log10f_use+:} false; then :
31819 $as_echo_n "(cached) " >&6
31820 else
31823 ac_ext=cpp
31824 ac_cpp='$CXXCPP $CPPFLAGS'
31825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31830 /* end confdefs.h. */
31831 #include <math.h>
31832 #ifdef HAVE_IEEEFP_H
31833 #include <ieeefp.h>
31834 #endif
31837 main ()
31839 log10f(0);
31841 return 0;
31843 _ACEOF
31844 if ac_fn_cxx_try_compile "$LINENO"; then :
31845 glibcxx_cv_func_log10f_use=yes
31846 else
31847 glibcxx_cv_func_log10f_use=no
31849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31850 ac_ext=c
31851 ac_cpp='$CPP $CPPFLAGS'
31852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
31861 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
31863 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
31864 for ac_func in log10f
31865 do :
31866 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
31867 if test "x$ac_cv_func_log10f" = xyes; then :
31868 cat >>confdefs.h <<_ACEOF
31869 #define HAVE_LOG10F 1
31870 _ACEOF
31873 done
31875 else
31877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
31878 $as_echo_n "checking for _log10f declaration... " >&6; }
31879 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
31880 if ${glibcxx_cv_func__log10f_use+:} false; then :
31881 $as_echo_n "(cached) " >&6
31882 else
31885 ac_ext=cpp
31886 ac_cpp='$CXXCPP $CPPFLAGS'
31887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31892 /* end confdefs.h. */
31893 #include <math.h>
31894 #ifdef HAVE_IEEEFP_H
31895 #include <ieeefp.h>
31896 #endif
31899 main ()
31901 _log10f(0);
31903 return 0;
31905 _ACEOF
31906 if ac_fn_cxx_try_compile "$LINENO"; then :
31907 glibcxx_cv_func__log10f_use=yes
31908 else
31909 glibcxx_cv_func__log10f_use=no
31911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31912 ac_ext=c
31913 ac_cpp='$CPP $CPPFLAGS'
31914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
31923 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
31925 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
31926 for ac_func in _log10f
31927 do :
31928 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
31929 if test "x$ac_cv_func__log10f" = xyes; then :
31930 cat >>confdefs.h <<_ACEOF
31931 #define HAVE__LOG10F 1
31932 _ACEOF
31935 done
31944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
31945 $as_echo_n "checking for modff declaration... " >&6; }
31946 if test x${glibcxx_cv_func_modff_use+set} != xset; then
31947 if ${glibcxx_cv_func_modff_use+:} false; then :
31948 $as_echo_n "(cached) " >&6
31949 else
31952 ac_ext=cpp
31953 ac_cpp='$CXXCPP $CPPFLAGS'
31954 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31955 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31956 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31959 /* end confdefs.h. */
31960 #include <math.h>
31962 main ()
31964 modff(0, 0);
31966 return 0;
31968 _ACEOF
31969 if ac_fn_cxx_try_compile "$LINENO"; then :
31970 glibcxx_cv_func_modff_use=yes
31971 else
31972 glibcxx_cv_func_modff_use=no
31974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31975 ac_ext=c
31976 ac_cpp='$CPP $CPPFLAGS'
31977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
31986 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
31988 if test x$glibcxx_cv_func_modff_use = x"yes"; then
31989 for ac_func in modff
31990 do :
31991 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
31992 if test "x$ac_cv_func_modff" = xyes; then :
31993 cat >>confdefs.h <<_ACEOF
31994 #define HAVE_MODFF 1
31995 _ACEOF
31998 done
32000 else
32002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
32003 $as_echo_n "checking for _modff declaration... " >&6; }
32004 if test x${glibcxx_cv_func__modff_use+set} != xset; then
32005 if ${glibcxx_cv_func__modff_use+:} false; then :
32006 $as_echo_n "(cached) " >&6
32007 else
32010 ac_ext=cpp
32011 ac_cpp='$CXXCPP $CPPFLAGS'
32012 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32013 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32014 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32017 /* end confdefs.h. */
32018 #include <math.h>
32020 main ()
32022 _modff(0, 0);
32024 return 0;
32026 _ACEOF
32027 if ac_fn_cxx_try_compile "$LINENO"; then :
32028 glibcxx_cv_func__modff_use=yes
32029 else
32030 glibcxx_cv_func__modff_use=no
32032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32033 ac_ext=c
32034 ac_cpp='$CPP $CPPFLAGS'
32035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
32044 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
32046 if test x$glibcxx_cv_func__modff_use = x"yes"; then
32047 for ac_func in _modff
32048 do :
32049 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
32050 if test "x$ac_cv_func__modff" = xyes; then :
32051 cat >>confdefs.h <<_ACEOF
32052 #define HAVE__MODFF 1
32053 _ACEOF
32056 done
32065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
32066 $as_echo_n "checking for modf declaration... " >&6; }
32067 if test x${glibcxx_cv_func_modf_use+set} != xset; then
32068 if ${glibcxx_cv_func_modf_use+:} false; then :
32069 $as_echo_n "(cached) " >&6
32070 else
32073 ac_ext=cpp
32074 ac_cpp='$CXXCPP $CPPFLAGS'
32075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32080 /* end confdefs.h. */
32081 #include <math.h>
32083 main ()
32085 modf(0, 0);
32087 return 0;
32089 _ACEOF
32090 if ac_fn_cxx_try_compile "$LINENO"; then :
32091 glibcxx_cv_func_modf_use=yes
32092 else
32093 glibcxx_cv_func_modf_use=no
32095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32096 ac_ext=c
32097 ac_cpp='$CPP $CPPFLAGS'
32098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
32107 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
32109 if test x$glibcxx_cv_func_modf_use = x"yes"; then
32110 for ac_func in modf
32111 do :
32112 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
32113 if test "x$ac_cv_func_modf" = xyes; then :
32114 cat >>confdefs.h <<_ACEOF
32115 #define HAVE_MODF 1
32116 _ACEOF
32119 done
32121 else
32123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
32124 $as_echo_n "checking for _modf declaration... " >&6; }
32125 if test x${glibcxx_cv_func__modf_use+set} != xset; then
32126 if ${glibcxx_cv_func__modf_use+:} false; then :
32127 $as_echo_n "(cached) " >&6
32128 else
32131 ac_ext=cpp
32132 ac_cpp='$CXXCPP $CPPFLAGS'
32133 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32134 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32135 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32138 /* end confdefs.h. */
32139 #include <math.h>
32141 main ()
32143 _modf(0, 0);
32145 return 0;
32147 _ACEOF
32148 if ac_fn_cxx_try_compile "$LINENO"; then :
32149 glibcxx_cv_func__modf_use=yes
32150 else
32151 glibcxx_cv_func__modf_use=no
32153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32154 ac_ext=c
32155 ac_cpp='$CPP $CPPFLAGS'
32156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
32165 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
32167 if test x$glibcxx_cv_func__modf_use = x"yes"; then
32168 for ac_func in _modf
32169 do :
32170 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
32171 if test "x$ac_cv_func__modf" = xyes; then :
32172 cat >>confdefs.h <<_ACEOF
32173 #define HAVE__MODF 1
32174 _ACEOF
32177 done
32186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
32187 $as_echo_n "checking for powf declaration... " >&6; }
32188 if test x${glibcxx_cv_func_powf_use+set} != xset; then
32189 if ${glibcxx_cv_func_powf_use+:} false; then :
32190 $as_echo_n "(cached) " >&6
32191 else
32194 ac_ext=cpp
32195 ac_cpp='$CXXCPP $CPPFLAGS'
32196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32201 /* end confdefs.h. */
32202 #include <math.h>
32204 main ()
32206 powf(0, 0);
32208 return 0;
32210 _ACEOF
32211 if ac_fn_cxx_try_compile "$LINENO"; then :
32212 glibcxx_cv_func_powf_use=yes
32213 else
32214 glibcxx_cv_func_powf_use=no
32216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32217 ac_ext=c
32218 ac_cpp='$CPP $CPPFLAGS'
32219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
32228 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
32230 if test x$glibcxx_cv_func_powf_use = x"yes"; then
32231 for ac_func in powf
32232 do :
32233 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
32234 if test "x$ac_cv_func_powf" = xyes; then :
32235 cat >>confdefs.h <<_ACEOF
32236 #define HAVE_POWF 1
32237 _ACEOF
32240 done
32242 else
32244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
32245 $as_echo_n "checking for _powf declaration... " >&6; }
32246 if test x${glibcxx_cv_func__powf_use+set} != xset; then
32247 if ${glibcxx_cv_func__powf_use+:} false; then :
32248 $as_echo_n "(cached) " >&6
32249 else
32252 ac_ext=cpp
32253 ac_cpp='$CXXCPP $CPPFLAGS'
32254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32259 /* end confdefs.h. */
32260 #include <math.h>
32262 main ()
32264 _powf(0, 0);
32266 return 0;
32268 _ACEOF
32269 if ac_fn_cxx_try_compile "$LINENO"; then :
32270 glibcxx_cv_func__powf_use=yes
32271 else
32272 glibcxx_cv_func__powf_use=no
32274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32275 ac_ext=c
32276 ac_cpp='$CPP $CPPFLAGS'
32277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
32286 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
32288 if test x$glibcxx_cv_func__powf_use = x"yes"; then
32289 for ac_func in _powf
32290 do :
32291 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
32292 if test "x$ac_cv_func__powf" = xyes; then :
32293 cat >>confdefs.h <<_ACEOF
32294 #define HAVE__POWF 1
32295 _ACEOF
32298 done
32307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
32308 $as_echo_n "checking for sqrtf declaration... " >&6; }
32309 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
32310 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
32311 $as_echo_n "(cached) " >&6
32312 else
32315 ac_ext=cpp
32316 ac_cpp='$CXXCPP $CPPFLAGS'
32317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32322 /* end confdefs.h. */
32323 #include <math.h>
32324 #ifdef HAVE_IEEEFP_H
32325 #include <ieeefp.h>
32326 #endif
32329 main ()
32331 sqrtf(0);
32333 return 0;
32335 _ACEOF
32336 if ac_fn_cxx_try_compile "$LINENO"; then :
32337 glibcxx_cv_func_sqrtf_use=yes
32338 else
32339 glibcxx_cv_func_sqrtf_use=no
32341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32342 ac_ext=c
32343 ac_cpp='$CPP $CPPFLAGS'
32344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
32353 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
32355 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
32356 for ac_func in sqrtf
32357 do :
32358 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
32359 if test "x$ac_cv_func_sqrtf" = xyes; then :
32360 cat >>confdefs.h <<_ACEOF
32361 #define HAVE_SQRTF 1
32362 _ACEOF
32365 done
32367 else
32369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
32370 $as_echo_n "checking for _sqrtf declaration... " >&6; }
32371 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
32372 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
32373 $as_echo_n "(cached) " >&6
32374 else
32377 ac_ext=cpp
32378 ac_cpp='$CXXCPP $CPPFLAGS'
32379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32384 /* end confdefs.h. */
32385 #include <math.h>
32386 #ifdef HAVE_IEEEFP_H
32387 #include <ieeefp.h>
32388 #endif
32391 main ()
32393 _sqrtf(0);
32395 return 0;
32397 _ACEOF
32398 if ac_fn_cxx_try_compile "$LINENO"; then :
32399 glibcxx_cv_func__sqrtf_use=yes
32400 else
32401 glibcxx_cv_func__sqrtf_use=no
32403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32404 ac_ext=c
32405 ac_cpp='$CPP $CPPFLAGS'
32406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
32415 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
32417 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
32418 for ac_func in _sqrtf
32419 do :
32420 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
32421 if test "x$ac_cv_func__sqrtf" = xyes; then :
32422 cat >>confdefs.h <<_ACEOF
32423 #define HAVE__SQRTF 1
32424 _ACEOF
32427 done
32436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
32437 $as_echo_n "checking for sincosf declaration... " >&6; }
32438 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
32439 if ${glibcxx_cv_func_sincosf_use+:} false; then :
32440 $as_echo_n "(cached) " >&6
32441 else
32444 ac_ext=cpp
32445 ac_cpp='$CXXCPP $CPPFLAGS'
32446 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32447 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32448 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32451 /* end confdefs.h. */
32452 #include <math.h>
32454 main ()
32456 sincosf(0, 0, 0);
32458 return 0;
32460 _ACEOF
32461 if ac_fn_cxx_try_compile "$LINENO"; then :
32462 glibcxx_cv_func_sincosf_use=yes
32463 else
32464 glibcxx_cv_func_sincosf_use=no
32466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32467 ac_ext=c
32468 ac_cpp='$CPP $CPPFLAGS'
32469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
32478 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
32480 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
32481 for ac_func in sincosf
32482 do :
32483 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
32484 if test "x$ac_cv_func_sincosf" = xyes; then :
32485 cat >>confdefs.h <<_ACEOF
32486 #define HAVE_SINCOSF 1
32487 _ACEOF
32490 done
32492 else
32494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
32495 $as_echo_n "checking for _sincosf declaration... " >&6; }
32496 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
32497 if ${glibcxx_cv_func__sincosf_use+:} false; then :
32498 $as_echo_n "(cached) " >&6
32499 else
32502 ac_ext=cpp
32503 ac_cpp='$CXXCPP $CPPFLAGS'
32504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32509 /* end confdefs.h. */
32510 #include <math.h>
32512 main ()
32514 _sincosf(0, 0, 0);
32516 return 0;
32518 _ACEOF
32519 if ac_fn_cxx_try_compile "$LINENO"; then :
32520 glibcxx_cv_func__sincosf_use=yes
32521 else
32522 glibcxx_cv_func__sincosf_use=no
32524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32525 ac_ext=c
32526 ac_cpp='$CPP $CPPFLAGS'
32527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
32536 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
32538 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
32539 for ac_func in _sincosf
32540 do :
32541 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
32542 if test "x$ac_cv_func__sincosf" = xyes; then :
32543 cat >>confdefs.h <<_ACEOF
32544 #define HAVE__SINCOSF 1
32545 _ACEOF
32548 done
32557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
32558 $as_echo_n "checking for finitef declaration... " >&6; }
32559 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
32560 if ${glibcxx_cv_func_finitef_use+:} false; then :
32561 $as_echo_n "(cached) " >&6
32562 else
32565 ac_ext=cpp
32566 ac_cpp='$CXXCPP $CPPFLAGS'
32567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32572 /* end confdefs.h. */
32573 #include <math.h>
32574 #ifdef HAVE_IEEEFP_H
32575 #include <ieeefp.h>
32576 #endif
32579 main ()
32581 finitef(0);
32583 return 0;
32585 _ACEOF
32586 if ac_fn_cxx_try_compile "$LINENO"; then :
32587 glibcxx_cv_func_finitef_use=yes
32588 else
32589 glibcxx_cv_func_finitef_use=no
32591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32592 ac_ext=c
32593 ac_cpp='$CPP $CPPFLAGS'
32594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
32603 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
32605 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
32606 for ac_func in finitef
32607 do :
32608 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
32609 if test "x$ac_cv_func_finitef" = xyes; then :
32610 cat >>confdefs.h <<_ACEOF
32611 #define HAVE_FINITEF 1
32612 _ACEOF
32615 done
32617 else
32619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
32620 $as_echo_n "checking for _finitef declaration... " >&6; }
32621 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
32622 if ${glibcxx_cv_func__finitef_use+:} false; then :
32623 $as_echo_n "(cached) " >&6
32624 else
32627 ac_ext=cpp
32628 ac_cpp='$CXXCPP $CPPFLAGS'
32629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32634 /* end confdefs.h. */
32635 #include <math.h>
32636 #ifdef HAVE_IEEEFP_H
32637 #include <ieeefp.h>
32638 #endif
32641 main ()
32643 _finitef(0);
32645 return 0;
32647 _ACEOF
32648 if ac_fn_cxx_try_compile "$LINENO"; then :
32649 glibcxx_cv_func__finitef_use=yes
32650 else
32651 glibcxx_cv_func__finitef_use=no
32653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32654 ac_ext=c
32655 ac_cpp='$CPP $CPPFLAGS'
32656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
32665 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
32667 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
32668 for ac_func in _finitef
32669 do :
32670 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
32671 if test "x$ac_cv_func__finitef" = xyes; then :
32672 cat >>confdefs.h <<_ACEOF
32673 #define HAVE__FINITEF 1
32674 _ACEOF
32677 done
32686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
32687 $as_echo_n "checking for long double trig functions... " >&6; }
32688 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
32689 $as_echo_n "(cached) " >&6
32690 else
32693 ac_ext=cpp
32694 ac_cpp='$CXXCPP $CPPFLAGS'
32695 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32696 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32697 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32700 /* end confdefs.h. */
32701 #include <math.h>
32703 main ()
32705 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
32707 return 0;
32709 _ACEOF
32710 if ac_fn_cxx_try_compile "$LINENO"; then :
32711 glibcxx_cv_func_long_double_trig_use=yes
32712 else
32713 glibcxx_cv_func_long_double_trig_use=no
32715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32716 ac_ext=c
32717 ac_cpp='$CPP $CPPFLAGS'
32718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
32725 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
32726 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
32727 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
32728 do :
32729 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32730 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32731 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
32732 cat >>confdefs.h <<_ACEOF
32733 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32734 _ACEOF
32737 done
32739 else
32740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
32741 $as_echo_n "checking for _long double trig functions... " >&6; }
32742 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
32743 $as_echo_n "(cached) " >&6
32744 else
32747 ac_ext=cpp
32748 ac_cpp='$CXXCPP $CPPFLAGS'
32749 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32750 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32751 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32754 /* end confdefs.h. */
32755 #include <math.h>
32757 main ()
32759 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
32761 return 0;
32763 _ACEOF
32764 if ac_fn_cxx_try_compile "$LINENO"; then :
32765 glibcxx_cv_func__long_double_trig_use=yes
32766 else
32767 glibcxx_cv_func__long_double_trig_use=no
32769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32770 ac_ext=c
32771 ac_cpp='$CPP $CPPFLAGS'
32772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
32779 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
32780 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
32781 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
32782 do :
32783 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32784 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32785 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
32786 cat >>confdefs.h <<_ACEOF
32787 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32788 _ACEOF
32791 done
32800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
32801 $as_echo_n "checking for long double round functions... " >&6; }
32802 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
32803 $as_echo_n "(cached) " >&6
32804 else
32807 ac_ext=cpp
32808 ac_cpp='$CXXCPP $CPPFLAGS'
32809 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32810 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32811 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32814 /* end confdefs.h. */
32815 #include <math.h>
32817 main ()
32819 ceill (0); floorl (0);
32821 return 0;
32823 _ACEOF
32824 if ac_fn_cxx_try_compile "$LINENO"; then :
32825 glibcxx_cv_func_long_double_round_use=yes
32826 else
32827 glibcxx_cv_func_long_double_round_use=no
32829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32830 ac_ext=c
32831 ac_cpp='$CPP $CPPFLAGS'
32832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
32839 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
32840 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
32841 for ac_func in ceill floorl
32842 do :
32843 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32844 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32845 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
32846 cat >>confdefs.h <<_ACEOF
32847 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32848 _ACEOF
32851 done
32853 else
32854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
32855 $as_echo_n "checking for _long double round functions... " >&6; }
32856 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
32857 $as_echo_n "(cached) " >&6
32858 else
32861 ac_ext=cpp
32862 ac_cpp='$CXXCPP $CPPFLAGS'
32863 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32864 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32865 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32868 /* end confdefs.h. */
32869 #include <math.h>
32871 main ()
32873 _ceill (0); _floorl (0);
32875 return 0;
32877 _ACEOF
32878 if ac_fn_cxx_try_compile "$LINENO"; then :
32879 glibcxx_cv_func__long_double_round_use=yes
32880 else
32881 glibcxx_cv_func__long_double_round_use=no
32883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32884 ac_ext=c
32885 ac_cpp='$CPP $CPPFLAGS'
32886 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32887 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32888 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
32893 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
32894 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
32895 for ac_func in _ceill _floorl
32896 do :
32897 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32898 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32899 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
32900 cat >>confdefs.h <<_ACEOF
32901 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32902 _ACEOF
32905 done
32915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
32916 $as_echo_n "checking for isnanl declaration... " >&6; }
32917 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
32918 if ${glibcxx_cv_func_isnanl_use+:} false; then :
32919 $as_echo_n "(cached) " >&6
32920 else
32923 ac_ext=cpp
32924 ac_cpp='$CXXCPP $CPPFLAGS'
32925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32930 /* end confdefs.h. */
32931 #include <math.h>
32932 #ifdef HAVE_IEEEFP_H
32933 #include <ieeefp.h>
32934 #endif
32937 main ()
32939 isnanl(0);
32941 return 0;
32943 _ACEOF
32944 if ac_fn_cxx_try_compile "$LINENO"; then :
32945 glibcxx_cv_func_isnanl_use=yes
32946 else
32947 glibcxx_cv_func_isnanl_use=no
32949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32950 ac_ext=c
32951 ac_cpp='$CPP $CPPFLAGS'
32952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
32961 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
32963 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
32964 for ac_func in isnanl
32965 do :
32966 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
32967 if test "x$ac_cv_func_isnanl" = xyes; then :
32968 cat >>confdefs.h <<_ACEOF
32969 #define HAVE_ISNANL 1
32970 _ACEOF
32973 done
32975 else
32977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
32978 $as_echo_n "checking for _isnanl declaration... " >&6; }
32979 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
32980 if ${glibcxx_cv_func__isnanl_use+:} false; then :
32981 $as_echo_n "(cached) " >&6
32982 else
32985 ac_ext=cpp
32986 ac_cpp='$CXXCPP $CPPFLAGS'
32987 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32988 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32989 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32992 /* end confdefs.h. */
32993 #include <math.h>
32994 #ifdef HAVE_IEEEFP_H
32995 #include <ieeefp.h>
32996 #endif
32999 main ()
33001 _isnanl(0);
33003 return 0;
33005 _ACEOF
33006 if ac_fn_cxx_try_compile "$LINENO"; then :
33007 glibcxx_cv_func__isnanl_use=yes
33008 else
33009 glibcxx_cv_func__isnanl_use=no
33011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33012 ac_ext=c
33013 ac_cpp='$CPP $CPPFLAGS'
33014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
33023 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
33025 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
33026 for ac_func in _isnanl
33027 do :
33028 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
33029 if test "x$ac_cv_func__isnanl" = xyes; then :
33030 cat >>confdefs.h <<_ACEOF
33031 #define HAVE__ISNANL 1
33032 _ACEOF
33035 done
33044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
33045 $as_echo_n "checking for isinfl declaration... " >&6; }
33046 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
33047 if ${glibcxx_cv_func_isinfl_use+:} false; then :
33048 $as_echo_n "(cached) " >&6
33049 else
33052 ac_ext=cpp
33053 ac_cpp='$CXXCPP $CPPFLAGS'
33054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33059 /* end confdefs.h. */
33060 #include <math.h>
33061 #ifdef HAVE_IEEEFP_H
33062 #include <ieeefp.h>
33063 #endif
33066 main ()
33068 isinfl(0);
33070 return 0;
33072 _ACEOF
33073 if ac_fn_cxx_try_compile "$LINENO"; then :
33074 glibcxx_cv_func_isinfl_use=yes
33075 else
33076 glibcxx_cv_func_isinfl_use=no
33078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33079 ac_ext=c
33080 ac_cpp='$CPP $CPPFLAGS'
33081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
33090 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
33092 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
33093 for ac_func in isinfl
33094 do :
33095 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
33096 if test "x$ac_cv_func_isinfl" = xyes; then :
33097 cat >>confdefs.h <<_ACEOF
33098 #define HAVE_ISINFL 1
33099 _ACEOF
33102 done
33104 else
33106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
33107 $as_echo_n "checking for _isinfl declaration... " >&6; }
33108 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
33109 if ${glibcxx_cv_func__isinfl_use+:} false; then :
33110 $as_echo_n "(cached) " >&6
33111 else
33114 ac_ext=cpp
33115 ac_cpp='$CXXCPP $CPPFLAGS'
33116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33121 /* end confdefs.h. */
33122 #include <math.h>
33123 #ifdef HAVE_IEEEFP_H
33124 #include <ieeefp.h>
33125 #endif
33128 main ()
33130 _isinfl(0);
33132 return 0;
33134 _ACEOF
33135 if ac_fn_cxx_try_compile "$LINENO"; then :
33136 glibcxx_cv_func__isinfl_use=yes
33137 else
33138 glibcxx_cv_func__isinfl_use=no
33140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33141 ac_ext=c
33142 ac_cpp='$CPP $CPPFLAGS'
33143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
33152 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
33154 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
33155 for ac_func in _isinfl
33156 do :
33157 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
33158 if test "x$ac_cv_func__isinfl" = xyes; then :
33159 cat >>confdefs.h <<_ACEOF
33160 #define HAVE__ISINFL 1
33161 _ACEOF
33164 done
33173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
33174 $as_echo_n "checking for atan2l declaration... " >&6; }
33175 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
33176 if ${glibcxx_cv_func_atan2l_use+:} false; then :
33177 $as_echo_n "(cached) " >&6
33178 else
33181 ac_ext=cpp
33182 ac_cpp='$CXXCPP $CPPFLAGS'
33183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33188 /* end confdefs.h. */
33189 #include <math.h>
33191 main ()
33193 atan2l(0, 0);
33195 return 0;
33197 _ACEOF
33198 if ac_fn_cxx_try_compile "$LINENO"; then :
33199 glibcxx_cv_func_atan2l_use=yes
33200 else
33201 glibcxx_cv_func_atan2l_use=no
33203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33204 ac_ext=c
33205 ac_cpp='$CPP $CPPFLAGS'
33206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
33215 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
33217 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
33218 for ac_func in atan2l
33219 do :
33220 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
33221 if test "x$ac_cv_func_atan2l" = xyes; then :
33222 cat >>confdefs.h <<_ACEOF
33223 #define HAVE_ATAN2L 1
33224 _ACEOF
33227 done
33229 else
33231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
33232 $as_echo_n "checking for _atan2l declaration... " >&6; }
33233 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
33234 if ${glibcxx_cv_func__atan2l_use+:} false; then :
33235 $as_echo_n "(cached) " >&6
33236 else
33239 ac_ext=cpp
33240 ac_cpp='$CXXCPP $CPPFLAGS'
33241 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33242 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33243 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33246 /* end confdefs.h. */
33247 #include <math.h>
33249 main ()
33251 _atan2l(0, 0);
33253 return 0;
33255 _ACEOF
33256 if ac_fn_cxx_try_compile "$LINENO"; then :
33257 glibcxx_cv_func__atan2l_use=yes
33258 else
33259 glibcxx_cv_func__atan2l_use=no
33261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33262 ac_ext=c
33263 ac_cpp='$CPP $CPPFLAGS'
33264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
33273 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
33275 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
33276 for ac_func in _atan2l
33277 do :
33278 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
33279 if test "x$ac_cv_func__atan2l" = xyes; then :
33280 cat >>confdefs.h <<_ACEOF
33281 #define HAVE__ATAN2L 1
33282 _ACEOF
33285 done
33294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
33295 $as_echo_n "checking for expl declaration... " >&6; }
33296 if test x${glibcxx_cv_func_expl_use+set} != xset; then
33297 if ${glibcxx_cv_func_expl_use+:} false; then :
33298 $as_echo_n "(cached) " >&6
33299 else
33302 ac_ext=cpp
33303 ac_cpp='$CXXCPP $CPPFLAGS'
33304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33309 /* end confdefs.h. */
33310 #include <math.h>
33311 #ifdef HAVE_IEEEFP_H
33312 #include <ieeefp.h>
33313 #endif
33316 main ()
33318 expl(0);
33320 return 0;
33322 _ACEOF
33323 if ac_fn_cxx_try_compile "$LINENO"; then :
33324 glibcxx_cv_func_expl_use=yes
33325 else
33326 glibcxx_cv_func_expl_use=no
33328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33329 ac_ext=c
33330 ac_cpp='$CPP $CPPFLAGS'
33331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
33340 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
33342 if test x$glibcxx_cv_func_expl_use = x"yes"; then
33343 for ac_func in expl
33344 do :
33345 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
33346 if test "x$ac_cv_func_expl" = xyes; then :
33347 cat >>confdefs.h <<_ACEOF
33348 #define HAVE_EXPL 1
33349 _ACEOF
33352 done
33354 else
33356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
33357 $as_echo_n "checking for _expl declaration... " >&6; }
33358 if test x${glibcxx_cv_func__expl_use+set} != xset; then
33359 if ${glibcxx_cv_func__expl_use+:} false; then :
33360 $as_echo_n "(cached) " >&6
33361 else
33364 ac_ext=cpp
33365 ac_cpp='$CXXCPP $CPPFLAGS'
33366 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33367 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33368 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33371 /* end confdefs.h. */
33372 #include <math.h>
33373 #ifdef HAVE_IEEEFP_H
33374 #include <ieeefp.h>
33375 #endif
33378 main ()
33380 _expl(0);
33382 return 0;
33384 _ACEOF
33385 if ac_fn_cxx_try_compile "$LINENO"; then :
33386 glibcxx_cv_func__expl_use=yes
33387 else
33388 glibcxx_cv_func__expl_use=no
33390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33391 ac_ext=c
33392 ac_cpp='$CPP $CPPFLAGS'
33393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
33402 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
33404 if test x$glibcxx_cv_func__expl_use = x"yes"; then
33405 for ac_func in _expl
33406 do :
33407 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
33408 if test "x$ac_cv_func__expl" = xyes; then :
33409 cat >>confdefs.h <<_ACEOF
33410 #define HAVE__EXPL 1
33411 _ACEOF
33414 done
33423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
33424 $as_echo_n "checking for fabsl declaration... " >&6; }
33425 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
33426 if ${glibcxx_cv_func_fabsl_use+:} false; then :
33427 $as_echo_n "(cached) " >&6
33428 else
33431 ac_ext=cpp
33432 ac_cpp='$CXXCPP $CPPFLAGS'
33433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33438 /* end confdefs.h. */
33439 #include <math.h>
33440 #ifdef HAVE_IEEEFP_H
33441 #include <ieeefp.h>
33442 #endif
33445 main ()
33447 fabsl(0);
33449 return 0;
33451 _ACEOF
33452 if ac_fn_cxx_try_compile "$LINENO"; then :
33453 glibcxx_cv_func_fabsl_use=yes
33454 else
33455 glibcxx_cv_func_fabsl_use=no
33457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33458 ac_ext=c
33459 ac_cpp='$CPP $CPPFLAGS'
33460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
33469 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
33471 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
33472 for ac_func in fabsl
33473 do :
33474 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
33475 if test "x$ac_cv_func_fabsl" = xyes; then :
33476 cat >>confdefs.h <<_ACEOF
33477 #define HAVE_FABSL 1
33478 _ACEOF
33481 done
33483 else
33485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
33486 $as_echo_n "checking for _fabsl declaration... " >&6; }
33487 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
33488 if ${glibcxx_cv_func__fabsl_use+:} false; then :
33489 $as_echo_n "(cached) " >&6
33490 else
33493 ac_ext=cpp
33494 ac_cpp='$CXXCPP $CPPFLAGS'
33495 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33496 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33497 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33500 /* end confdefs.h. */
33501 #include <math.h>
33502 #ifdef HAVE_IEEEFP_H
33503 #include <ieeefp.h>
33504 #endif
33507 main ()
33509 _fabsl(0);
33511 return 0;
33513 _ACEOF
33514 if ac_fn_cxx_try_compile "$LINENO"; then :
33515 glibcxx_cv_func__fabsl_use=yes
33516 else
33517 glibcxx_cv_func__fabsl_use=no
33519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33520 ac_ext=c
33521 ac_cpp='$CPP $CPPFLAGS'
33522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
33531 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
33533 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
33534 for ac_func in _fabsl
33535 do :
33536 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
33537 if test "x$ac_cv_func__fabsl" = xyes; then :
33538 cat >>confdefs.h <<_ACEOF
33539 #define HAVE__FABSL 1
33540 _ACEOF
33543 done
33552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
33553 $as_echo_n "checking for fmodl declaration... " >&6; }
33554 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
33555 if ${glibcxx_cv_func_fmodl_use+:} false; then :
33556 $as_echo_n "(cached) " >&6
33557 else
33560 ac_ext=cpp
33561 ac_cpp='$CXXCPP $CPPFLAGS'
33562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33567 /* end confdefs.h. */
33568 #include <math.h>
33570 main ()
33572 fmodl(0, 0);
33574 return 0;
33576 _ACEOF
33577 if ac_fn_cxx_try_compile "$LINENO"; then :
33578 glibcxx_cv_func_fmodl_use=yes
33579 else
33580 glibcxx_cv_func_fmodl_use=no
33582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33583 ac_ext=c
33584 ac_cpp='$CPP $CPPFLAGS'
33585 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33586 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33587 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
33594 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
33596 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
33597 for ac_func in fmodl
33598 do :
33599 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
33600 if test "x$ac_cv_func_fmodl" = xyes; then :
33601 cat >>confdefs.h <<_ACEOF
33602 #define HAVE_FMODL 1
33603 _ACEOF
33606 done
33608 else
33610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
33611 $as_echo_n "checking for _fmodl declaration... " >&6; }
33612 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
33613 if ${glibcxx_cv_func__fmodl_use+:} false; then :
33614 $as_echo_n "(cached) " >&6
33615 else
33618 ac_ext=cpp
33619 ac_cpp='$CXXCPP $CPPFLAGS'
33620 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33621 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33622 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33625 /* end confdefs.h. */
33626 #include <math.h>
33628 main ()
33630 _fmodl(0, 0);
33632 return 0;
33634 _ACEOF
33635 if ac_fn_cxx_try_compile "$LINENO"; then :
33636 glibcxx_cv_func__fmodl_use=yes
33637 else
33638 glibcxx_cv_func__fmodl_use=no
33640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33641 ac_ext=c
33642 ac_cpp='$CPP $CPPFLAGS'
33643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
33652 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
33654 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
33655 for ac_func in _fmodl
33656 do :
33657 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
33658 if test "x$ac_cv_func__fmodl" = xyes; then :
33659 cat >>confdefs.h <<_ACEOF
33660 #define HAVE__FMODL 1
33661 _ACEOF
33664 done
33673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
33674 $as_echo_n "checking for frexpl declaration... " >&6; }
33675 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
33676 if ${glibcxx_cv_func_frexpl_use+:} false; then :
33677 $as_echo_n "(cached) " >&6
33678 else
33681 ac_ext=cpp
33682 ac_cpp='$CXXCPP $CPPFLAGS'
33683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33688 /* end confdefs.h. */
33689 #include <math.h>
33691 main ()
33693 frexpl(0, 0);
33695 return 0;
33697 _ACEOF
33698 if ac_fn_cxx_try_compile "$LINENO"; then :
33699 glibcxx_cv_func_frexpl_use=yes
33700 else
33701 glibcxx_cv_func_frexpl_use=no
33703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33704 ac_ext=c
33705 ac_cpp='$CPP $CPPFLAGS'
33706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
33715 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
33717 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
33718 for ac_func in frexpl
33719 do :
33720 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
33721 if test "x$ac_cv_func_frexpl" = xyes; then :
33722 cat >>confdefs.h <<_ACEOF
33723 #define HAVE_FREXPL 1
33724 _ACEOF
33727 done
33729 else
33731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
33732 $as_echo_n "checking for _frexpl declaration... " >&6; }
33733 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
33734 if ${glibcxx_cv_func__frexpl_use+:} false; then :
33735 $as_echo_n "(cached) " >&6
33736 else
33739 ac_ext=cpp
33740 ac_cpp='$CXXCPP $CPPFLAGS'
33741 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33742 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33743 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33746 /* end confdefs.h. */
33747 #include <math.h>
33749 main ()
33751 _frexpl(0, 0);
33753 return 0;
33755 _ACEOF
33756 if ac_fn_cxx_try_compile "$LINENO"; then :
33757 glibcxx_cv_func__frexpl_use=yes
33758 else
33759 glibcxx_cv_func__frexpl_use=no
33761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33762 ac_ext=c
33763 ac_cpp='$CPP $CPPFLAGS'
33764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
33773 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
33775 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
33776 for ac_func in _frexpl
33777 do :
33778 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
33779 if test "x$ac_cv_func__frexpl" = xyes; then :
33780 cat >>confdefs.h <<_ACEOF
33781 #define HAVE__FREXPL 1
33782 _ACEOF
33785 done
33794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
33795 $as_echo_n "checking for hypotl declaration... " >&6; }
33796 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
33797 if ${glibcxx_cv_func_hypotl_use+:} false; then :
33798 $as_echo_n "(cached) " >&6
33799 else
33802 ac_ext=cpp
33803 ac_cpp='$CXXCPP $CPPFLAGS'
33804 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33805 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33806 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33809 /* end confdefs.h. */
33810 #include <math.h>
33812 main ()
33814 hypotl(0, 0);
33816 return 0;
33818 _ACEOF
33819 if ac_fn_cxx_try_compile "$LINENO"; then :
33820 glibcxx_cv_func_hypotl_use=yes
33821 else
33822 glibcxx_cv_func_hypotl_use=no
33824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33825 ac_ext=c
33826 ac_cpp='$CPP $CPPFLAGS'
33827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
33836 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
33838 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
33839 for ac_func in hypotl
33840 do :
33841 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
33842 if test "x$ac_cv_func_hypotl" = xyes; then :
33843 cat >>confdefs.h <<_ACEOF
33844 #define HAVE_HYPOTL 1
33845 _ACEOF
33848 done
33850 else
33852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
33853 $as_echo_n "checking for _hypotl declaration... " >&6; }
33854 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
33855 if ${glibcxx_cv_func__hypotl_use+:} false; then :
33856 $as_echo_n "(cached) " >&6
33857 else
33860 ac_ext=cpp
33861 ac_cpp='$CXXCPP $CPPFLAGS'
33862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33867 /* end confdefs.h. */
33868 #include <math.h>
33870 main ()
33872 _hypotl(0, 0);
33874 return 0;
33876 _ACEOF
33877 if ac_fn_cxx_try_compile "$LINENO"; then :
33878 glibcxx_cv_func__hypotl_use=yes
33879 else
33880 glibcxx_cv_func__hypotl_use=no
33882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33883 ac_ext=c
33884 ac_cpp='$CPP $CPPFLAGS'
33885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
33894 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
33896 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
33897 for ac_func in _hypotl
33898 do :
33899 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
33900 if test "x$ac_cv_func__hypotl" = xyes; then :
33901 cat >>confdefs.h <<_ACEOF
33902 #define HAVE__HYPOTL 1
33903 _ACEOF
33906 done
33915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
33916 $as_echo_n "checking for ldexpl declaration... " >&6; }
33917 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
33918 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
33919 $as_echo_n "(cached) " >&6
33920 else
33923 ac_ext=cpp
33924 ac_cpp='$CXXCPP $CPPFLAGS'
33925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33930 /* end confdefs.h. */
33931 #include <math.h>
33933 main ()
33935 ldexpl(0, 0);
33937 return 0;
33939 _ACEOF
33940 if ac_fn_cxx_try_compile "$LINENO"; then :
33941 glibcxx_cv_func_ldexpl_use=yes
33942 else
33943 glibcxx_cv_func_ldexpl_use=no
33945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33946 ac_ext=c
33947 ac_cpp='$CPP $CPPFLAGS'
33948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
33957 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
33959 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
33960 for ac_func in ldexpl
33961 do :
33962 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
33963 if test "x$ac_cv_func_ldexpl" = xyes; then :
33964 cat >>confdefs.h <<_ACEOF
33965 #define HAVE_LDEXPL 1
33966 _ACEOF
33969 done
33971 else
33973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
33974 $as_echo_n "checking for _ldexpl declaration... " >&6; }
33975 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
33976 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
33977 $as_echo_n "(cached) " >&6
33978 else
33981 ac_ext=cpp
33982 ac_cpp='$CXXCPP $CPPFLAGS'
33983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33988 /* end confdefs.h. */
33989 #include <math.h>
33991 main ()
33993 _ldexpl(0, 0);
33995 return 0;
33997 _ACEOF
33998 if ac_fn_cxx_try_compile "$LINENO"; then :
33999 glibcxx_cv_func__ldexpl_use=yes
34000 else
34001 glibcxx_cv_func__ldexpl_use=no
34003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34004 ac_ext=c
34005 ac_cpp='$CPP $CPPFLAGS'
34006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
34015 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
34017 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
34018 for ac_func in _ldexpl
34019 do :
34020 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
34021 if test "x$ac_cv_func__ldexpl" = xyes; then :
34022 cat >>confdefs.h <<_ACEOF
34023 #define HAVE__LDEXPL 1
34024 _ACEOF
34027 done
34036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
34037 $as_echo_n "checking for logl declaration... " >&6; }
34038 if test x${glibcxx_cv_func_logl_use+set} != xset; then
34039 if ${glibcxx_cv_func_logl_use+:} false; then :
34040 $as_echo_n "(cached) " >&6
34041 else
34044 ac_ext=cpp
34045 ac_cpp='$CXXCPP $CPPFLAGS'
34046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34051 /* end confdefs.h. */
34052 #include <math.h>
34053 #ifdef HAVE_IEEEFP_H
34054 #include <ieeefp.h>
34055 #endif
34058 main ()
34060 logl(0);
34062 return 0;
34064 _ACEOF
34065 if ac_fn_cxx_try_compile "$LINENO"; then :
34066 glibcxx_cv_func_logl_use=yes
34067 else
34068 glibcxx_cv_func_logl_use=no
34070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34071 ac_ext=c
34072 ac_cpp='$CPP $CPPFLAGS'
34073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
34082 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
34084 if test x$glibcxx_cv_func_logl_use = x"yes"; then
34085 for ac_func in logl
34086 do :
34087 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
34088 if test "x$ac_cv_func_logl" = xyes; then :
34089 cat >>confdefs.h <<_ACEOF
34090 #define HAVE_LOGL 1
34091 _ACEOF
34094 done
34096 else
34098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
34099 $as_echo_n "checking for _logl declaration... " >&6; }
34100 if test x${glibcxx_cv_func__logl_use+set} != xset; then
34101 if ${glibcxx_cv_func__logl_use+:} false; then :
34102 $as_echo_n "(cached) " >&6
34103 else
34106 ac_ext=cpp
34107 ac_cpp='$CXXCPP $CPPFLAGS'
34108 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34109 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34110 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34113 /* end confdefs.h. */
34114 #include <math.h>
34115 #ifdef HAVE_IEEEFP_H
34116 #include <ieeefp.h>
34117 #endif
34120 main ()
34122 _logl(0);
34124 return 0;
34126 _ACEOF
34127 if ac_fn_cxx_try_compile "$LINENO"; then :
34128 glibcxx_cv_func__logl_use=yes
34129 else
34130 glibcxx_cv_func__logl_use=no
34132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34133 ac_ext=c
34134 ac_cpp='$CPP $CPPFLAGS'
34135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
34144 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
34146 if test x$glibcxx_cv_func__logl_use = x"yes"; then
34147 for ac_func in _logl
34148 do :
34149 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
34150 if test "x$ac_cv_func__logl" = xyes; then :
34151 cat >>confdefs.h <<_ACEOF
34152 #define HAVE__LOGL 1
34153 _ACEOF
34156 done
34165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
34166 $as_echo_n "checking for log10l declaration... " >&6; }
34167 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
34168 if ${glibcxx_cv_func_log10l_use+:} false; then :
34169 $as_echo_n "(cached) " >&6
34170 else
34173 ac_ext=cpp
34174 ac_cpp='$CXXCPP $CPPFLAGS'
34175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34180 /* end confdefs.h. */
34181 #include <math.h>
34182 #ifdef HAVE_IEEEFP_H
34183 #include <ieeefp.h>
34184 #endif
34187 main ()
34189 log10l(0);
34191 return 0;
34193 _ACEOF
34194 if ac_fn_cxx_try_compile "$LINENO"; then :
34195 glibcxx_cv_func_log10l_use=yes
34196 else
34197 glibcxx_cv_func_log10l_use=no
34199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34200 ac_ext=c
34201 ac_cpp='$CPP $CPPFLAGS'
34202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
34211 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
34213 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
34214 for ac_func in log10l
34215 do :
34216 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
34217 if test "x$ac_cv_func_log10l" = xyes; then :
34218 cat >>confdefs.h <<_ACEOF
34219 #define HAVE_LOG10L 1
34220 _ACEOF
34223 done
34225 else
34227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
34228 $as_echo_n "checking for _log10l declaration... " >&6; }
34229 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
34230 if ${glibcxx_cv_func__log10l_use+:} false; then :
34231 $as_echo_n "(cached) " >&6
34232 else
34235 ac_ext=cpp
34236 ac_cpp='$CXXCPP $CPPFLAGS'
34237 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34238 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34239 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34242 /* end confdefs.h. */
34243 #include <math.h>
34244 #ifdef HAVE_IEEEFP_H
34245 #include <ieeefp.h>
34246 #endif
34249 main ()
34251 _log10l(0);
34253 return 0;
34255 _ACEOF
34256 if ac_fn_cxx_try_compile "$LINENO"; then :
34257 glibcxx_cv_func__log10l_use=yes
34258 else
34259 glibcxx_cv_func__log10l_use=no
34261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34262 ac_ext=c
34263 ac_cpp='$CPP $CPPFLAGS'
34264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
34273 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
34275 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
34276 for ac_func in _log10l
34277 do :
34278 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
34279 if test "x$ac_cv_func__log10l" = xyes; then :
34280 cat >>confdefs.h <<_ACEOF
34281 #define HAVE__LOG10L 1
34282 _ACEOF
34285 done
34294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
34295 $as_echo_n "checking for modfl declaration... " >&6; }
34296 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
34297 if ${glibcxx_cv_func_modfl_use+:} false; then :
34298 $as_echo_n "(cached) " >&6
34299 else
34302 ac_ext=cpp
34303 ac_cpp='$CXXCPP $CPPFLAGS'
34304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34309 /* end confdefs.h. */
34310 #include <math.h>
34312 main ()
34314 modfl(0, 0);
34316 return 0;
34318 _ACEOF
34319 if ac_fn_cxx_try_compile "$LINENO"; then :
34320 glibcxx_cv_func_modfl_use=yes
34321 else
34322 glibcxx_cv_func_modfl_use=no
34324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34325 ac_ext=c
34326 ac_cpp='$CPP $CPPFLAGS'
34327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
34336 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
34338 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
34339 for ac_func in modfl
34340 do :
34341 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
34342 if test "x$ac_cv_func_modfl" = xyes; then :
34343 cat >>confdefs.h <<_ACEOF
34344 #define HAVE_MODFL 1
34345 _ACEOF
34348 done
34350 else
34352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
34353 $as_echo_n "checking for _modfl declaration... " >&6; }
34354 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
34355 if ${glibcxx_cv_func__modfl_use+:} false; then :
34356 $as_echo_n "(cached) " >&6
34357 else
34360 ac_ext=cpp
34361 ac_cpp='$CXXCPP $CPPFLAGS'
34362 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34363 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34364 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34367 /* end confdefs.h. */
34368 #include <math.h>
34370 main ()
34372 _modfl(0, 0);
34374 return 0;
34376 _ACEOF
34377 if ac_fn_cxx_try_compile "$LINENO"; then :
34378 glibcxx_cv_func__modfl_use=yes
34379 else
34380 glibcxx_cv_func__modfl_use=no
34382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34383 ac_ext=c
34384 ac_cpp='$CPP $CPPFLAGS'
34385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
34394 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
34396 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
34397 for ac_func in _modfl
34398 do :
34399 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
34400 if test "x$ac_cv_func__modfl" = xyes; then :
34401 cat >>confdefs.h <<_ACEOF
34402 #define HAVE__MODFL 1
34403 _ACEOF
34406 done
34415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
34416 $as_echo_n "checking for powl declaration... " >&6; }
34417 if test x${glibcxx_cv_func_powl_use+set} != xset; then
34418 if ${glibcxx_cv_func_powl_use+:} false; then :
34419 $as_echo_n "(cached) " >&6
34420 else
34423 ac_ext=cpp
34424 ac_cpp='$CXXCPP $CPPFLAGS'
34425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34430 /* end confdefs.h. */
34431 #include <math.h>
34433 main ()
34435 powl(0, 0);
34437 return 0;
34439 _ACEOF
34440 if ac_fn_cxx_try_compile "$LINENO"; then :
34441 glibcxx_cv_func_powl_use=yes
34442 else
34443 glibcxx_cv_func_powl_use=no
34445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34446 ac_ext=c
34447 ac_cpp='$CPP $CPPFLAGS'
34448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
34457 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
34459 if test x$glibcxx_cv_func_powl_use = x"yes"; then
34460 for ac_func in powl
34461 do :
34462 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
34463 if test "x$ac_cv_func_powl" = xyes; then :
34464 cat >>confdefs.h <<_ACEOF
34465 #define HAVE_POWL 1
34466 _ACEOF
34469 done
34471 else
34473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
34474 $as_echo_n "checking for _powl declaration... " >&6; }
34475 if test x${glibcxx_cv_func__powl_use+set} != xset; then
34476 if ${glibcxx_cv_func__powl_use+:} false; then :
34477 $as_echo_n "(cached) " >&6
34478 else
34481 ac_ext=cpp
34482 ac_cpp='$CXXCPP $CPPFLAGS'
34483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34488 /* end confdefs.h. */
34489 #include <math.h>
34491 main ()
34493 _powl(0, 0);
34495 return 0;
34497 _ACEOF
34498 if ac_fn_cxx_try_compile "$LINENO"; then :
34499 glibcxx_cv_func__powl_use=yes
34500 else
34501 glibcxx_cv_func__powl_use=no
34503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34504 ac_ext=c
34505 ac_cpp='$CPP $CPPFLAGS'
34506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
34515 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
34517 if test x$glibcxx_cv_func__powl_use = x"yes"; then
34518 for ac_func in _powl
34519 do :
34520 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
34521 if test "x$ac_cv_func__powl" = xyes; then :
34522 cat >>confdefs.h <<_ACEOF
34523 #define HAVE__POWL 1
34524 _ACEOF
34527 done
34536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
34537 $as_echo_n "checking for sqrtl declaration... " >&6; }
34538 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
34539 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
34540 $as_echo_n "(cached) " >&6
34541 else
34544 ac_ext=cpp
34545 ac_cpp='$CXXCPP $CPPFLAGS'
34546 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34547 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34548 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34551 /* end confdefs.h. */
34552 #include <math.h>
34553 #ifdef HAVE_IEEEFP_H
34554 #include <ieeefp.h>
34555 #endif
34558 main ()
34560 sqrtl(0);
34562 return 0;
34564 _ACEOF
34565 if ac_fn_cxx_try_compile "$LINENO"; then :
34566 glibcxx_cv_func_sqrtl_use=yes
34567 else
34568 glibcxx_cv_func_sqrtl_use=no
34570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34571 ac_ext=c
34572 ac_cpp='$CPP $CPPFLAGS'
34573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
34582 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
34584 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
34585 for ac_func in sqrtl
34586 do :
34587 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
34588 if test "x$ac_cv_func_sqrtl" = xyes; then :
34589 cat >>confdefs.h <<_ACEOF
34590 #define HAVE_SQRTL 1
34591 _ACEOF
34594 done
34596 else
34598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
34599 $as_echo_n "checking for _sqrtl declaration... " >&6; }
34600 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
34601 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
34602 $as_echo_n "(cached) " >&6
34603 else
34606 ac_ext=cpp
34607 ac_cpp='$CXXCPP $CPPFLAGS'
34608 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34609 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34610 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34613 /* end confdefs.h. */
34614 #include <math.h>
34615 #ifdef HAVE_IEEEFP_H
34616 #include <ieeefp.h>
34617 #endif
34620 main ()
34622 _sqrtl(0);
34624 return 0;
34626 _ACEOF
34627 if ac_fn_cxx_try_compile "$LINENO"; then :
34628 glibcxx_cv_func__sqrtl_use=yes
34629 else
34630 glibcxx_cv_func__sqrtl_use=no
34632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34633 ac_ext=c
34634 ac_cpp='$CPP $CPPFLAGS'
34635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
34644 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
34646 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
34647 for ac_func in _sqrtl
34648 do :
34649 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
34650 if test "x$ac_cv_func__sqrtl" = xyes; then :
34651 cat >>confdefs.h <<_ACEOF
34652 #define HAVE__SQRTL 1
34653 _ACEOF
34656 done
34665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
34666 $as_echo_n "checking for sincosl declaration... " >&6; }
34667 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
34668 if ${glibcxx_cv_func_sincosl_use+:} false; then :
34669 $as_echo_n "(cached) " >&6
34670 else
34673 ac_ext=cpp
34674 ac_cpp='$CXXCPP $CPPFLAGS'
34675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34680 /* end confdefs.h. */
34681 #include <math.h>
34683 main ()
34685 sincosl(0, 0, 0);
34687 return 0;
34689 _ACEOF
34690 if ac_fn_cxx_try_compile "$LINENO"; then :
34691 glibcxx_cv_func_sincosl_use=yes
34692 else
34693 glibcxx_cv_func_sincosl_use=no
34695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34696 ac_ext=c
34697 ac_cpp='$CPP $CPPFLAGS'
34698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
34707 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
34709 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
34710 for ac_func in sincosl
34711 do :
34712 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
34713 if test "x$ac_cv_func_sincosl" = xyes; then :
34714 cat >>confdefs.h <<_ACEOF
34715 #define HAVE_SINCOSL 1
34716 _ACEOF
34719 done
34721 else
34723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
34724 $as_echo_n "checking for _sincosl declaration... " >&6; }
34725 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
34726 if ${glibcxx_cv_func__sincosl_use+:} false; then :
34727 $as_echo_n "(cached) " >&6
34728 else
34731 ac_ext=cpp
34732 ac_cpp='$CXXCPP $CPPFLAGS'
34733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34738 /* end confdefs.h. */
34739 #include <math.h>
34741 main ()
34743 _sincosl(0, 0, 0);
34745 return 0;
34747 _ACEOF
34748 if ac_fn_cxx_try_compile "$LINENO"; then :
34749 glibcxx_cv_func__sincosl_use=yes
34750 else
34751 glibcxx_cv_func__sincosl_use=no
34753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34754 ac_ext=c
34755 ac_cpp='$CPP $CPPFLAGS'
34756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
34765 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
34767 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
34768 for ac_func in _sincosl
34769 do :
34770 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
34771 if test "x$ac_cv_func__sincosl" = xyes; then :
34772 cat >>confdefs.h <<_ACEOF
34773 #define HAVE__SINCOSL 1
34774 _ACEOF
34777 done
34786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
34787 $as_echo_n "checking for finitel declaration... " >&6; }
34788 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
34789 if ${glibcxx_cv_func_finitel_use+:} false; then :
34790 $as_echo_n "(cached) " >&6
34791 else
34794 ac_ext=cpp
34795 ac_cpp='$CXXCPP $CPPFLAGS'
34796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34801 /* end confdefs.h. */
34802 #include <math.h>
34803 #ifdef HAVE_IEEEFP_H
34804 #include <ieeefp.h>
34805 #endif
34808 main ()
34810 finitel(0);
34812 return 0;
34814 _ACEOF
34815 if ac_fn_cxx_try_compile "$LINENO"; then :
34816 glibcxx_cv_func_finitel_use=yes
34817 else
34818 glibcxx_cv_func_finitel_use=no
34820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34821 ac_ext=c
34822 ac_cpp='$CPP $CPPFLAGS'
34823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
34832 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
34834 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
34835 for ac_func in finitel
34836 do :
34837 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
34838 if test "x$ac_cv_func_finitel" = xyes; then :
34839 cat >>confdefs.h <<_ACEOF
34840 #define HAVE_FINITEL 1
34841 _ACEOF
34844 done
34846 else
34848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
34849 $as_echo_n "checking for _finitel declaration... " >&6; }
34850 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
34851 if ${glibcxx_cv_func__finitel_use+:} false; then :
34852 $as_echo_n "(cached) " >&6
34853 else
34856 ac_ext=cpp
34857 ac_cpp='$CXXCPP $CPPFLAGS'
34858 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34859 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34860 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34863 /* end confdefs.h. */
34864 #include <math.h>
34865 #ifdef HAVE_IEEEFP_H
34866 #include <ieeefp.h>
34867 #endif
34870 main ()
34872 _finitel(0);
34874 return 0;
34876 _ACEOF
34877 if ac_fn_cxx_try_compile "$LINENO"; then :
34878 glibcxx_cv_func__finitel_use=yes
34879 else
34880 glibcxx_cv_func__finitel_use=no
34882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34883 ac_ext=c
34884 ac_cpp='$CPP $CPPFLAGS'
34885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
34894 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
34896 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
34897 for ac_func in _finitel
34898 do :
34899 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
34900 if test "x$ac_cv_func__finitel" = xyes; then :
34901 cat >>confdefs.h <<_ACEOF
34902 #define HAVE__FINITEL 1
34903 _ACEOF
34906 done
34914 LIBS="$ac_save_LIBS"
34915 CXXFLAGS="$ac_save_CXXFLAGS"
34918 ac_test_CXXFLAGS="${CXXFLAGS+set}"
34919 ac_save_CXXFLAGS="$CXXFLAGS"
34920 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
34923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
34924 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
34925 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
34926 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
34927 $as_echo_n "(cached) " >&6
34928 else
34931 ac_ext=cpp
34932 ac_cpp='$CXXCPP $CPPFLAGS'
34933 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34934 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34935 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34938 /* end confdefs.h. */
34939 #include <stdlib.h>
34941 main ()
34943 at_quick_exit(0);
34945 return 0;
34947 _ACEOF
34948 if ac_fn_cxx_try_compile "$LINENO"; then :
34949 glibcxx_cv_func_at_quick_exit_use=yes
34950 else
34951 glibcxx_cv_func_at_quick_exit_use=no
34953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34954 ac_ext=c
34955 ac_cpp='$CPP $CPPFLAGS'
34956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
34965 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
34966 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
34967 for ac_func in at_quick_exit
34968 do :
34969 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
34970 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
34971 cat >>confdefs.h <<_ACEOF
34972 #define HAVE_AT_QUICK_EXIT 1
34973 _ACEOF
34976 done
34981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
34982 $as_echo_n "checking for quick_exit declaration... " >&6; }
34983 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
34984 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
34985 $as_echo_n "(cached) " >&6
34986 else
34989 ac_ext=cpp
34990 ac_cpp='$CXXCPP $CPPFLAGS'
34991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34992 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34996 /* end confdefs.h. */
34997 #include <stdlib.h>
34999 main ()
35001 quick_exit(0);
35003 return 0;
35005 _ACEOF
35006 if ac_fn_cxx_try_compile "$LINENO"; then :
35007 glibcxx_cv_func_quick_exit_use=yes
35008 else
35009 glibcxx_cv_func_quick_exit_use=no
35011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35012 ac_ext=c
35013 ac_cpp='$CPP $CPPFLAGS'
35014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
35023 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
35024 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
35025 for ac_func in quick_exit
35026 do :
35027 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
35028 if test "x$ac_cv_func_quick_exit" = xyes; then :
35029 cat >>confdefs.h <<_ACEOF
35030 #define HAVE_QUICK_EXIT 1
35031 _ACEOF
35034 done
35039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
35040 $as_echo_n "checking for strtold declaration... " >&6; }
35041 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
35042 if ${glibcxx_cv_func_strtold_use+:} false; then :
35043 $as_echo_n "(cached) " >&6
35044 else
35047 ac_ext=cpp
35048 ac_cpp='$CXXCPP $CPPFLAGS'
35049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35054 /* end confdefs.h. */
35055 #include <stdlib.h>
35057 main ()
35059 strtold(0, 0);
35061 return 0;
35063 _ACEOF
35064 if ac_fn_cxx_try_compile "$LINENO"; then :
35065 glibcxx_cv_func_strtold_use=yes
35066 else
35067 glibcxx_cv_func_strtold_use=no
35069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35070 ac_ext=c
35071 ac_cpp='$CPP $CPPFLAGS'
35072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
35081 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
35082 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
35083 for ac_func in strtold
35084 do :
35085 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
35086 if test "x$ac_cv_func_strtold" = xyes; then :
35087 cat >>confdefs.h <<_ACEOF
35088 #define HAVE_STRTOLD 1
35089 _ACEOF
35092 done
35099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
35100 $as_echo_n "checking for strtof declaration... " >&6; }
35101 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
35102 if ${glibcxx_cv_func_strtof_use+:} false; then :
35103 $as_echo_n "(cached) " >&6
35104 else
35107 ac_ext=cpp
35108 ac_cpp='$CXXCPP $CPPFLAGS'
35109 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35110 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35111 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35114 /* end confdefs.h. */
35115 #include <stdlib.h>
35117 main ()
35119 strtof(0, 0);
35121 return 0;
35123 _ACEOF
35124 if ac_fn_cxx_try_compile "$LINENO"; then :
35125 glibcxx_cv_func_strtof_use=yes
35126 else
35127 glibcxx_cv_func_strtof_use=no
35129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35130 ac_ext=c
35131 ac_cpp='$CPP $CPPFLAGS'
35132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
35141 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
35142 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
35143 for ac_func in strtof
35144 do :
35145 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
35146 if test "x$ac_cv_func_strtof" = xyes; then :
35147 cat >>confdefs.h <<_ACEOF
35148 #define HAVE_STRTOF 1
35149 _ACEOF
35152 done
35159 CXXFLAGS="$ac_save_CXXFLAGS"
35162 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
35164 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
35166 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
35168 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
35171 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
35173 $as_echo "#define HAVE_MODF 1" >>confdefs.h
35175 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
35179 *-aix*)
35181 # If we're not using GNU ld, then there's no point in even trying these
35182 # tests. Check for that first. We should have already tested for gld
35183 # by now (in libtool), but require it now just to be safe...
35184 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
35185 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
35189 # The name set by libtool depends on the version of libtool. Shame on us
35190 # for depending on an impl detail, but c'est la vie. Older versions used
35191 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
35192 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
35193 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
35194 # set (hence we're using an older libtool), then set it.
35195 if test x${with_gnu_ld+set} != xset; then
35196 if test x${ac_cv_prog_gnu_ld+set} != xset; then
35197 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
35198 with_gnu_ld=no
35199 else
35200 with_gnu_ld=$ac_cv_prog_gnu_ld
35204 # Start by getting the version number. I think the libtool test already
35205 # does some of this, but throws away the result.
35206 glibcxx_ld_is_gold=no
35207 if test x"$with_gnu_ld" = x"yes"; then
35208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
35209 $as_echo_n "checking for ld version... " >&6; }
35211 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
35212 glibcxx_ld_is_gold=yes
35214 ldver=`$LD --version 2>/dev/null |
35215 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
35217 glibcxx_gnu_ld_version=`echo $ldver | \
35218 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
35219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
35220 $as_echo "$glibcxx_gnu_ld_version" >&6; }
35223 # Set --gc-sections.
35224 glibcxx_have_gc_sections=no
35225 if test "$glibcxx_ld_is_gold" = "yes"; then
35226 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
35227 glibcxx_have_gc_sections=yes
35229 else
35230 glibcxx_gcsections_min_ld=21602
35231 if test x"$with_gnu_ld" = x"yes" &&
35232 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
35233 glibcxx_have_gc_sections=yes
35236 if test "$glibcxx_have_gc_sections" = "yes"; then
35237 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
35238 # NB: This flag only works reliably after 2.16.1. Configure tests
35239 # for this are difficult, so hard wire a value that should work.
35241 ac_test_CFLAGS="${CFLAGS+set}"
35242 ac_save_CFLAGS="$CFLAGS"
35243 CFLAGS='-Wl,--gc-sections'
35245 # Check for -Wl,--gc-sections
35246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
35247 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
35248 if test x$gcc_no_link = xyes; then
35249 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
35251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35252 /* end confdefs.h. */
35253 int one(void) { return 1; }
35254 int two(void) { return 2; }
35257 main ()
35259 two();
35261 return 0;
35263 _ACEOF
35264 if ac_fn_c_try_link "$LINENO"; then :
35265 ac_gcsections=yes
35266 else
35267 ac_gcsections=no
35269 rm -f core conftest.err conftest.$ac_objext \
35270 conftest$ac_exeext conftest.$ac_ext
35271 if test "$ac_gcsections" = "yes"; then
35272 rm -f conftest.c
35273 touch conftest.c
35274 if $CC -c conftest.c; then
35275 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
35276 grep "Warning: gc-sections option ignored" > /dev/null; then
35277 ac_gcsections=no
35280 rm -f conftest.c conftest.o conftest
35282 if test "$ac_gcsections" = "yes"; then
35283 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
35285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
35286 $as_echo "$ac_gcsections" >&6; }
35288 if test "$ac_test_CFLAGS" = set; then
35289 CFLAGS="$ac_save_CFLAGS"
35290 else
35291 # this is the suspicious part
35292 CFLAGS=''
35296 # Set -z,relro.
35297 # Note this is only for shared objects.
35298 ac_ld_relro=no
35299 if test x"$with_gnu_ld" = x"yes"; then
35300 # cygwin and mingw uses PE, which has no ELF relro support,
35301 # multi target ld may confuse configure machinery
35302 case "$host" in
35303 *-*-cygwin*)
35305 *-*-mingw*)
35308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
35309 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
35310 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
35311 if test -n "$cxx_z_relo"; then
35312 OPT_LDFLAGS="-Wl,-z,relro"
35313 ac_ld_relro=yes
35315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
35316 $as_echo "$ac_ld_relro" >&6; }
35317 esac
35320 # Set linker optimization flags.
35321 if test x"$with_gnu_ld" = x"yes"; then
35322 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
35329 ac_test_CXXFLAGS="${CXXFLAGS+set}"
35330 ac_save_CXXFLAGS="$CXXFLAGS"
35331 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
35333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
35334 $as_echo_n "checking for sin in -lm... " >&6; }
35335 if ${ac_cv_lib_m_sin+:} false; then :
35336 $as_echo_n "(cached) " >&6
35337 else
35338 ac_check_lib_save_LIBS=$LIBS
35339 LIBS="-lm $LIBS"
35340 if test x$gcc_no_link = xyes; then
35341 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
35343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35344 /* end confdefs.h. */
35346 /* Override any GCC internal prototype to avoid an error.
35347 Use char because int might match the return type of a GCC
35348 builtin and then its argument prototype would still apply. */
35349 #ifdef __cplusplus
35350 extern "C"
35351 #endif
35352 char sin ();
35354 main ()
35356 return sin ();
35358 return 0;
35360 _ACEOF
35361 if ac_fn_c_try_link "$LINENO"; then :
35362 ac_cv_lib_m_sin=yes
35363 else
35364 ac_cv_lib_m_sin=no
35366 rm -f core conftest.err conftest.$ac_objext \
35367 conftest$ac_exeext conftest.$ac_ext
35368 LIBS=$ac_check_lib_save_LIBS
35370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
35371 $as_echo "$ac_cv_lib_m_sin" >&6; }
35372 if test "x$ac_cv_lib_m_sin" = xyes; then :
35373 libm="-lm"
35376 ac_save_LIBS="$LIBS"
35377 LIBS="$LIBS $libm"
35381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
35382 $as_echo_n "checking for isinf declaration... " >&6; }
35383 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
35384 if ${glibcxx_cv_func_isinf_use+:} false; then :
35385 $as_echo_n "(cached) " >&6
35386 else
35389 ac_ext=cpp
35390 ac_cpp='$CXXCPP $CPPFLAGS'
35391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35396 /* end confdefs.h. */
35397 #include <math.h>
35398 #ifdef HAVE_IEEEFP_H
35399 #include <ieeefp.h>
35400 #endif
35403 main ()
35405 isinf(0);
35407 return 0;
35409 _ACEOF
35410 if ac_fn_cxx_try_compile "$LINENO"; then :
35411 glibcxx_cv_func_isinf_use=yes
35412 else
35413 glibcxx_cv_func_isinf_use=no
35415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35416 ac_ext=c
35417 ac_cpp='$CPP $CPPFLAGS'
35418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
35427 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
35429 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
35430 for ac_func in isinf
35431 do :
35432 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
35433 if test "x$ac_cv_func_isinf" = xyes; then :
35434 cat >>confdefs.h <<_ACEOF
35435 #define HAVE_ISINF 1
35436 _ACEOF
35439 done
35441 else
35443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
35444 $as_echo_n "checking for _isinf declaration... " >&6; }
35445 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
35446 if ${glibcxx_cv_func__isinf_use+:} false; then :
35447 $as_echo_n "(cached) " >&6
35448 else
35451 ac_ext=cpp
35452 ac_cpp='$CXXCPP $CPPFLAGS'
35453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35458 /* end confdefs.h. */
35459 #include <math.h>
35460 #ifdef HAVE_IEEEFP_H
35461 #include <ieeefp.h>
35462 #endif
35465 main ()
35467 _isinf(0);
35469 return 0;
35471 _ACEOF
35472 if ac_fn_cxx_try_compile "$LINENO"; then :
35473 glibcxx_cv_func__isinf_use=yes
35474 else
35475 glibcxx_cv_func__isinf_use=no
35477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35478 ac_ext=c
35479 ac_cpp='$CPP $CPPFLAGS'
35480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
35489 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
35491 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
35492 for ac_func in _isinf
35493 do :
35494 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
35495 if test "x$ac_cv_func__isinf" = xyes; then :
35496 cat >>confdefs.h <<_ACEOF
35497 #define HAVE__ISINF 1
35498 _ACEOF
35501 done
35510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
35511 $as_echo_n "checking for isnan declaration... " >&6; }
35512 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
35513 if ${glibcxx_cv_func_isnan_use+:} false; then :
35514 $as_echo_n "(cached) " >&6
35515 else
35518 ac_ext=cpp
35519 ac_cpp='$CXXCPP $CPPFLAGS'
35520 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35521 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35522 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35525 /* end confdefs.h. */
35526 #include <math.h>
35527 #ifdef HAVE_IEEEFP_H
35528 #include <ieeefp.h>
35529 #endif
35532 main ()
35534 isnan(0);
35536 return 0;
35538 _ACEOF
35539 if ac_fn_cxx_try_compile "$LINENO"; then :
35540 glibcxx_cv_func_isnan_use=yes
35541 else
35542 glibcxx_cv_func_isnan_use=no
35544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35545 ac_ext=c
35546 ac_cpp='$CPP $CPPFLAGS'
35547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
35556 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
35558 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
35559 for ac_func in isnan
35560 do :
35561 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
35562 if test "x$ac_cv_func_isnan" = xyes; then :
35563 cat >>confdefs.h <<_ACEOF
35564 #define HAVE_ISNAN 1
35565 _ACEOF
35568 done
35570 else
35572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
35573 $as_echo_n "checking for _isnan declaration... " >&6; }
35574 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
35575 if ${glibcxx_cv_func__isnan_use+:} false; then :
35576 $as_echo_n "(cached) " >&6
35577 else
35580 ac_ext=cpp
35581 ac_cpp='$CXXCPP $CPPFLAGS'
35582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35587 /* end confdefs.h. */
35588 #include <math.h>
35589 #ifdef HAVE_IEEEFP_H
35590 #include <ieeefp.h>
35591 #endif
35594 main ()
35596 _isnan(0);
35598 return 0;
35600 _ACEOF
35601 if ac_fn_cxx_try_compile "$LINENO"; then :
35602 glibcxx_cv_func__isnan_use=yes
35603 else
35604 glibcxx_cv_func__isnan_use=no
35606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35607 ac_ext=c
35608 ac_cpp='$CPP $CPPFLAGS'
35609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
35618 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
35620 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
35621 for ac_func in _isnan
35622 do :
35623 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
35624 if test "x$ac_cv_func__isnan" = xyes; then :
35625 cat >>confdefs.h <<_ACEOF
35626 #define HAVE__ISNAN 1
35627 _ACEOF
35630 done
35639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
35640 $as_echo_n "checking for finite declaration... " >&6; }
35641 if test x${glibcxx_cv_func_finite_use+set} != xset; then
35642 if ${glibcxx_cv_func_finite_use+:} false; then :
35643 $as_echo_n "(cached) " >&6
35644 else
35647 ac_ext=cpp
35648 ac_cpp='$CXXCPP $CPPFLAGS'
35649 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35650 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35651 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35654 /* end confdefs.h. */
35655 #include <math.h>
35656 #ifdef HAVE_IEEEFP_H
35657 #include <ieeefp.h>
35658 #endif
35661 main ()
35663 finite(0);
35665 return 0;
35667 _ACEOF
35668 if ac_fn_cxx_try_compile "$LINENO"; then :
35669 glibcxx_cv_func_finite_use=yes
35670 else
35671 glibcxx_cv_func_finite_use=no
35673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35674 ac_ext=c
35675 ac_cpp='$CPP $CPPFLAGS'
35676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
35685 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
35687 if test x$glibcxx_cv_func_finite_use = x"yes"; then
35688 for ac_func in finite
35689 do :
35690 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
35691 if test "x$ac_cv_func_finite" = xyes; then :
35692 cat >>confdefs.h <<_ACEOF
35693 #define HAVE_FINITE 1
35694 _ACEOF
35697 done
35699 else
35701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
35702 $as_echo_n "checking for _finite declaration... " >&6; }
35703 if test x${glibcxx_cv_func__finite_use+set} != xset; then
35704 if ${glibcxx_cv_func__finite_use+:} false; then :
35705 $as_echo_n "(cached) " >&6
35706 else
35709 ac_ext=cpp
35710 ac_cpp='$CXXCPP $CPPFLAGS'
35711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35716 /* end confdefs.h. */
35717 #include <math.h>
35718 #ifdef HAVE_IEEEFP_H
35719 #include <ieeefp.h>
35720 #endif
35723 main ()
35725 _finite(0);
35727 return 0;
35729 _ACEOF
35730 if ac_fn_cxx_try_compile "$LINENO"; then :
35731 glibcxx_cv_func__finite_use=yes
35732 else
35733 glibcxx_cv_func__finite_use=no
35735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35736 ac_ext=c
35737 ac_cpp='$CPP $CPPFLAGS'
35738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
35747 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
35749 if test x$glibcxx_cv_func__finite_use = x"yes"; then
35750 for ac_func in _finite
35751 do :
35752 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
35753 if test "x$ac_cv_func__finite" = xyes; then :
35754 cat >>confdefs.h <<_ACEOF
35755 #define HAVE__FINITE 1
35756 _ACEOF
35759 done
35768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
35769 $as_echo_n "checking for sincos declaration... " >&6; }
35770 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
35771 if ${glibcxx_cv_func_sincos_use+:} false; then :
35772 $as_echo_n "(cached) " >&6
35773 else
35776 ac_ext=cpp
35777 ac_cpp='$CXXCPP $CPPFLAGS'
35778 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35779 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35780 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35783 /* end confdefs.h. */
35784 #include <math.h>
35786 main ()
35788 sincos(0, 0, 0);
35790 return 0;
35792 _ACEOF
35793 if ac_fn_cxx_try_compile "$LINENO"; then :
35794 glibcxx_cv_func_sincos_use=yes
35795 else
35796 glibcxx_cv_func_sincos_use=no
35798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35799 ac_ext=c
35800 ac_cpp='$CPP $CPPFLAGS'
35801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
35810 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
35812 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
35813 for ac_func in sincos
35814 do :
35815 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
35816 if test "x$ac_cv_func_sincos" = xyes; then :
35817 cat >>confdefs.h <<_ACEOF
35818 #define HAVE_SINCOS 1
35819 _ACEOF
35822 done
35824 else
35826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
35827 $as_echo_n "checking for _sincos declaration... " >&6; }
35828 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
35829 if ${glibcxx_cv_func__sincos_use+:} false; then :
35830 $as_echo_n "(cached) " >&6
35831 else
35834 ac_ext=cpp
35835 ac_cpp='$CXXCPP $CPPFLAGS'
35836 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35837 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35838 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35841 /* end confdefs.h. */
35842 #include <math.h>
35844 main ()
35846 _sincos(0, 0, 0);
35848 return 0;
35850 _ACEOF
35851 if ac_fn_cxx_try_compile "$LINENO"; then :
35852 glibcxx_cv_func__sincos_use=yes
35853 else
35854 glibcxx_cv_func__sincos_use=no
35856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35857 ac_ext=c
35858 ac_cpp='$CPP $CPPFLAGS'
35859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
35868 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
35870 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
35871 for ac_func in _sincos
35872 do :
35873 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
35874 if test "x$ac_cv_func__sincos" = xyes; then :
35875 cat >>confdefs.h <<_ACEOF
35876 #define HAVE__SINCOS 1
35877 _ACEOF
35880 done
35889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
35890 $as_echo_n "checking for fpclass declaration... " >&6; }
35891 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
35892 if ${glibcxx_cv_func_fpclass_use+:} false; then :
35893 $as_echo_n "(cached) " >&6
35894 else
35897 ac_ext=cpp
35898 ac_cpp='$CXXCPP $CPPFLAGS'
35899 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35900 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35901 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35904 /* end confdefs.h. */
35905 #include <math.h>
35906 #ifdef HAVE_IEEEFP_H
35907 #include <ieeefp.h>
35908 #endif
35911 main ()
35913 fpclass(0);
35915 return 0;
35917 _ACEOF
35918 if ac_fn_cxx_try_compile "$LINENO"; then :
35919 glibcxx_cv_func_fpclass_use=yes
35920 else
35921 glibcxx_cv_func_fpclass_use=no
35923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35924 ac_ext=c
35925 ac_cpp='$CPP $CPPFLAGS'
35926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
35935 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
35937 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
35938 for ac_func in fpclass
35939 do :
35940 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
35941 if test "x$ac_cv_func_fpclass" = xyes; then :
35942 cat >>confdefs.h <<_ACEOF
35943 #define HAVE_FPCLASS 1
35944 _ACEOF
35947 done
35949 else
35951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
35952 $as_echo_n "checking for _fpclass declaration... " >&6; }
35953 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
35954 if ${glibcxx_cv_func__fpclass_use+:} false; then :
35955 $as_echo_n "(cached) " >&6
35956 else
35959 ac_ext=cpp
35960 ac_cpp='$CXXCPP $CPPFLAGS'
35961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35966 /* end confdefs.h. */
35967 #include <math.h>
35968 #ifdef HAVE_IEEEFP_H
35969 #include <ieeefp.h>
35970 #endif
35973 main ()
35975 _fpclass(0);
35977 return 0;
35979 _ACEOF
35980 if ac_fn_cxx_try_compile "$LINENO"; then :
35981 glibcxx_cv_func__fpclass_use=yes
35982 else
35983 glibcxx_cv_func__fpclass_use=no
35985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35986 ac_ext=c
35987 ac_cpp='$CPP $CPPFLAGS'
35988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
35997 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
35999 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
36000 for ac_func in _fpclass
36001 do :
36002 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
36003 if test "x$ac_cv_func__fpclass" = xyes; then :
36004 cat >>confdefs.h <<_ACEOF
36005 #define HAVE__FPCLASS 1
36006 _ACEOF
36009 done
36018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
36019 $as_echo_n "checking for qfpclass declaration... " >&6; }
36020 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
36021 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
36022 $as_echo_n "(cached) " >&6
36023 else
36026 ac_ext=cpp
36027 ac_cpp='$CXXCPP $CPPFLAGS'
36028 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36029 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36030 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36033 /* end confdefs.h. */
36034 #include <math.h>
36035 #ifdef HAVE_IEEEFP_H
36036 #include <ieeefp.h>
36037 #endif
36040 main ()
36042 qfpclass(0);
36044 return 0;
36046 _ACEOF
36047 if ac_fn_cxx_try_compile "$LINENO"; then :
36048 glibcxx_cv_func_qfpclass_use=yes
36049 else
36050 glibcxx_cv_func_qfpclass_use=no
36052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36053 ac_ext=c
36054 ac_cpp='$CPP $CPPFLAGS'
36055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36056 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
36064 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
36066 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
36067 for ac_func in qfpclass
36068 do :
36069 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
36070 if test "x$ac_cv_func_qfpclass" = xyes; then :
36071 cat >>confdefs.h <<_ACEOF
36072 #define HAVE_QFPCLASS 1
36073 _ACEOF
36076 done
36078 else
36080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
36081 $as_echo_n "checking for _qfpclass declaration... " >&6; }
36082 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
36083 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
36084 $as_echo_n "(cached) " >&6
36085 else
36088 ac_ext=cpp
36089 ac_cpp='$CXXCPP $CPPFLAGS'
36090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36095 /* end confdefs.h. */
36096 #include <math.h>
36097 #ifdef HAVE_IEEEFP_H
36098 #include <ieeefp.h>
36099 #endif
36102 main ()
36104 _qfpclass(0);
36106 return 0;
36108 _ACEOF
36109 if ac_fn_cxx_try_compile "$LINENO"; then :
36110 glibcxx_cv_func__qfpclass_use=yes
36111 else
36112 glibcxx_cv_func__qfpclass_use=no
36114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36115 ac_ext=c
36116 ac_cpp='$CPP $CPPFLAGS'
36117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
36126 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
36128 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
36129 for ac_func in _qfpclass
36130 do :
36131 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
36132 if test "x$ac_cv_func__qfpclass" = xyes; then :
36133 cat >>confdefs.h <<_ACEOF
36134 #define HAVE__QFPCLASS 1
36135 _ACEOF
36138 done
36147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
36148 $as_echo_n "checking for hypot declaration... " >&6; }
36149 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
36150 if ${glibcxx_cv_func_hypot_use+:} false; then :
36151 $as_echo_n "(cached) " >&6
36152 else
36155 ac_ext=cpp
36156 ac_cpp='$CXXCPP $CPPFLAGS'
36157 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36158 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36159 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36162 /* end confdefs.h. */
36163 #include <math.h>
36165 main ()
36167 hypot(0, 0);
36169 return 0;
36171 _ACEOF
36172 if ac_fn_cxx_try_compile "$LINENO"; then :
36173 glibcxx_cv_func_hypot_use=yes
36174 else
36175 glibcxx_cv_func_hypot_use=no
36177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36178 ac_ext=c
36179 ac_cpp='$CPP $CPPFLAGS'
36180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
36189 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
36191 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
36192 for ac_func in hypot
36193 do :
36194 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
36195 if test "x$ac_cv_func_hypot" = xyes; then :
36196 cat >>confdefs.h <<_ACEOF
36197 #define HAVE_HYPOT 1
36198 _ACEOF
36201 done
36203 else
36205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
36206 $as_echo_n "checking for _hypot declaration... " >&6; }
36207 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
36208 if ${glibcxx_cv_func__hypot_use+:} false; then :
36209 $as_echo_n "(cached) " >&6
36210 else
36213 ac_ext=cpp
36214 ac_cpp='$CXXCPP $CPPFLAGS'
36215 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36216 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36217 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36220 /* end confdefs.h. */
36221 #include <math.h>
36223 main ()
36225 _hypot(0, 0);
36227 return 0;
36229 _ACEOF
36230 if ac_fn_cxx_try_compile "$LINENO"; then :
36231 glibcxx_cv_func__hypot_use=yes
36232 else
36233 glibcxx_cv_func__hypot_use=no
36235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36236 ac_ext=c
36237 ac_cpp='$CPP $CPPFLAGS'
36238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
36247 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
36249 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
36250 for ac_func in _hypot
36251 do :
36252 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
36253 if test "x$ac_cv_func__hypot" = xyes; then :
36254 cat >>confdefs.h <<_ACEOF
36255 #define HAVE__HYPOT 1
36256 _ACEOF
36259 done
36268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
36269 $as_echo_n "checking for float trig functions... " >&6; }
36270 if ${glibcxx_cv_func_float_trig_use+:} false; then :
36271 $as_echo_n "(cached) " >&6
36272 else
36275 ac_ext=cpp
36276 ac_cpp='$CXXCPP $CPPFLAGS'
36277 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36278 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36279 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36282 /* end confdefs.h. */
36283 #include <math.h>
36285 main ()
36287 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
36289 return 0;
36291 _ACEOF
36292 if ac_fn_cxx_try_compile "$LINENO"; then :
36293 glibcxx_cv_func_float_trig_use=yes
36294 else
36295 glibcxx_cv_func_float_trig_use=no
36297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36298 ac_ext=c
36299 ac_cpp='$CPP $CPPFLAGS'
36300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
36307 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
36308 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
36309 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
36310 do :
36311 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36312 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36313 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
36314 cat >>confdefs.h <<_ACEOF
36315 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36316 _ACEOF
36319 done
36321 else
36322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
36323 $as_echo_n "checking for _float trig functions... " >&6; }
36324 if ${glibcxx_cv_func__float_trig_use+:} false; then :
36325 $as_echo_n "(cached) " >&6
36326 else
36329 ac_ext=cpp
36330 ac_cpp='$CXXCPP $CPPFLAGS'
36331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36336 /* end confdefs.h. */
36337 #include <math.h>
36339 main ()
36341 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
36343 return 0;
36345 _ACEOF
36346 if ac_fn_cxx_try_compile "$LINENO"; then :
36347 glibcxx_cv_func__float_trig_use=yes
36348 else
36349 glibcxx_cv_func__float_trig_use=no
36351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36352 ac_ext=c
36353 ac_cpp='$CPP $CPPFLAGS'
36354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
36361 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
36362 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
36363 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
36364 do :
36365 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36366 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36367 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
36368 cat >>confdefs.h <<_ACEOF
36369 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36370 _ACEOF
36373 done
36382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
36383 $as_echo_n "checking for float round functions... " >&6; }
36384 if ${glibcxx_cv_func_float_round_use+:} false; then :
36385 $as_echo_n "(cached) " >&6
36386 else
36389 ac_ext=cpp
36390 ac_cpp='$CXXCPP $CPPFLAGS'
36391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36396 /* end confdefs.h. */
36397 #include <math.h>
36399 main ()
36401 ceilf (0); floorf (0);
36403 return 0;
36405 _ACEOF
36406 if ac_fn_cxx_try_compile "$LINENO"; then :
36407 glibcxx_cv_func_float_round_use=yes
36408 else
36409 glibcxx_cv_func_float_round_use=no
36411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36412 ac_ext=c
36413 ac_cpp='$CPP $CPPFLAGS'
36414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
36421 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
36422 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
36423 for ac_func in ceilf floorf
36424 do :
36425 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36426 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36427 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
36428 cat >>confdefs.h <<_ACEOF
36429 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36430 _ACEOF
36433 done
36435 else
36436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
36437 $as_echo_n "checking for _float round functions... " >&6; }
36438 if ${glibcxx_cv_func__float_round_use+:} false; then :
36439 $as_echo_n "(cached) " >&6
36440 else
36443 ac_ext=cpp
36444 ac_cpp='$CXXCPP $CPPFLAGS'
36445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36450 /* end confdefs.h. */
36451 #include <math.h>
36453 main ()
36455 _ceilf (0); _floorf (0);
36457 return 0;
36459 _ACEOF
36460 if ac_fn_cxx_try_compile "$LINENO"; then :
36461 glibcxx_cv_func__float_round_use=yes
36462 else
36463 glibcxx_cv_func__float_round_use=no
36465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36466 ac_ext=c
36467 ac_cpp='$CPP $CPPFLAGS'
36468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
36475 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
36476 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
36477 for ac_func in _ceilf _floorf
36478 do :
36479 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36480 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36481 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
36482 cat >>confdefs.h <<_ACEOF
36483 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36484 _ACEOF
36487 done
36497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
36498 $as_echo_n "checking for expf declaration... " >&6; }
36499 if test x${glibcxx_cv_func_expf_use+set} != xset; then
36500 if ${glibcxx_cv_func_expf_use+:} false; then :
36501 $as_echo_n "(cached) " >&6
36502 else
36505 ac_ext=cpp
36506 ac_cpp='$CXXCPP $CPPFLAGS'
36507 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36508 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36509 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36512 /* end confdefs.h. */
36513 #include <math.h>
36514 #ifdef HAVE_IEEEFP_H
36515 #include <ieeefp.h>
36516 #endif
36519 main ()
36521 expf(0);
36523 return 0;
36525 _ACEOF
36526 if ac_fn_cxx_try_compile "$LINENO"; then :
36527 glibcxx_cv_func_expf_use=yes
36528 else
36529 glibcxx_cv_func_expf_use=no
36531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36532 ac_ext=c
36533 ac_cpp='$CPP $CPPFLAGS'
36534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
36543 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
36545 if test x$glibcxx_cv_func_expf_use = x"yes"; then
36546 for ac_func in expf
36547 do :
36548 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
36549 if test "x$ac_cv_func_expf" = xyes; then :
36550 cat >>confdefs.h <<_ACEOF
36551 #define HAVE_EXPF 1
36552 _ACEOF
36555 done
36557 else
36559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
36560 $as_echo_n "checking for _expf declaration... " >&6; }
36561 if test x${glibcxx_cv_func__expf_use+set} != xset; then
36562 if ${glibcxx_cv_func__expf_use+:} false; then :
36563 $as_echo_n "(cached) " >&6
36564 else
36567 ac_ext=cpp
36568 ac_cpp='$CXXCPP $CPPFLAGS'
36569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36574 /* end confdefs.h. */
36575 #include <math.h>
36576 #ifdef HAVE_IEEEFP_H
36577 #include <ieeefp.h>
36578 #endif
36581 main ()
36583 _expf(0);
36585 return 0;
36587 _ACEOF
36588 if ac_fn_cxx_try_compile "$LINENO"; then :
36589 glibcxx_cv_func__expf_use=yes
36590 else
36591 glibcxx_cv_func__expf_use=no
36593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36594 ac_ext=c
36595 ac_cpp='$CPP $CPPFLAGS'
36596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
36605 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
36607 if test x$glibcxx_cv_func__expf_use = x"yes"; then
36608 for ac_func in _expf
36609 do :
36610 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
36611 if test "x$ac_cv_func__expf" = xyes; then :
36612 cat >>confdefs.h <<_ACEOF
36613 #define HAVE__EXPF 1
36614 _ACEOF
36617 done
36626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
36627 $as_echo_n "checking for isnanf declaration... " >&6; }
36628 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
36629 if ${glibcxx_cv_func_isnanf_use+:} false; then :
36630 $as_echo_n "(cached) " >&6
36631 else
36634 ac_ext=cpp
36635 ac_cpp='$CXXCPP $CPPFLAGS'
36636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36641 /* end confdefs.h. */
36642 #include <math.h>
36643 #ifdef HAVE_IEEEFP_H
36644 #include <ieeefp.h>
36645 #endif
36648 main ()
36650 isnanf(0);
36652 return 0;
36654 _ACEOF
36655 if ac_fn_cxx_try_compile "$LINENO"; then :
36656 glibcxx_cv_func_isnanf_use=yes
36657 else
36658 glibcxx_cv_func_isnanf_use=no
36660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36661 ac_ext=c
36662 ac_cpp='$CPP $CPPFLAGS'
36663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
36672 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
36674 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
36675 for ac_func in isnanf
36676 do :
36677 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
36678 if test "x$ac_cv_func_isnanf" = xyes; then :
36679 cat >>confdefs.h <<_ACEOF
36680 #define HAVE_ISNANF 1
36681 _ACEOF
36684 done
36686 else
36688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
36689 $as_echo_n "checking for _isnanf declaration... " >&6; }
36690 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
36691 if ${glibcxx_cv_func__isnanf_use+:} false; then :
36692 $as_echo_n "(cached) " >&6
36693 else
36696 ac_ext=cpp
36697 ac_cpp='$CXXCPP $CPPFLAGS'
36698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36703 /* end confdefs.h. */
36704 #include <math.h>
36705 #ifdef HAVE_IEEEFP_H
36706 #include <ieeefp.h>
36707 #endif
36710 main ()
36712 _isnanf(0);
36714 return 0;
36716 _ACEOF
36717 if ac_fn_cxx_try_compile "$LINENO"; then :
36718 glibcxx_cv_func__isnanf_use=yes
36719 else
36720 glibcxx_cv_func__isnanf_use=no
36722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36723 ac_ext=c
36724 ac_cpp='$CPP $CPPFLAGS'
36725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
36734 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
36736 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
36737 for ac_func in _isnanf
36738 do :
36739 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
36740 if test "x$ac_cv_func__isnanf" = xyes; then :
36741 cat >>confdefs.h <<_ACEOF
36742 #define HAVE__ISNANF 1
36743 _ACEOF
36746 done
36755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
36756 $as_echo_n "checking for isinff declaration... " >&6; }
36757 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
36758 if ${glibcxx_cv_func_isinff_use+:} false; then :
36759 $as_echo_n "(cached) " >&6
36760 else
36763 ac_ext=cpp
36764 ac_cpp='$CXXCPP $CPPFLAGS'
36765 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36766 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36767 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36770 /* end confdefs.h. */
36771 #include <math.h>
36772 #ifdef HAVE_IEEEFP_H
36773 #include <ieeefp.h>
36774 #endif
36777 main ()
36779 isinff(0);
36781 return 0;
36783 _ACEOF
36784 if ac_fn_cxx_try_compile "$LINENO"; then :
36785 glibcxx_cv_func_isinff_use=yes
36786 else
36787 glibcxx_cv_func_isinff_use=no
36789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36790 ac_ext=c
36791 ac_cpp='$CPP $CPPFLAGS'
36792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
36801 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
36803 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
36804 for ac_func in isinff
36805 do :
36806 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
36807 if test "x$ac_cv_func_isinff" = xyes; then :
36808 cat >>confdefs.h <<_ACEOF
36809 #define HAVE_ISINFF 1
36810 _ACEOF
36813 done
36815 else
36817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
36818 $as_echo_n "checking for _isinff declaration... " >&6; }
36819 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
36820 if ${glibcxx_cv_func__isinff_use+:} false; then :
36821 $as_echo_n "(cached) " >&6
36822 else
36825 ac_ext=cpp
36826 ac_cpp='$CXXCPP $CPPFLAGS'
36827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36832 /* end confdefs.h. */
36833 #include <math.h>
36834 #ifdef HAVE_IEEEFP_H
36835 #include <ieeefp.h>
36836 #endif
36839 main ()
36841 _isinff(0);
36843 return 0;
36845 _ACEOF
36846 if ac_fn_cxx_try_compile "$LINENO"; then :
36847 glibcxx_cv_func__isinff_use=yes
36848 else
36849 glibcxx_cv_func__isinff_use=no
36851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36852 ac_ext=c
36853 ac_cpp='$CPP $CPPFLAGS'
36854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
36863 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
36865 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
36866 for ac_func in _isinff
36867 do :
36868 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
36869 if test "x$ac_cv_func__isinff" = xyes; then :
36870 cat >>confdefs.h <<_ACEOF
36871 #define HAVE__ISINFF 1
36872 _ACEOF
36875 done
36884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
36885 $as_echo_n "checking for atan2f declaration... " >&6; }
36886 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
36887 if ${glibcxx_cv_func_atan2f_use+:} false; then :
36888 $as_echo_n "(cached) " >&6
36889 else
36892 ac_ext=cpp
36893 ac_cpp='$CXXCPP $CPPFLAGS'
36894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36899 /* end confdefs.h. */
36900 #include <math.h>
36902 main ()
36904 atan2f(0, 0);
36906 return 0;
36908 _ACEOF
36909 if ac_fn_cxx_try_compile "$LINENO"; then :
36910 glibcxx_cv_func_atan2f_use=yes
36911 else
36912 glibcxx_cv_func_atan2f_use=no
36914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36915 ac_ext=c
36916 ac_cpp='$CPP $CPPFLAGS'
36917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
36926 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
36928 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
36929 for ac_func in atan2f
36930 do :
36931 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
36932 if test "x$ac_cv_func_atan2f" = xyes; then :
36933 cat >>confdefs.h <<_ACEOF
36934 #define HAVE_ATAN2F 1
36935 _ACEOF
36938 done
36940 else
36942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
36943 $as_echo_n "checking for _atan2f declaration... " >&6; }
36944 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
36945 if ${glibcxx_cv_func__atan2f_use+:} false; then :
36946 $as_echo_n "(cached) " >&6
36947 else
36950 ac_ext=cpp
36951 ac_cpp='$CXXCPP $CPPFLAGS'
36952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36957 /* end confdefs.h. */
36958 #include <math.h>
36960 main ()
36962 _atan2f(0, 0);
36964 return 0;
36966 _ACEOF
36967 if ac_fn_cxx_try_compile "$LINENO"; then :
36968 glibcxx_cv_func__atan2f_use=yes
36969 else
36970 glibcxx_cv_func__atan2f_use=no
36972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36973 ac_ext=c
36974 ac_cpp='$CPP $CPPFLAGS'
36975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
36984 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
36986 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
36987 for ac_func in _atan2f
36988 do :
36989 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
36990 if test "x$ac_cv_func__atan2f" = xyes; then :
36991 cat >>confdefs.h <<_ACEOF
36992 #define HAVE__ATAN2F 1
36993 _ACEOF
36996 done
37005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
37006 $as_echo_n "checking for fabsf declaration... " >&6; }
37007 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
37008 if ${glibcxx_cv_func_fabsf_use+:} false; then :
37009 $as_echo_n "(cached) " >&6
37010 else
37013 ac_ext=cpp
37014 ac_cpp='$CXXCPP $CPPFLAGS'
37015 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37016 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37017 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37020 /* end confdefs.h. */
37021 #include <math.h>
37022 #ifdef HAVE_IEEEFP_H
37023 #include <ieeefp.h>
37024 #endif
37027 main ()
37029 fabsf(0);
37031 return 0;
37033 _ACEOF
37034 if ac_fn_cxx_try_compile "$LINENO"; then :
37035 glibcxx_cv_func_fabsf_use=yes
37036 else
37037 glibcxx_cv_func_fabsf_use=no
37039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37040 ac_ext=c
37041 ac_cpp='$CPP $CPPFLAGS'
37042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
37051 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
37053 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
37054 for ac_func in fabsf
37055 do :
37056 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
37057 if test "x$ac_cv_func_fabsf" = xyes; then :
37058 cat >>confdefs.h <<_ACEOF
37059 #define HAVE_FABSF 1
37060 _ACEOF
37063 done
37065 else
37067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
37068 $as_echo_n "checking for _fabsf declaration... " >&6; }
37069 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
37070 if ${glibcxx_cv_func__fabsf_use+:} false; then :
37071 $as_echo_n "(cached) " >&6
37072 else
37075 ac_ext=cpp
37076 ac_cpp='$CXXCPP $CPPFLAGS'
37077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37082 /* end confdefs.h. */
37083 #include <math.h>
37084 #ifdef HAVE_IEEEFP_H
37085 #include <ieeefp.h>
37086 #endif
37089 main ()
37091 _fabsf(0);
37093 return 0;
37095 _ACEOF
37096 if ac_fn_cxx_try_compile "$LINENO"; then :
37097 glibcxx_cv_func__fabsf_use=yes
37098 else
37099 glibcxx_cv_func__fabsf_use=no
37101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37102 ac_ext=c
37103 ac_cpp='$CPP $CPPFLAGS'
37104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
37113 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
37115 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
37116 for ac_func in _fabsf
37117 do :
37118 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
37119 if test "x$ac_cv_func__fabsf" = xyes; then :
37120 cat >>confdefs.h <<_ACEOF
37121 #define HAVE__FABSF 1
37122 _ACEOF
37125 done
37134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
37135 $as_echo_n "checking for fmodf declaration... " >&6; }
37136 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
37137 if ${glibcxx_cv_func_fmodf_use+:} false; then :
37138 $as_echo_n "(cached) " >&6
37139 else
37142 ac_ext=cpp
37143 ac_cpp='$CXXCPP $CPPFLAGS'
37144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37149 /* end confdefs.h. */
37150 #include <math.h>
37152 main ()
37154 fmodf(0, 0);
37156 return 0;
37158 _ACEOF
37159 if ac_fn_cxx_try_compile "$LINENO"; then :
37160 glibcxx_cv_func_fmodf_use=yes
37161 else
37162 glibcxx_cv_func_fmodf_use=no
37164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37165 ac_ext=c
37166 ac_cpp='$CPP $CPPFLAGS'
37167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
37176 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
37178 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
37179 for ac_func in fmodf
37180 do :
37181 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
37182 if test "x$ac_cv_func_fmodf" = xyes; then :
37183 cat >>confdefs.h <<_ACEOF
37184 #define HAVE_FMODF 1
37185 _ACEOF
37188 done
37190 else
37192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
37193 $as_echo_n "checking for _fmodf declaration... " >&6; }
37194 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
37195 if ${glibcxx_cv_func__fmodf_use+:} false; then :
37196 $as_echo_n "(cached) " >&6
37197 else
37200 ac_ext=cpp
37201 ac_cpp='$CXXCPP $CPPFLAGS'
37202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37207 /* end confdefs.h. */
37208 #include <math.h>
37210 main ()
37212 _fmodf(0, 0);
37214 return 0;
37216 _ACEOF
37217 if ac_fn_cxx_try_compile "$LINENO"; then :
37218 glibcxx_cv_func__fmodf_use=yes
37219 else
37220 glibcxx_cv_func__fmodf_use=no
37222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37223 ac_ext=c
37224 ac_cpp='$CPP $CPPFLAGS'
37225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
37234 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
37236 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
37237 for ac_func in _fmodf
37238 do :
37239 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
37240 if test "x$ac_cv_func__fmodf" = xyes; then :
37241 cat >>confdefs.h <<_ACEOF
37242 #define HAVE__FMODF 1
37243 _ACEOF
37246 done
37255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
37256 $as_echo_n "checking for frexpf declaration... " >&6; }
37257 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
37258 if ${glibcxx_cv_func_frexpf_use+:} false; then :
37259 $as_echo_n "(cached) " >&6
37260 else
37263 ac_ext=cpp
37264 ac_cpp='$CXXCPP $CPPFLAGS'
37265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37270 /* end confdefs.h. */
37271 #include <math.h>
37273 main ()
37275 frexpf(0, 0);
37277 return 0;
37279 _ACEOF
37280 if ac_fn_cxx_try_compile "$LINENO"; then :
37281 glibcxx_cv_func_frexpf_use=yes
37282 else
37283 glibcxx_cv_func_frexpf_use=no
37285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37286 ac_ext=c
37287 ac_cpp='$CPP $CPPFLAGS'
37288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
37297 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
37299 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
37300 for ac_func in frexpf
37301 do :
37302 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
37303 if test "x$ac_cv_func_frexpf" = xyes; then :
37304 cat >>confdefs.h <<_ACEOF
37305 #define HAVE_FREXPF 1
37306 _ACEOF
37309 done
37311 else
37313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
37314 $as_echo_n "checking for _frexpf declaration... " >&6; }
37315 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
37316 if ${glibcxx_cv_func__frexpf_use+:} false; then :
37317 $as_echo_n "(cached) " >&6
37318 else
37321 ac_ext=cpp
37322 ac_cpp='$CXXCPP $CPPFLAGS'
37323 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37324 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37325 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37328 /* end confdefs.h. */
37329 #include <math.h>
37331 main ()
37333 _frexpf(0, 0);
37335 return 0;
37337 _ACEOF
37338 if ac_fn_cxx_try_compile "$LINENO"; then :
37339 glibcxx_cv_func__frexpf_use=yes
37340 else
37341 glibcxx_cv_func__frexpf_use=no
37343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37344 ac_ext=c
37345 ac_cpp='$CPP $CPPFLAGS'
37346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
37355 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
37357 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
37358 for ac_func in _frexpf
37359 do :
37360 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
37361 if test "x$ac_cv_func__frexpf" = xyes; then :
37362 cat >>confdefs.h <<_ACEOF
37363 #define HAVE__FREXPF 1
37364 _ACEOF
37367 done
37376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
37377 $as_echo_n "checking for hypotf declaration... " >&6; }
37378 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
37379 if ${glibcxx_cv_func_hypotf_use+:} false; then :
37380 $as_echo_n "(cached) " >&6
37381 else
37384 ac_ext=cpp
37385 ac_cpp='$CXXCPP $CPPFLAGS'
37386 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37387 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37388 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37391 /* end confdefs.h. */
37392 #include <math.h>
37394 main ()
37396 hypotf(0, 0);
37398 return 0;
37400 _ACEOF
37401 if ac_fn_cxx_try_compile "$LINENO"; then :
37402 glibcxx_cv_func_hypotf_use=yes
37403 else
37404 glibcxx_cv_func_hypotf_use=no
37406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37407 ac_ext=c
37408 ac_cpp='$CPP $CPPFLAGS'
37409 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37410 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37411 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
37418 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
37420 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
37421 for ac_func in hypotf
37422 do :
37423 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
37424 if test "x$ac_cv_func_hypotf" = xyes; then :
37425 cat >>confdefs.h <<_ACEOF
37426 #define HAVE_HYPOTF 1
37427 _ACEOF
37430 done
37432 else
37434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
37435 $as_echo_n "checking for _hypotf declaration... " >&6; }
37436 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
37437 if ${glibcxx_cv_func__hypotf_use+:} false; then :
37438 $as_echo_n "(cached) " >&6
37439 else
37442 ac_ext=cpp
37443 ac_cpp='$CXXCPP $CPPFLAGS'
37444 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37445 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37446 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37449 /* end confdefs.h. */
37450 #include <math.h>
37452 main ()
37454 _hypotf(0, 0);
37456 return 0;
37458 _ACEOF
37459 if ac_fn_cxx_try_compile "$LINENO"; then :
37460 glibcxx_cv_func__hypotf_use=yes
37461 else
37462 glibcxx_cv_func__hypotf_use=no
37464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37465 ac_ext=c
37466 ac_cpp='$CPP $CPPFLAGS'
37467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
37476 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
37478 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
37479 for ac_func in _hypotf
37480 do :
37481 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
37482 if test "x$ac_cv_func__hypotf" = xyes; then :
37483 cat >>confdefs.h <<_ACEOF
37484 #define HAVE__HYPOTF 1
37485 _ACEOF
37488 done
37497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
37498 $as_echo_n "checking for ldexpf declaration... " >&6; }
37499 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
37500 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
37501 $as_echo_n "(cached) " >&6
37502 else
37505 ac_ext=cpp
37506 ac_cpp='$CXXCPP $CPPFLAGS'
37507 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37508 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37509 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37512 /* end confdefs.h. */
37513 #include <math.h>
37515 main ()
37517 ldexpf(0, 0);
37519 return 0;
37521 _ACEOF
37522 if ac_fn_cxx_try_compile "$LINENO"; then :
37523 glibcxx_cv_func_ldexpf_use=yes
37524 else
37525 glibcxx_cv_func_ldexpf_use=no
37527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37528 ac_ext=c
37529 ac_cpp='$CPP $CPPFLAGS'
37530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
37539 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
37541 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
37542 for ac_func in ldexpf
37543 do :
37544 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
37545 if test "x$ac_cv_func_ldexpf" = xyes; then :
37546 cat >>confdefs.h <<_ACEOF
37547 #define HAVE_LDEXPF 1
37548 _ACEOF
37551 done
37553 else
37555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
37556 $as_echo_n "checking for _ldexpf declaration... " >&6; }
37557 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
37558 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
37559 $as_echo_n "(cached) " >&6
37560 else
37563 ac_ext=cpp
37564 ac_cpp='$CXXCPP $CPPFLAGS'
37565 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37566 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37567 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37570 /* end confdefs.h. */
37571 #include <math.h>
37573 main ()
37575 _ldexpf(0, 0);
37577 return 0;
37579 _ACEOF
37580 if ac_fn_cxx_try_compile "$LINENO"; then :
37581 glibcxx_cv_func__ldexpf_use=yes
37582 else
37583 glibcxx_cv_func__ldexpf_use=no
37585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37586 ac_ext=c
37587 ac_cpp='$CPP $CPPFLAGS'
37588 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37589 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37590 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
37597 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
37599 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
37600 for ac_func in _ldexpf
37601 do :
37602 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
37603 if test "x$ac_cv_func__ldexpf" = xyes; then :
37604 cat >>confdefs.h <<_ACEOF
37605 #define HAVE__LDEXPF 1
37606 _ACEOF
37609 done
37618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
37619 $as_echo_n "checking for logf declaration... " >&6; }
37620 if test x${glibcxx_cv_func_logf_use+set} != xset; then
37621 if ${glibcxx_cv_func_logf_use+:} false; then :
37622 $as_echo_n "(cached) " >&6
37623 else
37626 ac_ext=cpp
37627 ac_cpp='$CXXCPP $CPPFLAGS'
37628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37633 /* end confdefs.h. */
37634 #include <math.h>
37635 #ifdef HAVE_IEEEFP_H
37636 #include <ieeefp.h>
37637 #endif
37640 main ()
37642 logf(0);
37644 return 0;
37646 _ACEOF
37647 if ac_fn_cxx_try_compile "$LINENO"; then :
37648 glibcxx_cv_func_logf_use=yes
37649 else
37650 glibcxx_cv_func_logf_use=no
37652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37653 ac_ext=c
37654 ac_cpp='$CPP $CPPFLAGS'
37655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
37664 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
37666 if test x$glibcxx_cv_func_logf_use = x"yes"; then
37667 for ac_func in logf
37668 do :
37669 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
37670 if test "x$ac_cv_func_logf" = xyes; then :
37671 cat >>confdefs.h <<_ACEOF
37672 #define HAVE_LOGF 1
37673 _ACEOF
37676 done
37678 else
37680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
37681 $as_echo_n "checking for _logf declaration... " >&6; }
37682 if test x${glibcxx_cv_func__logf_use+set} != xset; then
37683 if ${glibcxx_cv_func__logf_use+:} false; then :
37684 $as_echo_n "(cached) " >&6
37685 else
37688 ac_ext=cpp
37689 ac_cpp='$CXXCPP $CPPFLAGS'
37690 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37691 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37692 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37695 /* end confdefs.h. */
37696 #include <math.h>
37697 #ifdef HAVE_IEEEFP_H
37698 #include <ieeefp.h>
37699 #endif
37702 main ()
37704 _logf(0);
37706 return 0;
37708 _ACEOF
37709 if ac_fn_cxx_try_compile "$LINENO"; then :
37710 glibcxx_cv_func__logf_use=yes
37711 else
37712 glibcxx_cv_func__logf_use=no
37714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37715 ac_ext=c
37716 ac_cpp='$CPP $CPPFLAGS'
37717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
37726 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
37728 if test x$glibcxx_cv_func__logf_use = x"yes"; then
37729 for ac_func in _logf
37730 do :
37731 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
37732 if test "x$ac_cv_func__logf" = xyes; then :
37733 cat >>confdefs.h <<_ACEOF
37734 #define HAVE__LOGF 1
37735 _ACEOF
37738 done
37747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
37748 $as_echo_n "checking for log10f declaration... " >&6; }
37749 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
37750 if ${glibcxx_cv_func_log10f_use+:} false; then :
37751 $as_echo_n "(cached) " >&6
37752 else
37755 ac_ext=cpp
37756 ac_cpp='$CXXCPP $CPPFLAGS'
37757 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37758 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37759 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37762 /* end confdefs.h. */
37763 #include <math.h>
37764 #ifdef HAVE_IEEEFP_H
37765 #include <ieeefp.h>
37766 #endif
37769 main ()
37771 log10f(0);
37773 return 0;
37775 _ACEOF
37776 if ac_fn_cxx_try_compile "$LINENO"; then :
37777 glibcxx_cv_func_log10f_use=yes
37778 else
37779 glibcxx_cv_func_log10f_use=no
37781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37782 ac_ext=c
37783 ac_cpp='$CPP $CPPFLAGS'
37784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
37793 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
37795 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
37796 for ac_func in log10f
37797 do :
37798 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
37799 if test "x$ac_cv_func_log10f" = xyes; then :
37800 cat >>confdefs.h <<_ACEOF
37801 #define HAVE_LOG10F 1
37802 _ACEOF
37805 done
37807 else
37809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
37810 $as_echo_n "checking for _log10f declaration... " >&6; }
37811 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
37812 if ${glibcxx_cv_func__log10f_use+:} false; then :
37813 $as_echo_n "(cached) " >&6
37814 else
37817 ac_ext=cpp
37818 ac_cpp='$CXXCPP $CPPFLAGS'
37819 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37820 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37821 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37824 /* end confdefs.h. */
37825 #include <math.h>
37826 #ifdef HAVE_IEEEFP_H
37827 #include <ieeefp.h>
37828 #endif
37831 main ()
37833 _log10f(0);
37835 return 0;
37837 _ACEOF
37838 if ac_fn_cxx_try_compile "$LINENO"; then :
37839 glibcxx_cv_func__log10f_use=yes
37840 else
37841 glibcxx_cv_func__log10f_use=no
37843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37844 ac_ext=c
37845 ac_cpp='$CPP $CPPFLAGS'
37846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
37855 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
37857 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
37858 for ac_func in _log10f
37859 do :
37860 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
37861 if test "x$ac_cv_func__log10f" = xyes; then :
37862 cat >>confdefs.h <<_ACEOF
37863 #define HAVE__LOG10F 1
37864 _ACEOF
37867 done
37876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
37877 $as_echo_n "checking for modff declaration... " >&6; }
37878 if test x${glibcxx_cv_func_modff_use+set} != xset; then
37879 if ${glibcxx_cv_func_modff_use+:} false; then :
37880 $as_echo_n "(cached) " >&6
37881 else
37884 ac_ext=cpp
37885 ac_cpp='$CXXCPP $CPPFLAGS'
37886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37887 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37891 /* end confdefs.h. */
37892 #include <math.h>
37894 main ()
37896 modff(0, 0);
37898 return 0;
37900 _ACEOF
37901 if ac_fn_cxx_try_compile "$LINENO"; then :
37902 glibcxx_cv_func_modff_use=yes
37903 else
37904 glibcxx_cv_func_modff_use=no
37906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37907 ac_ext=c
37908 ac_cpp='$CPP $CPPFLAGS'
37909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
37918 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
37920 if test x$glibcxx_cv_func_modff_use = x"yes"; then
37921 for ac_func in modff
37922 do :
37923 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
37924 if test "x$ac_cv_func_modff" = xyes; then :
37925 cat >>confdefs.h <<_ACEOF
37926 #define HAVE_MODFF 1
37927 _ACEOF
37930 done
37932 else
37934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
37935 $as_echo_n "checking for _modff declaration... " >&6; }
37936 if test x${glibcxx_cv_func__modff_use+set} != xset; then
37937 if ${glibcxx_cv_func__modff_use+:} false; then :
37938 $as_echo_n "(cached) " >&6
37939 else
37942 ac_ext=cpp
37943 ac_cpp='$CXXCPP $CPPFLAGS'
37944 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37945 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37946 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37949 /* end confdefs.h. */
37950 #include <math.h>
37952 main ()
37954 _modff(0, 0);
37956 return 0;
37958 _ACEOF
37959 if ac_fn_cxx_try_compile "$LINENO"; then :
37960 glibcxx_cv_func__modff_use=yes
37961 else
37962 glibcxx_cv_func__modff_use=no
37964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37965 ac_ext=c
37966 ac_cpp='$CPP $CPPFLAGS'
37967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
37976 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
37978 if test x$glibcxx_cv_func__modff_use = x"yes"; then
37979 for ac_func in _modff
37980 do :
37981 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
37982 if test "x$ac_cv_func__modff" = xyes; then :
37983 cat >>confdefs.h <<_ACEOF
37984 #define HAVE__MODFF 1
37985 _ACEOF
37988 done
37997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
37998 $as_echo_n "checking for modf declaration... " >&6; }
37999 if test x${glibcxx_cv_func_modf_use+set} != xset; then
38000 if ${glibcxx_cv_func_modf_use+:} false; then :
38001 $as_echo_n "(cached) " >&6
38002 else
38005 ac_ext=cpp
38006 ac_cpp='$CXXCPP $CPPFLAGS'
38007 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38008 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38009 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38012 /* end confdefs.h. */
38013 #include <math.h>
38015 main ()
38017 modf(0, 0);
38019 return 0;
38021 _ACEOF
38022 if ac_fn_cxx_try_compile "$LINENO"; then :
38023 glibcxx_cv_func_modf_use=yes
38024 else
38025 glibcxx_cv_func_modf_use=no
38027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38028 ac_ext=c
38029 ac_cpp='$CPP $CPPFLAGS'
38030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
38039 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
38041 if test x$glibcxx_cv_func_modf_use = x"yes"; then
38042 for ac_func in modf
38043 do :
38044 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
38045 if test "x$ac_cv_func_modf" = xyes; then :
38046 cat >>confdefs.h <<_ACEOF
38047 #define HAVE_MODF 1
38048 _ACEOF
38051 done
38053 else
38055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
38056 $as_echo_n "checking for _modf declaration... " >&6; }
38057 if test x${glibcxx_cv_func__modf_use+set} != xset; then
38058 if ${glibcxx_cv_func__modf_use+:} false; then :
38059 $as_echo_n "(cached) " >&6
38060 else
38063 ac_ext=cpp
38064 ac_cpp='$CXXCPP $CPPFLAGS'
38065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38070 /* end confdefs.h. */
38071 #include <math.h>
38073 main ()
38075 _modf(0, 0);
38077 return 0;
38079 _ACEOF
38080 if ac_fn_cxx_try_compile "$LINENO"; then :
38081 glibcxx_cv_func__modf_use=yes
38082 else
38083 glibcxx_cv_func__modf_use=no
38085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38086 ac_ext=c
38087 ac_cpp='$CPP $CPPFLAGS'
38088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
38097 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
38099 if test x$glibcxx_cv_func__modf_use = x"yes"; then
38100 for ac_func in _modf
38101 do :
38102 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
38103 if test "x$ac_cv_func__modf" = xyes; then :
38104 cat >>confdefs.h <<_ACEOF
38105 #define HAVE__MODF 1
38106 _ACEOF
38109 done
38118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
38119 $as_echo_n "checking for powf declaration... " >&6; }
38120 if test x${glibcxx_cv_func_powf_use+set} != xset; then
38121 if ${glibcxx_cv_func_powf_use+:} false; then :
38122 $as_echo_n "(cached) " >&6
38123 else
38126 ac_ext=cpp
38127 ac_cpp='$CXXCPP $CPPFLAGS'
38128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38133 /* end confdefs.h. */
38134 #include <math.h>
38136 main ()
38138 powf(0, 0);
38140 return 0;
38142 _ACEOF
38143 if ac_fn_cxx_try_compile "$LINENO"; then :
38144 glibcxx_cv_func_powf_use=yes
38145 else
38146 glibcxx_cv_func_powf_use=no
38148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38149 ac_ext=c
38150 ac_cpp='$CPP $CPPFLAGS'
38151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
38160 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
38162 if test x$glibcxx_cv_func_powf_use = x"yes"; then
38163 for ac_func in powf
38164 do :
38165 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
38166 if test "x$ac_cv_func_powf" = xyes; then :
38167 cat >>confdefs.h <<_ACEOF
38168 #define HAVE_POWF 1
38169 _ACEOF
38172 done
38174 else
38176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
38177 $as_echo_n "checking for _powf declaration... " >&6; }
38178 if test x${glibcxx_cv_func__powf_use+set} != xset; then
38179 if ${glibcxx_cv_func__powf_use+:} false; then :
38180 $as_echo_n "(cached) " >&6
38181 else
38184 ac_ext=cpp
38185 ac_cpp='$CXXCPP $CPPFLAGS'
38186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38191 /* end confdefs.h. */
38192 #include <math.h>
38194 main ()
38196 _powf(0, 0);
38198 return 0;
38200 _ACEOF
38201 if ac_fn_cxx_try_compile "$LINENO"; then :
38202 glibcxx_cv_func__powf_use=yes
38203 else
38204 glibcxx_cv_func__powf_use=no
38206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38207 ac_ext=c
38208 ac_cpp='$CPP $CPPFLAGS'
38209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
38218 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
38220 if test x$glibcxx_cv_func__powf_use = x"yes"; then
38221 for ac_func in _powf
38222 do :
38223 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
38224 if test "x$ac_cv_func__powf" = xyes; then :
38225 cat >>confdefs.h <<_ACEOF
38226 #define HAVE__POWF 1
38227 _ACEOF
38230 done
38239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
38240 $as_echo_n "checking for sqrtf declaration... " >&6; }
38241 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
38242 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
38243 $as_echo_n "(cached) " >&6
38244 else
38247 ac_ext=cpp
38248 ac_cpp='$CXXCPP $CPPFLAGS'
38249 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38250 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38251 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38254 /* end confdefs.h. */
38255 #include <math.h>
38256 #ifdef HAVE_IEEEFP_H
38257 #include <ieeefp.h>
38258 #endif
38261 main ()
38263 sqrtf(0);
38265 return 0;
38267 _ACEOF
38268 if ac_fn_cxx_try_compile "$LINENO"; then :
38269 glibcxx_cv_func_sqrtf_use=yes
38270 else
38271 glibcxx_cv_func_sqrtf_use=no
38273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38274 ac_ext=c
38275 ac_cpp='$CPP $CPPFLAGS'
38276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
38285 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
38287 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
38288 for ac_func in sqrtf
38289 do :
38290 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
38291 if test "x$ac_cv_func_sqrtf" = xyes; then :
38292 cat >>confdefs.h <<_ACEOF
38293 #define HAVE_SQRTF 1
38294 _ACEOF
38297 done
38299 else
38301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
38302 $as_echo_n "checking for _sqrtf declaration... " >&6; }
38303 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
38304 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
38305 $as_echo_n "(cached) " >&6
38306 else
38309 ac_ext=cpp
38310 ac_cpp='$CXXCPP $CPPFLAGS'
38311 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38312 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38313 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38316 /* end confdefs.h. */
38317 #include <math.h>
38318 #ifdef HAVE_IEEEFP_H
38319 #include <ieeefp.h>
38320 #endif
38323 main ()
38325 _sqrtf(0);
38327 return 0;
38329 _ACEOF
38330 if ac_fn_cxx_try_compile "$LINENO"; then :
38331 glibcxx_cv_func__sqrtf_use=yes
38332 else
38333 glibcxx_cv_func__sqrtf_use=no
38335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38336 ac_ext=c
38337 ac_cpp='$CPP $CPPFLAGS'
38338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
38347 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
38349 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
38350 for ac_func in _sqrtf
38351 do :
38352 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
38353 if test "x$ac_cv_func__sqrtf" = xyes; then :
38354 cat >>confdefs.h <<_ACEOF
38355 #define HAVE__SQRTF 1
38356 _ACEOF
38359 done
38368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
38369 $as_echo_n "checking for sincosf declaration... " >&6; }
38370 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
38371 if ${glibcxx_cv_func_sincosf_use+:} false; then :
38372 $as_echo_n "(cached) " >&6
38373 else
38376 ac_ext=cpp
38377 ac_cpp='$CXXCPP $CPPFLAGS'
38378 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38379 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38380 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38383 /* end confdefs.h. */
38384 #include <math.h>
38386 main ()
38388 sincosf(0, 0, 0);
38390 return 0;
38392 _ACEOF
38393 if ac_fn_cxx_try_compile "$LINENO"; then :
38394 glibcxx_cv_func_sincosf_use=yes
38395 else
38396 glibcxx_cv_func_sincosf_use=no
38398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38399 ac_ext=c
38400 ac_cpp='$CPP $CPPFLAGS'
38401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
38410 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
38412 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
38413 for ac_func in sincosf
38414 do :
38415 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
38416 if test "x$ac_cv_func_sincosf" = xyes; then :
38417 cat >>confdefs.h <<_ACEOF
38418 #define HAVE_SINCOSF 1
38419 _ACEOF
38422 done
38424 else
38426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
38427 $as_echo_n "checking for _sincosf declaration... " >&6; }
38428 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
38429 if ${glibcxx_cv_func__sincosf_use+:} false; then :
38430 $as_echo_n "(cached) " >&6
38431 else
38434 ac_ext=cpp
38435 ac_cpp='$CXXCPP $CPPFLAGS'
38436 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38437 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38438 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38441 /* end confdefs.h. */
38442 #include <math.h>
38444 main ()
38446 _sincosf(0, 0, 0);
38448 return 0;
38450 _ACEOF
38451 if ac_fn_cxx_try_compile "$LINENO"; then :
38452 glibcxx_cv_func__sincosf_use=yes
38453 else
38454 glibcxx_cv_func__sincosf_use=no
38456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38457 ac_ext=c
38458 ac_cpp='$CPP $CPPFLAGS'
38459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
38468 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
38470 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
38471 for ac_func in _sincosf
38472 do :
38473 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
38474 if test "x$ac_cv_func__sincosf" = xyes; then :
38475 cat >>confdefs.h <<_ACEOF
38476 #define HAVE__SINCOSF 1
38477 _ACEOF
38480 done
38489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
38490 $as_echo_n "checking for finitef declaration... " >&6; }
38491 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
38492 if ${glibcxx_cv_func_finitef_use+:} false; then :
38493 $as_echo_n "(cached) " >&6
38494 else
38497 ac_ext=cpp
38498 ac_cpp='$CXXCPP $CPPFLAGS'
38499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38504 /* end confdefs.h. */
38505 #include <math.h>
38506 #ifdef HAVE_IEEEFP_H
38507 #include <ieeefp.h>
38508 #endif
38511 main ()
38513 finitef(0);
38515 return 0;
38517 _ACEOF
38518 if ac_fn_cxx_try_compile "$LINENO"; then :
38519 glibcxx_cv_func_finitef_use=yes
38520 else
38521 glibcxx_cv_func_finitef_use=no
38523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38524 ac_ext=c
38525 ac_cpp='$CPP $CPPFLAGS'
38526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
38535 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
38537 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
38538 for ac_func in finitef
38539 do :
38540 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
38541 if test "x$ac_cv_func_finitef" = xyes; then :
38542 cat >>confdefs.h <<_ACEOF
38543 #define HAVE_FINITEF 1
38544 _ACEOF
38547 done
38549 else
38551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
38552 $as_echo_n "checking for _finitef declaration... " >&6; }
38553 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
38554 if ${glibcxx_cv_func__finitef_use+:} false; then :
38555 $as_echo_n "(cached) " >&6
38556 else
38559 ac_ext=cpp
38560 ac_cpp='$CXXCPP $CPPFLAGS'
38561 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38562 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38563 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38566 /* end confdefs.h. */
38567 #include <math.h>
38568 #ifdef HAVE_IEEEFP_H
38569 #include <ieeefp.h>
38570 #endif
38573 main ()
38575 _finitef(0);
38577 return 0;
38579 _ACEOF
38580 if ac_fn_cxx_try_compile "$LINENO"; then :
38581 glibcxx_cv_func__finitef_use=yes
38582 else
38583 glibcxx_cv_func__finitef_use=no
38585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38586 ac_ext=c
38587 ac_cpp='$CPP $CPPFLAGS'
38588 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38589 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38590 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
38597 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
38599 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
38600 for ac_func in _finitef
38601 do :
38602 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
38603 if test "x$ac_cv_func__finitef" = xyes; then :
38604 cat >>confdefs.h <<_ACEOF
38605 #define HAVE__FINITEF 1
38606 _ACEOF
38609 done
38618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
38619 $as_echo_n "checking for long double trig functions... " >&6; }
38620 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
38621 $as_echo_n "(cached) " >&6
38622 else
38625 ac_ext=cpp
38626 ac_cpp='$CXXCPP $CPPFLAGS'
38627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38632 /* end confdefs.h. */
38633 #include <math.h>
38635 main ()
38637 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
38639 return 0;
38641 _ACEOF
38642 if ac_fn_cxx_try_compile "$LINENO"; then :
38643 glibcxx_cv_func_long_double_trig_use=yes
38644 else
38645 glibcxx_cv_func_long_double_trig_use=no
38647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38648 ac_ext=c
38649 ac_cpp='$CPP $CPPFLAGS'
38650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
38657 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
38658 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
38659 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
38660 do :
38661 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38662 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38663 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
38664 cat >>confdefs.h <<_ACEOF
38665 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38666 _ACEOF
38669 done
38671 else
38672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
38673 $as_echo_n "checking for _long double trig functions... " >&6; }
38674 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
38675 $as_echo_n "(cached) " >&6
38676 else
38679 ac_ext=cpp
38680 ac_cpp='$CXXCPP $CPPFLAGS'
38681 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38682 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38683 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38686 /* end confdefs.h. */
38687 #include <math.h>
38689 main ()
38691 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
38693 return 0;
38695 _ACEOF
38696 if ac_fn_cxx_try_compile "$LINENO"; then :
38697 glibcxx_cv_func__long_double_trig_use=yes
38698 else
38699 glibcxx_cv_func__long_double_trig_use=no
38701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38702 ac_ext=c
38703 ac_cpp='$CPP $CPPFLAGS'
38704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
38711 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
38712 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
38713 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
38714 do :
38715 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38716 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38717 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
38718 cat >>confdefs.h <<_ACEOF
38719 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38720 _ACEOF
38723 done
38732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
38733 $as_echo_n "checking for long double round functions... " >&6; }
38734 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
38735 $as_echo_n "(cached) " >&6
38736 else
38739 ac_ext=cpp
38740 ac_cpp='$CXXCPP $CPPFLAGS'
38741 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38742 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38743 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38746 /* end confdefs.h. */
38747 #include <math.h>
38749 main ()
38751 ceill (0); floorl (0);
38753 return 0;
38755 _ACEOF
38756 if ac_fn_cxx_try_compile "$LINENO"; then :
38757 glibcxx_cv_func_long_double_round_use=yes
38758 else
38759 glibcxx_cv_func_long_double_round_use=no
38761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38762 ac_ext=c
38763 ac_cpp='$CPP $CPPFLAGS'
38764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
38771 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
38772 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
38773 for ac_func in ceill floorl
38774 do :
38775 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38776 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38777 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
38778 cat >>confdefs.h <<_ACEOF
38779 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38780 _ACEOF
38783 done
38785 else
38786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
38787 $as_echo_n "checking for _long double round functions... " >&6; }
38788 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
38789 $as_echo_n "(cached) " >&6
38790 else
38793 ac_ext=cpp
38794 ac_cpp='$CXXCPP $CPPFLAGS'
38795 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38796 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38797 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38800 /* end confdefs.h. */
38801 #include <math.h>
38803 main ()
38805 _ceill (0); _floorl (0);
38807 return 0;
38809 _ACEOF
38810 if ac_fn_cxx_try_compile "$LINENO"; then :
38811 glibcxx_cv_func__long_double_round_use=yes
38812 else
38813 glibcxx_cv_func__long_double_round_use=no
38815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38816 ac_ext=c
38817 ac_cpp='$CPP $CPPFLAGS'
38818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
38825 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
38826 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
38827 for ac_func in _ceill _floorl
38828 do :
38829 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38830 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38831 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
38832 cat >>confdefs.h <<_ACEOF
38833 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38834 _ACEOF
38837 done
38847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
38848 $as_echo_n "checking for isnanl declaration... " >&6; }
38849 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
38850 if ${glibcxx_cv_func_isnanl_use+:} false; then :
38851 $as_echo_n "(cached) " >&6
38852 else
38855 ac_ext=cpp
38856 ac_cpp='$CXXCPP $CPPFLAGS'
38857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38862 /* end confdefs.h. */
38863 #include <math.h>
38864 #ifdef HAVE_IEEEFP_H
38865 #include <ieeefp.h>
38866 #endif
38869 main ()
38871 isnanl(0);
38873 return 0;
38875 _ACEOF
38876 if ac_fn_cxx_try_compile "$LINENO"; then :
38877 glibcxx_cv_func_isnanl_use=yes
38878 else
38879 glibcxx_cv_func_isnanl_use=no
38881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38882 ac_ext=c
38883 ac_cpp='$CPP $CPPFLAGS'
38884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
38893 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
38895 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
38896 for ac_func in isnanl
38897 do :
38898 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
38899 if test "x$ac_cv_func_isnanl" = xyes; then :
38900 cat >>confdefs.h <<_ACEOF
38901 #define HAVE_ISNANL 1
38902 _ACEOF
38905 done
38907 else
38909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
38910 $as_echo_n "checking for _isnanl declaration... " >&6; }
38911 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
38912 if ${glibcxx_cv_func__isnanl_use+:} false; then :
38913 $as_echo_n "(cached) " >&6
38914 else
38917 ac_ext=cpp
38918 ac_cpp='$CXXCPP $CPPFLAGS'
38919 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38920 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38921 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38924 /* end confdefs.h. */
38925 #include <math.h>
38926 #ifdef HAVE_IEEEFP_H
38927 #include <ieeefp.h>
38928 #endif
38931 main ()
38933 _isnanl(0);
38935 return 0;
38937 _ACEOF
38938 if ac_fn_cxx_try_compile "$LINENO"; then :
38939 glibcxx_cv_func__isnanl_use=yes
38940 else
38941 glibcxx_cv_func__isnanl_use=no
38943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38944 ac_ext=c
38945 ac_cpp='$CPP $CPPFLAGS'
38946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
38955 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
38957 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
38958 for ac_func in _isnanl
38959 do :
38960 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
38961 if test "x$ac_cv_func__isnanl" = xyes; then :
38962 cat >>confdefs.h <<_ACEOF
38963 #define HAVE__ISNANL 1
38964 _ACEOF
38967 done
38976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
38977 $as_echo_n "checking for isinfl declaration... " >&6; }
38978 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
38979 if ${glibcxx_cv_func_isinfl_use+:} false; then :
38980 $as_echo_n "(cached) " >&6
38981 else
38984 ac_ext=cpp
38985 ac_cpp='$CXXCPP $CPPFLAGS'
38986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38991 /* end confdefs.h. */
38992 #include <math.h>
38993 #ifdef HAVE_IEEEFP_H
38994 #include <ieeefp.h>
38995 #endif
38998 main ()
39000 isinfl(0);
39002 return 0;
39004 _ACEOF
39005 if ac_fn_cxx_try_compile "$LINENO"; then :
39006 glibcxx_cv_func_isinfl_use=yes
39007 else
39008 glibcxx_cv_func_isinfl_use=no
39010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39011 ac_ext=c
39012 ac_cpp='$CPP $CPPFLAGS'
39013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
39022 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
39024 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
39025 for ac_func in isinfl
39026 do :
39027 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
39028 if test "x$ac_cv_func_isinfl" = xyes; then :
39029 cat >>confdefs.h <<_ACEOF
39030 #define HAVE_ISINFL 1
39031 _ACEOF
39034 done
39036 else
39038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
39039 $as_echo_n "checking for _isinfl declaration... " >&6; }
39040 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
39041 if ${glibcxx_cv_func__isinfl_use+:} false; then :
39042 $as_echo_n "(cached) " >&6
39043 else
39046 ac_ext=cpp
39047 ac_cpp='$CXXCPP $CPPFLAGS'
39048 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39049 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39050 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39053 /* end confdefs.h. */
39054 #include <math.h>
39055 #ifdef HAVE_IEEEFP_H
39056 #include <ieeefp.h>
39057 #endif
39060 main ()
39062 _isinfl(0);
39064 return 0;
39066 _ACEOF
39067 if ac_fn_cxx_try_compile "$LINENO"; then :
39068 glibcxx_cv_func__isinfl_use=yes
39069 else
39070 glibcxx_cv_func__isinfl_use=no
39072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39073 ac_ext=c
39074 ac_cpp='$CPP $CPPFLAGS'
39075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
39084 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
39086 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
39087 for ac_func in _isinfl
39088 do :
39089 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
39090 if test "x$ac_cv_func__isinfl" = xyes; then :
39091 cat >>confdefs.h <<_ACEOF
39092 #define HAVE__ISINFL 1
39093 _ACEOF
39096 done
39105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
39106 $as_echo_n "checking for atan2l declaration... " >&6; }
39107 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
39108 if ${glibcxx_cv_func_atan2l_use+:} false; then :
39109 $as_echo_n "(cached) " >&6
39110 else
39113 ac_ext=cpp
39114 ac_cpp='$CXXCPP $CPPFLAGS'
39115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39120 /* end confdefs.h. */
39121 #include <math.h>
39123 main ()
39125 atan2l(0, 0);
39127 return 0;
39129 _ACEOF
39130 if ac_fn_cxx_try_compile "$LINENO"; then :
39131 glibcxx_cv_func_atan2l_use=yes
39132 else
39133 glibcxx_cv_func_atan2l_use=no
39135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39136 ac_ext=c
39137 ac_cpp='$CPP $CPPFLAGS'
39138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
39147 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
39149 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
39150 for ac_func in atan2l
39151 do :
39152 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
39153 if test "x$ac_cv_func_atan2l" = xyes; then :
39154 cat >>confdefs.h <<_ACEOF
39155 #define HAVE_ATAN2L 1
39156 _ACEOF
39159 done
39161 else
39163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
39164 $as_echo_n "checking for _atan2l declaration... " >&6; }
39165 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
39166 if ${glibcxx_cv_func__atan2l_use+:} false; then :
39167 $as_echo_n "(cached) " >&6
39168 else
39171 ac_ext=cpp
39172 ac_cpp='$CXXCPP $CPPFLAGS'
39173 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39174 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39175 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39178 /* end confdefs.h. */
39179 #include <math.h>
39181 main ()
39183 _atan2l(0, 0);
39185 return 0;
39187 _ACEOF
39188 if ac_fn_cxx_try_compile "$LINENO"; then :
39189 glibcxx_cv_func__atan2l_use=yes
39190 else
39191 glibcxx_cv_func__atan2l_use=no
39193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39194 ac_ext=c
39195 ac_cpp='$CPP $CPPFLAGS'
39196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
39205 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
39207 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
39208 for ac_func in _atan2l
39209 do :
39210 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
39211 if test "x$ac_cv_func__atan2l" = xyes; then :
39212 cat >>confdefs.h <<_ACEOF
39213 #define HAVE__ATAN2L 1
39214 _ACEOF
39217 done
39226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
39227 $as_echo_n "checking for expl declaration... " >&6; }
39228 if test x${glibcxx_cv_func_expl_use+set} != xset; then
39229 if ${glibcxx_cv_func_expl_use+:} false; then :
39230 $as_echo_n "(cached) " >&6
39231 else
39234 ac_ext=cpp
39235 ac_cpp='$CXXCPP $CPPFLAGS'
39236 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39237 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39238 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39241 /* end confdefs.h. */
39242 #include <math.h>
39243 #ifdef HAVE_IEEEFP_H
39244 #include <ieeefp.h>
39245 #endif
39248 main ()
39250 expl(0);
39252 return 0;
39254 _ACEOF
39255 if ac_fn_cxx_try_compile "$LINENO"; then :
39256 glibcxx_cv_func_expl_use=yes
39257 else
39258 glibcxx_cv_func_expl_use=no
39260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39261 ac_ext=c
39262 ac_cpp='$CPP $CPPFLAGS'
39263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
39272 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
39274 if test x$glibcxx_cv_func_expl_use = x"yes"; then
39275 for ac_func in expl
39276 do :
39277 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
39278 if test "x$ac_cv_func_expl" = xyes; then :
39279 cat >>confdefs.h <<_ACEOF
39280 #define HAVE_EXPL 1
39281 _ACEOF
39284 done
39286 else
39288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
39289 $as_echo_n "checking for _expl declaration... " >&6; }
39290 if test x${glibcxx_cv_func__expl_use+set} != xset; then
39291 if ${glibcxx_cv_func__expl_use+:} false; then :
39292 $as_echo_n "(cached) " >&6
39293 else
39296 ac_ext=cpp
39297 ac_cpp='$CXXCPP $CPPFLAGS'
39298 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39299 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39300 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39303 /* end confdefs.h. */
39304 #include <math.h>
39305 #ifdef HAVE_IEEEFP_H
39306 #include <ieeefp.h>
39307 #endif
39310 main ()
39312 _expl(0);
39314 return 0;
39316 _ACEOF
39317 if ac_fn_cxx_try_compile "$LINENO"; then :
39318 glibcxx_cv_func__expl_use=yes
39319 else
39320 glibcxx_cv_func__expl_use=no
39322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39323 ac_ext=c
39324 ac_cpp='$CPP $CPPFLAGS'
39325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
39334 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
39336 if test x$glibcxx_cv_func__expl_use = x"yes"; then
39337 for ac_func in _expl
39338 do :
39339 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
39340 if test "x$ac_cv_func__expl" = xyes; then :
39341 cat >>confdefs.h <<_ACEOF
39342 #define HAVE__EXPL 1
39343 _ACEOF
39346 done
39355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
39356 $as_echo_n "checking for fabsl declaration... " >&6; }
39357 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
39358 if ${glibcxx_cv_func_fabsl_use+:} false; then :
39359 $as_echo_n "(cached) " >&6
39360 else
39363 ac_ext=cpp
39364 ac_cpp='$CXXCPP $CPPFLAGS'
39365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39370 /* end confdefs.h. */
39371 #include <math.h>
39372 #ifdef HAVE_IEEEFP_H
39373 #include <ieeefp.h>
39374 #endif
39377 main ()
39379 fabsl(0);
39381 return 0;
39383 _ACEOF
39384 if ac_fn_cxx_try_compile "$LINENO"; then :
39385 glibcxx_cv_func_fabsl_use=yes
39386 else
39387 glibcxx_cv_func_fabsl_use=no
39389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39390 ac_ext=c
39391 ac_cpp='$CPP $CPPFLAGS'
39392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
39401 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
39403 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
39404 for ac_func in fabsl
39405 do :
39406 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
39407 if test "x$ac_cv_func_fabsl" = xyes; then :
39408 cat >>confdefs.h <<_ACEOF
39409 #define HAVE_FABSL 1
39410 _ACEOF
39413 done
39415 else
39417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
39418 $as_echo_n "checking for _fabsl declaration... " >&6; }
39419 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
39420 if ${glibcxx_cv_func__fabsl_use+:} false; then :
39421 $as_echo_n "(cached) " >&6
39422 else
39425 ac_ext=cpp
39426 ac_cpp='$CXXCPP $CPPFLAGS'
39427 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39428 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39429 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39432 /* end confdefs.h. */
39433 #include <math.h>
39434 #ifdef HAVE_IEEEFP_H
39435 #include <ieeefp.h>
39436 #endif
39439 main ()
39441 _fabsl(0);
39443 return 0;
39445 _ACEOF
39446 if ac_fn_cxx_try_compile "$LINENO"; then :
39447 glibcxx_cv_func__fabsl_use=yes
39448 else
39449 glibcxx_cv_func__fabsl_use=no
39451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39452 ac_ext=c
39453 ac_cpp='$CPP $CPPFLAGS'
39454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
39463 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
39465 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
39466 for ac_func in _fabsl
39467 do :
39468 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
39469 if test "x$ac_cv_func__fabsl" = xyes; then :
39470 cat >>confdefs.h <<_ACEOF
39471 #define HAVE__FABSL 1
39472 _ACEOF
39475 done
39484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
39485 $as_echo_n "checking for fmodl declaration... " >&6; }
39486 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
39487 if ${glibcxx_cv_func_fmodl_use+:} false; then :
39488 $as_echo_n "(cached) " >&6
39489 else
39492 ac_ext=cpp
39493 ac_cpp='$CXXCPP $CPPFLAGS'
39494 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39495 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39496 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39499 /* end confdefs.h. */
39500 #include <math.h>
39502 main ()
39504 fmodl(0, 0);
39506 return 0;
39508 _ACEOF
39509 if ac_fn_cxx_try_compile "$LINENO"; then :
39510 glibcxx_cv_func_fmodl_use=yes
39511 else
39512 glibcxx_cv_func_fmodl_use=no
39514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39515 ac_ext=c
39516 ac_cpp='$CPP $CPPFLAGS'
39517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
39526 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
39528 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
39529 for ac_func in fmodl
39530 do :
39531 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
39532 if test "x$ac_cv_func_fmodl" = xyes; then :
39533 cat >>confdefs.h <<_ACEOF
39534 #define HAVE_FMODL 1
39535 _ACEOF
39538 done
39540 else
39542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
39543 $as_echo_n "checking for _fmodl declaration... " >&6; }
39544 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
39545 if ${glibcxx_cv_func__fmodl_use+:} false; then :
39546 $as_echo_n "(cached) " >&6
39547 else
39550 ac_ext=cpp
39551 ac_cpp='$CXXCPP $CPPFLAGS'
39552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39557 /* end confdefs.h. */
39558 #include <math.h>
39560 main ()
39562 _fmodl(0, 0);
39564 return 0;
39566 _ACEOF
39567 if ac_fn_cxx_try_compile "$LINENO"; then :
39568 glibcxx_cv_func__fmodl_use=yes
39569 else
39570 glibcxx_cv_func__fmodl_use=no
39572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39573 ac_ext=c
39574 ac_cpp='$CPP $CPPFLAGS'
39575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
39584 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
39586 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
39587 for ac_func in _fmodl
39588 do :
39589 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
39590 if test "x$ac_cv_func__fmodl" = xyes; then :
39591 cat >>confdefs.h <<_ACEOF
39592 #define HAVE__FMODL 1
39593 _ACEOF
39596 done
39605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
39606 $as_echo_n "checking for frexpl declaration... " >&6; }
39607 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
39608 if ${glibcxx_cv_func_frexpl_use+:} false; then :
39609 $as_echo_n "(cached) " >&6
39610 else
39613 ac_ext=cpp
39614 ac_cpp='$CXXCPP $CPPFLAGS'
39615 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39616 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39617 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39620 /* end confdefs.h. */
39621 #include <math.h>
39623 main ()
39625 frexpl(0, 0);
39627 return 0;
39629 _ACEOF
39630 if ac_fn_cxx_try_compile "$LINENO"; then :
39631 glibcxx_cv_func_frexpl_use=yes
39632 else
39633 glibcxx_cv_func_frexpl_use=no
39635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39636 ac_ext=c
39637 ac_cpp='$CPP $CPPFLAGS'
39638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
39647 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
39649 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
39650 for ac_func in frexpl
39651 do :
39652 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
39653 if test "x$ac_cv_func_frexpl" = xyes; then :
39654 cat >>confdefs.h <<_ACEOF
39655 #define HAVE_FREXPL 1
39656 _ACEOF
39659 done
39661 else
39663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
39664 $as_echo_n "checking for _frexpl declaration... " >&6; }
39665 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
39666 if ${glibcxx_cv_func__frexpl_use+:} false; then :
39667 $as_echo_n "(cached) " >&6
39668 else
39671 ac_ext=cpp
39672 ac_cpp='$CXXCPP $CPPFLAGS'
39673 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39674 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39675 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39678 /* end confdefs.h. */
39679 #include <math.h>
39681 main ()
39683 _frexpl(0, 0);
39685 return 0;
39687 _ACEOF
39688 if ac_fn_cxx_try_compile "$LINENO"; then :
39689 glibcxx_cv_func__frexpl_use=yes
39690 else
39691 glibcxx_cv_func__frexpl_use=no
39693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39694 ac_ext=c
39695 ac_cpp='$CPP $CPPFLAGS'
39696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
39705 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
39707 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
39708 for ac_func in _frexpl
39709 do :
39710 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
39711 if test "x$ac_cv_func__frexpl" = xyes; then :
39712 cat >>confdefs.h <<_ACEOF
39713 #define HAVE__FREXPL 1
39714 _ACEOF
39717 done
39726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
39727 $as_echo_n "checking for hypotl declaration... " >&6; }
39728 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
39729 if ${glibcxx_cv_func_hypotl_use+:} false; then :
39730 $as_echo_n "(cached) " >&6
39731 else
39734 ac_ext=cpp
39735 ac_cpp='$CXXCPP $CPPFLAGS'
39736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39741 /* end confdefs.h. */
39742 #include <math.h>
39744 main ()
39746 hypotl(0, 0);
39748 return 0;
39750 _ACEOF
39751 if ac_fn_cxx_try_compile "$LINENO"; then :
39752 glibcxx_cv_func_hypotl_use=yes
39753 else
39754 glibcxx_cv_func_hypotl_use=no
39756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39757 ac_ext=c
39758 ac_cpp='$CPP $CPPFLAGS'
39759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
39768 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
39770 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
39771 for ac_func in hypotl
39772 do :
39773 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
39774 if test "x$ac_cv_func_hypotl" = xyes; then :
39775 cat >>confdefs.h <<_ACEOF
39776 #define HAVE_HYPOTL 1
39777 _ACEOF
39780 done
39782 else
39784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
39785 $as_echo_n "checking for _hypotl declaration... " >&6; }
39786 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
39787 if ${glibcxx_cv_func__hypotl_use+:} false; then :
39788 $as_echo_n "(cached) " >&6
39789 else
39792 ac_ext=cpp
39793 ac_cpp='$CXXCPP $CPPFLAGS'
39794 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39795 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39796 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39799 /* end confdefs.h. */
39800 #include <math.h>
39802 main ()
39804 _hypotl(0, 0);
39806 return 0;
39808 _ACEOF
39809 if ac_fn_cxx_try_compile "$LINENO"; then :
39810 glibcxx_cv_func__hypotl_use=yes
39811 else
39812 glibcxx_cv_func__hypotl_use=no
39814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39815 ac_ext=c
39816 ac_cpp='$CPP $CPPFLAGS'
39817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
39826 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
39828 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
39829 for ac_func in _hypotl
39830 do :
39831 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
39832 if test "x$ac_cv_func__hypotl" = xyes; then :
39833 cat >>confdefs.h <<_ACEOF
39834 #define HAVE__HYPOTL 1
39835 _ACEOF
39838 done
39847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
39848 $as_echo_n "checking for ldexpl declaration... " >&6; }
39849 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
39850 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
39851 $as_echo_n "(cached) " >&6
39852 else
39855 ac_ext=cpp
39856 ac_cpp='$CXXCPP $CPPFLAGS'
39857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39862 /* end confdefs.h. */
39863 #include <math.h>
39865 main ()
39867 ldexpl(0, 0);
39869 return 0;
39871 _ACEOF
39872 if ac_fn_cxx_try_compile "$LINENO"; then :
39873 glibcxx_cv_func_ldexpl_use=yes
39874 else
39875 glibcxx_cv_func_ldexpl_use=no
39877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39878 ac_ext=c
39879 ac_cpp='$CPP $CPPFLAGS'
39880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
39889 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
39891 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
39892 for ac_func in ldexpl
39893 do :
39894 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
39895 if test "x$ac_cv_func_ldexpl" = xyes; then :
39896 cat >>confdefs.h <<_ACEOF
39897 #define HAVE_LDEXPL 1
39898 _ACEOF
39901 done
39903 else
39905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
39906 $as_echo_n "checking for _ldexpl declaration... " >&6; }
39907 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
39908 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
39909 $as_echo_n "(cached) " >&6
39910 else
39913 ac_ext=cpp
39914 ac_cpp='$CXXCPP $CPPFLAGS'
39915 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39916 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39917 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39920 /* end confdefs.h. */
39921 #include <math.h>
39923 main ()
39925 _ldexpl(0, 0);
39927 return 0;
39929 _ACEOF
39930 if ac_fn_cxx_try_compile "$LINENO"; then :
39931 glibcxx_cv_func__ldexpl_use=yes
39932 else
39933 glibcxx_cv_func__ldexpl_use=no
39935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39936 ac_ext=c
39937 ac_cpp='$CPP $CPPFLAGS'
39938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
39947 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
39949 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
39950 for ac_func in _ldexpl
39951 do :
39952 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
39953 if test "x$ac_cv_func__ldexpl" = xyes; then :
39954 cat >>confdefs.h <<_ACEOF
39955 #define HAVE__LDEXPL 1
39956 _ACEOF
39959 done
39968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
39969 $as_echo_n "checking for logl declaration... " >&6; }
39970 if test x${glibcxx_cv_func_logl_use+set} != xset; then
39971 if ${glibcxx_cv_func_logl_use+:} false; then :
39972 $as_echo_n "(cached) " >&6
39973 else
39976 ac_ext=cpp
39977 ac_cpp='$CXXCPP $CPPFLAGS'
39978 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39979 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39980 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39983 /* end confdefs.h. */
39984 #include <math.h>
39985 #ifdef HAVE_IEEEFP_H
39986 #include <ieeefp.h>
39987 #endif
39990 main ()
39992 logl(0);
39994 return 0;
39996 _ACEOF
39997 if ac_fn_cxx_try_compile "$LINENO"; then :
39998 glibcxx_cv_func_logl_use=yes
39999 else
40000 glibcxx_cv_func_logl_use=no
40002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40003 ac_ext=c
40004 ac_cpp='$CPP $CPPFLAGS'
40005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
40014 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
40016 if test x$glibcxx_cv_func_logl_use = x"yes"; then
40017 for ac_func in logl
40018 do :
40019 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
40020 if test "x$ac_cv_func_logl" = xyes; then :
40021 cat >>confdefs.h <<_ACEOF
40022 #define HAVE_LOGL 1
40023 _ACEOF
40026 done
40028 else
40030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
40031 $as_echo_n "checking for _logl declaration... " >&6; }
40032 if test x${glibcxx_cv_func__logl_use+set} != xset; then
40033 if ${glibcxx_cv_func__logl_use+:} false; then :
40034 $as_echo_n "(cached) " >&6
40035 else
40038 ac_ext=cpp
40039 ac_cpp='$CXXCPP $CPPFLAGS'
40040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40045 /* end confdefs.h. */
40046 #include <math.h>
40047 #ifdef HAVE_IEEEFP_H
40048 #include <ieeefp.h>
40049 #endif
40052 main ()
40054 _logl(0);
40056 return 0;
40058 _ACEOF
40059 if ac_fn_cxx_try_compile "$LINENO"; then :
40060 glibcxx_cv_func__logl_use=yes
40061 else
40062 glibcxx_cv_func__logl_use=no
40064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40065 ac_ext=c
40066 ac_cpp='$CPP $CPPFLAGS'
40067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
40076 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
40078 if test x$glibcxx_cv_func__logl_use = x"yes"; then
40079 for ac_func in _logl
40080 do :
40081 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
40082 if test "x$ac_cv_func__logl" = xyes; then :
40083 cat >>confdefs.h <<_ACEOF
40084 #define HAVE__LOGL 1
40085 _ACEOF
40088 done
40097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
40098 $as_echo_n "checking for log10l declaration... " >&6; }
40099 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
40100 if ${glibcxx_cv_func_log10l_use+:} false; then :
40101 $as_echo_n "(cached) " >&6
40102 else
40105 ac_ext=cpp
40106 ac_cpp='$CXXCPP $CPPFLAGS'
40107 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40108 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40109 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40112 /* end confdefs.h. */
40113 #include <math.h>
40114 #ifdef HAVE_IEEEFP_H
40115 #include <ieeefp.h>
40116 #endif
40119 main ()
40121 log10l(0);
40123 return 0;
40125 _ACEOF
40126 if ac_fn_cxx_try_compile "$LINENO"; then :
40127 glibcxx_cv_func_log10l_use=yes
40128 else
40129 glibcxx_cv_func_log10l_use=no
40131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40132 ac_ext=c
40133 ac_cpp='$CPP $CPPFLAGS'
40134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
40143 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
40145 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
40146 for ac_func in log10l
40147 do :
40148 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
40149 if test "x$ac_cv_func_log10l" = xyes; then :
40150 cat >>confdefs.h <<_ACEOF
40151 #define HAVE_LOG10L 1
40152 _ACEOF
40155 done
40157 else
40159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
40160 $as_echo_n "checking for _log10l declaration... " >&6; }
40161 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
40162 if ${glibcxx_cv_func__log10l_use+:} false; then :
40163 $as_echo_n "(cached) " >&6
40164 else
40167 ac_ext=cpp
40168 ac_cpp='$CXXCPP $CPPFLAGS'
40169 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40170 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40171 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40174 /* end confdefs.h. */
40175 #include <math.h>
40176 #ifdef HAVE_IEEEFP_H
40177 #include <ieeefp.h>
40178 #endif
40181 main ()
40183 _log10l(0);
40185 return 0;
40187 _ACEOF
40188 if ac_fn_cxx_try_compile "$LINENO"; then :
40189 glibcxx_cv_func__log10l_use=yes
40190 else
40191 glibcxx_cv_func__log10l_use=no
40193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40194 ac_ext=c
40195 ac_cpp='$CPP $CPPFLAGS'
40196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
40205 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
40207 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
40208 for ac_func in _log10l
40209 do :
40210 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
40211 if test "x$ac_cv_func__log10l" = xyes; then :
40212 cat >>confdefs.h <<_ACEOF
40213 #define HAVE__LOG10L 1
40214 _ACEOF
40217 done
40226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
40227 $as_echo_n "checking for modfl declaration... " >&6; }
40228 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
40229 if ${glibcxx_cv_func_modfl_use+:} false; then :
40230 $as_echo_n "(cached) " >&6
40231 else
40234 ac_ext=cpp
40235 ac_cpp='$CXXCPP $CPPFLAGS'
40236 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40237 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40238 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40241 /* end confdefs.h. */
40242 #include <math.h>
40244 main ()
40246 modfl(0, 0);
40248 return 0;
40250 _ACEOF
40251 if ac_fn_cxx_try_compile "$LINENO"; then :
40252 glibcxx_cv_func_modfl_use=yes
40253 else
40254 glibcxx_cv_func_modfl_use=no
40256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40257 ac_ext=c
40258 ac_cpp='$CPP $CPPFLAGS'
40259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
40268 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
40270 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
40271 for ac_func in modfl
40272 do :
40273 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
40274 if test "x$ac_cv_func_modfl" = xyes; then :
40275 cat >>confdefs.h <<_ACEOF
40276 #define HAVE_MODFL 1
40277 _ACEOF
40280 done
40282 else
40284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
40285 $as_echo_n "checking for _modfl declaration... " >&6; }
40286 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
40287 if ${glibcxx_cv_func__modfl_use+:} false; then :
40288 $as_echo_n "(cached) " >&6
40289 else
40292 ac_ext=cpp
40293 ac_cpp='$CXXCPP $CPPFLAGS'
40294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40299 /* end confdefs.h. */
40300 #include <math.h>
40302 main ()
40304 _modfl(0, 0);
40306 return 0;
40308 _ACEOF
40309 if ac_fn_cxx_try_compile "$LINENO"; then :
40310 glibcxx_cv_func__modfl_use=yes
40311 else
40312 glibcxx_cv_func__modfl_use=no
40314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40315 ac_ext=c
40316 ac_cpp='$CPP $CPPFLAGS'
40317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
40326 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
40328 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
40329 for ac_func in _modfl
40330 do :
40331 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
40332 if test "x$ac_cv_func__modfl" = xyes; then :
40333 cat >>confdefs.h <<_ACEOF
40334 #define HAVE__MODFL 1
40335 _ACEOF
40338 done
40347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
40348 $as_echo_n "checking for powl declaration... " >&6; }
40349 if test x${glibcxx_cv_func_powl_use+set} != xset; then
40350 if ${glibcxx_cv_func_powl_use+:} false; then :
40351 $as_echo_n "(cached) " >&6
40352 else
40355 ac_ext=cpp
40356 ac_cpp='$CXXCPP $CPPFLAGS'
40357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40362 /* end confdefs.h. */
40363 #include <math.h>
40365 main ()
40367 powl(0, 0);
40369 return 0;
40371 _ACEOF
40372 if ac_fn_cxx_try_compile "$LINENO"; then :
40373 glibcxx_cv_func_powl_use=yes
40374 else
40375 glibcxx_cv_func_powl_use=no
40377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40378 ac_ext=c
40379 ac_cpp='$CPP $CPPFLAGS'
40380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
40389 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
40391 if test x$glibcxx_cv_func_powl_use = x"yes"; then
40392 for ac_func in powl
40393 do :
40394 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
40395 if test "x$ac_cv_func_powl" = xyes; then :
40396 cat >>confdefs.h <<_ACEOF
40397 #define HAVE_POWL 1
40398 _ACEOF
40401 done
40403 else
40405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
40406 $as_echo_n "checking for _powl declaration... " >&6; }
40407 if test x${glibcxx_cv_func__powl_use+set} != xset; then
40408 if ${glibcxx_cv_func__powl_use+:} false; then :
40409 $as_echo_n "(cached) " >&6
40410 else
40413 ac_ext=cpp
40414 ac_cpp='$CXXCPP $CPPFLAGS'
40415 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40416 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40417 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40420 /* end confdefs.h. */
40421 #include <math.h>
40423 main ()
40425 _powl(0, 0);
40427 return 0;
40429 _ACEOF
40430 if ac_fn_cxx_try_compile "$LINENO"; then :
40431 glibcxx_cv_func__powl_use=yes
40432 else
40433 glibcxx_cv_func__powl_use=no
40435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40436 ac_ext=c
40437 ac_cpp='$CPP $CPPFLAGS'
40438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
40447 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
40449 if test x$glibcxx_cv_func__powl_use = x"yes"; then
40450 for ac_func in _powl
40451 do :
40452 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
40453 if test "x$ac_cv_func__powl" = xyes; then :
40454 cat >>confdefs.h <<_ACEOF
40455 #define HAVE__POWL 1
40456 _ACEOF
40459 done
40468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
40469 $as_echo_n "checking for sqrtl declaration... " >&6; }
40470 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
40471 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
40472 $as_echo_n "(cached) " >&6
40473 else
40476 ac_ext=cpp
40477 ac_cpp='$CXXCPP $CPPFLAGS'
40478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40483 /* end confdefs.h. */
40484 #include <math.h>
40485 #ifdef HAVE_IEEEFP_H
40486 #include <ieeefp.h>
40487 #endif
40490 main ()
40492 sqrtl(0);
40494 return 0;
40496 _ACEOF
40497 if ac_fn_cxx_try_compile "$LINENO"; then :
40498 glibcxx_cv_func_sqrtl_use=yes
40499 else
40500 glibcxx_cv_func_sqrtl_use=no
40502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40503 ac_ext=c
40504 ac_cpp='$CPP $CPPFLAGS'
40505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
40514 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
40516 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
40517 for ac_func in sqrtl
40518 do :
40519 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
40520 if test "x$ac_cv_func_sqrtl" = xyes; then :
40521 cat >>confdefs.h <<_ACEOF
40522 #define HAVE_SQRTL 1
40523 _ACEOF
40526 done
40528 else
40530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
40531 $as_echo_n "checking for _sqrtl declaration... " >&6; }
40532 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
40533 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
40534 $as_echo_n "(cached) " >&6
40535 else
40538 ac_ext=cpp
40539 ac_cpp='$CXXCPP $CPPFLAGS'
40540 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40541 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40542 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40545 /* end confdefs.h. */
40546 #include <math.h>
40547 #ifdef HAVE_IEEEFP_H
40548 #include <ieeefp.h>
40549 #endif
40552 main ()
40554 _sqrtl(0);
40556 return 0;
40558 _ACEOF
40559 if ac_fn_cxx_try_compile "$LINENO"; then :
40560 glibcxx_cv_func__sqrtl_use=yes
40561 else
40562 glibcxx_cv_func__sqrtl_use=no
40564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40565 ac_ext=c
40566 ac_cpp='$CPP $CPPFLAGS'
40567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
40576 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
40578 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
40579 for ac_func in _sqrtl
40580 do :
40581 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
40582 if test "x$ac_cv_func__sqrtl" = xyes; then :
40583 cat >>confdefs.h <<_ACEOF
40584 #define HAVE__SQRTL 1
40585 _ACEOF
40588 done
40597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
40598 $as_echo_n "checking for sincosl declaration... " >&6; }
40599 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
40600 if ${glibcxx_cv_func_sincosl_use+:} false; then :
40601 $as_echo_n "(cached) " >&6
40602 else
40605 ac_ext=cpp
40606 ac_cpp='$CXXCPP $CPPFLAGS'
40607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40612 /* end confdefs.h. */
40613 #include <math.h>
40615 main ()
40617 sincosl(0, 0, 0);
40619 return 0;
40621 _ACEOF
40622 if ac_fn_cxx_try_compile "$LINENO"; then :
40623 glibcxx_cv_func_sincosl_use=yes
40624 else
40625 glibcxx_cv_func_sincosl_use=no
40627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40628 ac_ext=c
40629 ac_cpp='$CPP $CPPFLAGS'
40630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
40639 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
40641 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
40642 for ac_func in sincosl
40643 do :
40644 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
40645 if test "x$ac_cv_func_sincosl" = xyes; then :
40646 cat >>confdefs.h <<_ACEOF
40647 #define HAVE_SINCOSL 1
40648 _ACEOF
40651 done
40653 else
40655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
40656 $as_echo_n "checking for _sincosl declaration... " >&6; }
40657 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
40658 if ${glibcxx_cv_func__sincosl_use+:} false; then :
40659 $as_echo_n "(cached) " >&6
40660 else
40663 ac_ext=cpp
40664 ac_cpp='$CXXCPP $CPPFLAGS'
40665 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40666 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40667 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40670 /* end confdefs.h. */
40671 #include <math.h>
40673 main ()
40675 _sincosl(0, 0, 0);
40677 return 0;
40679 _ACEOF
40680 if ac_fn_cxx_try_compile "$LINENO"; then :
40681 glibcxx_cv_func__sincosl_use=yes
40682 else
40683 glibcxx_cv_func__sincosl_use=no
40685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40686 ac_ext=c
40687 ac_cpp='$CPP $CPPFLAGS'
40688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
40697 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
40699 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
40700 for ac_func in _sincosl
40701 do :
40702 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
40703 if test "x$ac_cv_func__sincosl" = xyes; then :
40704 cat >>confdefs.h <<_ACEOF
40705 #define HAVE__SINCOSL 1
40706 _ACEOF
40709 done
40718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
40719 $as_echo_n "checking for finitel declaration... " >&6; }
40720 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
40721 if ${glibcxx_cv_func_finitel_use+:} false; then :
40722 $as_echo_n "(cached) " >&6
40723 else
40726 ac_ext=cpp
40727 ac_cpp='$CXXCPP $CPPFLAGS'
40728 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40729 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40730 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40733 /* end confdefs.h. */
40734 #include <math.h>
40735 #ifdef HAVE_IEEEFP_H
40736 #include <ieeefp.h>
40737 #endif
40740 main ()
40742 finitel(0);
40744 return 0;
40746 _ACEOF
40747 if ac_fn_cxx_try_compile "$LINENO"; then :
40748 glibcxx_cv_func_finitel_use=yes
40749 else
40750 glibcxx_cv_func_finitel_use=no
40752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40753 ac_ext=c
40754 ac_cpp='$CPP $CPPFLAGS'
40755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
40764 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
40766 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
40767 for ac_func in finitel
40768 do :
40769 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
40770 if test "x$ac_cv_func_finitel" = xyes; then :
40771 cat >>confdefs.h <<_ACEOF
40772 #define HAVE_FINITEL 1
40773 _ACEOF
40776 done
40778 else
40780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
40781 $as_echo_n "checking for _finitel declaration... " >&6; }
40782 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
40783 if ${glibcxx_cv_func__finitel_use+:} false; then :
40784 $as_echo_n "(cached) " >&6
40785 else
40788 ac_ext=cpp
40789 ac_cpp='$CXXCPP $CPPFLAGS'
40790 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40791 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40792 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40795 /* end confdefs.h. */
40796 #include <math.h>
40797 #ifdef HAVE_IEEEFP_H
40798 #include <ieeefp.h>
40799 #endif
40802 main ()
40804 _finitel(0);
40806 return 0;
40808 _ACEOF
40809 if ac_fn_cxx_try_compile "$LINENO"; then :
40810 glibcxx_cv_func__finitel_use=yes
40811 else
40812 glibcxx_cv_func__finitel_use=no
40814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40815 ac_ext=c
40816 ac_cpp='$CPP $CPPFLAGS'
40817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
40826 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
40828 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
40829 for ac_func in _finitel
40830 do :
40831 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
40832 if test "x$ac_cv_func__finitel" = xyes; then :
40833 cat >>confdefs.h <<_ACEOF
40834 #define HAVE__FINITEL 1
40835 _ACEOF
40838 done
40846 LIBS="$ac_save_LIBS"
40847 CXXFLAGS="$ac_save_CXXFLAGS"
40850 ac_test_CXXFLAGS="${CXXFLAGS+set}"
40851 ac_save_CXXFLAGS="$CXXFLAGS"
40852 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
40855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
40856 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
40857 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
40858 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
40859 $as_echo_n "(cached) " >&6
40860 else
40863 ac_ext=cpp
40864 ac_cpp='$CXXCPP $CPPFLAGS'
40865 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40866 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40867 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40870 /* end confdefs.h. */
40871 #include <stdlib.h>
40873 main ()
40875 at_quick_exit(0);
40877 return 0;
40879 _ACEOF
40880 if ac_fn_cxx_try_compile "$LINENO"; then :
40881 glibcxx_cv_func_at_quick_exit_use=yes
40882 else
40883 glibcxx_cv_func_at_quick_exit_use=no
40885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40886 ac_ext=c
40887 ac_cpp='$CPP $CPPFLAGS'
40888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
40897 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
40898 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
40899 for ac_func in at_quick_exit
40900 do :
40901 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
40902 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
40903 cat >>confdefs.h <<_ACEOF
40904 #define HAVE_AT_QUICK_EXIT 1
40905 _ACEOF
40908 done
40913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
40914 $as_echo_n "checking for quick_exit declaration... " >&6; }
40915 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
40916 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
40917 $as_echo_n "(cached) " >&6
40918 else
40921 ac_ext=cpp
40922 ac_cpp='$CXXCPP $CPPFLAGS'
40923 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40924 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40925 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40928 /* end confdefs.h. */
40929 #include <stdlib.h>
40931 main ()
40933 quick_exit(0);
40935 return 0;
40937 _ACEOF
40938 if ac_fn_cxx_try_compile "$LINENO"; then :
40939 glibcxx_cv_func_quick_exit_use=yes
40940 else
40941 glibcxx_cv_func_quick_exit_use=no
40943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40944 ac_ext=c
40945 ac_cpp='$CPP $CPPFLAGS'
40946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
40955 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
40956 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
40957 for ac_func in quick_exit
40958 do :
40959 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
40960 if test "x$ac_cv_func_quick_exit" = xyes; then :
40961 cat >>confdefs.h <<_ACEOF
40962 #define HAVE_QUICK_EXIT 1
40963 _ACEOF
40966 done
40971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
40972 $as_echo_n "checking for strtold declaration... " >&6; }
40973 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
40974 if ${glibcxx_cv_func_strtold_use+:} false; then :
40975 $as_echo_n "(cached) " >&6
40976 else
40979 ac_ext=cpp
40980 ac_cpp='$CXXCPP $CPPFLAGS'
40981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40986 /* end confdefs.h. */
40987 #include <stdlib.h>
40989 main ()
40991 strtold(0, 0);
40993 return 0;
40995 _ACEOF
40996 if ac_fn_cxx_try_compile "$LINENO"; then :
40997 glibcxx_cv_func_strtold_use=yes
40998 else
40999 glibcxx_cv_func_strtold_use=no
41001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41002 ac_ext=c
41003 ac_cpp='$CPP $CPPFLAGS'
41004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
41013 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
41014 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
41015 for ac_func in strtold
41016 do :
41017 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
41018 if test "x$ac_cv_func_strtold" = xyes; then :
41019 cat >>confdefs.h <<_ACEOF
41020 #define HAVE_STRTOLD 1
41021 _ACEOF
41024 done
41031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
41032 $as_echo_n "checking for strtof declaration... " >&6; }
41033 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
41034 if ${glibcxx_cv_func_strtof_use+:} false; then :
41035 $as_echo_n "(cached) " >&6
41036 else
41039 ac_ext=cpp
41040 ac_cpp='$CXXCPP $CPPFLAGS'
41041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41046 /* end confdefs.h. */
41047 #include <stdlib.h>
41049 main ()
41051 strtof(0, 0);
41053 return 0;
41055 _ACEOF
41056 if ac_fn_cxx_try_compile "$LINENO"; then :
41057 glibcxx_cv_func_strtof_use=yes
41058 else
41059 glibcxx_cv_func_strtof_use=no
41061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41062 ac_ext=c
41063 ac_cpp='$CPP $CPPFLAGS'
41064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
41073 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
41074 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
41075 for ac_func in strtof
41076 do :
41077 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
41078 if test "x$ac_cv_func_strtof" = xyes; then :
41079 cat >>confdefs.h <<_ACEOF
41080 #define HAVE_STRTOF 1
41081 _ACEOF
41084 done
41091 CXXFLAGS="$ac_save_CXXFLAGS"
41093 $as_echo "#define _GLIBCXX_USE_DEV_RANDOM 1" >>confdefs.h
41095 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
41097 # We don't yet support AIX's TLS ABI.
41098 #GCC_CHECK_TLS
41104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
41105 $as_echo_n "checking for iconv... " >&6; }
41106 if ${am_cv_func_iconv+:} false; then :
41107 $as_echo_n "(cached) " >&6
41108 else
41110 am_cv_func_iconv="no, consider installing GNU libiconv"
41111 am_cv_lib_iconv=no
41112 am_save_CPPFLAGS="$CPPFLAGS"
41113 CPPFLAGS="$CPPFLAGS $INCICONV"
41114 if test x$gcc_no_link = xyes; then
41115 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41118 /* end confdefs.h. */
41119 #include <stdlib.h>
41120 #include <iconv.h>
41122 main ()
41124 iconv_t cd = iconv_open("","");
41125 iconv(cd,NULL,NULL,NULL,NULL);
41126 iconv_close(cd);
41128 return 0;
41130 _ACEOF
41131 if ac_fn_c_try_link "$LINENO"; then :
41132 am_cv_func_iconv=yes
41134 rm -f core conftest.err conftest.$ac_objext \
41135 conftest$ac_exeext conftest.$ac_ext
41136 CPPFLAGS="$am_save_CPPFLAGS"
41138 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
41139 for _libs in .libs _libs; do
41140 am_save_CPPFLAGS="$CPPFLAGS"
41141 am_save_LIBS="$LIBS"
41142 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
41143 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
41144 if test x$gcc_no_link = xyes; then
41145 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41148 /* end confdefs.h. */
41149 #include <stdlib.h>
41150 #include <iconv.h>
41152 main ()
41154 iconv_t cd = iconv_open("","");
41155 iconv(cd,NULL,NULL,NULL,NULL);
41156 iconv_close(cd);
41158 return 0;
41160 _ACEOF
41161 if ac_fn_c_try_link "$LINENO"; then :
41162 INCICONV="-I../libiconv/include"
41163 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
41164 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
41165 am_cv_lib_iconv=yes
41166 am_cv_func_iconv=yes
41168 rm -f core conftest.err conftest.$ac_objext \
41169 conftest$ac_exeext conftest.$ac_ext
41170 CPPFLAGS="$am_save_CPPFLAGS"
41171 LIBS="$am_save_LIBS"
41172 if test "$am_cv_func_iconv" = "yes"; then
41173 break
41175 done
41178 if test "$am_cv_func_iconv" != yes; then
41179 am_save_CPPFLAGS="$CPPFLAGS"
41180 am_save_LIBS="$LIBS"
41181 CPPFLAGS="$CPPFLAGS $INCICONV"
41182 LIBS="$LIBS $LIBICONV"
41183 if test x$gcc_no_link = xyes; then
41184 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41187 /* end confdefs.h. */
41188 #include <stdlib.h>
41189 #include <iconv.h>
41191 main ()
41193 iconv_t cd = iconv_open("","");
41194 iconv(cd,NULL,NULL,NULL,NULL);
41195 iconv_close(cd);
41197 return 0;
41199 _ACEOF
41200 if ac_fn_c_try_link "$LINENO"; then :
41201 am_cv_lib_iconv=yes
41202 am_cv_func_iconv=yes
41204 rm -f core conftest.err conftest.$ac_objext \
41205 conftest$ac_exeext conftest.$ac_ext
41206 CPPFLAGS="$am_save_CPPFLAGS"
41207 LIBS="$am_save_LIBS"
41211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
41212 $as_echo "$am_cv_func_iconv" >&6; }
41213 if test "$am_cv_func_iconv" = yes; then
41215 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
41218 if test "$am_cv_lib_iconv" = yes; then
41220 for element in $INCICONV; do
41221 haveit=
41222 for x in $CPPFLAGS; do
41224 acl_save_prefix="$prefix"
41225 prefix="$acl_final_prefix"
41226 acl_save_exec_prefix="$exec_prefix"
41227 exec_prefix="$acl_final_exec_prefix"
41228 eval x=\"$x\"
41229 exec_prefix="$acl_save_exec_prefix"
41230 prefix="$acl_save_prefix"
41232 if test "X$x" = "X$element"; then
41233 haveit=yes
41234 break
41236 done
41237 if test -z "$haveit"; then
41238 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
41240 done
41242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
41243 $as_echo_n "checking how to link with libiconv... " >&6; }
41244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
41245 $as_echo "$LIBICONV" >&6; }
41246 else
41247 LIBICONV=
41248 LTLIBICONV=
41253 if test "$am_cv_func_iconv" = yes; then
41254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
41255 $as_echo_n "checking for iconv declaration... " >&6; }
41256 if ${am_cv_proto_iconv+:} false; then :
41257 $as_echo_n "(cached) " >&6
41258 else
41260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41261 /* end confdefs.h. */
41263 #include <stdlib.h>
41264 #include <iconv.h>
41265 extern
41266 #ifdef __cplusplus
41268 #endif
41269 #if defined(__STDC__) || defined(__cplusplus)
41270 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
41271 #else
41272 size_t iconv();
41273 #endif
41276 main ()
41280 return 0;
41282 _ACEOF
41283 if ac_fn_c_try_compile "$LINENO"; then :
41284 am_cv_proto_iconv_arg1=""
41285 else
41286 am_cv_proto_iconv_arg1="const"
41288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41289 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);"
41292 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
41293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
41294 }$am_cv_proto_iconv" >&5
41295 $as_echo "${ac_t:-
41296 }$am_cv_proto_iconv" >&6; }
41298 cat >>confdefs.h <<_ACEOF
41299 #define ICONV_CONST $am_cv_proto_iconv_arg1
41300 _ACEOF
41305 $as_echo "#define HAVE_USELOCALE 1" >>confdefs.h
41309 *-darwin*)
41310 # Darwin versions vary, but the linker should work in a cross environment,
41311 # so we just check for all the features here.
41312 # Check for available headers.
41314 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
41316 ac_test_CXXFLAGS="${CXXFLAGS+set}"
41317 ac_save_CXXFLAGS="$CXXFLAGS"
41318 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
41320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
41321 $as_echo_n "checking for sin in -lm... " >&6; }
41322 if ${ac_cv_lib_m_sin+:} false; then :
41323 $as_echo_n "(cached) " >&6
41324 else
41325 ac_check_lib_save_LIBS=$LIBS
41326 LIBS="-lm $LIBS"
41327 if test x$gcc_no_link = xyes; then
41328 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41331 /* end confdefs.h. */
41333 /* Override any GCC internal prototype to avoid an error.
41334 Use char because int might match the return type of a GCC
41335 builtin and then its argument prototype would still apply. */
41336 #ifdef __cplusplus
41337 extern "C"
41338 #endif
41339 char sin ();
41341 main ()
41343 return sin ();
41345 return 0;
41347 _ACEOF
41348 if ac_fn_c_try_link "$LINENO"; then :
41349 ac_cv_lib_m_sin=yes
41350 else
41351 ac_cv_lib_m_sin=no
41353 rm -f core conftest.err conftest.$ac_objext \
41354 conftest$ac_exeext conftest.$ac_ext
41355 LIBS=$ac_check_lib_save_LIBS
41357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
41358 $as_echo "$ac_cv_lib_m_sin" >&6; }
41359 if test "x$ac_cv_lib_m_sin" = xyes; then :
41360 libm="-lm"
41363 ac_save_LIBS="$LIBS"
41364 LIBS="$LIBS $libm"
41368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
41369 $as_echo_n "checking for isinf declaration... " >&6; }
41370 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
41371 if ${glibcxx_cv_func_isinf_use+:} false; then :
41372 $as_echo_n "(cached) " >&6
41373 else
41376 ac_ext=cpp
41377 ac_cpp='$CXXCPP $CPPFLAGS'
41378 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41379 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41380 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41383 /* end confdefs.h. */
41384 #include <math.h>
41385 #ifdef HAVE_IEEEFP_H
41386 #include <ieeefp.h>
41387 #endif
41390 main ()
41392 isinf(0);
41394 return 0;
41396 _ACEOF
41397 if ac_fn_cxx_try_compile "$LINENO"; then :
41398 glibcxx_cv_func_isinf_use=yes
41399 else
41400 glibcxx_cv_func_isinf_use=no
41402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41403 ac_ext=c
41404 ac_cpp='$CPP $CPPFLAGS'
41405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
41414 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
41416 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
41417 for ac_func in isinf
41418 do :
41419 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
41420 if test "x$ac_cv_func_isinf" = xyes; then :
41421 cat >>confdefs.h <<_ACEOF
41422 #define HAVE_ISINF 1
41423 _ACEOF
41426 done
41428 else
41430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
41431 $as_echo_n "checking for _isinf declaration... " >&6; }
41432 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
41433 if ${glibcxx_cv_func__isinf_use+:} false; then :
41434 $as_echo_n "(cached) " >&6
41435 else
41438 ac_ext=cpp
41439 ac_cpp='$CXXCPP $CPPFLAGS'
41440 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41441 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41442 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41445 /* end confdefs.h. */
41446 #include <math.h>
41447 #ifdef HAVE_IEEEFP_H
41448 #include <ieeefp.h>
41449 #endif
41452 main ()
41454 _isinf(0);
41456 return 0;
41458 _ACEOF
41459 if ac_fn_cxx_try_compile "$LINENO"; then :
41460 glibcxx_cv_func__isinf_use=yes
41461 else
41462 glibcxx_cv_func__isinf_use=no
41464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41465 ac_ext=c
41466 ac_cpp='$CPP $CPPFLAGS'
41467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
41476 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
41478 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
41479 for ac_func in _isinf
41480 do :
41481 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
41482 if test "x$ac_cv_func__isinf" = xyes; then :
41483 cat >>confdefs.h <<_ACEOF
41484 #define HAVE__ISINF 1
41485 _ACEOF
41488 done
41497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
41498 $as_echo_n "checking for isnan declaration... " >&6; }
41499 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
41500 if ${glibcxx_cv_func_isnan_use+:} false; then :
41501 $as_echo_n "(cached) " >&6
41502 else
41505 ac_ext=cpp
41506 ac_cpp='$CXXCPP $CPPFLAGS'
41507 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41508 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41509 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41512 /* end confdefs.h. */
41513 #include <math.h>
41514 #ifdef HAVE_IEEEFP_H
41515 #include <ieeefp.h>
41516 #endif
41519 main ()
41521 isnan(0);
41523 return 0;
41525 _ACEOF
41526 if ac_fn_cxx_try_compile "$LINENO"; then :
41527 glibcxx_cv_func_isnan_use=yes
41528 else
41529 glibcxx_cv_func_isnan_use=no
41531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41532 ac_ext=c
41533 ac_cpp='$CPP $CPPFLAGS'
41534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
41543 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
41545 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
41546 for ac_func in isnan
41547 do :
41548 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
41549 if test "x$ac_cv_func_isnan" = xyes; then :
41550 cat >>confdefs.h <<_ACEOF
41551 #define HAVE_ISNAN 1
41552 _ACEOF
41555 done
41557 else
41559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
41560 $as_echo_n "checking for _isnan declaration... " >&6; }
41561 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
41562 if ${glibcxx_cv_func__isnan_use+:} false; then :
41563 $as_echo_n "(cached) " >&6
41564 else
41567 ac_ext=cpp
41568 ac_cpp='$CXXCPP $CPPFLAGS'
41569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41574 /* end confdefs.h. */
41575 #include <math.h>
41576 #ifdef HAVE_IEEEFP_H
41577 #include <ieeefp.h>
41578 #endif
41581 main ()
41583 _isnan(0);
41585 return 0;
41587 _ACEOF
41588 if ac_fn_cxx_try_compile "$LINENO"; then :
41589 glibcxx_cv_func__isnan_use=yes
41590 else
41591 glibcxx_cv_func__isnan_use=no
41593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41594 ac_ext=c
41595 ac_cpp='$CPP $CPPFLAGS'
41596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
41605 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
41607 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
41608 for ac_func in _isnan
41609 do :
41610 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
41611 if test "x$ac_cv_func__isnan" = xyes; then :
41612 cat >>confdefs.h <<_ACEOF
41613 #define HAVE__ISNAN 1
41614 _ACEOF
41617 done
41626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
41627 $as_echo_n "checking for finite declaration... " >&6; }
41628 if test x${glibcxx_cv_func_finite_use+set} != xset; then
41629 if ${glibcxx_cv_func_finite_use+:} false; then :
41630 $as_echo_n "(cached) " >&6
41631 else
41634 ac_ext=cpp
41635 ac_cpp='$CXXCPP $CPPFLAGS'
41636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41641 /* end confdefs.h. */
41642 #include <math.h>
41643 #ifdef HAVE_IEEEFP_H
41644 #include <ieeefp.h>
41645 #endif
41648 main ()
41650 finite(0);
41652 return 0;
41654 _ACEOF
41655 if ac_fn_cxx_try_compile "$LINENO"; then :
41656 glibcxx_cv_func_finite_use=yes
41657 else
41658 glibcxx_cv_func_finite_use=no
41660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41661 ac_ext=c
41662 ac_cpp='$CPP $CPPFLAGS'
41663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
41672 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
41674 if test x$glibcxx_cv_func_finite_use = x"yes"; then
41675 for ac_func in finite
41676 do :
41677 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
41678 if test "x$ac_cv_func_finite" = xyes; then :
41679 cat >>confdefs.h <<_ACEOF
41680 #define HAVE_FINITE 1
41681 _ACEOF
41684 done
41686 else
41688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
41689 $as_echo_n "checking for _finite declaration... " >&6; }
41690 if test x${glibcxx_cv_func__finite_use+set} != xset; then
41691 if ${glibcxx_cv_func__finite_use+:} false; then :
41692 $as_echo_n "(cached) " >&6
41693 else
41696 ac_ext=cpp
41697 ac_cpp='$CXXCPP $CPPFLAGS'
41698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41703 /* end confdefs.h. */
41704 #include <math.h>
41705 #ifdef HAVE_IEEEFP_H
41706 #include <ieeefp.h>
41707 #endif
41710 main ()
41712 _finite(0);
41714 return 0;
41716 _ACEOF
41717 if ac_fn_cxx_try_compile "$LINENO"; then :
41718 glibcxx_cv_func__finite_use=yes
41719 else
41720 glibcxx_cv_func__finite_use=no
41722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41723 ac_ext=c
41724 ac_cpp='$CPP $CPPFLAGS'
41725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
41734 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
41736 if test x$glibcxx_cv_func__finite_use = x"yes"; then
41737 for ac_func in _finite
41738 do :
41739 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
41740 if test "x$ac_cv_func__finite" = xyes; then :
41741 cat >>confdefs.h <<_ACEOF
41742 #define HAVE__FINITE 1
41743 _ACEOF
41746 done
41755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
41756 $as_echo_n "checking for sincos declaration... " >&6; }
41757 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
41758 if ${glibcxx_cv_func_sincos_use+:} false; then :
41759 $as_echo_n "(cached) " >&6
41760 else
41763 ac_ext=cpp
41764 ac_cpp='$CXXCPP $CPPFLAGS'
41765 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41766 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41767 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41770 /* end confdefs.h. */
41771 #include <math.h>
41773 main ()
41775 sincos(0, 0, 0);
41777 return 0;
41779 _ACEOF
41780 if ac_fn_cxx_try_compile "$LINENO"; then :
41781 glibcxx_cv_func_sincos_use=yes
41782 else
41783 glibcxx_cv_func_sincos_use=no
41785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41786 ac_ext=c
41787 ac_cpp='$CPP $CPPFLAGS'
41788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
41797 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
41799 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
41800 for ac_func in sincos
41801 do :
41802 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
41803 if test "x$ac_cv_func_sincos" = xyes; then :
41804 cat >>confdefs.h <<_ACEOF
41805 #define HAVE_SINCOS 1
41806 _ACEOF
41809 done
41811 else
41813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
41814 $as_echo_n "checking for _sincos declaration... " >&6; }
41815 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
41816 if ${glibcxx_cv_func__sincos_use+:} false; then :
41817 $as_echo_n "(cached) " >&6
41818 else
41821 ac_ext=cpp
41822 ac_cpp='$CXXCPP $CPPFLAGS'
41823 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41824 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41825 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41828 /* end confdefs.h. */
41829 #include <math.h>
41831 main ()
41833 _sincos(0, 0, 0);
41835 return 0;
41837 _ACEOF
41838 if ac_fn_cxx_try_compile "$LINENO"; then :
41839 glibcxx_cv_func__sincos_use=yes
41840 else
41841 glibcxx_cv_func__sincos_use=no
41843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41844 ac_ext=c
41845 ac_cpp='$CPP $CPPFLAGS'
41846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
41855 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
41857 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
41858 for ac_func in _sincos
41859 do :
41860 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
41861 if test "x$ac_cv_func__sincos" = xyes; then :
41862 cat >>confdefs.h <<_ACEOF
41863 #define HAVE__SINCOS 1
41864 _ACEOF
41867 done
41876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
41877 $as_echo_n "checking for fpclass declaration... " >&6; }
41878 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
41879 if ${glibcxx_cv_func_fpclass_use+:} false; then :
41880 $as_echo_n "(cached) " >&6
41881 else
41884 ac_ext=cpp
41885 ac_cpp='$CXXCPP $CPPFLAGS'
41886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41887 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41891 /* end confdefs.h. */
41892 #include <math.h>
41893 #ifdef HAVE_IEEEFP_H
41894 #include <ieeefp.h>
41895 #endif
41898 main ()
41900 fpclass(0);
41902 return 0;
41904 _ACEOF
41905 if ac_fn_cxx_try_compile "$LINENO"; then :
41906 glibcxx_cv_func_fpclass_use=yes
41907 else
41908 glibcxx_cv_func_fpclass_use=no
41910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41911 ac_ext=c
41912 ac_cpp='$CPP $CPPFLAGS'
41913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
41922 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
41924 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
41925 for ac_func in fpclass
41926 do :
41927 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
41928 if test "x$ac_cv_func_fpclass" = xyes; then :
41929 cat >>confdefs.h <<_ACEOF
41930 #define HAVE_FPCLASS 1
41931 _ACEOF
41934 done
41936 else
41938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
41939 $as_echo_n "checking for _fpclass declaration... " >&6; }
41940 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
41941 if ${glibcxx_cv_func__fpclass_use+:} false; then :
41942 $as_echo_n "(cached) " >&6
41943 else
41946 ac_ext=cpp
41947 ac_cpp='$CXXCPP $CPPFLAGS'
41948 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41949 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41950 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41953 /* end confdefs.h. */
41954 #include <math.h>
41955 #ifdef HAVE_IEEEFP_H
41956 #include <ieeefp.h>
41957 #endif
41960 main ()
41962 _fpclass(0);
41964 return 0;
41966 _ACEOF
41967 if ac_fn_cxx_try_compile "$LINENO"; then :
41968 glibcxx_cv_func__fpclass_use=yes
41969 else
41970 glibcxx_cv_func__fpclass_use=no
41972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41973 ac_ext=c
41974 ac_cpp='$CPP $CPPFLAGS'
41975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
41984 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
41986 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
41987 for ac_func in _fpclass
41988 do :
41989 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
41990 if test "x$ac_cv_func__fpclass" = xyes; then :
41991 cat >>confdefs.h <<_ACEOF
41992 #define HAVE__FPCLASS 1
41993 _ACEOF
41996 done
42005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
42006 $as_echo_n "checking for qfpclass declaration... " >&6; }
42007 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
42008 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
42009 $as_echo_n "(cached) " >&6
42010 else
42013 ac_ext=cpp
42014 ac_cpp='$CXXCPP $CPPFLAGS'
42015 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42016 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42017 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42020 /* end confdefs.h. */
42021 #include <math.h>
42022 #ifdef HAVE_IEEEFP_H
42023 #include <ieeefp.h>
42024 #endif
42027 main ()
42029 qfpclass(0);
42031 return 0;
42033 _ACEOF
42034 if ac_fn_cxx_try_compile "$LINENO"; then :
42035 glibcxx_cv_func_qfpclass_use=yes
42036 else
42037 glibcxx_cv_func_qfpclass_use=no
42039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42040 ac_ext=c
42041 ac_cpp='$CPP $CPPFLAGS'
42042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
42051 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
42053 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
42054 for ac_func in qfpclass
42055 do :
42056 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
42057 if test "x$ac_cv_func_qfpclass" = xyes; then :
42058 cat >>confdefs.h <<_ACEOF
42059 #define HAVE_QFPCLASS 1
42060 _ACEOF
42063 done
42065 else
42067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
42068 $as_echo_n "checking for _qfpclass declaration... " >&6; }
42069 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
42070 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
42071 $as_echo_n "(cached) " >&6
42072 else
42075 ac_ext=cpp
42076 ac_cpp='$CXXCPP $CPPFLAGS'
42077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42082 /* end confdefs.h. */
42083 #include <math.h>
42084 #ifdef HAVE_IEEEFP_H
42085 #include <ieeefp.h>
42086 #endif
42089 main ()
42091 _qfpclass(0);
42093 return 0;
42095 _ACEOF
42096 if ac_fn_cxx_try_compile "$LINENO"; then :
42097 glibcxx_cv_func__qfpclass_use=yes
42098 else
42099 glibcxx_cv_func__qfpclass_use=no
42101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42102 ac_ext=c
42103 ac_cpp='$CPP $CPPFLAGS'
42104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
42113 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
42115 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
42116 for ac_func in _qfpclass
42117 do :
42118 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
42119 if test "x$ac_cv_func__qfpclass" = xyes; then :
42120 cat >>confdefs.h <<_ACEOF
42121 #define HAVE__QFPCLASS 1
42122 _ACEOF
42125 done
42134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
42135 $as_echo_n "checking for hypot declaration... " >&6; }
42136 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
42137 if ${glibcxx_cv_func_hypot_use+:} false; then :
42138 $as_echo_n "(cached) " >&6
42139 else
42142 ac_ext=cpp
42143 ac_cpp='$CXXCPP $CPPFLAGS'
42144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42149 /* end confdefs.h. */
42150 #include <math.h>
42152 main ()
42154 hypot(0, 0);
42156 return 0;
42158 _ACEOF
42159 if ac_fn_cxx_try_compile "$LINENO"; then :
42160 glibcxx_cv_func_hypot_use=yes
42161 else
42162 glibcxx_cv_func_hypot_use=no
42164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42165 ac_ext=c
42166 ac_cpp='$CPP $CPPFLAGS'
42167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
42176 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
42178 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
42179 for ac_func in hypot
42180 do :
42181 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
42182 if test "x$ac_cv_func_hypot" = xyes; then :
42183 cat >>confdefs.h <<_ACEOF
42184 #define HAVE_HYPOT 1
42185 _ACEOF
42188 done
42190 else
42192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
42193 $as_echo_n "checking for _hypot declaration... " >&6; }
42194 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
42195 if ${glibcxx_cv_func__hypot_use+:} false; then :
42196 $as_echo_n "(cached) " >&6
42197 else
42200 ac_ext=cpp
42201 ac_cpp='$CXXCPP $CPPFLAGS'
42202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42207 /* end confdefs.h. */
42208 #include <math.h>
42210 main ()
42212 _hypot(0, 0);
42214 return 0;
42216 _ACEOF
42217 if ac_fn_cxx_try_compile "$LINENO"; then :
42218 glibcxx_cv_func__hypot_use=yes
42219 else
42220 glibcxx_cv_func__hypot_use=no
42222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42223 ac_ext=c
42224 ac_cpp='$CPP $CPPFLAGS'
42225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
42234 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
42236 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
42237 for ac_func in _hypot
42238 do :
42239 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
42240 if test "x$ac_cv_func__hypot" = xyes; then :
42241 cat >>confdefs.h <<_ACEOF
42242 #define HAVE__HYPOT 1
42243 _ACEOF
42246 done
42255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
42256 $as_echo_n "checking for float trig functions... " >&6; }
42257 if ${glibcxx_cv_func_float_trig_use+:} false; then :
42258 $as_echo_n "(cached) " >&6
42259 else
42262 ac_ext=cpp
42263 ac_cpp='$CXXCPP $CPPFLAGS'
42264 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42265 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42266 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42269 /* end confdefs.h. */
42270 #include <math.h>
42272 main ()
42274 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
42276 return 0;
42278 _ACEOF
42279 if ac_fn_cxx_try_compile "$LINENO"; then :
42280 glibcxx_cv_func_float_trig_use=yes
42281 else
42282 glibcxx_cv_func_float_trig_use=no
42284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42285 ac_ext=c
42286 ac_cpp='$CPP $CPPFLAGS'
42287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
42294 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
42295 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
42296 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
42297 do :
42298 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42299 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42300 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
42301 cat >>confdefs.h <<_ACEOF
42302 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42303 _ACEOF
42306 done
42308 else
42309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
42310 $as_echo_n "checking for _float trig functions... " >&6; }
42311 if ${glibcxx_cv_func__float_trig_use+:} false; then :
42312 $as_echo_n "(cached) " >&6
42313 else
42316 ac_ext=cpp
42317 ac_cpp='$CXXCPP $CPPFLAGS'
42318 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42319 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42320 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42323 /* end confdefs.h. */
42324 #include <math.h>
42326 main ()
42328 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
42330 return 0;
42332 _ACEOF
42333 if ac_fn_cxx_try_compile "$LINENO"; then :
42334 glibcxx_cv_func__float_trig_use=yes
42335 else
42336 glibcxx_cv_func__float_trig_use=no
42338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42339 ac_ext=c
42340 ac_cpp='$CPP $CPPFLAGS'
42341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
42348 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
42349 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
42350 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
42351 do :
42352 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42353 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42354 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
42355 cat >>confdefs.h <<_ACEOF
42356 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42357 _ACEOF
42360 done
42369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
42370 $as_echo_n "checking for float round functions... " >&6; }
42371 if ${glibcxx_cv_func_float_round_use+:} false; then :
42372 $as_echo_n "(cached) " >&6
42373 else
42376 ac_ext=cpp
42377 ac_cpp='$CXXCPP $CPPFLAGS'
42378 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42379 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42380 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42383 /* end confdefs.h. */
42384 #include <math.h>
42386 main ()
42388 ceilf (0); floorf (0);
42390 return 0;
42392 _ACEOF
42393 if ac_fn_cxx_try_compile "$LINENO"; then :
42394 glibcxx_cv_func_float_round_use=yes
42395 else
42396 glibcxx_cv_func_float_round_use=no
42398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42399 ac_ext=c
42400 ac_cpp='$CPP $CPPFLAGS'
42401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
42408 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
42409 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
42410 for ac_func in ceilf floorf
42411 do :
42412 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42413 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42414 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
42415 cat >>confdefs.h <<_ACEOF
42416 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42417 _ACEOF
42420 done
42422 else
42423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
42424 $as_echo_n "checking for _float round functions... " >&6; }
42425 if ${glibcxx_cv_func__float_round_use+:} false; then :
42426 $as_echo_n "(cached) " >&6
42427 else
42430 ac_ext=cpp
42431 ac_cpp='$CXXCPP $CPPFLAGS'
42432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42437 /* end confdefs.h. */
42438 #include <math.h>
42440 main ()
42442 _ceilf (0); _floorf (0);
42444 return 0;
42446 _ACEOF
42447 if ac_fn_cxx_try_compile "$LINENO"; then :
42448 glibcxx_cv_func__float_round_use=yes
42449 else
42450 glibcxx_cv_func__float_round_use=no
42452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42453 ac_ext=c
42454 ac_cpp='$CPP $CPPFLAGS'
42455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
42462 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
42463 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
42464 for ac_func in _ceilf _floorf
42465 do :
42466 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42467 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42468 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
42469 cat >>confdefs.h <<_ACEOF
42470 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42471 _ACEOF
42474 done
42484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
42485 $as_echo_n "checking for expf declaration... " >&6; }
42486 if test x${glibcxx_cv_func_expf_use+set} != xset; then
42487 if ${glibcxx_cv_func_expf_use+:} false; then :
42488 $as_echo_n "(cached) " >&6
42489 else
42492 ac_ext=cpp
42493 ac_cpp='$CXXCPP $CPPFLAGS'
42494 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42495 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42496 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42499 /* end confdefs.h. */
42500 #include <math.h>
42501 #ifdef HAVE_IEEEFP_H
42502 #include <ieeefp.h>
42503 #endif
42506 main ()
42508 expf(0);
42510 return 0;
42512 _ACEOF
42513 if ac_fn_cxx_try_compile "$LINENO"; then :
42514 glibcxx_cv_func_expf_use=yes
42515 else
42516 glibcxx_cv_func_expf_use=no
42518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42519 ac_ext=c
42520 ac_cpp='$CPP $CPPFLAGS'
42521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
42530 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
42532 if test x$glibcxx_cv_func_expf_use = x"yes"; then
42533 for ac_func in expf
42534 do :
42535 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
42536 if test "x$ac_cv_func_expf" = xyes; then :
42537 cat >>confdefs.h <<_ACEOF
42538 #define HAVE_EXPF 1
42539 _ACEOF
42542 done
42544 else
42546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
42547 $as_echo_n "checking for _expf declaration... " >&6; }
42548 if test x${glibcxx_cv_func__expf_use+set} != xset; then
42549 if ${glibcxx_cv_func__expf_use+:} false; then :
42550 $as_echo_n "(cached) " >&6
42551 else
42554 ac_ext=cpp
42555 ac_cpp='$CXXCPP $CPPFLAGS'
42556 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42557 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42558 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42561 /* end confdefs.h. */
42562 #include <math.h>
42563 #ifdef HAVE_IEEEFP_H
42564 #include <ieeefp.h>
42565 #endif
42568 main ()
42570 _expf(0);
42572 return 0;
42574 _ACEOF
42575 if ac_fn_cxx_try_compile "$LINENO"; then :
42576 glibcxx_cv_func__expf_use=yes
42577 else
42578 glibcxx_cv_func__expf_use=no
42580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42581 ac_ext=c
42582 ac_cpp='$CPP $CPPFLAGS'
42583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
42592 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
42594 if test x$glibcxx_cv_func__expf_use = x"yes"; then
42595 for ac_func in _expf
42596 do :
42597 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
42598 if test "x$ac_cv_func__expf" = xyes; then :
42599 cat >>confdefs.h <<_ACEOF
42600 #define HAVE__EXPF 1
42601 _ACEOF
42604 done
42613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
42614 $as_echo_n "checking for isnanf declaration... " >&6; }
42615 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
42616 if ${glibcxx_cv_func_isnanf_use+:} false; then :
42617 $as_echo_n "(cached) " >&6
42618 else
42621 ac_ext=cpp
42622 ac_cpp='$CXXCPP $CPPFLAGS'
42623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42628 /* end confdefs.h. */
42629 #include <math.h>
42630 #ifdef HAVE_IEEEFP_H
42631 #include <ieeefp.h>
42632 #endif
42635 main ()
42637 isnanf(0);
42639 return 0;
42641 _ACEOF
42642 if ac_fn_cxx_try_compile "$LINENO"; then :
42643 glibcxx_cv_func_isnanf_use=yes
42644 else
42645 glibcxx_cv_func_isnanf_use=no
42647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42648 ac_ext=c
42649 ac_cpp='$CPP $CPPFLAGS'
42650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
42659 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
42661 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
42662 for ac_func in isnanf
42663 do :
42664 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
42665 if test "x$ac_cv_func_isnanf" = xyes; then :
42666 cat >>confdefs.h <<_ACEOF
42667 #define HAVE_ISNANF 1
42668 _ACEOF
42671 done
42673 else
42675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
42676 $as_echo_n "checking for _isnanf declaration... " >&6; }
42677 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
42678 if ${glibcxx_cv_func__isnanf_use+:} false; then :
42679 $as_echo_n "(cached) " >&6
42680 else
42683 ac_ext=cpp
42684 ac_cpp='$CXXCPP $CPPFLAGS'
42685 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42686 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42687 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42690 /* end confdefs.h. */
42691 #include <math.h>
42692 #ifdef HAVE_IEEEFP_H
42693 #include <ieeefp.h>
42694 #endif
42697 main ()
42699 _isnanf(0);
42701 return 0;
42703 _ACEOF
42704 if ac_fn_cxx_try_compile "$LINENO"; then :
42705 glibcxx_cv_func__isnanf_use=yes
42706 else
42707 glibcxx_cv_func__isnanf_use=no
42709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42710 ac_ext=c
42711 ac_cpp='$CPP $CPPFLAGS'
42712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
42721 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
42723 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
42724 for ac_func in _isnanf
42725 do :
42726 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
42727 if test "x$ac_cv_func__isnanf" = xyes; then :
42728 cat >>confdefs.h <<_ACEOF
42729 #define HAVE__ISNANF 1
42730 _ACEOF
42733 done
42742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
42743 $as_echo_n "checking for isinff declaration... " >&6; }
42744 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
42745 if ${glibcxx_cv_func_isinff_use+:} false; then :
42746 $as_echo_n "(cached) " >&6
42747 else
42750 ac_ext=cpp
42751 ac_cpp='$CXXCPP $CPPFLAGS'
42752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42757 /* end confdefs.h. */
42758 #include <math.h>
42759 #ifdef HAVE_IEEEFP_H
42760 #include <ieeefp.h>
42761 #endif
42764 main ()
42766 isinff(0);
42768 return 0;
42770 _ACEOF
42771 if ac_fn_cxx_try_compile "$LINENO"; then :
42772 glibcxx_cv_func_isinff_use=yes
42773 else
42774 glibcxx_cv_func_isinff_use=no
42776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42777 ac_ext=c
42778 ac_cpp='$CPP $CPPFLAGS'
42779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
42788 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
42790 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
42791 for ac_func in isinff
42792 do :
42793 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
42794 if test "x$ac_cv_func_isinff" = xyes; then :
42795 cat >>confdefs.h <<_ACEOF
42796 #define HAVE_ISINFF 1
42797 _ACEOF
42800 done
42802 else
42804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
42805 $as_echo_n "checking for _isinff declaration... " >&6; }
42806 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
42807 if ${glibcxx_cv_func__isinff_use+:} false; then :
42808 $as_echo_n "(cached) " >&6
42809 else
42812 ac_ext=cpp
42813 ac_cpp='$CXXCPP $CPPFLAGS'
42814 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42815 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42816 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42819 /* end confdefs.h. */
42820 #include <math.h>
42821 #ifdef HAVE_IEEEFP_H
42822 #include <ieeefp.h>
42823 #endif
42826 main ()
42828 _isinff(0);
42830 return 0;
42832 _ACEOF
42833 if ac_fn_cxx_try_compile "$LINENO"; then :
42834 glibcxx_cv_func__isinff_use=yes
42835 else
42836 glibcxx_cv_func__isinff_use=no
42838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42839 ac_ext=c
42840 ac_cpp='$CPP $CPPFLAGS'
42841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
42850 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
42852 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
42853 for ac_func in _isinff
42854 do :
42855 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
42856 if test "x$ac_cv_func__isinff" = xyes; then :
42857 cat >>confdefs.h <<_ACEOF
42858 #define HAVE__ISINFF 1
42859 _ACEOF
42862 done
42871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
42872 $as_echo_n "checking for atan2f declaration... " >&6; }
42873 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
42874 if ${glibcxx_cv_func_atan2f_use+:} false; then :
42875 $as_echo_n "(cached) " >&6
42876 else
42879 ac_ext=cpp
42880 ac_cpp='$CXXCPP $CPPFLAGS'
42881 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42882 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42883 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42886 /* end confdefs.h. */
42887 #include <math.h>
42889 main ()
42891 atan2f(0, 0);
42893 return 0;
42895 _ACEOF
42896 if ac_fn_cxx_try_compile "$LINENO"; then :
42897 glibcxx_cv_func_atan2f_use=yes
42898 else
42899 glibcxx_cv_func_atan2f_use=no
42901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42902 ac_ext=c
42903 ac_cpp='$CPP $CPPFLAGS'
42904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
42913 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
42915 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
42916 for ac_func in atan2f
42917 do :
42918 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
42919 if test "x$ac_cv_func_atan2f" = xyes; then :
42920 cat >>confdefs.h <<_ACEOF
42921 #define HAVE_ATAN2F 1
42922 _ACEOF
42925 done
42927 else
42929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
42930 $as_echo_n "checking for _atan2f declaration... " >&6; }
42931 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
42932 if ${glibcxx_cv_func__atan2f_use+:} false; then :
42933 $as_echo_n "(cached) " >&6
42934 else
42937 ac_ext=cpp
42938 ac_cpp='$CXXCPP $CPPFLAGS'
42939 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42940 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42941 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42944 /* end confdefs.h. */
42945 #include <math.h>
42947 main ()
42949 _atan2f(0, 0);
42951 return 0;
42953 _ACEOF
42954 if ac_fn_cxx_try_compile "$LINENO"; then :
42955 glibcxx_cv_func__atan2f_use=yes
42956 else
42957 glibcxx_cv_func__atan2f_use=no
42959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42960 ac_ext=c
42961 ac_cpp='$CPP $CPPFLAGS'
42962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
42971 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
42973 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
42974 for ac_func in _atan2f
42975 do :
42976 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
42977 if test "x$ac_cv_func__atan2f" = xyes; then :
42978 cat >>confdefs.h <<_ACEOF
42979 #define HAVE__ATAN2F 1
42980 _ACEOF
42983 done
42992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
42993 $as_echo_n "checking for fabsf declaration... " >&6; }
42994 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
42995 if ${glibcxx_cv_func_fabsf_use+:} false; then :
42996 $as_echo_n "(cached) " >&6
42997 else
43000 ac_ext=cpp
43001 ac_cpp='$CXXCPP $CPPFLAGS'
43002 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43003 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43004 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43007 /* end confdefs.h. */
43008 #include <math.h>
43009 #ifdef HAVE_IEEEFP_H
43010 #include <ieeefp.h>
43011 #endif
43014 main ()
43016 fabsf(0);
43018 return 0;
43020 _ACEOF
43021 if ac_fn_cxx_try_compile "$LINENO"; then :
43022 glibcxx_cv_func_fabsf_use=yes
43023 else
43024 glibcxx_cv_func_fabsf_use=no
43026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43027 ac_ext=c
43028 ac_cpp='$CPP $CPPFLAGS'
43029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
43038 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
43040 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
43041 for ac_func in fabsf
43042 do :
43043 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
43044 if test "x$ac_cv_func_fabsf" = xyes; then :
43045 cat >>confdefs.h <<_ACEOF
43046 #define HAVE_FABSF 1
43047 _ACEOF
43050 done
43052 else
43054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
43055 $as_echo_n "checking for _fabsf declaration... " >&6; }
43056 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
43057 if ${glibcxx_cv_func__fabsf_use+:} false; then :
43058 $as_echo_n "(cached) " >&6
43059 else
43062 ac_ext=cpp
43063 ac_cpp='$CXXCPP $CPPFLAGS'
43064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43069 /* end confdefs.h. */
43070 #include <math.h>
43071 #ifdef HAVE_IEEEFP_H
43072 #include <ieeefp.h>
43073 #endif
43076 main ()
43078 _fabsf(0);
43080 return 0;
43082 _ACEOF
43083 if ac_fn_cxx_try_compile "$LINENO"; then :
43084 glibcxx_cv_func__fabsf_use=yes
43085 else
43086 glibcxx_cv_func__fabsf_use=no
43088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43089 ac_ext=c
43090 ac_cpp='$CPP $CPPFLAGS'
43091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
43100 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
43102 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
43103 for ac_func in _fabsf
43104 do :
43105 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
43106 if test "x$ac_cv_func__fabsf" = xyes; then :
43107 cat >>confdefs.h <<_ACEOF
43108 #define HAVE__FABSF 1
43109 _ACEOF
43112 done
43121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
43122 $as_echo_n "checking for fmodf declaration... " >&6; }
43123 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
43124 if ${glibcxx_cv_func_fmodf_use+:} false; then :
43125 $as_echo_n "(cached) " >&6
43126 else
43129 ac_ext=cpp
43130 ac_cpp='$CXXCPP $CPPFLAGS'
43131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43136 /* end confdefs.h. */
43137 #include <math.h>
43139 main ()
43141 fmodf(0, 0);
43143 return 0;
43145 _ACEOF
43146 if ac_fn_cxx_try_compile "$LINENO"; then :
43147 glibcxx_cv_func_fmodf_use=yes
43148 else
43149 glibcxx_cv_func_fmodf_use=no
43151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43152 ac_ext=c
43153 ac_cpp='$CPP $CPPFLAGS'
43154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
43163 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
43165 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
43166 for ac_func in fmodf
43167 do :
43168 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
43169 if test "x$ac_cv_func_fmodf" = xyes; then :
43170 cat >>confdefs.h <<_ACEOF
43171 #define HAVE_FMODF 1
43172 _ACEOF
43175 done
43177 else
43179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
43180 $as_echo_n "checking for _fmodf declaration... " >&6; }
43181 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
43182 if ${glibcxx_cv_func__fmodf_use+:} false; then :
43183 $as_echo_n "(cached) " >&6
43184 else
43187 ac_ext=cpp
43188 ac_cpp='$CXXCPP $CPPFLAGS'
43189 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43190 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43191 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43194 /* end confdefs.h. */
43195 #include <math.h>
43197 main ()
43199 _fmodf(0, 0);
43201 return 0;
43203 _ACEOF
43204 if ac_fn_cxx_try_compile "$LINENO"; then :
43205 glibcxx_cv_func__fmodf_use=yes
43206 else
43207 glibcxx_cv_func__fmodf_use=no
43209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43210 ac_ext=c
43211 ac_cpp='$CPP $CPPFLAGS'
43212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
43221 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
43223 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
43224 for ac_func in _fmodf
43225 do :
43226 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
43227 if test "x$ac_cv_func__fmodf" = xyes; then :
43228 cat >>confdefs.h <<_ACEOF
43229 #define HAVE__FMODF 1
43230 _ACEOF
43233 done
43242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
43243 $as_echo_n "checking for frexpf declaration... " >&6; }
43244 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
43245 if ${glibcxx_cv_func_frexpf_use+:} false; then :
43246 $as_echo_n "(cached) " >&6
43247 else
43250 ac_ext=cpp
43251 ac_cpp='$CXXCPP $CPPFLAGS'
43252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43257 /* end confdefs.h. */
43258 #include <math.h>
43260 main ()
43262 frexpf(0, 0);
43264 return 0;
43266 _ACEOF
43267 if ac_fn_cxx_try_compile "$LINENO"; then :
43268 glibcxx_cv_func_frexpf_use=yes
43269 else
43270 glibcxx_cv_func_frexpf_use=no
43272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43273 ac_ext=c
43274 ac_cpp='$CPP $CPPFLAGS'
43275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
43284 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
43286 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
43287 for ac_func in frexpf
43288 do :
43289 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
43290 if test "x$ac_cv_func_frexpf" = xyes; then :
43291 cat >>confdefs.h <<_ACEOF
43292 #define HAVE_FREXPF 1
43293 _ACEOF
43296 done
43298 else
43300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
43301 $as_echo_n "checking for _frexpf declaration... " >&6; }
43302 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
43303 if ${glibcxx_cv_func__frexpf_use+:} false; then :
43304 $as_echo_n "(cached) " >&6
43305 else
43308 ac_ext=cpp
43309 ac_cpp='$CXXCPP $CPPFLAGS'
43310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43315 /* end confdefs.h. */
43316 #include <math.h>
43318 main ()
43320 _frexpf(0, 0);
43322 return 0;
43324 _ACEOF
43325 if ac_fn_cxx_try_compile "$LINENO"; then :
43326 glibcxx_cv_func__frexpf_use=yes
43327 else
43328 glibcxx_cv_func__frexpf_use=no
43330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43331 ac_ext=c
43332 ac_cpp='$CPP $CPPFLAGS'
43333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
43342 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
43344 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
43345 for ac_func in _frexpf
43346 do :
43347 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
43348 if test "x$ac_cv_func__frexpf" = xyes; then :
43349 cat >>confdefs.h <<_ACEOF
43350 #define HAVE__FREXPF 1
43351 _ACEOF
43354 done
43363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
43364 $as_echo_n "checking for hypotf declaration... " >&6; }
43365 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
43366 if ${glibcxx_cv_func_hypotf_use+:} false; then :
43367 $as_echo_n "(cached) " >&6
43368 else
43371 ac_ext=cpp
43372 ac_cpp='$CXXCPP $CPPFLAGS'
43373 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43374 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43375 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43378 /* end confdefs.h. */
43379 #include <math.h>
43381 main ()
43383 hypotf(0, 0);
43385 return 0;
43387 _ACEOF
43388 if ac_fn_cxx_try_compile "$LINENO"; then :
43389 glibcxx_cv_func_hypotf_use=yes
43390 else
43391 glibcxx_cv_func_hypotf_use=no
43393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43394 ac_ext=c
43395 ac_cpp='$CPP $CPPFLAGS'
43396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
43405 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
43407 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
43408 for ac_func in hypotf
43409 do :
43410 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
43411 if test "x$ac_cv_func_hypotf" = xyes; then :
43412 cat >>confdefs.h <<_ACEOF
43413 #define HAVE_HYPOTF 1
43414 _ACEOF
43417 done
43419 else
43421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
43422 $as_echo_n "checking for _hypotf declaration... " >&6; }
43423 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
43424 if ${glibcxx_cv_func__hypotf_use+:} false; then :
43425 $as_echo_n "(cached) " >&6
43426 else
43429 ac_ext=cpp
43430 ac_cpp='$CXXCPP $CPPFLAGS'
43431 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43432 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43433 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43436 /* end confdefs.h. */
43437 #include <math.h>
43439 main ()
43441 _hypotf(0, 0);
43443 return 0;
43445 _ACEOF
43446 if ac_fn_cxx_try_compile "$LINENO"; then :
43447 glibcxx_cv_func__hypotf_use=yes
43448 else
43449 glibcxx_cv_func__hypotf_use=no
43451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43452 ac_ext=c
43453 ac_cpp='$CPP $CPPFLAGS'
43454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
43463 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
43465 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
43466 for ac_func in _hypotf
43467 do :
43468 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
43469 if test "x$ac_cv_func__hypotf" = xyes; then :
43470 cat >>confdefs.h <<_ACEOF
43471 #define HAVE__HYPOTF 1
43472 _ACEOF
43475 done
43484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
43485 $as_echo_n "checking for ldexpf declaration... " >&6; }
43486 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
43487 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
43488 $as_echo_n "(cached) " >&6
43489 else
43492 ac_ext=cpp
43493 ac_cpp='$CXXCPP $CPPFLAGS'
43494 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43495 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43496 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43499 /* end confdefs.h. */
43500 #include <math.h>
43502 main ()
43504 ldexpf(0, 0);
43506 return 0;
43508 _ACEOF
43509 if ac_fn_cxx_try_compile "$LINENO"; then :
43510 glibcxx_cv_func_ldexpf_use=yes
43511 else
43512 glibcxx_cv_func_ldexpf_use=no
43514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43515 ac_ext=c
43516 ac_cpp='$CPP $CPPFLAGS'
43517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
43526 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
43528 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
43529 for ac_func in ldexpf
43530 do :
43531 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
43532 if test "x$ac_cv_func_ldexpf" = xyes; then :
43533 cat >>confdefs.h <<_ACEOF
43534 #define HAVE_LDEXPF 1
43535 _ACEOF
43538 done
43540 else
43542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
43543 $as_echo_n "checking for _ldexpf declaration... " >&6; }
43544 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
43545 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
43546 $as_echo_n "(cached) " >&6
43547 else
43550 ac_ext=cpp
43551 ac_cpp='$CXXCPP $CPPFLAGS'
43552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43557 /* end confdefs.h. */
43558 #include <math.h>
43560 main ()
43562 _ldexpf(0, 0);
43564 return 0;
43566 _ACEOF
43567 if ac_fn_cxx_try_compile "$LINENO"; then :
43568 glibcxx_cv_func__ldexpf_use=yes
43569 else
43570 glibcxx_cv_func__ldexpf_use=no
43572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43573 ac_ext=c
43574 ac_cpp='$CPP $CPPFLAGS'
43575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
43584 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
43586 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
43587 for ac_func in _ldexpf
43588 do :
43589 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
43590 if test "x$ac_cv_func__ldexpf" = xyes; then :
43591 cat >>confdefs.h <<_ACEOF
43592 #define HAVE__LDEXPF 1
43593 _ACEOF
43596 done
43605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
43606 $as_echo_n "checking for logf declaration... " >&6; }
43607 if test x${glibcxx_cv_func_logf_use+set} != xset; then
43608 if ${glibcxx_cv_func_logf_use+:} false; then :
43609 $as_echo_n "(cached) " >&6
43610 else
43613 ac_ext=cpp
43614 ac_cpp='$CXXCPP $CPPFLAGS'
43615 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43616 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43617 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43620 /* end confdefs.h. */
43621 #include <math.h>
43622 #ifdef HAVE_IEEEFP_H
43623 #include <ieeefp.h>
43624 #endif
43627 main ()
43629 logf(0);
43631 return 0;
43633 _ACEOF
43634 if ac_fn_cxx_try_compile "$LINENO"; then :
43635 glibcxx_cv_func_logf_use=yes
43636 else
43637 glibcxx_cv_func_logf_use=no
43639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43640 ac_ext=c
43641 ac_cpp='$CPP $CPPFLAGS'
43642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
43651 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
43653 if test x$glibcxx_cv_func_logf_use = x"yes"; then
43654 for ac_func in logf
43655 do :
43656 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
43657 if test "x$ac_cv_func_logf" = xyes; then :
43658 cat >>confdefs.h <<_ACEOF
43659 #define HAVE_LOGF 1
43660 _ACEOF
43663 done
43665 else
43667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
43668 $as_echo_n "checking for _logf declaration... " >&6; }
43669 if test x${glibcxx_cv_func__logf_use+set} != xset; then
43670 if ${glibcxx_cv_func__logf_use+:} false; then :
43671 $as_echo_n "(cached) " >&6
43672 else
43675 ac_ext=cpp
43676 ac_cpp='$CXXCPP $CPPFLAGS'
43677 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43678 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43679 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43682 /* end confdefs.h. */
43683 #include <math.h>
43684 #ifdef HAVE_IEEEFP_H
43685 #include <ieeefp.h>
43686 #endif
43689 main ()
43691 _logf(0);
43693 return 0;
43695 _ACEOF
43696 if ac_fn_cxx_try_compile "$LINENO"; then :
43697 glibcxx_cv_func__logf_use=yes
43698 else
43699 glibcxx_cv_func__logf_use=no
43701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43702 ac_ext=c
43703 ac_cpp='$CPP $CPPFLAGS'
43704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
43713 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
43715 if test x$glibcxx_cv_func__logf_use = x"yes"; then
43716 for ac_func in _logf
43717 do :
43718 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
43719 if test "x$ac_cv_func__logf" = xyes; then :
43720 cat >>confdefs.h <<_ACEOF
43721 #define HAVE__LOGF 1
43722 _ACEOF
43725 done
43734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
43735 $as_echo_n "checking for log10f declaration... " >&6; }
43736 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
43737 if ${glibcxx_cv_func_log10f_use+:} false; then :
43738 $as_echo_n "(cached) " >&6
43739 else
43742 ac_ext=cpp
43743 ac_cpp='$CXXCPP $CPPFLAGS'
43744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43749 /* end confdefs.h. */
43750 #include <math.h>
43751 #ifdef HAVE_IEEEFP_H
43752 #include <ieeefp.h>
43753 #endif
43756 main ()
43758 log10f(0);
43760 return 0;
43762 _ACEOF
43763 if ac_fn_cxx_try_compile "$LINENO"; then :
43764 glibcxx_cv_func_log10f_use=yes
43765 else
43766 glibcxx_cv_func_log10f_use=no
43768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43769 ac_ext=c
43770 ac_cpp='$CPP $CPPFLAGS'
43771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
43780 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
43782 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
43783 for ac_func in log10f
43784 do :
43785 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
43786 if test "x$ac_cv_func_log10f" = xyes; then :
43787 cat >>confdefs.h <<_ACEOF
43788 #define HAVE_LOG10F 1
43789 _ACEOF
43792 done
43794 else
43796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
43797 $as_echo_n "checking for _log10f declaration... " >&6; }
43798 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
43799 if ${glibcxx_cv_func__log10f_use+:} false; then :
43800 $as_echo_n "(cached) " >&6
43801 else
43804 ac_ext=cpp
43805 ac_cpp='$CXXCPP $CPPFLAGS'
43806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43811 /* end confdefs.h. */
43812 #include <math.h>
43813 #ifdef HAVE_IEEEFP_H
43814 #include <ieeefp.h>
43815 #endif
43818 main ()
43820 _log10f(0);
43822 return 0;
43824 _ACEOF
43825 if ac_fn_cxx_try_compile "$LINENO"; then :
43826 glibcxx_cv_func__log10f_use=yes
43827 else
43828 glibcxx_cv_func__log10f_use=no
43830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43831 ac_ext=c
43832 ac_cpp='$CPP $CPPFLAGS'
43833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
43842 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
43844 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
43845 for ac_func in _log10f
43846 do :
43847 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
43848 if test "x$ac_cv_func__log10f" = xyes; then :
43849 cat >>confdefs.h <<_ACEOF
43850 #define HAVE__LOG10F 1
43851 _ACEOF
43854 done
43863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
43864 $as_echo_n "checking for modff declaration... " >&6; }
43865 if test x${glibcxx_cv_func_modff_use+set} != xset; then
43866 if ${glibcxx_cv_func_modff_use+:} false; then :
43867 $as_echo_n "(cached) " >&6
43868 else
43871 ac_ext=cpp
43872 ac_cpp='$CXXCPP $CPPFLAGS'
43873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43878 /* end confdefs.h. */
43879 #include <math.h>
43881 main ()
43883 modff(0, 0);
43885 return 0;
43887 _ACEOF
43888 if ac_fn_cxx_try_compile "$LINENO"; then :
43889 glibcxx_cv_func_modff_use=yes
43890 else
43891 glibcxx_cv_func_modff_use=no
43893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43894 ac_ext=c
43895 ac_cpp='$CPP $CPPFLAGS'
43896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
43905 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
43907 if test x$glibcxx_cv_func_modff_use = x"yes"; then
43908 for ac_func in modff
43909 do :
43910 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
43911 if test "x$ac_cv_func_modff" = xyes; then :
43912 cat >>confdefs.h <<_ACEOF
43913 #define HAVE_MODFF 1
43914 _ACEOF
43917 done
43919 else
43921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
43922 $as_echo_n "checking for _modff declaration... " >&6; }
43923 if test x${glibcxx_cv_func__modff_use+set} != xset; then
43924 if ${glibcxx_cv_func__modff_use+:} false; then :
43925 $as_echo_n "(cached) " >&6
43926 else
43929 ac_ext=cpp
43930 ac_cpp='$CXXCPP $CPPFLAGS'
43931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43932 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43936 /* end confdefs.h. */
43937 #include <math.h>
43939 main ()
43941 _modff(0, 0);
43943 return 0;
43945 _ACEOF
43946 if ac_fn_cxx_try_compile "$LINENO"; then :
43947 glibcxx_cv_func__modff_use=yes
43948 else
43949 glibcxx_cv_func__modff_use=no
43951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43952 ac_ext=c
43953 ac_cpp='$CPP $CPPFLAGS'
43954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
43963 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
43965 if test x$glibcxx_cv_func__modff_use = x"yes"; then
43966 for ac_func in _modff
43967 do :
43968 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
43969 if test "x$ac_cv_func__modff" = xyes; then :
43970 cat >>confdefs.h <<_ACEOF
43971 #define HAVE__MODFF 1
43972 _ACEOF
43975 done
43984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
43985 $as_echo_n "checking for modf declaration... " >&6; }
43986 if test x${glibcxx_cv_func_modf_use+set} != xset; then
43987 if ${glibcxx_cv_func_modf_use+:} false; then :
43988 $as_echo_n "(cached) " >&6
43989 else
43992 ac_ext=cpp
43993 ac_cpp='$CXXCPP $CPPFLAGS'
43994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43999 /* end confdefs.h. */
44000 #include <math.h>
44002 main ()
44004 modf(0, 0);
44006 return 0;
44008 _ACEOF
44009 if ac_fn_cxx_try_compile "$LINENO"; then :
44010 glibcxx_cv_func_modf_use=yes
44011 else
44012 glibcxx_cv_func_modf_use=no
44014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44015 ac_ext=c
44016 ac_cpp='$CPP $CPPFLAGS'
44017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
44026 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
44028 if test x$glibcxx_cv_func_modf_use = x"yes"; then
44029 for ac_func in modf
44030 do :
44031 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
44032 if test "x$ac_cv_func_modf" = xyes; then :
44033 cat >>confdefs.h <<_ACEOF
44034 #define HAVE_MODF 1
44035 _ACEOF
44038 done
44040 else
44042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
44043 $as_echo_n "checking for _modf declaration... " >&6; }
44044 if test x${glibcxx_cv_func__modf_use+set} != xset; then
44045 if ${glibcxx_cv_func__modf_use+:} false; then :
44046 $as_echo_n "(cached) " >&6
44047 else
44050 ac_ext=cpp
44051 ac_cpp='$CXXCPP $CPPFLAGS'
44052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44057 /* end confdefs.h. */
44058 #include <math.h>
44060 main ()
44062 _modf(0, 0);
44064 return 0;
44066 _ACEOF
44067 if ac_fn_cxx_try_compile "$LINENO"; then :
44068 glibcxx_cv_func__modf_use=yes
44069 else
44070 glibcxx_cv_func__modf_use=no
44072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44073 ac_ext=c
44074 ac_cpp='$CPP $CPPFLAGS'
44075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
44084 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
44086 if test x$glibcxx_cv_func__modf_use = x"yes"; then
44087 for ac_func in _modf
44088 do :
44089 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
44090 if test "x$ac_cv_func__modf" = xyes; then :
44091 cat >>confdefs.h <<_ACEOF
44092 #define HAVE__MODF 1
44093 _ACEOF
44096 done
44105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
44106 $as_echo_n "checking for powf declaration... " >&6; }
44107 if test x${glibcxx_cv_func_powf_use+set} != xset; then
44108 if ${glibcxx_cv_func_powf_use+:} false; then :
44109 $as_echo_n "(cached) " >&6
44110 else
44113 ac_ext=cpp
44114 ac_cpp='$CXXCPP $CPPFLAGS'
44115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44120 /* end confdefs.h. */
44121 #include <math.h>
44123 main ()
44125 powf(0, 0);
44127 return 0;
44129 _ACEOF
44130 if ac_fn_cxx_try_compile "$LINENO"; then :
44131 glibcxx_cv_func_powf_use=yes
44132 else
44133 glibcxx_cv_func_powf_use=no
44135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44136 ac_ext=c
44137 ac_cpp='$CPP $CPPFLAGS'
44138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
44147 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
44149 if test x$glibcxx_cv_func_powf_use = x"yes"; then
44150 for ac_func in powf
44151 do :
44152 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
44153 if test "x$ac_cv_func_powf" = xyes; then :
44154 cat >>confdefs.h <<_ACEOF
44155 #define HAVE_POWF 1
44156 _ACEOF
44159 done
44161 else
44163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
44164 $as_echo_n "checking for _powf declaration... " >&6; }
44165 if test x${glibcxx_cv_func__powf_use+set} != xset; then
44166 if ${glibcxx_cv_func__powf_use+:} false; then :
44167 $as_echo_n "(cached) " >&6
44168 else
44171 ac_ext=cpp
44172 ac_cpp='$CXXCPP $CPPFLAGS'
44173 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44174 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44175 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44178 /* end confdefs.h. */
44179 #include <math.h>
44181 main ()
44183 _powf(0, 0);
44185 return 0;
44187 _ACEOF
44188 if ac_fn_cxx_try_compile "$LINENO"; then :
44189 glibcxx_cv_func__powf_use=yes
44190 else
44191 glibcxx_cv_func__powf_use=no
44193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44194 ac_ext=c
44195 ac_cpp='$CPP $CPPFLAGS'
44196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
44205 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
44207 if test x$glibcxx_cv_func__powf_use = x"yes"; then
44208 for ac_func in _powf
44209 do :
44210 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
44211 if test "x$ac_cv_func__powf" = xyes; then :
44212 cat >>confdefs.h <<_ACEOF
44213 #define HAVE__POWF 1
44214 _ACEOF
44217 done
44226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
44227 $as_echo_n "checking for sqrtf declaration... " >&6; }
44228 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
44229 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
44230 $as_echo_n "(cached) " >&6
44231 else
44234 ac_ext=cpp
44235 ac_cpp='$CXXCPP $CPPFLAGS'
44236 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44237 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44238 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44241 /* end confdefs.h. */
44242 #include <math.h>
44243 #ifdef HAVE_IEEEFP_H
44244 #include <ieeefp.h>
44245 #endif
44248 main ()
44250 sqrtf(0);
44252 return 0;
44254 _ACEOF
44255 if ac_fn_cxx_try_compile "$LINENO"; then :
44256 glibcxx_cv_func_sqrtf_use=yes
44257 else
44258 glibcxx_cv_func_sqrtf_use=no
44260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44261 ac_ext=c
44262 ac_cpp='$CPP $CPPFLAGS'
44263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
44272 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
44274 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
44275 for ac_func in sqrtf
44276 do :
44277 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
44278 if test "x$ac_cv_func_sqrtf" = xyes; then :
44279 cat >>confdefs.h <<_ACEOF
44280 #define HAVE_SQRTF 1
44281 _ACEOF
44284 done
44286 else
44288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
44289 $as_echo_n "checking for _sqrtf declaration... " >&6; }
44290 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
44291 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
44292 $as_echo_n "(cached) " >&6
44293 else
44296 ac_ext=cpp
44297 ac_cpp='$CXXCPP $CPPFLAGS'
44298 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44299 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44300 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44303 /* end confdefs.h. */
44304 #include <math.h>
44305 #ifdef HAVE_IEEEFP_H
44306 #include <ieeefp.h>
44307 #endif
44310 main ()
44312 _sqrtf(0);
44314 return 0;
44316 _ACEOF
44317 if ac_fn_cxx_try_compile "$LINENO"; then :
44318 glibcxx_cv_func__sqrtf_use=yes
44319 else
44320 glibcxx_cv_func__sqrtf_use=no
44322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44323 ac_ext=c
44324 ac_cpp='$CPP $CPPFLAGS'
44325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
44334 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
44336 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
44337 for ac_func in _sqrtf
44338 do :
44339 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
44340 if test "x$ac_cv_func__sqrtf" = xyes; then :
44341 cat >>confdefs.h <<_ACEOF
44342 #define HAVE__SQRTF 1
44343 _ACEOF
44346 done
44355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
44356 $as_echo_n "checking for sincosf declaration... " >&6; }
44357 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
44358 if ${glibcxx_cv_func_sincosf_use+:} false; then :
44359 $as_echo_n "(cached) " >&6
44360 else
44363 ac_ext=cpp
44364 ac_cpp='$CXXCPP $CPPFLAGS'
44365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44370 /* end confdefs.h. */
44371 #include <math.h>
44373 main ()
44375 sincosf(0, 0, 0);
44377 return 0;
44379 _ACEOF
44380 if ac_fn_cxx_try_compile "$LINENO"; then :
44381 glibcxx_cv_func_sincosf_use=yes
44382 else
44383 glibcxx_cv_func_sincosf_use=no
44385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44386 ac_ext=c
44387 ac_cpp='$CPP $CPPFLAGS'
44388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
44397 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
44399 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
44400 for ac_func in sincosf
44401 do :
44402 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
44403 if test "x$ac_cv_func_sincosf" = xyes; then :
44404 cat >>confdefs.h <<_ACEOF
44405 #define HAVE_SINCOSF 1
44406 _ACEOF
44409 done
44411 else
44413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
44414 $as_echo_n "checking for _sincosf declaration... " >&6; }
44415 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
44416 if ${glibcxx_cv_func__sincosf_use+:} false; then :
44417 $as_echo_n "(cached) " >&6
44418 else
44421 ac_ext=cpp
44422 ac_cpp='$CXXCPP $CPPFLAGS'
44423 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44424 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44425 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44428 /* end confdefs.h. */
44429 #include <math.h>
44431 main ()
44433 _sincosf(0, 0, 0);
44435 return 0;
44437 _ACEOF
44438 if ac_fn_cxx_try_compile "$LINENO"; then :
44439 glibcxx_cv_func__sincosf_use=yes
44440 else
44441 glibcxx_cv_func__sincosf_use=no
44443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44444 ac_ext=c
44445 ac_cpp='$CPP $CPPFLAGS'
44446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
44455 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
44457 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
44458 for ac_func in _sincosf
44459 do :
44460 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
44461 if test "x$ac_cv_func__sincosf" = xyes; then :
44462 cat >>confdefs.h <<_ACEOF
44463 #define HAVE__SINCOSF 1
44464 _ACEOF
44467 done
44476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
44477 $as_echo_n "checking for finitef declaration... " >&6; }
44478 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
44479 if ${glibcxx_cv_func_finitef_use+:} false; then :
44480 $as_echo_n "(cached) " >&6
44481 else
44484 ac_ext=cpp
44485 ac_cpp='$CXXCPP $CPPFLAGS'
44486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44491 /* end confdefs.h. */
44492 #include <math.h>
44493 #ifdef HAVE_IEEEFP_H
44494 #include <ieeefp.h>
44495 #endif
44498 main ()
44500 finitef(0);
44502 return 0;
44504 _ACEOF
44505 if ac_fn_cxx_try_compile "$LINENO"; then :
44506 glibcxx_cv_func_finitef_use=yes
44507 else
44508 glibcxx_cv_func_finitef_use=no
44510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44511 ac_ext=c
44512 ac_cpp='$CPP $CPPFLAGS'
44513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
44522 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
44524 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
44525 for ac_func in finitef
44526 do :
44527 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
44528 if test "x$ac_cv_func_finitef" = xyes; then :
44529 cat >>confdefs.h <<_ACEOF
44530 #define HAVE_FINITEF 1
44531 _ACEOF
44534 done
44536 else
44538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
44539 $as_echo_n "checking for _finitef declaration... " >&6; }
44540 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
44541 if ${glibcxx_cv_func__finitef_use+:} false; then :
44542 $as_echo_n "(cached) " >&6
44543 else
44546 ac_ext=cpp
44547 ac_cpp='$CXXCPP $CPPFLAGS'
44548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44553 /* end confdefs.h. */
44554 #include <math.h>
44555 #ifdef HAVE_IEEEFP_H
44556 #include <ieeefp.h>
44557 #endif
44560 main ()
44562 _finitef(0);
44564 return 0;
44566 _ACEOF
44567 if ac_fn_cxx_try_compile "$LINENO"; then :
44568 glibcxx_cv_func__finitef_use=yes
44569 else
44570 glibcxx_cv_func__finitef_use=no
44572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44573 ac_ext=c
44574 ac_cpp='$CPP $CPPFLAGS'
44575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
44584 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
44586 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
44587 for ac_func in _finitef
44588 do :
44589 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
44590 if test "x$ac_cv_func__finitef" = xyes; then :
44591 cat >>confdefs.h <<_ACEOF
44592 #define HAVE__FINITEF 1
44593 _ACEOF
44596 done
44605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
44606 $as_echo_n "checking for long double trig functions... " >&6; }
44607 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
44608 $as_echo_n "(cached) " >&6
44609 else
44612 ac_ext=cpp
44613 ac_cpp='$CXXCPP $CPPFLAGS'
44614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44619 /* end confdefs.h. */
44620 #include <math.h>
44622 main ()
44624 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
44626 return 0;
44628 _ACEOF
44629 if ac_fn_cxx_try_compile "$LINENO"; then :
44630 glibcxx_cv_func_long_double_trig_use=yes
44631 else
44632 glibcxx_cv_func_long_double_trig_use=no
44634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44635 ac_ext=c
44636 ac_cpp='$CPP $CPPFLAGS'
44637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
44644 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
44645 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
44646 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
44647 do :
44648 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44649 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44650 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
44651 cat >>confdefs.h <<_ACEOF
44652 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44653 _ACEOF
44656 done
44658 else
44659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
44660 $as_echo_n "checking for _long double trig functions... " >&6; }
44661 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
44662 $as_echo_n "(cached) " >&6
44663 else
44666 ac_ext=cpp
44667 ac_cpp='$CXXCPP $CPPFLAGS'
44668 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44669 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44670 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44673 /* end confdefs.h. */
44674 #include <math.h>
44676 main ()
44678 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
44680 return 0;
44682 _ACEOF
44683 if ac_fn_cxx_try_compile "$LINENO"; then :
44684 glibcxx_cv_func__long_double_trig_use=yes
44685 else
44686 glibcxx_cv_func__long_double_trig_use=no
44688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44689 ac_ext=c
44690 ac_cpp='$CPP $CPPFLAGS'
44691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
44698 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
44699 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
44700 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
44701 do :
44702 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44703 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44704 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
44705 cat >>confdefs.h <<_ACEOF
44706 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44707 _ACEOF
44710 done
44719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
44720 $as_echo_n "checking for long double round functions... " >&6; }
44721 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
44722 $as_echo_n "(cached) " >&6
44723 else
44726 ac_ext=cpp
44727 ac_cpp='$CXXCPP $CPPFLAGS'
44728 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44729 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44730 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44733 /* end confdefs.h. */
44734 #include <math.h>
44736 main ()
44738 ceill (0); floorl (0);
44740 return 0;
44742 _ACEOF
44743 if ac_fn_cxx_try_compile "$LINENO"; then :
44744 glibcxx_cv_func_long_double_round_use=yes
44745 else
44746 glibcxx_cv_func_long_double_round_use=no
44748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44749 ac_ext=c
44750 ac_cpp='$CPP $CPPFLAGS'
44751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
44758 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
44759 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
44760 for ac_func in ceill floorl
44761 do :
44762 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44763 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44764 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
44765 cat >>confdefs.h <<_ACEOF
44766 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44767 _ACEOF
44770 done
44772 else
44773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
44774 $as_echo_n "checking for _long double round functions... " >&6; }
44775 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
44776 $as_echo_n "(cached) " >&6
44777 else
44780 ac_ext=cpp
44781 ac_cpp='$CXXCPP $CPPFLAGS'
44782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44787 /* end confdefs.h. */
44788 #include <math.h>
44790 main ()
44792 _ceill (0); _floorl (0);
44794 return 0;
44796 _ACEOF
44797 if ac_fn_cxx_try_compile "$LINENO"; then :
44798 glibcxx_cv_func__long_double_round_use=yes
44799 else
44800 glibcxx_cv_func__long_double_round_use=no
44802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44803 ac_ext=c
44804 ac_cpp='$CPP $CPPFLAGS'
44805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
44812 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
44813 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
44814 for ac_func in _ceill _floorl
44815 do :
44816 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44817 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44818 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
44819 cat >>confdefs.h <<_ACEOF
44820 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44821 _ACEOF
44824 done
44834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
44835 $as_echo_n "checking for isnanl declaration... " >&6; }
44836 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
44837 if ${glibcxx_cv_func_isnanl_use+:} false; then :
44838 $as_echo_n "(cached) " >&6
44839 else
44842 ac_ext=cpp
44843 ac_cpp='$CXXCPP $CPPFLAGS'
44844 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44845 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44846 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44849 /* end confdefs.h. */
44850 #include <math.h>
44851 #ifdef HAVE_IEEEFP_H
44852 #include <ieeefp.h>
44853 #endif
44856 main ()
44858 isnanl(0);
44860 return 0;
44862 _ACEOF
44863 if ac_fn_cxx_try_compile "$LINENO"; then :
44864 glibcxx_cv_func_isnanl_use=yes
44865 else
44866 glibcxx_cv_func_isnanl_use=no
44868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44869 ac_ext=c
44870 ac_cpp='$CPP $CPPFLAGS'
44871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
44880 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
44882 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
44883 for ac_func in isnanl
44884 do :
44885 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
44886 if test "x$ac_cv_func_isnanl" = xyes; then :
44887 cat >>confdefs.h <<_ACEOF
44888 #define HAVE_ISNANL 1
44889 _ACEOF
44892 done
44894 else
44896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
44897 $as_echo_n "checking for _isnanl declaration... " >&6; }
44898 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
44899 if ${glibcxx_cv_func__isnanl_use+:} false; then :
44900 $as_echo_n "(cached) " >&6
44901 else
44904 ac_ext=cpp
44905 ac_cpp='$CXXCPP $CPPFLAGS'
44906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44907 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44911 /* end confdefs.h. */
44912 #include <math.h>
44913 #ifdef HAVE_IEEEFP_H
44914 #include <ieeefp.h>
44915 #endif
44918 main ()
44920 _isnanl(0);
44922 return 0;
44924 _ACEOF
44925 if ac_fn_cxx_try_compile "$LINENO"; then :
44926 glibcxx_cv_func__isnanl_use=yes
44927 else
44928 glibcxx_cv_func__isnanl_use=no
44930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44931 ac_ext=c
44932 ac_cpp='$CPP $CPPFLAGS'
44933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
44942 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
44944 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
44945 for ac_func in _isnanl
44946 do :
44947 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
44948 if test "x$ac_cv_func__isnanl" = xyes; then :
44949 cat >>confdefs.h <<_ACEOF
44950 #define HAVE__ISNANL 1
44951 _ACEOF
44954 done
44963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
44964 $as_echo_n "checking for isinfl declaration... " >&6; }
44965 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
44966 if ${glibcxx_cv_func_isinfl_use+:} false; then :
44967 $as_echo_n "(cached) " >&6
44968 else
44971 ac_ext=cpp
44972 ac_cpp='$CXXCPP $CPPFLAGS'
44973 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44974 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44975 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44978 /* end confdefs.h. */
44979 #include <math.h>
44980 #ifdef HAVE_IEEEFP_H
44981 #include <ieeefp.h>
44982 #endif
44985 main ()
44987 isinfl(0);
44989 return 0;
44991 _ACEOF
44992 if ac_fn_cxx_try_compile "$LINENO"; then :
44993 glibcxx_cv_func_isinfl_use=yes
44994 else
44995 glibcxx_cv_func_isinfl_use=no
44997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44998 ac_ext=c
44999 ac_cpp='$CPP $CPPFLAGS'
45000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
45009 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
45011 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
45012 for ac_func in isinfl
45013 do :
45014 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
45015 if test "x$ac_cv_func_isinfl" = xyes; then :
45016 cat >>confdefs.h <<_ACEOF
45017 #define HAVE_ISINFL 1
45018 _ACEOF
45021 done
45023 else
45025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
45026 $as_echo_n "checking for _isinfl declaration... " >&6; }
45027 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
45028 if ${glibcxx_cv_func__isinfl_use+:} false; then :
45029 $as_echo_n "(cached) " >&6
45030 else
45033 ac_ext=cpp
45034 ac_cpp='$CXXCPP $CPPFLAGS'
45035 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45036 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45037 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45040 /* end confdefs.h. */
45041 #include <math.h>
45042 #ifdef HAVE_IEEEFP_H
45043 #include <ieeefp.h>
45044 #endif
45047 main ()
45049 _isinfl(0);
45051 return 0;
45053 _ACEOF
45054 if ac_fn_cxx_try_compile "$LINENO"; then :
45055 glibcxx_cv_func__isinfl_use=yes
45056 else
45057 glibcxx_cv_func__isinfl_use=no
45059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45060 ac_ext=c
45061 ac_cpp='$CPP $CPPFLAGS'
45062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
45071 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
45073 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
45074 for ac_func in _isinfl
45075 do :
45076 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
45077 if test "x$ac_cv_func__isinfl" = xyes; then :
45078 cat >>confdefs.h <<_ACEOF
45079 #define HAVE__ISINFL 1
45080 _ACEOF
45083 done
45092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
45093 $as_echo_n "checking for atan2l declaration... " >&6; }
45094 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
45095 if ${glibcxx_cv_func_atan2l_use+:} false; then :
45096 $as_echo_n "(cached) " >&6
45097 else
45100 ac_ext=cpp
45101 ac_cpp='$CXXCPP $CPPFLAGS'
45102 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45103 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45104 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45107 /* end confdefs.h. */
45108 #include <math.h>
45110 main ()
45112 atan2l(0, 0);
45114 return 0;
45116 _ACEOF
45117 if ac_fn_cxx_try_compile "$LINENO"; then :
45118 glibcxx_cv_func_atan2l_use=yes
45119 else
45120 glibcxx_cv_func_atan2l_use=no
45122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45123 ac_ext=c
45124 ac_cpp='$CPP $CPPFLAGS'
45125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
45134 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
45136 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
45137 for ac_func in atan2l
45138 do :
45139 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
45140 if test "x$ac_cv_func_atan2l" = xyes; then :
45141 cat >>confdefs.h <<_ACEOF
45142 #define HAVE_ATAN2L 1
45143 _ACEOF
45146 done
45148 else
45150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
45151 $as_echo_n "checking for _atan2l declaration... " >&6; }
45152 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
45153 if ${glibcxx_cv_func__atan2l_use+:} false; then :
45154 $as_echo_n "(cached) " >&6
45155 else
45158 ac_ext=cpp
45159 ac_cpp='$CXXCPP $CPPFLAGS'
45160 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45161 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45162 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45165 /* end confdefs.h. */
45166 #include <math.h>
45168 main ()
45170 _atan2l(0, 0);
45172 return 0;
45174 _ACEOF
45175 if ac_fn_cxx_try_compile "$LINENO"; then :
45176 glibcxx_cv_func__atan2l_use=yes
45177 else
45178 glibcxx_cv_func__atan2l_use=no
45180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45181 ac_ext=c
45182 ac_cpp='$CPP $CPPFLAGS'
45183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
45192 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
45194 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
45195 for ac_func in _atan2l
45196 do :
45197 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
45198 if test "x$ac_cv_func__atan2l" = xyes; then :
45199 cat >>confdefs.h <<_ACEOF
45200 #define HAVE__ATAN2L 1
45201 _ACEOF
45204 done
45213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
45214 $as_echo_n "checking for expl declaration... " >&6; }
45215 if test x${glibcxx_cv_func_expl_use+set} != xset; then
45216 if ${glibcxx_cv_func_expl_use+:} false; then :
45217 $as_echo_n "(cached) " >&6
45218 else
45221 ac_ext=cpp
45222 ac_cpp='$CXXCPP $CPPFLAGS'
45223 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45224 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45225 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45228 /* end confdefs.h. */
45229 #include <math.h>
45230 #ifdef HAVE_IEEEFP_H
45231 #include <ieeefp.h>
45232 #endif
45235 main ()
45237 expl(0);
45239 return 0;
45241 _ACEOF
45242 if ac_fn_cxx_try_compile "$LINENO"; then :
45243 glibcxx_cv_func_expl_use=yes
45244 else
45245 glibcxx_cv_func_expl_use=no
45247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45248 ac_ext=c
45249 ac_cpp='$CPP $CPPFLAGS'
45250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
45259 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
45261 if test x$glibcxx_cv_func_expl_use = x"yes"; then
45262 for ac_func in expl
45263 do :
45264 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
45265 if test "x$ac_cv_func_expl" = xyes; then :
45266 cat >>confdefs.h <<_ACEOF
45267 #define HAVE_EXPL 1
45268 _ACEOF
45271 done
45273 else
45275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
45276 $as_echo_n "checking for _expl declaration... " >&6; }
45277 if test x${glibcxx_cv_func__expl_use+set} != xset; then
45278 if ${glibcxx_cv_func__expl_use+:} false; then :
45279 $as_echo_n "(cached) " >&6
45280 else
45283 ac_ext=cpp
45284 ac_cpp='$CXXCPP $CPPFLAGS'
45285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45290 /* end confdefs.h. */
45291 #include <math.h>
45292 #ifdef HAVE_IEEEFP_H
45293 #include <ieeefp.h>
45294 #endif
45297 main ()
45299 _expl(0);
45301 return 0;
45303 _ACEOF
45304 if ac_fn_cxx_try_compile "$LINENO"; then :
45305 glibcxx_cv_func__expl_use=yes
45306 else
45307 glibcxx_cv_func__expl_use=no
45309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45310 ac_ext=c
45311 ac_cpp='$CPP $CPPFLAGS'
45312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
45321 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
45323 if test x$glibcxx_cv_func__expl_use = x"yes"; then
45324 for ac_func in _expl
45325 do :
45326 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
45327 if test "x$ac_cv_func__expl" = xyes; then :
45328 cat >>confdefs.h <<_ACEOF
45329 #define HAVE__EXPL 1
45330 _ACEOF
45333 done
45342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
45343 $as_echo_n "checking for fabsl declaration... " >&6; }
45344 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
45345 if ${glibcxx_cv_func_fabsl_use+:} false; then :
45346 $as_echo_n "(cached) " >&6
45347 else
45350 ac_ext=cpp
45351 ac_cpp='$CXXCPP $CPPFLAGS'
45352 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45353 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45354 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45357 /* end confdefs.h. */
45358 #include <math.h>
45359 #ifdef HAVE_IEEEFP_H
45360 #include <ieeefp.h>
45361 #endif
45364 main ()
45366 fabsl(0);
45368 return 0;
45370 _ACEOF
45371 if ac_fn_cxx_try_compile "$LINENO"; then :
45372 glibcxx_cv_func_fabsl_use=yes
45373 else
45374 glibcxx_cv_func_fabsl_use=no
45376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45377 ac_ext=c
45378 ac_cpp='$CPP $CPPFLAGS'
45379 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45380 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45381 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
45388 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
45390 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
45391 for ac_func in fabsl
45392 do :
45393 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
45394 if test "x$ac_cv_func_fabsl" = xyes; then :
45395 cat >>confdefs.h <<_ACEOF
45396 #define HAVE_FABSL 1
45397 _ACEOF
45400 done
45402 else
45404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
45405 $as_echo_n "checking for _fabsl declaration... " >&6; }
45406 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
45407 if ${glibcxx_cv_func__fabsl_use+:} false; then :
45408 $as_echo_n "(cached) " >&6
45409 else
45412 ac_ext=cpp
45413 ac_cpp='$CXXCPP $CPPFLAGS'
45414 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45415 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45416 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45419 /* end confdefs.h. */
45420 #include <math.h>
45421 #ifdef HAVE_IEEEFP_H
45422 #include <ieeefp.h>
45423 #endif
45426 main ()
45428 _fabsl(0);
45430 return 0;
45432 _ACEOF
45433 if ac_fn_cxx_try_compile "$LINENO"; then :
45434 glibcxx_cv_func__fabsl_use=yes
45435 else
45436 glibcxx_cv_func__fabsl_use=no
45438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45439 ac_ext=c
45440 ac_cpp='$CPP $CPPFLAGS'
45441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
45450 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
45452 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
45453 for ac_func in _fabsl
45454 do :
45455 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
45456 if test "x$ac_cv_func__fabsl" = xyes; then :
45457 cat >>confdefs.h <<_ACEOF
45458 #define HAVE__FABSL 1
45459 _ACEOF
45462 done
45471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
45472 $as_echo_n "checking for fmodl declaration... " >&6; }
45473 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
45474 if ${glibcxx_cv_func_fmodl_use+:} false; then :
45475 $as_echo_n "(cached) " >&6
45476 else
45479 ac_ext=cpp
45480 ac_cpp='$CXXCPP $CPPFLAGS'
45481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45486 /* end confdefs.h. */
45487 #include <math.h>
45489 main ()
45491 fmodl(0, 0);
45493 return 0;
45495 _ACEOF
45496 if ac_fn_cxx_try_compile "$LINENO"; then :
45497 glibcxx_cv_func_fmodl_use=yes
45498 else
45499 glibcxx_cv_func_fmodl_use=no
45501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45502 ac_ext=c
45503 ac_cpp='$CPP $CPPFLAGS'
45504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
45513 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
45515 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
45516 for ac_func in fmodl
45517 do :
45518 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
45519 if test "x$ac_cv_func_fmodl" = xyes; then :
45520 cat >>confdefs.h <<_ACEOF
45521 #define HAVE_FMODL 1
45522 _ACEOF
45525 done
45527 else
45529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
45530 $as_echo_n "checking for _fmodl declaration... " >&6; }
45531 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
45532 if ${glibcxx_cv_func__fmodl_use+:} false; then :
45533 $as_echo_n "(cached) " >&6
45534 else
45537 ac_ext=cpp
45538 ac_cpp='$CXXCPP $CPPFLAGS'
45539 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45540 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45541 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45544 /* end confdefs.h. */
45545 #include <math.h>
45547 main ()
45549 _fmodl(0, 0);
45551 return 0;
45553 _ACEOF
45554 if ac_fn_cxx_try_compile "$LINENO"; then :
45555 glibcxx_cv_func__fmodl_use=yes
45556 else
45557 glibcxx_cv_func__fmodl_use=no
45559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45560 ac_ext=c
45561 ac_cpp='$CPP $CPPFLAGS'
45562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
45571 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
45573 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
45574 for ac_func in _fmodl
45575 do :
45576 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
45577 if test "x$ac_cv_func__fmodl" = xyes; then :
45578 cat >>confdefs.h <<_ACEOF
45579 #define HAVE__FMODL 1
45580 _ACEOF
45583 done
45592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
45593 $as_echo_n "checking for frexpl declaration... " >&6; }
45594 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
45595 if ${glibcxx_cv_func_frexpl_use+:} false; then :
45596 $as_echo_n "(cached) " >&6
45597 else
45600 ac_ext=cpp
45601 ac_cpp='$CXXCPP $CPPFLAGS'
45602 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45603 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45604 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45607 /* end confdefs.h. */
45608 #include <math.h>
45610 main ()
45612 frexpl(0, 0);
45614 return 0;
45616 _ACEOF
45617 if ac_fn_cxx_try_compile "$LINENO"; then :
45618 glibcxx_cv_func_frexpl_use=yes
45619 else
45620 glibcxx_cv_func_frexpl_use=no
45622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45623 ac_ext=c
45624 ac_cpp='$CPP $CPPFLAGS'
45625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
45634 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
45636 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
45637 for ac_func in frexpl
45638 do :
45639 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
45640 if test "x$ac_cv_func_frexpl" = xyes; then :
45641 cat >>confdefs.h <<_ACEOF
45642 #define HAVE_FREXPL 1
45643 _ACEOF
45646 done
45648 else
45650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
45651 $as_echo_n "checking for _frexpl declaration... " >&6; }
45652 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
45653 if ${glibcxx_cv_func__frexpl_use+:} false; then :
45654 $as_echo_n "(cached) " >&6
45655 else
45658 ac_ext=cpp
45659 ac_cpp='$CXXCPP $CPPFLAGS'
45660 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45661 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45662 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45665 /* end confdefs.h. */
45666 #include <math.h>
45668 main ()
45670 _frexpl(0, 0);
45672 return 0;
45674 _ACEOF
45675 if ac_fn_cxx_try_compile "$LINENO"; then :
45676 glibcxx_cv_func__frexpl_use=yes
45677 else
45678 glibcxx_cv_func__frexpl_use=no
45680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45681 ac_ext=c
45682 ac_cpp='$CPP $CPPFLAGS'
45683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
45692 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
45694 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
45695 for ac_func in _frexpl
45696 do :
45697 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
45698 if test "x$ac_cv_func__frexpl" = xyes; then :
45699 cat >>confdefs.h <<_ACEOF
45700 #define HAVE__FREXPL 1
45701 _ACEOF
45704 done
45713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
45714 $as_echo_n "checking for hypotl declaration... " >&6; }
45715 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
45716 if ${glibcxx_cv_func_hypotl_use+:} false; then :
45717 $as_echo_n "(cached) " >&6
45718 else
45721 ac_ext=cpp
45722 ac_cpp='$CXXCPP $CPPFLAGS'
45723 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45724 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45725 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45728 /* end confdefs.h. */
45729 #include <math.h>
45731 main ()
45733 hypotl(0, 0);
45735 return 0;
45737 _ACEOF
45738 if ac_fn_cxx_try_compile "$LINENO"; then :
45739 glibcxx_cv_func_hypotl_use=yes
45740 else
45741 glibcxx_cv_func_hypotl_use=no
45743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45744 ac_ext=c
45745 ac_cpp='$CPP $CPPFLAGS'
45746 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45747 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45748 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
45755 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
45757 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
45758 for ac_func in hypotl
45759 do :
45760 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
45761 if test "x$ac_cv_func_hypotl" = xyes; then :
45762 cat >>confdefs.h <<_ACEOF
45763 #define HAVE_HYPOTL 1
45764 _ACEOF
45767 done
45769 else
45771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
45772 $as_echo_n "checking for _hypotl declaration... " >&6; }
45773 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
45774 if ${glibcxx_cv_func__hypotl_use+:} false; then :
45775 $as_echo_n "(cached) " >&6
45776 else
45779 ac_ext=cpp
45780 ac_cpp='$CXXCPP $CPPFLAGS'
45781 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45782 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45783 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45786 /* end confdefs.h. */
45787 #include <math.h>
45789 main ()
45791 _hypotl(0, 0);
45793 return 0;
45795 _ACEOF
45796 if ac_fn_cxx_try_compile "$LINENO"; then :
45797 glibcxx_cv_func__hypotl_use=yes
45798 else
45799 glibcxx_cv_func__hypotl_use=no
45801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45802 ac_ext=c
45803 ac_cpp='$CPP $CPPFLAGS'
45804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
45813 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
45815 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
45816 for ac_func in _hypotl
45817 do :
45818 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
45819 if test "x$ac_cv_func__hypotl" = xyes; then :
45820 cat >>confdefs.h <<_ACEOF
45821 #define HAVE__HYPOTL 1
45822 _ACEOF
45825 done
45834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
45835 $as_echo_n "checking for ldexpl declaration... " >&6; }
45836 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
45837 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
45838 $as_echo_n "(cached) " >&6
45839 else
45842 ac_ext=cpp
45843 ac_cpp='$CXXCPP $CPPFLAGS'
45844 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45845 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45846 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45849 /* end confdefs.h. */
45850 #include <math.h>
45852 main ()
45854 ldexpl(0, 0);
45856 return 0;
45858 _ACEOF
45859 if ac_fn_cxx_try_compile "$LINENO"; then :
45860 glibcxx_cv_func_ldexpl_use=yes
45861 else
45862 glibcxx_cv_func_ldexpl_use=no
45864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45865 ac_ext=c
45866 ac_cpp='$CPP $CPPFLAGS'
45867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
45876 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
45878 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
45879 for ac_func in ldexpl
45880 do :
45881 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
45882 if test "x$ac_cv_func_ldexpl" = xyes; then :
45883 cat >>confdefs.h <<_ACEOF
45884 #define HAVE_LDEXPL 1
45885 _ACEOF
45888 done
45890 else
45892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
45893 $as_echo_n "checking for _ldexpl declaration... " >&6; }
45894 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
45895 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
45896 $as_echo_n "(cached) " >&6
45897 else
45900 ac_ext=cpp
45901 ac_cpp='$CXXCPP $CPPFLAGS'
45902 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45903 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45904 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45907 /* end confdefs.h. */
45908 #include <math.h>
45910 main ()
45912 _ldexpl(0, 0);
45914 return 0;
45916 _ACEOF
45917 if ac_fn_cxx_try_compile "$LINENO"; then :
45918 glibcxx_cv_func__ldexpl_use=yes
45919 else
45920 glibcxx_cv_func__ldexpl_use=no
45922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45923 ac_ext=c
45924 ac_cpp='$CPP $CPPFLAGS'
45925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
45934 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
45936 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
45937 for ac_func in _ldexpl
45938 do :
45939 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
45940 if test "x$ac_cv_func__ldexpl" = xyes; then :
45941 cat >>confdefs.h <<_ACEOF
45942 #define HAVE__LDEXPL 1
45943 _ACEOF
45946 done
45955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
45956 $as_echo_n "checking for logl declaration... " >&6; }
45957 if test x${glibcxx_cv_func_logl_use+set} != xset; then
45958 if ${glibcxx_cv_func_logl_use+:} false; then :
45959 $as_echo_n "(cached) " >&6
45960 else
45963 ac_ext=cpp
45964 ac_cpp='$CXXCPP $CPPFLAGS'
45965 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45966 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45967 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45970 /* end confdefs.h. */
45971 #include <math.h>
45972 #ifdef HAVE_IEEEFP_H
45973 #include <ieeefp.h>
45974 #endif
45977 main ()
45979 logl(0);
45981 return 0;
45983 _ACEOF
45984 if ac_fn_cxx_try_compile "$LINENO"; then :
45985 glibcxx_cv_func_logl_use=yes
45986 else
45987 glibcxx_cv_func_logl_use=no
45989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45990 ac_ext=c
45991 ac_cpp='$CPP $CPPFLAGS'
45992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
46001 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
46003 if test x$glibcxx_cv_func_logl_use = x"yes"; then
46004 for ac_func in logl
46005 do :
46006 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
46007 if test "x$ac_cv_func_logl" = xyes; then :
46008 cat >>confdefs.h <<_ACEOF
46009 #define HAVE_LOGL 1
46010 _ACEOF
46013 done
46015 else
46017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
46018 $as_echo_n "checking for _logl declaration... " >&6; }
46019 if test x${glibcxx_cv_func__logl_use+set} != xset; then
46020 if ${glibcxx_cv_func__logl_use+:} false; then :
46021 $as_echo_n "(cached) " >&6
46022 else
46025 ac_ext=cpp
46026 ac_cpp='$CXXCPP $CPPFLAGS'
46027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46032 /* end confdefs.h. */
46033 #include <math.h>
46034 #ifdef HAVE_IEEEFP_H
46035 #include <ieeefp.h>
46036 #endif
46039 main ()
46041 _logl(0);
46043 return 0;
46045 _ACEOF
46046 if ac_fn_cxx_try_compile "$LINENO"; then :
46047 glibcxx_cv_func__logl_use=yes
46048 else
46049 glibcxx_cv_func__logl_use=no
46051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46052 ac_ext=c
46053 ac_cpp='$CPP $CPPFLAGS'
46054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
46063 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
46065 if test x$glibcxx_cv_func__logl_use = x"yes"; then
46066 for ac_func in _logl
46067 do :
46068 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
46069 if test "x$ac_cv_func__logl" = xyes; then :
46070 cat >>confdefs.h <<_ACEOF
46071 #define HAVE__LOGL 1
46072 _ACEOF
46075 done
46084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
46085 $as_echo_n "checking for log10l declaration... " >&6; }
46086 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
46087 if ${glibcxx_cv_func_log10l_use+:} false; then :
46088 $as_echo_n "(cached) " >&6
46089 else
46092 ac_ext=cpp
46093 ac_cpp='$CXXCPP $CPPFLAGS'
46094 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46095 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46096 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46099 /* end confdefs.h. */
46100 #include <math.h>
46101 #ifdef HAVE_IEEEFP_H
46102 #include <ieeefp.h>
46103 #endif
46106 main ()
46108 log10l(0);
46110 return 0;
46112 _ACEOF
46113 if ac_fn_cxx_try_compile "$LINENO"; then :
46114 glibcxx_cv_func_log10l_use=yes
46115 else
46116 glibcxx_cv_func_log10l_use=no
46118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46119 ac_ext=c
46120 ac_cpp='$CPP $CPPFLAGS'
46121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
46130 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
46132 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
46133 for ac_func in log10l
46134 do :
46135 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
46136 if test "x$ac_cv_func_log10l" = xyes; then :
46137 cat >>confdefs.h <<_ACEOF
46138 #define HAVE_LOG10L 1
46139 _ACEOF
46142 done
46144 else
46146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
46147 $as_echo_n "checking for _log10l declaration... " >&6; }
46148 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
46149 if ${glibcxx_cv_func__log10l_use+:} false; then :
46150 $as_echo_n "(cached) " >&6
46151 else
46154 ac_ext=cpp
46155 ac_cpp='$CXXCPP $CPPFLAGS'
46156 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46157 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46158 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46161 /* end confdefs.h. */
46162 #include <math.h>
46163 #ifdef HAVE_IEEEFP_H
46164 #include <ieeefp.h>
46165 #endif
46168 main ()
46170 _log10l(0);
46172 return 0;
46174 _ACEOF
46175 if ac_fn_cxx_try_compile "$LINENO"; then :
46176 glibcxx_cv_func__log10l_use=yes
46177 else
46178 glibcxx_cv_func__log10l_use=no
46180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46181 ac_ext=c
46182 ac_cpp='$CPP $CPPFLAGS'
46183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
46192 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
46194 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
46195 for ac_func in _log10l
46196 do :
46197 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
46198 if test "x$ac_cv_func__log10l" = xyes; then :
46199 cat >>confdefs.h <<_ACEOF
46200 #define HAVE__LOG10L 1
46201 _ACEOF
46204 done
46213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
46214 $as_echo_n "checking for modfl declaration... " >&6; }
46215 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
46216 if ${glibcxx_cv_func_modfl_use+:} false; then :
46217 $as_echo_n "(cached) " >&6
46218 else
46221 ac_ext=cpp
46222 ac_cpp='$CXXCPP $CPPFLAGS'
46223 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46224 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46225 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46228 /* end confdefs.h. */
46229 #include <math.h>
46231 main ()
46233 modfl(0, 0);
46235 return 0;
46237 _ACEOF
46238 if ac_fn_cxx_try_compile "$LINENO"; then :
46239 glibcxx_cv_func_modfl_use=yes
46240 else
46241 glibcxx_cv_func_modfl_use=no
46243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46244 ac_ext=c
46245 ac_cpp='$CPP $CPPFLAGS'
46246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
46255 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
46257 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
46258 for ac_func in modfl
46259 do :
46260 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
46261 if test "x$ac_cv_func_modfl" = xyes; then :
46262 cat >>confdefs.h <<_ACEOF
46263 #define HAVE_MODFL 1
46264 _ACEOF
46267 done
46269 else
46271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
46272 $as_echo_n "checking for _modfl declaration... " >&6; }
46273 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
46274 if ${glibcxx_cv_func__modfl_use+:} false; then :
46275 $as_echo_n "(cached) " >&6
46276 else
46279 ac_ext=cpp
46280 ac_cpp='$CXXCPP $CPPFLAGS'
46281 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46282 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46283 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46286 /* end confdefs.h. */
46287 #include <math.h>
46289 main ()
46291 _modfl(0, 0);
46293 return 0;
46295 _ACEOF
46296 if ac_fn_cxx_try_compile "$LINENO"; then :
46297 glibcxx_cv_func__modfl_use=yes
46298 else
46299 glibcxx_cv_func__modfl_use=no
46301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46302 ac_ext=c
46303 ac_cpp='$CPP $CPPFLAGS'
46304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
46313 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
46315 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
46316 for ac_func in _modfl
46317 do :
46318 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
46319 if test "x$ac_cv_func__modfl" = xyes; then :
46320 cat >>confdefs.h <<_ACEOF
46321 #define HAVE__MODFL 1
46322 _ACEOF
46325 done
46334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
46335 $as_echo_n "checking for powl declaration... " >&6; }
46336 if test x${glibcxx_cv_func_powl_use+set} != xset; then
46337 if ${glibcxx_cv_func_powl_use+:} false; then :
46338 $as_echo_n "(cached) " >&6
46339 else
46342 ac_ext=cpp
46343 ac_cpp='$CXXCPP $CPPFLAGS'
46344 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46345 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46346 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46349 /* end confdefs.h. */
46350 #include <math.h>
46352 main ()
46354 powl(0, 0);
46356 return 0;
46358 _ACEOF
46359 if ac_fn_cxx_try_compile "$LINENO"; then :
46360 glibcxx_cv_func_powl_use=yes
46361 else
46362 glibcxx_cv_func_powl_use=no
46364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46365 ac_ext=c
46366 ac_cpp='$CPP $CPPFLAGS'
46367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
46376 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
46378 if test x$glibcxx_cv_func_powl_use = x"yes"; then
46379 for ac_func in powl
46380 do :
46381 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
46382 if test "x$ac_cv_func_powl" = xyes; then :
46383 cat >>confdefs.h <<_ACEOF
46384 #define HAVE_POWL 1
46385 _ACEOF
46388 done
46390 else
46392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
46393 $as_echo_n "checking for _powl declaration... " >&6; }
46394 if test x${glibcxx_cv_func__powl_use+set} != xset; then
46395 if ${glibcxx_cv_func__powl_use+:} false; then :
46396 $as_echo_n "(cached) " >&6
46397 else
46400 ac_ext=cpp
46401 ac_cpp='$CXXCPP $CPPFLAGS'
46402 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46403 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46404 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46407 /* end confdefs.h. */
46408 #include <math.h>
46410 main ()
46412 _powl(0, 0);
46414 return 0;
46416 _ACEOF
46417 if ac_fn_cxx_try_compile "$LINENO"; then :
46418 glibcxx_cv_func__powl_use=yes
46419 else
46420 glibcxx_cv_func__powl_use=no
46422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46423 ac_ext=c
46424 ac_cpp='$CPP $CPPFLAGS'
46425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
46434 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
46436 if test x$glibcxx_cv_func__powl_use = x"yes"; then
46437 for ac_func in _powl
46438 do :
46439 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
46440 if test "x$ac_cv_func__powl" = xyes; then :
46441 cat >>confdefs.h <<_ACEOF
46442 #define HAVE__POWL 1
46443 _ACEOF
46446 done
46455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
46456 $as_echo_n "checking for sqrtl declaration... " >&6; }
46457 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
46458 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
46459 $as_echo_n "(cached) " >&6
46460 else
46463 ac_ext=cpp
46464 ac_cpp='$CXXCPP $CPPFLAGS'
46465 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46466 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46467 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46470 /* end confdefs.h. */
46471 #include <math.h>
46472 #ifdef HAVE_IEEEFP_H
46473 #include <ieeefp.h>
46474 #endif
46477 main ()
46479 sqrtl(0);
46481 return 0;
46483 _ACEOF
46484 if ac_fn_cxx_try_compile "$LINENO"; then :
46485 glibcxx_cv_func_sqrtl_use=yes
46486 else
46487 glibcxx_cv_func_sqrtl_use=no
46489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46490 ac_ext=c
46491 ac_cpp='$CPP $CPPFLAGS'
46492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
46501 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
46503 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
46504 for ac_func in sqrtl
46505 do :
46506 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
46507 if test "x$ac_cv_func_sqrtl" = xyes; then :
46508 cat >>confdefs.h <<_ACEOF
46509 #define HAVE_SQRTL 1
46510 _ACEOF
46513 done
46515 else
46517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
46518 $as_echo_n "checking for _sqrtl declaration... " >&6; }
46519 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
46520 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
46521 $as_echo_n "(cached) " >&6
46522 else
46525 ac_ext=cpp
46526 ac_cpp='$CXXCPP $CPPFLAGS'
46527 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46528 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46529 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46532 /* end confdefs.h. */
46533 #include <math.h>
46534 #ifdef HAVE_IEEEFP_H
46535 #include <ieeefp.h>
46536 #endif
46539 main ()
46541 _sqrtl(0);
46543 return 0;
46545 _ACEOF
46546 if ac_fn_cxx_try_compile "$LINENO"; then :
46547 glibcxx_cv_func__sqrtl_use=yes
46548 else
46549 glibcxx_cv_func__sqrtl_use=no
46551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46552 ac_ext=c
46553 ac_cpp='$CPP $CPPFLAGS'
46554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
46563 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
46565 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
46566 for ac_func in _sqrtl
46567 do :
46568 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
46569 if test "x$ac_cv_func__sqrtl" = xyes; then :
46570 cat >>confdefs.h <<_ACEOF
46571 #define HAVE__SQRTL 1
46572 _ACEOF
46575 done
46584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
46585 $as_echo_n "checking for sincosl declaration... " >&6; }
46586 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
46587 if ${glibcxx_cv_func_sincosl_use+:} false; then :
46588 $as_echo_n "(cached) " >&6
46589 else
46592 ac_ext=cpp
46593 ac_cpp='$CXXCPP $CPPFLAGS'
46594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46599 /* end confdefs.h. */
46600 #include <math.h>
46602 main ()
46604 sincosl(0, 0, 0);
46606 return 0;
46608 _ACEOF
46609 if ac_fn_cxx_try_compile "$LINENO"; then :
46610 glibcxx_cv_func_sincosl_use=yes
46611 else
46612 glibcxx_cv_func_sincosl_use=no
46614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46615 ac_ext=c
46616 ac_cpp='$CPP $CPPFLAGS'
46617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
46626 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
46628 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
46629 for ac_func in sincosl
46630 do :
46631 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
46632 if test "x$ac_cv_func_sincosl" = xyes; then :
46633 cat >>confdefs.h <<_ACEOF
46634 #define HAVE_SINCOSL 1
46635 _ACEOF
46638 done
46640 else
46642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
46643 $as_echo_n "checking for _sincosl declaration... " >&6; }
46644 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
46645 if ${glibcxx_cv_func__sincosl_use+:} false; then :
46646 $as_echo_n "(cached) " >&6
46647 else
46650 ac_ext=cpp
46651 ac_cpp='$CXXCPP $CPPFLAGS'
46652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46657 /* end confdefs.h. */
46658 #include <math.h>
46660 main ()
46662 _sincosl(0, 0, 0);
46664 return 0;
46666 _ACEOF
46667 if ac_fn_cxx_try_compile "$LINENO"; then :
46668 glibcxx_cv_func__sincosl_use=yes
46669 else
46670 glibcxx_cv_func__sincosl_use=no
46672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46673 ac_ext=c
46674 ac_cpp='$CPP $CPPFLAGS'
46675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
46684 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
46686 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
46687 for ac_func in _sincosl
46688 do :
46689 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
46690 if test "x$ac_cv_func__sincosl" = xyes; then :
46691 cat >>confdefs.h <<_ACEOF
46692 #define HAVE__SINCOSL 1
46693 _ACEOF
46696 done
46705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
46706 $as_echo_n "checking for finitel declaration... " >&6; }
46707 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
46708 if ${glibcxx_cv_func_finitel_use+:} false; then :
46709 $as_echo_n "(cached) " >&6
46710 else
46713 ac_ext=cpp
46714 ac_cpp='$CXXCPP $CPPFLAGS'
46715 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46716 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46717 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46720 /* end confdefs.h. */
46721 #include <math.h>
46722 #ifdef HAVE_IEEEFP_H
46723 #include <ieeefp.h>
46724 #endif
46727 main ()
46729 finitel(0);
46731 return 0;
46733 _ACEOF
46734 if ac_fn_cxx_try_compile "$LINENO"; then :
46735 glibcxx_cv_func_finitel_use=yes
46736 else
46737 glibcxx_cv_func_finitel_use=no
46739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46740 ac_ext=c
46741 ac_cpp='$CPP $CPPFLAGS'
46742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
46751 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
46753 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
46754 for ac_func in finitel
46755 do :
46756 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
46757 if test "x$ac_cv_func_finitel" = xyes; then :
46758 cat >>confdefs.h <<_ACEOF
46759 #define HAVE_FINITEL 1
46760 _ACEOF
46763 done
46765 else
46767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
46768 $as_echo_n "checking for _finitel declaration... " >&6; }
46769 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
46770 if ${glibcxx_cv_func__finitel_use+:} false; then :
46771 $as_echo_n "(cached) " >&6
46772 else
46775 ac_ext=cpp
46776 ac_cpp='$CXXCPP $CPPFLAGS'
46777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46778 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46782 /* end confdefs.h. */
46783 #include <math.h>
46784 #ifdef HAVE_IEEEFP_H
46785 #include <ieeefp.h>
46786 #endif
46789 main ()
46791 _finitel(0);
46793 return 0;
46795 _ACEOF
46796 if ac_fn_cxx_try_compile "$LINENO"; then :
46797 glibcxx_cv_func__finitel_use=yes
46798 else
46799 glibcxx_cv_func__finitel_use=no
46801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46802 ac_ext=c
46803 ac_cpp='$CPP $CPPFLAGS'
46804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
46813 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
46815 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
46816 for ac_func in _finitel
46817 do :
46818 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
46819 if test "x$ac_cv_func__finitel" = xyes; then :
46820 cat >>confdefs.h <<_ACEOF
46821 #define HAVE__FINITEL 1
46822 _ACEOF
46825 done
46833 LIBS="$ac_save_LIBS"
46834 CXXFLAGS="$ac_save_CXXFLAGS"
46837 ac_test_CXXFLAGS="${CXXFLAGS+set}"
46838 ac_save_CXXFLAGS="$CXXFLAGS"
46839 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
46842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
46843 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
46844 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
46845 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
46846 $as_echo_n "(cached) " >&6
46847 else
46850 ac_ext=cpp
46851 ac_cpp='$CXXCPP $CPPFLAGS'
46852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46857 /* end confdefs.h. */
46858 #include <stdlib.h>
46860 main ()
46862 at_quick_exit(0);
46864 return 0;
46866 _ACEOF
46867 if ac_fn_cxx_try_compile "$LINENO"; then :
46868 glibcxx_cv_func_at_quick_exit_use=yes
46869 else
46870 glibcxx_cv_func_at_quick_exit_use=no
46872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46873 ac_ext=c
46874 ac_cpp='$CPP $CPPFLAGS'
46875 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46876 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46877 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
46884 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
46885 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
46886 for ac_func in at_quick_exit
46887 do :
46888 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
46889 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
46890 cat >>confdefs.h <<_ACEOF
46891 #define HAVE_AT_QUICK_EXIT 1
46892 _ACEOF
46895 done
46900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
46901 $as_echo_n "checking for quick_exit declaration... " >&6; }
46902 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
46903 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
46904 $as_echo_n "(cached) " >&6
46905 else
46908 ac_ext=cpp
46909 ac_cpp='$CXXCPP $CPPFLAGS'
46910 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46911 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46912 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46915 /* end confdefs.h. */
46916 #include <stdlib.h>
46918 main ()
46920 quick_exit(0);
46922 return 0;
46924 _ACEOF
46925 if ac_fn_cxx_try_compile "$LINENO"; then :
46926 glibcxx_cv_func_quick_exit_use=yes
46927 else
46928 glibcxx_cv_func_quick_exit_use=no
46930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46931 ac_ext=c
46932 ac_cpp='$CPP $CPPFLAGS'
46933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
46942 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
46943 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
46944 for ac_func in quick_exit
46945 do :
46946 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
46947 if test "x$ac_cv_func_quick_exit" = xyes; then :
46948 cat >>confdefs.h <<_ACEOF
46949 #define HAVE_QUICK_EXIT 1
46950 _ACEOF
46953 done
46958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
46959 $as_echo_n "checking for strtold declaration... " >&6; }
46960 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
46961 if ${glibcxx_cv_func_strtold_use+:} false; then :
46962 $as_echo_n "(cached) " >&6
46963 else
46966 ac_ext=cpp
46967 ac_cpp='$CXXCPP $CPPFLAGS'
46968 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46969 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46970 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46973 /* end confdefs.h. */
46974 #include <stdlib.h>
46976 main ()
46978 strtold(0, 0);
46980 return 0;
46982 _ACEOF
46983 if ac_fn_cxx_try_compile "$LINENO"; then :
46984 glibcxx_cv_func_strtold_use=yes
46985 else
46986 glibcxx_cv_func_strtold_use=no
46988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46989 ac_ext=c
46990 ac_cpp='$CPP $CPPFLAGS'
46991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
47000 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
47001 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
47002 for ac_func in strtold
47003 do :
47004 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
47005 if test "x$ac_cv_func_strtold" = xyes; then :
47006 cat >>confdefs.h <<_ACEOF
47007 #define HAVE_STRTOLD 1
47008 _ACEOF
47011 done
47018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
47019 $as_echo_n "checking for strtof declaration... " >&6; }
47020 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
47021 if ${glibcxx_cv_func_strtof_use+:} false; then :
47022 $as_echo_n "(cached) " >&6
47023 else
47026 ac_ext=cpp
47027 ac_cpp='$CXXCPP $CPPFLAGS'
47028 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47029 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47030 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47033 /* end confdefs.h. */
47034 #include <stdlib.h>
47036 main ()
47038 strtof(0, 0);
47040 return 0;
47042 _ACEOF
47043 if ac_fn_cxx_try_compile "$LINENO"; then :
47044 glibcxx_cv_func_strtof_use=yes
47045 else
47046 glibcxx_cv_func_strtof_use=no
47048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47049 ac_ext=c
47050 ac_cpp='$CPP $CPPFLAGS'
47051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
47060 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
47061 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
47062 for ac_func in strtof
47063 do :
47064 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
47065 if test "x$ac_cv_func_strtof" = xyes; then :
47066 cat >>confdefs.h <<_ACEOF
47067 #define HAVE_STRTOF 1
47068 _ACEOF
47071 done
47078 CXXFLAGS="$ac_save_CXXFLAGS"
47081 for ac_func in uselocale
47082 do :
47083 ac_fn_c_check_func "$LINENO" "uselocale" "ac_cv_func_uselocale"
47084 if test "x$ac_cv_func_uselocale" = xyes; then :
47085 cat >>confdefs.h <<_ACEOF
47086 #define HAVE_USELOCALE 1
47087 _ACEOF
47090 done
47094 *djgpp)
47095 # GLIBCXX_CHECK_MATH_SUPPORT
47096 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
47098 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
47100 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
47102 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
47104 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
47108 *-freebsd*)
47109 SECTION_FLAGS='-ffunction-sections -fdata-sections'
47112 # If we're not using GNU ld, then there's no point in even trying these
47113 # tests. Check for that first. We should have already tested for gld
47114 # by now (in libtool), but require it now just to be safe...
47115 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
47116 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
47120 # The name set by libtool depends on the version of libtool. Shame on us
47121 # for depending on an impl detail, but c'est la vie. Older versions used
47122 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
47123 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
47124 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
47125 # set (hence we're using an older libtool), then set it.
47126 if test x${with_gnu_ld+set} != xset; then
47127 if test x${ac_cv_prog_gnu_ld+set} != xset; then
47128 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
47129 with_gnu_ld=no
47130 else
47131 with_gnu_ld=$ac_cv_prog_gnu_ld
47135 # Start by getting the version number. I think the libtool test already
47136 # does some of this, but throws away the result.
47137 glibcxx_ld_is_gold=no
47138 if test x"$with_gnu_ld" = x"yes"; then
47139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
47140 $as_echo_n "checking for ld version... " >&6; }
47142 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
47143 glibcxx_ld_is_gold=yes
47145 ldver=`$LD --version 2>/dev/null |
47146 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
47148 glibcxx_gnu_ld_version=`echo $ldver | \
47149 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
47150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
47151 $as_echo "$glibcxx_gnu_ld_version" >&6; }
47154 # Set --gc-sections.
47155 glibcxx_have_gc_sections=no
47156 if test "$glibcxx_ld_is_gold" = "yes"; then
47157 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
47158 glibcxx_have_gc_sections=yes
47160 else
47161 glibcxx_gcsections_min_ld=21602
47162 if test x"$with_gnu_ld" = x"yes" &&
47163 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
47164 glibcxx_have_gc_sections=yes
47167 if test "$glibcxx_have_gc_sections" = "yes"; then
47168 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
47169 # NB: This flag only works reliably after 2.16.1. Configure tests
47170 # for this are difficult, so hard wire a value that should work.
47172 ac_test_CFLAGS="${CFLAGS+set}"
47173 ac_save_CFLAGS="$CFLAGS"
47174 CFLAGS='-Wl,--gc-sections'
47176 # Check for -Wl,--gc-sections
47177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
47178 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
47179 if test x$gcc_no_link = xyes; then
47180 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47183 /* end confdefs.h. */
47184 int one(void) { return 1; }
47185 int two(void) { return 2; }
47188 main ()
47190 two();
47192 return 0;
47194 _ACEOF
47195 if ac_fn_c_try_link "$LINENO"; then :
47196 ac_gcsections=yes
47197 else
47198 ac_gcsections=no
47200 rm -f core conftest.err conftest.$ac_objext \
47201 conftest$ac_exeext conftest.$ac_ext
47202 if test "$ac_gcsections" = "yes"; then
47203 rm -f conftest.c
47204 touch conftest.c
47205 if $CC -c conftest.c; then
47206 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
47207 grep "Warning: gc-sections option ignored" > /dev/null; then
47208 ac_gcsections=no
47211 rm -f conftest.c conftest.o conftest
47213 if test "$ac_gcsections" = "yes"; then
47214 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
47216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
47217 $as_echo "$ac_gcsections" >&6; }
47219 if test "$ac_test_CFLAGS" = set; then
47220 CFLAGS="$ac_save_CFLAGS"
47221 else
47222 # this is the suspicious part
47223 CFLAGS=''
47227 # Set -z,relro.
47228 # Note this is only for shared objects.
47229 ac_ld_relro=no
47230 if test x"$with_gnu_ld" = x"yes"; then
47231 # cygwin and mingw uses PE, which has no ELF relro support,
47232 # multi target ld may confuse configure machinery
47233 case "$host" in
47234 *-*-cygwin*)
47236 *-*-mingw*)
47239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
47240 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
47241 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
47242 if test -n "$cxx_z_relo"; then
47243 OPT_LDFLAGS="-Wl,-z,relro"
47244 ac_ld_relro=yes
47246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
47247 $as_echo "$ac_ld_relro" >&6; }
47248 esac
47251 # Set linker optimization flags.
47252 if test x"$with_gnu_ld" = x"yes"; then
47253 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
47259 $as_echo "#define HAVE_SETENV 1" >>confdefs.h
47261 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
47263 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
47265 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
47267 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
47269 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
47271 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
47273 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
47275 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
47278 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
47280 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
47282 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
47284 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
47286 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
47288 $as_echo "#define HAVE_COSF 1" >>confdefs.h
47290 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
47292 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
47294 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
47296 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
47298 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
47300 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
47302 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
47304 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
47306 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
47308 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
47310 $as_echo "#define HAVE_POWF 1" >>confdefs.h
47312 $as_echo "#define HAVE_SINF 1" >>confdefs.h
47314 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
47316 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
47318 $as_echo "#define HAVE_TANF 1" >>confdefs.h
47320 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
47322 if test x"long_double_math_on_this_cpu" = x"yes"; then
47323 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
47325 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
47327 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
47330 for ac_func in __cxa_thread_atexit
47331 do :
47332 ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit" "ac_cv_func___cxa_thread_atexit"
47333 if test "x$ac_cv_func___cxa_thread_atexit" = xyes; then :
47334 cat >>confdefs.h <<_ACEOF
47335 #define HAVE___CXA_THREAD_ATEXIT 1
47336 _ACEOF
47339 done
47341 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
47342 do :
47343 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47344 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47345 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
47346 cat >>confdefs.h <<_ACEOF
47347 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47348 _ACEOF
47351 done
47353 for ac_func in timespec_get
47354 do :
47355 ac_fn_c_check_func "$LINENO" "timespec_get" "ac_cv_func_timespec_get"
47356 if test "x$ac_cv_func_timespec_get" = xyes; then :
47357 cat >>confdefs.h <<_ACEOF
47358 #define HAVE_TIMESPEC_GET 1
47359 _ACEOF
47362 done
47364 for ac_func in sockatmark
47365 do :
47366 ac_fn_c_check_func "$LINENO" "sockatmark" "ac_cv_func_sockatmark"
47367 if test "x$ac_cv_func_sockatmark" = xyes; then :
47368 cat >>confdefs.h <<_ACEOF
47369 #define HAVE_SOCKATMARK 1
47370 _ACEOF
47373 done
47375 for ac_func in uselocale
47376 do :
47377 ac_fn_c_check_func "$LINENO" "uselocale" "ac_cv_func_uselocale"
47378 if test "x$ac_cv_func_uselocale" = xyes; then :
47379 cat >>confdefs.h <<_ACEOF
47380 #define HAVE_USELOCALE 1
47381 _ACEOF
47384 done
47388 *-fuchsia*)
47389 SECTION_FLAGS='-ffunction-sections -fdata-sections'
47393 *-hpux*)
47394 SECTION_FLAGS='-ffunction-sections -fdata-sections'
47397 # If we're not using GNU ld, then there's no point in even trying these
47398 # tests. Check for that first. We should have already tested for gld
47399 # by now (in libtool), but require it now just to be safe...
47400 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
47401 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
47405 # The name set by libtool depends on the version of libtool. Shame on us
47406 # for depending on an impl detail, but c'est la vie. Older versions used
47407 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
47408 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
47409 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
47410 # set (hence we're using an older libtool), then set it.
47411 if test x${with_gnu_ld+set} != xset; then
47412 if test x${ac_cv_prog_gnu_ld+set} != xset; then
47413 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
47414 with_gnu_ld=no
47415 else
47416 with_gnu_ld=$ac_cv_prog_gnu_ld
47420 # Start by getting the version number. I think the libtool test already
47421 # does some of this, but throws away the result.
47422 glibcxx_ld_is_gold=no
47423 if test x"$with_gnu_ld" = x"yes"; then
47424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
47425 $as_echo_n "checking for ld version... " >&6; }
47427 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
47428 glibcxx_ld_is_gold=yes
47430 ldver=`$LD --version 2>/dev/null |
47431 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
47433 glibcxx_gnu_ld_version=`echo $ldver | \
47434 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
47435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
47436 $as_echo "$glibcxx_gnu_ld_version" >&6; }
47439 # Set --gc-sections.
47440 glibcxx_have_gc_sections=no
47441 if test "$glibcxx_ld_is_gold" = "yes"; then
47442 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
47443 glibcxx_have_gc_sections=yes
47445 else
47446 glibcxx_gcsections_min_ld=21602
47447 if test x"$with_gnu_ld" = x"yes" &&
47448 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
47449 glibcxx_have_gc_sections=yes
47452 if test "$glibcxx_have_gc_sections" = "yes"; then
47453 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
47454 # NB: This flag only works reliably after 2.16.1. Configure tests
47455 # for this are difficult, so hard wire a value that should work.
47457 ac_test_CFLAGS="${CFLAGS+set}"
47458 ac_save_CFLAGS="$CFLAGS"
47459 CFLAGS='-Wl,--gc-sections'
47461 # Check for -Wl,--gc-sections
47462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
47463 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
47464 if test x$gcc_no_link = xyes; then
47465 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47468 /* end confdefs.h. */
47469 int one(void) { return 1; }
47470 int two(void) { return 2; }
47473 main ()
47475 two();
47477 return 0;
47479 _ACEOF
47480 if ac_fn_c_try_link "$LINENO"; then :
47481 ac_gcsections=yes
47482 else
47483 ac_gcsections=no
47485 rm -f core conftest.err conftest.$ac_objext \
47486 conftest$ac_exeext conftest.$ac_ext
47487 if test "$ac_gcsections" = "yes"; then
47488 rm -f conftest.c
47489 touch conftest.c
47490 if $CC -c conftest.c; then
47491 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
47492 grep "Warning: gc-sections option ignored" > /dev/null; then
47493 ac_gcsections=no
47496 rm -f conftest.c conftest.o conftest
47498 if test "$ac_gcsections" = "yes"; then
47499 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
47501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
47502 $as_echo "$ac_gcsections" >&6; }
47504 if test "$ac_test_CFLAGS" = set; then
47505 CFLAGS="$ac_save_CFLAGS"
47506 else
47507 # this is the suspicious part
47508 CFLAGS=''
47512 # Set -z,relro.
47513 # Note this is only for shared objects.
47514 ac_ld_relro=no
47515 if test x"$with_gnu_ld" = x"yes"; then
47516 # cygwin and mingw uses PE, which has no ELF relro support,
47517 # multi target ld may confuse configure machinery
47518 case "$host" in
47519 *-*-cygwin*)
47521 *-*-mingw*)
47524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
47525 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
47526 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
47527 if test -n "$cxx_z_relo"; then
47528 OPT_LDFLAGS="-Wl,-z,relro"
47529 ac_ld_relro=yes
47531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
47532 $as_echo "$ac_ld_relro" >&6; }
47533 esac
47536 # Set linker optimization flags.
47537 if test x"$with_gnu_ld" = x"yes"; then
47538 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
47545 # GLIBCXX_CHECK_MATH_SUPPORT
47546 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
47548 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
47550 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
47552 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
47554 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
47556 $as_echo "#define HAVE_COSF 1" >>confdefs.h
47558 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
47560 $as_echo "#define HAVE_SINF 1" >>confdefs.h
47562 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
47564 $as_echo "#define HAVE_TANF 1" >>confdefs.h
47566 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
47568 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
47570 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
47572 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
47574 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
47576 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
47578 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
47580 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
47582 $as_echo "#define HAVE_MODF 1" >>confdefs.h
47584 $as_echo "#define HAVE_POWF 1" >>confdefs.h
47586 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
47589 # GLIBCXX_CHECK_STDLIB_SUPPORT
47590 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
47595 # Check whether --enable-tls was given.
47596 if test "${enable_tls+set}" = set; then :
47597 enableval=$enable_tls;
47598 case "$enableval" in
47599 yes|no) ;;
47600 *) as_fn_error $? "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
47601 esac
47603 else
47604 enable_tls=yes
47608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
47609 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
47610 if ${gcc_cv_have_tls+:} false; then :
47611 $as_echo_n "(cached) " >&6
47612 else
47614 if test "$cross_compiling" = yes; then :
47615 if test x$gcc_no_link = xyes; then
47616 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47619 /* end confdefs.h. */
47620 __thread int a; int b; int main() { return a = b; }
47621 _ACEOF
47622 if ac_fn_c_try_link "$LINENO"; then :
47623 chktls_save_LDFLAGS="$LDFLAGS"
47624 case $host in
47625 *-*-linux* | -*-uclinuxfdpic*)
47626 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
47628 esac
47629 chktls_save_CFLAGS="$CFLAGS"
47630 CFLAGS="-fPIC $CFLAGS"
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 int f() { return 0; }
47637 _ACEOF
47638 if ac_fn_c_try_link "$LINENO"; then :
47639 if test x$gcc_no_link = xyes; then
47640 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47643 /* end confdefs.h. */
47644 __thread int a; int b; int f() { return a = b; }
47645 _ACEOF
47646 if ac_fn_c_try_link "$LINENO"; then :
47647 gcc_cv_have_tls=yes
47648 else
47649 gcc_cv_have_tls=no
47651 rm -f core conftest.err conftest.$ac_objext \
47652 conftest$ac_exeext conftest.$ac_ext
47653 else
47654 gcc_cv_have_tls=yes
47656 rm -f core conftest.err conftest.$ac_objext \
47657 conftest$ac_exeext conftest.$ac_ext
47658 CFLAGS="$chktls_save_CFLAGS"
47659 LDFLAGS="$chktls_save_LDFLAGS"
47660 else
47661 gcc_cv_have_tls=no
47663 rm -f core conftest.err conftest.$ac_objext \
47664 conftest$ac_exeext conftest.$ac_ext
47667 else
47668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47669 /* end confdefs.h. */
47670 __thread int a; int b; int main() { return a = b; }
47671 _ACEOF
47672 if ac_fn_c_try_run "$LINENO"; then :
47673 chktls_save_LDFLAGS="$LDFLAGS"
47674 LDFLAGS="-static $LDFLAGS"
47675 if test x$gcc_no_link = xyes; then
47676 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47679 /* end confdefs.h. */
47680 int main() { return 0; }
47681 _ACEOF
47682 if ac_fn_c_try_link "$LINENO"; then :
47683 if test "$cross_compiling" = yes; then :
47684 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
47685 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
47686 as_fn_error $? "cannot run test program while cross compiling
47687 See \`config.log' for more details" "$LINENO" 5; }
47688 else
47689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47690 /* end confdefs.h. */
47691 __thread int a; int b; int main() { return a = b; }
47692 _ACEOF
47693 if ac_fn_c_try_run "$LINENO"; then :
47694 gcc_cv_have_tls=yes
47695 else
47696 gcc_cv_have_tls=no
47698 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
47699 conftest.$ac_objext conftest.beam conftest.$ac_ext
47702 else
47703 gcc_cv_have_tls=yes
47705 rm -f core conftest.err conftest.$ac_objext \
47706 conftest$ac_exeext conftest.$ac_ext
47707 LDFLAGS="$chktls_save_LDFLAGS"
47708 if test $gcc_cv_have_tls = yes; then
47709 chktls_save_CFLAGS="$CFLAGS"
47710 thread_CFLAGS=failed
47711 for flag in '' '-pthread' '-lpthread'; do
47712 CFLAGS="$flag $chktls_save_CFLAGS"
47713 if test x$gcc_no_link = xyes; then
47714 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47717 /* end confdefs.h. */
47718 #include <pthread.h>
47719 void *g(void *d) { return NULL; }
47721 main ()
47723 pthread_t t; pthread_create(&t,NULL,g,NULL);
47725 return 0;
47727 _ACEOF
47728 if ac_fn_c_try_link "$LINENO"; then :
47729 thread_CFLAGS="$flag"
47731 rm -f core conftest.err conftest.$ac_objext \
47732 conftest$ac_exeext conftest.$ac_ext
47733 if test "X$thread_CFLAGS" != Xfailed; then
47734 break
47736 done
47737 CFLAGS="$chktls_save_CFLAGS"
47738 if test "X$thread_CFLAGS" != Xfailed; then
47739 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
47740 if test "$cross_compiling" = yes; then :
47741 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
47742 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
47743 as_fn_error $? "cannot run test program while cross compiling
47744 See \`config.log' for more details" "$LINENO" 5; }
47745 else
47746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47747 /* end confdefs.h. */
47748 #include <pthread.h>
47749 __thread int a;
47750 static int *volatile a_in_other_thread;
47751 static void *
47752 thread_func (void *arg)
47754 a_in_other_thread = &a;
47755 return (void *)0;
47758 main ()
47760 pthread_t thread;
47761 void *thread_retval;
47762 int *volatile a_in_main_thread;
47763 a_in_main_thread = &a;
47764 if (pthread_create (&thread, (pthread_attr_t *)0,
47765 thread_func, (void *)0))
47766 return 0;
47767 if (pthread_join (thread, &thread_retval))
47768 return 0;
47769 return (a_in_other_thread == a_in_main_thread);
47771 return 0;
47773 _ACEOF
47774 if ac_fn_c_try_run "$LINENO"; then :
47775 gcc_cv_have_tls=yes
47776 else
47777 gcc_cv_have_tls=no
47779 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
47780 conftest.$ac_objext conftest.beam conftest.$ac_ext
47783 CFLAGS="$chktls_save_CFLAGS"
47786 else
47787 gcc_cv_have_tls=no
47789 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
47790 conftest.$ac_objext conftest.beam conftest.$ac_ext
47794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
47795 $as_echo "$gcc_cv_have_tls" >&6; }
47796 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
47798 $as_echo "#define HAVE_TLS 1" >>confdefs.h
47801 case "$target" in
47802 *-hpux10*)
47803 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
47805 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
47807 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
47809 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
47811 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
47814 esac
47816 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-cygwin* | *-solaris*)
47818 # All these tests are for C++; save the language and the compiler flags.
47819 # The CXXFLAGS thing is suspicious, but based on similar bits previously
47820 # found in GLIBCXX_CONFIGURE.
47822 ac_ext=cpp
47823 ac_cpp='$CXXCPP $CPPFLAGS'
47824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47828 ac_test_CXXFLAGS="${CXXFLAGS+set}"
47829 ac_save_CXXFLAGS="$CXXFLAGS"
47831 # Check for -ffunction-sections -fdata-sections
47832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
47833 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
47834 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
47835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47836 /* end confdefs.h. */
47837 int foo; void bar() { };
47839 main ()
47843 return 0;
47845 _ACEOF
47846 if ac_fn_cxx_try_compile "$LINENO"; then :
47847 ac_fdsections=yes
47848 else
47849 ac_fdsections=no
47851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47852 if test "$ac_test_CXXFLAGS" = set; then
47853 CXXFLAGS="$ac_save_CXXFLAGS"
47854 else
47855 # this is the suspicious part
47856 CXXFLAGS=''
47858 if test x"$ac_fdsections" = x"yes"; then
47859 SECTION_FLAGS='-ffunction-sections -fdata-sections'
47861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
47862 $as_echo "$ac_fdsections" >&6; }
47864 ac_ext=c
47865 ac_cpp='$CPP $CPPFLAGS'
47866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47873 # If we're not using GNU ld, then there's no point in even trying these
47874 # tests. Check for that first. We should have already tested for gld
47875 # by now (in libtool), but require it now just to be safe...
47876 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
47877 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
47881 # The name set by libtool depends on the version of libtool. Shame on us
47882 # for depending on an impl detail, but c'est la vie. Older versions used
47883 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
47884 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
47885 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
47886 # set (hence we're using an older libtool), then set it.
47887 if test x${with_gnu_ld+set} != xset; then
47888 if test x${ac_cv_prog_gnu_ld+set} != xset; then
47889 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
47890 with_gnu_ld=no
47891 else
47892 with_gnu_ld=$ac_cv_prog_gnu_ld
47896 # Start by getting the version number. I think the libtool test already
47897 # does some of this, but throws away the result.
47898 glibcxx_ld_is_gold=no
47899 if test x"$with_gnu_ld" = x"yes"; then
47900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
47901 $as_echo_n "checking for ld version... " >&6; }
47903 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
47904 glibcxx_ld_is_gold=yes
47906 ldver=`$LD --version 2>/dev/null |
47907 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
47909 glibcxx_gnu_ld_version=`echo $ldver | \
47910 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
47911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
47912 $as_echo "$glibcxx_gnu_ld_version" >&6; }
47915 # Set --gc-sections.
47916 glibcxx_have_gc_sections=no
47917 if test "$glibcxx_ld_is_gold" = "yes"; then
47918 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
47919 glibcxx_have_gc_sections=yes
47921 else
47922 glibcxx_gcsections_min_ld=21602
47923 if test x"$with_gnu_ld" = x"yes" &&
47924 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
47925 glibcxx_have_gc_sections=yes
47928 if test "$glibcxx_have_gc_sections" = "yes"; then
47929 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
47930 # NB: This flag only works reliably after 2.16.1. Configure tests
47931 # for this are difficult, so hard wire a value that should work.
47933 ac_test_CFLAGS="${CFLAGS+set}"
47934 ac_save_CFLAGS="$CFLAGS"
47935 CFLAGS='-Wl,--gc-sections'
47937 # Check for -Wl,--gc-sections
47938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
47939 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
47940 if test x$gcc_no_link = xyes; then
47941 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47944 /* end confdefs.h. */
47945 int one(void) { return 1; }
47946 int two(void) { return 2; }
47949 main ()
47951 two();
47953 return 0;
47955 _ACEOF
47956 if ac_fn_c_try_link "$LINENO"; then :
47957 ac_gcsections=yes
47958 else
47959 ac_gcsections=no
47961 rm -f core conftest.err conftest.$ac_objext \
47962 conftest$ac_exeext conftest.$ac_ext
47963 if test "$ac_gcsections" = "yes"; then
47964 rm -f conftest.c
47965 touch conftest.c
47966 if $CC -c conftest.c; then
47967 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
47968 grep "Warning: gc-sections option ignored" > /dev/null; then
47969 ac_gcsections=no
47972 rm -f conftest.c conftest.o conftest
47974 if test "$ac_gcsections" = "yes"; then
47975 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
47977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
47978 $as_echo "$ac_gcsections" >&6; }
47980 if test "$ac_test_CFLAGS" = set; then
47981 CFLAGS="$ac_save_CFLAGS"
47982 else
47983 # this is the suspicious part
47984 CFLAGS=''
47988 # Set -z,relro.
47989 # Note this is only for shared objects.
47990 ac_ld_relro=no
47991 if test x"$with_gnu_ld" = x"yes"; then
47992 # cygwin and mingw uses PE, which has no ELF relro support,
47993 # multi target ld may confuse configure machinery
47994 case "$host" in
47995 *-*-cygwin*)
47997 *-*-mingw*)
48000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
48001 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
48002 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
48003 if test -n "$cxx_z_relo"; then
48004 OPT_LDFLAGS="-Wl,-z,relro"
48005 ac_ld_relro=yes
48007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
48008 $as_echo "$ac_ld_relro" >&6; }
48009 esac
48012 # Set linker optimization flags.
48013 if test x"$with_gnu_ld" = x"yes"; then
48014 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
48021 ac_test_CXXFLAGS="${CXXFLAGS+set}"
48022 ac_save_CXXFLAGS="$CXXFLAGS"
48023 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
48025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
48026 $as_echo_n "checking for sin in -lm... " >&6; }
48027 if ${ac_cv_lib_m_sin+:} false; then :
48028 $as_echo_n "(cached) " >&6
48029 else
48030 ac_check_lib_save_LIBS=$LIBS
48031 LIBS="-lm $LIBS"
48032 if test x$gcc_no_link = xyes; then
48033 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
48035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48036 /* end confdefs.h. */
48038 /* Override any GCC internal prototype to avoid an error.
48039 Use char because int might match the return type of a GCC
48040 builtin and then its argument prototype would still apply. */
48041 #ifdef __cplusplus
48042 extern "C"
48043 #endif
48044 char sin ();
48046 main ()
48048 return sin ();
48050 return 0;
48052 _ACEOF
48053 if ac_fn_c_try_link "$LINENO"; then :
48054 ac_cv_lib_m_sin=yes
48055 else
48056 ac_cv_lib_m_sin=no
48058 rm -f core conftest.err conftest.$ac_objext \
48059 conftest$ac_exeext conftest.$ac_ext
48060 LIBS=$ac_check_lib_save_LIBS
48062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
48063 $as_echo "$ac_cv_lib_m_sin" >&6; }
48064 if test "x$ac_cv_lib_m_sin" = xyes; then :
48065 libm="-lm"
48068 ac_save_LIBS="$LIBS"
48069 LIBS="$LIBS $libm"
48073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
48074 $as_echo_n "checking for isinf declaration... " >&6; }
48075 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
48076 if ${glibcxx_cv_func_isinf_use+:} false; then :
48077 $as_echo_n "(cached) " >&6
48078 else
48081 ac_ext=cpp
48082 ac_cpp='$CXXCPP $CPPFLAGS'
48083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48088 /* end confdefs.h. */
48089 #include <math.h>
48090 #ifdef HAVE_IEEEFP_H
48091 #include <ieeefp.h>
48092 #endif
48095 main ()
48097 isinf(0);
48099 return 0;
48101 _ACEOF
48102 if ac_fn_cxx_try_compile "$LINENO"; then :
48103 glibcxx_cv_func_isinf_use=yes
48104 else
48105 glibcxx_cv_func_isinf_use=no
48107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48108 ac_ext=c
48109 ac_cpp='$CPP $CPPFLAGS'
48110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
48119 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
48121 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
48122 for ac_func in isinf
48123 do :
48124 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
48125 if test "x$ac_cv_func_isinf" = xyes; then :
48126 cat >>confdefs.h <<_ACEOF
48127 #define HAVE_ISINF 1
48128 _ACEOF
48131 done
48133 else
48135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
48136 $as_echo_n "checking for _isinf declaration... " >&6; }
48137 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
48138 if ${glibcxx_cv_func__isinf_use+:} false; then :
48139 $as_echo_n "(cached) " >&6
48140 else
48143 ac_ext=cpp
48144 ac_cpp='$CXXCPP $CPPFLAGS'
48145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48150 /* end confdefs.h. */
48151 #include <math.h>
48152 #ifdef HAVE_IEEEFP_H
48153 #include <ieeefp.h>
48154 #endif
48157 main ()
48159 _isinf(0);
48161 return 0;
48163 _ACEOF
48164 if ac_fn_cxx_try_compile "$LINENO"; then :
48165 glibcxx_cv_func__isinf_use=yes
48166 else
48167 glibcxx_cv_func__isinf_use=no
48169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48170 ac_ext=c
48171 ac_cpp='$CPP $CPPFLAGS'
48172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48173 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
48181 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
48183 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
48184 for ac_func in _isinf
48185 do :
48186 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
48187 if test "x$ac_cv_func__isinf" = xyes; then :
48188 cat >>confdefs.h <<_ACEOF
48189 #define HAVE__ISINF 1
48190 _ACEOF
48193 done
48202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
48203 $as_echo_n "checking for isnan declaration... " >&6; }
48204 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
48205 if ${glibcxx_cv_func_isnan_use+:} false; then :
48206 $as_echo_n "(cached) " >&6
48207 else
48210 ac_ext=cpp
48211 ac_cpp='$CXXCPP $CPPFLAGS'
48212 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48213 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48214 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48217 /* end confdefs.h. */
48218 #include <math.h>
48219 #ifdef HAVE_IEEEFP_H
48220 #include <ieeefp.h>
48221 #endif
48224 main ()
48226 isnan(0);
48228 return 0;
48230 _ACEOF
48231 if ac_fn_cxx_try_compile "$LINENO"; then :
48232 glibcxx_cv_func_isnan_use=yes
48233 else
48234 glibcxx_cv_func_isnan_use=no
48236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48237 ac_ext=c
48238 ac_cpp='$CPP $CPPFLAGS'
48239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
48248 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
48250 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
48251 for ac_func in isnan
48252 do :
48253 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
48254 if test "x$ac_cv_func_isnan" = xyes; then :
48255 cat >>confdefs.h <<_ACEOF
48256 #define HAVE_ISNAN 1
48257 _ACEOF
48260 done
48262 else
48264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
48265 $as_echo_n "checking for _isnan declaration... " >&6; }
48266 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
48267 if ${glibcxx_cv_func__isnan_use+:} false; then :
48268 $as_echo_n "(cached) " >&6
48269 else
48272 ac_ext=cpp
48273 ac_cpp='$CXXCPP $CPPFLAGS'
48274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48279 /* end confdefs.h. */
48280 #include <math.h>
48281 #ifdef HAVE_IEEEFP_H
48282 #include <ieeefp.h>
48283 #endif
48286 main ()
48288 _isnan(0);
48290 return 0;
48292 _ACEOF
48293 if ac_fn_cxx_try_compile "$LINENO"; then :
48294 glibcxx_cv_func__isnan_use=yes
48295 else
48296 glibcxx_cv_func__isnan_use=no
48298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48299 ac_ext=c
48300 ac_cpp='$CPP $CPPFLAGS'
48301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48302 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
48310 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
48312 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
48313 for ac_func in _isnan
48314 do :
48315 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
48316 if test "x$ac_cv_func__isnan" = xyes; then :
48317 cat >>confdefs.h <<_ACEOF
48318 #define HAVE__ISNAN 1
48319 _ACEOF
48322 done
48331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
48332 $as_echo_n "checking for finite declaration... " >&6; }
48333 if test x${glibcxx_cv_func_finite_use+set} != xset; then
48334 if ${glibcxx_cv_func_finite_use+:} false; then :
48335 $as_echo_n "(cached) " >&6
48336 else
48339 ac_ext=cpp
48340 ac_cpp='$CXXCPP $CPPFLAGS'
48341 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48342 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48343 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48346 /* end confdefs.h. */
48347 #include <math.h>
48348 #ifdef HAVE_IEEEFP_H
48349 #include <ieeefp.h>
48350 #endif
48353 main ()
48355 finite(0);
48357 return 0;
48359 _ACEOF
48360 if ac_fn_cxx_try_compile "$LINENO"; then :
48361 glibcxx_cv_func_finite_use=yes
48362 else
48363 glibcxx_cv_func_finite_use=no
48365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48366 ac_ext=c
48367 ac_cpp='$CPP $CPPFLAGS'
48368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
48377 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
48379 if test x$glibcxx_cv_func_finite_use = x"yes"; then
48380 for ac_func in finite
48381 do :
48382 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
48383 if test "x$ac_cv_func_finite" = xyes; then :
48384 cat >>confdefs.h <<_ACEOF
48385 #define HAVE_FINITE 1
48386 _ACEOF
48389 done
48391 else
48393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
48394 $as_echo_n "checking for _finite declaration... " >&6; }
48395 if test x${glibcxx_cv_func__finite_use+set} != xset; then
48396 if ${glibcxx_cv_func__finite_use+:} false; then :
48397 $as_echo_n "(cached) " >&6
48398 else
48401 ac_ext=cpp
48402 ac_cpp='$CXXCPP $CPPFLAGS'
48403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48404 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48408 /* end confdefs.h. */
48409 #include <math.h>
48410 #ifdef HAVE_IEEEFP_H
48411 #include <ieeefp.h>
48412 #endif
48415 main ()
48417 _finite(0);
48419 return 0;
48421 _ACEOF
48422 if ac_fn_cxx_try_compile "$LINENO"; then :
48423 glibcxx_cv_func__finite_use=yes
48424 else
48425 glibcxx_cv_func__finite_use=no
48427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48428 ac_ext=c
48429 ac_cpp='$CPP $CPPFLAGS'
48430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
48439 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
48441 if test x$glibcxx_cv_func__finite_use = x"yes"; then
48442 for ac_func in _finite
48443 do :
48444 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
48445 if test "x$ac_cv_func__finite" = xyes; then :
48446 cat >>confdefs.h <<_ACEOF
48447 #define HAVE__FINITE 1
48448 _ACEOF
48451 done
48460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
48461 $as_echo_n "checking for sincos declaration... " >&6; }
48462 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
48463 if ${glibcxx_cv_func_sincos_use+:} false; then :
48464 $as_echo_n "(cached) " >&6
48465 else
48468 ac_ext=cpp
48469 ac_cpp='$CXXCPP $CPPFLAGS'
48470 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48471 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48472 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48475 /* end confdefs.h. */
48476 #include <math.h>
48478 main ()
48480 sincos(0, 0, 0);
48482 return 0;
48484 _ACEOF
48485 if ac_fn_cxx_try_compile "$LINENO"; then :
48486 glibcxx_cv_func_sincos_use=yes
48487 else
48488 glibcxx_cv_func_sincos_use=no
48490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48491 ac_ext=c
48492 ac_cpp='$CPP $CPPFLAGS'
48493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
48502 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
48504 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
48505 for ac_func in sincos
48506 do :
48507 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
48508 if test "x$ac_cv_func_sincos" = xyes; then :
48509 cat >>confdefs.h <<_ACEOF
48510 #define HAVE_SINCOS 1
48511 _ACEOF
48514 done
48516 else
48518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
48519 $as_echo_n "checking for _sincos declaration... " >&6; }
48520 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
48521 if ${glibcxx_cv_func__sincos_use+:} false; then :
48522 $as_echo_n "(cached) " >&6
48523 else
48526 ac_ext=cpp
48527 ac_cpp='$CXXCPP $CPPFLAGS'
48528 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48529 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48530 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48533 /* end confdefs.h. */
48534 #include <math.h>
48536 main ()
48538 _sincos(0, 0, 0);
48540 return 0;
48542 _ACEOF
48543 if ac_fn_cxx_try_compile "$LINENO"; then :
48544 glibcxx_cv_func__sincos_use=yes
48545 else
48546 glibcxx_cv_func__sincos_use=no
48548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48549 ac_ext=c
48550 ac_cpp='$CPP $CPPFLAGS'
48551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
48560 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
48562 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
48563 for ac_func in _sincos
48564 do :
48565 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
48566 if test "x$ac_cv_func__sincos" = xyes; then :
48567 cat >>confdefs.h <<_ACEOF
48568 #define HAVE__SINCOS 1
48569 _ACEOF
48572 done
48581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
48582 $as_echo_n "checking for fpclass declaration... " >&6; }
48583 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
48584 if ${glibcxx_cv_func_fpclass_use+:} false; then :
48585 $as_echo_n "(cached) " >&6
48586 else
48589 ac_ext=cpp
48590 ac_cpp='$CXXCPP $CPPFLAGS'
48591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48596 /* end confdefs.h. */
48597 #include <math.h>
48598 #ifdef HAVE_IEEEFP_H
48599 #include <ieeefp.h>
48600 #endif
48603 main ()
48605 fpclass(0);
48607 return 0;
48609 _ACEOF
48610 if ac_fn_cxx_try_compile "$LINENO"; then :
48611 glibcxx_cv_func_fpclass_use=yes
48612 else
48613 glibcxx_cv_func_fpclass_use=no
48615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48616 ac_ext=c
48617 ac_cpp='$CPP $CPPFLAGS'
48618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
48627 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
48629 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
48630 for ac_func in fpclass
48631 do :
48632 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
48633 if test "x$ac_cv_func_fpclass" = xyes; then :
48634 cat >>confdefs.h <<_ACEOF
48635 #define HAVE_FPCLASS 1
48636 _ACEOF
48639 done
48641 else
48643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
48644 $as_echo_n "checking for _fpclass declaration... " >&6; }
48645 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
48646 if ${glibcxx_cv_func__fpclass_use+:} false; then :
48647 $as_echo_n "(cached) " >&6
48648 else
48651 ac_ext=cpp
48652 ac_cpp='$CXXCPP $CPPFLAGS'
48653 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48654 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48655 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48658 /* end confdefs.h. */
48659 #include <math.h>
48660 #ifdef HAVE_IEEEFP_H
48661 #include <ieeefp.h>
48662 #endif
48665 main ()
48667 _fpclass(0);
48669 return 0;
48671 _ACEOF
48672 if ac_fn_cxx_try_compile "$LINENO"; then :
48673 glibcxx_cv_func__fpclass_use=yes
48674 else
48675 glibcxx_cv_func__fpclass_use=no
48677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48678 ac_ext=c
48679 ac_cpp='$CPP $CPPFLAGS'
48680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
48689 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
48691 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
48692 for ac_func in _fpclass
48693 do :
48694 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
48695 if test "x$ac_cv_func__fpclass" = xyes; then :
48696 cat >>confdefs.h <<_ACEOF
48697 #define HAVE__FPCLASS 1
48698 _ACEOF
48701 done
48710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
48711 $as_echo_n "checking for qfpclass declaration... " >&6; }
48712 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
48713 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
48714 $as_echo_n "(cached) " >&6
48715 else
48718 ac_ext=cpp
48719 ac_cpp='$CXXCPP $CPPFLAGS'
48720 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48721 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48722 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48725 /* end confdefs.h. */
48726 #include <math.h>
48727 #ifdef HAVE_IEEEFP_H
48728 #include <ieeefp.h>
48729 #endif
48732 main ()
48734 qfpclass(0);
48736 return 0;
48738 _ACEOF
48739 if ac_fn_cxx_try_compile "$LINENO"; then :
48740 glibcxx_cv_func_qfpclass_use=yes
48741 else
48742 glibcxx_cv_func_qfpclass_use=no
48744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48745 ac_ext=c
48746 ac_cpp='$CPP $CPPFLAGS'
48747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
48756 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
48758 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
48759 for ac_func in qfpclass
48760 do :
48761 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
48762 if test "x$ac_cv_func_qfpclass" = xyes; then :
48763 cat >>confdefs.h <<_ACEOF
48764 #define HAVE_QFPCLASS 1
48765 _ACEOF
48768 done
48770 else
48772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
48773 $as_echo_n "checking for _qfpclass declaration... " >&6; }
48774 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
48775 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
48776 $as_echo_n "(cached) " >&6
48777 else
48780 ac_ext=cpp
48781 ac_cpp='$CXXCPP $CPPFLAGS'
48782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48787 /* end confdefs.h. */
48788 #include <math.h>
48789 #ifdef HAVE_IEEEFP_H
48790 #include <ieeefp.h>
48791 #endif
48794 main ()
48796 _qfpclass(0);
48798 return 0;
48800 _ACEOF
48801 if ac_fn_cxx_try_compile "$LINENO"; then :
48802 glibcxx_cv_func__qfpclass_use=yes
48803 else
48804 glibcxx_cv_func__qfpclass_use=no
48806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48807 ac_ext=c
48808 ac_cpp='$CPP $CPPFLAGS'
48809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
48818 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
48820 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
48821 for ac_func in _qfpclass
48822 do :
48823 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
48824 if test "x$ac_cv_func__qfpclass" = xyes; then :
48825 cat >>confdefs.h <<_ACEOF
48826 #define HAVE__QFPCLASS 1
48827 _ACEOF
48830 done
48839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
48840 $as_echo_n "checking for hypot declaration... " >&6; }
48841 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
48842 if ${glibcxx_cv_func_hypot_use+:} false; then :
48843 $as_echo_n "(cached) " >&6
48844 else
48847 ac_ext=cpp
48848 ac_cpp='$CXXCPP $CPPFLAGS'
48849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48854 /* end confdefs.h. */
48855 #include <math.h>
48857 main ()
48859 hypot(0, 0);
48861 return 0;
48863 _ACEOF
48864 if ac_fn_cxx_try_compile "$LINENO"; then :
48865 glibcxx_cv_func_hypot_use=yes
48866 else
48867 glibcxx_cv_func_hypot_use=no
48869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48870 ac_ext=c
48871 ac_cpp='$CPP $CPPFLAGS'
48872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
48881 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
48883 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
48884 for ac_func in hypot
48885 do :
48886 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
48887 if test "x$ac_cv_func_hypot" = xyes; then :
48888 cat >>confdefs.h <<_ACEOF
48889 #define HAVE_HYPOT 1
48890 _ACEOF
48893 done
48895 else
48897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
48898 $as_echo_n "checking for _hypot declaration... " >&6; }
48899 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
48900 if ${glibcxx_cv_func__hypot_use+:} false; then :
48901 $as_echo_n "(cached) " >&6
48902 else
48905 ac_ext=cpp
48906 ac_cpp='$CXXCPP $CPPFLAGS'
48907 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48908 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48909 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48912 /* end confdefs.h. */
48913 #include <math.h>
48915 main ()
48917 _hypot(0, 0);
48919 return 0;
48921 _ACEOF
48922 if ac_fn_cxx_try_compile "$LINENO"; then :
48923 glibcxx_cv_func__hypot_use=yes
48924 else
48925 glibcxx_cv_func__hypot_use=no
48927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48928 ac_ext=c
48929 ac_cpp='$CPP $CPPFLAGS'
48930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
48939 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
48941 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
48942 for ac_func in _hypot
48943 do :
48944 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
48945 if test "x$ac_cv_func__hypot" = xyes; then :
48946 cat >>confdefs.h <<_ACEOF
48947 #define HAVE__HYPOT 1
48948 _ACEOF
48951 done
48960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
48961 $as_echo_n "checking for float trig functions... " >&6; }
48962 if ${glibcxx_cv_func_float_trig_use+:} false; then :
48963 $as_echo_n "(cached) " >&6
48964 else
48967 ac_ext=cpp
48968 ac_cpp='$CXXCPP $CPPFLAGS'
48969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48974 /* end confdefs.h. */
48975 #include <math.h>
48977 main ()
48979 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
48981 return 0;
48983 _ACEOF
48984 if ac_fn_cxx_try_compile "$LINENO"; then :
48985 glibcxx_cv_func_float_trig_use=yes
48986 else
48987 glibcxx_cv_func_float_trig_use=no
48989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48990 ac_ext=c
48991 ac_cpp='$CPP $CPPFLAGS'
48992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
48999 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
49000 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
49001 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
49002 do :
49003 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49004 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49005 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
49006 cat >>confdefs.h <<_ACEOF
49007 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49008 _ACEOF
49011 done
49013 else
49014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
49015 $as_echo_n "checking for _float trig functions... " >&6; }
49016 if ${glibcxx_cv_func__float_trig_use+:} false; then :
49017 $as_echo_n "(cached) " >&6
49018 else
49021 ac_ext=cpp
49022 ac_cpp='$CXXCPP $CPPFLAGS'
49023 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49024 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49025 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49028 /* end confdefs.h. */
49029 #include <math.h>
49031 main ()
49033 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
49035 return 0;
49037 _ACEOF
49038 if ac_fn_cxx_try_compile "$LINENO"; then :
49039 glibcxx_cv_func__float_trig_use=yes
49040 else
49041 glibcxx_cv_func__float_trig_use=no
49043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49044 ac_ext=c
49045 ac_cpp='$CPP $CPPFLAGS'
49046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
49053 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
49054 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
49055 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
49056 do :
49057 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49058 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49059 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
49060 cat >>confdefs.h <<_ACEOF
49061 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49062 _ACEOF
49065 done
49074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
49075 $as_echo_n "checking for float round functions... " >&6; }
49076 if ${glibcxx_cv_func_float_round_use+:} false; then :
49077 $as_echo_n "(cached) " >&6
49078 else
49081 ac_ext=cpp
49082 ac_cpp='$CXXCPP $CPPFLAGS'
49083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49088 /* end confdefs.h. */
49089 #include <math.h>
49091 main ()
49093 ceilf (0); floorf (0);
49095 return 0;
49097 _ACEOF
49098 if ac_fn_cxx_try_compile "$LINENO"; then :
49099 glibcxx_cv_func_float_round_use=yes
49100 else
49101 glibcxx_cv_func_float_round_use=no
49103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49104 ac_ext=c
49105 ac_cpp='$CPP $CPPFLAGS'
49106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
49113 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
49114 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
49115 for ac_func in ceilf floorf
49116 do :
49117 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49118 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49119 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
49120 cat >>confdefs.h <<_ACEOF
49121 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49122 _ACEOF
49125 done
49127 else
49128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
49129 $as_echo_n "checking for _float round functions... " >&6; }
49130 if ${glibcxx_cv_func__float_round_use+:} false; then :
49131 $as_echo_n "(cached) " >&6
49132 else
49135 ac_ext=cpp
49136 ac_cpp='$CXXCPP $CPPFLAGS'
49137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49142 /* end confdefs.h. */
49143 #include <math.h>
49145 main ()
49147 _ceilf (0); _floorf (0);
49149 return 0;
49151 _ACEOF
49152 if ac_fn_cxx_try_compile "$LINENO"; then :
49153 glibcxx_cv_func__float_round_use=yes
49154 else
49155 glibcxx_cv_func__float_round_use=no
49157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49158 ac_ext=c
49159 ac_cpp='$CPP $CPPFLAGS'
49160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
49167 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
49168 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
49169 for ac_func in _ceilf _floorf
49170 do :
49171 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49172 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49173 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
49174 cat >>confdefs.h <<_ACEOF
49175 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49176 _ACEOF
49179 done
49189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
49190 $as_echo_n "checking for expf declaration... " >&6; }
49191 if test x${glibcxx_cv_func_expf_use+set} != xset; then
49192 if ${glibcxx_cv_func_expf_use+:} false; then :
49193 $as_echo_n "(cached) " >&6
49194 else
49197 ac_ext=cpp
49198 ac_cpp='$CXXCPP $CPPFLAGS'
49199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49204 /* end confdefs.h. */
49205 #include <math.h>
49206 #ifdef HAVE_IEEEFP_H
49207 #include <ieeefp.h>
49208 #endif
49211 main ()
49213 expf(0);
49215 return 0;
49217 _ACEOF
49218 if ac_fn_cxx_try_compile "$LINENO"; then :
49219 glibcxx_cv_func_expf_use=yes
49220 else
49221 glibcxx_cv_func_expf_use=no
49223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49224 ac_ext=c
49225 ac_cpp='$CPP $CPPFLAGS'
49226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
49235 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
49237 if test x$glibcxx_cv_func_expf_use = x"yes"; then
49238 for ac_func in expf
49239 do :
49240 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
49241 if test "x$ac_cv_func_expf" = xyes; then :
49242 cat >>confdefs.h <<_ACEOF
49243 #define HAVE_EXPF 1
49244 _ACEOF
49247 done
49249 else
49251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
49252 $as_echo_n "checking for _expf declaration... " >&6; }
49253 if test x${glibcxx_cv_func__expf_use+set} != xset; then
49254 if ${glibcxx_cv_func__expf_use+:} false; then :
49255 $as_echo_n "(cached) " >&6
49256 else
49259 ac_ext=cpp
49260 ac_cpp='$CXXCPP $CPPFLAGS'
49261 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49262 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49263 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49266 /* end confdefs.h. */
49267 #include <math.h>
49268 #ifdef HAVE_IEEEFP_H
49269 #include <ieeefp.h>
49270 #endif
49273 main ()
49275 _expf(0);
49277 return 0;
49279 _ACEOF
49280 if ac_fn_cxx_try_compile "$LINENO"; then :
49281 glibcxx_cv_func__expf_use=yes
49282 else
49283 glibcxx_cv_func__expf_use=no
49285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49286 ac_ext=c
49287 ac_cpp='$CPP $CPPFLAGS'
49288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
49297 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
49299 if test x$glibcxx_cv_func__expf_use = x"yes"; then
49300 for ac_func in _expf
49301 do :
49302 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
49303 if test "x$ac_cv_func__expf" = xyes; then :
49304 cat >>confdefs.h <<_ACEOF
49305 #define HAVE__EXPF 1
49306 _ACEOF
49309 done
49318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
49319 $as_echo_n "checking for isnanf declaration... " >&6; }
49320 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
49321 if ${glibcxx_cv_func_isnanf_use+:} false; then :
49322 $as_echo_n "(cached) " >&6
49323 else
49326 ac_ext=cpp
49327 ac_cpp='$CXXCPP $CPPFLAGS'
49328 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49329 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49330 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49333 /* end confdefs.h. */
49334 #include <math.h>
49335 #ifdef HAVE_IEEEFP_H
49336 #include <ieeefp.h>
49337 #endif
49340 main ()
49342 isnanf(0);
49344 return 0;
49346 _ACEOF
49347 if ac_fn_cxx_try_compile "$LINENO"; then :
49348 glibcxx_cv_func_isnanf_use=yes
49349 else
49350 glibcxx_cv_func_isnanf_use=no
49352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49353 ac_ext=c
49354 ac_cpp='$CPP $CPPFLAGS'
49355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
49364 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
49366 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
49367 for ac_func in isnanf
49368 do :
49369 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
49370 if test "x$ac_cv_func_isnanf" = xyes; then :
49371 cat >>confdefs.h <<_ACEOF
49372 #define HAVE_ISNANF 1
49373 _ACEOF
49376 done
49378 else
49380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
49381 $as_echo_n "checking for _isnanf declaration... " >&6; }
49382 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
49383 if ${glibcxx_cv_func__isnanf_use+:} false; then :
49384 $as_echo_n "(cached) " >&6
49385 else
49388 ac_ext=cpp
49389 ac_cpp='$CXXCPP $CPPFLAGS'
49390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49395 /* end confdefs.h. */
49396 #include <math.h>
49397 #ifdef HAVE_IEEEFP_H
49398 #include <ieeefp.h>
49399 #endif
49402 main ()
49404 _isnanf(0);
49406 return 0;
49408 _ACEOF
49409 if ac_fn_cxx_try_compile "$LINENO"; then :
49410 glibcxx_cv_func__isnanf_use=yes
49411 else
49412 glibcxx_cv_func__isnanf_use=no
49414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49415 ac_ext=c
49416 ac_cpp='$CPP $CPPFLAGS'
49417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
49426 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
49428 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
49429 for ac_func in _isnanf
49430 do :
49431 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
49432 if test "x$ac_cv_func__isnanf" = xyes; then :
49433 cat >>confdefs.h <<_ACEOF
49434 #define HAVE__ISNANF 1
49435 _ACEOF
49438 done
49447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
49448 $as_echo_n "checking for isinff declaration... " >&6; }
49449 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
49450 if ${glibcxx_cv_func_isinff_use+:} false; then :
49451 $as_echo_n "(cached) " >&6
49452 else
49455 ac_ext=cpp
49456 ac_cpp='$CXXCPP $CPPFLAGS'
49457 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49458 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49459 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49462 /* end confdefs.h. */
49463 #include <math.h>
49464 #ifdef HAVE_IEEEFP_H
49465 #include <ieeefp.h>
49466 #endif
49469 main ()
49471 isinff(0);
49473 return 0;
49475 _ACEOF
49476 if ac_fn_cxx_try_compile "$LINENO"; then :
49477 glibcxx_cv_func_isinff_use=yes
49478 else
49479 glibcxx_cv_func_isinff_use=no
49481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49482 ac_ext=c
49483 ac_cpp='$CPP $CPPFLAGS'
49484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
49493 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
49495 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
49496 for ac_func in isinff
49497 do :
49498 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
49499 if test "x$ac_cv_func_isinff" = xyes; then :
49500 cat >>confdefs.h <<_ACEOF
49501 #define HAVE_ISINFF 1
49502 _ACEOF
49505 done
49507 else
49509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
49510 $as_echo_n "checking for _isinff declaration... " >&6; }
49511 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
49512 if ${glibcxx_cv_func__isinff_use+:} false; then :
49513 $as_echo_n "(cached) " >&6
49514 else
49517 ac_ext=cpp
49518 ac_cpp='$CXXCPP $CPPFLAGS'
49519 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49520 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49521 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49524 /* end confdefs.h. */
49525 #include <math.h>
49526 #ifdef HAVE_IEEEFP_H
49527 #include <ieeefp.h>
49528 #endif
49531 main ()
49533 _isinff(0);
49535 return 0;
49537 _ACEOF
49538 if ac_fn_cxx_try_compile "$LINENO"; then :
49539 glibcxx_cv_func__isinff_use=yes
49540 else
49541 glibcxx_cv_func__isinff_use=no
49543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49544 ac_ext=c
49545 ac_cpp='$CPP $CPPFLAGS'
49546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
49555 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
49557 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
49558 for ac_func in _isinff
49559 do :
49560 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
49561 if test "x$ac_cv_func__isinff" = xyes; then :
49562 cat >>confdefs.h <<_ACEOF
49563 #define HAVE__ISINFF 1
49564 _ACEOF
49567 done
49576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
49577 $as_echo_n "checking for atan2f declaration... " >&6; }
49578 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
49579 if ${glibcxx_cv_func_atan2f_use+:} false; then :
49580 $as_echo_n "(cached) " >&6
49581 else
49584 ac_ext=cpp
49585 ac_cpp='$CXXCPP $CPPFLAGS'
49586 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49587 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49588 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49591 /* end confdefs.h. */
49592 #include <math.h>
49594 main ()
49596 atan2f(0, 0);
49598 return 0;
49600 _ACEOF
49601 if ac_fn_cxx_try_compile "$LINENO"; then :
49602 glibcxx_cv_func_atan2f_use=yes
49603 else
49604 glibcxx_cv_func_atan2f_use=no
49606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49607 ac_ext=c
49608 ac_cpp='$CPP $CPPFLAGS'
49609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
49618 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
49620 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
49621 for ac_func in atan2f
49622 do :
49623 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
49624 if test "x$ac_cv_func_atan2f" = xyes; then :
49625 cat >>confdefs.h <<_ACEOF
49626 #define HAVE_ATAN2F 1
49627 _ACEOF
49630 done
49632 else
49634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
49635 $as_echo_n "checking for _atan2f declaration... " >&6; }
49636 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
49637 if ${glibcxx_cv_func__atan2f_use+:} false; then :
49638 $as_echo_n "(cached) " >&6
49639 else
49642 ac_ext=cpp
49643 ac_cpp='$CXXCPP $CPPFLAGS'
49644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49649 /* end confdefs.h. */
49650 #include <math.h>
49652 main ()
49654 _atan2f(0, 0);
49656 return 0;
49658 _ACEOF
49659 if ac_fn_cxx_try_compile "$LINENO"; then :
49660 glibcxx_cv_func__atan2f_use=yes
49661 else
49662 glibcxx_cv_func__atan2f_use=no
49664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49665 ac_ext=c
49666 ac_cpp='$CPP $CPPFLAGS'
49667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
49676 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
49678 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
49679 for ac_func in _atan2f
49680 do :
49681 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
49682 if test "x$ac_cv_func__atan2f" = xyes; then :
49683 cat >>confdefs.h <<_ACEOF
49684 #define HAVE__ATAN2F 1
49685 _ACEOF
49688 done
49697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
49698 $as_echo_n "checking for fabsf declaration... " >&6; }
49699 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
49700 if ${glibcxx_cv_func_fabsf_use+:} false; then :
49701 $as_echo_n "(cached) " >&6
49702 else
49705 ac_ext=cpp
49706 ac_cpp='$CXXCPP $CPPFLAGS'
49707 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49708 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49709 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49712 /* end confdefs.h. */
49713 #include <math.h>
49714 #ifdef HAVE_IEEEFP_H
49715 #include <ieeefp.h>
49716 #endif
49719 main ()
49721 fabsf(0);
49723 return 0;
49725 _ACEOF
49726 if ac_fn_cxx_try_compile "$LINENO"; then :
49727 glibcxx_cv_func_fabsf_use=yes
49728 else
49729 glibcxx_cv_func_fabsf_use=no
49731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49732 ac_ext=c
49733 ac_cpp='$CPP $CPPFLAGS'
49734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
49743 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
49745 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
49746 for ac_func in fabsf
49747 do :
49748 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
49749 if test "x$ac_cv_func_fabsf" = xyes; then :
49750 cat >>confdefs.h <<_ACEOF
49751 #define HAVE_FABSF 1
49752 _ACEOF
49755 done
49757 else
49759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
49760 $as_echo_n "checking for _fabsf declaration... " >&6; }
49761 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
49762 if ${glibcxx_cv_func__fabsf_use+:} false; then :
49763 $as_echo_n "(cached) " >&6
49764 else
49767 ac_ext=cpp
49768 ac_cpp='$CXXCPP $CPPFLAGS'
49769 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49770 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49771 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49774 /* end confdefs.h. */
49775 #include <math.h>
49776 #ifdef HAVE_IEEEFP_H
49777 #include <ieeefp.h>
49778 #endif
49781 main ()
49783 _fabsf(0);
49785 return 0;
49787 _ACEOF
49788 if ac_fn_cxx_try_compile "$LINENO"; then :
49789 glibcxx_cv_func__fabsf_use=yes
49790 else
49791 glibcxx_cv_func__fabsf_use=no
49793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49794 ac_ext=c
49795 ac_cpp='$CPP $CPPFLAGS'
49796 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49797 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49798 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
49805 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
49807 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
49808 for ac_func in _fabsf
49809 do :
49810 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
49811 if test "x$ac_cv_func__fabsf" = xyes; then :
49812 cat >>confdefs.h <<_ACEOF
49813 #define HAVE__FABSF 1
49814 _ACEOF
49817 done
49826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
49827 $as_echo_n "checking for fmodf declaration... " >&6; }
49828 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
49829 if ${glibcxx_cv_func_fmodf_use+:} false; then :
49830 $as_echo_n "(cached) " >&6
49831 else
49834 ac_ext=cpp
49835 ac_cpp='$CXXCPP $CPPFLAGS'
49836 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49837 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49838 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49841 /* end confdefs.h. */
49842 #include <math.h>
49844 main ()
49846 fmodf(0, 0);
49848 return 0;
49850 _ACEOF
49851 if ac_fn_cxx_try_compile "$LINENO"; then :
49852 glibcxx_cv_func_fmodf_use=yes
49853 else
49854 glibcxx_cv_func_fmodf_use=no
49856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49857 ac_ext=c
49858 ac_cpp='$CPP $CPPFLAGS'
49859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
49868 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
49870 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
49871 for ac_func in fmodf
49872 do :
49873 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
49874 if test "x$ac_cv_func_fmodf" = xyes; then :
49875 cat >>confdefs.h <<_ACEOF
49876 #define HAVE_FMODF 1
49877 _ACEOF
49880 done
49882 else
49884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
49885 $as_echo_n "checking for _fmodf declaration... " >&6; }
49886 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
49887 if ${glibcxx_cv_func__fmodf_use+:} false; then :
49888 $as_echo_n "(cached) " >&6
49889 else
49892 ac_ext=cpp
49893 ac_cpp='$CXXCPP $CPPFLAGS'
49894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49899 /* end confdefs.h. */
49900 #include <math.h>
49902 main ()
49904 _fmodf(0, 0);
49906 return 0;
49908 _ACEOF
49909 if ac_fn_cxx_try_compile "$LINENO"; then :
49910 glibcxx_cv_func__fmodf_use=yes
49911 else
49912 glibcxx_cv_func__fmodf_use=no
49914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49915 ac_ext=c
49916 ac_cpp='$CPP $CPPFLAGS'
49917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
49926 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
49928 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
49929 for ac_func in _fmodf
49930 do :
49931 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
49932 if test "x$ac_cv_func__fmodf" = xyes; then :
49933 cat >>confdefs.h <<_ACEOF
49934 #define HAVE__FMODF 1
49935 _ACEOF
49938 done
49947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
49948 $as_echo_n "checking for frexpf declaration... " >&6; }
49949 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
49950 if ${glibcxx_cv_func_frexpf_use+:} false; then :
49951 $as_echo_n "(cached) " >&6
49952 else
49955 ac_ext=cpp
49956 ac_cpp='$CXXCPP $CPPFLAGS'
49957 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49958 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49959 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49962 /* end confdefs.h. */
49963 #include <math.h>
49965 main ()
49967 frexpf(0, 0);
49969 return 0;
49971 _ACEOF
49972 if ac_fn_cxx_try_compile "$LINENO"; then :
49973 glibcxx_cv_func_frexpf_use=yes
49974 else
49975 glibcxx_cv_func_frexpf_use=no
49977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49978 ac_ext=c
49979 ac_cpp='$CPP $CPPFLAGS'
49980 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49981 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49982 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
49989 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
49991 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
49992 for ac_func in frexpf
49993 do :
49994 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
49995 if test "x$ac_cv_func_frexpf" = xyes; then :
49996 cat >>confdefs.h <<_ACEOF
49997 #define HAVE_FREXPF 1
49998 _ACEOF
50001 done
50003 else
50005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
50006 $as_echo_n "checking for _frexpf declaration... " >&6; }
50007 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
50008 if ${glibcxx_cv_func__frexpf_use+:} false; then :
50009 $as_echo_n "(cached) " >&6
50010 else
50013 ac_ext=cpp
50014 ac_cpp='$CXXCPP $CPPFLAGS'
50015 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50016 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50017 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50020 /* end confdefs.h. */
50021 #include <math.h>
50023 main ()
50025 _frexpf(0, 0);
50027 return 0;
50029 _ACEOF
50030 if ac_fn_cxx_try_compile "$LINENO"; then :
50031 glibcxx_cv_func__frexpf_use=yes
50032 else
50033 glibcxx_cv_func__frexpf_use=no
50035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50036 ac_ext=c
50037 ac_cpp='$CPP $CPPFLAGS'
50038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
50047 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
50049 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
50050 for ac_func in _frexpf
50051 do :
50052 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
50053 if test "x$ac_cv_func__frexpf" = xyes; then :
50054 cat >>confdefs.h <<_ACEOF
50055 #define HAVE__FREXPF 1
50056 _ACEOF
50059 done
50068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
50069 $as_echo_n "checking for hypotf declaration... " >&6; }
50070 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
50071 if ${glibcxx_cv_func_hypotf_use+:} false; then :
50072 $as_echo_n "(cached) " >&6
50073 else
50076 ac_ext=cpp
50077 ac_cpp='$CXXCPP $CPPFLAGS'
50078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50083 /* end confdefs.h. */
50084 #include <math.h>
50086 main ()
50088 hypotf(0, 0);
50090 return 0;
50092 _ACEOF
50093 if ac_fn_cxx_try_compile "$LINENO"; then :
50094 glibcxx_cv_func_hypotf_use=yes
50095 else
50096 glibcxx_cv_func_hypotf_use=no
50098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50099 ac_ext=c
50100 ac_cpp='$CPP $CPPFLAGS'
50101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
50110 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
50112 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
50113 for ac_func in hypotf
50114 do :
50115 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
50116 if test "x$ac_cv_func_hypotf" = xyes; then :
50117 cat >>confdefs.h <<_ACEOF
50118 #define HAVE_HYPOTF 1
50119 _ACEOF
50122 done
50124 else
50126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
50127 $as_echo_n "checking for _hypotf declaration... " >&6; }
50128 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
50129 if ${glibcxx_cv_func__hypotf_use+:} false; then :
50130 $as_echo_n "(cached) " >&6
50131 else
50134 ac_ext=cpp
50135 ac_cpp='$CXXCPP $CPPFLAGS'
50136 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50137 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50138 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50141 /* end confdefs.h. */
50142 #include <math.h>
50144 main ()
50146 _hypotf(0, 0);
50148 return 0;
50150 _ACEOF
50151 if ac_fn_cxx_try_compile "$LINENO"; then :
50152 glibcxx_cv_func__hypotf_use=yes
50153 else
50154 glibcxx_cv_func__hypotf_use=no
50156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50157 ac_ext=c
50158 ac_cpp='$CPP $CPPFLAGS'
50159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
50168 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
50170 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
50171 for ac_func in _hypotf
50172 do :
50173 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
50174 if test "x$ac_cv_func__hypotf" = xyes; then :
50175 cat >>confdefs.h <<_ACEOF
50176 #define HAVE__HYPOTF 1
50177 _ACEOF
50180 done
50189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
50190 $as_echo_n "checking for ldexpf declaration... " >&6; }
50191 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
50192 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
50193 $as_echo_n "(cached) " >&6
50194 else
50197 ac_ext=cpp
50198 ac_cpp='$CXXCPP $CPPFLAGS'
50199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50204 /* end confdefs.h. */
50205 #include <math.h>
50207 main ()
50209 ldexpf(0, 0);
50211 return 0;
50213 _ACEOF
50214 if ac_fn_cxx_try_compile "$LINENO"; then :
50215 glibcxx_cv_func_ldexpf_use=yes
50216 else
50217 glibcxx_cv_func_ldexpf_use=no
50219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50220 ac_ext=c
50221 ac_cpp='$CPP $CPPFLAGS'
50222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
50231 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
50233 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
50234 for ac_func in ldexpf
50235 do :
50236 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
50237 if test "x$ac_cv_func_ldexpf" = xyes; then :
50238 cat >>confdefs.h <<_ACEOF
50239 #define HAVE_LDEXPF 1
50240 _ACEOF
50243 done
50245 else
50247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
50248 $as_echo_n "checking for _ldexpf declaration... " >&6; }
50249 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
50250 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
50251 $as_echo_n "(cached) " >&6
50252 else
50255 ac_ext=cpp
50256 ac_cpp='$CXXCPP $CPPFLAGS'
50257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50262 /* end confdefs.h. */
50263 #include <math.h>
50265 main ()
50267 _ldexpf(0, 0);
50269 return 0;
50271 _ACEOF
50272 if ac_fn_cxx_try_compile "$LINENO"; then :
50273 glibcxx_cv_func__ldexpf_use=yes
50274 else
50275 glibcxx_cv_func__ldexpf_use=no
50277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50278 ac_ext=c
50279 ac_cpp='$CPP $CPPFLAGS'
50280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
50289 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
50291 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
50292 for ac_func in _ldexpf
50293 do :
50294 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
50295 if test "x$ac_cv_func__ldexpf" = xyes; then :
50296 cat >>confdefs.h <<_ACEOF
50297 #define HAVE__LDEXPF 1
50298 _ACEOF
50301 done
50310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
50311 $as_echo_n "checking for logf declaration... " >&6; }
50312 if test x${glibcxx_cv_func_logf_use+set} != xset; then
50313 if ${glibcxx_cv_func_logf_use+:} false; then :
50314 $as_echo_n "(cached) " >&6
50315 else
50318 ac_ext=cpp
50319 ac_cpp='$CXXCPP $CPPFLAGS'
50320 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50321 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50322 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50325 /* end confdefs.h. */
50326 #include <math.h>
50327 #ifdef HAVE_IEEEFP_H
50328 #include <ieeefp.h>
50329 #endif
50332 main ()
50334 logf(0);
50336 return 0;
50338 _ACEOF
50339 if ac_fn_cxx_try_compile "$LINENO"; then :
50340 glibcxx_cv_func_logf_use=yes
50341 else
50342 glibcxx_cv_func_logf_use=no
50344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50345 ac_ext=c
50346 ac_cpp='$CPP $CPPFLAGS'
50347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
50356 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
50358 if test x$glibcxx_cv_func_logf_use = x"yes"; then
50359 for ac_func in logf
50360 do :
50361 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
50362 if test "x$ac_cv_func_logf" = xyes; then :
50363 cat >>confdefs.h <<_ACEOF
50364 #define HAVE_LOGF 1
50365 _ACEOF
50368 done
50370 else
50372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
50373 $as_echo_n "checking for _logf declaration... " >&6; }
50374 if test x${glibcxx_cv_func__logf_use+set} != xset; then
50375 if ${glibcxx_cv_func__logf_use+:} false; then :
50376 $as_echo_n "(cached) " >&6
50377 else
50380 ac_ext=cpp
50381 ac_cpp='$CXXCPP $CPPFLAGS'
50382 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50383 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50384 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50387 /* end confdefs.h. */
50388 #include <math.h>
50389 #ifdef HAVE_IEEEFP_H
50390 #include <ieeefp.h>
50391 #endif
50394 main ()
50396 _logf(0);
50398 return 0;
50400 _ACEOF
50401 if ac_fn_cxx_try_compile "$LINENO"; then :
50402 glibcxx_cv_func__logf_use=yes
50403 else
50404 glibcxx_cv_func__logf_use=no
50406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50407 ac_ext=c
50408 ac_cpp='$CPP $CPPFLAGS'
50409 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50410 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50411 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
50418 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
50420 if test x$glibcxx_cv_func__logf_use = x"yes"; then
50421 for ac_func in _logf
50422 do :
50423 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
50424 if test "x$ac_cv_func__logf" = xyes; then :
50425 cat >>confdefs.h <<_ACEOF
50426 #define HAVE__LOGF 1
50427 _ACEOF
50430 done
50439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
50440 $as_echo_n "checking for log10f declaration... " >&6; }
50441 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
50442 if ${glibcxx_cv_func_log10f_use+:} false; then :
50443 $as_echo_n "(cached) " >&6
50444 else
50447 ac_ext=cpp
50448 ac_cpp='$CXXCPP $CPPFLAGS'
50449 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50450 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50451 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50454 /* end confdefs.h. */
50455 #include <math.h>
50456 #ifdef HAVE_IEEEFP_H
50457 #include <ieeefp.h>
50458 #endif
50461 main ()
50463 log10f(0);
50465 return 0;
50467 _ACEOF
50468 if ac_fn_cxx_try_compile "$LINENO"; then :
50469 glibcxx_cv_func_log10f_use=yes
50470 else
50471 glibcxx_cv_func_log10f_use=no
50473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50474 ac_ext=c
50475 ac_cpp='$CPP $CPPFLAGS'
50476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
50485 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
50487 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
50488 for ac_func in log10f
50489 do :
50490 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
50491 if test "x$ac_cv_func_log10f" = xyes; then :
50492 cat >>confdefs.h <<_ACEOF
50493 #define HAVE_LOG10F 1
50494 _ACEOF
50497 done
50499 else
50501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
50502 $as_echo_n "checking for _log10f declaration... " >&6; }
50503 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
50504 if ${glibcxx_cv_func__log10f_use+:} false; then :
50505 $as_echo_n "(cached) " >&6
50506 else
50509 ac_ext=cpp
50510 ac_cpp='$CXXCPP $CPPFLAGS'
50511 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50512 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50513 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50516 /* end confdefs.h. */
50517 #include <math.h>
50518 #ifdef HAVE_IEEEFP_H
50519 #include <ieeefp.h>
50520 #endif
50523 main ()
50525 _log10f(0);
50527 return 0;
50529 _ACEOF
50530 if ac_fn_cxx_try_compile "$LINENO"; then :
50531 glibcxx_cv_func__log10f_use=yes
50532 else
50533 glibcxx_cv_func__log10f_use=no
50535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50536 ac_ext=c
50537 ac_cpp='$CPP $CPPFLAGS'
50538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
50547 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
50549 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
50550 for ac_func in _log10f
50551 do :
50552 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
50553 if test "x$ac_cv_func__log10f" = xyes; then :
50554 cat >>confdefs.h <<_ACEOF
50555 #define HAVE__LOG10F 1
50556 _ACEOF
50559 done
50568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
50569 $as_echo_n "checking for modff declaration... " >&6; }
50570 if test x${glibcxx_cv_func_modff_use+set} != xset; then
50571 if ${glibcxx_cv_func_modff_use+:} false; then :
50572 $as_echo_n "(cached) " >&6
50573 else
50576 ac_ext=cpp
50577 ac_cpp='$CXXCPP $CPPFLAGS'
50578 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50579 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50580 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50583 /* end confdefs.h. */
50584 #include <math.h>
50586 main ()
50588 modff(0, 0);
50590 return 0;
50592 _ACEOF
50593 if ac_fn_cxx_try_compile "$LINENO"; then :
50594 glibcxx_cv_func_modff_use=yes
50595 else
50596 glibcxx_cv_func_modff_use=no
50598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50599 ac_ext=c
50600 ac_cpp='$CPP $CPPFLAGS'
50601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
50610 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
50612 if test x$glibcxx_cv_func_modff_use = x"yes"; then
50613 for ac_func in modff
50614 do :
50615 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
50616 if test "x$ac_cv_func_modff" = xyes; then :
50617 cat >>confdefs.h <<_ACEOF
50618 #define HAVE_MODFF 1
50619 _ACEOF
50622 done
50624 else
50626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
50627 $as_echo_n "checking for _modff declaration... " >&6; }
50628 if test x${glibcxx_cv_func__modff_use+set} != xset; then
50629 if ${glibcxx_cv_func__modff_use+:} false; then :
50630 $as_echo_n "(cached) " >&6
50631 else
50634 ac_ext=cpp
50635 ac_cpp='$CXXCPP $CPPFLAGS'
50636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50641 /* end confdefs.h. */
50642 #include <math.h>
50644 main ()
50646 _modff(0, 0);
50648 return 0;
50650 _ACEOF
50651 if ac_fn_cxx_try_compile "$LINENO"; then :
50652 glibcxx_cv_func__modff_use=yes
50653 else
50654 glibcxx_cv_func__modff_use=no
50656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50657 ac_ext=c
50658 ac_cpp='$CPP $CPPFLAGS'
50659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
50668 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
50670 if test x$glibcxx_cv_func__modff_use = x"yes"; then
50671 for ac_func in _modff
50672 do :
50673 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
50674 if test "x$ac_cv_func__modff" = xyes; then :
50675 cat >>confdefs.h <<_ACEOF
50676 #define HAVE__MODFF 1
50677 _ACEOF
50680 done
50689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
50690 $as_echo_n "checking for modf declaration... " >&6; }
50691 if test x${glibcxx_cv_func_modf_use+set} != xset; then
50692 if ${glibcxx_cv_func_modf_use+:} false; then :
50693 $as_echo_n "(cached) " >&6
50694 else
50697 ac_ext=cpp
50698 ac_cpp='$CXXCPP $CPPFLAGS'
50699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50704 /* end confdefs.h. */
50705 #include <math.h>
50707 main ()
50709 modf(0, 0);
50711 return 0;
50713 _ACEOF
50714 if ac_fn_cxx_try_compile "$LINENO"; then :
50715 glibcxx_cv_func_modf_use=yes
50716 else
50717 glibcxx_cv_func_modf_use=no
50719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50720 ac_ext=c
50721 ac_cpp='$CPP $CPPFLAGS'
50722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
50731 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
50733 if test x$glibcxx_cv_func_modf_use = x"yes"; then
50734 for ac_func in modf
50735 do :
50736 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
50737 if test "x$ac_cv_func_modf" = xyes; then :
50738 cat >>confdefs.h <<_ACEOF
50739 #define HAVE_MODF 1
50740 _ACEOF
50743 done
50745 else
50747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
50748 $as_echo_n "checking for _modf declaration... " >&6; }
50749 if test x${glibcxx_cv_func__modf_use+set} != xset; then
50750 if ${glibcxx_cv_func__modf_use+:} false; then :
50751 $as_echo_n "(cached) " >&6
50752 else
50755 ac_ext=cpp
50756 ac_cpp='$CXXCPP $CPPFLAGS'
50757 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50758 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50759 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50762 /* end confdefs.h. */
50763 #include <math.h>
50765 main ()
50767 _modf(0, 0);
50769 return 0;
50771 _ACEOF
50772 if ac_fn_cxx_try_compile "$LINENO"; then :
50773 glibcxx_cv_func__modf_use=yes
50774 else
50775 glibcxx_cv_func__modf_use=no
50777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50778 ac_ext=c
50779 ac_cpp='$CPP $CPPFLAGS'
50780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
50789 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
50791 if test x$glibcxx_cv_func__modf_use = x"yes"; then
50792 for ac_func in _modf
50793 do :
50794 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
50795 if test "x$ac_cv_func__modf" = xyes; then :
50796 cat >>confdefs.h <<_ACEOF
50797 #define HAVE__MODF 1
50798 _ACEOF
50801 done
50810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
50811 $as_echo_n "checking for powf declaration... " >&6; }
50812 if test x${glibcxx_cv_func_powf_use+set} != xset; then
50813 if ${glibcxx_cv_func_powf_use+:} false; then :
50814 $as_echo_n "(cached) " >&6
50815 else
50818 ac_ext=cpp
50819 ac_cpp='$CXXCPP $CPPFLAGS'
50820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50825 /* end confdefs.h. */
50826 #include <math.h>
50828 main ()
50830 powf(0, 0);
50832 return 0;
50834 _ACEOF
50835 if ac_fn_cxx_try_compile "$LINENO"; then :
50836 glibcxx_cv_func_powf_use=yes
50837 else
50838 glibcxx_cv_func_powf_use=no
50840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50841 ac_ext=c
50842 ac_cpp='$CPP $CPPFLAGS'
50843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
50852 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
50854 if test x$glibcxx_cv_func_powf_use = x"yes"; then
50855 for ac_func in powf
50856 do :
50857 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
50858 if test "x$ac_cv_func_powf" = xyes; then :
50859 cat >>confdefs.h <<_ACEOF
50860 #define HAVE_POWF 1
50861 _ACEOF
50864 done
50866 else
50868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
50869 $as_echo_n "checking for _powf declaration... " >&6; }
50870 if test x${glibcxx_cv_func__powf_use+set} != xset; then
50871 if ${glibcxx_cv_func__powf_use+:} false; then :
50872 $as_echo_n "(cached) " >&6
50873 else
50876 ac_ext=cpp
50877 ac_cpp='$CXXCPP $CPPFLAGS'
50878 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50879 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50880 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50883 /* end confdefs.h. */
50884 #include <math.h>
50886 main ()
50888 _powf(0, 0);
50890 return 0;
50892 _ACEOF
50893 if ac_fn_cxx_try_compile "$LINENO"; then :
50894 glibcxx_cv_func__powf_use=yes
50895 else
50896 glibcxx_cv_func__powf_use=no
50898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50899 ac_ext=c
50900 ac_cpp='$CPP $CPPFLAGS'
50901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
50910 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
50912 if test x$glibcxx_cv_func__powf_use = x"yes"; then
50913 for ac_func in _powf
50914 do :
50915 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
50916 if test "x$ac_cv_func__powf" = xyes; then :
50917 cat >>confdefs.h <<_ACEOF
50918 #define HAVE__POWF 1
50919 _ACEOF
50922 done
50931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
50932 $as_echo_n "checking for sqrtf declaration... " >&6; }
50933 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
50934 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
50935 $as_echo_n "(cached) " >&6
50936 else
50939 ac_ext=cpp
50940 ac_cpp='$CXXCPP $CPPFLAGS'
50941 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50942 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50943 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50946 /* end confdefs.h. */
50947 #include <math.h>
50948 #ifdef HAVE_IEEEFP_H
50949 #include <ieeefp.h>
50950 #endif
50953 main ()
50955 sqrtf(0);
50957 return 0;
50959 _ACEOF
50960 if ac_fn_cxx_try_compile "$LINENO"; then :
50961 glibcxx_cv_func_sqrtf_use=yes
50962 else
50963 glibcxx_cv_func_sqrtf_use=no
50965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50966 ac_ext=c
50967 ac_cpp='$CPP $CPPFLAGS'
50968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
50977 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
50979 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
50980 for ac_func in sqrtf
50981 do :
50982 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
50983 if test "x$ac_cv_func_sqrtf" = xyes; then :
50984 cat >>confdefs.h <<_ACEOF
50985 #define HAVE_SQRTF 1
50986 _ACEOF
50989 done
50991 else
50993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
50994 $as_echo_n "checking for _sqrtf declaration... " >&6; }
50995 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
50996 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
50997 $as_echo_n "(cached) " >&6
50998 else
51001 ac_ext=cpp
51002 ac_cpp='$CXXCPP $CPPFLAGS'
51003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51008 /* end confdefs.h. */
51009 #include <math.h>
51010 #ifdef HAVE_IEEEFP_H
51011 #include <ieeefp.h>
51012 #endif
51015 main ()
51017 _sqrtf(0);
51019 return 0;
51021 _ACEOF
51022 if ac_fn_cxx_try_compile "$LINENO"; then :
51023 glibcxx_cv_func__sqrtf_use=yes
51024 else
51025 glibcxx_cv_func__sqrtf_use=no
51027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51028 ac_ext=c
51029 ac_cpp='$CPP $CPPFLAGS'
51030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
51039 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
51041 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
51042 for ac_func in _sqrtf
51043 do :
51044 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
51045 if test "x$ac_cv_func__sqrtf" = xyes; then :
51046 cat >>confdefs.h <<_ACEOF
51047 #define HAVE__SQRTF 1
51048 _ACEOF
51051 done
51060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
51061 $as_echo_n "checking for sincosf declaration... " >&6; }
51062 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
51063 if ${glibcxx_cv_func_sincosf_use+:} false; then :
51064 $as_echo_n "(cached) " >&6
51065 else
51068 ac_ext=cpp
51069 ac_cpp='$CXXCPP $CPPFLAGS'
51070 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51071 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51072 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51075 /* end confdefs.h. */
51076 #include <math.h>
51078 main ()
51080 sincosf(0, 0, 0);
51082 return 0;
51084 _ACEOF
51085 if ac_fn_cxx_try_compile "$LINENO"; then :
51086 glibcxx_cv_func_sincosf_use=yes
51087 else
51088 glibcxx_cv_func_sincosf_use=no
51090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51091 ac_ext=c
51092 ac_cpp='$CPP $CPPFLAGS'
51093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
51102 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
51104 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
51105 for ac_func in sincosf
51106 do :
51107 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
51108 if test "x$ac_cv_func_sincosf" = xyes; then :
51109 cat >>confdefs.h <<_ACEOF
51110 #define HAVE_SINCOSF 1
51111 _ACEOF
51114 done
51116 else
51118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
51119 $as_echo_n "checking for _sincosf declaration... " >&6; }
51120 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
51121 if ${glibcxx_cv_func__sincosf_use+:} false; then :
51122 $as_echo_n "(cached) " >&6
51123 else
51126 ac_ext=cpp
51127 ac_cpp='$CXXCPP $CPPFLAGS'
51128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51133 /* end confdefs.h. */
51134 #include <math.h>
51136 main ()
51138 _sincosf(0, 0, 0);
51140 return 0;
51142 _ACEOF
51143 if ac_fn_cxx_try_compile "$LINENO"; then :
51144 glibcxx_cv_func__sincosf_use=yes
51145 else
51146 glibcxx_cv_func__sincosf_use=no
51148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51149 ac_ext=c
51150 ac_cpp='$CPP $CPPFLAGS'
51151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
51160 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
51162 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
51163 for ac_func in _sincosf
51164 do :
51165 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
51166 if test "x$ac_cv_func__sincosf" = xyes; then :
51167 cat >>confdefs.h <<_ACEOF
51168 #define HAVE__SINCOSF 1
51169 _ACEOF
51172 done
51181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
51182 $as_echo_n "checking for finitef declaration... " >&6; }
51183 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
51184 if ${glibcxx_cv_func_finitef_use+:} false; then :
51185 $as_echo_n "(cached) " >&6
51186 else
51189 ac_ext=cpp
51190 ac_cpp='$CXXCPP $CPPFLAGS'
51191 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51192 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51193 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51196 /* end confdefs.h. */
51197 #include <math.h>
51198 #ifdef HAVE_IEEEFP_H
51199 #include <ieeefp.h>
51200 #endif
51203 main ()
51205 finitef(0);
51207 return 0;
51209 _ACEOF
51210 if ac_fn_cxx_try_compile "$LINENO"; then :
51211 glibcxx_cv_func_finitef_use=yes
51212 else
51213 glibcxx_cv_func_finitef_use=no
51215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51216 ac_ext=c
51217 ac_cpp='$CPP $CPPFLAGS'
51218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
51227 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
51229 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
51230 for ac_func in finitef
51231 do :
51232 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
51233 if test "x$ac_cv_func_finitef" = xyes; then :
51234 cat >>confdefs.h <<_ACEOF
51235 #define HAVE_FINITEF 1
51236 _ACEOF
51239 done
51241 else
51243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
51244 $as_echo_n "checking for _finitef declaration... " >&6; }
51245 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
51246 if ${glibcxx_cv_func__finitef_use+:} false; then :
51247 $as_echo_n "(cached) " >&6
51248 else
51251 ac_ext=cpp
51252 ac_cpp='$CXXCPP $CPPFLAGS'
51253 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51254 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51255 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51258 /* end confdefs.h. */
51259 #include <math.h>
51260 #ifdef HAVE_IEEEFP_H
51261 #include <ieeefp.h>
51262 #endif
51265 main ()
51267 _finitef(0);
51269 return 0;
51271 _ACEOF
51272 if ac_fn_cxx_try_compile "$LINENO"; then :
51273 glibcxx_cv_func__finitef_use=yes
51274 else
51275 glibcxx_cv_func__finitef_use=no
51277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51278 ac_ext=c
51279 ac_cpp='$CPP $CPPFLAGS'
51280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
51289 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
51291 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
51292 for ac_func in _finitef
51293 do :
51294 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
51295 if test "x$ac_cv_func__finitef" = xyes; then :
51296 cat >>confdefs.h <<_ACEOF
51297 #define HAVE__FINITEF 1
51298 _ACEOF
51301 done
51310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
51311 $as_echo_n "checking for long double trig functions... " >&6; }
51312 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
51313 $as_echo_n "(cached) " >&6
51314 else
51317 ac_ext=cpp
51318 ac_cpp='$CXXCPP $CPPFLAGS'
51319 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51320 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51321 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51324 /* end confdefs.h. */
51325 #include <math.h>
51327 main ()
51329 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
51331 return 0;
51333 _ACEOF
51334 if ac_fn_cxx_try_compile "$LINENO"; then :
51335 glibcxx_cv_func_long_double_trig_use=yes
51336 else
51337 glibcxx_cv_func_long_double_trig_use=no
51339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51340 ac_ext=c
51341 ac_cpp='$CPP $CPPFLAGS'
51342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
51349 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
51350 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
51351 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
51352 do :
51353 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
51354 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
51355 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
51356 cat >>confdefs.h <<_ACEOF
51357 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
51358 _ACEOF
51361 done
51363 else
51364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
51365 $as_echo_n "checking for _long double trig functions... " >&6; }
51366 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
51367 $as_echo_n "(cached) " >&6
51368 else
51371 ac_ext=cpp
51372 ac_cpp='$CXXCPP $CPPFLAGS'
51373 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51374 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51375 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51378 /* end confdefs.h. */
51379 #include <math.h>
51381 main ()
51383 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
51385 return 0;
51387 _ACEOF
51388 if ac_fn_cxx_try_compile "$LINENO"; then :
51389 glibcxx_cv_func__long_double_trig_use=yes
51390 else
51391 glibcxx_cv_func__long_double_trig_use=no
51393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51394 ac_ext=c
51395 ac_cpp='$CPP $CPPFLAGS'
51396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
51403 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
51404 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
51405 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
51406 do :
51407 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
51408 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
51409 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
51410 cat >>confdefs.h <<_ACEOF
51411 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
51412 _ACEOF
51415 done
51424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
51425 $as_echo_n "checking for long double round functions... " >&6; }
51426 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
51427 $as_echo_n "(cached) " >&6
51428 else
51431 ac_ext=cpp
51432 ac_cpp='$CXXCPP $CPPFLAGS'
51433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51438 /* end confdefs.h. */
51439 #include <math.h>
51441 main ()
51443 ceill (0); floorl (0);
51445 return 0;
51447 _ACEOF
51448 if ac_fn_cxx_try_compile "$LINENO"; then :
51449 glibcxx_cv_func_long_double_round_use=yes
51450 else
51451 glibcxx_cv_func_long_double_round_use=no
51453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51454 ac_ext=c
51455 ac_cpp='$CPP $CPPFLAGS'
51456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
51463 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
51464 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
51465 for ac_func in ceill floorl
51466 do :
51467 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
51468 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
51469 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
51470 cat >>confdefs.h <<_ACEOF
51471 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
51472 _ACEOF
51475 done
51477 else
51478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
51479 $as_echo_n "checking for _long double round functions... " >&6; }
51480 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
51481 $as_echo_n "(cached) " >&6
51482 else
51485 ac_ext=cpp
51486 ac_cpp='$CXXCPP $CPPFLAGS'
51487 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51488 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51489 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51492 /* end confdefs.h. */
51493 #include <math.h>
51495 main ()
51497 _ceill (0); _floorl (0);
51499 return 0;
51501 _ACEOF
51502 if ac_fn_cxx_try_compile "$LINENO"; then :
51503 glibcxx_cv_func__long_double_round_use=yes
51504 else
51505 glibcxx_cv_func__long_double_round_use=no
51507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51508 ac_ext=c
51509 ac_cpp='$CPP $CPPFLAGS'
51510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
51517 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
51518 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
51519 for ac_func in _ceill _floorl
51520 do :
51521 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
51522 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
51523 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
51524 cat >>confdefs.h <<_ACEOF
51525 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
51526 _ACEOF
51529 done
51539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
51540 $as_echo_n "checking for isnanl declaration... " >&6; }
51541 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
51542 if ${glibcxx_cv_func_isnanl_use+:} false; then :
51543 $as_echo_n "(cached) " >&6
51544 else
51547 ac_ext=cpp
51548 ac_cpp='$CXXCPP $CPPFLAGS'
51549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51554 /* end confdefs.h. */
51555 #include <math.h>
51556 #ifdef HAVE_IEEEFP_H
51557 #include <ieeefp.h>
51558 #endif
51561 main ()
51563 isnanl(0);
51565 return 0;
51567 _ACEOF
51568 if ac_fn_cxx_try_compile "$LINENO"; then :
51569 glibcxx_cv_func_isnanl_use=yes
51570 else
51571 glibcxx_cv_func_isnanl_use=no
51573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51574 ac_ext=c
51575 ac_cpp='$CPP $CPPFLAGS'
51576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
51585 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
51587 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
51588 for ac_func in isnanl
51589 do :
51590 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
51591 if test "x$ac_cv_func_isnanl" = xyes; then :
51592 cat >>confdefs.h <<_ACEOF
51593 #define HAVE_ISNANL 1
51594 _ACEOF
51597 done
51599 else
51601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
51602 $as_echo_n "checking for _isnanl declaration... " >&6; }
51603 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
51604 if ${glibcxx_cv_func__isnanl_use+:} false; then :
51605 $as_echo_n "(cached) " >&6
51606 else
51609 ac_ext=cpp
51610 ac_cpp='$CXXCPP $CPPFLAGS'
51611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51616 /* end confdefs.h. */
51617 #include <math.h>
51618 #ifdef HAVE_IEEEFP_H
51619 #include <ieeefp.h>
51620 #endif
51623 main ()
51625 _isnanl(0);
51627 return 0;
51629 _ACEOF
51630 if ac_fn_cxx_try_compile "$LINENO"; then :
51631 glibcxx_cv_func__isnanl_use=yes
51632 else
51633 glibcxx_cv_func__isnanl_use=no
51635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51636 ac_ext=c
51637 ac_cpp='$CPP $CPPFLAGS'
51638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
51647 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
51649 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
51650 for ac_func in _isnanl
51651 do :
51652 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
51653 if test "x$ac_cv_func__isnanl" = xyes; then :
51654 cat >>confdefs.h <<_ACEOF
51655 #define HAVE__ISNANL 1
51656 _ACEOF
51659 done
51668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
51669 $as_echo_n "checking for isinfl declaration... " >&6; }
51670 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
51671 if ${glibcxx_cv_func_isinfl_use+:} false; then :
51672 $as_echo_n "(cached) " >&6
51673 else
51676 ac_ext=cpp
51677 ac_cpp='$CXXCPP $CPPFLAGS'
51678 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51679 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51680 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51683 /* end confdefs.h. */
51684 #include <math.h>
51685 #ifdef HAVE_IEEEFP_H
51686 #include <ieeefp.h>
51687 #endif
51690 main ()
51692 isinfl(0);
51694 return 0;
51696 _ACEOF
51697 if ac_fn_cxx_try_compile "$LINENO"; then :
51698 glibcxx_cv_func_isinfl_use=yes
51699 else
51700 glibcxx_cv_func_isinfl_use=no
51702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51703 ac_ext=c
51704 ac_cpp='$CPP $CPPFLAGS'
51705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
51714 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
51716 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
51717 for ac_func in isinfl
51718 do :
51719 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
51720 if test "x$ac_cv_func_isinfl" = xyes; then :
51721 cat >>confdefs.h <<_ACEOF
51722 #define HAVE_ISINFL 1
51723 _ACEOF
51726 done
51728 else
51730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
51731 $as_echo_n "checking for _isinfl declaration... " >&6; }
51732 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
51733 if ${glibcxx_cv_func__isinfl_use+:} false; then :
51734 $as_echo_n "(cached) " >&6
51735 else
51738 ac_ext=cpp
51739 ac_cpp='$CXXCPP $CPPFLAGS'
51740 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51741 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51742 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51745 /* end confdefs.h. */
51746 #include <math.h>
51747 #ifdef HAVE_IEEEFP_H
51748 #include <ieeefp.h>
51749 #endif
51752 main ()
51754 _isinfl(0);
51756 return 0;
51758 _ACEOF
51759 if ac_fn_cxx_try_compile "$LINENO"; then :
51760 glibcxx_cv_func__isinfl_use=yes
51761 else
51762 glibcxx_cv_func__isinfl_use=no
51764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51765 ac_ext=c
51766 ac_cpp='$CPP $CPPFLAGS'
51767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
51776 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
51778 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
51779 for ac_func in _isinfl
51780 do :
51781 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
51782 if test "x$ac_cv_func__isinfl" = xyes; then :
51783 cat >>confdefs.h <<_ACEOF
51784 #define HAVE__ISINFL 1
51785 _ACEOF
51788 done
51797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
51798 $as_echo_n "checking for atan2l declaration... " >&6; }
51799 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
51800 if ${glibcxx_cv_func_atan2l_use+:} false; then :
51801 $as_echo_n "(cached) " >&6
51802 else
51805 ac_ext=cpp
51806 ac_cpp='$CXXCPP $CPPFLAGS'
51807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51812 /* end confdefs.h. */
51813 #include <math.h>
51815 main ()
51817 atan2l(0, 0);
51819 return 0;
51821 _ACEOF
51822 if ac_fn_cxx_try_compile "$LINENO"; then :
51823 glibcxx_cv_func_atan2l_use=yes
51824 else
51825 glibcxx_cv_func_atan2l_use=no
51827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51828 ac_ext=c
51829 ac_cpp='$CPP $CPPFLAGS'
51830 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51831 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51832 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
51839 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
51841 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
51842 for ac_func in atan2l
51843 do :
51844 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
51845 if test "x$ac_cv_func_atan2l" = xyes; then :
51846 cat >>confdefs.h <<_ACEOF
51847 #define HAVE_ATAN2L 1
51848 _ACEOF
51851 done
51853 else
51855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
51856 $as_echo_n "checking for _atan2l declaration... " >&6; }
51857 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
51858 if ${glibcxx_cv_func__atan2l_use+:} false; then :
51859 $as_echo_n "(cached) " >&6
51860 else
51863 ac_ext=cpp
51864 ac_cpp='$CXXCPP $CPPFLAGS'
51865 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51866 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51867 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51870 /* end confdefs.h. */
51871 #include <math.h>
51873 main ()
51875 _atan2l(0, 0);
51877 return 0;
51879 _ACEOF
51880 if ac_fn_cxx_try_compile "$LINENO"; then :
51881 glibcxx_cv_func__atan2l_use=yes
51882 else
51883 glibcxx_cv_func__atan2l_use=no
51885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51886 ac_ext=c
51887 ac_cpp='$CPP $CPPFLAGS'
51888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
51897 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
51899 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
51900 for ac_func in _atan2l
51901 do :
51902 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
51903 if test "x$ac_cv_func__atan2l" = xyes; then :
51904 cat >>confdefs.h <<_ACEOF
51905 #define HAVE__ATAN2L 1
51906 _ACEOF
51909 done
51918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
51919 $as_echo_n "checking for expl declaration... " >&6; }
51920 if test x${glibcxx_cv_func_expl_use+set} != xset; then
51921 if ${glibcxx_cv_func_expl_use+:} false; then :
51922 $as_echo_n "(cached) " >&6
51923 else
51926 ac_ext=cpp
51927 ac_cpp='$CXXCPP $CPPFLAGS'
51928 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51929 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51930 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51933 /* end confdefs.h. */
51934 #include <math.h>
51935 #ifdef HAVE_IEEEFP_H
51936 #include <ieeefp.h>
51937 #endif
51940 main ()
51942 expl(0);
51944 return 0;
51946 _ACEOF
51947 if ac_fn_cxx_try_compile "$LINENO"; then :
51948 glibcxx_cv_func_expl_use=yes
51949 else
51950 glibcxx_cv_func_expl_use=no
51952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51953 ac_ext=c
51954 ac_cpp='$CPP $CPPFLAGS'
51955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
51964 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
51966 if test x$glibcxx_cv_func_expl_use = x"yes"; then
51967 for ac_func in expl
51968 do :
51969 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
51970 if test "x$ac_cv_func_expl" = xyes; then :
51971 cat >>confdefs.h <<_ACEOF
51972 #define HAVE_EXPL 1
51973 _ACEOF
51976 done
51978 else
51980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
51981 $as_echo_n "checking for _expl declaration... " >&6; }
51982 if test x${glibcxx_cv_func__expl_use+set} != xset; then
51983 if ${glibcxx_cv_func__expl_use+:} false; then :
51984 $as_echo_n "(cached) " >&6
51985 else
51988 ac_ext=cpp
51989 ac_cpp='$CXXCPP $CPPFLAGS'
51990 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51991 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51992 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51995 /* end confdefs.h. */
51996 #include <math.h>
51997 #ifdef HAVE_IEEEFP_H
51998 #include <ieeefp.h>
51999 #endif
52002 main ()
52004 _expl(0);
52006 return 0;
52008 _ACEOF
52009 if ac_fn_cxx_try_compile "$LINENO"; then :
52010 glibcxx_cv_func__expl_use=yes
52011 else
52012 glibcxx_cv_func__expl_use=no
52014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52015 ac_ext=c
52016 ac_cpp='$CPP $CPPFLAGS'
52017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
52026 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
52028 if test x$glibcxx_cv_func__expl_use = x"yes"; then
52029 for ac_func in _expl
52030 do :
52031 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
52032 if test "x$ac_cv_func__expl" = xyes; then :
52033 cat >>confdefs.h <<_ACEOF
52034 #define HAVE__EXPL 1
52035 _ACEOF
52038 done
52047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
52048 $as_echo_n "checking for fabsl declaration... " >&6; }
52049 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
52050 if ${glibcxx_cv_func_fabsl_use+:} false; then :
52051 $as_echo_n "(cached) " >&6
52052 else
52055 ac_ext=cpp
52056 ac_cpp='$CXXCPP $CPPFLAGS'
52057 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52058 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52059 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52062 /* end confdefs.h. */
52063 #include <math.h>
52064 #ifdef HAVE_IEEEFP_H
52065 #include <ieeefp.h>
52066 #endif
52069 main ()
52071 fabsl(0);
52073 return 0;
52075 _ACEOF
52076 if ac_fn_cxx_try_compile "$LINENO"; then :
52077 glibcxx_cv_func_fabsl_use=yes
52078 else
52079 glibcxx_cv_func_fabsl_use=no
52081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52082 ac_ext=c
52083 ac_cpp='$CPP $CPPFLAGS'
52084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
52093 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
52095 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
52096 for ac_func in fabsl
52097 do :
52098 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
52099 if test "x$ac_cv_func_fabsl" = xyes; then :
52100 cat >>confdefs.h <<_ACEOF
52101 #define HAVE_FABSL 1
52102 _ACEOF
52105 done
52107 else
52109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
52110 $as_echo_n "checking for _fabsl declaration... " >&6; }
52111 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
52112 if ${glibcxx_cv_func__fabsl_use+:} false; then :
52113 $as_echo_n "(cached) " >&6
52114 else
52117 ac_ext=cpp
52118 ac_cpp='$CXXCPP $CPPFLAGS'
52119 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52120 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52121 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52124 /* end confdefs.h. */
52125 #include <math.h>
52126 #ifdef HAVE_IEEEFP_H
52127 #include <ieeefp.h>
52128 #endif
52131 main ()
52133 _fabsl(0);
52135 return 0;
52137 _ACEOF
52138 if ac_fn_cxx_try_compile "$LINENO"; then :
52139 glibcxx_cv_func__fabsl_use=yes
52140 else
52141 glibcxx_cv_func__fabsl_use=no
52143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52144 ac_ext=c
52145 ac_cpp='$CPP $CPPFLAGS'
52146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
52155 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
52157 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
52158 for ac_func in _fabsl
52159 do :
52160 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
52161 if test "x$ac_cv_func__fabsl" = xyes; then :
52162 cat >>confdefs.h <<_ACEOF
52163 #define HAVE__FABSL 1
52164 _ACEOF
52167 done
52176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
52177 $as_echo_n "checking for fmodl declaration... " >&6; }
52178 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
52179 if ${glibcxx_cv_func_fmodl_use+:} false; then :
52180 $as_echo_n "(cached) " >&6
52181 else
52184 ac_ext=cpp
52185 ac_cpp='$CXXCPP $CPPFLAGS'
52186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52191 /* end confdefs.h. */
52192 #include <math.h>
52194 main ()
52196 fmodl(0, 0);
52198 return 0;
52200 _ACEOF
52201 if ac_fn_cxx_try_compile "$LINENO"; then :
52202 glibcxx_cv_func_fmodl_use=yes
52203 else
52204 glibcxx_cv_func_fmodl_use=no
52206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52207 ac_ext=c
52208 ac_cpp='$CPP $CPPFLAGS'
52209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
52218 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
52220 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
52221 for ac_func in fmodl
52222 do :
52223 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
52224 if test "x$ac_cv_func_fmodl" = xyes; then :
52225 cat >>confdefs.h <<_ACEOF
52226 #define HAVE_FMODL 1
52227 _ACEOF
52230 done
52232 else
52234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
52235 $as_echo_n "checking for _fmodl declaration... " >&6; }
52236 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
52237 if ${glibcxx_cv_func__fmodl_use+:} false; then :
52238 $as_echo_n "(cached) " >&6
52239 else
52242 ac_ext=cpp
52243 ac_cpp='$CXXCPP $CPPFLAGS'
52244 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52245 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52246 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52249 /* end confdefs.h. */
52250 #include <math.h>
52252 main ()
52254 _fmodl(0, 0);
52256 return 0;
52258 _ACEOF
52259 if ac_fn_cxx_try_compile "$LINENO"; then :
52260 glibcxx_cv_func__fmodl_use=yes
52261 else
52262 glibcxx_cv_func__fmodl_use=no
52264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52265 ac_ext=c
52266 ac_cpp='$CPP $CPPFLAGS'
52267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
52276 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
52278 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
52279 for ac_func in _fmodl
52280 do :
52281 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
52282 if test "x$ac_cv_func__fmodl" = xyes; then :
52283 cat >>confdefs.h <<_ACEOF
52284 #define HAVE__FMODL 1
52285 _ACEOF
52288 done
52297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
52298 $as_echo_n "checking for frexpl declaration... " >&6; }
52299 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
52300 if ${glibcxx_cv_func_frexpl_use+:} false; then :
52301 $as_echo_n "(cached) " >&6
52302 else
52305 ac_ext=cpp
52306 ac_cpp='$CXXCPP $CPPFLAGS'
52307 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52308 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52309 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52312 /* end confdefs.h. */
52313 #include <math.h>
52315 main ()
52317 frexpl(0, 0);
52319 return 0;
52321 _ACEOF
52322 if ac_fn_cxx_try_compile "$LINENO"; then :
52323 glibcxx_cv_func_frexpl_use=yes
52324 else
52325 glibcxx_cv_func_frexpl_use=no
52327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52328 ac_ext=c
52329 ac_cpp='$CPP $CPPFLAGS'
52330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
52339 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
52341 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
52342 for ac_func in frexpl
52343 do :
52344 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
52345 if test "x$ac_cv_func_frexpl" = xyes; then :
52346 cat >>confdefs.h <<_ACEOF
52347 #define HAVE_FREXPL 1
52348 _ACEOF
52351 done
52353 else
52355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
52356 $as_echo_n "checking for _frexpl declaration... " >&6; }
52357 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
52358 if ${glibcxx_cv_func__frexpl_use+:} false; then :
52359 $as_echo_n "(cached) " >&6
52360 else
52363 ac_ext=cpp
52364 ac_cpp='$CXXCPP $CPPFLAGS'
52365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52370 /* end confdefs.h. */
52371 #include <math.h>
52373 main ()
52375 _frexpl(0, 0);
52377 return 0;
52379 _ACEOF
52380 if ac_fn_cxx_try_compile "$LINENO"; then :
52381 glibcxx_cv_func__frexpl_use=yes
52382 else
52383 glibcxx_cv_func__frexpl_use=no
52385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52386 ac_ext=c
52387 ac_cpp='$CPP $CPPFLAGS'
52388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
52397 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
52399 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
52400 for ac_func in _frexpl
52401 do :
52402 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
52403 if test "x$ac_cv_func__frexpl" = xyes; then :
52404 cat >>confdefs.h <<_ACEOF
52405 #define HAVE__FREXPL 1
52406 _ACEOF
52409 done
52418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
52419 $as_echo_n "checking for hypotl declaration... " >&6; }
52420 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
52421 if ${glibcxx_cv_func_hypotl_use+:} false; then :
52422 $as_echo_n "(cached) " >&6
52423 else
52426 ac_ext=cpp
52427 ac_cpp='$CXXCPP $CPPFLAGS'
52428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52433 /* end confdefs.h. */
52434 #include <math.h>
52436 main ()
52438 hypotl(0, 0);
52440 return 0;
52442 _ACEOF
52443 if ac_fn_cxx_try_compile "$LINENO"; then :
52444 glibcxx_cv_func_hypotl_use=yes
52445 else
52446 glibcxx_cv_func_hypotl_use=no
52448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52449 ac_ext=c
52450 ac_cpp='$CPP $CPPFLAGS'
52451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
52460 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
52462 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
52463 for ac_func in hypotl
52464 do :
52465 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
52466 if test "x$ac_cv_func_hypotl" = xyes; then :
52467 cat >>confdefs.h <<_ACEOF
52468 #define HAVE_HYPOTL 1
52469 _ACEOF
52472 done
52474 else
52476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
52477 $as_echo_n "checking for _hypotl declaration... " >&6; }
52478 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
52479 if ${glibcxx_cv_func__hypotl_use+:} false; then :
52480 $as_echo_n "(cached) " >&6
52481 else
52484 ac_ext=cpp
52485 ac_cpp='$CXXCPP $CPPFLAGS'
52486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52491 /* end confdefs.h. */
52492 #include <math.h>
52494 main ()
52496 _hypotl(0, 0);
52498 return 0;
52500 _ACEOF
52501 if ac_fn_cxx_try_compile "$LINENO"; then :
52502 glibcxx_cv_func__hypotl_use=yes
52503 else
52504 glibcxx_cv_func__hypotl_use=no
52506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52507 ac_ext=c
52508 ac_cpp='$CPP $CPPFLAGS'
52509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
52518 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
52520 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
52521 for ac_func in _hypotl
52522 do :
52523 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
52524 if test "x$ac_cv_func__hypotl" = xyes; then :
52525 cat >>confdefs.h <<_ACEOF
52526 #define HAVE__HYPOTL 1
52527 _ACEOF
52530 done
52539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
52540 $as_echo_n "checking for ldexpl declaration... " >&6; }
52541 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
52542 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
52543 $as_echo_n "(cached) " >&6
52544 else
52547 ac_ext=cpp
52548 ac_cpp='$CXXCPP $CPPFLAGS'
52549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52554 /* end confdefs.h. */
52555 #include <math.h>
52557 main ()
52559 ldexpl(0, 0);
52561 return 0;
52563 _ACEOF
52564 if ac_fn_cxx_try_compile "$LINENO"; then :
52565 glibcxx_cv_func_ldexpl_use=yes
52566 else
52567 glibcxx_cv_func_ldexpl_use=no
52569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52570 ac_ext=c
52571 ac_cpp='$CPP $CPPFLAGS'
52572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
52581 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
52583 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
52584 for ac_func in ldexpl
52585 do :
52586 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
52587 if test "x$ac_cv_func_ldexpl" = xyes; then :
52588 cat >>confdefs.h <<_ACEOF
52589 #define HAVE_LDEXPL 1
52590 _ACEOF
52593 done
52595 else
52597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
52598 $as_echo_n "checking for _ldexpl declaration... " >&6; }
52599 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
52600 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
52601 $as_echo_n "(cached) " >&6
52602 else
52605 ac_ext=cpp
52606 ac_cpp='$CXXCPP $CPPFLAGS'
52607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52612 /* end confdefs.h. */
52613 #include <math.h>
52615 main ()
52617 _ldexpl(0, 0);
52619 return 0;
52621 _ACEOF
52622 if ac_fn_cxx_try_compile "$LINENO"; then :
52623 glibcxx_cv_func__ldexpl_use=yes
52624 else
52625 glibcxx_cv_func__ldexpl_use=no
52627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52628 ac_ext=c
52629 ac_cpp='$CPP $CPPFLAGS'
52630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
52639 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
52641 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
52642 for ac_func in _ldexpl
52643 do :
52644 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
52645 if test "x$ac_cv_func__ldexpl" = xyes; then :
52646 cat >>confdefs.h <<_ACEOF
52647 #define HAVE__LDEXPL 1
52648 _ACEOF
52651 done
52660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
52661 $as_echo_n "checking for logl declaration... " >&6; }
52662 if test x${glibcxx_cv_func_logl_use+set} != xset; then
52663 if ${glibcxx_cv_func_logl_use+:} false; then :
52664 $as_echo_n "(cached) " >&6
52665 else
52668 ac_ext=cpp
52669 ac_cpp='$CXXCPP $CPPFLAGS'
52670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52675 /* end confdefs.h. */
52676 #include <math.h>
52677 #ifdef HAVE_IEEEFP_H
52678 #include <ieeefp.h>
52679 #endif
52682 main ()
52684 logl(0);
52686 return 0;
52688 _ACEOF
52689 if ac_fn_cxx_try_compile "$LINENO"; then :
52690 glibcxx_cv_func_logl_use=yes
52691 else
52692 glibcxx_cv_func_logl_use=no
52694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52695 ac_ext=c
52696 ac_cpp='$CPP $CPPFLAGS'
52697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
52706 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
52708 if test x$glibcxx_cv_func_logl_use = x"yes"; then
52709 for ac_func in logl
52710 do :
52711 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
52712 if test "x$ac_cv_func_logl" = xyes; then :
52713 cat >>confdefs.h <<_ACEOF
52714 #define HAVE_LOGL 1
52715 _ACEOF
52718 done
52720 else
52722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
52723 $as_echo_n "checking for _logl declaration... " >&6; }
52724 if test x${glibcxx_cv_func__logl_use+set} != xset; then
52725 if ${glibcxx_cv_func__logl_use+:} false; then :
52726 $as_echo_n "(cached) " >&6
52727 else
52730 ac_ext=cpp
52731 ac_cpp='$CXXCPP $CPPFLAGS'
52732 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52733 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52734 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52737 /* end confdefs.h. */
52738 #include <math.h>
52739 #ifdef HAVE_IEEEFP_H
52740 #include <ieeefp.h>
52741 #endif
52744 main ()
52746 _logl(0);
52748 return 0;
52750 _ACEOF
52751 if ac_fn_cxx_try_compile "$LINENO"; then :
52752 glibcxx_cv_func__logl_use=yes
52753 else
52754 glibcxx_cv_func__logl_use=no
52756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52757 ac_ext=c
52758 ac_cpp='$CPP $CPPFLAGS'
52759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
52768 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
52770 if test x$glibcxx_cv_func__logl_use = x"yes"; then
52771 for ac_func in _logl
52772 do :
52773 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
52774 if test "x$ac_cv_func__logl" = xyes; then :
52775 cat >>confdefs.h <<_ACEOF
52776 #define HAVE__LOGL 1
52777 _ACEOF
52780 done
52789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
52790 $as_echo_n "checking for log10l declaration... " >&6; }
52791 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
52792 if ${glibcxx_cv_func_log10l_use+:} false; then :
52793 $as_echo_n "(cached) " >&6
52794 else
52797 ac_ext=cpp
52798 ac_cpp='$CXXCPP $CPPFLAGS'
52799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52800 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52804 /* end confdefs.h. */
52805 #include <math.h>
52806 #ifdef HAVE_IEEEFP_H
52807 #include <ieeefp.h>
52808 #endif
52811 main ()
52813 log10l(0);
52815 return 0;
52817 _ACEOF
52818 if ac_fn_cxx_try_compile "$LINENO"; then :
52819 glibcxx_cv_func_log10l_use=yes
52820 else
52821 glibcxx_cv_func_log10l_use=no
52823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52824 ac_ext=c
52825 ac_cpp='$CPP $CPPFLAGS'
52826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
52835 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
52837 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
52838 for ac_func in log10l
52839 do :
52840 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
52841 if test "x$ac_cv_func_log10l" = xyes; then :
52842 cat >>confdefs.h <<_ACEOF
52843 #define HAVE_LOG10L 1
52844 _ACEOF
52847 done
52849 else
52851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
52852 $as_echo_n "checking for _log10l declaration... " >&6; }
52853 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
52854 if ${glibcxx_cv_func__log10l_use+:} false; then :
52855 $as_echo_n "(cached) " >&6
52856 else
52859 ac_ext=cpp
52860 ac_cpp='$CXXCPP $CPPFLAGS'
52861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52866 /* end confdefs.h. */
52867 #include <math.h>
52868 #ifdef HAVE_IEEEFP_H
52869 #include <ieeefp.h>
52870 #endif
52873 main ()
52875 _log10l(0);
52877 return 0;
52879 _ACEOF
52880 if ac_fn_cxx_try_compile "$LINENO"; then :
52881 glibcxx_cv_func__log10l_use=yes
52882 else
52883 glibcxx_cv_func__log10l_use=no
52885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52886 ac_ext=c
52887 ac_cpp='$CPP $CPPFLAGS'
52888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
52897 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
52899 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
52900 for ac_func in _log10l
52901 do :
52902 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
52903 if test "x$ac_cv_func__log10l" = xyes; then :
52904 cat >>confdefs.h <<_ACEOF
52905 #define HAVE__LOG10L 1
52906 _ACEOF
52909 done
52918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
52919 $as_echo_n "checking for modfl declaration... " >&6; }
52920 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
52921 if ${glibcxx_cv_func_modfl_use+:} false; then :
52922 $as_echo_n "(cached) " >&6
52923 else
52926 ac_ext=cpp
52927 ac_cpp='$CXXCPP $CPPFLAGS'
52928 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52929 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52930 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52933 /* end confdefs.h. */
52934 #include <math.h>
52936 main ()
52938 modfl(0, 0);
52940 return 0;
52942 _ACEOF
52943 if ac_fn_cxx_try_compile "$LINENO"; then :
52944 glibcxx_cv_func_modfl_use=yes
52945 else
52946 glibcxx_cv_func_modfl_use=no
52948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52949 ac_ext=c
52950 ac_cpp='$CPP $CPPFLAGS'
52951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
52960 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
52962 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
52963 for ac_func in modfl
52964 do :
52965 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
52966 if test "x$ac_cv_func_modfl" = xyes; then :
52967 cat >>confdefs.h <<_ACEOF
52968 #define HAVE_MODFL 1
52969 _ACEOF
52972 done
52974 else
52976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
52977 $as_echo_n "checking for _modfl declaration... " >&6; }
52978 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
52979 if ${glibcxx_cv_func__modfl_use+:} false; then :
52980 $as_echo_n "(cached) " >&6
52981 else
52984 ac_ext=cpp
52985 ac_cpp='$CXXCPP $CPPFLAGS'
52986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52991 /* end confdefs.h. */
52992 #include <math.h>
52994 main ()
52996 _modfl(0, 0);
52998 return 0;
53000 _ACEOF
53001 if ac_fn_cxx_try_compile "$LINENO"; then :
53002 glibcxx_cv_func__modfl_use=yes
53003 else
53004 glibcxx_cv_func__modfl_use=no
53006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53007 ac_ext=c
53008 ac_cpp='$CPP $CPPFLAGS'
53009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
53018 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
53020 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
53021 for ac_func in _modfl
53022 do :
53023 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
53024 if test "x$ac_cv_func__modfl" = xyes; then :
53025 cat >>confdefs.h <<_ACEOF
53026 #define HAVE__MODFL 1
53027 _ACEOF
53030 done
53039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
53040 $as_echo_n "checking for powl declaration... " >&6; }
53041 if test x${glibcxx_cv_func_powl_use+set} != xset; then
53042 if ${glibcxx_cv_func_powl_use+:} false; then :
53043 $as_echo_n "(cached) " >&6
53044 else
53047 ac_ext=cpp
53048 ac_cpp='$CXXCPP $CPPFLAGS'
53049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53054 /* end confdefs.h. */
53055 #include <math.h>
53057 main ()
53059 powl(0, 0);
53061 return 0;
53063 _ACEOF
53064 if ac_fn_cxx_try_compile "$LINENO"; then :
53065 glibcxx_cv_func_powl_use=yes
53066 else
53067 glibcxx_cv_func_powl_use=no
53069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53070 ac_ext=c
53071 ac_cpp='$CPP $CPPFLAGS'
53072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
53081 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
53083 if test x$glibcxx_cv_func_powl_use = x"yes"; then
53084 for ac_func in powl
53085 do :
53086 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
53087 if test "x$ac_cv_func_powl" = xyes; then :
53088 cat >>confdefs.h <<_ACEOF
53089 #define HAVE_POWL 1
53090 _ACEOF
53093 done
53095 else
53097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
53098 $as_echo_n "checking for _powl declaration... " >&6; }
53099 if test x${glibcxx_cv_func__powl_use+set} != xset; then
53100 if ${glibcxx_cv_func__powl_use+:} false; then :
53101 $as_echo_n "(cached) " >&6
53102 else
53105 ac_ext=cpp
53106 ac_cpp='$CXXCPP $CPPFLAGS'
53107 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53108 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53109 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53112 /* end confdefs.h. */
53113 #include <math.h>
53115 main ()
53117 _powl(0, 0);
53119 return 0;
53121 _ACEOF
53122 if ac_fn_cxx_try_compile "$LINENO"; then :
53123 glibcxx_cv_func__powl_use=yes
53124 else
53125 glibcxx_cv_func__powl_use=no
53127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53128 ac_ext=c
53129 ac_cpp='$CPP $CPPFLAGS'
53130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
53139 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
53141 if test x$glibcxx_cv_func__powl_use = x"yes"; then
53142 for ac_func in _powl
53143 do :
53144 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
53145 if test "x$ac_cv_func__powl" = xyes; then :
53146 cat >>confdefs.h <<_ACEOF
53147 #define HAVE__POWL 1
53148 _ACEOF
53151 done
53160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
53161 $as_echo_n "checking for sqrtl declaration... " >&6; }
53162 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
53163 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
53164 $as_echo_n "(cached) " >&6
53165 else
53168 ac_ext=cpp
53169 ac_cpp='$CXXCPP $CPPFLAGS'
53170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53175 /* end confdefs.h. */
53176 #include <math.h>
53177 #ifdef HAVE_IEEEFP_H
53178 #include <ieeefp.h>
53179 #endif
53182 main ()
53184 sqrtl(0);
53186 return 0;
53188 _ACEOF
53189 if ac_fn_cxx_try_compile "$LINENO"; then :
53190 glibcxx_cv_func_sqrtl_use=yes
53191 else
53192 glibcxx_cv_func_sqrtl_use=no
53194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53195 ac_ext=c
53196 ac_cpp='$CPP $CPPFLAGS'
53197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
53206 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
53208 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
53209 for ac_func in sqrtl
53210 do :
53211 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
53212 if test "x$ac_cv_func_sqrtl" = xyes; then :
53213 cat >>confdefs.h <<_ACEOF
53214 #define HAVE_SQRTL 1
53215 _ACEOF
53218 done
53220 else
53222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
53223 $as_echo_n "checking for _sqrtl declaration... " >&6; }
53224 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
53225 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
53226 $as_echo_n "(cached) " >&6
53227 else
53230 ac_ext=cpp
53231 ac_cpp='$CXXCPP $CPPFLAGS'
53232 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53233 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53234 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53237 /* end confdefs.h. */
53238 #include <math.h>
53239 #ifdef HAVE_IEEEFP_H
53240 #include <ieeefp.h>
53241 #endif
53244 main ()
53246 _sqrtl(0);
53248 return 0;
53250 _ACEOF
53251 if ac_fn_cxx_try_compile "$LINENO"; then :
53252 glibcxx_cv_func__sqrtl_use=yes
53253 else
53254 glibcxx_cv_func__sqrtl_use=no
53256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53257 ac_ext=c
53258 ac_cpp='$CPP $CPPFLAGS'
53259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
53268 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
53270 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
53271 for ac_func in _sqrtl
53272 do :
53273 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
53274 if test "x$ac_cv_func__sqrtl" = xyes; then :
53275 cat >>confdefs.h <<_ACEOF
53276 #define HAVE__SQRTL 1
53277 _ACEOF
53280 done
53289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
53290 $as_echo_n "checking for sincosl declaration... " >&6; }
53291 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
53292 if ${glibcxx_cv_func_sincosl_use+:} false; then :
53293 $as_echo_n "(cached) " >&6
53294 else
53297 ac_ext=cpp
53298 ac_cpp='$CXXCPP $CPPFLAGS'
53299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53304 /* end confdefs.h. */
53305 #include <math.h>
53307 main ()
53309 sincosl(0, 0, 0);
53311 return 0;
53313 _ACEOF
53314 if ac_fn_cxx_try_compile "$LINENO"; then :
53315 glibcxx_cv_func_sincosl_use=yes
53316 else
53317 glibcxx_cv_func_sincosl_use=no
53319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53320 ac_ext=c
53321 ac_cpp='$CPP $CPPFLAGS'
53322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
53331 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
53333 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
53334 for ac_func in sincosl
53335 do :
53336 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
53337 if test "x$ac_cv_func_sincosl" = xyes; then :
53338 cat >>confdefs.h <<_ACEOF
53339 #define HAVE_SINCOSL 1
53340 _ACEOF
53343 done
53345 else
53347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
53348 $as_echo_n "checking for _sincosl declaration... " >&6; }
53349 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
53350 if ${glibcxx_cv_func__sincosl_use+:} false; then :
53351 $as_echo_n "(cached) " >&6
53352 else
53355 ac_ext=cpp
53356 ac_cpp='$CXXCPP $CPPFLAGS'
53357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53362 /* end confdefs.h. */
53363 #include <math.h>
53365 main ()
53367 _sincosl(0, 0, 0);
53369 return 0;
53371 _ACEOF
53372 if ac_fn_cxx_try_compile "$LINENO"; then :
53373 glibcxx_cv_func__sincosl_use=yes
53374 else
53375 glibcxx_cv_func__sincosl_use=no
53377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53378 ac_ext=c
53379 ac_cpp='$CPP $CPPFLAGS'
53380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
53389 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
53391 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
53392 for ac_func in _sincosl
53393 do :
53394 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
53395 if test "x$ac_cv_func__sincosl" = xyes; then :
53396 cat >>confdefs.h <<_ACEOF
53397 #define HAVE__SINCOSL 1
53398 _ACEOF
53401 done
53410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
53411 $as_echo_n "checking for finitel declaration... " >&6; }
53412 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
53413 if ${glibcxx_cv_func_finitel_use+:} false; then :
53414 $as_echo_n "(cached) " >&6
53415 else
53418 ac_ext=cpp
53419 ac_cpp='$CXXCPP $CPPFLAGS'
53420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53425 /* end confdefs.h. */
53426 #include <math.h>
53427 #ifdef HAVE_IEEEFP_H
53428 #include <ieeefp.h>
53429 #endif
53432 main ()
53434 finitel(0);
53436 return 0;
53438 _ACEOF
53439 if ac_fn_cxx_try_compile "$LINENO"; then :
53440 glibcxx_cv_func_finitel_use=yes
53441 else
53442 glibcxx_cv_func_finitel_use=no
53444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53445 ac_ext=c
53446 ac_cpp='$CPP $CPPFLAGS'
53447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
53456 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
53458 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
53459 for ac_func in finitel
53460 do :
53461 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
53462 if test "x$ac_cv_func_finitel" = xyes; then :
53463 cat >>confdefs.h <<_ACEOF
53464 #define HAVE_FINITEL 1
53465 _ACEOF
53468 done
53470 else
53472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
53473 $as_echo_n "checking for _finitel declaration... " >&6; }
53474 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
53475 if ${glibcxx_cv_func__finitel_use+:} false; then :
53476 $as_echo_n "(cached) " >&6
53477 else
53480 ac_ext=cpp
53481 ac_cpp='$CXXCPP $CPPFLAGS'
53482 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53483 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53484 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53487 /* end confdefs.h. */
53488 #include <math.h>
53489 #ifdef HAVE_IEEEFP_H
53490 #include <ieeefp.h>
53491 #endif
53494 main ()
53496 _finitel(0);
53498 return 0;
53500 _ACEOF
53501 if ac_fn_cxx_try_compile "$LINENO"; then :
53502 glibcxx_cv_func__finitel_use=yes
53503 else
53504 glibcxx_cv_func__finitel_use=no
53506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53507 ac_ext=c
53508 ac_cpp='$CPP $CPPFLAGS'
53509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
53518 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
53520 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
53521 for ac_func in _finitel
53522 do :
53523 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
53524 if test "x$ac_cv_func__finitel" = xyes; then :
53525 cat >>confdefs.h <<_ACEOF
53526 #define HAVE__FINITEL 1
53527 _ACEOF
53530 done
53538 LIBS="$ac_save_LIBS"
53539 CXXFLAGS="$ac_save_CXXFLAGS"
53542 ac_test_CXXFLAGS="${CXXFLAGS+set}"
53543 ac_save_CXXFLAGS="$CXXFLAGS"
53544 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
53547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
53548 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
53549 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
53550 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
53551 $as_echo_n "(cached) " >&6
53552 else
53555 ac_ext=cpp
53556 ac_cpp='$CXXCPP $CPPFLAGS'
53557 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53558 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53559 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53562 /* end confdefs.h. */
53563 #include <stdlib.h>
53565 main ()
53567 at_quick_exit(0);
53569 return 0;
53571 _ACEOF
53572 if ac_fn_cxx_try_compile "$LINENO"; then :
53573 glibcxx_cv_func_at_quick_exit_use=yes
53574 else
53575 glibcxx_cv_func_at_quick_exit_use=no
53577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53578 ac_ext=c
53579 ac_cpp='$CPP $CPPFLAGS'
53580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
53589 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
53590 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
53591 for ac_func in at_quick_exit
53592 do :
53593 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
53594 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
53595 cat >>confdefs.h <<_ACEOF
53596 #define HAVE_AT_QUICK_EXIT 1
53597 _ACEOF
53600 done
53605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
53606 $as_echo_n "checking for quick_exit declaration... " >&6; }
53607 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
53608 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
53609 $as_echo_n "(cached) " >&6
53610 else
53613 ac_ext=cpp
53614 ac_cpp='$CXXCPP $CPPFLAGS'
53615 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53616 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53617 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53620 /* end confdefs.h. */
53621 #include <stdlib.h>
53623 main ()
53625 quick_exit(0);
53627 return 0;
53629 _ACEOF
53630 if ac_fn_cxx_try_compile "$LINENO"; then :
53631 glibcxx_cv_func_quick_exit_use=yes
53632 else
53633 glibcxx_cv_func_quick_exit_use=no
53635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53636 ac_ext=c
53637 ac_cpp='$CPP $CPPFLAGS'
53638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
53647 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
53648 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
53649 for ac_func in quick_exit
53650 do :
53651 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
53652 if test "x$ac_cv_func_quick_exit" = xyes; then :
53653 cat >>confdefs.h <<_ACEOF
53654 #define HAVE_QUICK_EXIT 1
53655 _ACEOF
53658 done
53663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
53664 $as_echo_n "checking for strtold declaration... " >&6; }
53665 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
53666 if ${glibcxx_cv_func_strtold_use+:} false; then :
53667 $as_echo_n "(cached) " >&6
53668 else
53671 ac_ext=cpp
53672 ac_cpp='$CXXCPP $CPPFLAGS'
53673 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53674 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53675 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53678 /* end confdefs.h. */
53679 #include <stdlib.h>
53681 main ()
53683 strtold(0, 0);
53685 return 0;
53687 _ACEOF
53688 if ac_fn_cxx_try_compile "$LINENO"; then :
53689 glibcxx_cv_func_strtold_use=yes
53690 else
53691 glibcxx_cv_func_strtold_use=no
53693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53694 ac_ext=c
53695 ac_cpp='$CPP $CPPFLAGS'
53696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
53705 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
53706 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
53707 for ac_func in strtold
53708 do :
53709 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
53710 if test "x$ac_cv_func_strtold" = xyes; then :
53711 cat >>confdefs.h <<_ACEOF
53712 #define HAVE_STRTOLD 1
53713 _ACEOF
53716 done
53723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
53724 $as_echo_n "checking for strtof declaration... " >&6; }
53725 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
53726 if ${glibcxx_cv_func_strtof_use+:} false; then :
53727 $as_echo_n "(cached) " >&6
53728 else
53731 ac_ext=cpp
53732 ac_cpp='$CXXCPP $CPPFLAGS'
53733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53738 /* end confdefs.h. */
53739 #include <stdlib.h>
53741 main ()
53743 strtof(0, 0);
53745 return 0;
53747 _ACEOF
53748 if ac_fn_cxx_try_compile "$LINENO"; then :
53749 glibcxx_cv_func_strtof_use=yes
53750 else
53751 glibcxx_cv_func_strtof_use=no
53753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53754 ac_ext=c
53755 ac_cpp='$CPP $CPPFLAGS'
53756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
53765 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
53766 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
53767 for ac_func in strtof
53768 do :
53769 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
53770 if test "x$ac_cv_func_strtof" = xyes; then :
53771 cat >>confdefs.h <<_ACEOF
53772 #define HAVE_STRTOF 1
53773 _ACEOF
53776 done
53783 CXXFLAGS="$ac_save_CXXFLAGS"
53785 $as_echo "#define _GLIBCXX_USE_DEV_RANDOM 1" >>confdefs.h
53787 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
53791 # Check whether --enable-tls was given.
53792 if test "${enable_tls+set}" = set; then :
53793 enableval=$enable_tls;
53794 case "$enableval" in
53795 yes|no) ;;
53796 *) as_fn_error $? "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
53797 esac
53799 else
53800 enable_tls=yes
53804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
53805 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
53806 if ${gcc_cv_have_tls+:} false; then :
53807 $as_echo_n "(cached) " >&6
53808 else
53810 if test "$cross_compiling" = yes; then :
53811 if test x$gcc_no_link = xyes; then
53812 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53815 /* end confdefs.h. */
53816 __thread int a; int b; int main() { return a = b; }
53817 _ACEOF
53818 if ac_fn_c_try_link "$LINENO"; then :
53819 chktls_save_LDFLAGS="$LDFLAGS"
53820 case $host in
53821 *-*-linux* | -*-uclinuxfdpic*)
53822 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
53824 esac
53825 chktls_save_CFLAGS="$CFLAGS"
53826 CFLAGS="-fPIC $CFLAGS"
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 int f() { return 0; }
53833 _ACEOF
53834 if ac_fn_c_try_link "$LINENO"; then :
53835 if test x$gcc_no_link = xyes; then
53836 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53839 /* end confdefs.h. */
53840 __thread int a; int b; int f() { return a = b; }
53841 _ACEOF
53842 if ac_fn_c_try_link "$LINENO"; then :
53843 gcc_cv_have_tls=yes
53844 else
53845 gcc_cv_have_tls=no
53847 rm -f core conftest.err conftest.$ac_objext \
53848 conftest$ac_exeext conftest.$ac_ext
53849 else
53850 gcc_cv_have_tls=yes
53852 rm -f core conftest.err conftest.$ac_objext \
53853 conftest$ac_exeext conftest.$ac_ext
53854 CFLAGS="$chktls_save_CFLAGS"
53855 LDFLAGS="$chktls_save_LDFLAGS"
53856 else
53857 gcc_cv_have_tls=no
53859 rm -f core conftest.err conftest.$ac_objext \
53860 conftest$ac_exeext conftest.$ac_ext
53863 else
53864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53865 /* end confdefs.h. */
53866 __thread int a; int b; int main() { return a = b; }
53867 _ACEOF
53868 if ac_fn_c_try_run "$LINENO"; then :
53869 chktls_save_LDFLAGS="$LDFLAGS"
53870 LDFLAGS="-static $LDFLAGS"
53871 if test x$gcc_no_link = xyes; then
53872 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53875 /* end confdefs.h. */
53876 int main() { return 0; }
53877 _ACEOF
53878 if ac_fn_c_try_link "$LINENO"; then :
53879 if test "$cross_compiling" = yes; then :
53880 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
53881 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
53882 as_fn_error $? "cannot run test program while cross compiling
53883 See \`config.log' for more details" "$LINENO" 5; }
53884 else
53885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53886 /* end confdefs.h. */
53887 __thread int a; int b; int main() { return a = b; }
53888 _ACEOF
53889 if ac_fn_c_try_run "$LINENO"; then :
53890 gcc_cv_have_tls=yes
53891 else
53892 gcc_cv_have_tls=no
53894 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
53895 conftest.$ac_objext conftest.beam conftest.$ac_ext
53898 else
53899 gcc_cv_have_tls=yes
53901 rm -f core conftest.err conftest.$ac_objext \
53902 conftest$ac_exeext conftest.$ac_ext
53903 LDFLAGS="$chktls_save_LDFLAGS"
53904 if test $gcc_cv_have_tls = yes; then
53905 chktls_save_CFLAGS="$CFLAGS"
53906 thread_CFLAGS=failed
53907 for flag in '' '-pthread' '-lpthread'; do
53908 CFLAGS="$flag $chktls_save_CFLAGS"
53909 if test x$gcc_no_link = xyes; then
53910 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53913 /* end confdefs.h. */
53914 #include <pthread.h>
53915 void *g(void *d) { return NULL; }
53917 main ()
53919 pthread_t t; pthread_create(&t,NULL,g,NULL);
53921 return 0;
53923 _ACEOF
53924 if ac_fn_c_try_link "$LINENO"; then :
53925 thread_CFLAGS="$flag"
53927 rm -f core conftest.err conftest.$ac_objext \
53928 conftest$ac_exeext conftest.$ac_ext
53929 if test "X$thread_CFLAGS" != Xfailed; then
53930 break
53932 done
53933 CFLAGS="$chktls_save_CFLAGS"
53934 if test "X$thread_CFLAGS" != Xfailed; then
53935 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
53936 if test "$cross_compiling" = yes; then :
53937 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
53938 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
53939 as_fn_error $? "cannot run test program while cross compiling
53940 See \`config.log' for more details" "$LINENO" 5; }
53941 else
53942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53943 /* end confdefs.h. */
53944 #include <pthread.h>
53945 __thread int a;
53946 static int *volatile a_in_other_thread;
53947 static void *
53948 thread_func (void *arg)
53950 a_in_other_thread = &a;
53951 return (void *)0;
53954 main ()
53956 pthread_t thread;
53957 void *thread_retval;
53958 int *volatile a_in_main_thread;
53959 a_in_main_thread = &a;
53960 if (pthread_create (&thread, (pthread_attr_t *)0,
53961 thread_func, (void *)0))
53962 return 0;
53963 if (pthread_join (thread, &thread_retval))
53964 return 0;
53965 return (a_in_other_thread == a_in_main_thread);
53967 return 0;
53969 _ACEOF
53970 if ac_fn_c_try_run "$LINENO"; then :
53971 gcc_cv_have_tls=yes
53972 else
53973 gcc_cv_have_tls=no
53975 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
53976 conftest.$ac_objext conftest.beam conftest.$ac_ext
53979 CFLAGS="$chktls_save_CFLAGS"
53982 else
53983 gcc_cv_have_tls=no
53985 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
53986 conftest.$ac_objext conftest.beam conftest.$ac_ext
53990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
53991 $as_echo "$gcc_cv_have_tls" >&6; }
53992 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
53994 $as_echo "#define HAVE_TLS 1" >>confdefs.h
53997 for ac_func in __cxa_thread_atexit_impl
53998 do :
53999 ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit_impl" "ac_cv_func___cxa_thread_atexit_impl"
54000 if test "x$ac_cv_func___cxa_thread_atexit_impl" = xyes; then :
54001 cat >>confdefs.h <<_ACEOF
54002 #define HAVE___CXA_THREAD_ATEXIT_IMPL 1
54003 _ACEOF
54006 done
54008 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
54009 do :
54010 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54011 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54012 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
54013 cat >>confdefs.h <<_ACEOF
54014 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54015 _ACEOF
54018 done
54020 for ac_func in timespec_get
54021 do :
54022 ac_fn_c_check_func "$LINENO" "timespec_get" "ac_cv_func_timespec_get"
54023 if test "x$ac_cv_func_timespec_get" = xyes; then :
54024 cat >>confdefs.h <<_ACEOF
54025 #define HAVE_TIMESPEC_GET 1
54026 _ACEOF
54029 done
54031 for ac_func in sockatmark
54032 do :
54033 ac_fn_c_check_func "$LINENO" "sockatmark" "ac_cv_func_sockatmark"
54034 if test "x$ac_cv_func_sockatmark" = xyes; then :
54035 cat >>confdefs.h <<_ACEOF
54036 #define HAVE_SOCKATMARK 1
54037 _ACEOF
54040 done
54042 for ac_func in uselocale
54043 do :
54044 ac_fn_c_check_func "$LINENO" "uselocale" "ac_cv_func_uselocale"
54045 if test "x$ac_cv_func_uselocale" = xyes; then :
54046 cat >>confdefs.h <<_ACEOF
54047 #define HAVE_USELOCALE 1
54048 _ACEOF
54051 done
54058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
54059 $as_echo_n "checking for iconv... " >&6; }
54060 if ${am_cv_func_iconv+:} false; then :
54061 $as_echo_n "(cached) " >&6
54062 else
54064 am_cv_func_iconv="no, consider installing GNU libiconv"
54065 am_cv_lib_iconv=no
54066 am_save_CPPFLAGS="$CPPFLAGS"
54067 CPPFLAGS="$CPPFLAGS $INCICONV"
54068 if test x$gcc_no_link = xyes; then
54069 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54072 /* end confdefs.h. */
54073 #include <stdlib.h>
54074 #include <iconv.h>
54076 main ()
54078 iconv_t cd = iconv_open("","");
54079 iconv(cd,NULL,NULL,NULL,NULL);
54080 iconv_close(cd);
54082 return 0;
54084 _ACEOF
54085 if ac_fn_c_try_link "$LINENO"; then :
54086 am_cv_func_iconv=yes
54088 rm -f core conftest.err conftest.$ac_objext \
54089 conftest$ac_exeext conftest.$ac_ext
54090 CPPFLAGS="$am_save_CPPFLAGS"
54092 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
54093 for _libs in .libs _libs; do
54094 am_save_CPPFLAGS="$CPPFLAGS"
54095 am_save_LIBS="$LIBS"
54096 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
54097 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
54098 if test x$gcc_no_link = xyes; then
54099 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54102 /* end confdefs.h. */
54103 #include <stdlib.h>
54104 #include <iconv.h>
54106 main ()
54108 iconv_t cd = iconv_open("","");
54109 iconv(cd,NULL,NULL,NULL,NULL);
54110 iconv_close(cd);
54112 return 0;
54114 _ACEOF
54115 if ac_fn_c_try_link "$LINENO"; then :
54116 INCICONV="-I../libiconv/include"
54117 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
54118 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
54119 am_cv_lib_iconv=yes
54120 am_cv_func_iconv=yes
54122 rm -f core conftest.err conftest.$ac_objext \
54123 conftest$ac_exeext conftest.$ac_ext
54124 CPPFLAGS="$am_save_CPPFLAGS"
54125 LIBS="$am_save_LIBS"
54126 if test "$am_cv_func_iconv" = "yes"; then
54127 break
54129 done
54132 if test "$am_cv_func_iconv" != yes; then
54133 am_save_CPPFLAGS="$CPPFLAGS"
54134 am_save_LIBS="$LIBS"
54135 CPPFLAGS="$CPPFLAGS $INCICONV"
54136 LIBS="$LIBS $LIBICONV"
54137 if test x$gcc_no_link = xyes; then
54138 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54141 /* end confdefs.h. */
54142 #include <stdlib.h>
54143 #include <iconv.h>
54145 main ()
54147 iconv_t cd = iconv_open("","");
54148 iconv(cd,NULL,NULL,NULL,NULL);
54149 iconv_close(cd);
54151 return 0;
54153 _ACEOF
54154 if ac_fn_c_try_link "$LINENO"; then :
54155 am_cv_lib_iconv=yes
54156 am_cv_func_iconv=yes
54158 rm -f core conftest.err conftest.$ac_objext \
54159 conftest$ac_exeext conftest.$ac_ext
54160 CPPFLAGS="$am_save_CPPFLAGS"
54161 LIBS="$am_save_LIBS"
54165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
54166 $as_echo "$am_cv_func_iconv" >&6; }
54167 if test "$am_cv_func_iconv" = yes; then
54169 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
54172 if test "$am_cv_lib_iconv" = yes; then
54174 for element in $INCICONV; do
54175 haveit=
54176 for x in $CPPFLAGS; do
54178 acl_save_prefix="$prefix"
54179 prefix="$acl_final_prefix"
54180 acl_save_exec_prefix="$exec_prefix"
54181 exec_prefix="$acl_final_exec_prefix"
54182 eval x=\"$x\"
54183 exec_prefix="$acl_save_exec_prefix"
54184 prefix="$acl_save_prefix"
54186 if test "X$x" = "X$element"; then
54187 haveit=yes
54188 break
54190 done
54191 if test -z "$haveit"; then
54192 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
54194 done
54196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
54197 $as_echo_n "checking how to link with libiconv... " >&6; }
54198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
54199 $as_echo "$LIBICONV" >&6; }
54200 else
54201 LIBICONV=
54202 LTLIBICONV=
54207 if test "$am_cv_func_iconv" = yes; then
54208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
54209 $as_echo_n "checking for iconv declaration... " >&6; }
54210 if ${am_cv_proto_iconv+:} false; then :
54211 $as_echo_n "(cached) " >&6
54212 else
54214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54215 /* end confdefs.h. */
54217 #include <stdlib.h>
54218 #include <iconv.h>
54219 extern
54220 #ifdef __cplusplus
54222 #endif
54223 #if defined(__STDC__) || defined(__cplusplus)
54224 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
54225 #else
54226 size_t iconv();
54227 #endif
54230 main ()
54234 return 0;
54236 _ACEOF
54237 if ac_fn_c_try_compile "$LINENO"; then :
54238 am_cv_proto_iconv_arg1=""
54239 else
54240 am_cv_proto_iconv_arg1="const"
54242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54243 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);"
54246 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
54247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
54248 }$am_cv_proto_iconv" >&5
54249 $as_echo "${ac_t:-
54250 }$am_cv_proto_iconv" >&6; }
54252 cat >>confdefs.h <<_ACEOF
54253 #define ICONV_CONST $am_cv_proto_iconv_arg1
54254 _ACEOF
54259 *-mingw32*)
54261 # If we're not using GNU ld, then there's no point in even trying these
54262 # tests. Check for that first. We should have already tested for gld
54263 # by now (in libtool), but require it now just to be safe...
54264 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
54265 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
54269 # The name set by libtool depends on the version of libtool. Shame on us
54270 # for depending on an impl detail, but c'est la vie. Older versions used
54271 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
54272 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
54273 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
54274 # set (hence we're using an older libtool), then set it.
54275 if test x${with_gnu_ld+set} != xset; then
54276 if test x${ac_cv_prog_gnu_ld+set} != xset; then
54277 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
54278 with_gnu_ld=no
54279 else
54280 with_gnu_ld=$ac_cv_prog_gnu_ld
54284 # Start by getting the version number. I think the libtool test already
54285 # does some of this, but throws away the result.
54286 glibcxx_ld_is_gold=no
54287 if test x"$with_gnu_ld" = x"yes"; then
54288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
54289 $as_echo_n "checking for ld version... " >&6; }
54291 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
54292 glibcxx_ld_is_gold=yes
54294 ldver=`$LD --version 2>/dev/null |
54295 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
54297 glibcxx_gnu_ld_version=`echo $ldver | \
54298 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
54299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
54300 $as_echo "$glibcxx_gnu_ld_version" >&6; }
54303 # Set --gc-sections.
54304 glibcxx_have_gc_sections=no
54305 if test "$glibcxx_ld_is_gold" = "yes"; then
54306 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
54307 glibcxx_have_gc_sections=yes
54309 else
54310 glibcxx_gcsections_min_ld=21602
54311 if test x"$with_gnu_ld" = x"yes" &&
54312 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
54313 glibcxx_have_gc_sections=yes
54316 if test "$glibcxx_have_gc_sections" = "yes"; then
54317 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
54318 # NB: This flag only works reliably after 2.16.1. Configure tests
54319 # for this are difficult, so hard wire a value that should work.
54321 ac_test_CFLAGS="${CFLAGS+set}"
54322 ac_save_CFLAGS="$CFLAGS"
54323 CFLAGS='-Wl,--gc-sections'
54325 # Check for -Wl,--gc-sections
54326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
54327 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
54328 if test x$gcc_no_link = xyes; then
54329 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54332 /* end confdefs.h. */
54333 int one(void) { return 1; }
54334 int two(void) { return 2; }
54337 main ()
54339 two();
54341 return 0;
54343 _ACEOF
54344 if ac_fn_c_try_link "$LINENO"; then :
54345 ac_gcsections=yes
54346 else
54347 ac_gcsections=no
54349 rm -f core conftest.err conftest.$ac_objext \
54350 conftest$ac_exeext conftest.$ac_ext
54351 if test "$ac_gcsections" = "yes"; then
54352 rm -f conftest.c
54353 touch conftest.c
54354 if $CC -c conftest.c; then
54355 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
54356 grep "Warning: gc-sections option ignored" > /dev/null; then
54357 ac_gcsections=no
54360 rm -f conftest.c conftest.o conftest
54362 if test "$ac_gcsections" = "yes"; then
54363 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
54365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
54366 $as_echo "$ac_gcsections" >&6; }
54368 if test "$ac_test_CFLAGS" = set; then
54369 CFLAGS="$ac_save_CFLAGS"
54370 else
54371 # this is the suspicious part
54372 CFLAGS=''
54376 # Set -z,relro.
54377 # Note this is only for shared objects.
54378 ac_ld_relro=no
54379 if test x"$with_gnu_ld" = x"yes"; then
54380 # cygwin and mingw uses PE, which has no ELF relro support,
54381 # multi target ld may confuse configure machinery
54382 case "$host" in
54383 *-*-cygwin*)
54385 *-*-mingw*)
54388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
54389 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
54390 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
54391 if test -n "$cxx_z_relo"; then
54392 OPT_LDFLAGS="-Wl,-z,relro"
54393 ac_ld_relro=yes
54395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
54396 $as_echo "$ac_ld_relro" >&6; }
54397 esac
54400 # Set linker optimization flags.
54401 if test x"$with_gnu_ld" = x"yes"; then
54402 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
54409 ac_test_CXXFLAGS="${CXXFLAGS+set}"
54410 ac_save_CXXFLAGS="$CXXFLAGS"
54411 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
54413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
54414 $as_echo_n "checking for sin in -lm... " >&6; }
54415 if ${ac_cv_lib_m_sin+:} false; then :
54416 $as_echo_n "(cached) " >&6
54417 else
54418 ac_check_lib_save_LIBS=$LIBS
54419 LIBS="-lm $LIBS"
54420 if test x$gcc_no_link = xyes; then
54421 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54424 /* end confdefs.h. */
54426 /* Override any GCC internal prototype to avoid an error.
54427 Use char because int might match the return type of a GCC
54428 builtin and then its argument prototype would still apply. */
54429 #ifdef __cplusplus
54430 extern "C"
54431 #endif
54432 char sin ();
54434 main ()
54436 return sin ();
54438 return 0;
54440 _ACEOF
54441 if ac_fn_c_try_link "$LINENO"; then :
54442 ac_cv_lib_m_sin=yes
54443 else
54444 ac_cv_lib_m_sin=no
54446 rm -f core conftest.err conftest.$ac_objext \
54447 conftest$ac_exeext conftest.$ac_ext
54448 LIBS=$ac_check_lib_save_LIBS
54450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
54451 $as_echo "$ac_cv_lib_m_sin" >&6; }
54452 if test "x$ac_cv_lib_m_sin" = xyes; then :
54453 libm="-lm"
54456 ac_save_LIBS="$LIBS"
54457 LIBS="$LIBS $libm"
54461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
54462 $as_echo_n "checking for isinf declaration... " >&6; }
54463 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
54464 if ${glibcxx_cv_func_isinf_use+:} false; then :
54465 $as_echo_n "(cached) " >&6
54466 else
54469 ac_ext=cpp
54470 ac_cpp='$CXXCPP $CPPFLAGS'
54471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54476 /* end confdefs.h. */
54477 #include <math.h>
54478 #ifdef HAVE_IEEEFP_H
54479 #include <ieeefp.h>
54480 #endif
54483 main ()
54485 isinf(0);
54487 return 0;
54489 _ACEOF
54490 if ac_fn_cxx_try_compile "$LINENO"; then :
54491 glibcxx_cv_func_isinf_use=yes
54492 else
54493 glibcxx_cv_func_isinf_use=no
54495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54496 ac_ext=c
54497 ac_cpp='$CPP $CPPFLAGS'
54498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
54507 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
54509 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
54510 for ac_func in isinf
54511 do :
54512 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
54513 if test "x$ac_cv_func_isinf" = xyes; then :
54514 cat >>confdefs.h <<_ACEOF
54515 #define HAVE_ISINF 1
54516 _ACEOF
54519 done
54521 else
54523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
54524 $as_echo_n "checking for _isinf declaration... " >&6; }
54525 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
54526 if ${glibcxx_cv_func__isinf_use+:} false; then :
54527 $as_echo_n "(cached) " >&6
54528 else
54531 ac_ext=cpp
54532 ac_cpp='$CXXCPP $CPPFLAGS'
54533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54538 /* end confdefs.h. */
54539 #include <math.h>
54540 #ifdef HAVE_IEEEFP_H
54541 #include <ieeefp.h>
54542 #endif
54545 main ()
54547 _isinf(0);
54549 return 0;
54551 _ACEOF
54552 if ac_fn_cxx_try_compile "$LINENO"; then :
54553 glibcxx_cv_func__isinf_use=yes
54554 else
54555 glibcxx_cv_func__isinf_use=no
54557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54558 ac_ext=c
54559 ac_cpp='$CPP $CPPFLAGS'
54560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
54569 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
54571 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
54572 for ac_func in _isinf
54573 do :
54574 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
54575 if test "x$ac_cv_func__isinf" = xyes; then :
54576 cat >>confdefs.h <<_ACEOF
54577 #define HAVE__ISINF 1
54578 _ACEOF
54581 done
54590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
54591 $as_echo_n "checking for isnan declaration... " >&6; }
54592 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
54593 if ${glibcxx_cv_func_isnan_use+:} false; then :
54594 $as_echo_n "(cached) " >&6
54595 else
54598 ac_ext=cpp
54599 ac_cpp='$CXXCPP $CPPFLAGS'
54600 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54601 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54602 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54605 /* end confdefs.h. */
54606 #include <math.h>
54607 #ifdef HAVE_IEEEFP_H
54608 #include <ieeefp.h>
54609 #endif
54612 main ()
54614 isnan(0);
54616 return 0;
54618 _ACEOF
54619 if ac_fn_cxx_try_compile "$LINENO"; then :
54620 glibcxx_cv_func_isnan_use=yes
54621 else
54622 glibcxx_cv_func_isnan_use=no
54624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54625 ac_ext=c
54626 ac_cpp='$CPP $CPPFLAGS'
54627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
54636 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
54638 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
54639 for ac_func in isnan
54640 do :
54641 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
54642 if test "x$ac_cv_func_isnan" = xyes; then :
54643 cat >>confdefs.h <<_ACEOF
54644 #define HAVE_ISNAN 1
54645 _ACEOF
54648 done
54650 else
54652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
54653 $as_echo_n "checking for _isnan declaration... " >&6; }
54654 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
54655 if ${glibcxx_cv_func__isnan_use+:} false; then :
54656 $as_echo_n "(cached) " >&6
54657 else
54660 ac_ext=cpp
54661 ac_cpp='$CXXCPP $CPPFLAGS'
54662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54667 /* end confdefs.h. */
54668 #include <math.h>
54669 #ifdef HAVE_IEEEFP_H
54670 #include <ieeefp.h>
54671 #endif
54674 main ()
54676 _isnan(0);
54678 return 0;
54680 _ACEOF
54681 if ac_fn_cxx_try_compile "$LINENO"; then :
54682 glibcxx_cv_func__isnan_use=yes
54683 else
54684 glibcxx_cv_func__isnan_use=no
54686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54687 ac_ext=c
54688 ac_cpp='$CPP $CPPFLAGS'
54689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
54698 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
54700 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
54701 for ac_func in _isnan
54702 do :
54703 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
54704 if test "x$ac_cv_func__isnan" = xyes; then :
54705 cat >>confdefs.h <<_ACEOF
54706 #define HAVE__ISNAN 1
54707 _ACEOF
54710 done
54719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
54720 $as_echo_n "checking for finite declaration... " >&6; }
54721 if test x${glibcxx_cv_func_finite_use+set} != xset; then
54722 if ${glibcxx_cv_func_finite_use+:} false; then :
54723 $as_echo_n "(cached) " >&6
54724 else
54727 ac_ext=cpp
54728 ac_cpp='$CXXCPP $CPPFLAGS'
54729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54734 /* end confdefs.h. */
54735 #include <math.h>
54736 #ifdef HAVE_IEEEFP_H
54737 #include <ieeefp.h>
54738 #endif
54741 main ()
54743 finite(0);
54745 return 0;
54747 _ACEOF
54748 if ac_fn_cxx_try_compile "$LINENO"; then :
54749 glibcxx_cv_func_finite_use=yes
54750 else
54751 glibcxx_cv_func_finite_use=no
54753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54754 ac_ext=c
54755 ac_cpp='$CPP $CPPFLAGS'
54756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
54765 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
54767 if test x$glibcxx_cv_func_finite_use = x"yes"; then
54768 for ac_func in finite
54769 do :
54770 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
54771 if test "x$ac_cv_func_finite" = xyes; then :
54772 cat >>confdefs.h <<_ACEOF
54773 #define HAVE_FINITE 1
54774 _ACEOF
54777 done
54779 else
54781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
54782 $as_echo_n "checking for _finite declaration... " >&6; }
54783 if test x${glibcxx_cv_func__finite_use+set} != xset; then
54784 if ${glibcxx_cv_func__finite_use+:} false; then :
54785 $as_echo_n "(cached) " >&6
54786 else
54789 ac_ext=cpp
54790 ac_cpp='$CXXCPP $CPPFLAGS'
54791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54796 /* end confdefs.h. */
54797 #include <math.h>
54798 #ifdef HAVE_IEEEFP_H
54799 #include <ieeefp.h>
54800 #endif
54803 main ()
54805 _finite(0);
54807 return 0;
54809 _ACEOF
54810 if ac_fn_cxx_try_compile "$LINENO"; then :
54811 glibcxx_cv_func__finite_use=yes
54812 else
54813 glibcxx_cv_func__finite_use=no
54815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54816 ac_ext=c
54817 ac_cpp='$CPP $CPPFLAGS'
54818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
54827 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
54829 if test x$glibcxx_cv_func__finite_use = x"yes"; then
54830 for ac_func in _finite
54831 do :
54832 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
54833 if test "x$ac_cv_func__finite" = xyes; then :
54834 cat >>confdefs.h <<_ACEOF
54835 #define HAVE__FINITE 1
54836 _ACEOF
54839 done
54848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
54849 $as_echo_n "checking for sincos declaration... " >&6; }
54850 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
54851 if ${glibcxx_cv_func_sincos_use+:} false; then :
54852 $as_echo_n "(cached) " >&6
54853 else
54856 ac_ext=cpp
54857 ac_cpp='$CXXCPP $CPPFLAGS'
54858 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54859 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54860 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54863 /* end confdefs.h. */
54864 #include <math.h>
54866 main ()
54868 sincos(0, 0, 0);
54870 return 0;
54872 _ACEOF
54873 if ac_fn_cxx_try_compile "$LINENO"; then :
54874 glibcxx_cv_func_sincos_use=yes
54875 else
54876 glibcxx_cv_func_sincos_use=no
54878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54879 ac_ext=c
54880 ac_cpp='$CPP $CPPFLAGS'
54881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
54890 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
54892 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
54893 for ac_func in sincos
54894 do :
54895 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
54896 if test "x$ac_cv_func_sincos" = xyes; then :
54897 cat >>confdefs.h <<_ACEOF
54898 #define HAVE_SINCOS 1
54899 _ACEOF
54902 done
54904 else
54906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
54907 $as_echo_n "checking for _sincos declaration... " >&6; }
54908 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
54909 if ${glibcxx_cv_func__sincos_use+:} false; then :
54910 $as_echo_n "(cached) " >&6
54911 else
54914 ac_ext=cpp
54915 ac_cpp='$CXXCPP $CPPFLAGS'
54916 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54917 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54918 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54921 /* end confdefs.h. */
54922 #include <math.h>
54924 main ()
54926 _sincos(0, 0, 0);
54928 return 0;
54930 _ACEOF
54931 if ac_fn_cxx_try_compile "$LINENO"; then :
54932 glibcxx_cv_func__sincos_use=yes
54933 else
54934 glibcxx_cv_func__sincos_use=no
54936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54937 ac_ext=c
54938 ac_cpp='$CPP $CPPFLAGS'
54939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
54948 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
54950 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
54951 for ac_func in _sincos
54952 do :
54953 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
54954 if test "x$ac_cv_func__sincos" = xyes; then :
54955 cat >>confdefs.h <<_ACEOF
54956 #define HAVE__SINCOS 1
54957 _ACEOF
54960 done
54969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
54970 $as_echo_n "checking for fpclass declaration... " >&6; }
54971 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
54972 if ${glibcxx_cv_func_fpclass_use+:} false; then :
54973 $as_echo_n "(cached) " >&6
54974 else
54977 ac_ext=cpp
54978 ac_cpp='$CXXCPP $CPPFLAGS'
54979 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54980 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54981 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54984 /* end confdefs.h. */
54985 #include <math.h>
54986 #ifdef HAVE_IEEEFP_H
54987 #include <ieeefp.h>
54988 #endif
54991 main ()
54993 fpclass(0);
54995 return 0;
54997 _ACEOF
54998 if ac_fn_cxx_try_compile "$LINENO"; then :
54999 glibcxx_cv_func_fpclass_use=yes
55000 else
55001 glibcxx_cv_func_fpclass_use=no
55003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55004 ac_ext=c
55005 ac_cpp='$CPP $CPPFLAGS'
55006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
55015 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
55017 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
55018 for ac_func in fpclass
55019 do :
55020 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
55021 if test "x$ac_cv_func_fpclass" = xyes; then :
55022 cat >>confdefs.h <<_ACEOF
55023 #define HAVE_FPCLASS 1
55024 _ACEOF
55027 done
55029 else
55031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
55032 $as_echo_n "checking for _fpclass declaration... " >&6; }
55033 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
55034 if ${glibcxx_cv_func__fpclass_use+:} false; then :
55035 $as_echo_n "(cached) " >&6
55036 else
55039 ac_ext=cpp
55040 ac_cpp='$CXXCPP $CPPFLAGS'
55041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55046 /* end confdefs.h. */
55047 #include <math.h>
55048 #ifdef HAVE_IEEEFP_H
55049 #include <ieeefp.h>
55050 #endif
55053 main ()
55055 _fpclass(0);
55057 return 0;
55059 _ACEOF
55060 if ac_fn_cxx_try_compile "$LINENO"; then :
55061 glibcxx_cv_func__fpclass_use=yes
55062 else
55063 glibcxx_cv_func__fpclass_use=no
55065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55066 ac_ext=c
55067 ac_cpp='$CPP $CPPFLAGS'
55068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
55077 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
55079 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
55080 for ac_func in _fpclass
55081 do :
55082 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
55083 if test "x$ac_cv_func__fpclass" = xyes; then :
55084 cat >>confdefs.h <<_ACEOF
55085 #define HAVE__FPCLASS 1
55086 _ACEOF
55089 done
55098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
55099 $as_echo_n "checking for qfpclass declaration... " >&6; }
55100 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
55101 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
55102 $as_echo_n "(cached) " >&6
55103 else
55106 ac_ext=cpp
55107 ac_cpp='$CXXCPP $CPPFLAGS'
55108 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55109 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55110 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55113 /* end confdefs.h. */
55114 #include <math.h>
55115 #ifdef HAVE_IEEEFP_H
55116 #include <ieeefp.h>
55117 #endif
55120 main ()
55122 qfpclass(0);
55124 return 0;
55126 _ACEOF
55127 if ac_fn_cxx_try_compile "$LINENO"; then :
55128 glibcxx_cv_func_qfpclass_use=yes
55129 else
55130 glibcxx_cv_func_qfpclass_use=no
55132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55133 ac_ext=c
55134 ac_cpp='$CPP $CPPFLAGS'
55135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
55144 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
55146 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
55147 for ac_func in qfpclass
55148 do :
55149 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
55150 if test "x$ac_cv_func_qfpclass" = xyes; then :
55151 cat >>confdefs.h <<_ACEOF
55152 #define HAVE_QFPCLASS 1
55153 _ACEOF
55156 done
55158 else
55160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
55161 $as_echo_n "checking for _qfpclass declaration... " >&6; }
55162 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
55163 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
55164 $as_echo_n "(cached) " >&6
55165 else
55168 ac_ext=cpp
55169 ac_cpp='$CXXCPP $CPPFLAGS'
55170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55175 /* end confdefs.h. */
55176 #include <math.h>
55177 #ifdef HAVE_IEEEFP_H
55178 #include <ieeefp.h>
55179 #endif
55182 main ()
55184 _qfpclass(0);
55186 return 0;
55188 _ACEOF
55189 if ac_fn_cxx_try_compile "$LINENO"; then :
55190 glibcxx_cv_func__qfpclass_use=yes
55191 else
55192 glibcxx_cv_func__qfpclass_use=no
55194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55195 ac_ext=c
55196 ac_cpp='$CPP $CPPFLAGS'
55197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
55206 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
55208 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
55209 for ac_func in _qfpclass
55210 do :
55211 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
55212 if test "x$ac_cv_func__qfpclass" = xyes; then :
55213 cat >>confdefs.h <<_ACEOF
55214 #define HAVE__QFPCLASS 1
55215 _ACEOF
55218 done
55227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
55228 $as_echo_n "checking for hypot declaration... " >&6; }
55229 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
55230 if ${glibcxx_cv_func_hypot_use+:} false; then :
55231 $as_echo_n "(cached) " >&6
55232 else
55235 ac_ext=cpp
55236 ac_cpp='$CXXCPP $CPPFLAGS'
55237 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55238 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55239 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55242 /* end confdefs.h. */
55243 #include <math.h>
55245 main ()
55247 hypot(0, 0);
55249 return 0;
55251 _ACEOF
55252 if ac_fn_cxx_try_compile "$LINENO"; then :
55253 glibcxx_cv_func_hypot_use=yes
55254 else
55255 glibcxx_cv_func_hypot_use=no
55257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55258 ac_ext=c
55259 ac_cpp='$CPP $CPPFLAGS'
55260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
55269 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
55271 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
55272 for ac_func in hypot
55273 do :
55274 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
55275 if test "x$ac_cv_func_hypot" = xyes; then :
55276 cat >>confdefs.h <<_ACEOF
55277 #define HAVE_HYPOT 1
55278 _ACEOF
55281 done
55283 else
55285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
55286 $as_echo_n "checking for _hypot declaration... " >&6; }
55287 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
55288 if ${glibcxx_cv_func__hypot_use+:} false; then :
55289 $as_echo_n "(cached) " >&6
55290 else
55293 ac_ext=cpp
55294 ac_cpp='$CXXCPP $CPPFLAGS'
55295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55300 /* end confdefs.h. */
55301 #include <math.h>
55303 main ()
55305 _hypot(0, 0);
55307 return 0;
55309 _ACEOF
55310 if ac_fn_cxx_try_compile "$LINENO"; then :
55311 glibcxx_cv_func__hypot_use=yes
55312 else
55313 glibcxx_cv_func__hypot_use=no
55315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55316 ac_ext=c
55317 ac_cpp='$CPP $CPPFLAGS'
55318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
55327 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
55329 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
55330 for ac_func in _hypot
55331 do :
55332 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
55333 if test "x$ac_cv_func__hypot" = xyes; then :
55334 cat >>confdefs.h <<_ACEOF
55335 #define HAVE__HYPOT 1
55336 _ACEOF
55339 done
55348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
55349 $as_echo_n "checking for float trig functions... " >&6; }
55350 if ${glibcxx_cv_func_float_trig_use+:} false; then :
55351 $as_echo_n "(cached) " >&6
55352 else
55355 ac_ext=cpp
55356 ac_cpp='$CXXCPP $CPPFLAGS'
55357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55362 /* end confdefs.h. */
55363 #include <math.h>
55365 main ()
55367 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
55369 return 0;
55371 _ACEOF
55372 if ac_fn_cxx_try_compile "$LINENO"; then :
55373 glibcxx_cv_func_float_trig_use=yes
55374 else
55375 glibcxx_cv_func_float_trig_use=no
55377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55378 ac_ext=c
55379 ac_cpp='$CPP $CPPFLAGS'
55380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
55387 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
55388 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
55389 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
55390 do :
55391 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55392 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55393 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
55394 cat >>confdefs.h <<_ACEOF
55395 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55396 _ACEOF
55399 done
55401 else
55402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
55403 $as_echo_n "checking for _float trig functions... " >&6; }
55404 if ${glibcxx_cv_func__float_trig_use+:} false; then :
55405 $as_echo_n "(cached) " >&6
55406 else
55409 ac_ext=cpp
55410 ac_cpp='$CXXCPP $CPPFLAGS'
55411 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55412 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55413 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55416 /* end confdefs.h. */
55417 #include <math.h>
55419 main ()
55421 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
55423 return 0;
55425 _ACEOF
55426 if ac_fn_cxx_try_compile "$LINENO"; then :
55427 glibcxx_cv_func__float_trig_use=yes
55428 else
55429 glibcxx_cv_func__float_trig_use=no
55431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55432 ac_ext=c
55433 ac_cpp='$CPP $CPPFLAGS'
55434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
55441 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
55442 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
55443 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
55444 do :
55445 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55446 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55447 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
55448 cat >>confdefs.h <<_ACEOF
55449 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55450 _ACEOF
55453 done
55462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
55463 $as_echo_n "checking for float round functions... " >&6; }
55464 if ${glibcxx_cv_func_float_round_use+:} false; then :
55465 $as_echo_n "(cached) " >&6
55466 else
55469 ac_ext=cpp
55470 ac_cpp='$CXXCPP $CPPFLAGS'
55471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55476 /* end confdefs.h. */
55477 #include <math.h>
55479 main ()
55481 ceilf (0); floorf (0);
55483 return 0;
55485 _ACEOF
55486 if ac_fn_cxx_try_compile "$LINENO"; then :
55487 glibcxx_cv_func_float_round_use=yes
55488 else
55489 glibcxx_cv_func_float_round_use=no
55491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55492 ac_ext=c
55493 ac_cpp='$CPP $CPPFLAGS'
55494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
55501 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
55502 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
55503 for ac_func in ceilf floorf
55504 do :
55505 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55506 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55507 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
55508 cat >>confdefs.h <<_ACEOF
55509 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55510 _ACEOF
55513 done
55515 else
55516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
55517 $as_echo_n "checking for _float round functions... " >&6; }
55518 if ${glibcxx_cv_func__float_round_use+:} false; then :
55519 $as_echo_n "(cached) " >&6
55520 else
55523 ac_ext=cpp
55524 ac_cpp='$CXXCPP $CPPFLAGS'
55525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55530 /* end confdefs.h. */
55531 #include <math.h>
55533 main ()
55535 _ceilf (0); _floorf (0);
55537 return 0;
55539 _ACEOF
55540 if ac_fn_cxx_try_compile "$LINENO"; then :
55541 glibcxx_cv_func__float_round_use=yes
55542 else
55543 glibcxx_cv_func__float_round_use=no
55545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55546 ac_ext=c
55547 ac_cpp='$CPP $CPPFLAGS'
55548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
55555 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
55556 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
55557 for ac_func in _ceilf _floorf
55558 do :
55559 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55560 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55561 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
55562 cat >>confdefs.h <<_ACEOF
55563 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55564 _ACEOF
55567 done
55577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
55578 $as_echo_n "checking for expf declaration... " >&6; }
55579 if test x${glibcxx_cv_func_expf_use+set} != xset; then
55580 if ${glibcxx_cv_func_expf_use+:} false; then :
55581 $as_echo_n "(cached) " >&6
55582 else
55585 ac_ext=cpp
55586 ac_cpp='$CXXCPP $CPPFLAGS'
55587 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55588 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55589 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55592 /* end confdefs.h. */
55593 #include <math.h>
55594 #ifdef HAVE_IEEEFP_H
55595 #include <ieeefp.h>
55596 #endif
55599 main ()
55601 expf(0);
55603 return 0;
55605 _ACEOF
55606 if ac_fn_cxx_try_compile "$LINENO"; then :
55607 glibcxx_cv_func_expf_use=yes
55608 else
55609 glibcxx_cv_func_expf_use=no
55611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55612 ac_ext=c
55613 ac_cpp='$CPP $CPPFLAGS'
55614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
55623 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
55625 if test x$glibcxx_cv_func_expf_use = x"yes"; then
55626 for ac_func in expf
55627 do :
55628 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
55629 if test "x$ac_cv_func_expf" = xyes; then :
55630 cat >>confdefs.h <<_ACEOF
55631 #define HAVE_EXPF 1
55632 _ACEOF
55635 done
55637 else
55639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
55640 $as_echo_n "checking for _expf declaration... " >&6; }
55641 if test x${glibcxx_cv_func__expf_use+set} != xset; then
55642 if ${glibcxx_cv_func__expf_use+:} false; then :
55643 $as_echo_n "(cached) " >&6
55644 else
55647 ac_ext=cpp
55648 ac_cpp='$CXXCPP $CPPFLAGS'
55649 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55650 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55651 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55654 /* end confdefs.h. */
55655 #include <math.h>
55656 #ifdef HAVE_IEEEFP_H
55657 #include <ieeefp.h>
55658 #endif
55661 main ()
55663 _expf(0);
55665 return 0;
55667 _ACEOF
55668 if ac_fn_cxx_try_compile "$LINENO"; then :
55669 glibcxx_cv_func__expf_use=yes
55670 else
55671 glibcxx_cv_func__expf_use=no
55673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55674 ac_ext=c
55675 ac_cpp='$CPP $CPPFLAGS'
55676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
55685 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
55687 if test x$glibcxx_cv_func__expf_use = x"yes"; then
55688 for ac_func in _expf
55689 do :
55690 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
55691 if test "x$ac_cv_func__expf" = xyes; then :
55692 cat >>confdefs.h <<_ACEOF
55693 #define HAVE__EXPF 1
55694 _ACEOF
55697 done
55706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
55707 $as_echo_n "checking for isnanf declaration... " >&6; }
55708 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
55709 if ${glibcxx_cv_func_isnanf_use+:} false; then :
55710 $as_echo_n "(cached) " >&6
55711 else
55714 ac_ext=cpp
55715 ac_cpp='$CXXCPP $CPPFLAGS'
55716 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55717 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55718 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55721 /* end confdefs.h. */
55722 #include <math.h>
55723 #ifdef HAVE_IEEEFP_H
55724 #include <ieeefp.h>
55725 #endif
55728 main ()
55730 isnanf(0);
55732 return 0;
55734 _ACEOF
55735 if ac_fn_cxx_try_compile "$LINENO"; then :
55736 glibcxx_cv_func_isnanf_use=yes
55737 else
55738 glibcxx_cv_func_isnanf_use=no
55740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55741 ac_ext=c
55742 ac_cpp='$CPP $CPPFLAGS'
55743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55744 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
55752 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
55754 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
55755 for ac_func in isnanf
55756 do :
55757 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
55758 if test "x$ac_cv_func_isnanf" = xyes; then :
55759 cat >>confdefs.h <<_ACEOF
55760 #define HAVE_ISNANF 1
55761 _ACEOF
55764 done
55766 else
55768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
55769 $as_echo_n "checking for _isnanf declaration... " >&6; }
55770 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
55771 if ${glibcxx_cv_func__isnanf_use+:} false; then :
55772 $as_echo_n "(cached) " >&6
55773 else
55776 ac_ext=cpp
55777 ac_cpp='$CXXCPP $CPPFLAGS'
55778 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55779 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55780 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55783 /* end confdefs.h. */
55784 #include <math.h>
55785 #ifdef HAVE_IEEEFP_H
55786 #include <ieeefp.h>
55787 #endif
55790 main ()
55792 _isnanf(0);
55794 return 0;
55796 _ACEOF
55797 if ac_fn_cxx_try_compile "$LINENO"; then :
55798 glibcxx_cv_func__isnanf_use=yes
55799 else
55800 glibcxx_cv_func__isnanf_use=no
55802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55803 ac_ext=c
55804 ac_cpp='$CPP $CPPFLAGS'
55805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
55814 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
55816 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
55817 for ac_func in _isnanf
55818 do :
55819 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
55820 if test "x$ac_cv_func__isnanf" = xyes; then :
55821 cat >>confdefs.h <<_ACEOF
55822 #define HAVE__ISNANF 1
55823 _ACEOF
55826 done
55835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
55836 $as_echo_n "checking for isinff declaration... " >&6; }
55837 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
55838 if ${glibcxx_cv_func_isinff_use+:} false; then :
55839 $as_echo_n "(cached) " >&6
55840 else
55843 ac_ext=cpp
55844 ac_cpp='$CXXCPP $CPPFLAGS'
55845 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55846 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55847 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55850 /* end confdefs.h. */
55851 #include <math.h>
55852 #ifdef HAVE_IEEEFP_H
55853 #include <ieeefp.h>
55854 #endif
55857 main ()
55859 isinff(0);
55861 return 0;
55863 _ACEOF
55864 if ac_fn_cxx_try_compile "$LINENO"; then :
55865 glibcxx_cv_func_isinff_use=yes
55866 else
55867 glibcxx_cv_func_isinff_use=no
55869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55870 ac_ext=c
55871 ac_cpp='$CPP $CPPFLAGS'
55872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
55881 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
55883 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
55884 for ac_func in isinff
55885 do :
55886 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
55887 if test "x$ac_cv_func_isinff" = xyes; then :
55888 cat >>confdefs.h <<_ACEOF
55889 #define HAVE_ISINFF 1
55890 _ACEOF
55893 done
55895 else
55897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
55898 $as_echo_n "checking for _isinff declaration... " >&6; }
55899 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
55900 if ${glibcxx_cv_func__isinff_use+:} false; then :
55901 $as_echo_n "(cached) " >&6
55902 else
55905 ac_ext=cpp
55906 ac_cpp='$CXXCPP $CPPFLAGS'
55907 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55908 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55909 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55912 /* end confdefs.h. */
55913 #include <math.h>
55914 #ifdef HAVE_IEEEFP_H
55915 #include <ieeefp.h>
55916 #endif
55919 main ()
55921 _isinff(0);
55923 return 0;
55925 _ACEOF
55926 if ac_fn_cxx_try_compile "$LINENO"; then :
55927 glibcxx_cv_func__isinff_use=yes
55928 else
55929 glibcxx_cv_func__isinff_use=no
55931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55932 ac_ext=c
55933 ac_cpp='$CPP $CPPFLAGS'
55934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
55943 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
55945 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
55946 for ac_func in _isinff
55947 do :
55948 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
55949 if test "x$ac_cv_func__isinff" = xyes; then :
55950 cat >>confdefs.h <<_ACEOF
55951 #define HAVE__ISINFF 1
55952 _ACEOF
55955 done
55964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
55965 $as_echo_n "checking for atan2f declaration... " >&6; }
55966 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
55967 if ${glibcxx_cv_func_atan2f_use+:} false; then :
55968 $as_echo_n "(cached) " >&6
55969 else
55972 ac_ext=cpp
55973 ac_cpp='$CXXCPP $CPPFLAGS'
55974 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55975 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55976 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55979 /* end confdefs.h. */
55980 #include <math.h>
55982 main ()
55984 atan2f(0, 0);
55986 return 0;
55988 _ACEOF
55989 if ac_fn_cxx_try_compile "$LINENO"; then :
55990 glibcxx_cv_func_atan2f_use=yes
55991 else
55992 glibcxx_cv_func_atan2f_use=no
55994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55995 ac_ext=c
55996 ac_cpp='$CPP $CPPFLAGS'
55997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
56006 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
56008 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
56009 for ac_func in atan2f
56010 do :
56011 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
56012 if test "x$ac_cv_func_atan2f" = xyes; then :
56013 cat >>confdefs.h <<_ACEOF
56014 #define HAVE_ATAN2F 1
56015 _ACEOF
56018 done
56020 else
56022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
56023 $as_echo_n "checking for _atan2f declaration... " >&6; }
56024 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
56025 if ${glibcxx_cv_func__atan2f_use+:} false; then :
56026 $as_echo_n "(cached) " >&6
56027 else
56030 ac_ext=cpp
56031 ac_cpp='$CXXCPP $CPPFLAGS'
56032 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56033 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56034 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56037 /* end confdefs.h. */
56038 #include <math.h>
56040 main ()
56042 _atan2f(0, 0);
56044 return 0;
56046 _ACEOF
56047 if ac_fn_cxx_try_compile "$LINENO"; then :
56048 glibcxx_cv_func__atan2f_use=yes
56049 else
56050 glibcxx_cv_func__atan2f_use=no
56052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56053 ac_ext=c
56054 ac_cpp='$CPP $CPPFLAGS'
56055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56056 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
56064 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
56066 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
56067 for ac_func in _atan2f
56068 do :
56069 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
56070 if test "x$ac_cv_func__atan2f" = xyes; then :
56071 cat >>confdefs.h <<_ACEOF
56072 #define HAVE__ATAN2F 1
56073 _ACEOF
56076 done
56085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
56086 $as_echo_n "checking for fabsf declaration... " >&6; }
56087 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
56088 if ${glibcxx_cv_func_fabsf_use+:} false; then :
56089 $as_echo_n "(cached) " >&6
56090 else
56093 ac_ext=cpp
56094 ac_cpp='$CXXCPP $CPPFLAGS'
56095 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56096 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56097 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56100 /* end confdefs.h. */
56101 #include <math.h>
56102 #ifdef HAVE_IEEEFP_H
56103 #include <ieeefp.h>
56104 #endif
56107 main ()
56109 fabsf(0);
56111 return 0;
56113 _ACEOF
56114 if ac_fn_cxx_try_compile "$LINENO"; then :
56115 glibcxx_cv_func_fabsf_use=yes
56116 else
56117 glibcxx_cv_func_fabsf_use=no
56119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56120 ac_ext=c
56121 ac_cpp='$CPP $CPPFLAGS'
56122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
56131 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
56133 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
56134 for ac_func in fabsf
56135 do :
56136 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
56137 if test "x$ac_cv_func_fabsf" = xyes; then :
56138 cat >>confdefs.h <<_ACEOF
56139 #define HAVE_FABSF 1
56140 _ACEOF
56143 done
56145 else
56147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
56148 $as_echo_n "checking for _fabsf declaration... " >&6; }
56149 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
56150 if ${glibcxx_cv_func__fabsf_use+:} false; then :
56151 $as_echo_n "(cached) " >&6
56152 else
56155 ac_ext=cpp
56156 ac_cpp='$CXXCPP $CPPFLAGS'
56157 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56158 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56159 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56162 /* end confdefs.h. */
56163 #include <math.h>
56164 #ifdef HAVE_IEEEFP_H
56165 #include <ieeefp.h>
56166 #endif
56169 main ()
56171 _fabsf(0);
56173 return 0;
56175 _ACEOF
56176 if ac_fn_cxx_try_compile "$LINENO"; then :
56177 glibcxx_cv_func__fabsf_use=yes
56178 else
56179 glibcxx_cv_func__fabsf_use=no
56181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56182 ac_ext=c
56183 ac_cpp='$CPP $CPPFLAGS'
56184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
56193 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
56195 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
56196 for ac_func in _fabsf
56197 do :
56198 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
56199 if test "x$ac_cv_func__fabsf" = xyes; then :
56200 cat >>confdefs.h <<_ACEOF
56201 #define HAVE__FABSF 1
56202 _ACEOF
56205 done
56214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
56215 $as_echo_n "checking for fmodf declaration... " >&6; }
56216 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
56217 if ${glibcxx_cv_func_fmodf_use+:} false; then :
56218 $as_echo_n "(cached) " >&6
56219 else
56222 ac_ext=cpp
56223 ac_cpp='$CXXCPP $CPPFLAGS'
56224 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56225 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56226 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56229 /* end confdefs.h. */
56230 #include <math.h>
56232 main ()
56234 fmodf(0, 0);
56236 return 0;
56238 _ACEOF
56239 if ac_fn_cxx_try_compile "$LINENO"; then :
56240 glibcxx_cv_func_fmodf_use=yes
56241 else
56242 glibcxx_cv_func_fmodf_use=no
56244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56245 ac_ext=c
56246 ac_cpp='$CPP $CPPFLAGS'
56247 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56248 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56249 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
56256 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
56258 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
56259 for ac_func in fmodf
56260 do :
56261 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
56262 if test "x$ac_cv_func_fmodf" = xyes; then :
56263 cat >>confdefs.h <<_ACEOF
56264 #define HAVE_FMODF 1
56265 _ACEOF
56268 done
56270 else
56272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
56273 $as_echo_n "checking for _fmodf declaration... " >&6; }
56274 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
56275 if ${glibcxx_cv_func__fmodf_use+:} false; then :
56276 $as_echo_n "(cached) " >&6
56277 else
56280 ac_ext=cpp
56281 ac_cpp='$CXXCPP $CPPFLAGS'
56282 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56283 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56284 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56287 /* end confdefs.h. */
56288 #include <math.h>
56290 main ()
56292 _fmodf(0, 0);
56294 return 0;
56296 _ACEOF
56297 if ac_fn_cxx_try_compile "$LINENO"; then :
56298 glibcxx_cv_func__fmodf_use=yes
56299 else
56300 glibcxx_cv_func__fmodf_use=no
56302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56303 ac_ext=c
56304 ac_cpp='$CPP $CPPFLAGS'
56305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
56314 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
56316 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
56317 for ac_func in _fmodf
56318 do :
56319 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
56320 if test "x$ac_cv_func__fmodf" = xyes; then :
56321 cat >>confdefs.h <<_ACEOF
56322 #define HAVE__FMODF 1
56323 _ACEOF
56326 done
56335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
56336 $as_echo_n "checking for frexpf declaration... " >&6; }
56337 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
56338 if ${glibcxx_cv_func_frexpf_use+:} false; then :
56339 $as_echo_n "(cached) " >&6
56340 else
56343 ac_ext=cpp
56344 ac_cpp='$CXXCPP $CPPFLAGS'
56345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56350 /* end confdefs.h. */
56351 #include <math.h>
56353 main ()
56355 frexpf(0, 0);
56357 return 0;
56359 _ACEOF
56360 if ac_fn_cxx_try_compile "$LINENO"; then :
56361 glibcxx_cv_func_frexpf_use=yes
56362 else
56363 glibcxx_cv_func_frexpf_use=no
56365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56366 ac_ext=c
56367 ac_cpp='$CPP $CPPFLAGS'
56368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
56377 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
56379 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
56380 for ac_func in frexpf
56381 do :
56382 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
56383 if test "x$ac_cv_func_frexpf" = xyes; then :
56384 cat >>confdefs.h <<_ACEOF
56385 #define HAVE_FREXPF 1
56386 _ACEOF
56389 done
56391 else
56393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
56394 $as_echo_n "checking for _frexpf declaration... " >&6; }
56395 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
56396 if ${glibcxx_cv_func__frexpf_use+:} false; then :
56397 $as_echo_n "(cached) " >&6
56398 else
56401 ac_ext=cpp
56402 ac_cpp='$CXXCPP $CPPFLAGS'
56403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56404 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56408 /* end confdefs.h. */
56409 #include <math.h>
56411 main ()
56413 _frexpf(0, 0);
56415 return 0;
56417 _ACEOF
56418 if ac_fn_cxx_try_compile "$LINENO"; then :
56419 glibcxx_cv_func__frexpf_use=yes
56420 else
56421 glibcxx_cv_func__frexpf_use=no
56423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56424 ac_ext=c
56425 ac_cpp='$CPP $CPPFLAGS'
56426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
56435 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
56437 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
56438 for ac_func in _frexpf
56439 do :
56440 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
56441 if test "x$ac_cv_func__frexpf" = xyes; then :
56442 cat >>confdefs.h <<_ACEOF
56443 #define HAVE__FREXPF 1
56444 _ACEOF
56447 done
56456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
56457 $as_echo_n "checking for hypotf declaration... " >&6; }
56458 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
56459 if ${glibcxx_cv_func_hypotf_use+:} false; then :
56460 $as_echo_n "(cached) " >&6
56461 else
56464 ac_ext=cpp
56465 ac_cpp='$CXXCPP $CPPFLAGS'
56466 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56467 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56468 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56471 /* end confdefs.h. */
56472 #include <math.h>
56474 main ()
56476 hypotf(0, 0);
56478 return 0;
56480 _ACEOF
56481 if ac_fn_cxx_try_compile "$LINENO"; then :
56482 glibcxx_cv_func_hypotf_use=yes
56483 else
56484 glibcxx_cv_func_hypotf_use=no
56486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56487 ac_ext=c
56488 ac_cpp='$CPP $CPPFLAGS'
56489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
56498 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
56500 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
56501 for ac_func in hypotf
56502 do :
56503 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
56504 if test "x$ac_cv_func_hypotf" = xyes; then :
56505 cat >>confdefs.h <<_ACEOF
56506 #define HAVE_HYPOTF 1
56507 _ACEOF
56510 done
56512 else
56514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
56515 $as_echo_n "checking for _hypotf declaration... " >&6; }
56516 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
56517 if ${glibcxx_cv_func__hypotf_use+:} false; then :
56518 $as_echo_n "(cached) " >&6
56519 else
56522 ac_ext=cpp
56523 ac_cpp='$CXXCPP $CPPFLAGS'
56524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56529 /* end confdefs.h. */
56530 #include <math.h>
56532 main ()
56534 _hypotf(0, 0);
56536 return 0;
56538 _ACEOF
56539 if ac_fn_cxx_try_compile "$LINENO"; then :
56540 glibcxx_cv_func__hypotf_use=yes
56541 else
56542 glibcxx_cv_func__hypotf_use=no
56544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56545 ac_ext=c
56546 ac_cpp='$CPP $CPPFLAGS'
56547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
56556 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
56558 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
56559 for ac_func in _hypotf
56560 do :
56561 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
56562 if test "x$ac_cv_func__hypotf" = xyes; then :
56563 cat >>confdefs.h <<_ACEOF
56564 #define HAVE__HYPOTF 1
56565 _ACEOF
56568 done
56577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
56578 $as_echo_n "checking for ldexpf declaration... " >&6; }
56579 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
56580 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
56581 $as_echo_n "(cached) " >&6
56582 else
56585 ac_ext=cpp
56586 ac_cpp='$CXXCPP $CPPFLAGS'
56587 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56588 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56589 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56592 /* end confdefs.h. */
56593 #include <math.h>
56595 main ()
56597 ldexpf(0, 0);
56599 return 0;
56601 _ACEOF
56602 if ac_fn_cxx_try_compile "$LINENO"; then :
56603 glibcxx_cv_func_ldexpf_use=yes
56604 else
56605 glibcxx_cv_func_ldexpf_use=no
56607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56608 ac_ext=c
56609 ac_cpp='$CPP $CPPFLAGS'
56610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
56619 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
56621 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
56622 for ac_func in ldexpf
56623 do :
56624 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
56625 if test "x$ac_cv_func_ldexpf" = xyes; then :
56626 cat >>confdefs.h <<_ACEOF
56627 #define HAVE_LDEXPF 1
56628 _ACEOF
56631 done
56633 else
56635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
56636 $as_echo_n "checking for _ldexpf declaration... " >&6; }
56637 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
56638 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
56639 $as_echo_n "(cached) " >&6
56640 else
56643 ac_ext=cpp
56644 ac_cpp='$CXXCPP $CPPFLAGS'
56645 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56646 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56647 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56650 /* end confdefs.h. */
56651 #include <math.h>
56653 main ()
56655 _ldexpf(0, 0);
56657 return 0;
56659 _ACEOF
56660 if ac_fn_cxx_try_compile "$LINENO"; then :
56661 glibcxx_cv_func__ldexpf_use=yes
56662 else
56663 glibcxx_cv_func__ldexpf_use=no
56665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56666 ac_ext=c
56667 ac_cpp='$CPP $CPPFLAGS'
56668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
56677 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
56679 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
56680 for ac_func in _ldexpf
56681 do :
56682 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
56683 if test "x$ac_cv_func__ldexpf" = xyes; then :
56684 cat >>confdefs.h <<_ACEOF
56685 #define HAVE__LDEXPF 1
56686 _ACEOF
56689 done
56698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
56699 $as_echo_n "checking for logf declaration... " >&6; }
56700 if test x${glibcxx_cv_func_logf_use+set} != xset; then
56701 if ${glibcxx_cv_func_logf_use+:} false; then :
56702 $as_echo_n "(cached) " >&6
56703 else
56706 ac_ext=cpp
56707 ac_cpp='$CXXCPP $CPPFLAGS'
56708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56713 /* end confdefs.h. */
56714 #include <math.h>
56715 #ifdef HAVE_IEEEFP_H
56716 #include <ieeefp.h>
56717 #endif
56720 main ()
56722 logf(0);
56724 return 0;
56726 _ACEOF
56727 if ac_fn_cxx_try_compile "$LINENO"; then :
56728 glibcxx_cv_func_logf_use=yes
56729 else
56730 glibcxx_cv_func_logf_use=no
56732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56733 ac_ext=c
56734 ac_cpp='$CPP $CPPFLAGS'
56735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
56744 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
56746 if test x$glibcxx_cv_func_logf_use = x"yes"; then
56747 for ac_func in logf
56748 do :
56749 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
56750 if test "x$ac_cv_func_logf" = xyes; then :
56751 cat >>confdefs.h <<_ACEOF
56752 #define HAVE_LOGF 1
56753 _ACEOF
56756 done
56758 else
56760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
56761 $as_echo_n "checking for _logf declaration... " >&6; }
56762 if test x${glibcxx_cv_func__logf_use+set} != xset; then
56763 if ${glibcxx_cv_func__logf_use+:} false; then :
56764 $as_echo_n "(cached) " >&6
56765 else
56768 ac_ext=cpp
56769 ac_cpp='$CXXCPP $CPPFLAGS'
56770 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56771 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56772 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56775 /* end confdefs.h. */
56776 #include <math.h>
56777 #ifdef HAVE_IEEEFP_H
56778 #include <ieeefp.h>
56779 #endif
56782 main ()
56784 _logf(0);
56786 return 0;
56788 _ACEOF
56789 if ac_fn_cxx_try_compile "$LINENO"; then :
56790 glibcxx_cv_func__logf_use=yes
56791 else
56792 glibcxx_cv_func__logf_use=no
56794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56795 ac_ext=c
56796 ac_cpp='$CPP $CPPFLAGS'
56797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
56806 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
56808 if test x$glibcxx_cv_func__logf_use = x"yes"; then
56809 for ac_func in _logf
56810 do :
56811 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
56812 if test "x$ac_cv_func__logf" = xyes; then :
56813 cat >>confdefs.h <<_ACEOF
56814 #define HAVE__LOGF 1
56815 _ACEOF
56818 done
56827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
56828 $as_echo_n "checking for log10f declaration... " >&6; }
56829 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
56830 if ${glibcxx_cv_func_log10f_use+:} false; then :
56831 $as_echo_n "(cached) " >&6
56832 else
56835 ac_ext=cpp
56836 ac_cpp='$CXXCPP $CPPFLAGS'
56837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56842 /* end confdefs.h. */
56843 #include <math.h>
56844 #ifdef HAVE_IEEEFP_H
56845 #include <ieeefp.h>
56846 #endif
56849 main ()
56851 log10f(0);
56853 return 0;
56855 _ACEOF
56856 if ac_fn_cxx_try_compile "$LINENO"; then :
56857 glibcxx_cv_func_log10f_use=yes
56858 else
56859 glibcxx_cv_func_log10f_use=no
56861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56862 ac_ext=c
56863 ac_cpp='$CPP $CPPFLAGS'
56864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
56873 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
56875 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
56876 for ac_func in log10f
56877 do :
56878 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
56879 if test "x$ac_cv_func_log10f" = xyes; then :
56880 cat >>confdefs.h <<_ACEOF
56881 #define HAVE_LOG10F 1
56882 _ACEOF
56885 done
56887 else
56889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
56890 $as_echo_n "checking for _log10f declaration... " >&6; }
56891 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
56892 if ${glibcxx_cv_func__log10f_use+:} false; then :
56893 $as_echo_n "(cached) " >&6
56894 else
56897 ac_ext=cpp
56898 ac_cpp='$CXXCPP $CPPFLAGS'
56899 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56900 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56901 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56904 /* end confdefs.h. */
56905 #include <math.h>
56906 #ifdef HAVE_IEEEFP_H
56907 #include <ieeefp.h>
56908 #endif
56911 main ()
56913 _log10f(0);
56915 return 0;
56917 _ACEOF
56918 if ac_fn_cxx_try_compile "$LINENO"; then :
56919 glibcxx_cv_func__log10f_use=yes
56920 else
56921 glibcxx_cv_func__log10f_use=no
56923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56924 ac_ext=c
56925 ac_cpp='$CPP $CPPFLAGS'
56926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
56935 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
56937 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
56938 for ac_func in _log10f
56939 do :
56940 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
56941 if test "x$ac_cv_func__log10f" = xyes; then :
56942 cat >>confdefs.h <<_ACEOF
56943 #define HAVE__LOG10F 1
56944 _ACEOF
56947 done
56956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
56957 $as_echo_n "checking for modff declaration... " >&6; }
56958 if test x${glibcxx_cv_func_modff_use+set} != xset; then
56959 if ${glibcxx_cv_func_modff_use+:} false; then :
56960 $as_echo_n "(cached) " >&6
56961 else
56964 ac_ext=cpp
56965 ac_cpp='$CXXCPP $CPPFLAGS'
56966 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56967 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56968 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56971 /* end confdefs.h. */
56972 #include <math.h>
56974 main ()
56976 modff(0, 0);
56978 return 0;
56980 _ACEOF
56981 if ac_fn_cxx_try_compile "$LINENO"; then :
56982 glibcxx_cv_func_modff_use=yes
56983 else
56984 glibcxx_cv_func_modff_use=no
56986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56987 ac_ext=c
56988 ac_cpp='$CPP $CPPFLAGS'
56989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
56998 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
57000 if test x$glibcxx_cv_func_modff_use = x"yes"; then
57001 for ac_func in modff
57002 do :
57003 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
57004 if test "x$ac_cv_func_modff" = xyes; then :
57005 cat >>confdefs.h <<_ACEOF
57006 #define HAVE_MODFF 1
57007 _ACEOF
57010 done
57012 else
57014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
57015 $as_echo_n "checking for _modff declaration... " >&6; }
57016 if test x${glibcxx_cv_func__modff_use+set} != xset; then
57017 if ${glibcxx_cv_func__modff_use+:} false; then :
57018 $as_echo_n "(cached) " >&6
57019 else
57022 ac_ext=cpp
57023 ac_cpp='$CXXCPP $CPPFLAGS'
57024 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57025 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57026 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57029 /* end confdefs.h. */
57030 #include <math.h>
57032 main ()
57034 _modff(0, 0);
57036 return 0;
57038 _ACEOF
57039 if ac_fn_cxx_try_compile "$LINENO"; then :
57040 glibcxx_cv_func__modff_use=yes
57041 else
57042 glibcxx_cv_func__modff_use=no
57044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57045 ac_ext=c
57046 ac_cpp='$CPP $CPPFLAGS'
57047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
57056 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
57058 if test x$glibcxx_cv_func__modff_use = x"yes"; then
57059 for ac_func in _modff
57060 do :
57061 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
57062 if test "x$ac_cv_func__modff" = xyes; then :
57063 cat >>confdefs.h <<_ACEOF
57064 #define HAVE__MODFF 1
57065 _ACEOF
57068 done
57077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
57078 $as_echo_n "checking for modf declaration... " >&6; }
57079 if test x${glibcxx_cv_func_modf_use+set} != xset; then
57080 if ${glibcxx_cv_func_modf_use+:} false; then :
57081 $as_echo_n "(cached) " >&6
57082 else
57085 ac_ext=cpp
57086 ac_cpp='$CXXCPP $CPPFLAGS'
57087 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57088 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57089 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57092 /* end confdefs.h. */
57093 #include <math.h>
57095 main ()
57097 modf(0, 0);
57099 return 0;
57101 _ACEOF
57102 if ac_fn_cxx_try_compile "$LINENO"; then :
57103 glibcxx_cv_func_modf_use=yes
57104 else
57105 glibcxx_cv_func_modf_use=no
57107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57108 ac_ext=c
57109 ac_cpp='$CPP $CPPFLAGS'
57110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
57119 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
57121 if test x$glibcxx_cv_func_modf_use = x"yes"; then
57122 for ac_func in modf
57123 do :
57124 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
57125 if test "x$ac_cv_func_modf" = xyes; then :
57126 cat >>confdefs.h <<_ACEOF
57127 #define HAVE_MODF 1
57128 _ACEOF
57131 done
57133 else
57135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
57136 $as_echo_n "checking for _modf declaration... " >&6; }
57137 if test x${glibcxx_cv_func__modf_use+set} != xset; then
57138 if ${glibcxx_cv_func__modf_use+:} false; then :
57139 $as_echo_n "(cached) " >&6
57140 else
57143 ac_ext=cpp
57144 ac_cpp='$CXXCPP $CPPFLAGS'
57145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57150 /* end confdefs.h. */
57151 #include <math.h>
57153 main ()
57155 _modf(0, 0);
57157 return 0;
57159 _ACEOF
57160 if ac_fn_cxx_try_compile "$LINENO"; then :
57161 glibcxx_cv_func__modf_use=yes
57162 else
57163 glibcxx_cv_func__modf_use=no
57165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57166 ac_ext=c
57167 ac_cpp='$CPP $CPPFLAGS'
57168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
57177 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
57179 if test x$glibcxx_cv_func__modf_use = x"yes"; then
57180 for ac_func in _modf
57181 do :
57182 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
57183 if test "x$ac_cv_func__modf" = xyes; then :
57184 cat >>confdefs.h <<_ACEOF
57185 #define HAVE__MODF 1
57186 _ACEOF
57189 done
57198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
57199 $as_echo_n "checking for powf declaration... " >&6; }
57200 if test x${glibcxx_cv_func_powf_use+set} != xset; then
57201 if ${glibcxx_cv_func_powf_use+:} false; then :
57202 $as_echo_n "(cached) " >&6
57203 else
57206 ac_ext=cpp
57207 ac_cpp='$CXXCPP $CPPFLAGS'
57208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57213 /* end confdefs.h. */
57214 #include <math.h>
57216 main ()
57218 powf(0, 0);
57220 return 0;
57222 _ACEOF
57223 if ac_fn_cxx_try_compile "$LINENO"; then :
57224 glibcxx_cv_func_powf_use=yes
57225 else
57226 glibcxx_cv_func_powf_use=no
57228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57229 ac_ext=c
57230 ac_cpp='$CPP $CPPFLAGS'
57231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
57240 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
57242 if test x$glibcxx_cv_func_powf_use = x"yes"; then
57243 for ac_func in powf
57244 do :
57245 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
57246 if test "x$ac_cv_func_powf" = xyes; then :
57247 cat >>confdefs.h <<_ACEOF
57248 #define HAVE_POWF 1
57249 _ACEOF
57252 done
57254 else
57256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
57257 $as_echo_n "checking for _powf declaration... " >&6; }
57258 if test x${glibcxx_cv_func__powf_use+set} != xset; then
57259 if ${glibcxx_cv_func__powf_use+:} false; then :
57260 $as_echo_n "(cached) " >&6
57261 else
57264 ac_ext=cpp
57265 ac_cpp='$CXXCPP $CPPFLAGS'
57266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57271 /* end confdefs.h. */
57272 #include <math.h>
57274 main ()
57276 _powf(0, 0);
57278 return 0;
57280 _ACEOF
57281 if ac_fn_cxx_try_compile "$LINENO"; then :
57282 glibcxx_cv_func__powf_use=yes
57283 else
57284 glibcxx_cv_func__powf_use=no
57286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57287 ac_ext=c
57288 ac_cpp='$CPP $CPPFLAGS'
57289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
57298 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
57300 if test x$glibcxx_cv_func__powf_use = x"yes"; then
57301 for ac_func in _powf
57302 do :
57303 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
57304 if test "x$ac_cv_func__powf" = xyes; then :
57305 cat >>confdefs.h <<_ACEOF
57306 #define HAVE__POWF 1
57307 _ACEOF
57310 done
57319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
57320 $as_echo_n "checking for sqrtf declaration... " >&6; }
57321 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
57322 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
57323 $as_echo_n "(cached) " >&6
57324 else
57327 ac_ext=cpp
57328 ac_cpp='$CXXCPP $CPPFLAGS'
57329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57334 /* end confdefs.h. */
57335 #include <math.h>
57336 #ifdef HAVE_IEEEFP_H
57337 #include <ieeefp.h>
57338 #endif
57341 main ()
57343 sqrtf(0);
57345 return 0;
57347 _ACEOF
57348 if ac_fn_cxx_try_compile "$LINENO"; then :
57349 glibcxx_cv_func_sqrtf_use=yes
57350 else
57351 glibcxx_cv_func_sqrtf_use=no
57353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57354 ac_ext=c
57355 ac_cpp='$CPP $CPPFLAGS'
57356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
57365 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
57367 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
57368 for ac_func in sqrtf
57369 do :
57370 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
57371 if test "x$ac_cv_func_sqrtf" = xyes; then :
57372 cat >>confdefs.h <<_ACEOF
57373 #define HAVE_SQRTF 1
57374 _ACEOF
57377 done
57379 else
57381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
57382 $as_echo_n "checking for _sqrtf declaration... " >&6; }
57383 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
57384 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
57385 $as_echo_n "(cached) " >&6
57386 else
57389 ac_ext=cpp
57390 ac_cpp='$CXXCPP $CPPFLAGS'
57391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57396 /* end confdefs.h. */
57397 #include <math.h>
57398 #ifdef HAVE_IEEEFP_H
57399 #include <ieeefp.h>
57400 #endif
57403 main ()
57405 _sqrtf(0);
57407 return 0;
57409 _ACEOF
57410 if ac_fn_cxx_try_compile "$LINENO"; then :
57411 glibcxx_cv_func__sqrtf_use=yes
57412 else
57413 glibcxx_cv_func__sqrtf_use=no
57415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57416 ac_ext=c
57417 ac_cpp='$CPP $CPPFLAGS'
57418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
57427 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
57429 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
57430 for ac_func in _sqrtf
57431 do :
57432 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
57433 if test "x$ac_cv_func__sqrtf" = xyes; then :
57434 cat >>confdefs.h <<_ACEOF
57435 #define HAVE__SQRTF 1
57436 _ACEOF
57439 done
57448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
57449 $as_echo_n "checking for sincosf declaration... " >&6; }
57450 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
57451 if ${glibcxx_cv_func_sincosf_use+:} false; then :
57452 $as_echo_n "(cached) " >&6
57453 else
57456 ac_ext=cpp
57457 ac_cpp='$CXXCPP $CPPFLAGS'
57458 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57459 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57460 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57463 /* end confdefs.h. */
57464 #include <math.h>
57466 main ()
57468 sincosf(0, 0, 0);
57470 return 0;
57472 _ACEOF
57473 if ac_fn_cxx_try_compile "$LINENO"; then :
57474 glibcxx_cv_func_sincosf_use=yes
57475 else
57476 glibcxx_cv_func_sincosf_use=no
57478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57479 ac_ext=c
57480 ac_cpp='$CPP $CPPFLAGS'
57481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
57490 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
57492 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
57493 for ac_func in sincosf
57494 do :
57495 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
57496 if test "x$ac_cv_func_sincosf" = xyes; then :
57497 cat >>confdefs.h <<_ACEOF
57498 #define HAVE_SINCOSF 1
57499 _ACEOF
57502 done
57504 else
57506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
57507 $as_echo_n "checking for _sincosf declaration... " >&6; }
57508 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
57509 if ${glibcxx_cv_func__sincosf_use+:} false; then :
57510 $as_echo_n "(cached) " >&6
57511 else
57514 ac_ext=cpp
57515 ac_cpp='$CXXCPP $CPPFLAGS'
57516 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57517 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57518 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57521 /* end confdefs.h. */
57522 #include <math.h>
57524 main ()
57526 _sincosf(0, 0, 0);
57528 return 0;
57530 _ACEOF
57531 if ac_fn_cxx_try_compile "$LINENO"; then :
57532 glibcxx_cv_func__sincosf_use=yes
57533 else
57534 glibcxx_cv_func__sincosf_use=no
57536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57537 ac_ext=c
57538 ac_cpp='$CPP $CPPFLAGS'
57539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
57548 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
57550 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
57551 for ac_func in _sincosf
57552 do :
57553 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
57554 if test "x$ac_cv_func__sincosf" = xyes; then :
57555 cat >>confdefs.h <<_ACEOF
57556 #define HAVE__SINCOSF 1
57557 _ACEOF
57560 done
57569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
57570 $as_echo_n "checking for finitef declaration... " >&6; }
57571 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
57572 if ${glibcxx_cv_func_finitef_use+:} false; then :
57573 $as_echo_n "(cached) " >&6
57574 else
57577 ac_ext=cpp
57578 ac_cpp='$CXXCPP $CPPFLAGS'
57579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57584 /* end confdefs.h. */
57585 #include <math.h>
57586 #ifdef HAVE_IEEEFP_H
57587 #include <ieeefp.h>
57588 #endif
57591 main ()
57593 finitef(0);
57595 return 0;
57597 _ACEOF
57598 if ac_fn_cxx_try_compile "$LINENO"; then :
57599 glibcxx_cv_func_finitef_use=yes
57600 else
57601 glibcxx_cv_func_finitef_use=no
57603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57604 ac_ext=c
57605 ac_cpp='$CPP $CPPFLAGS'
57606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
57615 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
57617 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
57618 for ac_func in finitef
57619 do :
57620 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
57621 if test "x$ac_cv_func_finitef" = xyes; then :
57622 cat >>confdefs.h <<_ACEOF
57623 #define HAVE_FINITEF 1
57624 _ACEOF
57627 done
57629 else
57631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
57632 $as_echo_n "checking for _finitef declaration... " >&6; }
57633 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
57634 if ${glibcxx_cv_func__finitef_use+:} false; then :
57635 $as_echo_n "(cached) " >&6
57636 else
57639 ac_ext=cpp
57640 ac_cpp='$CXXCPP $CPPFLAGS'
57641 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57642 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57643 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57646 /* end confdefs.h. */
57647 #include <math.h>
57648 #ifdef HAVE_IEEEFP_H
57649 #include <ieeefp.h>
57650 #endif
57653 main ()
57655 _finitef(0);
57657 return 0;
57659 _ACEOF
57660 if ac_fn_cxx_try_compile "$LINENO"; then :
57661 glibcxx_cv_func__finitef_use=yes
57662 else
57663 glibcxx_cv_func__finitef_use=no
57665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57666 ac_ext=c
57667 ac_cpp='$CPP $CPPFLAGS'
57668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
57677 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
57679 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
57680 for ac_func in _finitef
57681 do :
57682 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
57683 if test "x$ac_cv_func__finitef" = xyes; then :
57684 cat >>confdefs.h <<_ACEOF
57685 #define HAVE__FINITEF 1
57686 _ACEOF
57689 done
57698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
57699 $as_echo_n "checking for long double trig functions... " >&6; }
57700 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
57701 $as_echo_n "(cached) " >&6
57702 else
57705 ac_ext=cpp
57706 ac_cpp='$CXXCPP $CPPFLAGS'
57707 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57708 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57709 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57712 /* end confdefs.h. */
57713 #include <math.h>
57715 main ()
57717 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
57719 return 0;
57721 _ACEOF
57722 if ac_fn_cxx_try_compile "$LINENO"; then :
57723 glibcxx_cv_func_long_double_trig_use=yes
57724 else
57725 glibcxx_cv_func_long_double_trig_use=no
57727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57728 ac_ext=c
57729 ac_cpp='$CPP $CPPFLAGS'
57730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57732 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
57737 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
57738 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
57739 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
57740 do :
57741 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57742 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57743 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
57744 cat >>confdefs.h <<_ACEOF
57745 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57746 _ACEOF
57749 done
57751 else
57752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
57753 $as_echo_n "checking for _long double trig functions... " >&6; }
57754 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
57755 $as_echo_n "(cached) " >&6
57756 else
57759 ac_ext=cpp
57760 ac_cpp='$CXXCPP $CPPFLAGS'
57761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57766 /* end confdefs.h. */
57767 #include <math.h>
57769 main ()
57771 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
57773 return 0;
57775 _ACEOF
57776 if ac_fn_cxx_try_compile "$LINENO"; then :
57777 glibcxx_cv_func__long_double_trig_use=yes
57778 else
57779 glibcxx_cv_func__long_double_trig_use=no
57781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57782 ac_ext=c
57783 ac_cpp='$CPP $CPPFLAGS'
57784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
57791 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
57792 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
57793 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
57794 do :
57795 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57796 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57797 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
57798 cat >>confdefs.h <<_ACEOF
57799 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57800 _ACEOF
57803 done
57812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
57813 $as_echo_n "checking for long double round functions... " >&6; }
57814 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
57815 $as_echo_n "(cached) " >&6
57816 else
57819 ac_ext=cpp
57820 ac_cpp='$CXXCPP $CPPFLAGS'
57821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57826 /* end confdefs.h. */
57827 #include <math.h>
57829 main ()
57831 ceill (0); floorl (0);
57833 return 0;
57835 _ACEOF
57836 if ac_fn_cxx_try_compile "$LINENO"; then :
57837 glibcxx_cv_func_long_double_round_use=yes
57838 else
57839 glibcxx_cv_func_long_double_round_use=no
57841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57842 ac_ext=c
57843 ac_cpp='$CPP $CPPFLAGS'
57844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
57851 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
57852 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
57853 for ac_func in ceill floorl
57854 do :
57855 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57856 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57857 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
57858 cat >>confdefs.h <<_ACEOF
57859 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57860 _ACEOF
57863 done
57865 else
57866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
57867 $as_echo_n "checking for _long double round functions... " >&6; }
57868 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
57869 $as_echo_n "(cached) " >&6
57870 else
57873 ac_ext=cpp
57874 ac_cpp='$CXXCPP $CPPFLAGS'
57875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57880 /* end confdefs.h. */
57881 #include <math.h>
57883 main ()
57885 _ceill (0); _floorl (0);
57887 return 0;
57889 _ACEOF
57890 if ac_fn_cxx_try_compile "$LINENO"; then :
57891 glibcxx_cv_func__long_double_round_use=yes
57892 else
57893 glibcxx_cv_func__long_double_round_use=no
57895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57896 ac_ext=c
57897 ac_cpp='$CPP $CPPFLAGS'
57898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
57905 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
57906 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
57907 for ac_func in _ceill _floorl
57908 do :
57909 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57910 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57911 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
57912 cat >>confdefs.h <<_ACEOF
57913 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57914 _ACEOF
57917 done
57927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
57928 $as_echo_n "checking for isnanl declaration... " >&6; }
57929 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
57930 if ${glibcxx_cv_func_isnanl_use+:} false; then :
57931 $as_echo_n "(cached) " >&6
57932 else
57935 ac_ext=cpp
57936 ac_cpp='$CXXCPP $CPPFLAGS'
57937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57942 /* end confdefs.h. */
57943 #include <math.h>
57944 #ifdef HAVE_IEEEFP_H
57945 #include <ieeefp.h>
57946 #endif
57949 main ()
57951 isnanl(0);
57953 return 0;
57955 _ACEOF
57956 if ac_fn_cxx_try_compile "$LINENO"; then :
57957 glibcxx_cv_func_isnanl_use=yes
57958 else
57959 glibcxx_cv_func_isnanl_use=no
57961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57962 ac_ext=c
57963 ac_cpp='$CPP $CPPFLAGS'
57964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
57973 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
57975 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
57976 for ac_func in isnanl
57977 do :
57978 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
57979 if test "x$ac_cv_func_isnanl" = xyes; then :
57980 cat >>confdefs.h <<_ACEOF
57981 #define HAVE_ISNANL 1
57982 _ACEOF
57985 done
57987 else
57989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
57990 $as_echo_n "checking for _isnanl declaration... " >&6; }
57991 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
57992 if ${glibcxx_cv_func__isnanl_use+:} false; then :
57993 $as_echo_n "(cached) " >&6
57994 else
57997 ac_ext=cpp
57998 ac_cpp='$CXXCPP $CPPFLAGS'
57999 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58000 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58001 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58004 /* end confdefs.h. */
58005 #include <math.h>
58006 #ifdef HAVE_IEEEFP_H
58007 #include <ieeefp.h>
58008 #endif
58011 main ()
58013 _isnanl(0);
58015 return 0;
58017 _ACEOF
58018 if ac_fn_cxx_try_compile "$LINENO"; then :
58019 glibcxx_cv_func__isnanl_use=yes
58020 else
58021 glibcxx_cv_func__isnanl_use=no
58023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58024 ac_ext=c
58025 ac_cpp='$CPP $CPPFLAGS'
58026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
58035 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
58037 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
58038 for ac_func in _isnanl
58039 do :
58040 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
58041 if test "x$ac_cv_func__isnanl" = xyes; then :
58042 cat >>confdefs.h <<_ACEOF
58043 #define HAVE__ISNANL 1
58044 _ACEOF
58047 done
58056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
58057 $as_echo_n "checking for isinfl declaration... " >&6; }
58058 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
58059 if ${glibcxx_cv_func_isinfl_use+:} false; then :
58060 $as_echo_n "(cached) " >&6
58061 else
58064 ac_ext=cpp
58065 ac_cpp='$CXXCPP $CPPFLAGS'
58066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58071 /* end confdefs.h. */
58072 #include <math.h>
58073 #ifdef HAVE_IEEEFP_H
58074 #include <ieeefp.h>
58075 #endif
58078 main ()
58080 isinfl(0);
58082 return 0;
58084 _ACEOF
58085 if ac_fn_cxx_try_compile "$LINENO"; then :
58086 glibcxx_cv_func_isinfl_use=yes
58087 else
58088 glibcxx_cv_func_isinfl_use=no
58090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58091 ac_ext=c
58092 ac_cpp='$CPP $CPPFLAGS'
58093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
58102 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
58104 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
58105 for ac_func in isinfl
58106 do :
58107 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
58108 if test "x$ac_cv_func_isinfl" = xyes; then :
58109 cat >>confdefs.h <<_ACEOF
58110 #define HAVE_ISINFL 1
58111 _ACEOF
58114 done
58116 else
58118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
58119 $as_echo_n "checking for _isinfl declaration... " >&6; }
58120 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
58121 if ${glibcxx_cv_func__isinfl_use+:} false; then :
58122 $as_echo_n "(cached) " >&6
58123 else
58126 ac_ext=cpp
58127 ac_cpp='$CXXCPP $CPPFLAGS'
58128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58133 /* end confdefs.h. */
58134 #include <math.h>
58135 #ifdef HAVE_IEEEFP_H
58136 #include <ieeefp.h>
58137 #endif
58140 main ()
58142 _isinfl(0);
58144 return 0;
58146 _ACEOF
58147 if ac_fn_cxx_try_compile "$LINENO"; then :
58148 glibcxx_cv_func__isinfl_use=yes
58149 else
58150 glibcxx_cv_func__isinfl_use=no
58152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58153 ac_ext=c
58154 ac_cpp='$CPP $CPPFLAGS'
58155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
58164 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
58166 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
58167 for ac_func in _isinfl
58168 do :
58169 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
58170 if test "x$ac_cv_func__isinfl" = xyes; then :
58171 cat >>confdefs.h <<_ACEOF
58172 #define HAVE__ISINFL 1
58173 _ACEOF
58176 done
58185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
58186 $as_echo_n "checking for atan2l declaration... " >&6; }
58187 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
58188 if ${glibcxx_cv_func_atan2l_use+:} false; then :
58189 $as_echo_n "(cached) " >&6
58190 else
58193 ac_ext=cpp
58194 ac_cpp='$CXXCPP $CPPFLAGS'
58195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58200 /* end confdefs.h. */
58201 #include <math.h>
58203 main ()
58205 atan2l(0, 0);
58207 return 0;
58209 _ACEOF
58210 if ac_fn_cxx_try_compile "$LINENO"; then :
58211 glibcxx_cv_func_atan2l_use=yes
58212 else
58213 glibcxx_cv_func_atan2l_use=no
58215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58216 ac_ext=c
58217 ac_cpp='$CPP $CPPFLAGS'
58218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
58227 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
58229 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
58230 for ac_func in atan2l
58231 do :
58232 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
58233 if test "x$ac_cv_func_atan2l" = xyes; then :
58234 cat >>confdefs.h <<_ACEOF
58235 #define HAVE_ATAN2L 1
58236 _ACEOF
58239 done
58241 else
58243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
58244 $as_echo_n "checking for _atan2l declaration... " >&6; }
58245 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
58246 if ${glibcxx_cv_func__atan2l_use+:} false; then :
58247 $as_echo_n "(cached) " >&6
58248 else
58251 ac_ext=cpp
58252 ac_cpp='$CXXCPP $CPPFLAGS'
58253 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58254 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58255 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58258 /* end confdefs.h. */
58259 #include <math.h>
58261 main ()
58263 _atan2l(0, 0);
58265 return 0;
58267 _ACEOF
58268 if ac_fn_cxx_try_compile "$LINENO"; then :
58269 glibcxx_cv_func__atan2l_use=yes
58270 else
58271 glibcxx_cv_func__atan2l_use=no
58273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58274 ac_ext=c
58275 ac_cpp='$CPP $CPPFLAGS'
58276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
58285 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
58287 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
58288 for ac_func in _atan2l
58289 do :
58290 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
58291 if test "x$ac_cv_func__atan2l" = xyes; then :
58292 cat >>confdefs.h <<_ACEOF
58293 #define HAVE__ATAN2L 1
58294 _ACEOF
58297 done
58306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
58307 $as_echo_n "checking for expl declaration... " >&6; }
58308 if test x${glibcxx_cv_func_expl_use+set} != xset; then
58309 if ${glibcxx_cv_func_expl_use+:} false; then :
58310 $as_echo_n "(cached) " >&6
58311 else
58314 ac_ext=cpp
58315 ac_cpp='$CXXCPP $CPPFLAGS'
58316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58321 /* end confdefs.h. */
58322 #include <math.h>
58323 #ifdef HAVE_IEEEFP_H
58324 #include <ieeefp.h>
58325 #endif
58328 main ()
58330 expl(0);
58332 return 0;
58334 _ACEOF
58335 if ac_fn_cxx_try_compile "$LINENO"; then :
58336 glibcxx_cv_func_expl_use=yes
58337 else
58338 glibcxx_cv_func_expl_use=no
58340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58341 ac_ext=c
58342 ac_cpp='$CPP $CPPFLAGS'
58343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
58352 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
58354 if test x$glibcxx_cv_func_expl_use = x"yes"; then
58355 for ac_func in expl
58356 do :
58357 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
58358 if test "x$ac_cv_func_expl" = xyes; then :
58359 cat >>confdefs.h <<_ACEOF
58360 #define HAVE_EXPL 1
58361 _ACEOF
58364 done
58366 else
58368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
58369 $as_echo_n "checking for _expl declaration... " >&6; }
58370 if test x${glibcxx_cv_func__expl_use+set} != xset; then
58371 if ${glibcxx_cv_func__expl_use+:} false; then :
58372 $as_echo_n "(cached) " >&6
58373 else
58376 ac_ext=cpp
58377 ac_cpp='$CXXCPP $CPPFLAGS'
58378 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58379 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58380 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58383 /* end confdefs.h. */
58384 #include <math.h>
58385 #ifdef HAVE_IEEEFP_H
58386 #include <ieeefp.h>
58387 #endif
58390 main ()
58392 _expl(0);
58394 return 0;
58396 _ACEOF
58397 if ac_fn_cxx_try_compile "$LINENO"; then :
58398 glibcxx_cv_func__expl_use=yes
58399 else
58400 glibcxx_cv_func__expl_use=no
58402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58403 ac_ext=c
58404 ac_cpp='$CPP $CPPFLAGS'
58405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
58414 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
58416 if test x$glibcxx_cv_func__expl_use = x"yes"; then
58417 for ac_func in _expl
58418 do :
58419 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
58420 if test "x$ac_cv_func__expl" = xyes; then :
58421 cat >>confdefs.h <<_ACEOF
58422 #define HAVE__EXPL 1
58423 _ACEOF
58426 done
58435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
58436 $as_echo_n "checking for fabsl declaration... " >&6; }
58437 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
58438 if ${glibcxx_cv_func_fabsl_use+:} false; then :
58439 $as_echo_n "(cached) " >&6
58440 else
58443 ac_ext=cpp
58444 ac_cpp='$CXXCPP $CPPFLAGS'
58445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58450 /* end confdefs.h. */
58451 #include <math.h>
58452 #ifdef HAVE_IEEEFP_H
58453 #include <ieeefp.h>
58454 #endif
58457 main ()
58459 fabsl(0);
58461 return 0;
58463 _ACEOF
58464 if ac_fn_cxx_try_compile "$LINENO"; then :
58465 glibcxx_cv_func_fabsl_use=yes
58466 else
58467 glibcxx_cv_func_fabsl_use=no
58469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58470 ac_ext=c
58471 ac_cpp='$CPP $CPPFLAGS'
58472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
58481 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
58483 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
58484 for ac_func in fabsl
58485 do :
58486 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
58487 if test "x$ac_cv_func_fabsl" = xyes; then :
58488 cat >>confdefs.h <<_ACEOF
58489 #define HAVE_FABSL 1
58490 _ACEOF
58493 done
58495 else
58497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
58498 $as_echo_n "checking for _fabsl declaration... " >&6; }
58499 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
58500 if ${glibcxx_cv_func__fabsl_use+:} false; then :
58501 $as_echo_n "(cached) " >&6
58502 else
58505 ac_ext=cpp
58506 ac_cpp='$CXXCPP $CPPFLAGS'
58507 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58508 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58509 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58512 /* end confdefs.h. */
58513 #include <math.h>
58514 #ifdef HAVE_IEEEFP_H
58515 #include <ieeefp.h>
58516 #endif
58519 main ()
58521 _fabsl(0);
58523 return 0;
58525 _ACEOF
58526 if ac_fn_cxx_try_compile "$LINENO"; then :
58527 glibcxx_cv_func__fabsl_use=yes
58528 else
58529 glibcxx_cv_func__fabsl_use=no
58531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58532 ac_ext=c
58533 ac_cpp='$CPP $CPPFLAGS'
58534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
58543 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
58545 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
58546 for ac_func in _fabsl
58547 do :
58548 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
58549 if test "x$ac_cv_func__fabsl" = xyes; then :
58550 cat >>confdefs.h <<_ACEOF
58551 #define HAVE__FABSL 1
58552 _ACEOF
58555 done
58564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
58565 $as_echo_n "checking for fmodl declaration... " >&6; }
58566 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
58567 if ${glibcxx_cv_func_fmodl_use+:} false; then :
58568 $as_echo_n "(cached) " >&6
58569 else
58572 ac_ext=cpp
58573 ac_cpp='$CXXCPP $CPPFLAGS'
58574 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58575 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58576 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58579 /* end confdefs.h. */
58580 #include <math.h>
58582 main ()
58584 fmodl(0, 0);
58586 return 0;
58588 _ACEOF
58589 if ac_fn_cxx_try_compile "$LINENO"; then :
58590 glibcxx_cv_func_fmodl_use=yes
58591 else
58592 glibcxx_cv_func_fmodl_use=no
58594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58595 ac_ext=c
58596 ac_cpp='$CPP $CPPFLAGS'
58597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
58606 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
58608 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
58609 for ac_func in fmodl
58610 do :
58611 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
58612 if test "x$ac_cv_func_fmodl" = xyes; then :
58613 cat >>confdefs.h <<_ACEOF
58614 #define HAVE_FMODL 1
58615 _ACEOF
58618 done
58620 else
58622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
58623 $as_echo_n "checking for _fmodl declaration... " >&6; }
58624 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
58625 if ${glibcxx_cv_func__fmodl_use+:} false; then :
58626 $as_echo_n "(cached) " >&6
58627 else
58630 ac_ext=cpp
58631 ac_cpp='$CXXCPP $CPPFLAGS'
58632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58637 /* end confdefs.h. */
58638 #include <math.h>
58640 main ()
58642 _fmodl(0, 0);
58644 return 0;
58646 _ACEOF
58647 if ac_fn_cxx_try_compile "$LINENO"; then :
58648 glibcxx_cv_func__fmodl_use=yes
58649 else
58650 glibcxx_cv_func__fmodl_use=no
58652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58653 ac_ext=c
58654 ac_cpp='$CPP $CPPFLAGS'
58655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
58664 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
58666 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
58667 for ac_func in _fmodl
58668 do :
58669 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
58670 if test "x$ac_cv_func__fmodl" = xyes; then :
58671 cat >>confdefs.h <<_ACEOF
58672 #define HAVE__FMODL 1
58673 _ACEOF
58676 done
58685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
58686 $as_echo_n "checking for frexpl declaration... " >&6; }
58687 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
58688 if ${glibcxx_cv_func_frexpl_use+:} false; then :
58689 $as_echo_n "(cached) " >&6
58690 else
58693 ac_ext=cpp
58694 ac_cpp='$CXXCPP $CPPFLAGS'
58695 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58696 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58697 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58700 /* end confdefs.h. */
58701 #include <math.h>
58703 main ()
58705 frexpl(0, 0);
58707 return 0;
58709 _ACEOF
58710 if ac_fn_cxx_try_compile "$LINENO"; then :
58711 glibcxx_cv_func_frexpl_use=yes
58712 else
58713 glibcxx_cv_func_frexpl_use=no
58715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58716 ac_ext=c
58717 ac_cpp='$CPP $CPPFLAGS'
58718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
58727 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
58729 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
58730 for ac_func in frexpl
58731 do :
58732 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
58733 if test "x$ac_cv_func_frexpl" = xyes; then :
58734 cat >>confdefs.h <<_ACEOF
58735 #define HAVE_FREXPL 1
58736 _ACEOF
58739 done
58741 else
58743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
58744 $as_echo_n "checking for _frexpl declaration... " >&6; }
58745 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
58746 if ${glibcxx_cv_func__frexpl_use+:} false; then :
58747 $as_echo_n "(cached) " >&6
58748 else
58751 ac_ext=cpp
58752 ac_cpp='$CXXCPP $CPPFLAGS'
58753 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58754 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58755 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58758 /* end confdefs.h. */
58759 #include <math.h>
58761 main ()
58763 _frexpl(0, 0);
58765 return 0;
58767 _ACEOF
58768 if ac_fn_cxx_try_compile "$LINENO"; then :
58769 glibcxx_cv_func__frexpl_use=yes
58770 else
58771 glibcxx_cv_func__frexpl_use=no
58773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58774 ac_ext=c
58775 ac_cpp='$CPP $CPPFLAGS'
58776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
58785 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
58787 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
58788 for ac_func in _frexpl
58789 do :
58790 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
58791 if test "x$ac_cv_func__frexpl" = xyes; then :
58792 cat >>confdefs.h <<_ACEOF
58793 #define HAVE__FREXPL 1
58794 _ACEOF
58797 done
58806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
58807 $as_echo_n "checking for hypotl declaration... " >&6; }
58808 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
58809 if ${glibcxx_cv_func_hypotl_use+:} false; then :
58810 $as_echo_n "(cached) " >&6
58811 else
58814 ac_ext=cpp
58815 ac_cpp='$CXXCPP $CPPFLAGS'
58816 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58817 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58818 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58821 /* end confdefs.h. */
58822 #include <math.h>
58824 main ()
58826 hypotl(0, 0);
58828 return 0;
58830 _ACEOF
58831 if ac_fn_cxx_try_compile "$LINENO"; then :
58832 glibcxx_cv_func_hypotl_use=yes
58833 else
58834 glibcxx_cv_func_hypotl_use=no
58836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58837 ac_ext=c
58838 ac_cpp='$CPP $CPPFLAGS'
58839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
58848 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
58850 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
58851 for ac_func in hypotl
58852 do :
58853 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
58854 if test "x$ac_cv_func_hypotl" = xyes; then :
58855 cat >>confdefs.h <<_ACEOF
58856 #define HAVE_HYPOTL 1
58857 _ACEOF
58860 done
58862 else
58864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
58865 $as_echo_n "checking for _hypotl declaration... " >&6; }
58866 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
58867 if ${glibcxx_cv_func__hypotl_use+:} false; then :
58868 $as_echo_n "(cached) " >&6
58869 else
58872 ac_ext=cpp
58873 ac_cpp='$CXXCPP $CPPFLAGS'
58874 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58875 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58876 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58879 /* end confdefs.h. */
58880 #include <math.h>
58882 main ()
58884 _hypotl(0, 0);
58886 return 0;
58888 _ACEOF
58889 if ac_fn_cxx_try_compile "$LINENO"; then :
58890 glibcxx_cv_func__hypotl_use=yes
58891 else
58892 glibcxx_cv_func__hypotl_use=no
58894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58895 ac_ext=c
58896 ac_cpp='$CPP $CPPFLAGS'
58897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
58906 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
58908 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
58909 for ac_func in _hypotl
58910 do :
58911 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
58912 if test "x$ac_cv_func__hypotl" = xyes; then :
58913 cat >>confdefs.h <<_ACEOF
58914 #define HAVE__HYPOTL 1
58915 _ACEOF
58918 done
58927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
58928 $as_echo_n "checking for ldexpl declaration... " >&6; }
58929 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
58930 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
58931 $as_echo_n "(cached) " >&6
58932 else
58935 ac_ext=cpp
58936 ac_cpp='$CXXCPP $CPPFLAGS'
58937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58942 /* end confdefs.h. */
58943 #include <math.h>
58945 main ()
58947 ldexpl(0, 0);
58949 return 0;
58951 _ACEOF
58952 if ac_fn_cxx_try_compile "$LINENO"; then :
58953 glibcxx_cv_func_ldexpl_use=yes
58954 else
58955 glibcxx_cv_func_ldexpl_use=no
58957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58958 ac_ext=c
58959 ac_cpp='$CPP $CPPFLAGS'
58960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
58969 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
58971 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
58972 for ac_func in ldexpl
58973 do :
58974 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
58975 if test "x$ac_cv_func_ldexpl" = xyes; then :
58976 cat >>confdefs.h <<_ACEOF
58977 #define HAVE_LDEXPL 1
58978 _ACEOF
58981 done
58983 else
58985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
58986 $as_echo_n "checking for _ldexpl declaration... " >&6; }
58987 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
58988 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
58989 $as_echo_n "(cached) " >&6
58990 else
58993 ac_ext=cpp
58994 ac_cpp='$CXXCPP $CPPFLAGS'
58995 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58996 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58997 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59000 /* end confdefs.h. */
59001 #include <math.h>
59003 main ()
59005 _ldexpl(0, 0);
59007 return 0;
59009 _ACEOF
59010 if ac_fn_cxx_try_compile "$LINENO"; then :
59011 glibcxx_cv_func__ldexpl_use=yes
59012 else
59013 glibcxx_cv_func__ldexpl_use=no
59015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59016 ac_ext=c
59017 ac_cpp='$CPP $CPPFLAGS'
59018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
59027 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
59029 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
59030 for ac_func in _ldexpl
59031 do :
59032 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
59033 if test "x$ac_cv_func__ldexpl" = xyes; then :
59034 cat >>confdefs.h <<_ACEOF
59035 #define HAVE__LDEXPL 1
59036 _ACEOF
59039 done
59048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
59049 $as_echo_n "checking for logl declaration... " >&6; }
59050 if test x${glibcxx_cv_func_logl_use+set} != xset; then
59051 if ${glibcxx_cv_func_logl_use+:} false; then :
59052 $as_echo_n "(cached) " >&6
59053 else
59056 ac_ext=cpp
59057 ac_cpp='$CXXCPP $CPPFLAGS'
59058 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59059 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59060 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59063 /* end confdefs.h. */
59064 #include <math.h>
59065 #ifdef HAVE_IEEEFP_H
59066 #include <ieeefp.h>
59067 #endif
59070 main ()
59072 logl(0);
59074 return 0;
59076 _ACEOF
59077 if ac_fn_cxx_try_compile "$LINENO"; then :
59078 glibcxx_cv_func_logl_use=yes
59079 else
59080 glibcxx_cv_func_logl_use=no
59082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59083 ac_ext=c
59084 ac_cpp='$CPP $CPPFLAGS'
59085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
59094 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
59096 if test x$glibcxx_cv_func_logl_use = x"yes"; then
59097 for ac_func in logl
59098 do :
59099 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
59100 if test "x$ac_cv_func_logl" = xyes; then :
59101 cat >>confdefs.h <<_ACEOF
59102 #define HAVE_LOGL 1
59103 _ACEOF
59106 done
59108 else
59110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
59111 $as_echo_n "checking for _logl declaration... " >&6; }
59112 if test x${glibcxx_cv_func__logl_use+set} != xset; then
59113 if ${glibcxx_cv_func__logl_use+:} false; then :
59114 $as_echo_n "(cached) " >&6
59115 else
59118 ac_ext=cpp
59119 ac_cpp='$CXXCPP $CPPFLAGS'
59120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59125 /* end confdefs.h. */
59126 #include <math.h>
59127 #ifdef HAVE_IEEEFP_H
59128 #include <ieeefp.h>
59129 #endif
59132 main ()
59134 _logl(0);
59136 return 0;
59138 _ACEOF
59139 if ac_fn_cxx_try_compile "$LINENO"; then :
59140 glibcxx_cv_func__logl_use=yes
59141 else
59142 glibcxx_cv_func__logl_use=no
59144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59145 ac_ext=c
59146 ac_cpp='$CPP $CPPFLAGS'
59147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
59156 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
59158 if test x$glibcxx_cv_func__logl_use = x"yes"; then
59159 for ac_func in _logl
59160 do :
59161 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
59162 if test "x$ac_cv_func__logl" = xyes; then :
59163 cat >>confdefs.h <<_ACEOF
59164 #define HAVE__LOGL 1
59165 _ACEOF
59168 done
59177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
59178 $as_echo_n "checking for log10l declaration... " >&6; }
59179 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
59180 if ${glibcxx_cv_func_log10l_use+:} false; then :
59181 $as_echo_n "(cached) " >&6
59182 else
59185 ac_ext=cpp
59186 ac_cpp='$CXXCPP $CPPFLAGS'
59187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59192 /* end confdefs.h. */
59193 #include <math.h>
59194 #ifdef HAVE_IEEEFP_H
59195 #include <ieeefp.h>
59196 #endif
59199 main ()
59201 log10l(0);
59203 return 0;
59205 _ACEOF
59206 if ac_fn_cxx_try_compile "$LINENO"; then :
59207 glibcxx_cv_func_log10l_use=yes
59208 else
59209 glibcxx_cv_func_log10l_use=no
59211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59212 ac_ext=c
59213 ac_cpp='$CPP $CPPFLAGS'
59214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
59223 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
59225 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
59226 for ac_func in log10l
59227 do :
59228 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
59229 if test "x$ac_cv_func_log10l" = xyes; then :
59230 cat >>confdefs.h <<_ACEOF
59231 #define HAVE_LOG10L 1
59232 _ACEOF
59235 done
59237 else
59239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
59240 $as_echo_n "checking for _log10l declaration... " >&6; }
59241 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
59242 if ${glibcxx_cv_func__log10l_use+:} false; then :
59243 $as_echo_n "(cached) " >&6
59244 else
59247 ac_ext=cpp
59248 ac_cpp='$CXXCPP $CPPFLAGS'
59249 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59250 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59251 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59254 /* end confdefs.h. */
59255 #include <math.h>
59256 #ifdef HAVE_IEEEFP_H
59257 #include <ieeefp.h>
59258 #endif
59261 main ()
59263 _log10l(0);
59265 return 0;
59267 _ACEOF
59268 if ac_fn_cxx_try_compile "$LINENO"; then :
59269 glibcxx_cv_func__log10l_use=yes
59270 else
59271 glibcxx_cv_func__log10l_use=no
59273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59274 ac_ext=c
59275 ac_cpp='$CPP $CPPFLAGS'
59276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
59285 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
59287 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
59288 for ac_func in _log10l
59289 do :
59290 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
59291 if test "x$ac_cv_func__log10l" = xyes; then :
59292 cat >>confdefs.h <<_ACEOF
59293 #define HAVE__LOG10L 1
59294 _ACEOF
59297 done
59306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
59307 $as_echo_n "checking for modfl declaration... " >&6; }
59308 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
59309 if ${glibcxx_cv_func_modfl_use+:} false; then :
59310 $as_echo_n "(cached) " >&6
59311 else
59314 ac_ext=cpp
59315 ac_cpp='$CXXCPP $CPPFLAGS'
59316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59321 /* end confdefs.h. */
59322 #include <math.h>
59324 main ()
59326 modfl(0, 0);
59328 return 0;
59330 _ACEOF
59331 if ac_fn_cxx_try_compile "$LINENO"; then :
59332 glibcxx_cv_func_modfl_use=yes
59333 else
59334 glibcxx_cv_func_modfl_use=no
59336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59337 ac_ext=c
59338 ac_cpp='$CPP $CPPFLAGS'
59339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
59348 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
59350 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
59351 for ac_func in modfl
59352 do :
59353 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
59354 if test "x$ac_cv_func_modfl" = xyes; then :
59355 cat >>confdefs.h <<_ACEOF
59356 #define HAVE_MODFL 1
59357 _ACEOF
59360 done
59362 else
59364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
59365 $as_echo_n "checking for _modfl declaration... " >&6; }
59366 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
59367 if ${glibcxx_cv_func__modfl_use+:} false; then :
59368 $as_echo_n "(cached) " >&6
59369 else
59372 ac_ext=cpp
59373 ac_cpp='$CXXCPP $CPPFLAGS'
59374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59379 /* end confdefs.h. */
59380 #include <math.h>
59382 main ()
59384 _modfl(0, 0);
59386 return 0;
59388 _ACEOF
59389 if ac_fn_cxx_try_compile "$LINENO"; then :
59390 glibcxx_cv_func__modfl_use=yes
59391 else
59392 glibcxx_cv_func__modfl_use=no
59394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59395 ac_ext=c
59396 ac_cpp='$CPP $CPPFLAGS'
59397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
59406 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
59408 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
59409 for ac_func in _modfl
59410 do :
59411 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
59412 if test "x$ac_cv_func__modfl" = xyes; then :
59413 cat >>confdefs.h <<_ACEOF
59414 #define HAVE__MODFL 1
59415 _ACEOF
59418 done
59427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
59428 $as_echo_n "checking for powl declaration... " >&6; }
59429 if test x${glibcxx_cv_func_powl_use+set} != xset; then
59430 if ${glibcxx_cv_func_powl_use+:} false; then :
59431 $as_echo_n "(cached) " >&6
59432 else
59435 ac_ext=cpp
59436 ac_cpp='$CXXCPP $CPPFLAGS'
59437 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59438 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59439 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59442 /* end confdefs.h. */
59443 #include <math.h>
59445 main ()
59447 powl(0, 0);
59449 return 0;
59451 _ACEOF
59452 if ac_fn_cxx_try_compile "$LINENO"; then :
59453 glibcxx_cv_func_powl_use=yes
59454 else
59455 glibcxx_cv_func_powl_use=no
59457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59458 ac_ext=c
59459 ac_cpp='$CPP $CPPFLAGS'
59460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
59469 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
59471 if test x$glibcxx_cv_func_powl_use = x"yes"; then
59472 for ac_func in powl
59473 do :
59474 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
59475 if test "x$ac_cv_func_powl" = xyes; then :
59476 cat >>confdefs.h <<_ACEOF
59477 #define HAVE_POWL 1
59478 _ACEOF
59481 done
59483 else
59485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
59486 $as_echo_n "checking for _powl declaration... " >&6; }
59487 if test x${glibcxx_cv_func__powl_use+set} != xset; then
59488 if ${glibcxx_cv_func__powl_use+:} false; then :
59489 $as_echo_n "(cached) " >&6
59490 else
59493 ac_ext=cpp
59494 ac_cpp='$CXXCPP $CPPFLAGS'
59495 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59496 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59497 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59500 /* end confdefs.h. */
59501 #include <math.h>
59503 main ()
59505 _powl(0, 0);
59507 return 0;
59509 _ACEOF
59510 if ac_fn_cxx_try_compile "$LINENO"; then :
59511 glibcxx_cv_func__powl_use=yes
59512 else
59513 glibcxx_cv_func__powl_use=no
59515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59516 ac_ext=c
59517 ac_cpp='$CPP $CPPFLAGS'
59518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
59527 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
59529 if test x$glibcxx_cv_func__powl_use = x"yes"; then
59530 for ac_func in _powl
59531 do :
59532 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
59533 if test "x$ac_cv_func__powl" = xyes; then :
59534 cat >>confdefs.h <<_ACEOF
59535 #define HAVE__POWL 1
59536 _ACEOF
59539 done
59548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
59549 $as_echo_n "checking for sqrtl declaration... " >&6; }
59550 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
59551 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
59552 $as_echo_n "(cached) " >&6
59553 else
59556 ac_ext=cpp
59557 ac_cpp='$CXXCPP $CPPFLAGS'
59558 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59559 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59560 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59563 /* end confdefs.h. */
59564 #include <math.h>
59565 #ifdef HAVE_IEEEFP_H
59566 #include <ieeefp.h>
59567 #endif
59570 main ()
59572 sqrtl(0);
59574 return 0;
59576 _ACEOF
59577 if ac_fn_cxx_try_compile "$LINENO"; then :
59578 glibcxx_cv_func_sqrtl_use=yes
59579 else
59580 glibcxx_cv_func_sqrtl_use=no
59582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59583 ac_ext=c
59584 ac_cpp='$CPP $CPPFLAGS'
59585 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59586 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59587 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
59594 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
59596 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
59597 for ac_func in sqrtl
59598 do :
59599 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
59600 if test "x$ac_cv_func_sqrtl" = xyes; then :
59601 cat >>confdefs.h <<_ACEOF
59602 #define HAVE_SQRTL 1
59603 _ACEOF
59606 done
59608 else
59610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
59611 $as_echo_n "checking for _sqrtl declaration... " >&6; }
59612 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
59613 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
59614 $as_echo_n "(cached) " >&6
59615 else
59618 ac_ext=cpp
59619 ac_cpp='$CXXCPP $CPPFLAGS'
59620 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59621 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59622 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59625 /* end confdefs.h. */
59626 #include <math.h>
59627 #ifdef HAVE_IEEEFP_H
59628 #include <ieeefp.h>
59629 #endif
59632 main ()
59634 _sqrtl(0);
59636 return 0;
59638 _ACEOF
59639 if ac_fn_cxx_try_compile "$LINENO"; then :
59640 glibcxx_cv_func__sqrtl_use=yes
59641 else
59642 glibcxx_cv_func__sqrtl_use=no
59644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59645 ac_ext=c
59646 ac_cpp='$CPP $CPPFLAGS'
59647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
59656 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
59658 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
59659 for ac_func in _sqrtl
59660 do :
59661 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
59662 if test "x$ac_cv_func__sqrtl" = xyes; then :
59663 cat >>confdefs.h <<_ACEOF
59664 #define HAVE__SQRTL 1
59665 _ACEOF
59668 done
59677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
59678 $as_echo_n "checking for sincosl declaration... " >&6; }
59679 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
59680 if ${glibcxx_cv_func_sincosl_use+:} false; then :
59681 $as_echo_n "(cached) " >&6
59682 else
59685 ac_ext=cpp
59686 ac_cpp='$CXXCPP $CPPFLAGS'
59687 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59688 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59689 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59692 /* end confdefs.h. */
59693 #include <math.h>
59695 main ()
59697 sincosl(0, 0, 0);
59699 return 0;
59701 _ACEOF
59702 if ac_fn_cxx_try_compile "$LINENO"; then :
59703 glibcxx_cv_func_sincosl_use=yes
59704 else
59705 glibcxx_cv_func_sincosl_use=no
59707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59708 ac_ext=c
59709 ac_cpp='$CPP $CPPFLAGS'
59710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
59719 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
59721 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
59722 for ac_func in sincosl
59723 do :
59724 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
59725 if test "x$ac_cv_func_sincosl" = xyes; then :
59726 cat >>confdefs.h <<_ACEOF
59727 #define HAVE_SINCOSL 1
59728 _ACEOF
59731 done
59733 else
59735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
59736 $as_echo_n "checking for _sincosl declaration... " >&6; }
59737 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
59738 if ${glibcxx_cv_func__sincosl_use+:} false; then :
59739 $as_echo_n "(cached) " >&6
59740 else
59743 ac_ext=cpp
59744 ac_cpp='$CXXCPP $CPPFLAGS'
59745 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59746 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59747 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59750 /* end confdefs.h. */
59751 #include <math.h>
59753 main ()
59755 _sincosl(0, 0, 0);
59757 return 0;
59759 _ACEOF
59760 if ac_fn_cxx_try_compile "$LINENO"; then :
59761 glibcxx_cv_func__sincosl_use=yes
59762 else
59763 glibcxx_cv_func__sincosl_use=no
59765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59766 ac_ext=c
59767 ac_cpp='$CPP $CPPFLAGS'
59768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
59777 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
59779 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
59780 for ac_func in _sincosl
59781 do :
59782 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
59783 if test "x$ac_cv_func__sincosl" = xyes; then :
59784 cat >>confdefs.h <<_ACEOF
59785 #define HAVE__SINCOSL 1
59786 _ACEOF
59789 done
59798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
59799 $as_echo_n "checking for finitel declaration... " >&6; }
59800 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
59801 if ${glibcxx_cv_func_finitel_use+:} false; then :
59802 $as_echo_n "(cached) " >&6
59803 else
59806 ac_ext=cpp
59807 ac_cpp='$CXXCPP $CPPFLAGS'
59808 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59809 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59810 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59813 /* end confdefs.h. */
59814 #include <math.h>
59815 #ifdef HAVE_IEEEFP_H
59816 #include <ieeefp.h>
59817 #endif
59820 main ()
59822 finitel(0);
59824 return 0;
59826 _ACEOF
59827 if ac_fn_cxx_try_compile "$LINENO"; then :
59828 glibcxx_cv_func_finitel_use=yes
59829 else
59830 glibcxx_cv_func_finitel_use=no
59832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59833 ac_ext=c
59834 ac_cpp='$CPP $CPPFLAGS'
59835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
59844 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
59846 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
59847 for ac_func in finitel
59848 do :
59849 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
59850 if test "x$ac_cv_func_finitel" = xyes; then :
59851 cat >>confdefs.h <<_ACEOF
59852 #define HAVE_FINITEL 1
59853 _ACEOF
59856 done
59858 else
59860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
59861 $as_echo_n "checking for _finitel declaration... " >&6; }
59862 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
59863 if ${glibcxx_cv_func__finitel_use+:} false; then :
59864 $as_echo_n "(cached) " >&6
59865 else
59868 ac_ext=cpp
59869 ac_cpp='$CXXCPP $CPPFLAGS'
59870 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59871 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59872 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59875 /* end confdefs.h. */
59876 #include <math.h>
59877 #ifdef HAVE_IEEEFP_H
59878 #include <ieeefp.h>
59879 #endif
59882 main ()
59884 _finitel(0);
59886 return 0;
59888 _ACEOF
59889 if ac_fn_cxx_try_compile "$LINENO"; then :
59890 glibcxx_cv_func__finitel_use=yes
59891 else
59892 glibcxx_cv_func__finitel_use=no
59894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59895 ac_ext=c
59896 ac_cpp='$CPP $CPPFLAGS'
59897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
59906 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
59908 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
59909 for ac_func in _finitel
59910 do :
59911 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
59912 if test "x$ac_cv_func__finitel" = xyes; then :
59913 cat >>confdefs.h <<_ACEOF
59914 #define HAVE__FINITEL 1
59915 _ACEOF
59918 done
59926 LIBS="$ac_save_LIBS"
59927 CXXFLAGS="$ac_save_CXXFLAGS"
59930 ac_test_CXXFLAGS="${CXXFLAGS+set}"
59931 ac_save_CXXFLAGS="$CXXFLAGS"
59932 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
59935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
59936 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
59937 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
59938 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
59939 $as_echo_n "(cached) " >&6
59940 else
59943 ac_ext=cpp
59944 ac_cpp='$CXXCPP $CPPFLAGS'
59945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59950 /* end confdefs.h. */
59951 #include <stdlib.h>
59953 main ()
59955 at_quick_exit(0);
59957 return 0;
59959 _ACEOF
59960 if ac_fn_cxx_try_compile "$LINENO"; then :
59961 glibcxx_cv_func_at_quick_exit_use=yes
59962 else
59963 glibcxx_cv_func_at_quick_exit_use=no
59965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59966 ac_ext=c
59967 ac_cpp='$CPP $CPPFLAGS'
59968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
59977 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
59978 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
59979 for ac_func in at_quick_exit
59980 do :
59981 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
59982 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
59983 cat >>confdefs.h <<_ACEOF
59984 #define HAVE_AT_QUICK_EXIT 1
59985 _ACEOF
59988 done
59993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
59994 $as_echo_n "checking for quick_exit declaration... " >&6; }
59995 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
59996 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
59997 $as_echo_n "(cached) " >&6
59998 else
60001 ac_ext=cpp
60002 ac_cpp='$CXXCPP $CPPFLAGS'
60003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60008 /* end confdefs.h. */
60009 #include <stdlib.h>
60011 main ()
60013 quick_exit(0);
60015 return 0;
60017 _ACEOF
60018 if ac_fn_cxx_try_compile "$LINENO"; then :
60019 glibcxx_cv_func_quick_exit_use=yes
60020 else
60021 glibcxx_cv_func_quick_exit_use=no
60023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60024 ac_ext=c
60025 ac_cpp='$CPP $CPPFLAGS'
60026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
60035 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
60036 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
60037 for ac_func in quick_exit
60038 do :
60039 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
60040 if test "x$ac_cv_func_quick_exit" = xyes; then :
60041 cat >>confdefs.h <<_ACEOF
60042 #define HAVE_QUICK_EXIT 1
60043 _ACEOF
60046 done
60051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
60052 $as_echo_n "checking for strtold declaration... " >&6; }
60053 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
60054 if ${glibcxx_cv_func_strtold_use+:} false; then :
60055 $as_echo_n "(cached) " >&6
60056 else
60059 ac_ext=cpp
60060 ac_cpp='$CXXCPP $CPPFLAGS'
60061 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60062 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60063 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60066 /* end confdefs.h. */
60067 #include <stdlib.h>
60069 main ()
60071 strtold(0, 0);
60073 return 0;
60075 _ACEOF
60076 if ac_fn_cxx_try_compile "$LINENO"; then :
60077 glibcxx_cv_func_strtold_use=yes
60078 else
60079 glibcxx_cv_func_strtold_use=no
60081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60082 ac_ext=c
60083 ac_cpp='$CPP $CPPFLAGS'
60084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
60093 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
60094 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
60095 for ac_func in strtold
60096 do :
60097 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
60098 if test "x$ac_cv_func_strtold" = xyes; then :
60099 cat >>confdefs.h <<_ACEOF
60100 #define HAVE_STRTOLD 1
60101 _ACEOF
60104 done
60111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
60112 $as_echo_n "checking for strtof declaration... " >&6; }
60113 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
60114 if ${glibcxx_cv_func_strtof_use+:} false; then :
60115 $as_echo_n "(cached) " >&6
60116 else
60119 ac_ext=cpp
60120 ac_cpp='$CXXCPP $CPPFLAGS'
60121 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60122 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60123 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60126 /* end confdefs.h. */
60127 #include <stdlib.h>
60129 main ()
60131 strtof(0, 0);
60133 return 0;
60135 _ACEOF
60136 if ac_fn_cxx_try_compile "$LINENO"; then :
60137 glibcxx_cv_func_strtof_use=yes
60138 else
60139 glibcxx_cv_func_strtof_use=no
60141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60142 ac_ext=c
60143 ac_cpp='$CPP $CPPFLAGS'
60144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
60153 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
60154 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
60155 for ac_func in strtof
60156 do :
60157 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
60158 if test "x$ac_cv_func_strtof" = xyes; then :
60159 cat >>confdefs.h <<_ACEOF
60160 #define HAVE_STRTOF 1
60161 _ACEOF
60164 done
60171 CXXFLAGS="$ac_save_CXXFLAGS"
60173 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
60174 do :
60175 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60176 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60177 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
60178 cat >>confdefs.h <<_ACEOF
60179 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60180 _ACEOF
60183 done
60185 for ac_func in _wfopen
60186 do :
60187 ac_fn_c_check_func "$LINENO" "_wfopen" "ac_cv_func__wfopen"
60188 if test "x$ac_cv_func__wfopen" = xyes; then :
60189 cat >>confdefs.h <<_ACEOF
60190 #define HAVE__WFOPEN 1
60191 _ACEOF
60194 done
60198 # Check whether --enable-tls was given.
60199 if test "${enable_tls+set}" = set; then :
60200 enableval=$enable_tls;
60201 case "$enableval" in
60202 yes|no) ;;
60203 *) as_fn_error $? "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
60204 esac
60206 else
60207 enable_tls=yes
60211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
60212 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
60213 if ${gcc_cv_have_tls+:} false; then :
60214 $as_echo_n "(cached) " >&6
60215 else
60217 if test "$cross_compiling" = yes; then :
60218 if test x$gcc_no_link = xyes; then
60219 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60222 /* end confdefs.h. */
60223 __thread int a; int b; int main() { return a = b; }
60224 _ACEOF
60225 if ac_fn_c_try_link "$LINENO"; then :
60226 chktls_save_LDFLAGS="$LDFLAGS"
60227 case $host in
60228 *-*-linux* | -*-uclinuxfdpic*)
60229 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
60231 esac
60232 chktls_save_CFLAGS="$CFLAGS"
60233 CFLAGS="-fPIC $CFLAGS"
60234 if test x$gcc_no_link = xyes; then
60235 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60238 /* end confdefs.h. */
60239 int f() { return 0; }
60240 _ACEOF
60241 if ac_fn_c_try_link "$LINENO"; then :
60242 if test x$gcc_no_link = xyes; then
60243 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60246 /* end confdefs.h. */
60247 __thread int a; int b; int f() { return a = b; }
60248 _ACEOF
60249 if ac_fn_c_try_link "$LINENO"; then :
60250 gcc_cv_have_tls=yes
60251 else
60252 gcc_cv_have_tls=no
60254 rm -f core conftest.err conftest.$ac_objext \
60255 conftest$ac_exeext conftest.$ac_ext
60256 else
60257 gcc_cv_have_tls=yes
60259 rm -f core conftest.err conftest.$ac_objext \
60260 conftest$ac_exeext conftest.$ac_ext
60261 CFLAGS="$chktls_save_CFLAGS"
60262 LDFLAGS="$chktls_save_LDFLAGS"
60263 else
60264 gcc_cv_have_tls=no
60266 rm -f core conftest.err conftest.$ac_objext \
60267 conftest$ac_exeext conftest.$ac_ext
60270 else
60271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60272 /* end confdefs.h. */
60273 __thread int a; int b; int main() { return a = b; }
60274 _ACEOF
60275 if ac_fn_c_try_run "$LINENO"; then :
60276 chktls_save_LDFLAGS="$LDFLAGS"
60277 LDFLAGS="-static $LDFLAGS"
60278 if test x$gcc_no_link = xyes; then
60279 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60282 /* end confdefs.h. */
60283 int main() { return 0; }
60284 _ACEOF
60285 if ac_fn_c_try_link "$LINENO"; then :
60286 if test "$cross_compiling" = yes; then :
60287 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
60288 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
60289 as_fn_error $? "cannot run test program while cross compiling
60290 See \`config.log' for more details" "$LINENO" 5; }
60291 else
60292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60293 /* end confdefs.h. */
60294 __thread int a; int b; int main() { return a = b; }
60295 _ACEOF
60296 if ac_fn_c_try_run "$LINENO"; then :
60297 gcc_cv_have_tls=yes
60298 else
60299 gcc_cv_have_tls=no
60301 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
60302 conftest.$ac_objext conftest.beam conftest.$ac_ext
60305 else
60306 gcc_cv_have_tls=yes
60308 rm -f core conftest.err conftest.$ac_objext \
60309 conftest$ac_exeext conftest.$ac_ext
60310 LDFLAGS="$chktls_save_LDFLAGS"
60311 if test $gcc_cv_have_tls = yes; then
60312 chktls_save_CFLAGS="$CFLAGS"
60313 thread_CFLAGS=failed
60314 for flag in '' '-pthread' '-lpthread'; do
60315 CFLAGS="$flag $chktls_save_CFLAGS"
60316 if test x$gcc_no_link = xyes; then
60317 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60320 /* end confdefs.h. */
60321 #include <pthread.h>
60322 void *g(void *d) { return NULL; }
60324 main ()
60326 pthread_t t; pthread_create(&t,NULL,g,NULL);
60328 return 0;
60330 _ACEOF
60331 if ac_fn_c_try_link "$LINENO"; then :
60332 thread_CFLAGS="$flag"
60334 rm -f core conftest.err conftest.$ac_objext \
60335 conftest$ac_exeext conftest.$ac_ext
60336 if test "X$thread_CFLAGS" != Xfailed; then
60337 break
60339 done
60340 CFLAGS="$chktls_save_CFLAGS"
60341 if test "X$thread_CFLAGS" != Xfailed; then
60342 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
60343 if test "$cross_compiling" = yes; then :
60344 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
60345 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
60346 as_fn_error $? "cannot run test program while cross compiling
60347 See \`config.log' for more details" "$LINENO" 5; }
60348 else
60349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60350 /* end confdefs.h. */
60351 #include <pthread.h>
60352 __thread int a;
60353 static int *volatile a_in_other_thread;
60354 static void *
60355 thread_func (void *arg)
60357 a_in_other_thread = &a;
60358 return (void *)0;
60361 main ()
60363 pthread_t thread;
60364 void *thread_retval;
60365 int *volatile a_in_main_thread;
60366 a_in_main_thread = &a;
60367 if (pthread_create (&thread, (pthread_attr_t *)0,
60368 thread_func, (void *)0))
60369 return 0;
60370 if (pthread_join (thread, &thread_retval))
60371 return 0;
60372 return (a_in_other_thread == a_in_main_thread);
60374 return 0;
60376 _ACEOF
60377 if ac_fn_c_try_run "$LINENO"; then :
60378 gcc_cv_have_tls=yes
60379 else
60380 gcc_cv_have_tls=no
60382 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
60383 conftest.$ac_objext conftest.beam conftest.$ac_ext
60386 CFLAGS="$chktls_save_CFLAGS"
60389 else
60390 gcc_cv_have_tls=no
60392 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
60393 conftest.$ac_objext conftest.beam conftest.$ac_ext
60397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
60398 $as_echo "$gcc_cv_have_tls" >&6; }
60399 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
60401 $as_echo "#define HAVE_TLS 1" >>confdefs.h
60405 *-netbsd* | *-openbsd*)
60406 SECTION_FLAGS='-ffunction-sections -fdata-sections'
60409 # If we're not using GNU ld, then there's no point in even trying these
60410 # tests. Check for that first. We should have already tested for gld
60411 # by now (in libtool), but require it now just to be safe...
60412 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
60413 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
60417 # The name set by libtool depends on the version of libtool. Shame on us
60418 # for depending on an impl detail, but c'est la vie. Older versions used
60419 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
60420 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
60421 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
60422 # set (hence we're using an older libtool), then set it.
60423 if test x${with_gnu_ld+set} != xset; then
60424 if test x${ac_cv_prog_gnu_ld+set} != xset; then
60425 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
60426 with_gnu_ld=no
60427 else
60428 with_gnu_ld=$ac_cv_prog_gnu_ld
60432 # Start by getting the version number. I think the libtool test already
60433 # does some of this, but throws away the result.
60434 glibcxx_ld_is_gold=no
60435 if test x"$with_gnu_ld" = x"yes"; then
60436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
60437 $as_echo_n "checking for ld version... " >&6; }
60439 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
60440 glibcxx_ld_is_gold=yes
60442 ldver=`$LD --version 2>/dev/null |
60443 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
60445 glibcxx_gnu_ld_version=`echo $ldver | \
60446 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
60447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
60448 $as_echo "$glibcxx_gnu_ld_version" >&6; }
60451 # Set --gc-sections.
60452 glibcxx_have_gc_sections=no
60453 if test "$glibcxx_ld_is_gold" = "yes"; then
60454 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
60455 glibcxx_have_gc_sections=yes
60457 else
60458 glibcxx_gcsections_min_ld=21602
60459 if test x"$with_gnu_ld" = x"yes" &&
60460 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
60461 glibcxx_have_gc_sections=yes
60464 if test "$glibcxx_have_gc_sections" = "yes"; then
60465 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
60466 # NB: This flag only works reliably after 2.16.1. Configure tests
60467 # for this are difficult, so hard wire a value that should work.
60469 ac_test_CFLAGS="${CFLAGS+set}"
60470 ac_save_CFLAGS="$CFLAGS"
60471 CFLAGS='-Wl,--gc-sections'
60473 # Check for -Wl,--gc-sections
60474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
60475 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
60476 if test x$gcc_no_link = xyes; then
60477 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60480 /* end confdefs.h. */
60481 int one(void) { return 1; }
60482 int two(void) { return 2; }
60485 main ()
60487 two();
60489 return 0;
60491 _ACEOF
60492 if ac_fn_c_try_link "$LINENO"; then :
60493 ac_gcsections=yes
60494 else
60495 ac_gcsections=no
60497 rm -f core conftest.err conftest.$ac_objext \
60498 conftest$ac_exeext conftest.$ac_ext
60499 if test "$ac_gcsections" = "yes"; then
60500 rm -f conftest.c
60501 touch conftest.c
60502 if $CC -c conftest.c; then
60503 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
60504 grep "Warning: gc-sections option ignored" > /dev/null; then
60505 ac_gcsections=no
60508 rm -f conftest.c conftest.o conftest
60510 if test "$ac_gcsections" = "yes"; then
60511 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
60513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
60514 $as_echo "$ac_gcsections" >&6; }
60516 if test "$ac_test_CFLAGS" = set; then
60517 CFLAGS="$ac_save_CFLAGS"
60518 else
60519 # this is the suspicious part
60520 CFLAGS=''
60524 # Set -z,relro.
60525 # Note this is only for shared objects.
60526 ac_ld_relro=no
60527 if test x"$with_gnu_ld" = x"yes"; then
60528 # cygwin and mingw uses PE, which has no ELF relro support,
60529 # multi target ld may confuse configure machinery
60530 case "$host" in
60531 *-*-cygwin*)
60533 *-*-mingw*)
60536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
60537 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
60538 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
60539 if test -n "$cxx_z_relo"; then
60540 OPT_LDFLAGS="-Wl,-z,relro"
60541 ac_ld_relro=yes
60543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
60544 $as_echo "$ac_ld_relro" >&6; }
60545 esac
60548 # Set linker optimization flags.
60549 if test x"$with_gnu_ld" = x"yes"; then
60550 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
60556 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
60558 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
60560 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
60562 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
60564 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
60566 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
60568 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
60570 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
60572 if test x"long_double_math_on_this_cpu" = x"yes"; then
60573 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
60575 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
60577 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
60580 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
60581 do :
60582 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60583 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60584 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
60585 cat >>confdefs.h <<_ACEOF
60586 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60587 _ACEOF
60590 done
60592 for ac_func in timespec_get
60593 do :
60594 ac_fn_c_check_func "$LINENO" "timespec_get" "ac_cv_func_timespec_get"
60595 if test "x$ac_cv_func_timespec_get" = xyes; then :
60596 cat >>confdefs.h <<_ACEOF
60597 #define HAVE_TIMESPEC_GET 1
60598 _ACEOF
60601 done
60603 for ac_func in sockatmark
60604 do :
60605 ac_fn_c_check_func "$LINENO" "sockatmark" "ac_cv_func_sockatmark"
60606 if test "x$ac_cv_func_sockatmark" = xyes; then :
60607 cat >>confdefs.h <<_ACEOF
60608 #define HAVE_SOCKATMARK 1
60609 _ACEOF
60612 done
60615 *-qnx6.1* | *-qnx6.2*)
60616 SECTION_FLAGS='-ffunction-sections -fdata-sections'
60619 # If we're not using GNU ld, then there's no point in even trying these
60620 # tests. Check for that first. We should have already tested for gld
60621 # by now (in libtool), but require it now just to be safe...
60622 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
60623 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
60627 # The name set by libtool depends on the version of libtool. Shame on us
60628 # for depending on an impl detail, but c'est la vie. Older versions used
60629 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
60630 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
60631 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
60632 # set (hence we're using an older libtool), then set it.
60633 if test x${with_gnu_ld+set} != xset; then
60634 if test x${ac_cv_prog_gnu_ld+set} != xset; then
60635 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
60636 with_gnu_ld=no
60637 else
60638 with_gnu_ld=$ac_cv_prog_gnu_ld
60642 # Start by getting the version number. I think the libtool test already
60643 # does some of this, but throws away the result.
60644 glibcxx_ld_is_gold=no
60645 if test x"$with_gnu_ld" = x"yes"; then
60646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
60647 $as_echo_n "checking for ld version... " >&6; }
60649 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
60650 glibcxx_ld_is_gold=yes
60652 ldver=`$LD --version 2>/dev/null |
60653 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
60655 glibcxx_gnu_ld_version=`echo $ldver | \
60656 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
60657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
60658 $as_echo "$glibcxx_gnu_ld_version" >&6; }
60661 # Set --gc-sections.
60662 glibcxx_have_gc_sections=no
60663 if test "$glibcxx_ld_is_gold" = "yes"; then
60664 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
60665 glibcxx_have_gc_sections=yes
60667 else
60668 glibcxx_gcsections_min_ld=21602
60669 if test x"$with_gnu_ld" = x"yes" &&
60670 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
60671 glibcxx_have_gc_sections=yes
60674 if test "$glibcxx_have_gc_sections" = "yes"; then
60675 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
60676 # NB: This flag only works reliably after 2.16.1. Configure tests
60677 # for this are difficult, so hard wire a value that should work.
60679 ac_test_CFLAGS="${CFLAGS+set}"
60680 ac_save_CFLAGS="$CFLAGS"
60681 CFLAGS='-Wl,--gc-sections'
60683 # Check for -Wl,--gc-sections
60684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
60685 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
60686 if test x$gcc_no_link = xyes; then
60687 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60690 /* end confdefs.h. */
60691 int one(void) { return 1; }
60692 int two(void) { return 2; }
60695 main ()
60697 two();
60699 return 0;
60701 _ACEOF
60702 if ac_fn_c_try_link "$LINENO"; then :
60703 ac_gcsections=yes
60704 else
60705 ac_gcsections=no
60707 rm -f core conftest.err conftest.$ac_objext \
60708 conftest$ac_exeext conftest.$ac_ext
60709 if test "$ac_gcsections" = "yes"; then
60710 rm -f conftest.c
60711 touch conftest.c
60712 if $CC -c conftest.c; then
60713 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
60714 grep "Warning: gc-sections option ignored" > /dev/null; then
60715 ac_gcsections=no
60718 rm -f conftest.c conftest.o conftest
60720 if test "$ac_gcsections" = "yes"; then
60721 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
60723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
60724 $as_echo "$ac_gcsections" >&6; }
60726 if test "$ac_test_CFLAGS" = set; then
60727 CFLAGS="$ac_save_CFLAGS"
60728 else
60729 # this is the suspicious part
60730 CFLAGS=''
60734 # Set -z,relro.
60735 # Note this is only for shared objects.
60736 ac_ld_relro=no
60737 if test x"$with_gnu_ld" = x"yes"; then
60738 # cygwin and mingw uses PE, which has no ELF relro support,
60739 # multi target ld may confuse configure machinery
60740 case "$host" in
60741 *-*-cygwin*)
60743 *-*-mingw*)
60746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
60747 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
60748 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
60749 if test -n "$cxx_z_relo"; then
60750 OPT_LDFLAGS="-Wl,-z,relro"
60751 ac_ld_relro=yes
60753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
60754 $as_echo "$ac_ld_relro" >&6; }
60755 esac
60758 # Set linker optimization flags.
60759 if test x"$with_gnu_ld" = x"yes"; then
60760 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
60766 $as_echo "#define HAVE_COSF 1" >>confdefs.h
60768 $as_echo "#define HAVE_COSL 1" >>confdefs.h
60770 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
60772 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
60774 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
60776 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
60778 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
60780 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
60782 $as_echo "#define HAVE_SINF 1" >>confdefs.h
60784 $as_echo "#define HAVE_SINL 1" >>confdefs.h
60786 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
60788 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
60791 *-rtems*)
60793 # All these tests are for C++; save the language and the compiler flags.
60794 # The CXXFLAGS thing is suspicious, but based on similar bits previously
60795 # found in GLIBCXX_CONFIGURE.
60797 ac_ext=cpp
60798 ac_cpp='$CXXCPP $CPPFLAGS'
60799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60800 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60803 ac_test_CXXFLAGS="${CXXFLAGS+set}"
60804 ac_save_CXXFLAGS="$CXXFLAGS"
60806 # Check for -ffunction-sections -fdata-sections
60807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
60808 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
60809 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
60810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60811 /* end confdefs.h. */
60812 int foo; void bar() { };
60814 main ()
60818 return 0;
60820 _ACEOF
60821 if ac_fn_cxx_try_compile "$LINENO"; then :
60822 ac_fdsections=yes
60823 else
60824 ac_fdsections=no
60826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60827 if test "$ac_test_CXXFLAGS" = set; then
60828 CXXFLAGS="$ac_save_CXXFLAGS"
60829 else
60830 # this is the suspicious part
60831 CXXFLAGS=''
60833 if test x"$ac_fdsections" = x"yes"; then
60834 SECTION_FLAGS='-ffunction-sections -fdata-sections'
60836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
60837 $as_echo "$ac_fdsections" >&6; }
60839 ac_ext=c
60840 ac_cpp='$CPP $CPPFLAGS'
60841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60848 # If we're not using GNU ld, then there's no point in even trying these
60849 # tests. Check for that first. We should have already tested for gld
60850 # by now (in libtool), but require it now just to be safe...
60851 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
60852 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
60856 # The name set by libtool depends on the version of libtool. Shame on us
60857 # for depending on an impl detail, but c'est la vie. Older versions used
60858 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
60859 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
60860 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
60861 # set (hence we're using an older libtool), then set it.
60862 if test x${with_gnu_ld+set} != xset; then
60863 if test x${ac_cv_prog_gnu_ld+set} != xset; then
60864 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
60865 with_gnu_ld=no
60866 else
60867 with_gnu_ld=$ac_cv_prog_gnu_ld
60871 # Start by getting the version number. I think the libtool test already
60872 # does some of this, but throws away the result.
60873 glibcxx_ld_is_gold=no
60874 if test x"$with_gnu_ld" = x"yes"; then
60875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
60876 $as_echo_n "checking for ld version... " >&6; }
60878 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
60879 glibcxx_ld_is_gold=yes
60881 ldver=`$LD --version 2>/dev/null |
60882 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
60884 glibcxx_gnu_ld_version=`echo $ldver | \
60885 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
60886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
60887 $as_echo "$glibcxx_gnu_ld_version" >&6; }
60890 # Set --gc-sections.
60891 glibcxx_have_gc_sections=no
60892 if test "$glibcxx_ld_is_gold" = "yes"; then
60893 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
60894 glibcxx_have_gc_sections=yes
60896 else
60897 glibcxx_gcsections_min_ld=21602
60898 if test x"$with_gnu_ld" = x"yes" &&
60899 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
60900 glibcxx_have_gc_sections=yes
60903 if test "$glibcxx_have_gc_sections" = "yes"; then
60904 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
60905 # NB: This flag only works reliably after 2.16.1. Configure tests
60906 # for this are difficult, so hard wire a value that should work.
60908 ac_test_CFLAGS="${CFLAGS+set}"
60909 ac_save_CFLAGS="$CFLAGS"
60910 CFLAGS='-Wl,--gc-sections'
60912 # Check for -Wl,--gc-sections
60913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
60914 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
60915 if test x$gcc_no_link = xyes; then
60916 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60919 /* end confdefs.h. */
60920 int one(void) { return 1; }
60921 int two(void) { return 2; }
60924 main ()
60926 two();
60928 return 0;
60930 _ACEOF
60931 if ac_fn_c_try_link "$LINENO"; then :
60932 ac_gcsections=yes
60933 else
60934 ac_gcsections=no
60936 rm -f core conftest.err conftest.$ac_objext \
60937 conftest$ac_exeext conftest.$ac_ext
60938 if test "$ac_gcsections" = "yes"; then
60939 rm -f conftest.c
60940 touch conftest.c
60941 if $CC -c conftest.c; then
60942 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
60943 grep "Warning: gc-sections option ignored" > /dev/null; then
60944 ac_gcsections=no
60947 rm -f conftest.c conftest.o conftest
60949 if test "$ac_gcsections" = "yes"; then
60950 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
60952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
60953 $as_echo "$ac_gcsections" >&6; }
60955 if test "$ac_test_CFLAGS" = set; then
60956 CFLAGS="$ac_save_CFLAGS"
60957 else
60958 # this is the suspicious part
60959 CFLAGS=''
60963 # Set -z,relro.
60964 # Note this is only for shared objects.
60965 ac_ld_relro=no
60966 if test x"$with_gnu_ld" = x"yes"; then
60967 # cygwin and mingw uses PE, which has no ELF relro support,
60968 # multi target ld may confuse configure machinery
60969 case "$host" in
60970 *-*-cygwin*)
60972 *-*-mingw*)
60975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
60976 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
60977 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
60978 if test -n "$cxx_z_relo"; then
60979 OPT_LDFLAGS="-Wl,-z,relro"
60980 ac_ld_relro=yes
60982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
60983 $as_echo "$ac_ld_relro" >&6; }
60984 esac
60987 # Set linker optimization flags.
60988 if test x"$with_gnu_ld" = x"yes"; then
60989 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
60996 ac_test_CXXFLAGS="${CXXFLAGS+set}"
60997 ac_save_CXXFLAGS="$CXXFLAGS"
60998 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
61000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
61001 $as_echo_n "checking for sin in -lm... " >&6; }
61002 if ${ac_cv_lib_m_sin+:} false; then :
61003 $as_echo_n "(cached) " >&6
61004 else
61005 ac_check_lib_save_LIBS=$LIBS
61006 LIBS="-lm $LIBS"
61007 if test x$gcc_no_link = xyes; then
61008 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
61010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61011 /* end confdefs.h. */
61013 /* Override any GCC internal prototype to avoid an error.
61014 Use char because int might match the return type of a GCC
61015 builtin and then its argument prototype would still apply. */
61016 #ifdef __cplusplus
61017 extern "C"
61018 #endif
61019 char sin ();
61021 main ()
61023 return sin ();
61025 return 0;
61027 _ACEOF
61028 if ac_fn_c_try_link "$LINENO"; then :
61029 ac_cv_lib_m_sin=yes
61030 else
61031 ac_cv_lib_m_sin=no
61033 rm -f core conftest.err conftest.$ac_objext \
61034 conftest$ac_exeext conftest.$ac_ext
61035 LIBS=$ac_check_lib_save_LIBS
61037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
61038 $as_echo "$ac_cv_lib_m_sin" >&6; }
61039 if test "x$ac_cv_lib_m_sin" = xyes; then :
61040 libm="-lm"
61043 ac_save_LIBS="$LIBS"
61044 LIBS="$LIBS $libm"
61048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
61049 $as_echo_n "checking for isinf declaration... " >&6; }
61050 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
61051 if ${glibcxx_cv_func_isinf_use+:} false; then :
61052 $as_echo_n "(cached) " >&6
61053 else
61056 ac_ext=cpp
61057 ac_cpp='$CXXCPP $CPPFLAGS'
61058 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61059 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61060 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61063 /* end confdefs.h. */
61064 #include <math.h>
61065 #ifdef HAVE_IEEEFP_H
61066 #include <ieeefp.h>
61067 #endif
61070 main ()
61072 isinf(0);
61074 return 0;
61076 _ACEOF
61077 if ac_fn_cxx_try_compile "$LINENO"; then :
61078 glibcxx_cv_func_isinf_use=yes
61079 else
61080 glibcxx_cv_func_isinf_use=no
61082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61083 ac_ext=c
61084 ac_cpp='$CPP $CPPFLAGS'
61085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
61094 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
61096 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
61097 for ac_func in isinf
61098 do :
61099 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
61100 if test "x$ac_cv_func_isinf" = xyes; then :
61101 cat >>confdefs.h <<_ACEOF
61102 #define HAVE_ISINF 1
61103 _ACEOF
61106 done
61108 else
61110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
61111 $as_echo_n "checking for _isinf declaration... " >&6; }
61112 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
61113 if ${glibcxx_cv_func__isinf_use+:} false; then :
61114 $as_echo_n "(cached) " >&6
61115 else
61118 ac_ext=cpp
61119 ac_cpp='$CXXCPP $CPPFLAGS'
61120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61125 /* end confdefs.h. */
61126 #include <math.h>
61127 #ifdef HAVE_IEEEFP_H
61128 #include <ieeefp.h>
61129 #endif
61132 main ()
61134 _isinf(0);
61136 return 0;
61138 _ACEOF
61139 if ac_fn_cxx_try_compile "$LINENO"; then :
61140 glibcxx_cv_func__isinf_use=yes
61141 else
61142 glibcxx_cv_func__isinf_use=no
61144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61145 ac_ext=c
61146 ac_cpp='$CPP $CPPFLAGS'
61147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
61156 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
61158 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
61159 for ac_func in _isinf
61160 do :
61161 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
61162 if test "x$ac_cv_func__isinf" = xyes; then :
61163 cat >>confdefs.h <<_ACEOF
61164 #define HAVE__ISINF 1
61165 _ACEOF
61168 done
61177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
61178 $as_echo_n "checking for isnan declaration... " >&6; }
61179 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
61180 if ${glibcxx_cv_func_isnan_use+:} false; then :
61181 $as_echo_n "(cached) " >&6
61182 else
61185 ac_ext=cpp
61186 ac_cpp='$CXXCPP $CPPFLAGS'
61187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61192 /* end confdefs.h. */
61193 #include <math.h>
61194 #ifdef HAVE_IEEEFP_H
61195 #include <ieeefp.h>
61196 #endif
61199 main ()
61201 isnan(0);
61203 return 0;
61205 _ACEOF
61206 if ac_fn_cxx_try_compile "$LINENO"; then :
61207 glibcxx_cv_func_isnan_use=yes
61208 else
61209 glibcxx_cv_func_isnan_use=no
61211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61212 ac_ext=c
61213 ac_cpp='$CPP $CPPFLAGS'
61214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
61223 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
61225 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
61226 for ac_func in isnan
61227 do :
61228 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
61229 if test "x$ac_cv_func_isnan" = xyes; then :
61230 cat >>confdefs.h <<_ACEOF
61231 #define HAVE_ISNAN 1
61232 _ACEOF
61235 done
61237 else
61239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
61240 $as_echo_n "checking for _isnan declaration... " >&6; }
61241 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
61242 if ${glibcxx_cv_func__isnan_use+:} false; then :
61243 $as_echo_n "(cached) " >&6
61244 else
61247 ac_ext=cpp
61248 ac_cpp='$CXXCPP $CPPFLAGS'
61249 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61250 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61251 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61254 /* end confdefs.h. */
61255 #include <math.h>
61256 #ifdef HAVE_IEEEFP_H
61257 #include <ieeefp.h>
61258 #endif
61261 main ()
61263 _isnan(0);
61265 return 0;
61267 _ACEOF
61268 if ac_fn_cxx_try_compile "$LINENO"; then :
61269 glibcxx_cv_func__isnan_use=yes
61270 else
61271 glibcxx_cv_func__isnan_use=no
61273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61274 ac_ext=c
61275 ac_cpp='$CPP $CPPFLAGS'
61276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
61285 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
61287 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
61288 for ac_func in _isnan
61289 do :
61290 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
61291 if test "x$ac_cv_func__isnan" = xyes; then :
61292 cat >>confdefs.h <<_ACEOF
61293 #define HAVE__ISNAN 1
61294 _ACEOF
61297 done
61306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
61307 $as_echo_n "checking for finite declaration... " >&6; }
61308 if test x${glibcxx_cv_func_finite_use+set} != xset; then
61309 if ${glibcxx_cv_func_finite_use+:} false; then :
61310 $as_echo_n "(cached) " >&6
61311 else
61314 ac_ext=cpp
61315 ac_cpp='$CXXCPP $CPPFLAGS'
61316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61321 /* end confdefs.h. */
61322 #include <math.h>
61323 #ifdef HAVE_IEEEFP_H
61324 #include <ieeefp.h>
61325 #endif
61328 main ()
61330 finite(0);
61332 return 0;
61334 _ACEOF
61335 if ac_fn_cxx_try_compile "$LINENO"; then :
61336 glibcxx_cv_func_finite_use=yes
61337 else
61338 glibcxx_cv_func_finite_use=no
61340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61341 ac_ext=c
61342 ac_cpp='$CPP $CPPFLAGS'
61343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
61352 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
61354 if test x$glibcxx_cv_func_finite_use = x"yes"; then
61355 for ac_func in finite
61356 do :
61357 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
61358 if test "x$ac_cv_func_finite" = xyes; then :
61359 cat >>confdefs.h <<_ACEOF
61360 #define HAVE_FINITE 1
61361 _ACEOF
61364 done
61366 else
61368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
61369 $as_echo_n "checking for _finite declaration... " >&6; }
61370 if test x${glibcxx_cv_func__finite_use+set} != xset; then
61371 if ${glibcxx_cv_func__finite_use+:} false; then :
61372 $as_echo_n "(cached) " >&6
61373 else
61376 ac_ext=cpp
61377 ac_cpp='$CXXCPP $CPPFLAGS'
61378 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61379 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61380 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61383 /* end confdefs.h. */
61384 #include <math.h>
61385 #ifdef HAVE_IEEEFP_H
61386 #include <ieeefp.h>
61387 #endif
61390 main ()
61392 _finite(0);
61394 return 0;
61396 _ACEOF
61397 if ac_fn_cxx_try_compile "$LINENO"; then :
61398 glibcxx_cv_func__finite_use=yes
61399 else
61400 glibcxx_cv_func__finite_use=no
61402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61403 ac_ext=c
61404 ac_cpp='$CPP $CPPFLAGS'
61405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
61414 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
61416 if test x$glibcxx_cv_func__finite_use = x"yes"; then
61417 for ac_func in _finite
61418 do :
61419 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
61420 if test "x$ac_cv_func__finite" = xyes; then :
61421 cat >>confdefs.h <<_ACEOF
61422 #define HAVE__FINITE 1
61423 _ACEOF
61426 done
61435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
61436 $as_echo_n "checking for sincos declaration... " >&6; }
61437 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
61438 if ${glibcxx_cv_func_sincos_use+:} false; then :
61439 $as_echo_n "(cached) " >&6
61440 else
61443 ac_ext=cpp
61444 ac_cpp='$CXXCPP $CPPFLAGS'
61445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61450 /* end confdefs.h. */
61451 #include <math.h>
61453 main ()
61455 sincos(0, 0, 0);
61457 return 0;
61459 _ACEOF
61460 if ac_fn_cxx_try_compile "$LINENO"; then :
61461 glibcxx_cv_func_sincos_use=yes
61462 else
61463 glibcxx_cv_func_sincos_use=no
61465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61466 ac_ext=c
61467 ac_cpp='$CPP $CPPFLAGS'
61468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
61477 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
61479 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
61480 for ac_func in sincos
61481 do :
61482 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
61483 if test "x$ac_cv_func_sincos" = xyes; then :
61484 cat >>confdefs.h <<_ACEOF
61485 #define HAVE_SINCOS 1
61486 _ACEOF
61489 done
61491 else
61493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
61494 $as_echo_n "checking for _sincos declaration... " >&6; }
61495 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
61496 if ${glibcxx_cv_func__sincos_use+:} false; then :
61497 $as_echo_n "(cached) " >&6
61498 else
61501 ac_ext=cpp
61502 ac_cpp='$CXXCPP $CPPFLAGS'
61503 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61504 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61505 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61508 /* end confdefs.h. */
61509 #include <math.h>
61511 main ()
61513 _sincos(0, 0, 0);
61515 return 0;
61517 _ACEOF
61518 if ac_fn_cxx_try_compile "$LINENO"; then :
61519 glibcxx_cv_func__sincos_use=yes
61520 else
61521 glibcxx_cv_func__sincos_use=no
61523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61524 ac_ext=c
61525 ac_cpp='$CPP $CPPFLAGS'
61526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
61535 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
61537 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
61538 for ac_func in _sincos
61539 do :
61540 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
61541 if test "x$ac_cv_func__sincos" = xyes; then :
61542 cat >>confdefs.h <<_ACEOF
61543 #define HAVE__SINCOS 1
61544 _ACEOF
61547 done
61556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
61557 $as_echo_n "checking for fpclass declaration... " >&6; }
61558 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
61559 if ${glibcxx_cv_func_fpclass_use+:} false; then :
61560 $as_echo_n "(cached) " >&6
61561 else
61564 ac_ext=cpp
61565 ac_cpp='$CXXCPP $CPPFLAGS'
61566 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61567 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61568 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61571 /* end confdefs.h. */
61572 #include <math.h>
61573 #ifdef HAVE_IEEEFP_H
61574 #include <ieeefp.h>
61575 #endif
61578 main ()
61580 fpclass(0);
61582 return 0;
61584 _ACEOF
61585 if ac_fn_cxx_try_compile "$LINENO"; then :
61586 glibcxx_cv_func_fpclass_use=yes
61587 else
61588 glibcxx_cv_func_fpclass_use=no
61590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61591 ac_ext=c
61592 ac_cpp='$CPP $CPPFLAGS'
61593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
61602 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
61604 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
61605 for ac_func in fpclass
61606 do :
61607 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
61608 if test "x$ac_cv_func_fpclass" = xyes; then :
61609 cat >>confdefs.h <<_ACEOF
61610 #define HAVE_FPCLASS 1
61611 _ACEOF
61614 done
61616 else
61618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
61619 $as_echo_n "checking for _fpclass declaration... " >&6; }
61620 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
61621 if ${glibcxx_cv_func__fpclass_use+:} false; then :
61622 $as_echo_n "(cached) " >&6
61623 else
61626 ac_ext=cpp
61627 ac_cpp='$CXXCPP $CPPFLAGS'
61628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61633 /* end confdefs.h. */
61634 #include <math.h>
61635 #ifdef HAVE_IEEEFP_H
61636 #include <ieeefp.h>
61637 #endif
61640 main ()
61642 _fpclass(0);
61644 return 0;
61646 _ACEOF
61647 if ac_fn_cxx_try_compile "$LINENO"; then :
61648 glibcxx_cv_func__fpclass_use=yes
61649 else
61650 glibcxx_cv_func__fpclass_use=no
61652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61653 ac_ext=c
61654 ac_cpp='$CPP $CPPFLAGS'
61655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
61664 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
61666 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
61667 for ac_func in _fpclass
61668 do :
61669 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
61670 if test "x$ac_cv_func__fpclass" = xyes; then :
61671 cat >>confdefs.h <<_ACEOF
61672 #define HAVE__FPCLASS 1
61673 _ACEOF
61676 done
61685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
61686 $as_echo_n "checking for qfpclass declaration... " >&6; }
61687 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
61688 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
61689 $as_echo_n "(cached) " >&6
61690 else
61693 ac_ext=cpp
61694 ac_cpp='$CXXCPP $CPPFLAGS'
61695 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61696 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61697 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61700 /* end confdefs.h. */
61701 #include <math.h>
61702 #ifdef HAVE_IEEEFP_H
61703 #include <ieeefp.h>
61704 #endif
61707 main ()
61709 qfpclass(0);
61711 return 0;
61713 _ACEOF
61714 if ac_fn_cxx_try_compile "$LINENO"; then :
61715 glibcxx_cv_func_qfpclass_use=yes
61716 else
61717 glibcxx_cv_func_qfpclass_use=no
61719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61720 ac_ext=c
61721 ac_cpp='$CPP $CPPFLAGS'
61722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
61731 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
61733 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
61734 for ac_func in qfpclass
61735 do :
61736 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
61737 if test "x$ac_cv_func_qfpclass" = xyes; then :
61738 cat >>confdefs.h <<_ACEOF
61739 #define HAVE_QFPCLASS 1
61740 _ACEOF
61743 done
61745 else
61747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
61748 $as_echo_n "checking for _qfpclass declaration... " >&6; }
61749 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
61750 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
61751 $as_echo_n "(cached) " >&6
61752 else
61755 ac_ext=cpp
61756 ac_cpp='$CXXCPP $CPPFLAGS'
61757 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61758 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61759 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61762 /* end confdefs.h. */
61763 #include <math.h>
61764 #ifdef HAVE_IEEEFP_H
61765 #include <ieeefp.h>
61766 #endif
61769 main ()
61771 _qfpclass(0);
61773 return 0;
61775 _ACEOF
61776 if ac_fn_cxx_try_compile "$LINENO"; then :
61777 glibcxx_cv_func__qfpclass_use=yes
61778 else
61779 glibcxx_cv_func__qfpclass_use=no
61781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61782 ac_ext=c
61783 ac_cpp='$CPP $CPPFLAGS'
61784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
61793 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
61795 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
61796 for ac_func in _qfpclass
61797 do :
61798 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
61799 if test "x$ac_cv_func__qfpclass" = xyes; then :
61800 cat >>confdefs.h <<_ACEOF
61801 #define HAVE__QFPCLASS 1
61802 _ACEOF
61805 done
61814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
61815 $as_echo_n "checking for hypot declaration... " >&6; }
61816 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
61817 if ${glibcxx_cv_func_hypot_use+:} false; then :
61818 $as_echo_n "(cached) " >&6
61819 else
61822 ac_ext=cpp
61823 ac_cpp='$CXXCPP $CPPFLAGS'
61824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61829 /* end confdefs.h. */
61830 #include <math.h>
61832 main ()
61834 hypot(0, 0);
61836 return 0;
61838 _ACEOF
61839 if ac_fn_cxx_try_compile "$LINENO"; then :
61840 glibcxx_cv_func_hypot_use=yes
61841 else
61842 glibcxx_cv_func_hypot_use=no
61844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61845 ac_ext=c
61846 ac_cpp='$CPP $CPPFLAGS'
61847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
61856 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
61858 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
61859 for ac_func in hypot
61860 do :
61861 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
61862 if test "x$ac_cv_func_hypot" = xyes; then :
61863 cat >>confdefs.h <<_ACEOF
61864 #define HAVE_HYPOT 1
61865 _ACEOF
61868 done
61870 else
61872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
61873 $as_echo_n "checking for _hypot declaration... " >&6; }
61874 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
61875 if ${glibcxx_cv_func__hypot_use+:} false; then :
61876 $as_echo_n "(cached) " >&6
61877 else
61880 ac_ext=cpp
61881 ac_cpp='$CXXCPP $CPPFLAGS'
61882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61887 /* end confdefs.h. */
61888 #include <math.h>
61890 main ()
61892 _hypot(0, 0);
61894 return 0;
61896 _ACEOF
61897 if ac_fn_cxx_try_compile "$LINENO"; then :
61898 glibcxx_cv_func__hypot_use=yes
61899 else
61900 glibcxx_cv_func__hypot_use=no
61902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61903 ac_ext=c
61904 ac_cpp='$CPP $CPPFLAGS'
61905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
61914 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
61916 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
61917 for ac_func in _hypot
61918 do :
61919 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
61920 if test "x$ac_cv_func__hypot" = xyes; then :
61921 cat >>confdefs.h <<_ACEOF
61922 #define HAVE__HYPOT 1
61923 _ACEOF
61926 done
61935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
61936 $as_echo_n "checking for float trig functions... " >&6; }
61937 if ${glibcxx_cv_func_float_trig_use+:} false; then :
61938 $as_echo_n "(cached) " >&6
61939 else
61942 ac_ext=cpp
61943 ac_cpp='$CXXCPP $CPPFLAGS'
61944 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61945 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61946 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61949 /* end confdefs.h. */
61950 #include <math.h>
61952 main ()
61954 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
61956 return 0;
61958 _ACEOF
61959 if ac_fn_cxx_try_compile "$LINENO"; then :
61960 glibcxx_cv_func_float_trig_use=yes
61961 else
61962 glibcxx_cv_func_float_trig_use=no
61964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61965 ac_ext=c
61966 ac_cpp='$CPP $CPPFLAGS'
61967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
61974 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
61975 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
61976 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
61977 do :
61978 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61979 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61980 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
61981 cat >>confdefs.h <<_ACEOF
61982 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61983 _ACEOF
61986 done
61988 else
61989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
61990 $as_echo_n "checking for _float trig functions... " >&6; }
61991 if ${glibcxx_cv_func__float_trig_use+:} false; then :
61992 $as_echo_n "(cached) " >&6
61993 else
61996 ac_ext=cpp
61997 ac_cpp='$CXXCPP $CPPFLAGS'
61998 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61999 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62000 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62003 /* end confdefs.h. */
62004 #include <math.h>
62006 main ()
62008 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
62010 return 0;
62012 _ACEOF
62013 if ac_fn_cxx_try_compile "$LINENO"; then :
62014 glibcxx_cv_func__float_trig_use=yes
62015 else
62016 glibcxx_cv_func__float_trig_use=no
62018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62019 ac_ext=c
62020 ac_cpp='$CPP $CPPFLAGS'
62021 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62022 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62023 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
62028 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
62029 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
62030 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
62031 do :
62032 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62033 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62034 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
62035 cat >>confdefs.h <<_ACEOF
62036 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62037 _ACEOF
62040 done
62049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
62050 $as_echo_n "checking for float round functions... " >&6; }
62051 if ${glibcxx_cv_func_float_round_use+:} false; then :
62052 $as_echo_n "(cached) " >&6
62053 else
62056 ac_ext=cpp
62057 ac_cpp='$CXXCPP $CPPFLAGS'
62058 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62059 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62060 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62063 /* end confdefs.h. */
62064 #include <math.h>
62066 main ()
62068 ceilf (0); floorf (0);
62070 return 0;
62072 _ACEOF
62073 if ac_fn_cxx_try_compile "$LINENO"; then :
62074 glibcxx_cv_func_float_round_use=yes
62075 else
62076 glibcxx_cv_func_float_round_use=no
62078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62079 ac_ext=c
62080 ac_cpp='$CPP $CPPFLAGS'
62081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
62088 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
62089 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
62090 for ac_func in ceilf floorf
62091 do :
62092 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62093 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62094 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
62095 cat >>confdefs.h <<_ACEOF
62096 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62097 _ACEOF
62100 done
62102 else
62103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
62104 $as_echo_n "checking for _float round functions... " >&6; }
62105 if ${glibcxx_cv_func__float_round_use+:} false; then :
62106 $as_echo_n "(cached) " >&6
62107 else
62110 ac_ext=cpp
62111 ac_cpp='$CXXCPP $CPPFLAGS'
62112 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62113 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62114 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62117 /* end confdefs.h. */
62118 #include <math.h>
62120 main ()
62122 _ceilf (0); _floorf (0);
62124 return 0;
62126 _ACEOF
62127 if ac_fn_cxx_try_compile "$LINENO"; then :
62128 glibcxx_cv_func__float_round_use=yes
62129 else
62130 glibcxx_cv_func__float_round_use=no
62132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62133 ac_ext=c
62134 ac_cpp='$CPP $CPPFLAGS'
62135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
62142 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
62143 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
62144 for ac_func in _ceilf _floorf
62145 do :
62146 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62147 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62148 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
62149 cat >>confdefs.h <<_ACEOF
62150 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62151 _ACEOF
62154 done
62164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
62165 $as_echo_n "checking for expf declaration... " >&6; }
62166 if test x${glibcxx_cv_func_expf_use+set} != xset; then
62167 if ${glibcxx_cv_func_expf_use+:} false; then :
62168 $as_echo_n "(cached) " >&6
62169 else
62172 ac_ext=cpp
62173 ac_cpp='$CXXCPP $CPPFLAGS'
62174 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62175 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62176 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62179 /* end confdefs.h. */
62180 #include <math.h>
62181 #ifdef HAVE_IEEEFP_H
62182 #include <ieeefp.h>
62183 #endif
62186 main ()
62188 expf(0);
62190 return 0;
62192 _ACEOF
62193 if ac_fn_cxx_try_compile "$LINENO"; then :
62194 glibcxx_cv_func_expf_use=yes
62195 else
62196 glibcxx_cv_func_expf_use=no
62198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62199 ac_ext=c
62200 ac_cpp='$CPP $CPPFLAGS'
62201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
62210 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
62212 if test x$glibcxx_cv_func_expf_use = x"yes"; then
62213 for ac_func in expf
62214 do :
62215 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
62216 if test "x$ac_cv_func_expf" = xyes; then :
62217 cat >>confdefs.h <<_ACEOF
62218 #define HAVE_EXPF 1
62219 _ACEOF
62222 done
62224 else
62226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
62227 $as_echo_n "checking for _expf declaration... " >&6; }
62228 if test x${glibcxx_cv_func__expf_use+set} != xset; then
62229 if ${glibcxx_cv_func__expf_use+:} false; then :
62230 $as_echo_n "(cached) " >&6
62231 else
62234 ac_ext=cpp
62235 ac_cpp='$CXXCPP $CPPFLAGS'
62236 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62237 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62238 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62241 /* end confdefs.h. */
62242 #include <math.h>
62243 #ifdef HAVE_IEEEFP_H
62244 #include <ieeefp.h>
62245 #endif
62248 main ()
62250 _expf(0);
62252 return 0;
62254 _ACEOF
62255 if ac_fn_cxx_try_compile "$LINENO"; then :
62256 glibcxx_cv_func__expf_use=yes
62257 else
62258 glibcxx_cv_func__expf_use=no
62260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62261 ac_ext=c
62262 ac_cpp='$CPP $CPPFLAGS'
62263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
62272 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
62274 if test x$glibcxx_cv_func__expf_use = x"yes"; then
62275 for ac_func in _expf
62276 do :
62277 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
62278 if test "x$ac_cv_func__expf" = xyes; then :
62279 cat >>confdefs.h <<_ACEOF
62280 #define HAVE__EXPF 1
62281 _ACEOF
62284 done
62293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
62294 $as_echo_n "checking for isnanf declaration... " >&6; }
62295 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
62296 if ${glibcxx_cv_func_isnanf_use+:} false; then :
62297 $as_echo_n "(cached) " >&6
62298 else
62301 ac_ext=cpp
62302 ac_cpp='$CXXCPP $CPPFLAGS'
62303 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62304 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62305 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62308 /* end confdefs.h. */
62309 #include <math.h>
62310 #ifdef HAVE_IEEEFP_H
62311 #include <ieeefp.h>
62312 #endif
62315 main ()
62317 isnanf(0);
62319 return 0;
62321 _ACEOF
62322 if ac_fn_cxx_try_compile "$LINENO"; then :
62323 glibcxx_cv_func_isnanf_use=yes
62324 else
62325 glibcxx_cv_func_isnanf_use=no
62327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62328 ac_ext=c
62329 ac_cpp='$CPP $CPPFLAGS'
62330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
62339 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
62341 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
62342 for ac_func in isnanf
62343 do :
62344 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
62345 if test "x$ac_cv_func_isnanf" = xyes; then :
62346 cat >>confdefs.h <<_ACEOF
62347 #define HAVE_ISNANF 1
62348 _ACEOF
62351 done
62353 else
62355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
62356 $as_echo_n "checking for _isnanf declaration... " >&6; }
62357 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
62358 if ${glibcxx_cv_func__isnanf_use+:} false; then :
62359 $as_echo_n "(cached) " >&6
62360 else
62363 ac_ext=cpp
62364 ac_cpp='$CXXCPP $CPPFLAGS'
62365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62370 /* end confdefs.h. */
62371 #include <math.h>
62372 #ifdef HAVE_IEEEFP_H
62373 #include <ieeefp.h>
62374 #endif
62377 main ()
62379 _isnanf(0);
62381 return 0;
62383 _ACEOF
62384 if ac_fn_cxx_try_compile "$LINENO"; then :
62385 glibcxx_cv_func__isnanf_use=yes
62386 else
62387 glibcxx_cv_func__isnanf_use=no
62389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62390 ac_ext=c
62391 ac_cpp='$CPP $CPPFLAGS'
62392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
62401 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
62403 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
62404 for ac_func in _isnanf
62405 do :
62406 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
62407 if test "x$ac_cv_func__isnanf" = xyes; then :
62408 cat >>confdefs.h <<_ACEOF
62409 #define HAVE__ISNANF 1
62410 _ACEOF
62413 done
62422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
62423 $as_echo_n "checking for isinff declaration... " >&6; }
62424 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
62425 if ${glibcxx_cv_func_isinff_use+:} false; then :
62426 $as_echo_n "(cached) " >&6
62427 else
62430 ac_ext=cpp
62431 ac_cpp='$CXXCPP $CPPFLAGS'
62432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62437 /* end confdefs.h. */
62438 #include <math.h>
62439 #ifdef HAVE_IEEEFP_H
62440 #include <ieeefp.h>
62441 #endif
62444 main ()
62446 isinff(0);
62448 return 0;
62450 _ACEOF
62451 if ac_fn_cxx_try_compile "$LINENO"; then :
62452 glibcxx_cv_func_isinff_use=yes
62453 else
62454 glibcxx_cv_func_isinff_use=no
62456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62457 ac_ext=c
62458 ac_cpp='$CPP $CPPFLAGS'
62459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
62468 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
62470 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
62471 for ac_func in isinff
62472 do :
62473 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
62474 if test "x$ac_cv_func_isinff" = xyes; then :
62475 cat >>confdefs.h <<_ACEOF
62476 #define HAVE_ISINFF 1
62477 _ACEOF
62480 done
62482 else
62484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
62485 $as_echo_n "checking for _isinff declaration... " >&6; }
62486 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
62487 if ${glibcxx_cv_func__isinff_use+:} false; then :
62488 $as_echo_n "(cached) " >&6
62489 else
62492 ac_ext=cpp
62493 ac_cpp='$CXXCPP $CPPFLAGS'
62494 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62495 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62496 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62499 /* end confdefs.h. */
62500 #include <math.h>
62501 #ifdef HAVE_IEEEFP_H
62502 #include <ieeefp.h>
62503 #endif
62506 main ()
62508 _isinff(0);
62510 return 0;
62512 _ACEOF
62513 if ac_fn_cxx_try_compile "$LINENO"; then :
62514 glibcxx_cv_func__isinff_use=yes
62515 else
62516 glibcxx_cv_func__isinff_use=no
62518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62519 ac_ext=c
62520 ac_cpp='$CPP $CPPFLAGS'
62521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
62530 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
62532 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
62533 for ac_func in _isinff
62534 do :
62535 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
62536 if test "x$ac_cv_func__isinff" = xyes; then :
62537 cat >>confdefs.h <<_ACEOF
62538 #define HAVE__ISINFF 1
62539 _ACEOF
62542 done
62551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
62552 $as_echo_n "checking for atan2f declaration... " >&6; }
62553 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
62554 if ${glibcxx_cv_func_atan2f_use+:} false; then :
62555 $as_echo_n "(cached) " >&6
62556 else
62559 ac_ext=cpp
62560 ac_cpp='$CXXCPP $CPPFLAGS'
62561 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62562 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62563 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62566 /* end confdefs.h. */
62567 #include <math.h>
62569 main ()
62571 atan2f(0, 0);
62573 return 0;
62575 _ACEOF
62576 if ac_fn_cxx_try_compile "$LINENO"; then :
62577 glibcxx_cv_func_atan2f_use=yes
62578 else
62579 glibcxx_cv_func_atan2f_use=no
62581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62582 ac_ext=c
62583 ac_cpp='$CPP $CPPFLAGS'
62584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
62593 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
62595 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
62596 for ac_func in atan2f
62597 do :
62598 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
62599 if test "x$ac_cv_func_atan2f" = xyes; then :
62600 cat >>confdefs.h <<_ACEOF
62601 #define HAVE_ATAN2F 1
62602 _ACEOF
62605 done
62607 else
62609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
62610 $as_echo_n "checking for _atan2f declaration... " >&6; }
62611 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
62612 if ${glibcxx_cv_func__atan2f_use+:} false; then :
62613 $as_echo_n "(cached) " >&6
62614 else
62617 ac_ext=cpp
62618 ac_cpp='$CXXCPP $CPPFLAGS'
62619 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62620 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62621 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62624 /* end confdefs.h. */
62625 #include <math.h>
62627 main ()
62629 _atan2f(0, 0);
62631 return 0;
62633 _ACEOF
62634 if ac_fn_cxx_try_compile "$LINENO"; then :
62635 glibcxx_cv_func__atan2f_use=yes
62636 else
62637 glibcxx_cv_func__atan2f_use=no
62639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62640 ac_ext=c
62641 ac_cpp='$CPP $CPPFLAGS'
62642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
62651 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
62653 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
62654 for ac_func in _atan2f
62655 do :
62656 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
62657 if test "x$ac_cv_func__atan2f" = xyes; then :
62658 cat >>confdefs.h <<_ACEOF
62659 #define HAVE__ATAN2F 1
62660 _ACEOF
62663 done
62672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
62673 $as_echo_n "checking for fabsf declaration... " >&6; }
62674 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
62675 if ${glibcxx_cv_func_fabsf_use+:} false; then :
62676 $as_echo_n "(cached) " >&6
62677 else
62680 ac_ext=cpp
62681 ac_cpp='$CXXCPP $CPPFLAGS'
62682 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62683 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62684 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62687 /* end confdefs.h. */
62688 #include <math.h>
62689 #ifdef HAVE_IEEEFP_H
62690 #include <ieeefp.h>
62691 #endif
62694 main ()
62696 fabsf(0);
62698 return 0;
62700 _ACEOF
62701 if ac_fn_cxx_try_compile "$LINENO"; then :
62702 glibcxx_cv_func_fabsf_use=yes
62703 else
62704 glibcxx_cv_func_fabsf_use=no
62706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62707 ac_ext=c
62708 ac_cpp='$CPP $CPPFLAGS'
62709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
62718 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
62720 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
62721 for ac_func in fabsf
62722 do :
62723 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
62724 if test "x$ac_cv_func_fabsf" = xyes; then :
62725 cat >>confdefs.h <<_ACEOF
62726 #define HAVE_FABSF 1
62727 _ACEOF
62730 done
62732 else
62734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
62735 $as_echo_n "checking for _fabsf declaration... " >&6; }
62736 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
62737 if ${glibcxx_cv_func__fabsf_use+:} false; then :
62738 $as_echo_n "(cached) " >&6
62739 else
62742 ac_ext=cpp
62743 ac_cpp='$CXXCPP $CPPFLAGS'
62744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62749 /* end confdefs.h. */
62750 #include <math.h>
62751 #ifdef HAVE_IEEEFP_H
62752 #include <ieeefp.h>
62753 #endif
62756 main ()
62758 _fabsf(0);
62760 return 0;
62762 _ACEOF
62763 if ac_fn_cxx_try_compile "$LINENO"; then :
62764 glibcxx_cv_func__fabsf_use=yes
62765 else
62766 glibcxx_cv_func__fabsf_use=no
62768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62769 ac_ext=c
62770 ac_cpp='$CPP $CPPFLAGS'
62771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
62780 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
62782 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
62783 for ac_func in _fabsf
62784 do :
62785 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
62786 if test "x$ac_cv_func__fabsf" = xyes; then :
62787 cat >>confdefs.h <<_ACEOF
62788 #define HAVE__FABSF 1
62789 _ACEOF
62792 done
62801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
62802 $as_echo_n "checking for fmodf declaration... " >&6; }
62803 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
62804 if ${glibcxx_cv_func_fmodf_use+:} false; then :
62805 $as_echo_n "(cached) " >&6
62806 else
62809 ac_ext=cpp
62810 ac_cpp='$CXXCPP $CPPFLAGS'
62811 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62812 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62813 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62816 /* end confdefs.h. */
62817 #include <math.h>
62819 main ()
62821 fmodf(0, 0);
62823 return 0;
62825 _ACEOF
62826 if ac_fn_cxx_try_compile "$LINENO"; then :
62827 glibcxx_cv_func_fmodf_use=yes
62828 else
62829 glibcxx_cv_func_fmodf_use=no
62831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62832 ac_ext=c
62833 ac_cpp='$CPP $CPPFLAGS'
62834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
62843 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
62845 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
62846 for ac_func in fmodf
62847 do :
62848 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
62849 if test "x$ac_cv_func_fmodf" = xyes; then :
62850 cat >>confdefs.h <<_ACEOF
62851 #define HAVE_FMODF 1
62852 _ACEOF
62855 done
62857 else
62859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
62860 $as_echo_n "checking for _fmodf declaration... " >&6; }
62861 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
62862 if ${glibcxx_cv_func__fmodf_use+:} false; then :
62863 $as_echo_n "(cached) " >&6
62864 else
62867 ac_ext=cpp
62868 ac_cpp='$CXXCPP $CPPFLAGS'
62869 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62870 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62871 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62874 /* end confdefs.h. */
62875 #include <math.h>
62877 main ()
62879 _fmodf(0, 0);
62881 return 0;
62883 _ACEOF
62884 if ac_fn_cxx_try_compile "$LINENO"; then :
62885 glibcxx_cv_func__fmodf_use=yes
62886 else
62887 glibcxx_cv_func__fmodf_use=no
62889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62890 ac_ext=c
62891 ac_cpp='$CPP $CPPFLAGS'
62892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
62901 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
62903 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
62904 for ac_func in _fmodf
62905 do :
62906 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
62907 if test "x$ac_cv_func__fmodf" = xyes; then :
62908 cat >>confdefs.h <<_ACEOF
62909 #define HAVE__FMODF 1
62910 _ACEOF
62913 done
62922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
62923 $as_echo_n "checking for frexpf declaration... " >&6; }
62924 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
62925 if ${glibcxx_cv_func_frexpf_use+:} false; then :
62926 $as_echo_n "(cached) " >&6
62927 else
62930 ac_ext=cpp
62931 ac_cpp='$CXXCPP $CPPFLAGS'
62932 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62933 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62934 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62937 /* end confdefs.h. */
62938 #include <math.h>
62940 main ()
62942 frexpf(0, 0);
62944 return 0;
62946 _ACEOF
62947 if ac_fn_cxx_try_compile "$LINENO"; then :
62948 glibcxx_cv_func_frexpf_use=yes
62949 else
62950 glibcxx_cv_func_frexpf_use=no
62952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62953 ac_ext=c
62954 ac_cpp='$CPP $CPPFLAGS'
62955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
62964 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
62966 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
62967 for ac_func in frexpf
62968 do :
62969 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
62970 if test "x$ac_cv_func_frexpf" = xyes; then :
62971 cat >>confdefs.h <<_ACEOF
62972 #define HAVE_FREXPF 1
62973 _ACEOF
62976 done
62978 else
62980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
62981 $as_echo_n "checking for _frexpf declaration... " >&6; }
62982 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
62983 if ${glibcxx_cv_func__frexpf_use+:} false; then :
62984 $as_echo_n "(cached) " >&6
62985 else
62988 ac_ext=cpp
62989 ac_cpp='$CXXCPP $CPPFLAGS'
62990 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62991 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62992 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62995 /* end confdefs.h. */
62996 #include <math.h>
62998 main ()
63000 _frexpf(0, 0);
63002 return 0;
63004 _ACEOF
63005 if ac_fn_cxx_try_compile "$LINENO"; then :
63006 glibcxx_cv_func__frexpf_use=yes
63007 else
63008 glibcxx_cv_func__frexpf_use=no
63010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63011 ac_ext=c
63012 ac_cpp='$CPP $CPPFLAGS'
63013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
63022 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
63024 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
63025 for ac_func in _frexpf
63026 do :
63027 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
63028 if test "x$ac_cv_func__frexpf" = xyes; then :
63029 cat >>confdefs.h <<_ACEOF
63030 #define HAVE__FREXPF 1
63031 _ACEOF
63034 done
63043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
63044 $as_echo_n "checking for hypotf declaration... " >&6; }
63045 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
63046 if ${glibcxx_cv_func_hypotf_use+:} false; then :
63047 $as_echo_n "(cached) " >&6
63048 else
63051 ac_ext=cpp
63052 ac_cpp='$CXXCPP $CPPFLAGS'
63053 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63054 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63055 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63058 /* end confdefs.h. */
63059 #include <math.h>
63061 main ()
63063 hypotf(0, 0);
63065 return 0;
63067 _ACEOF
63068 if ac_fn_cxx_try_compile "$LINENO"; then :
63069 glibcxx_cv_func_hypotf_use=yes
63070 else
63071 glibcxx_cv_func_hypotf_use=no
63073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63074 ac_ext=c
63075 ac_cpp='$CPP $CPPFLAGS'
63076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
63085 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
63087 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
63088 for ac_func in hypotf
63089 do :
63090 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
63091 if test "x$ac_cv_func_hypotf" = xyes; then :
63092 cat >>confdefs.h <<_ACEOF
63093 #define HAVE_HYPOTF 1
63094 _ACEOF
63097 done
63099 else
63101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
63102 $as_echo_n "checking for _hypotf declaration... " >&6; }
63103 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
63104 if ${glibcxx_cv_func__hypotf_use+:} false; then :
63105 $as_echo_n "(cached) " >&6
63106 else
63109 ac_ext=cpp
63110 ac_cpp='$CXXCPP $CPPFLAGS'
63111 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63112 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63113 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63116 /* end confdefs.h. */
63117 #include <math.h>
63119 main ()
63121 _hypotf(0, 0);
63123 return 0;
63125 _ACEOF
63126 if ac_fn_cxx_try_compile "$LINENO"; then :
63127 glibcxx_cv_func__hypotf_use=yes
63128 else
63129 glibcxx_cv_func__hypotf_use=no
63131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63132 ac_ext=c
63133 ac_cpp='$CPP $CPPFLAGS'
63134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
63143 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
63145 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
63146 for ac_func in _hypotf
63147 do :
63148 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
63149 if test "x$ac_cv_func__hypotf" = xyes; then :
63150 cat >>confdefs.h <<_ACEOF
63151 #define HAVE__HYPOTF 1
63152 _ACEOF
63155 done
63164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
63165 $as_echo_n "checking for ldexpf declaration... " >&6; }
63166 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
63167 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
63168 $as_echo_n "(cached) " >&6
63169 else
63172 ac_ext=cpp
63173 ac_cpp='$CXXCPP $CPPFLAGS'
63174 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63175 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63176 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63179 /* end confdefs.h. */
63180 #include <math.h>
63182 main ()
63184 ldexpf(0, 0);
63186 return 0;
63188 _ACEOF
63189 if ac_fn_cxx_try_compile "$LINENO"; then :
63190 glibcxx_cv_func_ldexpf_use=yes
63191 else
63192 glibcxx_cv_func_ldexpf_use=no
63194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63195 ac_ext=c
63196 ac_cpp='$CPP $CPPFLAGS'
63197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
63206 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
63208 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
63209 for ac_func in ldexpf
63210 do :
63211 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
63212 if test "x$ac_cv_func_ldexpf" = xyes; then :
63213 cat >>confdefs.h <<_ACEOF
63214 #define HAVE_LDEXPF 1
63215 _ACEOF
63218 done
63220 else
63222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
63223 $as_echo_n "checking for _ldexpf declaration... " >&6; }
63224 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
63225 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
63226 $as_echo_n "(cached) " >&6
63227 else
63230 ac_ext=cpp
63231 ac_cpp='$CXXCPP $CPPFLAGS'
63232 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63233 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63234 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63237 /* end confdefs.h. */
63238 #include <math.h>
63240 main ()
63242 _ldexpf(0, 0);
63244 return 0;
63246 _ACEOF
63247 if ac_fn_cxx_try_compile "$LINENO"; then :
63248 glibcxx_cv_func__ldexpf_use=yes
63249 else
63250 glibcxx_cv_func__ldexpf_use=no
63252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63253 ac_ext=c
63254 ac_cpp='$CPP $CPPFLAGS'
63255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
63264 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
63266 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
63267 for ac_func in _ldexpf
63268 do :
63269 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
63270 if test "x$ac_cv_func__ldexpf" = xyes; then :
63271 cat >>confdefs.h <<_ACEOF
63272 #define HAVE__LDEXPF 1
63273 _ACEOF
63276 done
63285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
63286 $as_echo_n "checking for logf declaration... " >&6; }
63287 if test x${glibcxx_cv_func_logf_use+set} != xset; then
63288 if ${glibcxx_cv_func_logf_use+:} false; then :
63289 $as_echo_n "(cached) " >&6
63290 else
63293 ac_ext=cpp
63294 ac_cpp='$CXXCPP $CPPFLAGS'
63295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63300 /* end confdefs.h. */
63301 #include <math.h>
63302 #ifdef HAVE_IEEEFP_H
63303 #include <ieeefp.h>
63304 #endif
63307 main ()
63309 logf(0);
63311 return 0;
63313 _ACEOF
63314 if ac_fn_cxx_try_compile "$LINENO"; then :
63315 glibcxx_cv_func_logf_use=yes
63316 else
63317 glibcxx_cv_func_logf_use=no
63319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63320 ac_ext=c
63321 ac_cpp='$CPP $CPPFLAGS'
63322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
63331 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
63333 if test x$glibcxx_cv_func_logf_use = x"yes"; then
63334 for ac_func in logf
63335 do :
63336 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
63337 if test "x$ac_cv_func_logf" = xyes; then :
63338 cat >>confdefs.h <<_ACEOF
63339 #define HAVE_LOGF 1
63340 _ACEOF
63343 done
63345 else
63347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
63348 $as_echo_n "checking for _logf declaration... " >&6; }
63349 if test x${glibcxx_cv_func__logf_use+set} != xset; then
63350 if ${glibcxx_cv_func__logf_use+:} false; then :
63351 $as_echo_n "(cached) " >&6
63352 else
63355 ac_ext=cpp
63356 ac_cpp='$CXXCPP $CPPFLAGS'
63357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63362 /* end confdefs.h. */
63363 #include <math.h>
63364 #ifdef HAVE_IEEEFP_H
63365 #include <ieeefp.h>
63366 #endif
63369 main ()
63371 _logf(0);
63373 return 0;
63375 _ACEOF
63376 if ac_fn_cxx_try_compile "$LINENO"; then :
63377 glibcxx_cv_func__logf_use=yes
63378 else
63379 glibcxx_cv_func__logf_use=no
63381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63382 ac_ext=c
63383 ac_cpp='$CPP $CPPFLAGS'
63384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
63393 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
63395 if test x$glibcxx_cv_func__logf_use = x"yes"; then
63396 for ac_func in _logf
63397 do :
63398 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
63399 if test "x$ac_cv_func__logf" = xyes; then :
63400 cat >>confdefs.h <<_ACEOF
63401 #define HAVE__LOGF 1
63402 _ACEOF
63405 done
63414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
63415 $as_echo_n "checking for log10f declaration... " >&6; }
63416 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
63417 if ${glibcxx_cv_func_log10f_use+:} false; then :
63418 $as_echo_n "(cached) " >&6
63419 else
63422 ac_ext=cpp
63423 ac_cpp='$CXXCPP $CPPFLAGS'
63424 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63425 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63426 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63429 /* end confdefs.h. */
63430 #include <math.h>
63431 #ifdef HAVE_IEEEFP_H
63432 #include <ieeefp.h>
63433 #endif
63436 main ()
63438 log10f(0);
63440 return 0;
63442 _ACEOF
63443 if ac_fn_cxx_try_compile "$LINENO"; then :
63444 glibcxx_cv_func_log10f_use=yes
63445 else
63446 glibcxx_cv_func_log10f_use=no
63448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63449 ac_ext=c
63450 ac_cpp='$CPP $CPPFLAGS'
63451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
63460 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
63462 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
63463 for ac_func in log10f
63464 do :
63465 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
63466 if test "x$ac_cv_func_log10f" = xyes; then :
63467 cat >>confdefs.h <<_ACEOF
63468 #define HAVE_LOG10F 1
63469 _ACEOF
63472 done
63474 else
63476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
63477 $as_echo_n "checking for _log10f declaration... " >&6; }
63478 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
63479 if ${glibcxx_cv_func__log10f_use+:} false; then :
63480 $as_echo_n "(cached) " >&6
63481 else
63484 ac_ext=cpp
63485 ac_cpp='$CXXCPP $CPPFLAGS'
63486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63491 /* end confdefs.h. */
63492 #include <math.h>
63493 #ifdef HAVE_IEEEFP_H
63494 #include <ieeefp.h>
63495 #endif
63498 main ()
63500 _log10f(0);
63502 return 0;
63504 _ACEOF
63505 if ac_fn_cxx_try_compile "$LINENO"; then :
63506 glibcxx_cv_func__log10f_use=yes
63507 else
63508 glibcxx_cv_func__log10f_use=no
63510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63511 ac_ext=c
63512 ac_cpp='$CPP $CPPFLAGS'
63513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
63522 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
63524 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
63525 for ac_func in _log10f
63526 do :
63527 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
63528 if test "x$ac_cv_func__log10f" = xyes; then :
63529 cat >>confdefs.h <<_ACEOF
63530 #define HAVE__LOG10F 1
63531 _ACEOF
63534 done
63543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
63544 $as_echo_n "checking for modff declaration... " >&6; }
63545 if test x${glibcxx_cv_func_modff_use+set} != xset; then
63546 if ${glibcxx_cv_func_modff_use+:} false; then :
63547 $as_echo_n "(cached) " >&6
63548 else
63551 ac_ext=cpp
63552 ac_cpp='$CXXCPP $CPPFLAGS'
63553 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63554 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63555 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63558 /* end confdefs.h. */
63559 #include <math.h>
63561 main ()
63563 modff(0, 0);
63565 return 0;
63567 _ACEOF
63568 if ac_fn_cxx_try_compile "$LINENO"; then :
63569 glibcxx_cv_func_modff_use=yes
63570 else
63571 glibcxx_cv_func_modff_use=no
63573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63574 ac_ext=c
63575 ac_cpp='$CPP $CPPFLAGS'
63576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
63585 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
63587 if test x$glibcxx_cv_func_modff_use = x"yes"; then
63588 for ac_func in modff
63589 do :
63590 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
63591 if test "x$ac_cv_func_modff" = xyes; then :
63592 cat >>confdefs.h <<_ACEOF
63593 #define HAVE_MODFF 1
63594 _ACEOF
63597 done
63599 else
63601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
63602 $as_echo_n "checking for _modff declaration... " >&6; }
63603 if test x${glibcxx_cv_func__modff_use+set} != xset; then
63604 if ${glibcxx_cv_func__modff_use+:} false; then :
63605 $as_echo_n "(cached) " >&6
63606 else
63609 ac_ext=cpp
63610 ac_cpp='$CXXCPP $CPPFLAGS'
63611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63616 /* end confdefs.h. */
63617 #include <math.h>
63619 main ()
63621 _modff(0, 0);
63623 return 0;
63625 _ACEOF
63626 if ac_fn_cxx_try_compile "$LINENO"; then :
63627 glibcxx_cv_func__modff_use=yes
63628 else
63629 glibcxx_cv_func__modff_use=no
63631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63632 ac_ext=c
63633 ac_cpp='$CPP $CPPFLAGS'
63634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
63643 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
63645 if test x$glibcxx_cv_func__modff_use = x"yes"; then
63646 for ac_func in _modff
63647 do :
63648 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
63649 if test "x$ac_cv_func__modff" = xyes; then :
63650 cat >>confdefs.h <<_ACEOF
63651 #define HAVE__MODFF 1
63652 _ACEOF
63655 done
63664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
63665 $as_echo_n "checking for modf declaration... " >&6; }
63666 if test x${glibcxx_cv_func_modf_use+set} != xset; then
63667 if ${glibcxx_cv_func_modf_use+:} false; then :
63668 $as_echo_n "(cached) " >&6
63669 else
63672 ac_ext=cpp
63673 ac_cpp='$CXXCPP $CPPFLAGS'
63674 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63675 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63676 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63679 /* end confdefs.h. */
63680 #include <math.h>
63682 main ()
63684 modf(0, 0);
63686 return 0;
63688 _ACEOF
63689 if ac_fn_cxx_try_compile "$LINENO"; then :
63690 glibcxx_cv_func_modf_use=yes
63691 else
63692 glibcxx_cv_func_modf_use=no
63694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63695 ac_ext=c
63696 ac_cpp='$CPP $CPPFLAGS'
63697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
63706 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
63708 if test x$glibcxx_cv_func_modf_use = x"yes"; then
63709 for ac_func in modf
63710 do :
63711 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
63712 if test "x$ac_cv_func_modf" = xyes; then :
63713 cat >>confdefs.h <<_ACEOF
63714 #define HAVE_MODF 1
63715 _ACEOF
63718 done
63720 else
63722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
63723 $as_echo_n "checking for _modf declaration... " >&6; }
63724 if test x${glibcxx_cv_func__modf_use+set} != xset; then
63725 if ${glibcxx_cv_func__modf_use+:} false; then :
63726 $as_echo_n "(cached) " >&6
63727 else
63730 ac_ext=cpp
63731 ac_cpp='$CXXCPP $CPPFLAGS'
63732 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63733 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63734 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63737 /* end confdefs.h. */
63738 #include <math.h>
63740 main ()
63742 _modf(0, 0);
63744 return 0;
63746 _ACEOF
63747 if ac_fn_cxx_try_compile "$LINENO"; then :
63748 glibcxx_cv_func__modf_use=yes
63749 else
63750 glibcxx_cv_func__modf_use=no
63752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63753 ac_ext=c
63754 ac_cpp='$CPP $CPPFLAGS'
63755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
63764 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
63766 if test x$glibcxx_cv_func__modf_use = x"yes"; then
63767 for ac_func in _modf
63768 do :
63769 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
63770 if test "x$ac_cv_func__modf" = xyes; then :
63771 cat >>confdefs.h <<_ACEOF
63772 #define HAVE__MODF 1
63773 _ACEOF
63776 done
63785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
63786 $as_echo_n "checking for powf declaration... " >&6; }
63787 if test x${glibcxx_cv_func_powf_use+set} != xset; then
63788 if ${glibcxx_cv_func_powf_use+:} false; then :
63789 $as_echo_n "(cached) " >&6
63790 else
63793 ac_ext=cpp
63794 ac_cpp='$CXXCPP $CPPFLAGS'
63795 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63796 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63797 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63800 /* end confdefs.h. */
63801 #include <math.h>
63803 main ()
63805 powf(0, 0);
63807 return 0;
63809 _ACEOF
63810 if ac_fn_cxx_try_compile "$LINENO"; then :
63811 glibcxx_cv_func_powf_use=yes
63812 else
63813 glibcxx_cv_func_powf_use=no
63815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63816 ac_ext=c
63817 ac_cpp='$CPP $CPPFLAGS'
63818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
63827 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
63829 if test x$glibcxx_cv_func_powf_use = x"yes"; then
63830 for ac_func in powf
63831 do :
63832 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
63833 if test "x$ac_cv_func_powf" = xyes; then :
63834 cat >>confdefs.h <<_ACEOF
63835 #define HAVE_POWF 1
63836 _ACEOF
63839 done
63841 else
63843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
63844 $as_echo_n "checking for _powf declaration... " >&6; }
63845 if test x${glibcxx_cv_func__powf_use+set} != xset; then
63846 if ${glibcxx_cv_func__powf_use+:} false; then :
63847 $as_echo_n "(cached) " >&6
63848 else
63851 ac_ext=cpp
63852 ac_cpp='$CXXCPP $CPPFLAGS'
63853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63854 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63858 /* end confdefs.h. */
63859 #include <math.h>
63861 main ()
63863 _powf(0, 0);
63865 return 0;
63867 _ACEOF
63868 if ac_fn_cxx_try_compile "$LINENO"; then :
63869 glibcxx_cv_func__powf_use=yes
63870 else
63871 glibcxx_cv_func__powf_use=no
63873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63874 ac_ext=c
63875 ac_cpp='$CPP $CPPFLAGS'
63876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
63885 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
63887 if test x$glibcxx_cv_func__powf_use = x"yes"; then
63888 for ac_func in _powf
63889 do :
63890 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
63891 if test "x$ac_cv_func__powf" = xyes; then :
63892 cat >>confdefs.h <<_ACEOF
63893 #define HAVE__POWF 1
63894 _ACEOF
63897 done
63906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
63907 $as_echo_n "checking for sqrtf declaration... " >&6; }
63908 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
63909 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
63910 $as_echo_n "(cached) " >&6
63911 else
63914 ac_ext=cpp
63915 ac_cpp='$CXXCPP $CPPFLAGS'
63916 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63917 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63918 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63921 /* end confdefs.h. */
63922 #include <math.h>
63923 #ifdef HAVE_IEEEFP_H
63924 #include <ieeefp.h>
63925 #endif
63928 main ()
63930 sqrtf(0);
63932 return 0;
63934 _ACEOF
63935 if ac_fn_cxx_try_compile "$LINENO"; then :
63936 glibcxx_cv_func_sqrtf_use=yes
63937 else
63938 glibcxx_cv_func_sqrtf_use=no
63940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63941 ac_ext=c
63942 ac_cpp='$CPP $CPPFLAGS'
63943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
63952 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
63954 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
63955 for ac_func in sqrtf
63956 do :
63957 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
63958 if test "x$ac_cv_func_sqrtf" = xyes; then :
63959 cat >>confdefs.h <<_ACEOF
63960 #define HAVE_SQRTF 1
63961 _ACEOF
63964 done
63966 else
63968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
63969 $as_echo_n "checking for _sqrtf declaration... " >&6; }
63970 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
63971 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
63972 $as_echo_n "(cached) " >&6
63973 else
63976 ac_ext=cpp
63977 ac_cpp='$CXXCPP $CPPFLAGS'
63978 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63979 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63980 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63983 /* end confdefs.h. */
63984 #include <math.h>
63985 #ifdef HAVE_IEEEFP_H
63986 #include <ieeefp.h>
63987 #endif
63990 main ()
63992 _sqrtf(0);
63994 return 0;
63996 _ACEOF
63997 if ac_fn_cxx_try_compile "$LINENO"; then :
63998 glibcxx_cv_func__sqrtf_use=yes
63999 else
64000 glibcxx_cv_func__sqrtf_use=no
64002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64003 ac_ext=c
64004 ac_cpp='$CPP $CPPFLAGS'
64005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
64014 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
64016 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
64017 for ac_func in _sqrtf
64018 do :
64019 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
64020 if test "x$ac_cv_func__sqrtf" = xyes; then :
64021 cat >>confdefs.h <<_ACEOF
64022 #define HAVE__SQRTF 1
64023 _ACEOF
64026 done
64035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
64036 $as_echo_n "checking for sincosf declaration... " >&6; }
64037 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
64038 if ${glibcxx_cv_func_sincosf_use+:} false; then :
64039 $as_echo_n "(cached) " >&6
64040 else
64043 ac_ext=cpp
64044 ac_cpp='$CXXCPP $CPPFLAGS'
64045 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64046 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64047 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64050 /* end confdefs.h. */
64051 #include <math.h>
64053 main ()
64055 sincosf(0, 0, 0);
64057 return 0;
64059 _ACEOF
64060 if ac_fn_cxx_try_compile "$LINENO"; then :
64061 glibcxx_cv_func_sincosf_use=yes
64062 else
64063 glibcxx_cv_func_sincosf_use=no
64065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64066 ac_ext=c
64067 ac_cpp='$CPP $CPPFLAGS'
64068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
64077 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
64079 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
64080 for ac_func in sincosf
64081 do :
64082 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
64083 if test "x$ac_cv_func_sincosf" = xyes; then :
64084 cat >>confdefs.h <<_ACEOF
64085 #define HAVE_SINCOSF 1
64086 _ACEOF
64089 done
64091 else
64093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
64094 $as_echo_n "checking for _sincosf declaration... " >&6; }
64095 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
64096 if ${glibcxx_cv_func__sincosf_use+:} false; then :
64097 $as_echo_n "(cached) " >&6
64098 else
64101 ac_ext=cpp
64102 ac_cpp='$CXXCPP $CPPFLAGS'
64103 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64104 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64105 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64108 /* end confdefs.h. */
64109 #include <math.h>
64111 main ()
64113 _sincosf(0, 0, 0);
64115 return 0;
64117 _ACEOF
64118 if ac_fn_cxx_try_compile "$LINENO"; then :
64119 glibcxx_cv_func__sincosf_use=yes
64120 else
64121 glibcxx_cv_func__sincosf_use=no
64123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64124 ac_ext=c
64125 ac_cpp='$CPP $CPPFLAGS'
64126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
64135 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
64137 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
64138 for ac_func in _sincosf
64139 do :
64140 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
64141 if test "x$ac_cv_func__sincosf" = xyes; then :
64142 cat >>confdefs.h <<_ACEOF
64143 #define HAVE__SINCOSF 1
64144 _ACEOF
64147 done
64156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
64157 $as_echo_n "checking for finitef declaration... " >&6; }
64158 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
64159 if ${glibcxx_cv_func_finitef_use+:} false; then :
64160 $as_echo_n "(cached) " >&6
64161 else
64164 ac_ext=cpp
64165 ac_cpp='$CXXCPP $CPPFLAGS'
64166 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64167 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64168 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64171 /* end confdefs.h. */
64172 #include <math.h>
64173 #ifdef HAVE_IEEEFP_H
64174 #include <ieeefp.h>
64175 #endif
64178 main ()
64180 finitef(0);
64182 return 0;
64184 _ACEOF
64185 if ac_fn_cxx_try_compile "$LINENO"; then :
64186 glibcxx_cv_func_finitef_use=yes
64187 else
64188 glibcxx_cv_func_finitef_use=no
64190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64191 ac_ext=c
64192 ac_cpp='$CPP $CPPFLAGS'
64193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
64202 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
64204 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
64205 for ac_func in finitef
64206 do :
64207 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
64208 if test "x$ac_cv_func_finitef" = xyes; then :
64209 cat >>confdefs.h <<_ACEOF
64210 #define HAVE_FINITEF 1
64211 _ACEOF
64214 done
64216 else
64218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
64219 $as_echo_n "checking for _finitef declaration... " >&6; }
64220 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
64221 if ${glibcxx_cv_func__finitef_use+:} false; then :
64222 $as_echo_n "(cached) " >&6
64223 else
64226 ac_ext=cpp
64227 ac_cpp='$CXXCPP $CPPFLAGS'
64228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64233 /* end confdefs.h. */
64234 #include <math.h>
64235 #ifdef HAVE_IEEEFP_H
64236 #include <ieeefp.h>
64237 #endif
64240 main ()
64242 _finitef(0);
64244 return 0;
64246 _ACEOF
64247 if ac_fn_cxx_try_compile "$LINENO"; then :
64248 glibcxx_cv_func__finitef_use=yes
64249 else
64250 glibcxx_cv_func__finitef_use=no
64252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64253 ac_ext=c
64254 ac_cpp='$CPP $CPPFLAGS'
64255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
64264 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
64266 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
64267 for ac_func in _finitef
64268 do :
64269 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
64270 if test "x$ac_cv_func__finitef" = xyes; then :
64271 cat >>confdefs.h <<_ACEOF
64272 #define HAVE__FINITEF 1
64273 _ACEOF
64276 done
64285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
64286 $as_echo_n "checking for long double trig functions... " >&6; }
64287 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
64288 $as_echo_n "(cached) " >&6
64289 else
64292 ac_ext=cpp
64293 ac_cpp='$CXXCPP $CPPFLAGS'
64294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64299 /* end confdefs.h. */
64300 #include <math.h>
64302 main ()
64304 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
64306 return 0;
64308 _ACEOF
64309 if ac_fn_cxx_try_compile "$LINENO"; then :
64310 glibcxx_cv_func_long_double_trig_use=yes
64311 else
64312 glibcxx_cv_func_long_double_trig_use=no
64314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64315 ac_ext=c
64316 ac_cpp='$CPP $CPPFLAGS'
64317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
64324 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
64325 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
64326 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
64327 do :
64328 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
64329 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
64330 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
64331 cat >>confdefs.h <<_ACEOF
64332 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
64333 _ACEOF
64336 done
64338 else
64339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
64340 $as_echo_n "checking for _long double trig functions... " >&6; }
64341 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
64342 $as_echo_n "(cached) " >&6
64343 else
64346 ac_ext=cpp
64347 ac_cpp='$CXXCPP $CPPFLAGS'
64348 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64349 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64350 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64353 /* end confdefs.h. */
64354 #include <math.h>
64356 main ()
64358 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
64360 return 0;
64362 _ACEOF
64363 if ac_fn_cxx_try_compile "$LINENO"; then :
64364 glibcxx_cv_func__long_double_trig_use=yes
64365 else
64366 glibcxx_cv_func__long_double_trig_use=no
64368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64369 ac_ext=c
64370 ac_cpp='$CPP $CPPFLAGS'
64371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
64378 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
64379 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
64380 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
64381 do :
64382 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
64383 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
64384 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
64385 cat >>confdefs.h <<_ACEOF
64386 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
64387 _ACEOF
64390 done
64399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
64400 $as_echo_n "checking for long double round functions... " >&6; }
64401 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
64402 $as_echo_n "(cached) " >&6
64403 else
64406 ac_ext=cpp
64407 ac_cpp='$CXXCPP $CPPFLAGS'
64408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64413 /* end confdefs.h. */
64414 #include <math.h>
64416 main ()
64418 ceill (0); floorl (0);
64420 return 0;
64422 _ACEOF
64423 if ac_fn_cxx_try_compile "$LINENO"; then :
64424 glibcxx_cv_func_long_double_round_use=yes
64425 else
64426 glibcxx_cv_func_long_double_round_use=no
64428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64429 ac_ext=c
64430 ac_cpp='$CPP $CPPFLAGS'
64431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
64438 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
64439 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
64440 for ac_func in ceill floorl
64441 do :
64442 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
64443 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
64444 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
64445 cat >>confdefs.h <<_ACEOF
64446 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
64447 _ACEOF
64450 done
64452 else
64453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
64454 $as_echo_n "checking for _long double round functions... " >&6; }
64455 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
64456 $as_echo_n "(cached) " >&6
64457 else
64460 ac_ext=cpp
64461 ac_cpp='$CXXCPP $CPPFLAGS'
64462 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64463 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64464 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64467 /* end confdefs.h. */
64468 #include <math.h>
64470 main ()
64472 _ceill (0); _floorl (0);
64474 return 0;
64476 _ACEOF
64477 if ac_fn_cxx_try_compile "$LINENO"; then :
64478 glibcxx_cv_func__long_double_round_use=yes
64479 else
64480 glibcxx_cv_func__long_double_round_use=no
64482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64483 ac_ext=c
64484 ac_cpp='$CPP $CPPFLAGS'
64485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
64492 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
64493 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
64494 for ac_func in _ceill _floorl
64495 do :
64496 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
64497 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
64498 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
64499 cat >>confdefs.h <<_ACEOF
64500 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
64501 _ACEOF
64504 done
64514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
64515 $as_echo_n "checking for isnanl declaration... " >&6; }
64516 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
64517 if ${glibcxx_cv_func_isnanl_use+:} false; then :
64518 $as_echo_n "(cached) " >&6
64519 else
64522 ac_ext=cpp
64523 ac_cpp='$CXXCPP $CPPFLAGS'
64524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64529 /* end confdefs.h. */
64530 #include <math.h>
64531 #ifdef HAVE_IEEEFP_H
64532 #include <ieeefp.h>
64533 #endif
64536 main ()
64538 isnanl(0);
64540 return 0;
64542 _ACEOF
64543 if ac_fn_cxx_try_compile "$LINENO"; then :
64544 glibcxx_cv_func_isnanl_use=yes
64545 else
64546 glibcxx_cv_func_isnanl_use=no
64548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64549 ac_ext=c
64550 ac_cpp='$CPP $CPPFLAGS'
64551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
64560 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
64562 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
64563 for ac_func in isnanl
64564 do :
64565 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
64566 if test "x$ac_cv_func_isnanl" = xyes; then :
64567 cat >>confdefs.h <<_ACEOF
64568 #define HAVE_ISNANL 1
64569 _ACEOF
64572 done
64574 else
64576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
64577 $as_echo_n "checking for _isnanl declaration... " >&6; }
64578 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
64579 if ${glibcxx_cv_func__isnanl_use+:} false; then :
64580 $as_echo_n "(cached) " >&6
64581 else
64584 ac_ext=cpp
64585 ac_cpp='$CXXCPP $CPPFLAGS'
64586 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64587 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64588 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64591 /* end confdefs.h. */
64592 #include <math.h>
64593 #ifdef HAVE_IEEEFP_H
64594 #include <ieeefp.h>
64595 #endif
64598 main ()
64600 _isnanl(0);
64602 return 0;
64604 _ACEOF
64605 if ac_fn_cxx_try_compile "$LINENO"; then :
64606 glibcxx_cv_func__isnanl_use=yes
64607 else
64608 glibcxx_cv_func__isnanl_use=no
64610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64611 ac_ext=c
64612 ac_cpp='$CPP $CPPFLAGS'
64613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
64622 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
64624 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
64625 for ac_func in _isnanl
64626 do :
64627 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
64628 if test "x$ac_cv_func__isnanl" = xyes; then :
64629 cat >>confdefs.h <<_ACEOF
64630 #define HAVE__ISNANL 1
64631 _ACEOF
64634 done
64643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
64644 $as_echo_n "checking for isinfl declaration... " >&6; }
64645 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
64646 if ${glibcxx_cv_func_isinfl_use+:} false; then :
64647 $as_echo_n "(cached) " >&6
64648 else
64651 ac_ext=cpp
64652 ac_cpp='$CXXCPP $CPPFLAGS'
64653 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64654 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64655 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64658 /* end confdefs.h. */
64659 #include <math.h>
64660 #ifdef HAVE_IEEEFP_H
64661 #include <ieeefp.h>
64662 #endif
64665 main ()
64667 isinfl(0);
64669 return 0;
64671 _ACEOF
64672 if ac_fn_cxx_try_compile "$LINENO"; then :
64673 glibcxx_cv_func_isinfl_use=yes
64674 else
64675 glibcxx_cv_func_isinfl_use=no
64677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64678 ac_ext=c
64679 ac_cpp='$CPP $CPPFLAGS'
64680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
64689 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
64691 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
64692 for ac_func in isinfl
64693 do :
64694 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
64695 if test "x$ac_cv_func_isinfl" = xyes; then :
64696 cat >>confdefs.h <<_ACEOF
64697 #define HAVE_ISINFL 1
64698 _ACEOF
64701 done
64703 else
64705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
64706 $as_echo_n "checking for _isinfl declaration... " >&6; }
64707 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
64708 if ${glibcxx_cv_func__isinfl_use+:} false; then :
64709 $as_echo_n "(cached) " >&6
64710 else
64713 ac_ext=cpp
64714 ac_cpp='$CXXCPP $CPPFLAGS'
64715 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64716 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64717 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64720 /* end confdefs.h. */
64721 #include <math.h>
64722 #ifdef HAVE_IEEEFP_H
64723 #include <ieeefp.h>
64724 #endif
64727 main ()
64729 _isinfl(0);
64731 return 0;
64733 _ACEOF
64734 if ac_fn_cxx_try_compile "$LINENO"; then :
64735 glibcxx_cv_func__isinfl_use=yes
64736 else
64737 glibcxx_cv_func__isinfl_use=no
64739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64740 ac_ext=c
64741 ac_cpp='$CPP $CPPFLAGS'
64742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
64751 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
64753 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
64754 for ac_func in _isinfl
64755 do :
64756 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
64757 if test "x$ac_cv_func__isinfl" = xyes; then :
64758 cat >>confdefs.h <<_ACEOF
64759 #define HAVE__ISINFL 1
64760 _ACEOF
64763 done
64772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
64773 $as_echo_n "checking for atan2l declaration... " >&6; }
64774 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
64775 if ${glibcxx_cv_func_atan2l_use+:} false; then :
64776 $as_echo_n "(cached) " >&6
64777 else
64780 ac_ext=cpp
64781 ac_cpp='$CXXCPP $CPPFLAGS'
64782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64787 /* end confdefs.h. */
64788 #include <math.h>
64790 main ()
64792 atan2l(0, 0);
64794 return 0;
64796 _ACEOF
64797 if ac_fn_cxx_try_compile "$LINENO"; then :
64798 glibcxx_cv_func_atan2l_use=yes
64799 else
64800 glibcxx_cv_func_atan2l_use=no
64802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64803 ac_ext=c
64804 ac_cpp='$CPP $CPPFLAGS'
64805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
64814 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
64816 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
64817 for ac_func in atan2l
64818 do :
64819 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
64820 if test "x$ac_cv_func_atan2l" = xyes; then :
64821 cat >>confdefs.h <<_ACEOF
64822 #define HAVE_ATAN2L 1
64823 _ACEOF
64826 done
64828 else
64830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
64831 $as_echo_n "checking for _atan2l declaration... " >&6; }
64832 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
64833 if ${glibcxx_cv_func__atan2l_use+:} false; then :
64834 $as_echo_n "(cached) " >&6
64835 else
64838 ac_ext=cpp
64839 ac_cpp='$CXXCPP $CPPFLAGS'
64840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64845 /* end confdefs.h. */
64846 #include <math.h>
64848 main ()
64850 _atan2l(0, 0);
64852 return 0;
64854 _ACEOF
64855 if ac_fn_cxx_try_compile "$LINENO"; then :
64856 glibcxx_cv_func__atan2l_use=yes
64857 else
64858 glibcxx_cv_func__atan2l_use=no
64860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64861 ac_ext=c
64862 ac_cpp='$CPP $CPPFLAGS'
64863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
64872 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
64874 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
64875 for ac_func in _atan2l
64876 do :
64877 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
64878 if test "x$ac_cv_func__atan2l" = xyes; then :
64879 cat >>confdefs.h <<_ACEOF
64880 #define HAVE__ATAN2L 1
64881 _ACEOF
64884 done
64893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
64894 $as_echo_n "checking for expl declaration... " >&6; }
64895 if test x${glibcxx_cv_func_expl_use+set} != xset; then
64896 if ${glibcxx_cv_func_expl_use+:} false; then :
64897 $as_echo_n "(cached) " >&6
64898 else
64901 ac_ext=cpp
64902 ac_cpp='$CXXCPP $CPPFLAGS'
64903 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64904 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64905 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64908 /* end confdefs.h. */
64909 #include <math.h>
64910 #ifdef HAVE_IEEEFP_H
64911 #include <ieeefp.h>
64912 #endif
64915 main ()
64917 expl(0);
64919 return 0;
64921 _ACEOF
64922 if ac_fn_cxx_try_compile "$LINENO"; then :
64923 glibcxx_cv_func_expl_use=yes
64924 else
64925 glibcxx_cv_func_expl_use=no
64927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64928 ac_ext=c
64929 ac_cpp='$CPP $CPPFLAGS'
64930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
64939 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
64941 if test x$glibcxx_cv_func_expl_use = x"yes"; then
64942 for ac_func in expl
64943 do :
64944 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
64945 if test "x$ac_cv_func_expl" = xyes; then :
64946 cat >>confdefs.h <<_ACEOF
64947 #define HAVE_EXPL 1
64948 _ACEOF
64951 done
64953 else
64955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
64956 $as_echo_n "checking for _expl declaration... " >&6; }
64957 if test x${glibcxx_cv_func__expl_use+set} != xset; then
64958 if ${glibcxx_cv_func__expl_use+:} false; then :
64959 $as_echo_n "(cached) " >&6
64960 else
64963 ac_ext=cpp
64964 ac_cpp='$CXXCPP $CPPFLAGS'
64965 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64966 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64967 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64970 /* end confdefs.h. */
64971 #include <math.h>
64972 #ifdef HAVE_IEEEFP_H
64973 #include <ieeefp.h>
64974 #endif
64977 main ()
64979 _expl(0);
64981 return 0;
64983 _ACEOF
64984 if ac_fn_cxx_try_compile "$LINENO"; then :
64985 glibcxx_cv_func__expl_use=yes
64986 else
64987 glibcxx_cv_func__expl_use=no
64989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64990 ac_ext=c
64991 ac_cpp='$CPP $CPPFLAGS'
64992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
65001 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
65003 if test x$glibcxx_cv_func__expl_use = x"yes"; then
65004 for ac_func in _expl
65005 do :
65006 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
65007 if test "x$ac_cv_func__expl" = xyes; then :
65008 cat >>confdefs.h <<_ACEOF
65009 #define HAVE__EXPL 1
65010 _ACEOF
65013 done
65022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
65023 $as_echo_n "checking for fabsl declaration... " >&6; }
65024 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
65025 if ${glibcxx_cv_func_fabsl_use+:} false; then :
65026 $as_echo_n "(cached) " >&6
65027 else
65030 ac_ext=cpp
65031 ac_cpp='$CXXCPP $CPPFLAGS'
65032 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65033 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65034 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65037 /* end confdefs.h. */
65038 #include <math.h>
65039 #ifdef HAVE_IEEEFP_H
65040 #include <ieeefp.h>
65041 #endif
65044 main ()
65046 fabsl(0);
65048 return 0;
65050 _ACEOF
65051 if ac_fn_cxx_try_compile "$LINENO"; then :
65052 glibcxx_cv_func_fabsl_use=yes
65053 else
65054 glibcxx_cv_func_fabsl_use=no
65056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65057 ac_ext=c
65058 ac_cpp='$CPP $CPPFLAGS'
65059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
65068 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
65070 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
65071 for ac_func in fabsl
65072 do :
65073 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
65074 if test "x$ac_cv_func_fabsl" = xyes; then :
65075 cat >>confdefs.h <<_ACEOF
65076 #define HAVE_FABSL 1
65077 _ACEOF
65080 done
65082 else
65084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
65085 $as_echo_n "checking for _fabsl declaration... " >&6; }
65086 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
65087 if ${glibcxx_cv_func__fabsl_use+:} false; then :
65088 $as_echo_n "(cached) " >&6
65089 else
65092 ac_ext=cpp
65093 ac_cpp='$CXXCPP $CPPFLAGS'
65094 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65095 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65096 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65099 /* end confdefs.h. */
65100 #include <math.h>
65101 #ifdef HAVE_IEEEFP_H
65102 #include <ieeefp.h>
65103 #endif
65106 main ()
65108 _fabsl(0);
65110 return 0;
65112 _ACEOF
65113 if ac_fn_cxx_try_compile "$LINENO"; then :
65114 glibcxx_cv_func__fabsl_use=yes
65115 else
65116 glibcxx_cv_func__fabsl_use=no
65118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65119 ac_ext=c
65120 ac_cpp='$CPP $CPPFLAGS'
65121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
65130 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
65132 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
65133 for ac_func in _fabsl
65134 do :
65135 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
65136 if test "x$ac_cv_func__fabsl" = xyes; then :
65137 cat >>confdefs.h <<_ACEOF
65138 #define HAVE__FABSL 1
65139 _ACEOF
65142 done
65151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
65152 $as_echo_n "checking for fmodl declaration... " >&6; }
65153 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
65154 if ${glibcxx_cv_func_fmodl_use+:} false; then :
65155 $as_echo_n "(cached) " >&6
65156 else
65159 ac_ext=cpp
65160 ac_cpp='$CXXCPP $CPPFLAGS'
65161 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65162 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65163 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65166 /* end confdefs.h. */
65167 #include <math.h>
65169 main ()
65171 fmodl(0, 0);
65173 return 0;
65175 _ACEOF
65176 if ac_fn_cxx_try_compile "$LINENO"; then :
65177 glibcxx_cv_func_fmodl_use=yes
65178 else
65179 glibcxx_cv_func_fmodl_use=no
65181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65182 ac_ext=c
65183 ac_cpp='$CPP $CPPFLAGS'
65184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
65193 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
65195 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
65196 for ac_func in fmodl
65197 do :
65198 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
65199 if test "x$ac_cv_func_fmodl" = xyes; then :
65200 cat >>confdefs.h <<_ACEOF
65201 #define HAVE_FMODL 1
65202 _ACEOF
65205 done
65207 else
65209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
65210 $as_echo_n "checking for _fmodl declaration... " >&6; }
65211 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
65212 if ${glibcxx_cv_func__fmodl_use+:} false; then :
65213 $as_echo_n "(cached) " >&6
65214 else
65217 ac_ext=cpp
65218 ac_cpp='$CXXCPP $CPPFLAGS'
65219 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65220 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65221 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65224 /* end confdefs.h. */
65225 #include <math.h>
65227 main ()
65229 _fmodl(0, 0);
65231 return 0;
65233 _ACEOF
65234 if ac_fn_cxx_try_compile "$LINENO"; then :
65235 glibcxx_cv_func__fmodl_use=yes
65236 else
65237 glibcxx_cv_func__fmodl_use=no
65239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65240 ac_ext=c
65241 ac_cpp='$CPP $CPPFLAGS'
65242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
65251 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
65253 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
65254 for ac_func in _fmodl
65255 do :
65256 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
65257 if test "x$ac_cv_func__fmodl" = xyes; then :
65258 cat >>confdefs.h <<_ACEOF
65259 #define HAVE__FMODL 1
65260 _ACEOF
65263 done
65272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
65273 $as_echo_n "checking for frexpl declaration... " >&6; }
65274 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
65275 if ${glibcxx_cv_func_frexpl_use+:} false; then :
65276 $as_echo_n "(cached) " >&6
65277 else
65280 ac_ext=cpp
65281 ac_cpp='$CXXCPP $CPPFLAGS'
65282 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65283 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65284 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65287 /* end confdefs.h. */
65288 #include <math.h>
65290 main ()
65292 frexpl(0, 0);
65294 return 0;
65296 _ACEOF
65297 if ac_fn_cxx_try_compile "$LINENO"; then :
65298 glibcxx_cv_func_frexpl_use=yes
65299 else
65300 glibcxx_cv_func_frexpl_use=no
65302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65303 ac_ext=c
65304 ac_cpp='$CPP $CPPFLAGS'
65305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
65314 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
65316 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
65317 for ac_func in frexpl
65318 do :
65319 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
65320 if test "x$ac_cv_func_frexpl" = xyes; then :
65321 cat >>confdefs.h <<_ACEOF
65322 #define HAVE_FREXPL 1
65323 _ACEOF
65326 done
65328 else
65330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
65331 $as_echo_n "checking for _frexpl declaration... " >&6; }
65332 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
65333 if ${glibcxx_cv_func__frexpl_use+:} false; then :
65334 $as_echo_n "(cached) " >&6
65335 else
65338 ac_ext=cpp
65339 ac_cpp='$CXXCPP $CPPFLAGS'
65340 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65341 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65342 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65345 /* end confdefs.h. */
65346 #include <math.h>
65348 main ()
65350 _frexpl(0, 0);
65352 return 0;
65354 _ACEOF
65355 if ac_fn_cxx_try_compile "$LINENO"; then :
65356 glibcxx_cv_func__frexpl_use=yes
65357 else
65358 glibcxx_cv_func__frexpl_use=no
65360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65361 ac_ext=c
65362 ac_cpp='$CPP $CPPFLAGS'
65363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
65372 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
65374 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
65375 for ac_func in _frexpl
65376 do :
65377 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
65378 if test "x$ac_cv_func__frexpl" = xyes; then :
65379 cat >>confdefs.h <<_ACEOF
65380 #define HAVE__FREXPL 1
65381 _ACEOF
65384 done
65393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
65394 $as_echo_n "checking for hypotl declaration... " >&6; }
65395 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
65396 if ${glibcxx_cv_func_hypotl_use+:} false; then :
65397 $as_echo_n "(cached) " >&6
65398 else
65401 ac_ext=cpp
65402 ac_cpp='$CXXCPP $CPPFLAGS'
65403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65404 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65408 /* end confdefs.h. */
65409 #include <math.h>
65411 main ()
65413 hypotl(0, 0);
65415 return 0;
65417 _ACEOF
65418 if ac_fn_cxx_try_compile "$LINENO"; then :
65419 glibcxx_cv_func_hypotl_use=yes
65420 else
65421 glibcxx_cv_func_hypotl_use=no
65423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65424 ac_ext=c
65425 ac_cpp='$CPP $CPPFLAGS'
65426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
65435 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
65437 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
65438 for ac_func in hypotl
65439 do :
65440 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
65441 if test "x$ac_cv_func_hypotl" = xyes; then :
65442 cat >>confdefs.h <<_ACEOF
65443 #define HAVE_HYPOTL 1
65444 _ACEOF
65447 done
65449 else
65451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
65452 $as_echo_n "checking for _hypotl declaration... " >&6; }
65453 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
65454 if ${glibcxx_cv_func__hypotl_use+:} false; then :
65455 $as_echo_n "(cached) " >&6
65456 else
65459 ac_ext=cpp
65460 ac_cpp='$CXXCPP $CPPFLAGS'
65461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65466 /* end confdefs.h. */
65467 #include <math.h>
65469 main ()
65471 _hypotl(0, 0);
65473 return 0;
65475 _ACEOF
65476 if ac_fn_cxx_try_compile "$LINENO"; then :
65477 glibcxx_cv_func__hypotl_use=yes
65478 else
65479 glibcxx_cv_func__hypotl_use=no
65481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65482 ac_ext=c
65483 ac_cpp='$CPP $CPPFLAGS'
65484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
65493 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
65495 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
65496 for ac_func in _hypotl
65497 do :
65498 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
65499 if test "x$ac_cv_func__hypotl" = xyes; then :
65500 cat >>confdefs.h <<_ACEOF
65501 #define HAVE__HYPOTL 1
65502 _ACEOF
65505 done
65514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
65515 $as_echo_n "checking for ldexpl declaration... " >&6; }
65516 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
65517 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
65518 $as_echo_n "(cached) " >&6
65519 else
65522 ac_ext=cpp
65523 ac_cpp='$CXXCPP $CPPFLAGS'
65524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65529 /* end confdefs.h. */
65530 #include <math.h>
65532 main ()
65534 ldexpl(0, 0);
65536 return 0;
65538 _ACEOF
65539 if ac_fn_cxx_try_compile "$LINENO"; then :
65540 glibcxx_cv_func_ldexpl_use=yes
65541 else
65542 glibcxx_cv_func_ldexpl_use=no
65544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65545 ac_ext=c
65546 ac_cpp='$CPP $CPPFLAGS'
65547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
65556 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
65558 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
65559 for ac_func in ldexpl
65560 do :
65561 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
65562 if test "x$ac_cv_func_ldexpl" = xyes; then :
65563 cat >>confdefs.h <<_ACEOF
65564 #define HAVE_LDEXPL 1
65565 _ACEOF
65568 done
65570 else
65572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
65573 $as_echo_n "checking for _ldexpl declaration... " >&6; }
65574 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
65575 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
65576 $as_echo_n "(cached) " >&6
65577 else
65580 ac_ext=cpp
65581 ac_cpp='$CXXCPP $CPPFLAGS'
65582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65587 /* end confdefs.h. */
65588 #include <math.h>
65590 main ()
65592 _ldexpl(0, 0);
65594 return 0;
65596 _ACEOF
65597 if ac_fn_cxx_try_compile "$LINENO"; then :
65598 glibcxx_cv_func__ldexpl_use=yes
65599 else
65600 glibcxx_cv_func__ldexpl_use=no
65602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65603 ac_ext=c
65604 ac_cpp='$CPP $CPPFLAGS'
65605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
65614 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
65616 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
65617 for ac_func in _ldexpl
65618 do :
65619 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
65620 if test "x$ac_cv_func__ldexpl" = xyes; then :
65621 cat >>confdefs.h <<_ACEOF
65622 #define HAVE__LDEXPL 1
65623 _ACEOF
65626 done
65635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
65636 $as_echo_n "checking for logl declaration... " >&6; }
65637 if test x${glibcxx_cv_func_logl_use+set} != xset; then
65638 if ${glibcxx_cv_func_logl_use+:} false; then :
65639 $as_echo_n "(cached) " >&6
65640 else
65643 ac_ext=cpp
65644 ac_cpp='$CXXCPP $CPPFLAGS'
65645 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65646 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65647 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65650 /* end confdefs.h. */
65651 #include <math.h>
65652 #ifdef HAVE_IEEEFP_H
65653 #include <ieeefp.h>
65654 #endif
65657 main ()
65659 logl(0);
65661 return 0;
65663 _ACEOF
65664 if ac_fn_cxx_try_compile "$LINENO"; then :
65665 glibcxx_cv_func_logl_use=yes
65666 else
65667 glibcxx_cv_func_logl_use=no
65669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65670 ac_ext=c
65671 ac_cpp='$CPP $CPPFLAGS'
65672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
65681 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
65683 if test x$glibcxx_cv_func_logl_use = x"yes"; then
65684 for ac_func in logl
65685 do :
65686 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
65687 if test "x$ac_cv_func_logl" = xyes; then :
65688 cat >>confdefs.h <<_ACEOF
65689 #define HAVE_LOGL 1
65690 _ACEOF
65693 done
65695 else
65697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
65698 $as_echo_n "checking for _logl declaration... " >&6; }
65699 if test x${glibcxx_cv_func__logl_use+set} != xset; then
65700 if ${glibcxx_cv_func__logl_use+:} false; then :
65701 $as_echo_n "(cached) " >&6
65702 else
65705 ac_ext=cpp
65706 ac_cpp='$CXXCPP $CPPFLAGS'
65707 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65708 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65709 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65712 /* end confdefs.h. */
65713 #include <math.h>
65714 #ifdef HAVE_IEEEFP_H
65715 #include <ieeefp.h>
65716 #endif
65719 main ()
65721 _logl(0);
65723 return 0;
65725 _ACEOF
65726 if ac_fn_cxx_try_compile "$LINENO"; then :
65727 glibcxx_cv_func__logl_use=yes
65728 else
65729 glibcxx_cv_func__logl_use=no
65731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65732 ac_ext=c
65733 ac_cpp='$CPP $CPPFLAGS'
65734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
65743 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
65745 if test x$glibcxx_cv_func__logl_use = x"yes"; then
65746 for ac_func in _logl
65747 do :
65748 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
65749 if test "x$ac_cv_func__logl" = xyes; then :
65750 cat >>confdefs.h <<_ACEOF
65751 #define HAVE__LOGL 1
65752 _ACEOF
65755 done
65764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
65765 $as_echo_n "checking for log10l declaration... " >&6; }
65766 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
65767 if ${glibcxx_cv_func_log10l_use+:} false; then :
65768 $as_echo_n "(cached) " >&6
65769 else
65772 ac_ext=cpp
65773 ac_cpp='$CXXCPP $CPPFLAGS'
65774 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65775 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65776 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65779 /* end confdefs.h. */
65780 #include <math.h>
65781 #ifdef HAVE_IEEEFP_H
65782 #include <ieeefp.h>
65783 #endif
65786 main ()
65788 log10l(0);
65790 return 0;
65792 _ACEOF
65793 if ac_fn_cxx_try_compile "$LINENO"; then :
65794 glibcxx_cv_func_log10l_use=yes
65795 else
65796 glibcxx_cv_func_log10l_use=no
65798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65799 ac_ext=c
65800 ac_cpp='$CPP $CPPFLAGS'
65801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
65810 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
65812 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
65813 for ac_func in log10l
65814 do :
65815 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
65816 if test "x$ac_cv_func_log10l" = xyes; then :
65817 cat >>confdefs.h <<_ACEOF
65818 #define HAVE_LOG10L 1
65819 _ACEOF
65822 done
65824 else
65826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
65827 $as_echo_n "checking for _log10l declaration... " >&6; }
65828 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
65829 if ${glibcxx_cv_func__log10l_use+:} false; then :
65830 $as_echo_n "(cached) " >&6
65831 else
65834 ac_ext=cpp
65835 ac_cpp='$CXXCPP $CPPFLAGS'
65836 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65837 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65838 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65841 /* end confdefs.h. */
65842 #include <math.h>
65843 #ifdef HAVE_IEEEFP_H
65844 #include <ieeefp.h>
65845 #endif
65848 main ()
65850 _log10l(0);
65852 return 0;
65854 _ACEOF
65855 if ac_fn_cxx_try_compile "$LINENO"; then :
65856 glibcxx_cv_func__log10l_use=yes
65857 else
65858 glibcxx_cv_func__log10l_use=no
65860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65861 ac_ext=c
65862 ac_cpp='$CPP $CPPFLAGS'
65863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
65872 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
65874 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
65875 for ac_func in _log10l
65876 do :
65877 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
65878 if test "x$ac_cv_func__log10l" = xyes; then :
65879 cat >>confdefs.h <<_ACEOF
65880 #define HAVE__LOG10L 1
65881 _ACEOF
65884 done
65893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
65894 $as_echo_n "checking for modfl declaration... " >&6; }
65895 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
65896 if ${glibcxx_cv_func_modfl_use+:} false; then :
65897 $as_echo_n "(cached) " >&6
65898 else
65901 ac_ext=cpp
65902 ac_cpp='$CXXCPP $CPPFLAGS'
65903 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65904 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65905 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65908 /* end confdefs.h. */
65909 #include <math.h>
65911 main ()
65913 modfl(0, 0);
65915 return 0;
65917 _ACEOF
65918 if ac_fn_cxx_try_compile "$LINENO"; then :
65919 glibcxx_cv_func_modfl_use=yes
65920 else
65921 glibcxx_cv_func_modfl_use=no
65923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65924 ac_ext=c
65925 ac_cpp='$CPP $CPPFLAGS'
65926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
65935 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
65937 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
65938 for ac_func in modfl
65939 do :
65940 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
65941 if test "x$ac_cv_func_modfl" = xyes; then :
65942 cat >>confdefs.h <<_ACEOF
65943 #define HAVE_MODFL 1
65944 _ACEOF
65947 done
65949 else
65951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
65952 $as_echo_n "checking for _modfl declaration... " >&6; }
65953 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
65954 if ${glibcxx_cv_func__modfl_use+:} false; then :
65955 $as_echo_n "(cached) " >&6
65956 else
65959 ac_ext=cpp
65960 ac_cpp='$CXXCPP $CPPFLAGS'
65961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65966 /* end confdefs.h. */
65967 #include <math.h>
65969 main ()
65971 _modfl(0, 0);
65973 return 0;
65975 _ACEOF
65976 if ac_fn_cxx_try_compile "$LINENO"; then :
65977 glibcxx_cv_func__modfl_use=yes
65978 else
65979 glibcxx_cv_func__modfl_use=no
65981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65982 ac_ext=c
65983 ac_cpp='$CPP $CPPFLAGS'
65984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
65993 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
65995 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
65996 for ac_func in _modfl
65997 do :
65998 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
65999 if test "x$ac_cv_func__modfl" = xyes; then :
66000 cat >>confdefs.h <<_ACEOF
66001 #define HAVE__MODFL 1
66002 _ACEOF
66005 done
66014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
66015 $as_echo_n "checking for powl declaration... " >&6; }
66016 if test x${glibcxx_cv_func_powl_use+set} != xset; then
66017 if ${glibcxx_cv_func_powl_use+:} false; then :
66018 $as_echo_n "(cached) " >&6
66019 else
66022 ac_ext=cpp
66023 ac_cpp='$CXXCPP $CPPFLAGS'
66024 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66025 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66026 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66029 /* end confdefs.h. */
66030 #include <math.h>
66032 main ()
66034 powl(0, 0);
66036 return 0;
66038 _ACEOF
66039 if ac_fn_cxx_try_compile "$LINENO"; then :
66040 glibcxx_cv_func_powl_use=yes
66041 else
66042 glibcxx_cv_func_powl_use=no
66044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66045 ac_ext=c
66046 ac_cpp='$CPP $CPPFLAGS'
66047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
66056 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
66058 if test x$glibcxx_cv_func_powl_use = x"yes"; then
66059 for ac_func in powl
66060 do :
66061 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
66062 if test "x$ac_cv_func_powl" = xyes; then :
66063 cat >>confdefs.h <<_ACEOF
66064 #define HAVE_POWL 1
66065 _ACEOF
66068 done
66070 else
66072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
66073 $as_echo_n "checking for _powl declaration... " >&6; }
66074 if test x${glibcxx_cv_func__powl_use+set} != xset; then
66075 if ${glibcxx_cv_func__powl_use+:} false; then :
66076 $as_echo_n "(cached) " >&6
66077 else
66080 ac_ext=cpp
66081 ac_cpp='$CXXCPP $CPPFLAGS'
66082 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66083 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66084 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66087 /* end confdefs.h. */
66088 #include <math.h>
66090 main ()
66092 _powl(0, 0);
66094 return 0;
66096 _ACEOF
66097 if ac_fn_cxx_try_compile "$LINENO"; then :
66098 glibcxx_cv_func__powl_use=yes
66099 else
66100 glibcxx_cv_func__powl_use=no
66102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66103 ac_ext=c
66104 ac_cpp='$CPP $CPPFLAGS'
66105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
66114 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
66116 if test x$glibcxx_cv_func__powl_use = x"yes"; then
66117 for ac_func in _powl
66118 do :
66119 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
66120 if test "x$ac_cv_func__powl" = xyes; then :
66121 cat >>confdefs.h <<_ACEOF
66122 #define HAVE__POWL 1
66123 _ACEOF
66126 done
66135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
66136 $as_echo_n "checking for sqrtl declaration... " >&6; }
66137 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
66138 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
66139 $as_echo_n "(cached) " >&6
66140 else
66143 ac_ext=cpp
66144 ac_cpp='$CXXCPP $CPPFLAGS'
66145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66150 /* end confdefs.h. */
66151 #include <math.h>
66152 #ifdef HAVE_IEEEFP_H
66153 #include <ieeefp.h>
66154 #endif
66157 main ()
66159 sqrtl(0);
66161 return 0;
66163 _ACEOF
66164 if ac_fn_cxx_try_compile "$LINENO"; then :
66165 glibcxx_cv_func_sqrtl_use=yes
66166 else
66167 glibcxx_cv_func_sqrtl_use=no
66169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66170 ac_ext=c
66171 ac_cpp='$CPP $CPPFLAGS'
66172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66173 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
66181 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
66183 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
66184 for ac_func in sqrtl
66185 do :
66186 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
66187 if test "x$ac_cv_func_sqrtl" = xyes; then :
66188 cat >>confdefs.h <<_ACEOF
66189 #define HAVE_SQRTL 1
66190 _ACEOF
66193 done
66195 else
66197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
66198 $as_echo_n "checking for _sqrtl declaration... " >&6; }
66199 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
66200 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
66201 $as_echo_n "(cached) " >&6
66202 else
66205 ac_ext=cpp
66206 ac_cpp='$CXXCPP $CPPFLAGS'
66207 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66208 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66209 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66212 /* end confdefs.h. */
66213 #include <math.h>
66214 #ifdef HAVE_IEEEFP_H
66215 #include <ieeefp.h>
66216 #endif
66219 main ()
66221 _sqrtl(0);
66223 return 0;
66225 _ACEOF
66226 if ac_fn_cxx_try_compile "$LINENO"; then :
66227 glibcxx_cv_func__sqrtl_use=yes
66228 else
66229 glibcxx_cv_func__sqrtl_use=no
66231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66232 ac_ext=c
66233 ac_cpp='$CPP $CPPFLAGS'
66234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
66243 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
66245 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
66246 for ac_func in _sqrtl
66247 do :
66248 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
66249 if test "x$ac_cv_func__sqrtl" = xyes; then :
66250 cat >>confdefs.h <<_ACEOF
66251 #define HAVE__SQRTL 1
66252 _ACEOF
66255 done
66264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
66265 $as_echo_n "checking for sincosl declaration... " >&6; }
66266 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
66267 if ${glibcxx_cv_func_sincosl_use+:} false; then :
66268 $as_echo_n "(cached) " >&6
66269 else
66272 ac_ext=cpp
66273 ac_cpp='$CXXCPP $CPPFLAGS'
66274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66279 /* end confdefs.h. */
66280 #include <math.h>
66282 main ()
66284 sincosl(0, 0, 0);
66286 return 0;
66288 _ACEOF
66289 if ac_fn_cxx_try_compile "$LINENO"; then :
66290 glibcxx_cv_func_sincosl_use=yes
66291 else
66292 glibcxx_cv_func_sincosl_use=no
66294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66295 ac_ext=c
66296 ac_cpp='$CPP $CPPFLAGS'
66297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
66306 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
66308 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
66309 for ac_func in sincosl
66310 do :
66311 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
66312 if test "x$ac_cv_func_sincosl" = xyes; then :
66313 cat >>confdefs.h <<_ACEOF
66314 #define HAVE_SINCOSL 1
66315 _ACEOF
66318 done
66320 else
66322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
66323 $as_echo_n "checking for _sincosl declaration... " >&6; }
66324 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
66325 if ${glibcxx_cv_func__sincosl_use+:} false; then :
66326 $as_echo_n "(cached) " >&6
66327 else
66330 ac_ext=cpp
66331 ac_cpp='$CXXCPP $CPPFLAGS'
66332 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66333 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66334 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66337 /* end confdefs.h. */
66338 #include <math.h>
66340 main ()
66342 _sincosl(0, 0, 0);
66344 return 0;
66346 _ACEOF
66347 if ac_fn_cxx_try_compile "$LINENO"; then :
66348 glibcxx_cv_func__sincosl_use=yes
66349 else
66350 glibcxx_cv_func__sincosl_use=no
66352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66353 ac_ext=c
66354 ac_cpp='$CPP $CPPFLAGS'
66355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
66364 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
66366 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
66367 for ac_func in _sincosl
66368 do :
66369 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
66370 if test "x$ac_cv_func__sincosl" = xyes; then :
66371 cat >>confdefs.h <<_ACEOF
66372 #define HAVE__SINCOSL 1
66373 _ACEOF
66376 done
66385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
66386 $as_echo_n "checking for finitel declaration... " >&6; }
66387 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
66388 if ${glibcxx_cv_func_finitel_use+:} false; then :
66389 $as_echo_n "(cached) " >&6
66390 else
66393 ac_ext=cpp
66394 ac_cpp='$CXXCPP $CPPFLAGS'
66395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66400 /* end confdefs.h. */
66401 #include <math.h>
66402 #ifdef HAVE_IEEEFP_H
66403 #include <ieeefp.h>
66404 #endif
66407 main ()
66409 finitel(0);
66411 return 0;
66413 _ACEOF
66414 if ac_fn_cxx_try_compile "$LINENO"; then :
66415 glibcxx_cv_func_finitel_use=yes
66416 else
66417 glibcxx_cv_func_finitel_use=no
66419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66420 ac_ext=c
66421 ac_cpp='$CPP $CPPFLAGS'
66422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
66431 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
66433 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
66434 for ac_func in finitel
66435 do :
66436 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
66437 if test "x$ac_cv_func_finitel" = xyes; then :
66438 cat >>confdefs.h <<_ACEOF
66439 #define HAVE_FINITEL 1
66440 _ACEOF
66443 done
66445 else
66447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
66448 $as_echo_n "checking for _finitel declaration... " >&6; }
66449 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
66450 if ${glibcxx_cv_func__finitel_use+:} false; then :
66451 $as_echo_n "(cached) " >&6
66452 else
66455 ac_ext=cpp
66456 ac_cpp='$CXXCPP $CPPFLAGS'
66457 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66458 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66459 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66462 /* end confdefs.h. */
66463 #include <math.h>
66464 #ifdef HAVE_IEEEFP_H
66465 #include <ieeefp.h>
66466 #endif
66469 main ()
66471 _finitel(0);
66473 return 0;
66475 _ACEOF
66476 if ac_fn_cxx_try_compile "$LINENO"; then :
66477 glibcxx_cv_func__finitel_use=yes
66478 else
66479 glibcxx_cv_func__finitel_use=no
66481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66482 ac_ext=c
66483 ac_cpp='$CPP $CPPFLAGS'
66484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
66493 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
66495 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
66496 for ac_func in _finitel
66497 do :
66498 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
66499 if test "x$ac_cv_func__finitel" = xyes; then :
66500 cat >>confdefs.h <<_ACEOF
66501 #define HAVE__FINITEL 1
66502 _ACEOF
66505 done
66513 LIBS="$ac_save_LIBS"
66514 CXXFLAGS="$ac_save_CXXFLAGS"
66517 ac_test_CXXFLAGS="${CXXFLAGS+set}"
66518 ac_save_CXXFLAGS="$CXXFLAGS"
66519 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
66522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
66523 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
66524 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
66525 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
66526 $as_echo_n "(cached) " >&6
66527 else
66530 ac_ext=cpp
66531 ac_cpp='$CXXCPP $CPPFLAGS'
66532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66537 /* end confdefs.h. */
66538 #include <stdlib.h>
66540 main ()
66542 at_quick_exit(0);
66544 return 0;
66546 _ACEOF
66547 if ac_fn_cxx_try_compile "$LINENO"; then :
66548 glibcxx_cv_func_at_quick_exit_use=yes
66549 else
66550 glibcxx_cv_func_at_quick_exit_use=no
66552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66553 ac_ext=c
66554 ac_cpp='$CPP $CPPFLAGS'
66555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
66564 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
66565 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
66566 for ac_func in at_quick_exit
66567 do :
66568 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
66569 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
66570 cat >>confdefs.h <<_ACEOF
66571 #define HAVE_AT_QUICK_EXIT 1
66572 _ACEOF
66575 done
66580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
66581 $as_echo_n "checking for quick_exit declaration... " >&6; }
66582 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
66583 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
66584 $as_echo_n "(cached) " >&6
66585 else
66588 ac_ext=cpp
66589 ac_cpp='$CXXCPP $CPPFLAGS'
66590 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66591 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66592 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66595 /* end confdefs.h. */
66596 #include <stdlib.h>
66598 main ()
66600 quick_exit(0);
66602 return 0;
66604 _ACEOF
66605 if ac_fn_cxx_try_compile "$LINENO"; then :
66606 glibcxx_cv_func_quick_exit_use=yes
66607 else
66608 glibcxx_cv_func_quick_exit_use=no
66610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66611 ac_ext=c
66612 ac_cpp='$CPP $CPPFLAGS'
66613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
66622 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
66623 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
66624 for ac_func in quick_exit
66625 do :
66626 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
66627 if test "x$ac_cv_func_quick_exit" = xyes; then :
66628 cat >>confdefs.h <<_ACEOF
66629 #define HAVE_QUICK_EXIT 1
66630 _ACEOF
66633 done
66638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
66639 $as_echo_n "checking for strtold declaration... " >&6; }
66640 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
66641 if ${glibcxx_cv_func_strtold_use+:} false; then :
66642 $as_echo_n "(cached) " >&6
66643 else
66646 ac_ext=cpp
66647 ac_cpp='$CXXCPP $CPPFLAGS'
66648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66653 /* end confdefs.h. */
66654 #include <stdlib.h>
66656 main ()
66658 strtold(0, 0);
66660 return 0;
66662 _ACEOF
66663 if ac_fn_cxx_try_compile "$LINENO"; then :
66664 glibcxx_cv_func_strtold_use=yes
66665 else
66666 glibcxx_cv_func_strtold_use=no
66668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66669 ac_ext=c
66670 ac_cpp='$CPP $CPPFLAGS'
66671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
66680 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
66681 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
66682 for ac_func in strtold
66683 do :
66684 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
66685 if test "x$ac_cv_func_strtold" = xyes; then :
66686 cat >>confdefs.h <<_ACEOF
66687 #define HAVE_STRTOLD 1
66688 _ACEOF
66691 done
66698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
66699 $as_echo_n "checking for strtof declaration... " >&6; }
66700 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
66701 if ${glibcxx_cv_func_strtof_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 <stdlib.h>
66716 main ()
66718 strtof(0, 0);
66720 return 0;
66722 _ACEOF
66723 if ac_fn_cxx_try_compile "$LINENO"; then :
66724 glibcxx_cv_func_strtof_use=yes
66725 else
66726 glibcxx_cv_func_strtof_use=no
66728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66729 ac_ext=c
66730 ac_cpp='$CPP $CPPFLAGS'
66731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
66740 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
66741 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
66742 for ac_func in strtof
66743 do :
66744 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
66745 if test "x$ac_cv_func_strtof" = xyes; then :
66746 cat >>confdefs.h <<_ACEOF
66747 #define HAVE_STRTOF 1
66748 _ACEOF
66751 done
66758 CXXFLAGS="$ac_save_CXXFLAGS"
66761 *-tpf)
66762 SECTION_FLAGS='-ffunction-sections -fdata-sections'
66763 SECTION_LDFLAGS='-Wl,--gc-sections $SECTION_LDFLAGS'
66765 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
66767 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
66769 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
66771 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
66773 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
66775 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
66777 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
66779 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
66781 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
66783 $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h
66785 if test x"long_double_math_on_this_cpu" = x"yes"; then
66786 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
66788 $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
66790 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
66792 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
66796 *-*vms*)
66797 # Check for available headers.
66798 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, VMS doesn't have a GNU ld
66800 ac_test_CXXFLAGS="${CXXFLAGS+set}"
66801 ac_save_CXXFLAGS="$CXXFLAGS"
66802 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
66804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
66805 $as_echo_n "checking for sin in -lm... " >&6; }
66806 if ${ac_cv_lib_m_sin+:} false; then :
66807 $as_echo_n "(cached) " >&6
66808 else
66809 ac_check_lib_save_LIBS=$LIBS
66810 LIBS="-lm $LIBS"
66811 if test x$gcc_no_link = xyes; then
66812 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
66814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66815 /* end confdefs.h. */
66817 /* Override any GCC internal prototype to avoid an error.
66818 Use char because int might match the return type of a GCC
66819 builtin and then its argument prototype would still apply. */
66820 #ifdef __cplusplus
66821 extern "C"
66822 #endif
66823 char sin ();
66825 main ()
66827 return sin ();
66829 return 0;
66831 _ACEOF
66832 if ac_fn_c_try_link "$LINENO"; then :
66833 ac_cv_lib_m_sin=yes
66834 else
66835 ac_cv_lib_m_sin=no
66837 rm -f core conftest.err conftest.$ac_objext \
66838 conftest$ac_exeext conftest.$ac_ext
66839 LIBS=$ac_check_lib_save_LIBS
66841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
66842 $as_echo "$ac_cv_lib_m_sin" >&6; }
66843 if test "x$ac_cv_lib_m_sin" = xyes; then :
66844 libm="-lm"
66847 ac_save_LIBS="$LIBS"
66848 LIBS="$LIBS $libm"
66852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
66853 $as_echo_n "checking for isinf declaration... " >&6; }
66854 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
66855 if ${glibcxx_cv_func_isinf_use+:} false; then :
66856 $as_echo_n "(cached) " >&6
66857 else
66860 ac_ext=cpp
66861 ac_cpp='$CXXCPP $CPPFLAGS'
66862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66867 /* end confdefs.h. */
66868 #include <math.h>
66869 #ifdef HAVE_IEEEFP_H
66870 #include <ieeefp.h>
66871 #endif
66874 main ()
66876 isinf(0);
66878 return 0;
66880 _ACEOF
66881 if ac_fn_cxx_try_compile "$LINENO"; then :
66882 glibcxx_cv_func_isinf_use=yes
66883 else
66884 glibcxx_cv_func_isinf_use=no
66886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66887 ac_ext=c
66888 ac_cpp='$CPP $CPPFLAGS'
66889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
66898 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
66900 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
66901 for ac_func in isinf
66902 do :
66903 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
66904 if test "x$ac_cv_func_isinf" = xyes; then :
66905 cat >>confdefs.h <<_ACEOF
66906 #define HAVE_ISINF 1
66907 _ACEOF
66910 done
66912 else
66914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
66915 $as_echo_n "checking for _isinf declaration... " >&6; }
66916 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
66917 if ${glibcxx_cv_func__isinf_use+:} false; then :
66918 $as_echo_n "(cached) " >&6
66919 else
66922 ac_ext=cpp
66923 ac_cpp='$CXXCPP $CPPFLAGS'
66924 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66925 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66926 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66929 /* end confdefs.h. */
66930 #include <math.h>
66931 #ifdef HAVE_IEEEFP_H
66932 #include <ieeefp.h>
66933 #endif
66936 main ()
66938 _isinf(0);
66940 return 0;
66942 _ACEOF
66943 if ac_fn_cxx_try_compile "$LINENO"; then :
66944 glibcxx_cv_func__isinf_use=yes
66945 else
66946 glibcxx_cv_func__isinf_use=no
66948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66949 ac_ext=c
66950 ac_cpp='$CPP $CPPFLAGS'
66951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
66960 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
66962 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
66963 for ac_func in _isinf
66964 do :
66965 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
66966 if test "x$ac_cv_func__isinf" = xyes; then :
66967 cat >>confdefs.h <<_ACEOF
66968 #define HAVE__ISINF 1
66969 _ACEOF
66972 done
66981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
66982 $as_echo_n "checking for isnan declaration... " >&6; }
66983 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
66984 if ${glibcxx_cv_func_isnan_use+:} false; then :
66985 $as_echo_n "(cached) " >&6
66986 else
66989 ac_ext=cpp
66990 ac_cpp='$CXXCPP $CPPFLAGS'
66991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66992 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66996 /* end confdefs.h. */
66997 #include <math.h>
66998 #ifdef HAVE_IEEEFP_H
66999 #include <ieeefp.h>
67000 #endif
67003 main ()
67005 isnan(0);
67007 return 0;
67009 _ACEOF
67010 if ac_fn_cxx_try_compile "$LINENO"; then :
67011 glibcxx_cv_func_isnan_use=yes
67012 else
67013 glibcxx_cv_func_isnan_use=no
67015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67016 ac_ext=c
67017 ac_cpp='$CPP $CPPFLAGS'
67018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
67027 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
67029 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
67030 for ac_func in isnan
67031 do :
67032 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
67033 if test "x$ac_cv_func_isnan" = xyes; then :
67034 cat >>confdefs.h <<_ACEOF
67035 #define HAVE_ISNAN 1
67036 _ACEOF
67039 done
67041 else
67043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
67044 $as_echo_n "checking for _isnan declaration... " >&6; }
67045 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
67046 if ${glibcxx_cv_func__isnan_use+:} false; then :
67047 $as_echo_n "(cached) " >&6
67048 else
67051 ac_ext=cpp
67052 ac_cpp='$CXXCPP $CPPFLAGS'
67053 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67054 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67055 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67058 /* end confdefs.h. */
67059 #include <math.h>
67060 #ifdef HAVE_IEEEFP_H
67061 #include <ieeefp.h>
67062 #endif
67065 main ()
67067 _isnan(0);
67069 return 0;
67071 _ACEOF
67072 if ac_fn_cxx_try_compile "$LINENO"; then :
67073 glibcxx_cv_func__isnan_use=yes
67074 else
67075 glibcxx_cv_func__isnan_use=no
67077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67078 ac_ext=c
67079 ac_cpp='$CPP $CPPFLAGS'
67080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
67089 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
67091 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
67092 for ac_func in _isnan
67093 do :
67094 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
67095 if test "x$ac_cv_func__isnan" = xyes; then :
67096 cat >>confdefs.h <<_ACEOF
67097 #define HAVE__ISNAN 1
67098 _ACEOF
67101 done
67110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
67111 $as_echo_n "checking for finite declaration... " >&6; }
67112 if test x${glibcxx_cv_func_finite_use+set} != xset; then
67113 if ${glibcxx_cv_func_finite_use+:} false; then :
67114 $as_echo_n "(cached) " >&6
67115 else
67118 ac_ext=cpp
67119 ac_cpp='$CXXCPP $CPPFLAGS'
67120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67125 /* end confdefs.h. */
67126 #include <math.h>
67127 #ifdef HAVE_IEEEFP_H
67128 #include <ieeefp.h>
67129 #endif
67132 main ()
67134 finite(0);
67136 return 0;
67138 _ACEOF
67139 if ac_fn_cxx_try_compile "$LINENO"; then :
67140 glibcxx_cv_func_finite_use=yes
67141 else
67142 glibcxx_cv_func_finite_use=no
67144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67145 ac_ext=c
67146 ac_cpp='$CPP $CPPFLAGS'
67147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
67156 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
67158 if test x$glibcxx_cv_func_finite_use = x"yes"; then
67159 for ac_func in finite
67160 do :
67161 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
67162 if test "x$ac_cv_func_finite" = xyes; then :
67163 cat >>confdefs.h <<_ACEOF
67164 #define HAVE_FINITE 1
67165 _ACEOF
67168 done
67170 else
67172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
67173 $as_echo_n "checking for _finite declaration... " >&6; }
67174 if test x${glibcxx_cv_func__finite_use+set} != xset; then
67175 if ${glibcxx_cv_func__finite_use+:} false; then :
67176 $as_echo_n "(cached) " >&6
67177 else
67180 ac_ext=cpp
67181 ac_cpp='$CXXCPP $CPPFLAGS'
67182 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67183 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67184 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67187 /* end confdefs.h. */
67188 #include <math.h>
67189 #ifdef HAVE_IEEEFP_H
67190 #include <ieeefp.h>
67191 #endif
67194 main ()
67196 _finite(0);
67198 return 0;
67200 _ACEOF
67201 if ac_fn_cxx_try_compile "$LINENO"; then :
67202 glibcxx_cv_func__finite_use=yes
67203 else
67204 glibcxx_cv_func__finite_use=no
67206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67207 ac_ext=c
67208 ac_cpp='$CPP $CPPFLAGS'
67209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
67218 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
67220 if test x$glibcxx_cv_func__finite_use = x"yes"; then
67221 for ac_func in _finite
67222 do :
67223 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
67224 if test "x$ac_cv_func__finite" = xyes; then :
67225 cat >>confdefs.h <<_ACEOF
67226 #define HAVE__FINITE 1
67227 _ACEOF
67230 done
67239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
67240 $as_echo_n "checking for sincos declaration... " >&6; }
67241 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
67242 if ${glibcxx_cv_func_sincos_use+:} false; then :
67243 $as_echo_n "(cached) " >&6
67244 else
67247 ac_ext=cpp
67248 ac_cpp='$CXXCPP $CPPFLAGS'
67249 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67250 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67251 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67254 /* end confdefs.h. */
67255 #include <math.h>
67257 main ()
67259 sincos(0, 0, 0);
67261 return 0;
67263 _ACEOF
67264 if ac_fn_cxx_try_compile "$LINENO"; then :
67265 glibcxx_cv_func_sincos_use=yes
67266 else
67267 glibcxx_cv_func_sincos_use=no
67269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67270 ac_ext=c
67271 ac_cpp='$CPP $CPPFLAGS'
67272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
67281 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
67283 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
67284 for ac_func in sincos
67285 do :
67286 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
67287 if test "x$ac_cv_func_sincos" = xyes; then :
67288 cat >>confdefs.h <<_ACEOF
67289 #define HAVE_SINCOS 1
67290 _ACEOF
67293 done
67295 else
67297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
67298 $as_echo_n "checking for _sincos declaration... " >&6; }
67299 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
67300 if ${glibcxx_cv_func__sincos_use+:} false; then :
67301 $as_echo_n "(cached) " >&6
67302 else
67305 ac_ext=cpp
67306 ac_cpp='$CXXCPP $CPPFLAGS'
67307 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67308 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67309 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67312 /* end confdefs.h. */
67313 #include <math.h>
67315 main ()
67317 _sincos(0, 0, 0);
67319 return 0;
67321 _ACEOF
67322 if ac_fn_cxx_try_compile "$LINENO"; then :
67323 glibcxx_cv_func__sincos_use=yes
67324 else
67325 glibcxx_cv_func__sincos_use=no
67327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67328 ac_ext=c
67329 ac_cpp='$CPP $CPPFLAGS'
67330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
67339 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
67341 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
67342 for ac_func in _sincos
67343 do :
67344 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
67345 if test "x$ac_cv_func__sincos" = xyes; then :
67346 cat >>confdefs.h <<_ACEOF
67347 #define HAVE__SINCOS 1
67348 _ACEOF
67351 done
67360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
67361 $as_echo_n "checking for fpclass declaration... " >&6; }
67362 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
67363 if ${glibcxx_cv_func_fpclass_use+:} false; then :
67364 $as_echo_n "(cached) " >&6
67365 else
67368 ac_ext=cpp
67369 ac_cpp='$CXXCPP $CPPFLAGS'
67370 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67371 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67372 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67375 /* end confdefs.h. */
67376 #include <math.h>
67377 #ifdef HAVE_IEEEFP_H
67378 #include <ieeefp.h>
67379 #endif
67382 main ()
67384 fpclass(0);
67386 return 0;
67388 _ACEOF
67389 if ac_fn_cxx_try_compile "$LINENO"; then :
67390 glibcxx_cv_func_fpclass_use=yes
67391 else
67392 glibcxx_cv_func_fpclass_use=no
67394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67395 ac_ext=c
67396 ac_cpp='$CPP $CPPFLAGS'
67397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
67406 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
67408 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
67409 for ac_func in fpclass
67410 do :
67411 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
67412 if test "x$ac_cv_func_fpclass" = xyes; then :
67413 cat >>confdefs.h <<_ACEOF
67414 #define HAVE_FPCLASS 1
67415 _ACEOF
67418 done
67420 else
67422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
67423 $as_echo_n "checking for _fpclass declaration... " >&6; }
67424 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
67425 if ${glibcxx_cv_func__fpclass_use+:} false; then :
67426 $as_echo_n "(cached) " >&6
67427 else
67430 ac_ext=cpp
67431 ac_cpp='$CXXCPP $CPPFLAGS'
67432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67437 /* end confdefs.h. */
67438 #include <math.h>
67439 #ifdef HAVE_IEEEFP_H
67440 #include <ieeefp.h>
67441 #endif
67444 main ()
67446 _fpclass(0);
67448 return 0;
67450 _ACEOF
67451 if ac_fn_cxx_try_compile "$LINENO"; then :
67452 glibcxx_cv_func__fpclass_use=yes
67453 else
67454 glibcxx_cv_func__fpclass_use=no
67456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67457 ac_ext=c
67458 ac_cpp='$CPP $CPPFLAGS'
67459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
67468 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
67470 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
67471 for ac_func in _fpclass
67472 do :
67473 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
67474 if test "x$ac_cv_func__fpclass" = xyes; then :
67475 cat >>confdefs.h <<_ACEOF
67476 #define HAVE__FPCLASS 1
67477 _ACEOF
67480 done
67489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
67490 $as_echo_n "checking for qfpclass declaration... " >&6; }
67491 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
67492 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
67493 $as_echo_n "(cached) " >&6
67494 else
67497 ac_ext=cpp
67498 ac_cpp='$CXXCPP $CPPFLAGS'
67499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67504 /* end confdefs.h. */
67505 #include <math.h>
67506 #ifdef HAVE_IEEEFP_H
67507 #include <ieeefp.h>
67508 #endif
67511 main ()
67513 qfpclass(0);
67515 return 0;
67517 _ACEOF
67518 if ac_fn_cxx_try_compile "$LINENO"; then :
67519 glibcxx_cv_func_qfpclass_use=yes
67520 else
67521 glibcxx_cv_func_qfpclass_use=no
67523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67524 ac_ext=c
67525 ac_cpp='$CPP $CPPFLAGS'
67526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
67535 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
67537 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
67538 for ac_func in qfpclass
67539 do :
67540 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
67541 if test "x$ac_cv_func_qfpclass" = xyes; then :
67542 cat >>confdefs.h <<_ACEOF
67543 #define HAVE_QFPCLASS 1
67544 _ACEOF
67547 done
67549 else
67551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
67552 $as_echo_n "checking for _qfpclass declaration... " >&6; }
67553 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
67554 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
67555 $as_echo_n "(cached) " >&6
67556 else
67559 ac_ext=cpp
67560 ac_cpp='$CXXCPP $CPPFLAGS'
67561 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67562 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67563 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67566 /* end confdefs.h. */
67567 #include <math.h>
67568 #ifdef HAVE_IEEEFP_H
67569 #include <ieeefp.h>
67570 #endif
67573 main ()
67575 _qfpclass(0);
67577 return 0;
67579 _ACEOF
67580 if ac_fn_cxx_try_compile "$LINENO"; then :
67581 glibcxx_cv_func__qfpclass_use=yes
67582 else
67583 glibcxx_cv_func__qfpclass_use=no
67585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67586 ac_ext=c
67587 ac_cpp='$CPP $CPPFLAGS'
67588 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67589 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67590 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
67597 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
67599 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
67600 for ac_func in _qfpclass
67601 do :
67602 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
67603 if test "x$ac_cv_func__qfpclass" = xyes; then :
67604 cat >>confdefs.h <<_ACEOF
67605 #define HAVE__QFPCLASS 1
67606 _ACEOF
67609 done
67618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
67619 $as_echo_n "checking for hypot declaration... " >&6; }
67620 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
67621 if ${glibcxx_cv_func_hypot_use+:} false; then :
67622 $as_echo_n "(cached) " >&6
67623 else
67626 ac_ext=cpp
67627 ac_cpp='$CXXCPP $CPPFLAGS'
67628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67633 /* end confdefs.h. */
67634 #include <math.h>
67636 main ()
67638 hypot(0, 0);
67640 return 0;
67642 _ACEOF
67643 if ac_fn_cxx_try_compile "$LINENO"; then :
67644 glibcxx_cv_func_hypot_use=yes
67645 else
67646 glibcxx_cv_func_hypot_use=no
67648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67649 ac_ext=c
67650 ac_cpp='$CPP $CPPFLAGS'
67651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
67660 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
67662 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
67663 for ac_func in hypot
67664 do :
67665 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
67666 if test "x$ac_cv_func_hypot" = xyes; then :
67667 cat >>confdefs.h <<_ACEOF
67668 #define HAVE_HYPOT 1
67669 _ACEOF
67672 done
67674 else
67676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
67677 $as_echo_n "checking for _hypot declaration... " >&6; }
67678 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
67679 if ${glibcxx_cv_func__hypot_use+:} false; then :
67680 $as_echo_n "(cached) " >&6
67681 else
67684 ac_ext=cpp
67685 ac_cpp='$CXXCPP $CPPFLAGS'
67686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67691 /* end confdefs.h. */
67692 #include <math.h>
67694 main ()
67696 _hypot(0, 0);
67698 return 0;
67700 _ACEOF
67701 if ac_fn_cxx_try_compile "$LINENO"; then :
67702 glibcxx_cv_func__hypot_use=yes
67703 else
67704 glibcxx_cv_func__hypot_use=no
67706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67707 ac_ext=c
67708 ac_cpp='$CPP $CPPFLAGS'
67709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
67718 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
67720 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
67721 for ac_func in _hypot
67722 do :
67723 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
67724 if test "x$ac_cv_func__hypot" = xyes; then :
67725 cat >>confdefs.h <<_ACEOF
67726 #define HAVE__HYPOT 1
67727 _ACEOF
67730 done
67739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
67740 $as_echo_n "checking for float trig functions... " >&6; }
67741 if ${glibcxx_cv_func_float_trig_use+:} false; then :
67742 $as_echo_n "(cached) " >&6
67743 else
67746 ac_ext=cpp
67747 ac_cpp='$CXXCPP $CPPFLAGS'
67748 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67749 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67750 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67753 /* end confdefs.h. */
67754 #include <math.h>
67756 main ()
67758 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
67760 return 0;
67762 _ACEOF
67763 if ac_fn_cxx_try_compile "$LINENO"; then :
67764 glibcxx_cv_func_float_trig_use=yes
67765 else
67766 glibcxx_cv_func_float_trig_use=no
67768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67769 ac_ext=c
67770 ac_cpp='$CPP $CPPFLAGS'
67771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
67778 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
67779 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
67780 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
67781 do :
67782 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67783 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67784 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
67785 cat >>confdefs.h <<_ACEOF
67786 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67787 _ACEOF
67790 done
67792 else
67793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
67794 $as_echo_n "checking for _float trig functions... " >&6; }
67795 if ${glibcxx_cv_func__float_trig_use+:} false; then :
67796 $as_echo_n "(cached) " >&6
67797 else
67800 ac_ext=cpp
67801 ac_cpp='$CXXCPP $CPPFLAGS'
67802 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67803 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67804 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67807 /* end confdefs.h. */
67808 #include <math.h>
67810 main ()
67812 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
67814 return 0;
67816 _ACEOF
67817 if ac_fn_cxx_try_compile "$LINENO"; then :
67818 glibcxx_cv_func__float_trig_use=yes
67819 else
67820 glibcxx_cv_func__float_trig_use=no
67822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67823 ac_ext=c
67824 ac_cpp='$CPP $CPPFLAGS'
67825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
67832 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
67833 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
67834 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
67835 do :
67836 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67837 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67838 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
67839 cat >>confdefs.h <<_ACEOF
67840 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67841 _ACEOF
67844 done
67853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
67854 $as_echo_n "checking for float round functions... " >&6; }
67855 if ${glibcxx_cv_func_float_round_use+:} false; then :
67856 $as_echo_n "(cached) " >&6
67857 else
67860 ac_ext=cpp
67861 ac_cpp='$CXXCPP $CPPFLAGS'
67862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67867 /* end confdefs.h. */
67868 #include <math.h>
67870 main ()
67872 ceilf (0); floorf (0);
67874 return 0;
67876 _ACEOF
67877 if ac_fn_cxx_try_compile "$LINENO"; then :
67878 glibcxx_cv_func_float_round_use=yes
67879 else
67880 glibcxx_cv_func_float_round_use=no
67882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67883 ac_ext=c
67884 ac_cpp='$CPP $CPPFLAGS'
67885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
67892 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
67893 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
67894 for ac_func in ceilf floorf
67895 do :
67896 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67897 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67898 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
67899 cat >>confdefs.h <<_ACEOF
67900 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67901 _ACEOF
67904 done
67906 else
67907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
67908 $as_echo_n "checking for _float round functions... " >&6; }
67909 if ${glibcxx_cv_func__float_round_use+:} false; then :
67910 $as_echo_n "(cached) " >&6
67911 else
67914 ac_ext=cpp
67915 ac_cpp='$CXXCPP $CPPFLAGS'
67916 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67917 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67918 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67921 /* end confdefs.h. */
67922 #include <math.h>
67924 main ()
67926 _ceilf (0); _floorf (0);
67928 return 0;
67930 _ACEOF
67931 if ac_fn_cxx_try_compile "$LINENO"; then :
67932 glibcxx_cv_func__float_round_use=yes
67933 else
67934 glibcxx_cv_func__float_round_use=no
67936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67937 ac_ext=c
67938 ac_cpp='$CPP $CPPFLAGS'
67939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
67946 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
67947 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
67948 for ac_func in _ceilf _floorf
67949 do :
67950 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67951 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67952 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
67953 cat >>confdefs.h <<_ACEOF
67954 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67955 _ACEOF
67958 done
67968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
67969 $as_echo_n "checking for expf declaration... " >&6; }
67970 if test x${glibcxx_cv_func_expf_use+set} != xset; then
67971 if ${glibcxx_cv_func_expf_use+:} false; then :
67972 $as_echo_n "(cached) " >&6
67973 else
67976 ac_ext=cpp
67977 ac_cpp='$CXXCPP $CPPFLAGS'
67978 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67979 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67980 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67983 /* end confdefs.h. */
67984 #include <math.h>
67985 #ifdef HAVE_IEEEFP_H
67986 #include <ieeefp.h>
67987 #endif
67990 main ()
67992 expf(0);
67994 return 0;
67996 _ACEOF
67997 if ac_fn_cxx_try_compile "$LINENO"; then :
67998 glibcxx_cv_func_expf_use=yes
67999 else
68000 glibcxx_cv_func_expf_use=no
68002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68003 ac_ext=c
68004 ac_cpp='$CPP $CPPFLAGS'
68005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
68014 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
68016 if test x$glibcxx_cv_func_expf_use = x"yes"; then
68017 for ac_func in expf
68018 do :
68019 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
68020 if test "x$ac_cv_func_expf" = xyes; then :
68021 cat >>confdefs.h <<_ACEOF
68022 #define HAVE_EXPF 1
68023 _ACEOF
68026 done
68028 else
68030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
68031 $as_echo_n "checking for _expf declaration... " >&6; }
68032 if test x${glibcxx_cv_func__expf_use+set} != xset; then
68033 if ${glibcxx_cv_func__expf_use+:} false; then :
68034 $as_echo_n "(cached) " >&6
68035 else
68038 ac_ext=cpp
68039 ac_cpp='$CXXCPP $CPPFLAGS'
68040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68045 /* end confdefs.h. */
68046 #include <math.h>
68047 #ifdef HAVE_IEEEFP_H
68048 #include <ieeefp.h>
68049 #endif
68052 main ()
68054 _expf(0);
68056 return 0;
68058 _ACEOF
68059 if ac_fn_cxx_try_compile "$LINENO"; then :
68060 glibcxx_cv_func__expf_use=yes
68061 else
68062 glibcxx_cv_func__expf_use=no
68064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68065 ac_ext=c
68066 ac_cpp='$CPP $CPPFLAGS'
68067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
68076 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
68078 if test x$glibcxx_cv_func__expf_use = x"yes"; then
68079 for ac_func in _expf
68080 do :
68081 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
68082 if test "x$ac_cv_func__expf" = xyes; then :
68083 cat >>confdefs.h <<_ACEOF
68084 #define HAVE__EXPF 1
68085 _ACEOF
68088 done
68097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
68098 $as_echo_n "checking for isnanf declaration... " >&6; }
68099 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
68100 if ${glibcxx_cv_func_isnanf_use+:} false; then :
68101 $as_echo_n "(cached) " >&6
68102 else
68105 ac_ext=cpp
68106 ac_cpp='$CXXCPP $CPPFLAGS'
68107 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68108 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68109 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68112 /* end confdefs.h. */
68113 #include <math.h>
68114 #ifdef HAVE_IEEEFP_H
68115 #include <ieeefp.h>
68116 #endif
68119 main ()
68121 isnanf(0);
68123 return 0;
68125 _ACEOF
68126 if ac_fn_cxx_try_compile "$LINENO"; then :
68127 glibcxx_cv_func_isnanf_use=yes
68128 else
68129 glibcxx_cv_func_isnanf_use=no
68131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68132 ac_ext=c
68133 ac_cpp='$CPP $CPPFLAGS'
68134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
68143 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
68145 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
68146 for ac_func in isnanf
68147 do :
68148 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
68149 if test "x$ac_cv_func_isnanf" = xyes; then :
68150 cat >>confdefs.h <<_ACEOF
68151 #define HAVE_ISNANF 1
68152 _ACEOF
68155 done
68157 else
68159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
68160 $as_echo_n "checking for _isnanf declaration... " >&6; }
68161 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
68162 if ${glibcxx_cv_func__isnanf_use+:} false; then :
68163 $as_echo_n "(cached) " >&6
68164 else
68167 ac_ext=cpp
68168 ac_cpp='$CXXCPP $CPPFLAGS'
68169 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68170 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68171 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68174 /* end confdefs.h. */
68175 #include <math.h>
68176 #ifdef HAVE_IEEEFP_H
68177 #include <ieeefp.h>
68178 #endif
68181 main ()
68183 _isnanf(0);
68185 return 0;
68187 _ACEOF
68188 if ac_fn_cxx_try_compile "$LINENO"; then :
68189 glibcxx_cv_func__isnanf_use=yes
68190 else
68191 glibcxx_cv_func__isnanf_use=no
68193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68194 ac_ext=c
68195 ac_cpp='$CPP $CPPFLAGS'
68196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
68205 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
68207 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
68208 for ac_func in _isnanf
68209 do :
68210 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
68211 if test "x$ac_cv_func__isnanf" = xyes; then :
68212 cat >>confdefs.h <<_ACEOF
68213 #define HAVE__ISNANF 1
68214 _ACEOF
68217 done
68226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
68227 $as_echo_n "checking for isinff declaration... " >&6; }
68228 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
68229 if ${glibcxx_cv_func_isinff_use+:} false; then :
68230 $as_echo_n "(cached) " >&6
68231 else
68234 ac_ext=cpp
68235 ac_cpp='$CXXCPP $CPPFLAGS'
68236 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68237 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68238 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68241 /* end confdefs.h. */
68242 #include <math.h>
68243 #ifdef HAVE_IEEEFP_H
68244 #include <ieeefp.h>
68245 #endif
68248 main ()
68250 isinff(0);
68252 return 0;
68254 _ACEOF
68255 if ac_fn_cxx_try_compile "$LINENO"; then :
68256 glibcxx_cv_func_isinff_use=yes
68257 else
68258 glibcxx_cv_func_isinff_use=no
68260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68261 ac_ext=c
68262 ac_cpp='$CPP $CPPFLAGS'
68263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
68272 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
68274 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
68275 for ac_func in isinff
68276 do :
68277 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
68278 if test "x$ac_cv_func_isinff" = xyes; then :
68279 cat >>confdefs.h <<_ACEOF
68280 #define HAVE_ISINFF 1
68281 _ACEOF
68284 done
68286 else
68288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
68289 $as_echo_n "checking for _isinff declaration... " >&6; }
68290 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
68291 if ${glibcxx_cv_func__isinff_use+:} false; then :
68292 $as_echo_n "(cached) " >&6
68293 else
68296 ac_ext=cpp
68297 ac_cpp='$CXXCPP $CPPFLAGS'
68298 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68299 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68300 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68303 /* end confdefs.h. */
68304 #include <math.h>
68305 #ifdef HAVE_IEEEFP_H
68306 #include <ieeefp.h>
68307 #endif
68310 main ()
68312 _isinff(0);
68314 return 0;
68316 _ACEOF
68317 if ac_fn_cxx_try_compile "$LINENO"; then :
68318 glibcxx_cv_func__isinff_use=yes
68319 else
68320 glibcxx_cv_func__isinff_use=no
68322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68323 ac_ext=c
68324 ac_cpp='$CPP $CPPFLAGS'
68325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
68334 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
68336 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
68337 for ac_func in _isinff
68338 do :
68339 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
68340 if test "x$ac_cv_func__isinff" = xyes; then :
68341 cat >>confdefs.h <<_ACEOF
68342 #define HAVE__ISINFF 1
68343 _ACEOF
68346 done
68355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
68356 $as_echo_n "checking for atan2f declaration... " >&6; }
68357 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
68358 if ${glibcxx_cv_func_atan2f_use+:} false; then :
68359 $as_echo_n "(cached) " >&6
68360 else
68363 ac_ext=cpp
68364 ac_cpp='$CXXCPP $CPPFLAGS'
68365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68370 /* end confdefs.h. */
68371 #include <math.h>
68373 main ()
68375 atan2f(0, 0);
68377 return 0;
68379 _ACEOF
68380 if ac_fn_cxx_try_compile "$LINENO"; then :
68381 glibcxx_cv_func_atan2f_use=yes
68382 else
68383 glibcxx_cv_func_atan2f_use=no
68385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68386 ac_ext=c
68387 ac_cpp='$CPP $CPPFLAGS'
68388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
68397 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
68399 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
68400 for ac_func in atan2f
68401 do :
68402 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
68403 if test "x$ac_cv_func_atan2f" = xyes; then :
68404 cat >>confdefs.h <<_ACEOF
68405 #define HAVE_ATAN2F 1
68406 _ACEOF
68409 done
68411 else
68413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
68414 $as_echo_n "checking for _atan2f declaration... " >&6; }
68415 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
68416 if ${glibcxx_cv_func__atan2f_use+:} false; then :
68417 $as_echo_n "(cached) " >&6
68418 else
68421 ac_ext=cpp
68422 ac_cpp='$CXXCPP $CPPFLAGS'
68423 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68424 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68425 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68428 /* end confdefs.h. */
68429 #include <math.h>
68431 main ()
68433 _atan2f(0, 0);
68435 return 0;
68437 _ACEOF
68438 if ac_fn_cxx_try_compile "$LINENO"; then :
68439 glibcxx_cv_func__atan2f_use=yes
68440 else
68441 glibcxx_cv_func__atan2f_use=no
68443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68444 ac_ext=c
68445 ac_cpp='$CPP $CPPFLAGS'
68446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
68455 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
68457 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
68458 for ac_func in _atan2f
68459 do :
68460 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
68461 if test "x$ac_cv_func__atan2f" = xyes; then :
68462 cat >>confdefs.h <<_ACEOF
68463 #define HAVE__ATAN2F 1
68464 _ACEOF
68467 done
68476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
68477 $as_echo_n "checking for fabsf declaration... " >&6; }
68478 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
68479 if ${glibcxx_cv_func_fabsf_use+:} false; then :
68480 $as_echo_n "(cached) " >&6
68481 else
68484 ac_ext=cpp
68485 ac_cpp='$CXXCPP $CPPFLAGS'
68486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68491 /* end confdefs.h. */
68492 #include <math.h>
68493 #ifdef HAVE_IEEEFP_H
68494 #include <ieeefp.h>
68495 #endif
68498 main ()
68500 fabsf(0);
68502 return 0;
68504 _ACEOF
68505 if ac_fn_cxx_try_compile "$LINENO"; then :
68506 glibcxx_cv_func_fabsf_use=yes
68507 else
68508 glibcxx_cv_func_fabsf_use=no
68510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68511 ac_ext=c
68512 ac_cpp='$CPP $CPPFLAGS'
68513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
68522 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
68524 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
68525 for ac_func in fabsf
68526 do :
68527 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
68528 if test "x$ac_cv_func_fabsf" = xyes; then :
68529 cat >>confdefs.h <<_ACEOF
68530 #define HAVE_FABSF 1
68531 _ACEOF
68534 done
68536 else
68538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
68539 $as_echo_n "checking for _fabsf declaration... " >&6; }
68540 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
68541 if ${glibcxx_cv_func__fabsf_use+:} false; then :
68542 $as_echo_n "(cached) " >&6
68543 else
68546 ac_ext=cpp
68547 ac_cpp='$CXXCPP $CPPFLAGS'
68548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68553 /* end confdefs.h. */
68554 #include <math.h>
68555 #ifdef HAVE_IEEEFP_H
68556 #include <ieeefp.h>
68557 #endif
68560 main ()
68562 _fabsf(0);
68564 return 0;
68566 _ACEOF
68567 if ac_fn_cxx_try_compile "$LINENO"; then :
68568 glibcxx_cv_func__fabsf_use=yes
68569 else
68570 glibcxx_cv_func__fabsf_use=no
68572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68573 ac_ext=c
68574 ac_cpp='$CPP $CPPFLAGS'
68575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
68584 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
68586 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
68587 for ac_func in _fabsf
68588 do :
68589 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
68590 if test "x$ac_cv_func__fabsf" = xyes; then :
68591 cat >>confdefs.h <<_ACEOF
68592 #define HAVE__FABSF 1
68593 _ACEOF
68596 done
68605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
68606 $as_echo_n "checking for fmodf declaration... " >&6; }
68607 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
68608 if ${glibcxx_cv_func_fmodf_use+:} false; then :
68609 $as_echo_n "(cached) " >&6
68610 else
68613 ac_ext=cpp
68614 ac_cpp='$CXXCPP $CPPFLAGS'
68615 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68616 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68617 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68620 /* end confdefs.h. */
68621 #include <math.h>
68623 main ()
68625 fmodf(0, 0);
68627 return 0;
68629 _ACEOF
68630 if ac_fn_cxx_try_compile "$LINENO"; then :
68631 glibcxx_cv_func_fmodf_use=yes
68632 else
68633 glibcxx_cv_func_fmodf_use=no
68635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68636 ac_ext=c
68637 ac_cpp='$CPP $CPPFLAGS'
68638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
68647 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
68649 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
68650 for ac_func in fmodf
68651 do :
68652 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
68653 if test "x$ac_cv_func_fmodf" = xyes; then :
68654 cat >>confdefs.h <<_ACEOF
68655 #define HAVE_FMODF 1
68656 _ACEOF
68659 done
68661 else
68663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
68664 $as_echo_n "checking for _fmodf declaration... " >&6; }
68665 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
68666 if ${glibcxx_cv_func__fmodf_use+:} false; then :
68667 $as_echo_n "(cached) " >&6
68668 else
68671 ac_ext=cpp
68672 ac_cpp='$CXXCPP $CPPFLAGS'
68673 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68674 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68675 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68678 /* end confdefs.h. */
68679 #include <math.h>
68681 main ()
68683 _fmodf(0, 0);
68685 return 0;
68687 _ACEOF
68688 if ac_fn_cxx_try_compile "$LINENO"; then :
68689 glibcxx_cv_func__fmodf_use=yes
68690 else
68691 glibcxx_cv_func__fmodf_use=no
68693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68694 ac_ext=c
68695 ac_cpp='$CPP $CPPFLAGS'
68696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
68705 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
68707 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
68708 for ac_func in _fmodf
68709 do :
68710 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
68711 if test "x$ac_cv_func__fmodf" = xyes; then :
68712 cat >>confdefs.h <<_ACEOF
68713 #define HAVE__FMODF 1
68714 _ACEOF
68717 done
68726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
68727 $as_echo_n "checking for frexpf declaration... " >&6; }
68728 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
68729 if ${glibcxx_cv_func_frexpf_use+:} false; then :
68730 $as_echo_n "(cached) " >&6
68731 else
68734 ac_ext=cpp
68735 ac_cpp='$CXXCPP $CPPFLAGS'
68736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68741 /* end confdefs.h. */
68742 #include <math.h>
68744 main ()
68746 frexpf(0, 0);
68748 return 0;
68750 _ACEOF
68751 if ac_fn_cxx_try_compile "$LINENO"; then :
68752 glibcxx_cv_func_frexpf_use=yes
68753 else
68754 glibcxx_cv_func_frexpf_use=no
68756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68757 ac_ext=c
68758 ac_cpp='$CPP $CPPFLAGS'
68759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
68768 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
68770 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
68771 for ac_func in frexpf
68772 do :
68773 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
68774 if test "x$ac_cv_func_frexpf" = xyes; then :
68775 cat >>confdefs.h <<_ACEOF
68776 #define HAVE_FREXPF 1
68777 _ACEOF
68780 done
68782 else
68784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
68785 $as_echo_n "checking for _frexpf declaration... " >&6; }
68786 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
68787 if ${glibcxx_cv_func__frexpf_use+:} false; then :
68788 $as_echo_n "(cached) " >&6
68789 else
68792 ac_ext=cpp
68793 ac_cpp='$CXXCPP $CPPFLAGS'
68794 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68795 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68796 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68799 /* end confdefs.h. */
68800 #include <math.h>
68802 main ()
68804 _frexpf(0, 0);
68806 return 0;
68808 _ACEOF
68809 if ac_fn_cxx_try_compile "$LINENO"; then :
68810 glibcxx_cv_func__frexpf_use=yes
68811 else
68812 glibcxx_cv_func__frexpf_use=no
68814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68815 ac_ext=c
68816 ac_cpp='$CPP $CPPFLAGS'
68817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
68826 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
68828 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
68829 for ac_func in _frexpf
68830 do :
68831 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
68832 if test "x$ac_cv_func__frexpf" = xyes; then :
68833 cat >>confdefs.h <<_ACEOF
68834 #define HAVE__FREXPF 1
68835 _ACEOF
68838 done
68847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
68848 $as_echo_n "checking for hypotf declaration... " >&6; }
68849 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
68850 if ${glibcxx_cv_func_hypotf_use+:} false; then :
68851 $as_echo_n "(cached) " >&6
68852 else
68855 ac_ext=cpp
68856 ac_cpp='$CXXCPP $CPPFLAGS'
68857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68862 /* end confdefs.h. */
68863 #include <math.h>
68865 main ()
68867 hypotf(0, 0);
68869 return 0;
68871 _ACEOF
68872 if ac_fn_cxx_try_compile "$LINENO"; then :
68873 glibcxx_cv_func_hypotf_use=yes
68874 else
68875 glibcxx_cv_func_hypotf_use=no
68877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68878 ac_ext=c
68879 ac_cpp='$CPP $CPPFLAGS'
68880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
68889 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
68891 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
68892 for ac_func in hypotf
68893 do :
68894 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
68895 if test "x$ac_cv_func_hypotf" = xyes; then :
68896 cat >>confdefs.h <<_ACEOF
68897 #define HAVE_HYPOTF 1
68898 _ACEOF
68901 done
68903 else
68905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
68906 $as_echo_n "checking for _hypotf declaration... " >&6; }
68907 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
68908 if ${glibcxx_cv_func__hypotf_use+:} false; then :
68909 $as_echo_n "(cached) " >&6
68910 else
68913 ac_ext=cpp
68914 ac_cpp='$CXXCPP $CPPFLAGS'
68915 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68916 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68917 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68920 /* end confdefs.h. */
68921 #include <math.h>
68923 main ()
68925 _hypotf(0, 0);
68927 return 0;
68929 _ACEOF
68930 if ac_fn_cxx_try_compile "$LINENO"; then :
68931 glibcxx_cv_func__hypotf_use=yes
68932 else
68933 glibcxx_cv_func__hypotf_use=no
68935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68936 ac_ext=c
68937 ac_cpp='$CPP $CPPFLAGS'
68938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
68947 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
68949 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
68950 for ac_func in _hypotf
68951 do :
68952 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
68953 if test "x$ac_cv_func__hypotf" = xyes; then :
68954 cat >>confdefs.h <<_ACEOF
68955 #define HAVE__HYPOTF 1
68956 _ACEOF
68959 done
68968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
68969 $as_echo_n "checking for ldexpf declaration... " >&6; }
68970 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
68971 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
68972 $as_echo_n "(cached) " >&6
68973 else
68976 ac_ext=cpp
68977 ac_cpp='$CXXCPP $CPPFLAGS'
68978 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68979 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68980 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68983 /* end confdefs.h. */
68984 #include <math.h>
68986 main ()
68988 ldexpf(0, 0);
68990 return 0;
68992 _ACEOF
68993 if ac_fn_cxx_try_compile "$LINENO"; then :
68994 glibcxx_cv_func_ldexpf_use=yes
68995 else
68996 glibcxx_cv_func_ldexpf_use=no
68998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68999 ac_ext=c
69000 ac_cpp='$CPP $CPPFLAGS'
69001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
69010 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
69012 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
69013 for ac_func in ldexpf
69014 do :
69015 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
69016 if test "x$ac_cv_func_ldexpf" = xyes; then :
69017 cat >>confdefs.h <<_ACEOF
69018 #define HAVE_LDEXPF 1
69019 _ACEOF
69022 done
69024 else
69026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
69027 $as_echo_n "checking for _ldexpf declaration... " >&6; }
69028 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
69029 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
69030 $as_echo_n "(cached) " >&6
69031 else
69034 ac_ext=cpp
69035 ac_cpp='$CXXCPP $CPPFLAGS'
69036 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69037 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69038 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69041 /* end confdefs.h. */
69042 #include <math.h>
69044 main ()
69046 _ldexpf(0, 0);
69048 return 0;
69050 _ACEOF
69051 if ac_fn_cxx_try_compile "$LINENO"; then :
69052 glibcxx_cv_func__ldexpf_use=yes
69053 else
69054 glibcxx_cv_func__ldexpf_use=no
69056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69057 ac_ext=c
69058 ac_cpp='$CPP $CPPFLAGS'
69059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
69068 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
69070 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
69071 for ac_func in _ldexpf
69072 do :
69073 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
69074 if test "x$ac_cv_func__ldexpf" = xyes; then :
69075 cat >>confdefs.h <<_ACEOF
69076 #define HAVE__LDEXPF 1
69077 _ACEOF
69080 done
69089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
69090 $as_echo_n "checking for logf declaration... " >&6; }
69091 if test x${glibcxx_cv_func_logf_use+set} != xset; then
69092 if ${glibcxx_cv_func_logf_use+:} false; then :
69093 $as_echo_n "(cached) " >&6
69094 else
69097 ac_ext=cpp
69098 ac_cpp='$CXXCPP $CPPFLAGS'
69099 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69100 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69101 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69104 /* end confdefs.h. */
69105 #include <math.h>
69106 #ifdef HAVE_IEEEFP_H
69107 #include <ieeefp.h>
69108 #endif
69111 main ()
69113 logf(0);
69115 return 0;
69117 _ACEOF
69118 if ac_fn_cxx_try_compile "$LINENO"; then :
69119 glibcxx_cv_func_logf_use=yes
69120 else
69121 glibcxx_cv_func_logf_use=no
69123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69124 ac_ext=c
69125 ac_cpp='$CPP $CPPFLAGS'
69126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
69135 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
69137 if test x$glibcxx_cv_func_logf_use = x"yes"; then
69138 for ac_func in logf
69139 do :
69140 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
69141 if test "x$ac_cv_func_logf" = xyes; then :
69142 cat >>confdefs.h <<_ACEOF
69143 #define HAVE_LOGF 1
69144 _ACEOF
69147 done
69149 else
69151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
69152 $as_echo_n "checking for _logf declaration... " >&6; }
69153 if test x${glibcxx_cv_func__logf_use+set} != xset; then
69154 if ${glibcxx_cv_func__logf_use+:} false; then :
69155 $as_echo_n "(cached) " >&6
69156 else
69159 ac_ext=cpp
69160 ac_cpp='$CXXCPP $CPPFLAGS'
69161 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69162 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69163 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69166 /* end confdefs.h. */
69167 #include <math.h>
69168 #ifdef HAVE_IEEEFP_H
69169 #include <ieeefp.h>
69170 #endif
69173 main ()
69175 _logf(0);
69177 return 0;
69179 _ACEOF
69180 if ac_fn_cxx_try_compile "$LINENO"; then :
69181 glibcxx_cv_func__logf_use=yes
69182 else
69183 glibcxx_cv_func__logf_use=no
69185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69186 ac_ext=c
69187 ac_cpp='$CPP $CPPFLAGS'
69188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
69197 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
69199 if test x$glibcxx_cv_func__logf_use = x"yes"; then
69200 for ac_func in _logf
69201 do :
69202 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
69203 if test "x$ac_cv_func__logf" = xyes; then :
69204 cat >>confdefs.h <<_ACEOF
69205 #define HAVE__LOGF 1
69206 _ACEOF
69209 done
69218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
69219 $as_echo_n "checking for log10f declaration... " >&6; }
69220 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
69221 if ${glibcxx_cv_func_log10f_use+:} false; then :
69222 $as_echo_n "(cached) " >&6
69223 else
69226 ac_ext=cpp
69227 ac_cpp='$CXXCPP $CPPFLAGS'
69228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69233 /* end confdefs.h. */
69234 #include <math.h>
69235 #ifdef HAVE_IEEEFP_H
69236 #include <ieeefp.h>
69237 #endif
69240 main ()
69242 log10f(0);
69244 return 0;
69246 _ACEOF
69247 if ac_fn_cxx_try_compile "$LINENO"; then :
69248 glibcxx_cv_func_log10f_use=yes
69249 else
69250 glibcxx_cv_func_log10f_use=no
69252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69253 ac_ext=c
69254 ac_cpp='$CPP $CPPFLAGS'
69255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
69264 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
69266 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
69267 for ac_func in log10f
69268 do :
69269 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
69270 if test "x$ac_cv_func_log10f" = xyes; then :
69271 cat >>confdefs.h <<_ACEOF
69272 #define HAVE_LOG10F 1
69273 _ACEOF
69276 done
69278 else
69280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
69281 $as_echo_n "checking for _log10f declaration... " >&6; }
69282 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
69283 if ${glibcxx_cv_func__log10f_use+:} false; then :
69284 $as_echo_n "(cached) " >&6
69285 else
69288 ac_ext=cpp
69289 ac_cpp='$CXXCPP $CPPFLAGS'
69290 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69291 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69292 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69295 /* end confdefs.h. */
69296 #include <math.h>
69297 #ifdef HAVE_IEEEFP_H
69298 #include <ieeefp.h>
69299 #endif
69302 main ()
69304 _log10f(0);
69306 return 0;
69308 _ACEOF
69309 if ac_fn_cxx_try_compile "$LINENO"; then :
69310 glibcxx_cv_func__log10f_use=yes
69311 else
69312 glibcxx_cv_func__log10f_use=no
69314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69315 ac_ext=c
69316 ac_cpp='$CPP $CPPFLAGS'
69317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
69326 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
69328 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
69329 for ac_func in _log10f
69330 do :
69331 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
69332 if test "x$ac_cv_func__log10f" = xyes; then :
69333 cat >>confdefs.h <<_ACEOF
69334 #define HAVE__LOG10F 1
69335 _ACEOF
69338 done
69347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
69348 $as_echo_n "checking for modff declaration... " >&6; }
69349 if test x${glibcxx_cv_func_modff_use+set} != xset; then
69350 if ${glibcxx_cv_func_modff_use+:} false; then :
69351 $as_echo_n "(cached) " >&6
69352 else
69355 ac_ext=cpp
69356 ac_cpp='$CXXCPP $CPPFLAGS'
69357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69362 /* end confdefs.h. */
69363 #include <math.h>
69365 main ()
69367 modff(0, 0);
69369 return 0;
69371 _ACEOF
69372 if ac_fn_cxx_try_compile "$LINENO"; then :
69373 glibcxx_cv_func_modff_use=yes
69374 else
69375 glibcxx_cv_func_modff_use=no
69377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69378 ac_ext=c
69379 ac_cpp='$CPP $CPPFLAGS'
69380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
69389 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
69391 if test x$glibcxx_cv_func_modff_use = x"yes"; then
69392 for ac_func in modff
69393 do :
69394 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
69395 if test "x$ac_cv_func_modff" = xyes; then :
69396 cat >>confdefs.h <<_ACEOF
69397 #define HAVE_MODFF 1
69398 _ACEOF
69401 done
69403 else
69405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
69406 $as_echo_n "checking for _modff declaration... " >&6; }
69407 if test x${glibcxx_cv_func__modff_use+set} != xset; then
69408 if ${glibcxx_cv_func__modff_use+:} false; then :
69409 $as_echo_n "(cached) " >&6
69410 else
69413 ac_ext=cpp
69414 ac_cpp='$CXXCPP $CPPFLAGS'
69415 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69416 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69417 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69420 /* end confdefs.h. */
69421 #include <math.h>
69423 main ()
69425 _modff(0, 0);
69427 return 0;
69429 _ACEOF
69430 if ac_fn_cxx_try_compile "$LINENO"; then :
69431 glibcxx_cv_func__modff_use=yes
69432 else
69433 glibcxx_cv_func__modff_use=no
69435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69436 ac_ext=c
69437 ac_cpp='$CPP $CPPFLAGS'
69438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
69447 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
69449 if test x$glibcxx_cv_func__modff_use = x"yes"; then
69450 for ac_func in _modff
69451 do :
69452 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
69453 if test "x$ac_cv_func__modff" = xyes; then :
69454 cat >>confdefs.h <<_ACEOF
69455 #define HAVE__MODFF 1
69456 _ACEOF
69459 done
69468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
69469 $as_echo_n "checking for modf declaration... " >&6; }
69470 if test x${glibcxx_cv_func_modf_use+set} != xset; then
69471 if ${glibcxx_cv_func_modf_use+:} false; then :
69472 $as_echo_n "(cached) " >&6
69473 else
69476 ac_ext=cpp
69477 ac_cpp='$CXXCPP $CPPFLAGS'
69478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69483 /* end confdefs.h. */
69484 #include <math.h>
69486 main ()
69488 modf(0, 0);
69490 return 0;
69492 _ACEOF
69493 if ac_fn_cxx_try_compile "$LINENO"; then :
69494 glibcxx_cv_func_modf_use=yes
69495 else
69496 glibcxx_cv_func_modf_use=no
69498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69499 ac_ext=c
69500 ac_cpp='$CPP $CPPFLAGS'
69501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
69510 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
69512 if test x$glibcxx_cv_func_modf_use = x"yes"; then
69513 for ac_func in modf
69514 do :
69515 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
69516 if test "x$ac_cv_func_modf" = xyes; then :
69517 cat >>confdefs.h <<_ACEOF
69518 #define HAVE_MODF 1
69519 _ACEOF
69522 done
69524 else
69526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
69527 $as_echo_n "checking for _modf declaration... " >&6; }
69528 if test x${glibcxx_cv_func__modf_use+set} != xset; then
69529 if ${glibcxx_cv_func__modf_use+:} false; then :
69530 $as_echo_n "(cached) " >&6
69531 else
69534 ac_ext=cpp
69535 ac_cpp='$CXXCPP $CPPFLAGS'
69536 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69537 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69538 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69541 /* end confdefs.h. */
69542 #include <math.h>
69544 main ()
69546 _modf(0, 0);
69548 return 0;
69550 _ACEOF
69551 if ac_fn_cxx_try_compile "$LINENO"; then :
69552 glibcxx_cv_func__modf_use=yes
69553 else
69554 glibcxx_cv_func__modf_use=no
69556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69557 ac_ext=c
69558 ac_cpp='$CPP $CPPFLAGS'
69559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
69568 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
69570 if test x$glibcxx_cv_func__modf_use = x"yes"; then
69571 for ac_func in _modf
69572 do :
69573 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
69574 if test "x$ac_cv_func__modf" = xyes; then :
69575 cat >>confdefs.h <<_ACEOF
69576 #define HAVE__MODF 1
69577 _ACEOF
69580 done
69589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
69590 $as_echo_n "checking for powf declaration... " >&6; }
69591 if test x${glibcxx_cv_func_powf_use+set} != xset; then
69592 if ${glibcxx_cv_func_powf_use+:} false; then :
69593 $as_echo_n "(cached) " >&6
69594 else
69597 ac_ext=cpp
69598 ac_cpp='$CXXCPP $CPPFLAGS'
69599 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69600 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69601 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69604 /* end confdefs.h. */
69605 #include <math.h>
69607 main ()
69609 powf(0, 0);
69611 return 0;
69613 _ACEOF
69614 if ac_fn_cxx_try_compile "$LINENO"; then :
69615 glibcxx_cv_func_powf_use=yes
69616 else
69617 glibcxx_cv_func_powf_use=no
69619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69620 ac_ext=c
69621 ac_cpp='$CPP $CPPFLAGS'
69622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
69631 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
69633 if test x$glibcxx_cv_func_powf_use = x"yes"; then
69634 for ac_func in powf
69635 do :
69636 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
69637 if test "x$ac_cv_func_powf" = xyes; then :
69638 cat >>confdefs.h <<_ACEOF
69639 #define HAVE_POWF 1
69640 _ACEOF
69643 done
69645 else
69647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
69648 $as_echo_n "checking for _powf declaration... " >&6; }
69649 if test x${glibcxx_cv_func__powf_use+set} != xset; then
69650 if ${glibcxx_cv_func__powf_use+:} false; then :
69651 $as_echo_n "(cached) " >&6
69652 else
69655 ac_ext=cpp
69656 ac_cpp='$CXXCPP $CPPFLAGS'
69657 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69658 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69659 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69662 /* end confdefs.h. */
69663 #include <math.h>
69665 main ()
69667 _powf(0, 0);
69669 return 0;
69671 _ACEOF
69672 if ac_fn_cxx_try_compile "$LINENO"; then :
69673 glibcxx_cv_func__powf_use=yes
69674 else
69675 glibcxx_cv_func__powf_use=no
69677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69678 ac_ext=c
69679 ac_cpp='$CPP $CPPFLAGS'
69680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
69689 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
69691 if test x$glibcxx_cv_func__powf_use = x"yes"; then
69692 for ac_func in _powf
69693 do :
69694 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
69695 if test "x$ac_cv_func__powf" = xyes; then :
69696 cat >>confdefs.h <<_ACEOF
69697 #define HAVE__POWF 1
69698 _ACEOF
69701 done
69710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
69711 $as_echo_n "checking for sqrtf declaration... " >&6; }
69712 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
69713 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
69714 $as_echo_n "(cached) " >&6
69715 else
69718 ac_ext=cpp
69719 ac_cpp='$CXXCPP $CPPFLAGS'
69720 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69721 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69722 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69725 /* end confdefs.h. */
69726 #include <math.h>
69727 #ifdef HAVE_IEEEFP_H
69728 #include <ieeefp.h>
69729 #endif
69732 main ()
69734 sqrtf(0);
69736 return 0;
69738 _ACEOF
69739 if ac_fn_cxx_try_compile "$LINENO"; then :
69740 glibcxx_cv_func_sqrtf_use=yes
69741 else
69742 glibcxx_cv_func_sqrtf_use=no
69744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69745 ac_ext=c
69746 ac_cpp='$CPP $CPPFLAGS'
69747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
69756 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
69758 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
69759 for ac_func in sqrtf
69760 do :
69761 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
69762 if test "x$ac_cv_func_sqrtf" = xyes; then :
69763 cat >>confdefs.h <<_ACEOF
69764 #define HAVE_SQRTF 1
69765 _ACEOF
69768 done
69770 else
69772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
69773 $as_echo_n "checking for _sqrtf declaration... " >&6; }
69774 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
69775 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
69776 $as_echo_n "(cached) " >&6
69777 else
69780 ac_ext=cpp
69781 ac_cpp='$CXXCPP $CPPFLAGS'
69782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69787 /* end confdefs.h. */
69788 #include <math.h>
69789 #ifdef HAVE_IEEEFP_H
69790 #include <ieeefp.h>
69791 #endif
69794 main ()
69796 _sqrtf(0);
69798 return 0;
69800 _ACEOF
69801 if ac_fn_cxx_try_compile "$LINENO"; then :
69802 glibcxx_cv_func__sqrtf_use=yes
69803 else
69804 glibcxx_cv_func__sqrtf_use=no
69806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69807 ac_ext=c
69808 ac_cpp='$CPP $CPPFLAGS'
69809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
69818 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
69820 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
69821 for ac_func in _sqrtf
69822 do :
69823 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
69824 if test "x$ac_cv_func__sqrtf" = xyes; then :
69825 cat >>confdefs.h <<_ACEOF
69826 #define HAVE__SQRTF 1
69827 _ACEOF
69830 done
69839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
69840 $as_echo_n "checking for sincosf declaration... " >&6; }
69841 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
69842 if ${glibcxx_cv_func_sincosf_use+:} false; then :
69843 $as_echo_n "(cached) " >&6
69844 else
69847 ac_ext=cpp
69848 ac_cpp='$CXXCPP $CPPFLAGS'
69849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69854 /* end confdefs.h. */
69855 #include <math.h>
69857 main ()
69859 sincosf(0, 0, 0);
69861 return 0;
69863 _ACEOF
69864 if ac_fn_cxx_try_compile "$LINENO"; then :
69865 glibcxx_cv_func_sincosf_use=yes
69866 else
69867 glibcxx_cv_func_sincosf_use=no
69869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69870 ac_ext=c
69871 ac_cpp='$CPP $CPPFLAGS'
69872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
69881 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
69883 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
69884 for ac_func in sincosf
69885 do :
69886 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
69887 if test "x$ac_cv_func_sincosf" = xyes; then :
69888 cat >>confdefs.h <<_ACEOF
69889 #define HAVE_SINCOSF 1
69890 _ACEOF
69893 done
69895 else
69897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
69898 $as_echo_n "checking for _sincosf declaration... " >&6; }
69899 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
69900 if ${glibcxx_cv_func__sincosf_use+:} false; then :
69901 $as_echo_n "(cached) " >&6
69902 else
69905 ac_ext=cpp
69906 ac_cpp='$CXXCPP $CPPFLAGS'
69907 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69908 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69909 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69912 /* end confdefs.h. */
69913 #include <math.h>
69915 main ()
69917 _sincosf(0, 0, 0);
69919 return 0;
69921 _ACEOF
69922 if ac_fn_cxx_try_compile "$LINENO"; then :
69923 glibcxx_cv_func__sincosf_use=yes
69924 else
69925 glibcxx_cv_func__sincosf_use=no
69927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69928 ac_ext=c
69929 ac_cpp='$CPP $CPPFLAGS'
69930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
69939 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
69941 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
69942 for ac_func in _sincosf
69943 do :
69944 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
69945 if test "x$ac_cv_func__sincosf" = xyes; then :
69946 cat >>confdefs.h <<_ACEOF
69947 #define HAVE__SINCOSF 1
69948 _ACEOF
69951 done
69960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
69961 $as_echo_n "checking for finitef declaration... " >&6; }
69962 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
69963 if ${glibcxx_cv_func_finitef_use+:} false; then :
69964 $as_echo_n "(cached) " >&6
69965 else
69968 ac_ext=cpp
69969 ac_cpp='$CXXCPP $CPPFLAGS'
69970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69975 /* end confdefs.h. */
69976 #include <math.h>
69977 #ifdef HAVE_IEEEFP_H
69978 #include <ieeefp.h>
69979 #endif
69982 main ()
69984 finitef(0);
69986 return 0;
69988 _ACEOF
69989 if ac_fn_cxx_try_compile "$LINENO"; then :
69990 glibcxx_cv_func_finitef_use=yes
69991 else
69992 glibcxx_cv_func_finitef_use=no
69994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69995 ac_ext=c
69996 ac_cpp='$CPP $CPPFLAGS'
69997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
70006 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
70008 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
70009 for ac_func in finitef
70010 do :
70011 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
70012 if test "x$ac_cv_func_finitef" = xyes; then :
70013 cat >>confdefs.h <<_ACEOF
70014 #define HAVE_FINITEF 1
70015 _ACEOF
70018 done
70020 else
70022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
70023 $as_echo_n "checking for _finitef declaration... " >&6; }
70024 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
70025 if ${glibcxx_cv_func__finitef_use+:} false; then :
70026 $as_echo_n "(cached) " >&6
70027 else
70030 ac_ext=cpp
70031 ac_cpp='$CXXCPP $CPPFLAGS'
70032 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70033 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70034 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70037 /* end confdefs.h. */
70038 #include <math.h>
70039 #ifdef HAVE_IEEEFP_H
70040 #include <ieeefp.h>
70041 #endif
70044 main ()
70046 _finitef(0);
70048 return 0;
70050 _ACEOF
70051 if ac_fn_cxx_try_compile "$LINENO"; then :
70052 glibcxx_cv_func__finitef_use=yes
70053 else
70054 glibcxx_cv_func__finitef_use=no
70056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70057 ac_ext=c
70058 ac_cpp='$CPP $CPPFLAGS'
70059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
70068 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
70070 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
70071 for ac_func in _finitef
70072 do :
70073 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
70074 if test "x$ac_cv_func__finitef" = xyes; then :
70075 cat >>confdefs.h <<_ACEOF
70076 #define HAVE__FINITEF 1
70077 _ACEOF
70080 done
70089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
70090 $as_echo_n "checking for long double trig functions... " >&6; }
70091 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
70092 $as_echo_n "(cached) " >&6
70093 else
70096 ac_ext=cpp
70097 ac_cpp='$CXXCPP $CPPFLAGS'
70098 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70099 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70100 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70103 /* end confdefs.h. */
70104 #include <math.h>
70106 main ()
70108 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
70110 return 0;
70112 _ACEOF
70113 if ac_fn_cxx_try_compile "$LINENO"; then :
70114 glibcxx_cv_func_long_double_trig_use=yes
70115 else
70116 glibcxx_cv_func_long_double_trig_use=no
70118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70119 ac_ext=c
70120 ac_cpp='$CPP $CPPFLAGS'
70121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
70128 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
70129 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
70130 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
70131 do :
70132 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
70133 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
70134 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
70135 cat >>confdefs.h <<_ACEOF
70136 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
70137 _ACEOF
70140 done
70142 else
70143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
70144 $as_echo_n "checking for _long double trig functions... " >&6; }
70145 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
70146 $as_echo_n "(cached) " >&6
70147 else
70150 ac_ext=cpp
70151 ac_cpp='$CXXCPP $CPPFLAGS'
70152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70157 /* end confdefs.h. */
70158 #include <math.h>
70160 main ()
70162 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
70164 return 0;
70166 _ACEOF
70167 if ac_fn_cxx_try_compile "$LINENO"; then :
70168 glibcxx_cv_func__long_double_trig_use=yes
70169 else
70170 glibcxx_cv_func__long_double_trig_use=no
70172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70173 ac_ext=c
70174 ac_cpp='$CPP $CPPFLAGS'
70175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
70182 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
70183 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
70184 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
70185 do :
70186 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
70187 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
70188 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
70189 cat >>confdefs.h <<_ACEOF
70190 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
70191 _ACEOF
70194 done
70203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
70204 $as_echo_n "checking for long double round functions... " >&6; }
70205 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
70206 $as_echo_n "(cached) " >&6
70207 else
70210 ac_ext=cpp
70211 ac_cpp='$CXXCPP $CPPFLAGS'
70212 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70213 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70214 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70217 /* end confdefs.h. */
70218 #include <math.h>
70220 main ()
70222 ceill (0); floorl (0);
70224 return 0;
70226 _ACEOF
70227 if ac_fn_cxx_try_compile "$LINENO"; then :
70228 glibcxx_cv_func_long_double_round_use=yes
70229 else
70230 glibcxx_cv_func_long_double_round_use=no
70232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70233 ac_ext=c
70234 ac_cpp='$CPP $CPPFLAGS'
70235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
70242 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
70243 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
70244 for ac_func in ceill floorl
70245 do :
70246 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
70247 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
70248 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
70249 cat >>confdefs.h <<_ACEOF
70250 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
70251 _ACEOF
70254 done
70256 else
70257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
70258 $as_echo_n "checking for _long double round functions... " >&6; }
70259 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
70260 $as_echo_n "(cached) " >&6
70261 else
70264 ac_ext=cpp
70265 ac_cpp='$CXXCPP $CPPFLAGS'
70266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70271 /* end confdefs.h. */
70272 #include <math.h>
70274 main ()
70276 _ceill (0); _floorl (0);
70278 return 0;
70280 _ACEOF
70281 if ac_fn_cxx_try_compile "$LINENO"; then :
70282 glibcxx_cv_func__long_double_round_use=yes
70283 else
70284 glibcxx_cv_func__long_double_round_use=no
70286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70287 ac_ext=c
70288 ac_cpp='$CPP $CPPFLAGS'
70289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
70296 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
70297 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
70298 for ac_func in _ceill _floorl
70299 do :
70300 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
70301 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
70302 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
70303 cat >>confdefs.h <<_ACEOF
70304 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
70305 _ACEOF
70308 done
70318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
70319 $as_echo_n "checking for isnanl declaration... " >&6; }
70320 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
70321 if ${glibcxx_cv_func_isnanl_use+:} false; then :
70322 $as_echo_n "(cached) " >&6
70323 else
70326 ac_ext=cpp
70327 ac_cpp='$CXXCPP $CPPFLAGS'
70328 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70329 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70330 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70333 /* end confdefs.h. */
70334 #include <math.h>
70335 #ifdef HAVE_IEEEFP_H
70336 #include <ieeefp.h>
70337 #endif
70340 main ()
70342 isnanl(0);
70344 return 0;
70346 _ACEOF
70347 if ac_fn_cxx_try_compile "$LINENO"; then :
70348 glibcxx_cv_func_isnanl_use=yes
70349 else
70350 glibcxx_cv_func_isnanl_use=no
70352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70353 ac_ext=c
70354 ac_cpp='$CPP $CPPFLAGS'
70355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
70364 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
70366 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
70367 for ac_func in isnanl
70368 do :
70369 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
70370 if test "x$ac_cv_func_isnanl" = xyes; then :
70371 cat >>confdefs.h <<_ACEOF
70372 #define HAVE_ISNANL 1
70373 _ACEOF
70376 done
70378 else
70380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
70381 $as_echo_n "checking for _isnanl declaration... " >&6; }
70382 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
70383 if ${glibcxx_cv_func__isnanl_use+:} false; then :
70384 $as_echo_n "(cached) " >&6
70385 else
70388 ac_ext=cpp
70389 ac_cpp='$CXXCPP $CPPFLAGS'
70390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70395 /* end confdefs.h. */
70396 #include <math.h>
70397 #ifdef HAVE_IEEEFP_H
70398 #include <ieeefp.h>
70399 #endif
70402 main ()
70404 _isnanl(0);
70406 return 0;
70408 _ACEOF
70409 if ac_fn_cxx_try_compile "$LINENO"; then :
70410 glibcxx_cv_func__isnanl_use=yes
70411 else
70412 glibcxx_cv_func__isnanl_use=no
70414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70415 ac_ext=c
70416 ac_cpp='$CPP $CPPFLAGS'
70417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
70426 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
70428 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
70429 for ac_func in _isnanl
70430 do :
70431 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
70432 if test "x$ac_cv_func__isnanl" = xyes; then :
70433 cat >>confdefs.h <<_ACEOF
70434 #define HAVE__ISNANL 1
70435 _ACEOF
70438 done
70447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
70448 $as_echo_n "checking for isinfl declaration... " >&6; }
70449 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
70450 if ${glibcxx_cv_func_isinfl_use+:} false; then :
70451 $as_echo_n "(cached) " >&6
70452 else
70455 ac_ext=cpp
70456 ac_cpp='$CXXCPP $CPPFLAGS'
70457 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70458 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70459 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70462 /* end confdefs.h. */
70463 #include <math.h>
70464 #ifdef HAVE_IEEEFP_H
70465 #include <ieeefp.h>
70466 #endif
70469 main ()
70471 isinfl(0);
70473 return 0;
70475 _ACEOF
70476 if ac_fn_cxx_try_compile "$LINENO"; then :
70477 glibcxx_cv_func_isinfl_use=yes
70478 else
70479 glibcxx_cv_func_isinfl_use=no
70481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70482 ac_ext=c
70483 ac_cpp='$CPP $CPPFLAGS'
70484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
70493 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
70495 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
70496 for ac_func in isinfl
70497 do :
70498 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
70499 if test "x$ac_cv_func_isinfl" = xyes; then :
70500 cat >>confdefs.h <<_ACEOF
70501 #define HAVE_ISINFL 1
70502 _ACEOF
70505 done
70507 else
70509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
70510 $as_echo_n "checking for _isinfl declaration... " >&6; }
70511 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
70512 if ${glibcxx_cv_func__isinfl_use+:} false; then :
70513 $as_echo_n "(cached) " >&6
70514 else
70517 ac_ext=cpp
70518 ac_cpp='$CXXCPP $CPPFLAGS'
70519 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70520 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70521 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70524 /* end confdefs.h. */
70525 #include <math.h>
70526 #ifdef HAVE_IEEEFP_H
70527 #include <ieeefp.h>
70528 #endif
70531 main ()
70533 _isinfl(0);
70535 return 0;
70537 _ACEOF
70538 if ac_fn_cxx_try_compile "$LINENO"; then :
70539 glibcxx_cv_func__isinfl_use=yes
70540 else
70541 glibcxx_cv_func__isinfl_use=no
70543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70544 ac_ext=c
70545 ac_cpp='$CPP $CPPFLAGS'
70546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
70555 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
70557 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
70558 for ac_func in _isinfl
70559 do :
70560 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
70561 if test "x$ac_cv_func__isinfl" = xyes; then :
70562 cat >>confdefs.h <<_ACEOF
70563 #define HAVE__ISINFL 1
70564 _ACEOF
70567 done
70576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
70577 $as_echo_n "checking for atan2l declaration... " >&6; }
70578 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
70579 if ${glibcxx_cv_func_atan2l_use+:} false; then :
70580 $as_echo_n "(cached) " >&6
70581 else
70584 ac_ext=cpp
70585 ac_cpp='$CXXCPP $CPPFLAGS'
70586 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70587 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70588 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70591 /* end confdefs.h. */
70592 #include <math.h>
70594 main ()
70596 atan2l(0, 0);
70598 return 0;
70600 _ACEOF
70601 if ac_fn_cxx_try_compile "$LINENO"; then :
70602 glibcxx_cv_func_atan2l_use=yes
70603 else
70604 glibcxx_cv_func_atan2l_use=no
70606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70607 ac_ext=c
70608 ac_cpp='$CPP $CPPFLAGS'
70609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
70618 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
70620 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
70621 for ac_func in atan2l
70622 do :
70623 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
70624 if test "x$ac_cv_func_atan2l" = xyes; then :
70625 cat >>confdefs.h <<_ACEOF
70626 #define HAVE_ATAN2L 1
70627 _ACEOF
70630 done
70632 else
70634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
70635 $as_echo_n "checking for _atan2l declaration... " >&6; }
70636 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
70637 if ${glibcxx_cv_func__atan2l_use+:} false; then :
70638 $as_echo_n "(cached) " >&6
70639 else
70642 ac_ext=cpp
70643 ac_cpp='$CXXCPP $CPPFLAGS'
70644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70649 /* end confdefs.h. */
70650 #include <math.h>
70652 main ()
70654 _atan2l(0, 0);
70656 return 0;
70658 _ACEOF
70659 if ac_fn_cxx_try_compile "$LINENO"; then :
70660 glibcxx_cv_func__atan2l_use=yes
70661 else
70662 glibcxx_cv_func__atan2l_use=no
70664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70665 ac_ext=c
70666 ac_cpp='$CPP $CPPFLAGS'
70667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
70676 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
70678 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
70679 for ac_func in _atan2l
70680 do :
70681 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
70682 if test "x$ac_cv_func__atan2l" = xyes; then :
70683 cat >>confdefs.h <<_ACEOF
70684 #define HAVE__ATAN2L 1
70685 _ACEOF
70688 done
70697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
70698 $as_echo_n "checking for expl declaration... " >&6; }
70699 if test x${glibcxx_cv_func_expl_use+set} != xset; then
70700 if ${glibcxx_cv_func_expl_use+:} false; then :
70701 $as_echo_n "(cached) " >&6
70702 else
70705 ac_ext=cpp
70706 ac_cpp='$CXXCPP $CPPFLAGS'
70707 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70708 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70709 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70712 /* end confdefs.h. */
70713 #include <math.h>
70714 #ifdef HAVE_IEEEFP_H
70715 #include <ieeefp.h>
70716 #endif
70719 main ()
70721 expl(0);
70723 return 0;
70725 _ACEOF
70726 if ac_fn_cxx_try_compile "$LINENO"; then :
70727 glibcxx_cv_func_expl_use=yes
70728 else
70729 glibcxx_cv_func_expl_use=no
70731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70732 ac_ext=c
70733 ac_cpp='$CPP $CPPFLAGS'
70734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
70743 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
70745 if test x$glibcxx_cv_func_expl_use = x"yes"; then
70746 for ac_func in expl
70747 do :
70748 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
70749 if test "x$ac_cv_func_expl" = xyes; then :
70750 cat >>confdefs.h <<_ACEOF
70751 #define HAVE_EXPL 1
70752 _ACEOF
70755 done
70757 else
70759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
70760 $as_echo_n "checking for _expl declaration... " >&6; }
70761 if test x${glibcxx_cv_func__expl_use+set} != xset; then
70762 if ${glibcxx_cv_func__expl_use+:} false; then :
70763 $as_echo_n "(cached) " >&6
70764 else
70767 ac_ext=cpp
70768 ac_cpp='$CXXCPP $CPPFLAGS'
70769 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70770 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70771 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70774 /* end confdefs.h. */
70775 #include <math.h>
70776 #ifdef HAVE_IEEEFP_H
70777 #include <ieeefp.h>
70778 #endif
70781 main ()
70783 _expl(0);
70785 return 0;
70787 _ACEOF
70788 if ac_fn_cxx_try_compile "$LINENO"; then :
70789 glibcxx_cv_func__expl_use=yes
70790 else
70791 glibcxx_cv_func__expl_use=no
70793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70794 ac_ext=c
70795 ac_cpp='$CPP $CPPFLAGS'
70796 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70797 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70798 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
70805 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
70807 if test x$glibcxx_cv_func__expl_use = x"yes"; then
70808 for ac_func in _expl
70809 do :
70810 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
70811 if test "x$ac_cv_func__expl" = xyes; then :
70812 cat >>confdefs.h <<_ACEOF
70813 #define HAVE__EXPL 1
70814 _ACEOF
70817 done
70826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
70827 $as_echo_n "checking for fabsl declaration... " >&6; }
70828 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
70829 if ${glibcxx_cv_func_fabsl_use+:} false; then :
70830 $as_echo_n "(cached) " >&6
70831 else
70834 ac_ext=cpp
70835 ac_cpp='$CXXCPP $CPPFLAGS'
70836 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70837 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70838 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70841 /* end confdefs.h. */
70842 #include <math.h>
70843 #ifdef HAVE_IEEEFP_H
70844 #include <ieeefp.h>
70845 #endif
70848 main ()
70850 fabsl(0);
70852 return 0;
70854 _ACEOF
70855 if ac_fn_cxx_try_compile "$LINENO"; then :
70856 glibcxx_cv_func_fabsl_use=yes
70857 else
70858 glibcxx_cv_func_fabsl_use=no
70860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70861 ac_ext=c
70862 ac_cpp='$CPP $CPPFLAGS'
70863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
70872 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
70874 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
70875 for ac_func in fabsl
70876 do :
70877 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
70878 if test "x$ac_cv_func_fabsl" = xyes; then :
70879 cat >>confdefs.h <<_ACEOF
70880 #define HAVE_FABSL 1
70881 _ACEOF
70884 done
70886 else
70888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
70889 $as_echo_n "checking for _fabsl declaration... " >&6; }
70890 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
70891 if ${glibcxx_cv_func__fabsl_use+:} false; then :
70892 $as_echo_n "(cached) " >&6
70893 else
70896 ac_ext=cpp
70897 ac_cpp='$CXXCPP $CPPFLAGS'
70898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70903 /* end confdefs.h. */
70904 #include <math.h>
70905 #ifdef HAVE_IEEEFP_H
70906 #include <ieeefp.h>
70907 #endif
70910 main ()
70912 _fabsl(0);
70914 return 0;
70916 _ACEOF
70917 if ac_fn_cxx_try_compile "$LINENO"; then :
70918 glibcxx_cv_func__fabsl_use=yes
70919 else
70920 glibcxx_cv_func__fabsl_use=no
70922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70923 ac_ext=c
70924 ac_cpp='$CPP $CPPFLAGS'
70925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
70934 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
70936 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
70937 for ac_func in _fabsl
70938 do :
70939 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
70940 if test "x$ac_cv_func__fabsl" = xyes; then :
70941 cat >>confdefs.h <<_ACEOF
70942 #define HAVE__FABSL 1
70943 _ACEOF
70946 done
70955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
70956 $as_echo_n "checking for fmodl declaration... " >&6; }
70957 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
70958 if ${glibcxx_cv_func_fmodl_use+:} false; then :
70959 $as_echo_n "(cached) " >&6
70960 else
70963 ac_ext=cpp
70964 ac_cpp='$CXXCPP $CPPFLAGS'
70965 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70966 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70967 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70970 /* end confdefs.h. */
70971 #include <math.h>
70973 main ()
70975 fmodl(0, 0);
70977 return 0;
70979 _ACEOF
70980 if ac_fn_cxx_try_compile "$LINENO"; then :
70981 glibcxx_cv_func_fmodl_use=yes
70982 else
70983 glibcxx_cv_func_fmodl_use=no
70985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70986 ac_ext=c
70987 ac_cpp='$CPP $CPPFLAGS'
70988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
70997 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
70999 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
71000 for ac_func in fmodl
71001 do :
71002 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
71003 if test "x$ac_cv_func_fmodl" = xyes; then :
71004 cat >>confdefs.h <<_ACEOF
71005 #define HAVE_FMODL 1
71006 _ACEOF
71009 done
71011 else
71013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
71014 $as_echo_n "checking for _fmodl declaration... " >&6; }
71015 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
71016 if ${glibcxx_cv_func__fmodl_use+:} false; then :
71017 $as_echo_n "(cached) " >&6
71018 else
71021 ac_ext=cpp
71022 ac_cpp='$CXXCPP $CPPFLAGS'
71023 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71024 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71025 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71028 /* end confdefs.h. */
71029 #include <math.h>
71031 main ()
71033 _fmodl(0, 0);
71035 return 0;
71037 _ACEOF
71038 if ac_fn_cxx_try_compile "$LINENO"; then :
71039 glibcxx_cv_func__fmodl_use=yes
71040 else
71041 glibcxx_cv_func__fmodl_use=no
71043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71044 ac_ext=c
71045 ac_cpp='$CPP $CPPFLAGS'
71046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
71055 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
71057 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
71058 for ac_func in _fmodl
71059 do :
71060 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
71061 if test "x$ac_cv_func__fmodl" = xyes; then :
71062 cat >>confdefs.h <<_ACEOF
71063 #define HAVE__FMODL 1
71064 _ACEOF
71067 done
71076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
71077 $as_echo_n "checking for frexpl declaration... " >&6; }
71078 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
71079 if ${glibcxx_cv_func_frexpl_use+:} false; then :
71080 $as_echo_n "(cached) " >&6
71081 else
71084 ac_ext=cpp
71085 ac_cpp='$CXXCPP $CPPFLAGS'
71086 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71087 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71088 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71091 /* end confdefs.h. */
71092 #include <math.h>
71094 main ()
71096 frexpl(0, 0);
71098 return 0;
71100 _ACEOF
71101 if ac_fn_cxx_try_compile "$LINENO"; then :
71102 glibcxx_cv_func_frexpl_use=yes
71103 else
71104 glibcxx_cv_func_frexpl_use=no
71106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71107 ac_ext=c
71108 ac_cpp='$CPP $CPPFLAGS'
71109 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71110 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71111 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
71118 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
71120 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
71121 for ac_func in frexpl
71122 do :
71123 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
71124 if test "x$ac_cv_func_frexpl" = xyes; then :
71125 cat >>confdefs.h <<_ACEOF
71126 #define HAVE_FREXPL 1
71127 _ACEOF
71130 done
71132 else
71134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
71135 $as_echo_n "checking for _frexpl declaration... " >&6; }
71136 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
71137 if ${glibcxx_cv_func__frexpl_use+:} false; then :
71138 $as_echo_n "(cached) " >&6
71139 else
71142 ac_ext=cpp
71143 ac_cpp='$CXXCPP $CPPFLAGS'
71144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71149 /* end confdefs.h. */
71150 #include <math.h>
71152 main ()
71154 _frexpl(0, 0);
71156 return 0;
71158 _ACEOF
71159 if ac_fn_cxx_try_compile "$LINENO"; then :
71160 glibcxx_cv_func__frexpl_use=yes
71161 else
71162 glibcxx_cv_func__frexpl_use=no
71164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71165 ac_ext=c
71166 ac_cpp='$CPP $CPPFLAGS'
71167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
71176 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
71178 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
71179 for ac_func in _frexpl
71180 do :
71181 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
71182 if test "x$ac_cv_func__frexpl" = xyes; then :
71183 cat >>confdefs.h <<_ACEOF
71184 #define HAVE__FREXPL 1
71185 _ACEOF
71188 done
71197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
71198 $as_echo_n "checking for hypotl declaration... " >&6; }
71199 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
71200 if ${glibcxx_cv_func_hypotl_use+:} false; then :
71201 $as_echo_n "(cached) " >&6
71202 else
71205 ac_ext=cpp
71206 ac_cpp='$CXXCPP $CPPFLAGS'
71207 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71208 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71209 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71212 /* end confdefs.h. */
71213 #include <math.h>
71215 main ()
71217 hypotl(0, 0);
71219 return 0;
71221 _ACEOF
71222 if ac_fn_cxx_try_compile "$LINENO"; then :
71223 glibcxx_cv_func_hypotl_use=yes
71224 else
71225 glibcxx_cv_func_hypotl_use=no
71227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71228 ac_ext=c
71229 ac_cpp='$CPP $CPPFLAGS'
71230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
71239 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
71241 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
71242 for ac_func in hypotl
71243 do :
71244 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
71245 if test "x$ac_cv_func_hypotl" = xyes; then :
71246 cat >>confdefs.h <<_ACEOF
71247 #define HAVE_HYPOTL 1
71248 _ACEOF
71251 done
71253 else
71255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
71256 $as_echo_n "checking for _hypotl declaration... " >&6; }
71257 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
71258 if ${glibcxx_cv_func__hypotl_use+:} false; then :
71259 $as_echo_n "(cached) " >&6
71260 else
71263 ac_ext=cpp
71264 ac_cpp='$CXXCPP $CPPFLAGS'
71265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71270 /* end confdefs.h. */
71271 #include <math.h>
71273 main ()
71275 _hypotl(0, 0);
71277 return 0;
71279 _ACEOF
71280 if ac_fn_cxx_try_compile "$LINENO"; then :
71281 glibcxx_cv_func__hypotl_use=yes
71282 else
71283 glibcxx_cv_func__hypotl_use=no
71285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71286 ac_ext=c
71287 ac_cpp='$CPP $CPPFLAGS'
71288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
71297 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
71299 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
71300 for ac_func in _hypotl
71301 do :
71302 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
71303 if test "x$ac_cv_func__hypotl" = xyes; then :
71304 cat >>confdefs.h <<_ACEOF
71305 #define HAVE__HYPOTL 1
71306 _ACEOF
71309 done
71318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
71319 $as_echo_n "checking for ldexpl declaration... " >&6; }
71320 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
71321 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
71322 $as_echo_n "(cached) " >&6
71323 else
71326 ac_ext=cpp
71327 ac_cpp='$CXXCPP $CPPFLAGS'
71328 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71329 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71330 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71333 /* end confdefs.h. */
71334 #include <math.h>
71336 main ()
71338 ldexpl(0, 0);
71340 return 0;
71342 _ACEOF
71343 if ac_fn_cxx_try_compile "$LINENO"; then :
71344 glibcxx_cv_func_ldexpl_use=yes
71345 else
71346 glibcxx_cv_func_ldexpl_use=no
71348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71349 ac_ext=c
71350 ac_cpp='$CPP $CPPFLAGS'
71351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
71360 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
71362 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
71363 for ac_func in ldexpl
71364 do :
71365 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
71366 if test "x$ac_cv_func_ldexpl" = xyes; then :
71367 cat >>confdefs.h <<_ACEOF
71368 #define HAVE_LDEXPL 1
71369 _ACEOF
71372 done
71374 else
71376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
71377 $as_echo_n "checking for _ldexpl declaration... " >&6; }
71378 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
71379 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
71380 $as_echo_n "(cached) " >&6
71381 else
71384 ac_ext=cpp
71385 ac_cpp='$CXXCPP $CPPFLAGS'
71386 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71387 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71388 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71391 /* end confdefs.h. */
71392 #include <math.h>
71394 main ()
71396 _ldexpl(0, 0);
71398 return 0;
71400 _ACEOF
71401 if ac_fn_cxx_try_compile "$LINENO"; then :
71402 glibcxx_cv_func__ldexpl_use=yes
71403 else
71404 glibcxx_cv_func__ldexpl_use=no
71406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71407 ac_ext=c
71408 ac_cpp='$CPP $CPPFLAGS'
71409 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71410 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71411 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
71418 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
71420 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
71421 for ac_func in _ldexpl
71422 do :
71423 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
71424 if test "x$ac_cv_func__ldexpl" = xyes; then :
71425 cat >>confdefs.h <<_ACEOF
71426 #define HAVE__LDEXPL 1
71427 _ACEOF
71430 done
71439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
71440 $as_echo_n "checking for logl declaration... " >&6; }
71441 if test x${glibcxx_cv_func_logl_use+set} != xset; then
71442 if ${glibcxx_cv_func_logl_use+:} false; then :
71443 $as_echo_n "(cached) " >&6
71444 else
71447 ac_ext=cpp
71448 ac_cpp='$CXXCPP $CPPFLAGS'
71449 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71450 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71451 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71454 /* end confdefs.h. */
71455 #include <math.h>
71456 #ifdef HAVE_IEEEFP_H
71457 #include <ieeefp.h>
71458 #endif
71461 main ()
71463 logl(0);
71465 return 0;
71467 _ACEOF
71468 if ac_fn_cxx_try_compile "$LINENO"; then :
71469 glibcxx_cv_func_logl_use=yes
71470 else
71471 glibcxx_cv_func_logl_use=no
71473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71474 ac_ext=c
71475 ac_cpp='$CPP $CPPFLAGS'
71476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
71485 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
71487 if test x$glibcxx_cv_func_logl_use = x"yes"; then
71488 for ac_func in logl
71489 do :
71490 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
71491 if test "x$ac_cv_func_logl" = xyes; then :
71492 cat >>confdefs.h <<_ACEOF
71493 #define HAVE_LOGL 1
71494 _ACEOF
71497 done
71499 else
71501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
71502 $as_echo_n "checking for _logl declaration... " >&6; }
71503 if test x${glibcxx_cv_func__logl_use+set} != xset; then
71504 if ${glibcxx_cv_func__logl_use+:} false; then :
71505 $as_echo_n "(cached) " >&6
71506 else
71509 ac_ext=cpp
71510 ac_cpp='$CXXCPP $CPPFLAGS'
71511 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71512 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71513 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71516 /* end confdefs.h. */
71517 #include <math.h>
71518 #ifdef HAVE_IEEEFP_H
71519 #include <ieeefp.h>
71520 #endif
71523 main ()
71525 _logl(0);
71527 return 0;
71529 _ACEOF
71530 if ac_fn_cxx_try_compile "$LINENO"; then :
71531 glibcxx_cv_func__logl_use=yes
71532 else
71533 glibcxx_cv_func__logl_use=no
71535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71536 ac_ext=c
71537 ac_cpp='$CPP $CPPFLAGS'
71538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
71547 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
71549 if test x$glibcxx_cv_func__logl_use = x"yes"; then
71550 for ac_func in _logl
71551 do :
71552 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
71553 if test "x$ac_cv_func__logl" = xyes; then :
71554 cat >>confdefs.h <<_ACEOF
71555 #define HAVE__LOGL 1
71556 _ACEOF
71559 done
71568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
71569 $as_echo_n "checking for log10l declaration... " >&6; }
71570 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
71571 if ${glibcxx_cv_func_log10l_use+:} false; then :
71572 $as_echo_n "(cached) " >&6
71573 else
71576 ac_ext=cpp
71577 ac_cpp='$CXXCPP $CPPFLAGS'
71578 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71579 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71580 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71583 /* end confdefs.h. */
71584 #include <math.h>
71585 #ifdef HAVE_IEEEFP_H
71586 #include <ieeefp.h>
71587 #endif
71590 main ()
71592 log10l(0);
71594 return 0;
71596 _ACEOF
71597 if ac_fn_cxx_try_compile "$LINENO"; then :
71598 glibcxx_cv_func_log10l_use=yes
71599 else
71600 glibcxx_cv_func_log10l_use=no
71602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71603 ac_ext=c
71604 ac_cpp='$CPP $CPPFLAGS'
71605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
71614 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
71616 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
71617 for ac_func in log10l
71618 do :
71619 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
71620 if test "x$ac_cv_func_log10l" = xyes; then :
71621 cat >>confdefs.h <<_ACEOF
71622 #define HAVE_LOG10L 1
71623 _ACEOF
71626 done
71628 else
71630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
71631 $as_echo_n "checking for _log10l declaration... " >&6; }
71632 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
71633 if ${glibcxx_cv_func__log10l_use+:} false; then :
71634 $as_echo_n "(cached) " >&6
71635 else
71638 ac_ext=cpp
71639 ac_cpp='$CXXCPP $CPPFLAGS'
71640 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71641 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71642 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71645 /* end confdefs.h. */
71646 #include <math.h>
71647 #ifdef HAVE_IEEEFP_H
71648 #include <ieeefp.h>
71649 #endif
71652 main ()
71654 _log10l(0);
71656 return 0;
71658 _ACEOF
71659 if ac_fn_cxx_try_compile "$LINENO"; then :
71660 glibcxx_cv_func__log10l_use=yes
71661 else
71662 glibcxx_cv_func__log10l_use=no
71664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71665 ac_ext=c
71666 ac_cpp='$CPP $CPPFLAGS'
71667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
71676 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
71678 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
71679 for ac_func in _log10l
71680 do :
71681 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
71682 if test "x$ac_cv_func__log10l" = xyes; then :
71683 cat >>confdefs.h <<_ACEOF
71684 #define HAVE__LOG10L 1
71685 _ACEOF
71688 done
71697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
71698 $as_echo_n "checking for modfl declaration... " >&6; }
71699 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
71700 if ${glibcxx_cv_func_modfl_use+:} false; then :
71701 $as_echo_n "(cached) " >&6
71702 else
71705 ac_ext=cpp
71706 ac_cpp='$CXXCPP $CPPFLAGS'
71707 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71708 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71709 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71712 /* end confdefs.h. */
71713 #include <math.h>
71715 main ()
71717 modfl(0, 0);
71719 return 0;
71721 _ACEOF
71722 if ac_fn_cxx_try_compile "$LINENO"; then :
71723 glibcxx_cv_func_modfl_use=yes
71724 else
71725 glibcxx_cv_func_modfl_use=no
71727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71728 ac_ext=c
71729 ac_cpp='$CPP $CPPFLAGS'
71730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71732 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
71739 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
71741 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
71742 for ac_func in modfl
71743 do :
71744 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
71745 if test "x$ac_cv_func_modfl" = xyes; then :
71746 cat >>confdefs.h <<_ACEOF
71747 #define HAVE_MODFL 1
71748 _ACEOF
71751 done
71753 else
71755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
71756 $as_echo_n "checking for _modfl declaration... " >&6; }
71757 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
71758 if ${glibcxx_cv_func__modfl_use+:} false; then :
71759 $as_echo_n "(cached) " >&6
71760 else
71763 ac_ext=cpp
71764 ac_cpp='$CXXCPP $CPPFLAGS'
71765 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71766 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71767 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71770 /* end confdefs.h. */
71771 #include <math.h>
71773 main ()
71775 _modfl(0, 0);
71777 return 0;
71779 _ACEOF
71780 if ac_fn_cxx_try_compile "$LINENO"; then :
71781 glibcxx_cv_func__modfl_use=yes
71782 else
71783 glibcxx_cv_func__modfl_use=no
71785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71786 ac_ext=c
71787 ac_cpp='$CPP $CPPFLAGS'
71788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
71797 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
71799 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
71800 for ac_func in _modfl
71801 do :
71802 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
71803 if test "x$ac_cv_func__modfl" = xyes; then :
71804 cat >>confdefs.h <<_ACEOF
71805 #define HAVE__MODFL 1
71806 _ACEOF
71809 done
71818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
71819 $as_echo_n "checking for powl declaration... " >&6; }
71820 if test x${glibcxx_cv_func_powl_use+set} != xset; then
71821 if ${glibcxx_cv_func_powl_use+:} false; then :
71822 $as_echo_n "(cached) " >&6
71823 else
71826 ac_ext=cpp
71827 ac_cpp='$CXXCPP $CPPFLAGS'
71828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71833 /* end confdefs.h. */
71834 #include <math.h>
71836 main ()
71838 powl(0, 0);
71840 return 0;
71842 _ACEOF
71843 if ac_fn_cxx_try_compile "$LINENO"; then :
71844 glibcxx_cv_func_powl_use=yes
71845 else
71846 glibcxx_cv_func_powl_use=no
71848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71849 ac_ext=c
71850 ac_cpp='$CPP $CPPFLAGS'
71851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71852 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71853 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
71860 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
71862 if test x$glibcxx_cv_func_powl_use = x"yes"; then
71863 for ac_func in powl
71864 do :
71865 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
71866 if test "x$ac_cv_func_powl" = xyes; then :
71867 cat >>confdefs.h <<_ACEOF
71868 #define HAVE_POWL 1
71869 _ACEOF
71872 done
71874 else
71876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
71877 $as_echo_n "checking for _powl declaration... " >&6; }
71878 if test x${glibcxx_cv_func__powl_use+set} != xset; then
71879 if ${glibcxx_cv_func__powl_use+:} false; then :
71880 $as_echo_n "(cached) " >&6
71881 else
71884 ac_ext=cpp
71885 ac_cpp='$CXXCPP $CPPFLAGS'
71886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71887 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71891 /* end confdefs.h. */
71892 #include <math.h>
71894 main ()
71896 _powl(0, 0);
71898 return 0;
71900 _ACEOF
71901 if ac_fn_cxx_try_compile "$LINENO"; then :
71902 glibcxx_cv_func__powl_use=yes
71903 else
71904 glibcxx_cv_func__powl_use=no
71906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71907 ac_ext=c
71908 ac_cpp='$CPP $CPPFLAGS'
71909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
71918 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
71920 if test x$glibcxx_cv_func__powl_use = x"yes"; then
71921 for ac_func in _powl
71922 do :
71923 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
71924 if test "x$ac_cv_func__powl" = xyes; then :
71925 cat >>confdefs.h <<_ACEOF
71926 #define HAVE__POWL 1
71927 _ACEOF
71930 done
71939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
71940 $as_echo_n "checking for sqrtl declaration... " >&6; }
71941 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
71942 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
71943 $as_echo_n "(cached) " >&6
71944 else
71947 ac_ext=cpp
71948 ac_cpp='$CXXCPP $CPPFLAGS'
71949 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71950 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71951 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71954 /* end confdefs.h. */
71955 #include <math.h>
71956 #ifdef HAVE_IEEEFP_H
71957 #include <ieeefp.h>
71958 #endif
71961 main ()
71963 sqrtl(0);
71965 return 0;
71967 _ACEOF
71968 if ac_fn_cxx_try_compile "$LINENO"; then :
71969 glibcxx_cv_func_sqrtl_use=yes
71970 else
71971 glibcxx_cv_func_sqrtl_use=no
71973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71974 ac_ext=c
71975 ac_cpp='$CPP $CPPFLAGS'
71976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
71985 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
71987 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
71988 for ac_func in sqrtl
71989 do :
71990 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
71991 if test "x$ac_cv_func_sqrtl" = xyes; then :
71992 cat >>confdefs.h <<_ACEOF
71993 #define HAVE_SQRTL 1
71994 _ACEOF
71997 done
71999 else
72001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
72002 $as_echo_n "checking for _sqrtl declaration... " >&6; }
72003 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
72004 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
72005 $as_echo_n "(cached) " >&6
72006 else
72009 ac_ext=cpp
72010 ac_cpp='$CXXCPP $CPPFLAGS'
72011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72016 /* end confdefs.h. */
72017 #include <math.h>
72018 #ifdef HAVE_IEEEFP_H
72019 #include <ieeefp.h>
72020 #endif
72023 main ()
72025 _sqrtl(0);
72027 return 0;
72029 _ACEOF
72030 if ac_fn_cxx_try_compile "$LINENO"; then :
72031 glibcxx_cv_func__sqrtl_use=yes
72032 else
72033 glibcxx_cv_func__sqrtl_use=no
72035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72036 ac_ext=c
72037 ac_cpp='$CPP $CPPFLAGS'
72038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
72047 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
72049 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
72050 for ac_func in _sqrtl
72051 do :
72052 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
72053 if test "x$ac_cv_func__sqrtl" = xyes; then :
72054 cat >>confdefs.h <<_ACEOF
72055 #define HAVE__SQRTL 1
72056 _ACEOF
72059 done
72068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
72069 $as_echo_n "checking for sincosl declaration... " >&6; }
72070 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
72071 if ${glibcxx_cv_func_sincosl_use+:} false; then :
72072 $as_echo_n "(cached) " >&6
72073 else
72076 ac_ext=cpp
72077 ac_cpp='$CXXCPP $CPPFLAGS'
72078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72083 /* end confdefs.h. */
72084 #include <math.h>
72086 main ()
72088 sincosl(0, 0, 0);
72090 return 0;
72092 _ACEOF
72093 if ac_fn_cxx_try_compile "$LINENO"; then :
72094 glibcxx_cv_func_sincosl_use=yes
72095 else
72096 glibcxx_cv_func_sincosl_use=no
72098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72099 ac_ext=c
72100 ac_cpp='$CPP $CPPFLAGS'
72101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
72110 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
72112 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
72113 for ac_func in sincosl
72114 do :
72115 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
72116 if test "x$ac_cv_func_sincosl" = xyes; then :
72117 cat >>confdefs.h <<_ACEOF
72118 #define HAVE_SINCOSL 1
72119 _ACEOF
72122 done
72124 else
72126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
72127 $as_echo_n "checking for _sincosl declaration... " >&6; }
72128 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
72129 if ${glibcxx_cv_func__sincosl_use+:} false; then :
72130 $as_echo_n "(cached) " >&6
72131 else
72134 ac_ext=cpp
72135 ac_cpp='$CXXCPP $CPPFLAGS'
72136 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72137 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72138 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72141 /* end confdefs.h. */
72142 #include <math.h>
72144 main ()
72146 _sincosl(0, 0, 0);
72148 return 0;
72150 _ACEOF
72151 if ac_fn_cxx_try_compile "$LINENO"; then :
72152 glibcxx_cv_func__sincosl_use=yes
72153 else
72154 glibcxx_cv_func__sincosl_use=no
72156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72157 ac_ext=c
72158 ac_cpp='$CPP $CPPFLAGS'
72159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
72168 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
72170 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
72171 for ac_func in _sincosl
72172 do :
72173 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
72174 if test "x$ac_cv_func__sincosl" = xyes; then :
72175 cat >>confdefs.h <<_ACEOF
72176 #define HAVE__SINCOSL 1
72177 _ACEOF
72180 done
72189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
72190 $as_echo_n "checking for finitel declaration... " >&6; }
72191 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
72192 if ${glibcxx_cv_func_finitel_use+:} false; then :
72193 $as_echo_n "(cached) " >&6
72194 else
72197 ac_ext=cpp
72198 ac_cpp='$CXXCPP $CPPFLAGS'
72199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72204 /* end confdefs.h. */
72205 #include <math.h>
72206 #ifdef HAVE_IEEEFP_H
72207 #include <ieeefp.h>
72208 #endif
72211 main ()
72213 finitel(0);
72215 return 0;
72217 _ACEOF
72218 if ac_fn_cxx_try_compile "$LINENO"; then :
72219 glibcxx_cv_func_finitel_use=yes
72220 else
72221 glibcxx_cv_func_finitel_use=no
72223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72224 ac_ext=c
72225 ac_cpp='$CPP $CPPFLAGS'
72226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
72235 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
72237 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
72238 for ac_func in finitel
72239 do :
72240 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
72241 if test "x$ac_cv_func_finitel" = xyes; then :
72242 cat >>confdefs.h <<_ACEOF
72243 #define HAVE_FINITEL 1
72244 _ACEOF
72247 done
72249 else
72251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
72252 $as_echo_n "checking for _finitel declaration... " >&6; }
72253 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
72254 if ${glibcxx_cv_func__finitel_use+:} false; then :
72255 $as_echo_n "(cached) " >&6
72256 else
72259 ac_ext=cpp
72260 ac_cpp='$CXXCPP $CPPFLAGS'
72261 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72262 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72263 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72266 /* end confdefs.h. */
72267 #include <math.h>
72268 #ifdef HAVE_IEEEFP_H
72269 #include <ieeefp.h>
72270 #endif
72273 main ()
72275 _finitel(0);
72277 return 0;
72279 _ACEOF
72280 if ac_fn_cxx_try_compile "$LINENO"; then :
72281 glibcxx_cv_func__finitel_use=yes
72282 else
72283 glibcxx_cv_func__finitel_use=no
72285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72286 ac_ext=c
72287 ac_cpp='$CPP $CPPFLAGS'
72288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
72297 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
72299 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
72300 for ac_func in _finitel
72301 do :
72302 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
72303 if test "x$ac_cv_func__finitel" = xyes; then :
72304 cat >>confdefs.h <<_ACEOF
72305 #define HAVE__FINITEL 1
72306 _ACEOF
72309 done
72317 LIBS="$ac_save_LIBS"
72318 CXXFLAGS="$ac_save_CXXFLAGS"
72321 ac_test_CXXFLAGS="${CXXFLAGS+set}"
72322 ac_save_CXXFLAGS="$CXXFLAGS"
72323 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
72326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
72327 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
72328 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
72329 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
72330 $as_echo_n "(cached) " >&6
72331 else
72334 ac_ext=cpp
72335 ac_cpp='$CXXCPP $CPPFLAGS'
72336 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72337 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72338 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72341 /* end confdefs.h. */
72342 #include <stdlib.h>
72344 main ()
72346 at_quick_exit(0);
72348 return 0;
72350 _ACEOF
72351 if ac_fn_cxx_try_compile "$LINENO"; then :
72352 glibcxx_cv_func_at_quick_exit_use=yes
72353 else
72354 glibcxx_cv_func_at_quick_exit_use=no
72356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72357 ac_ext=c
72358 ac_cpp='$CPP $CPPFLAGS'
72359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
72368 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
72369 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
72370 for ac_func in at_quick_exit
72371 do :
72372 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
72373 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
72374 cat >>confdefs.h <<_ACEOF
72375 #define HAVE_AT_QUICK_EXIT 1
72376 _ACEOF
72379 done
72384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
72385 $as_echo_n "checking for quick_exit declaration... " >&6; }
72386 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
72387 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
72388 $as_echo_n "(cached) " >&6
72389 else
72392 ac_ext=cpp
72393 ac_cpp='$CXXCPP $CPPFLAGS'
72394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72399 /* end confdefs.h. */
72400 #include <stdlib.h>
72402 main ()
72404 quick_exit(0);
72406 return 0;
72408 _ACEOF
72409 if ac_fn_cxx_try_compile "$LINENO"; then :
72410 glibcxx_cv_func_quick_exit_use=yes
72411 else
72412 glibcxx_cv_func_quick_exit_use=no
72414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72415 ac_ext=c
72416 ac_cpp='$CPP $CPPFLAGS'
72417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
72426 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
72427 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
72428 for ac_func in quick_exit
72429 do :
72430 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
72431 if test "x$ac_cv_func_quick_exit" = xyes; then :
72432 cat >>confdefs.h <<_ACEOF
72433 #define HAVE_QUICK_EXIT 1
72434 _ACEOF
72437 done
72442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
72443 $as_echo_n "checking for strtold declaration... " >&6; }
72444 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
72445 if ${glibcxx_cv_func_strtold_use+:} false; then :
72446 $as_echo_n "(cached) " >&6
72447 else
72450 ac_ext=cpp
72451 ac_cpp='$CXXCPP $CPPFLAGS'
72452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72457 /* end confdefs.h. */
72458 #include <stdlib.h>
72460 main ()
72462 strtold(0, 0);
72464 return 0;
72466 _ACEOF
72467 if ac_fn_cxx_try_compile "$LINENO"; then :
72468 glibcxx_cv_func_strtold_use=yes
72469 else
72470 glibcxx_cv_func_strtold_use=no
72472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72473 ac_ext=c
72474 ac_cpp='$CPP $CPPFLAGS'
72475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
72484 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
72485 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
72486 for ac_func in strtold
72487 do :
72488 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
72489 if test "x$ac_cv_func_strtold" = xyes; then :
72490 cat >>confdefs.h <<_ACEOF
72491 #define HAVE_STRTOLD 1
72492 _ACEOF
72495 done
72502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
72503 $as_echo_n "checking for strtof declaration... " >&6; }
72504 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
72505 if ${glibcxx_cv_func_strtof_use+:} false; then :
72506 $as_echo_n "(cached) " >&6
72507 else
72510 ac_ext=cpp
72511 ac_cpp='$CXXCPP $CPPFLAGS'
72512 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72513 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72514 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72517 /* end confdefs.h. */
72518 #include <stdlib.h>
72520 main ()
72522 strtof(0, 0);
72524 return 0;
72526 _ACEOF
72527 if ac_fn_cxx_try_compile "$LINENO"; then :
72528 glibcxx_cv_func_strtof_use=yes
72529 else
72530 glibcxx_cv_func_strtof_use=no
72532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72533 ac_ext=c
72534 ac_cpp='$CPP $CPPFLAGS'
72535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
72544 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
72545 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
72546 for ac_func in strtof
72547 do :
72548 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
72549 if test "x$ac_cv_func_strtof" = xyes; then :
72550 cat >>confdefs.h <<_ACEOF
72551 #define HAVE_STRTOF 1
72552 _ACEOF
72555 done
72562 CXXFLAGS="$ac_save_CXXFLAGS"
72565 *-vxworks*)
72566 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
72568 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
72570 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
72572 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
72574 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
72576 $as_echo "#define HAVE_COSF 1" >>confdefs.h
72578 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
72580 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
72582 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
72584 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
72586 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
72588 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
72590 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
72592 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
72594 $as_echo "#define HAVE_POWF 1" >>confdefs.h
72596 $as_echo "#define HAVE_SINF 1" >>confdefs.h
72598 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
72600 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
72602 $as_echo "#define HAVE_TANF 1" >>confdefs.h
72604 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
72610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosl declaration" >&5
72611 $as_echo_n "checking for acosl declaration... " >&6; }
72612 if ${glibcxx_cv_func_acosl_use+:} false; then :
72613 $as_echo_n "(cached) " >&6
72614 else
72617 ac_ext=c
72618 ac_cpp='$CPP $CPPFLAGS'
72619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72624 /* end confdefs.h. */
72626 #include <math.h>
72627 #ifdef HAVE_IEEEFP_H
72628 # include <ieeefp.h>
72629 #endif
72630 #undef acosl
72633 main ()
72636 void (*f)(void) = (void (*)(void))acosl;
72639 return 0;
72641 _ACEOF
72642 if ac_fn_c_try_compile "$LINENO"; then :
72643 glibcxx_cv_func_acosl_use=yes
72645 else
72646 glibcxx_cv_func_acosl_use=no
72648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_acosl_use" >&5
72651 $as_echo "$glibcxx_cv_func_acosl_use" >&6; }
72652 if test "x$glibcxx_cv_func_acosl_use" = xyes; then
72653 cat >>confdefs.h <<_ACEOF
72654 #define HAVE_ACOSL 1
72655 _ACEOF
72661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinl declaration" >&5
72662 $as_echo_n "checking for asinl declaration... " >&6; }
72663 if ${glibcxx_cv_func_asinl_use+:} false; then :
72664 $as_echo_n "(cached) " >&6
72665 else
72668 ac_ext=c
72669 ac_cpp='$CPP $CPPFLAGS'
72670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72675 /* end confdefs.h. */
72677 #include <math.h>
72678 #ifdef HAVE_IEEEFP_H
72679 # include <ieeefp.h>
72680 #endif
72681 #undef asinl
72684 main ()
72687 void (*f)(void) = (void (*)(void))asinl;
72690 return 0;
72692 _ACEOF
72693 if ac_fn_c_try_compile "$LINENO"; then :
72694 glibcxx_cv_func_asinl_use=yes
72696 else
72697 glibcxx_cv_func_asinl_use=no
72699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_asinl_use" >&5
72702 $as_echo "$glibcxx_cv_func_asinl_use" >&6; }
72703 if test "x$glibcxx_cv_func_asinl_use" = xyes; then
72704 cat >>confdefs.h <<_ACEOF
72705 #define HAVE_ASINL 1
72706 _ACEOF
72712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
72713 $as_echo_n "checking for atan2l declaration... " >&6; }
72714 if ${glibcxx_cv_func_atan2l_use+:} false; then :
72715 $as_echo_n "(cached) " >&6
72716 else
72719 ac_ext=c
72720 ac_cpp='$CPP $CPPFLAGS'
72721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72726 /* end confdefs.h. */
72728 #include <math.h>
72729 #ifdef HAVE_IEEEFP_H
72730 # include <ieeefp.h>
72731 #endif
72732 #undef atan2l
72735 main ()
72738 void (*f)(void) = (void (*)(void))atan2l;
72741 return 0;
72743 _ACEOF
72744 if ac_fn_c_try_compile "$LINENO"; then :
72745 glibcxx_cv_func_atan2l_use=yes
72747 else
72748 glibcxx_cv_func_atan2l_use=no
72750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
72753 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
72754 if test "x$glibcxx_cv_func_atan2l_use" = xyes; then
72755 cat >>confdefs.h <<_ACEOF
72756 #define HAVE_ATAN2L 1
72757 _ACEOF
72763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanl declaration" >&5
72764 $as_echo_n "checking for atanl declaration... " >&6; }
72765 if ${glibcxx_cv_func_atanl_use+:} false; then :
72766 $as_echo_n "(cached) " >&6
72767 else
72770 ac_ext=c
72771 ac_cpp='$CPP $CPPFLAGS'
72772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72777 /* end confdefs.h. */
72779 #include <math.h>
72780 #ifdef HAVE_IEEEFP_H
72781 # include <ieeefp.h>
72782 #endif
72783 #undef atanl
72786 main ()
72789 void (*f)(void) = (void (*)(void))atanl;
72792 return 0;
72794 _ACEOF
72795 if ac_fn_c_try_compile "$LINENO"; then :
72796 glibcxx_cv_func_atanl_use=yes
72798 else
72799 glibcxx_cv_func_atanl_use=no
72801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atanl_use" >&5
72804 $as_echo "$glibcxx_cv_func_atanl_use" >&6; }
72805 if test "x$glibcxx_cv_func_atanl_use" = xyes; then
72806 cat >>confdefs.h <<_ACEOF
72807 #define HAVE_ATANL 1
72808 _ACEOF
72814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceill declaration" >&5
72815 $as_echo_n "checking for ceill declaration... " >&6; }
72816 if ${glibcxx_cv_func_ceill_use+:} false; then :
72817 $as_echo_n "(cached) " >&6
72818 else
72821 ac_ext=c
72822 ac_cpp='$CPP $CPPFLAGS'
72823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72828 /* end confdefs.h. */
72830 #include <math.h>
72831 #ifdef HAVE_IEEEFP_H
72832 # include <ieeefp.h>
72833 #endif
72834 #undef ceill
72837 main ()
72840 void (*f)(void) = (void (*)(void))ceill;
72843 return 0;
72845 _ACEOF
72846 if ac_fn_c_try_compile "$LINENO"; then :
72847 glibcxx_cv_func_ceill_use=yes
72849 else
72850 glibcxx_cv_func_ceill_use=no
72852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ceill_use" >&5
72855 $as_echo "$glibcxx_cv_func_ceill_use" >&6; }
72856 if test "x$glibcxx_cv_func_ceill_use" = xyes; then
72857 cat >>confdefs.h <<_ACEOF
72858 #define HAVE_CEILL 1
72859 _ACEOF
72865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosl declaration" >&5
72866 $as_echo_n "checking for cosl declaration... " >&6; }
72867 if ${glibcxx_cv_func_cosl_use+:} false; then :
72868 $as_echo_n "(cached) " >&6
72869 else
72872 ac_ext=c
72873 ac_cpp='$CPP $CPPFLAGS'
72874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72879 /* end confdefs.h. */
72881 #include <math.h>
72882 #ifdef HAVE_IEEEFP_H
72883 # include <ieeefp.h>
72884 #endif
72885 #undef cosl
72888 main ()
72891 void (*f)(void) = (void (*)(void))cosl;
72894 return 0;
72896 _ACEOF
72897 if ac_fn_c_try_compile "$LINENO"; then :
72898 glibcxx_cv_func_cosl_use=yes
72900 else
72901 glibcxx_cv_func_cosl_use=no
72903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_cosl_use" >&5
72906 $as_echo "$glibcxx_cv_func_cosl_use" >&6; }
72907 if test "x$glibcxx_cv_func_cosl_use" = xyes; then
72908 cat >>confdefs.h <<_ACEOF
72909 #define HAVE_COSL 1
72910 _ACEOF
72916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshl declaration" >&5
72917 $as_echo_n "checking for coshl declaration... " >&6; }
72918 if ${glibcxx_cv_func_coshl_use+:} false; then :
72919 $as_echo_n "(cached) " >&6
72920 else
72923 ac_ext=c
72924 ac_cpp='$CPP $CPPFLAGS'
72925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72930 /* end confdefs.h. */
72932 #include <math.h>
72933 #ifdef HAVE_IEEEFP_H
72934 # include <ieeefp.h>
72935 #endif
72936 #undef coshl
72939 main ()
72942 void (*f)(void) = (void (*)(void))coshl;
72945 return 0;
72947 _ACEOF
72948 if ac_fn_c_try_compile "$LINENO"; then :
72949 glibcxx_cv_func_coshl_use=yes
72951 else
72952 glibcxx_cv_func_coshl_use=no
72954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_coshl_use" >&5
72957 $as_echo "$glibcxx_cv_func_coshl_use" >&6; }
72958 if test "x$glibcxx_cv_func_coshl_use" = xyes; then
72959 cat >>confdefs.h <<_ACEOF
72960 #define HAVE_COSHL 1
72961 _ACEOF
72967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
72968 $as_echo_n "checking for expl declaration... " >&6; }
72969 if ${glibcxx_cv_func_expl_use+:} false; then :
72970 $as_echo_n "(cached) " >&6
72971 else
72974 ac_ext=c
72975 ac_cpp='$CPP $CPPFLAGS'
72976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72981 /* end confdefs.h. */
72983 #include <math.h>
72984 #ifdef HAVE_IEEEFP_H
72985 # include <ieeefp.h>
72986 #endif
72987 #undef expl
72990 main ()
72993 void (*f)(void) = (void (*)(void))expl;
72996 return 0;
72998 _ACEOF
72999 if ac_fn_c_try_compile "$LINENO"; then :
73000 glibcxx_cv_func_expl_use=yes
73002 else
73003 glibcxx_cv_func_expl_use=no
73005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
73008 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
73009 if test "x$glibcxx_cv_func_expl_use" = xyes; then
73010 cat >>confdefs.h <<_ACEOF
73011 #define HAVE_EXPL 1
73012 _ACEOF
73018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
73019 $as_echo_n "checking for fabsl declaration... " >&6; }
73020 if ${glibcxx_cv_func_fabsl_use+:} false; then :
73021 $as_echo_n "(cached) " >&6
73022 else
73025 ac_ext=c
73026 ac_cpp='$CPP $CPPFLAGS'
73027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73032 /* end confdefs.h. */
73034 #include <math.h>
73035 #ifdef HAVE_IEEEFP_H
73036 # include <ieeefp.h>
73037 #endif
73038 #undef fabsl
73041 main ()
73044 void (*f)(void) = (void (*)(void))fabsl;
73047 return 0;
73049 _ACEOF
73050 if ac_fn_c_try_compile "$LINENO"; then :
73051 glibcxx_cv_func_fabsl_use=yes
73053 else
73054 glibcxx_cv_func_fabsl_use=no
73056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
73059 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
73060 if test "x$glibcxx_cv_func_fabsl_use" = xyes; then
73061 cat >>confdefs.h <<_ACEOF
73062 #define HAVE_FABSL 1
73063 _ACEOF
73069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorl declaration" >&5
73070 $as_echo_n "checking for floorl declaration... " >&6; }
73071 if ${glibcxx_cv_func_floorl_use+:} false; then :
73072 $as_echo_n "(cached) " >&6
73073 else
73076 ac_ext=c
73077 ac_cpp='$CPP $CPPFLAGS'
73078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73083 /* end confdefs.h. */
73085 #include <math.h>
73086 #ifdef HAVE_IEEEFP_H
73087 # include <ieeefp.h>
73088 #endif
73089 #undef floorl
73092 main ()
73095 void (*f)(void) = (void (*)(void))floorl;
73098 return 0;
73100 _ACEOF
73101 if ac_fn_c_try_compile "$LINENO"; then :
73102 glibcxx_cv_func_floorl_use=yes
73104 else
73105 glibcxx_cv_func_floorl_use=no
73107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_floorl_use" >&5
73110 $as_echo "$glibcxx_cv_func_floorl_use" >&6; }
73111 if test "x$glibcxx_cv_func_floorl_use" = xyes; then
73112 cat >>confdefs.h <<_ACEOF
73113 #define HAVE_FLOORL 1
73114 _ACEOF
73120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
73121 $as_echo_n "checking for fmodl declaration... " >&6; }
73122 if ${glibcxx_cv_func_fmodl_use+:} false; then :
73123 $as_echo_n "(cached) " >&6
73124 else
73127 ac_ext=c
73128 ac_cpp='$CPP $CPPFLAGS'
73129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73134 /* end confdefs.h. */
73136 #include <math.h>
73137 #ifdef HAVE_IEEEFP_H
73138 # include <ieeefp.h>
73139 #endif
73140 #undef fmodl
73143 main ()
73146 void (*f)(void) = (void (*)(void))fmodl;
73149 return 0;
73151 _ACEOF
73152 if ac_fn_c_try_compile "$LINENO"; then :
73153 glibcxx_cv_func_fmodl_use=yes
73155 else
73156 glibcxx_cv_func_fmodl_use=no
73158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
73161 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
73162 if test "x$glibcxx_cv_func_fmodl_use" = xyes; then
73163 cat >>confdefs.h <<_ACEOF
73164 #define HAVE_FMODL 1
73165 _ACEOF
73171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
73172 $as_echo_n "checking for frexpl declaration... " >&6; }
73173 if ${glibcxx_cv_func_frexpl_use+:} false; then :
73174 $as_echo_n "(cached) " >&6
73175 else
73178 ac_ext=c
73179 ac_cpp='$CPP $CPPFLAGS'
73180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73185 /* end confdefs.h. */
73187 #include <math.h>
73188 #ifdef HAVE_IEEEFP_H
73189 # include <ieeefp.h>
73190 #endif
73191 #undef frexpl
73194 main ()
73197 void (*f)(void) = (void (*)(void))frexpl;
73200 return 0;
73202 _ACEOF
73203 if ac_fn_c_try_compile "$LINENO"; then :
73204 glibcxx_cv_func_frexpl_use=yes
73206 else
73207 glibcxx_cv_func_frexpl_use=no
73209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
73212 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
73213 if test "x$glibcxx_cv_func_frexpl_use" = xyes; then
73214 cat >>confdefs.h <<_ACEOF
73215 #define HAVE_FREXPL 1
73216 _ACEOF
73222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
73223 $as_echo_n "checking for ldexpl declaration... " >&6; }
73224 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
73225 $as_echo_n "(cached) " >&6
73226 else
73229 ac_ext=c
73230 ac_cpp='$CPP $CPPFLAGS'
73231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73236 /* end confdefs.h. */
73238 #include <math.h>
73239 #ifdef HAVE_IEEEFP_H
73240 # include <ieeefp.h>
73241 #endif
73242 #undef ldexpl
73245 main ()
73248 void (*f)(void) = (void (*)(void))ldexpl;
73251 return 0;
73253 _ACEOF
73254 if ac_fn_c_try_compile "$LINENO"; then :
73255 glibcxx_cv_func_ldexpl_use=yes
73257 else
73258 glibcxx_cv_func_ldexpl_use=no
73260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
73263 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
73264 if test "x$glibcxx_cv_func_ldexpl_use" = xyes; then
73265 cat >>confdefs.h <<_ACEOF
73266 #define HAVE_LDEXPL 1
73267 _ACEOF
73273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
73274 $as_echo_n "checking for log10l declaration... " >&6; }
73275 if ${glibcxx_cv_func_log10l_use+:} false; then :
73276 $as_echo_n "(cached) " >&6
73277 else
73280 ac_ext=c
73281 ac_cpp='$CPP $CPPFLAGS'
73282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73287 /* end confdefs.h. */
73289 #include <math.h>
73290 #ifdef HAVE_IEEEFP_H
73291 # include <ieeefp.h>
73292 #endif
73293 #undef log10l
73296 main ()
73299 void (*f)(void) = (void (*)(void))log10l;
73302 return 0;
73304 _ACEOF
73305 if ac_fn_c_try_compile "$LINENO"; then :
73306 glibcxx_cv_func_log10l_use=yes
73308 else
73309 glibcxx_cv_func_log10l_use=no
73311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
73314 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
73315 if test "x$glibcxx_cv_func_log10l_use" = xyes; then
73316 cat >>confdefs.h <<_ACEOF
73317 #define HAVE_LOG10L 1
73318 _ACEOF
73324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
73325 $as_echo_n "checking for logl declaration... " >&6; }
73326 if ${glibcxx_cv_func_logl_use+:} false; then :
73327 $as_echo_n "(cached) " >&6
73328 else
73331 ac_ext=c
73332 ac_cpp='$CPP $CPPFLAGS'
73333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73338 /* end confdefs.h. */
73340 #include <math.h>
73341 #ifdef HAVE_IEEEFP_H
73342 # include <ieeefp.h>
73343 #endif
73344 #undef logl
73347 main ()
73350 void (*f)(void) = (void (*)(void))logl;
73353 return 0;
73355 _ACEOF
73356 if ac_fn_c_try_compile "$LINENO"; then :
73357 glibcxx_cv_func_logl_use=yes
73359 else
73360 glibcxx_cv_func_logl_use=no
73362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
73365 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
73366 if test "x$glibcxx_cv_func_logl_use" = xyes; then
73367 cat >>confdefs.h <<_ACEOF
73368 #define HAVE_LOGL 1
73369 _ACEOF
73375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
73376 $as_echo_n "checking for modfl declaration... " >&6; }
73377 if ${glibcxx_cv_func_modfl_use+:} false; then :
73378 $as_echo_n "(cached) " >&6
73379 else
73382 ac_ext=c
73383 ac_cpp='$CPP $CPPFLAGS'
73384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73389 /* end confdefs.h. */
73391 #include <math.h>
73392 #ifdef HAVE_IEEEFP_H
73393 # include <ieeefp.h>
73394 #endif
73395 #undef modfl
73398 main ()
73401 void (*f)(void) = (void (*)(void))modfl;
73404 return 0;
73406 _ACEOF
73407 if ac_fn_c_try_compile "$LINENO"; then :
73408 glibcxx_cv_func_modfl_use=yes
73410 else
73411 glibcxx_cv_func_modfl_use=no
73413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
73416 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
73417 if test "x$glibcxx_cv_func_modfl_use" = xyes; then
73418 cat >>confdefs.h <<_ACEOF
73419 #define HAVE_MODFL 1
73420 _ACEOF
73426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
73427 $as_echo_n "checking for powl declaration... " >&6; }
73428 if ${glibcxx_cv_func_powl_use+:} false; then :
73429 $as_echo_n "(cached) " >&6
73430 else
73433 ac_ext=c
73434 ac_cpp='$CPP $CPPFLAGS'
73435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73440 /* end confdefs.h. */
73442 #include <math.h>
73443 #ifdef HAVE_IEEEFP_H
73444 # include <ieeefp.h>
73445 #endif
73446 #undef powl
73449 main ()
73452 void (*f)(void) = (void (*)(void))powl;
73455 return 0;
73457 _ACEOF
73458 if ac_fn_c_try_compile "$LINENO"; then :
73459 glibcxx_cv_func_powl_use=yes
73461 else
73462 glibcxx_cv_func_powl_use=no
73464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
73467 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
73468 if test "x$glibcxx_cv_func_powl_use" = xyes; then
73469 cat >>confdefs.h <<_ACEOF
73470 #define HAVE_POWL 1
73471 _ACEOF
73477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinl declaration" >&5
73478 $as_echo_n "checking for sinl declaration... " >&6; }
73479 if ${glibcxx_cv_func_sinl_use+:} false; then :
73480 $as_echo_n "(cached) " >&6
73481 else
73484 ac_ext=c
73485 ac_cpp='$CPP $CPPFLAGS'
73486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73491 /* end confdefs.h. */
73493 #include <math.h>
73494 #ifdef HAVE_IEEEFP_H
73495 # include <ieeefp.h>
73496 #endif
73497 #undef sinl
73500 main ()
73503 void (*f)(void) = (void (*)(void))sinl;
73506 return 0;
73508 _ACEOF
73509 if ac_fn_c_try_compile "$LINENO"; then :
73510 glibcxx_cv_func_sinl_use=yes
73512 else
73513 glibcxx_cv_func_sinl_use=no
73515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sinl_use" >&5
73518 $as_echo "$glibcxx_cv_func_sinl_use" >&6; }
73519 if test "x$glibcxx_cv_func_sinl_use" = xyes; then
73520 cat >>confdefs.h <<_ACEOF
73521 #define HAVE_SINL 1
73522 _ACEOF
73528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhl declaration" >&5
73529 $as_echo_n "checking for sinhl declaration... " >&6; }
73530 if ${glibcxx_cv_func_sinhl_use+:} false; then :
73531 $as_echo_n "(cached) " >&6
73532 else
73535 ac_ext=c
73536 ac_cpp='$CPP $CPPFLAGS'
73537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73542 /* end confdefs.h. */
73544 #include <math.h>
73545 #ifdef HAVE_IEEEFP_H
73546 # include <ieeefp.h>
73547 #endif
73548 #undef sinhl
73551 main ()
73554 void (*f)(void) = (void (*)(void))sinhl;
73557 return 0;
73559 _ACEOF
73560 if ac_fn_c_try_compile "$LINENO"; then :
73561 glibcxx_cv_func_sinhl_use=yes
73563 else
73564 glibcxx_cv_func_sinhl_use=no
73566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sinhl_use" >&5
73569 $as_echo "$glibcxx_cv_func_sinhl_use" >&6; }
73570 if test "x$glibcxx_cv_func_sinhl_use" = xyes; then
73571 cat >>confdefs.h <<_ACEOF
73572 #define HAVE_SINHL 1
73573 _ACEOF
73579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
73580 $as_echo_n "checking for sqrtl declaration... " >&6; }
73581 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
73582 $as_echo_n "(cached) " >&6
73583 else
73586 ac_ext=c
73587 ac_cpp='$CPP $CPPFLAGS'
73588 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73589 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73590 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73593 /* end confdefs.h. */
73595 #include <math.h>
73596 #ifdef HAVE_IEEEFP_H
73597 # include <ieeefp.h>
73598 #endif
73599 #undef sqrtl
73602 main ()
73605 void (*f)(void) = (void (*)(void))sqrtl;
73608 return 0;
73610 _ACEOF
73611 if ac_fn_c_try_compile "$LINENO"; then :
73612 glibcxx_cv_func_sqrtl_use=yes
73614 else
73615 glibcxx_cv_func_sqrtl_use=no
73617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
73620 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
73621 if test "x$glibcxx_cv_func_sqrtl_use" = xyes; then
73622 cat >>confdefs.h <<_ACEOF
73623 #define HAVE_SQRTL 1
73624 _ACEOF
73630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanl declaration" >&5
73631 $as_echo_n "checking for tanl declaration... " >&6; }
73632 if ${glibcxx_cv_func_tanl_use+:} false; then :
73633 $as_echo_n "(cached) " >&6
73634 else
73637 ac_ext=c
73638 ac_cpp='$CPP $CPPFLAGS'
73639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73640 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73641 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73644 /* end confdefs.h. */
73646 #include <math.h>
73647 #ifdef HAVE_IEEEFP_H
73648 # include <ieeefp.h>
73649 #endif
73650 #undef tanl
73653 main ()
73656 void (*f)(void) = (void (*)(void))tanl;
73659 return 0;
73661 _ACEOF
73662 if ac_fn_c_try_compile "$LINENO"; then :
73663 glibcxx_cv_func_tanl_use=yes
73665 else
73666 glibcxx_cv_func_tanl_use=no
73668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_tanl_use" >&5
73671 $as_echo "$glibcxx_cv_func_tanl_use" >&6; }
73672 if test "x$glibcxx_cv_func_tanl_use" = xyes; then
73673 cat >>confdefs.h <<_ACEOF
73674 #define HAVE_TANL 1
73675 _ACEOF
73681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhl declaration" >&5
73682 $as_echo_n "checking for tanhl declaration... " >&6; }
73683 if ${glibcxx_cv_func_tanhl_use+:} false; then :
73684 $as_echo_n "(cached) " >&6
73685 else
73688 ac_ext=c
73689 ac_cpp='$CPP $CPPFLAGS'
73690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73695 /* end confdefs.h. */
73697 #include <math.h>
73698 #ifdef HAVE_IEEEFP_H
73699 # include <ieeefp.h>
73700 #endif
73701 #undef tanhl
73704 main ()
73707 void (*f)(void) = (void (*)(void))tanhl;
73710 return 0;
73712 _ACEOF
73713 if ac_fn_c_try_compile "$LINENO"; then :
73714 glibcxx_cv_func_tanhl_use=yes
73716 else
73717 glibcxx_cv_func_tanhl_use=no
73719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_tanhl_use" >&5
73722 $as_echo "$glibcxx_cv_func_tanhl_use" >&6; }
73723 if test "x$glibcxx_cv_func_tanhl_use" = xyes; then
73724 cat >>confdefs.h <<_ACEOF
73725 #define HAVE_TANHL 1
73726 _ACEOF
73732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
73733 $as_echo_n "checking for hypotl declaration... " >&6; }
73734 if ${glibcxx_cv_func_hypotl_use+:} false; then :
73735 $as_echo_n "(cached) " >&6
73736 else
73739 ac_ext=c
73740 ac_cpp='$CPP $CPPFLAGS'
73741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73746 /* end confdefs.h. */
73748 #include <math.h>
73749 #ifdef HAVE_IEEEFP_H
73750 # include <ieeefp.h>
73751 #endif
73752 #undef hypotl
73755 main ()
73758 void (*f)(void) = (void (*)(void))hypotl;
73761 return 0;
73763 _ACEOF
73764 if ac_fn_c_try_compile "$LINENO"; then :
73765 glibcxx_cv_func_hypotl_use=yes
73767 else
73768 glibcxx_cv_func_hypotl_use=no
73770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
73773 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
73774 if test "x$glibcxx_cv_func_hypotl_use" = xyes; then
73775 cat >>confdefs.h <<_ACEOF
73776 #define HAVE_HYPOTL 1
73777 _ACEOF
73783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
73784 $as_echo_n "checking for ldexpf declaration... " >&6; }
73785 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
73786 $as_echo_n "(cached) " >&6
73787 else
73790 ac_ext=c
73791 ac_cpp='$CPP $CPPFLAGS'
73792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73797 /* end confdefs.h. */
73799 #include <math.h>
73800 #ifdef HAVE_IEEEFP_H
73801 # include <ieeefp.h>
73802 #endif
73803 #undef ldexpf
73806 main ()
73809 void (*f)(void) = (void (*)(void))ldexpf;
73812 return 0;
73814 _ACEOF
73815 if ac_fn_c_try_compile "$LINENO"; then :
73816 glibcxx_cv_func_ldexpf_use=yes
73818 else
73819 glibcxx_cv_func_ldexpf_use=no
73821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
73824 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
73825 if test "x$glibcxx_cv_func_ldexpf_use" = xyes; then
73826 cat >>confdefs.h <<_ACEOF
73827 #define HAVE_LDEXPF 1
73828 _ACEOF
73834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
73835 $as_echo_n "checking for modff declaration... " >&6; }
73836 if ${glibcxx_cv_func_modff_use+:} false; then :
73837 $as_echo_n "(cached) " >&6
73838 else
73841 ac_ext=c
73842 ac_cpp='$CPP $CPPFLAGS'
73843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73848 /* end confdefs.h. */
73850 #include <math.h>
73851 #ifdef HAVE_IEEEFP_H
73852 # include <ieeefp.h>
73853 #endif
73854 #undef modff
73857 main ()
73860 void (*f)(void) = (void (*)(void))modff;
73863 return 0;
73865 _ACEOF
73866 if ac_fn_c_try_compile "$LINENO"; then :
73867 glibcxx_cv_func_modff_use=yes
73869 else
73870 glibcxx_cv_func_modff_use=no
73872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
73875 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
73876 if test "x$glibcxx_cv_func_modff_use" = xyes; then
73877 cat >>confdefs.h <<_ACEOF
73878 #define HAVE_MODFF 1
73879 _ACEOF
73885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
73886 $as_echo_n "checking for hypotf declaration... " >&6; }
73887 if ${glibcxx_cv_func_hypotf_use+:} false; then :
73888 $as_echo_n "(cached) " >&6
73889 else
73892 ac_ext=c
73893 ac_cpp='$CPP $CPPFLAGS'
73894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73899 /* end confdefs.h. */
73901 #include <math.h>
73902 #ifdef HAVE_IEEEFP_H
73903 # include <ieeefp.h>
73904 #endif
73905 #undef hypotf
73908 main ()
73911 void (*f)(void) = (void (*)(void))hypotf;
73914 return 0;
73916 _ACEOF
73917 if ac_fn_c_try_compile "$LINENO"; then :
73918 glibcxx_cv_func_hypotf_use=yes
73920 else
73921 glibcxx_cv_func_hypotf_use=no
73923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
73926 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
73927 if test "x$glibcxx_cv_func_hypotf_use" = xyes; then
73928 cat >>confdefs.h <<_ACEOF
73929 #define HAVE_HYPOTF 1
73930 _ACEOF
73936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
73937 $as_echo_n "checking for frexpf declaration... " >&6; }
73938 if ${glibcxx_cv_func_frexpf_use+:} false; then :
73939 $as_echo_n "(cached) " >&6
73940 else
73943 ac_ext=c
73944 ac_cpp='$CPP $CPPFLAGS'
73945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73950 /* end confdefs.h. */
73952 #include <math.h>
73953 #ifdef HAVE_IEEEFP_H
73954 # include <ieeefp.h>
73955 #endif
73956 #undef frexpf
73959 main ()
73962 void (*f)(void) = (void (*)(void))frexpf;
73965 return 0;
73967 _ACEOF
73968 if ac_fn_c_try_compile "$LINENO"; then :
73969 glibcxx_cv_func_frexpf_use=yes
73971 else
73972 glibcxx_cv_func_frexpf_use=no
73974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
73977 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
73978 if test "x$glibcxx_cv_func_frexpf_use" = xyes; then
73979 cat >>confdefs.h <<_ACEOF
73980 #define HAVE_FREXPF 1
73981 _ACEOF
73989 as_fn_error $? "No support for this host/target combination." "$LINENO" 5
73991 esac
73995 # At some point, we should differentiate between architectures
73996 # like x86, which have long double versions, and alpha/powerpc/etc.,
73997 # which don't. For the time being, punt.
73998 if test x"long_double_math_on_this_cpu" = x"yes"; then
73999 $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
74001 $as_echo "#define HAVE_ASINL 1" >>confdefs.h
74003 $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
74005 $as_echo "#define HAVE_ATANL 1" >>confdefs.h
74007 $as_echo "#define HAVE_CEILL 1" >>confdefs.h
74009 $as_echo "#define HAVE_COSL 1" >>confdefs.h
74011 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
74013 $as_echo "#define HAVE_EXPL 1" >>confdefs.h
74015 $as_echo "#define HAVE_FABSL 1" >>confdefs.h
74017 $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
74019 $as_echo "#define HAVE_FMODL 1" >>confdefs.h
74021 $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
74023 $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
74025 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
74027 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
74029 $as_echo "#define HAVE_MODFL 1" >>confdefs.h
74031 $as_echo "#define HAVE_POWL 1" >>confdefs.h
74033 $as_echo "#define HAVE_SINCOSL 1" >>confdefs.h
74035 $as_echo "#define HAVE_SINL 1" >>confdefs.h
74037 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
74039 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
74041 $as_echo "#define HAVE_TANL 1" >>confdefs.h
74043 $as_echo "#define HAVE_TANHL 1" >>confdefs.h
74048 # Check for _Unwind_GetIPInfo.
74051 # Check whether --with-system-libunwind was given.
74052 if test "${with_system_libunwind+set}" = set; then :
74053 withval=$with_system_libunwind;
74056 # If system-libunwind was not specifically set, pick a default setting.
74057 if test x$with_system_libunwind = x; then
74058 case ${target} in
74059 ia64-*-hpux*) with_system_libunwind=yes ;;
74060 *) with_system_libunwind=no ;;
74061 esac
74063 # Based on system-libunwind and target, do we have ipinfo?
74064 if test x$with_system_libunwind = xyes; then
74065 case ${target} in
74066 ia64-*-*) have_unwind_getipinfo=no ;;
74067 *) have_unwind_getipinfo=yes ;;
74068 esac
74069 else
74070 # Darwin before version 9 does not have _Unwind_GetIPInfo.
74072 case ${target} in
74073 *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
74074 *) have_unwind_getipinfo=yes ;;
74075 esac
74079 if test x$have_unwind_getipinfo = xyes; then
74081 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
74086 # Check whether --enable-linux-futex was given.
74087 if test "${enable_linux_futex+set}" = set; then :
74088 enableval=$enable_linux_futex;
74089 case "$enableval" in
74090 yes|no|default) ;;
74091 *) as_fn_error $? "Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
74092 esac
74094 else
74095 enable_linux_futex=default
74099 case "$target" in
74100 *-linux* | *-uclinux*)
74101 case "$enable_linux_futex" in
74102 default)
74103 # If headers don't have gettid/futex syscalls definition, then
74104 # default to no, otherwise there will be compile time failures.
74105 # Otherwise, default to yes. If we don't detect we are
74106 # compiled/linked against NPTL and not cross-compiling, check
74107 # if programs are run by default against NPTL and if not, issue
74108 # a warning.
74109 enable_linux_futex=no
74110 if test x$gcc_no_link = xyes; then
74111 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
74113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74114 /* end confdefs.h. */
74115 #include <sys/syscall.h>
74116 #include <unistd.h>
74117 int lk;
74119 main ()
74121 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
74123 return 0;
74125 _ACEOF
74126 if ac_fn_c_try_link "$LINENO"; then :
74127 save_LIBS="$LIBS"
74128 LIBS="-lpthread $LIBS"
74129 if test x$gcc_no_link = xyes; then
74130 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
74132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74133 /* end confdefs.h. */
74134 #ifndef _GNU_SOURCE
74135 #define _GNU_SOURCE 1
74136 #endif
74137 #include <pthread.h>
74138 pthread_t th; void *status;
74140 main ()
74142 pthread_tryjoin_np (th, &status);
74144 return 0;
74146 _ACEOF
74147 if ac_fn_c_try_link "$LINENO"; then :
74148 enable_linux_futex=yes
74149 else
74150 if test x$cross_compiling = xno; then
74151 if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
74152 | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
74153 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
74154 If so, please configure with --disable-linux-futex" >&5
74155 $as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
74156 If so, please configure with --disable-linux-futex" >&2;}
74159 enable_linux_futex=yes
74161 rm -f core conftest.err conftest.$ac_objext \
74162 conftest$ac_exeext conftest.$ac_ext
74163 LIBS="$save_LIBS"
74165 rm -f core conftest.err conftest.$ac_objext \
74166 conftest$ac_exeext conftest.$ac_ext
74168 yes)
74169 if test x$gcc_no_link = xyes; then
74170 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
74172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74173 /* end confdefs.h. */
74174 #include <sys/syscall.h>
74175 #include <unistd.h>
74176 int lk;
74178 main ()
74180 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
74182 return 0;
74184 _ACEOF
74185 if ac_fn_c_try_link "$LINENO"; then :
74187 else
74188 as_fn_error $? "SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
74190 rm -f core conftest.err conftest.$ac_objext \
74191 conftest$ac_exeext conftest.$ac_ext
74193 esac
74196 enable_linux_futex=no
74198 esac
74199 if test x$enable_linux_futex = xyes; then
74201 $as_echo "#define HAVE_LINUX_FUTEX 1" >>confdefs.h
74208 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
74210 acx_cv_header_stdint=stddef.h
74211 acx_cv_header_stdint_kind="(already complete)"
74212 for i in stdint.h $inttype_headers; do
74213 unset ac_cv_type_uintptr_t
74214 unset ac_cv_type_uintmax_t
74215 unset ac_cv_type_int_least32_t
74216 unset ac_cv_type_int_fast32_t
74217 unset ac_cv_type_uint64_t
74218 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
74219 ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
74220 #include <$i>
74222 if test "x$ac_cv_type_uintmax_t" = xyes; then :
74223 acx_cv_header_stdint=$i
74224 else
74225 continue
74228 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
74229 #include <$i>
74231 if test "x$ac_cv_type_uintptr_t" = xyes; then :
74233 else
74234 acx_cv_header_stdint_kind="(mostly complete)"
74237 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
74238 #include <$i>
74240 if test "x$ac_cv_type_int_least32_t" = xyes; then :
74242 else
74243 acx_cv_header_stdint_kind="(mostly complete)"
74246 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
74247 #include <$i>
74249 if test "x$ac_cv_type_int_fast32_t" = xyes; then :
74251 else
74252 acx_cv_header_stdint_kind="(mostly complete)"
74255 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
74256 #include <$i>
74258 if test "x$ac_cv_type_uint64_t" = xyes; then :
74260 else
74261 acx_cv_header_stdint_kind="(lacks uint64_t)"
74264 break
74265 done
74266 if test "$acx_cv_header_stdint" = stddef.h; then
74267 acx_cv_header_stdint_kind="(lacks uintmax_t)"
74268 for i in stdint.h $inttype_headers; do
74269 unset ac_cv_type_uintptr_t
74270 unset ac_cv_type_uint32_t
74271 unset ac_cv_type_uint64_t
74272 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
74273 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
74274 #include <$i>
74276 if test "x$ac_cv_type_uint32_t" = xyes; then :
74277 acx_cv_header_stdint=$i
74278 else
74279 continue
74282 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
74283 #include <$i>
74285 if test "x$ac_cv_type_uint64_t" = xyes; then :
74289 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
74290 #include <$i>
74292 if test "x$ac_cv_type_uintptr_t" = xyes; then :
74296 break
74297 done
74299 if test "$acx_cv_header_stdint" = stddef.h; then
74300 acx_cv_header_stdint_kind="(u_intXX_t style)"
74301 for i in sys/types.h $inttype_headers; do
74302 unset ac_cv_type_u_int32_t
74303 unset ac_cv_type_u_int64_t
74304 $as_echo_n "looking for u_intXX_t types in $i, " >&6
74305 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
74306 #include <$i>
74308 if test "x$ac_cv_type_u_int32_t" = xyes; then :
74309 acx_cv_header_stdint=$i
74310 else
74311 continue
74314 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
74315 #include <$i>
74317 if test "x$ac_cv_type_u_int64_t" = xyes; then :
74321 break
74322 done
74324 if test "$acx_cv_header_stdint" = stddef.h; then
74325 acx_cv_header_stdint_kind="(using manual detection)"
74328 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
74329 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
74330 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
74331 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
74332 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
74334 # ----------------- Summarize what we found so far
74336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in include/gstdint.h" >&5
74337 $as_echo_n "checking what to include in include/gstdint.h... " >&6; }
74339 case `$as_basename -- include/gstdint.h ||
74340 $as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
74341 Xinclude/gstdint.h : 'X\(//\)$' \| \
74342 Xinclude/gstdint.h : 'X\(/\)' \| . 2>/dev/null ||
74343 $as_echo X/include/gstdint.h |
74344 sed '/^.*\/\([^/][^/]*\)\/*$/{
74345 s//\1/
74348 /^X\/\(\/\/\)$/{
74349 s//\1/
74352 /^X\/\(\/\).*/{
74353 s//\1/
74356 s/.*/./; q'` in
74357 stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
74358 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
74359 inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
74360 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
74361 *) ;;
74362 esac
74364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
74365 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
74367 # ----------------- done included file, check C basic types --------
74369 # Lacking an uintptr_t? Test size of void *
74370 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
74371 stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
74372 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
74373 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
74374 # This bug is HP SR number 8606223364.
74375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
74376 $as_echo_n "checking size of void *... " >&6; }
74377 if ${ac_cv_sizeof_void_p+:} false; then :
74378 $as_echo_n "(cached) " >&6
74379 else
74380 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
74382 else
74383 if test "$ac_cv_type_void_p" = yes; then
74384 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
74385 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
74386 as_fn_error 77 "cannot compute sizeof (void *)
74387 See \`config.log' for more details" "$LINENO" 5; }
74388 else
74389 ac_cv_sizeof_void_p=0
74394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
74395 $as_echo "$ac_cv_sizeof_void_p" >&6; }
74399 cat >>confdefs.h <<_ACEOF
74400 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
74401 _ACEOF
74404 esac
74406 # Lacking an uint64_t? Test size of long
74407 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
74408 stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
74409 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
74410 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
74411 # This bug is HP SR number 8606223364.
74412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
74413 $as_echo_n "checking size of long... " >&6; }
74414 if ${ac_cv_sizeof_long+:} false; then :
74415 $as_echo_n "(cached) " >&6
74416 else
74417 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
74419 else
74420 if test "$ac_cv_type_long" = yes; then
74421 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
74422 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
74423 as_fn_error 77 "cannot compute sizeof (long)
74424 See \`config.log' for more details" "$LINENO" 5; }
74425 else
74426 ac_cv_sizeof_long=0
74431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
74432 $as_echo "$ac_cv_sizeof_long" >&6; }
74436 cat >>confdefs.h <<_ACEOF
74437 #define SIZEOF_LONG $ac_cv_sizeof_long
74438 _ACEOF
74441 esac
74443 if test $acx_cv_header_stdint = stddef.h; then
74444 # Lacking a good header? Test size of everything and deduce all types.
74445 # The cast to long int works around a bug in the HP C Compiler
74446 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
74447 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
74448 # This bug is HP SR number 8606223364.
74449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
74450 $as_echo_n "checking size of int... " >&6; }
74451 if ${ac_cv_sizeof_int+:} false; then :
74452 $as_echo_n "(cached) " >&6
74453 else
74454 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
74456 else
74457 if test "$ac_cv_type_int" = yes; then
74458 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
74459 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
74460 as_fn_error 77 "cannot compute sizeof (int)
74461 See \`config.log' for more details" "$LINENO" 5; }
74462 else
74463 ac_cv_sizeof_int=0
74468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
74469 $as_echo "$ac_cv_sizeof_int" >&6; }
74473 cat >>confdefs.h <<_ACEOF
74474 #define SIZEOF_INT $ac_cv_sizeof_int
74475 _ACEOF
74478 # The cast to long int works around a bug in the HP C Compiler
74479 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
74480 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
74481 # This bug is HP SR number 8606223364.
74482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
74483 $as_echo_n "checking size of short... " >&6; }
74484 if ${ac_cv_sizeof_short+:} false; then :
74485 $as_echo_n "(cached) " >&6
74486 else
74487 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
74489 else
74490 if test "$ac_cv_type_short" = yes; then
74491 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
74492 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
74493 as_fn_error 77 "cannot compute sizeof (short)
74494 See \`config.log' for more details" "$LINENO" 5; }
74495 else
74496 ac_cv_sizeof_short=0
74501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
74502 $as_echo "$ac_cv_sizeof_short" >&6; }
74506 cat >>confdefs.h <<_ACEOF
74507 #define SIZEOF_SHORT $ac_cv_sizeof_short
74508 _ACEOF
74511 # The cast to long int works around a bug in the HP C Compiler
74512 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
74513 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
74514 # This bug is HP SR number 8606223364.
74515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
74516 $as_echo_n "checking size of char... " >&6; }
74517 if ${ac_cv_sizeof_char+:} false; then :
74518 $as_echo_n "(cached) " >&6
74519 else
74520 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
74522 else
74523 if test "$ac_cv_type_char" = yes; then
74524 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
74525 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
74526 as_fn_error 77 "cannot compute sizeof (char)
74527 See \`config.log' for more details" "$LINENO" 5; }
74528 else
74529 ac_cv_sizeof_char=0
74534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
74535 $as_echo "$ac_cv_sizeof_char" >&6; }
74539 cat >>confdefs.h <<_ACEOF
74540 #define SIZEOF_CHAR $ac_cv_sizeof_char
74541 _ACEOF
74545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
74546 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
74547 case "$ac_cv_sizeof_char" in
74548 1) acx_cv_type_int8_t=char ;;
74549 *) as_fn_error $? "no 8-bit type, please report a bug" "$LINENO" 5
74550 esac
74551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
74552 $as_echo "$acx_cv_type_int8_t" >&6; }
74554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
74555 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
74556 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
74557 2:*) acx_cv_type_int16_t=int ;;
74558 *:2) acx_cv_type_int16_t=short ;;
74559 *) as_fn_error $? "no 16-bit type, please report a bug" "$LINENO" 5
74560 esac
74561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
74562 $as_echo "$acx_cv_type_int16_t" >&6; }
74564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
74565 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
74566 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
74567 4:*) acx_cv_type_int32_t=int ;;
74568 *:4) acx_cv_type_int32_t=long ;;
74569 *) as_fn_error $? "no 32-bit type, please report a bug" "$LINENO" 5
74570 esac
74571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
74572 $as_echo "$acx_cv_type_int32_t" >&6; }
74575 # These tests are here to make the output prettier
74577 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
74578 case "$ac_cv_sizeof_long" in
74579 8) acx_cv_type_int64_t=long ;;
74580 esac
74581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
74582 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
74583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
74584 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
74587 # Now we can use the above types
74589 if test "$ac_cv_type_uintptr_t" != yes; then
74590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
74591 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
74592 case $ac_cv_sizeof_void_p in
74593 2) acx_cv_type_intptr_t=int16_t ;;
74594 4) acx_cv_type_intptr_t=int32_t ;;
74595 8) acx_cv_type_intptr_t=int64_t ;;
74596 *) as_fn_error $? "no equivalent for intptr_t, please report a bug" "$LINENO" 5
74597 esac
74598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
74599 $as_echo "$acx_cv_type_intptr_t" >&6; }
74602 # ----------------- done all checks, emit header -------------
74603 ac_config_commands="$ac_config_commands include/gstdint.h"
74609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU c++filt" >&5
74610 $as_echo_n "checking for GNU c++filt... " >&6; }
74611 if ${ac_cv_path_CXXFILT+:} false; then :
74612 $as_echo_n "(cached) " >&6
74613 else
74614 if test -z "$CXXFILT"; then
74615 ac_path_CXXFILT_found=false
74616 # Loop through the user's path and test for each of PROGNAME-LIST
74617 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
74618 for as_dir in $PATH
74620 IFS=$as_save_IFS
74621 test -z "$as_dir" && as_dir=.
74622 for ac_prog in c++filt gc++filt; do
74623 for ac_exec_ext in '' $ac_executable_extensions; do
74624 ac_path_CXXFILT="$as_dir/$ac_prog$ac_exec_ext"
74625 as_fn_executable_p "$ac_path_CXXFILT" || continue
74626 # Check for GNU $ac_path_CXXFILT
74627 case `"$ac_path_CXXFILT" --version 2>&1` in
74628 *GNU*)
74629 ac_cv_path_CXXFILT=$ac_path_CXXFILT && ac_path_CXXFILT_found=:;;
74630 esac
74632 $ac_path_CXXFILT_found && break 3
74633 done
74634 done
74635 done
74636 IFS=$as_save_IFS
74637 if test -z "$ac_cv_path_CXXFILT"; then
74640 else
74641 ac_cv_path_CXXFILT=$CXXFILT
74645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_CXXFILT" >&5
74646 $as_echo "$ac_cv_path_CXXFILT" >&6; }
74647 CXXFILT=$ac_cv_path_CXXFILT
74651 # Check whether --enable-symvers was given.
74652 if test "${enable_symvers+set}" = set; then :
74653 enableval=$enable_symvers;
74654 case "$enableval" in
74655 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export|sun) ;;
74656 *) as_fn_error $? "Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
74657 esac
74659 else
74660 enable_symvers=yes
74665 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
74666 # don't know enough about $LD to do tricks...
74668 # Sun style symbol versions needs GNU c++filt for make_sunver.pl to work
74669 # with extern "C++" in version scripts.
74672 # Turn a 'yes' into a suitable default.
74673 if test x$enable_symvers = xyes ; then
74674 if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
74675 enable_symvers=no
74676 else
74677 if test $with_gnu_ld = yes ; then
74678 case ${target_os} in
74679 hpux*)
74680 enable_symvers=no ;;
74682 enable_symvers=gnu ;;
74683 esac
74684 else
74685 case ${target_os} in
74686 darwin*)
74687 enable_symvers=darwin ;;
74688 # Sun symbol versioning exists since Solaris 2.5.
74689 solaris2.[5-9]* | solaris2.1[0-9]*)
74690 # make_sunver.pl needs GNU c++filt to support extern "C++" in
74691 # version scripts, so disable symbol versioning if none can be
74692 # found.
74693 if test -z "$ac_cv_path_CXXFILT"; then
74694 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
74695 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
74696 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === no GNU c++filt could be found." >&5
74697 $as_echo "$as_me: WARNING: === no GNU c++filt could be found." >&2;}
74698 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
74699 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
74700 enable_symvers=no
74701 else
74702 enable_symvers=sun
74706 enable_symvers=no ;;
74707 esac
74712 # Check to see if 'darwin' or 'darwin-export' can win.
74713 if test x$enable_symvers = xdarwin-export ; then
74714 enable_symvers=darwin
74717 # Check if 'sun' was requested on non-Solaris 2 platforms.
74718 if test x$enable_symvers = xsun ; then
74719 case ${target_os} in
74720 solaris2*)
74721 # All fine.
74724 # Unlikely to work.
74725 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
74726 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
74727 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not targetting Solaris 2." >&5
74728 $as_echo "$as_me: WARNING: === you are not targetting Solaris 2." >&2;}
74729 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
74730 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
74731 enable_symvers=no
74733 esac
74736 # Check to see if 'gnu' can win.
74737 if test $enable_symvers = gnu ||
74738 test $enable_symvers = gnu-versioned-namespace ||
74739 test $enable_symvers = sun; then
74740 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
74741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
74742 $as_echo_n "checking for shared libgcc... " >&6; }
74743 ac_save_CFLAGS="$CFLAGS"
74744 CFLAGS=' -lgcc_s'
74745 if test x$gcc_no_link = xyes; then
74746 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
74748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74749 /* end confdefs.h. */
74752 main ()
74754 return 0;
74756 return 0;
74758 _ACEOF
74759 if ac_fn_c_try_link "$LINENO"; then :
74760 glibcxx_shared_libgcc=yes
74761 else
74762 glibcxx_shared_libgcc=no
74764 rm -f core conftest.err conftest.$ac_objext \
74765 conftest$ac_exeext conftest.$ac_ext
74766 CFLAGS="$ac_save_CFLAGS"
74767 if test $glibcxx_shared_libgcc = no; then
74768 cat > conftest.c <<EOF
74769 int main (void) { return 0; }
74771 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
74772 -shared -shared-libgcc -o conftest.so \
74773 conftest.c -v 2>&1 >/dev/null \
74774 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
74775 rm -f conftest.c conftest.so
74776 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
74777 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
74778 if test x$gcc_no_link = xyes; then
74779 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
74781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74782 /* end confdefs.h. */
74785 main ()
74787 return 0;
74789 return 0;
74791 _ACEOF
74792 if ac_fn_c_try_link "$LINENO"; then :
74793 glibcxx_shared_libgcc=yes
74795 rm -f core conftest.err conftest.$ac_objext \
74796 conftest$ac_exeext conftest.$ac_ext
74797 CFLAGS="$ac_save_CFLAGS"
74800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_shared_libgcc" >&5
74801 $as_echo "$glibcxx_shared_libgcc" >&6; }
74803 # For GNU ld, we need at least this version. The format is described in
74804 # GLIBCXX_CHECK_LINKER_FEATURES above.
74805 glibcxx_min_gnu_ld_version=21400
74807 # If no shared libgcc, can't win.
74808 if test $glibcxx_shared_libgcc != yes; then
74809 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
74810 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
74811 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not building a shared libgcc_s." >&5
74812 $as_echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
74813 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
74814 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
74815 enable_symvers=no
74816 elif test $with_gnu_ld != yes && test $enable_symvers = sun; then
74817 : All interesting versions of Sun ld support sun style symbol versioning.
74818 elif test $with_gnu_ld != yes ; then
74819 # just fail for now
74820 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
74821 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
74822 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not using the GNU linker." >&5
74823 $as_echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
74824 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
74825 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
74826 enable_symvers=no
74827 elif test $glibcxx_ld_is_gold = yes ; then
74828 : All versions of gold support symbol versioning.
74829 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
74830 # The right tools, the right setup, but too old. Fallbacks?
74831 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
74832 $as_echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
74833 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
74834 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
74835 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
74836 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
74837 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
74838 $as_echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
74839 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
74840 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
74841 enable_symvers=no
74845 # For libtool versioning info, format is CURRENT:REVISION:AGE
74846 libtool_VERSION=6:30:0
74848 # Everything parsed; figure out what files and settings to use.
74849 case $enable_symvers in
74851 SYMVER_FILE=config/abi/pre/none.ver
74853 gnu)
74854 SYMVER_FILE=config/abi/pre/gnu.ver
74856 $as_echo "#define _GLIBCXX_SYMVER_GNU 1" >>confdefs.h
74859 gnu-versioned-namespace)
74860 libtool_VERSION=8:0:0
74861 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
74863 $as_echo "#define _GLIBCXX_SYMVER_GNU_NAMESPACE 1" >>confdefs.h
74866 darwin)
74867 SYMVER_FILE=config/abi/pre/gnu.ver
74869 $as_echo "#define _GLIBCXX_SYMVER_DARWIN 1" >>confdefs.h
74872 sun)
74873 SYMVER_FILE=config/abi/pre/gnu.ver
74875 $as_echo "#define _GLIBCXX_SYMVER_SUN 1" >>confdefs.h
74878 esac
74880 if test x$enable_symvers != xno ; then
74882 $as_echo "#define _GLIBCXX_SYMVER 1" >>confdefs.h
74886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
74887 $as_echo_n "checking whether the target supports .symver directive... " >&6; }
74888 if ${glibcxx_cv_have_as_symver_directive+:} false; then :
74889 $as_echo_n "(cached) " >&6
74890 else
74892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74893 /* end confdefs.h. */
74894 void foo (void); __asm (".symver foo, bar@SYMVER");
74896 main ()
74900 return 0;
74902 _ACEOF
74903 if ac_fn_c_try_compile "$LINENO"; then :
74904 glibcxx_cv_have_as_symver_directive=yes
74905 else
74906 glibcxx_cv_have_as_symver_directive=no
74908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_as_symver_directive" >&5
74911 $as_echo "$glibcxx_cv_have_as_symver_directive" >&6; }
74912 if test $glibcxx_cv_have_as_symver_directive = yes; then
74914 $as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
74925 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
74926 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
74928 if test $enable_symvers != no ; then
74929 case ${target_os} in
74930 # The Solaris 2 runtime linker doesn't support the GNU extension of
74931 # binding the same symbol to different versions
74932 solaris2*)
74934 # Other platforms with GNU symbol versioning (GNU/Linux, more?) do.
74937 $as_echo "#define HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT 1" >>confdefs.h
74940 esac
74943 # Now, set up compatibility support, if any.
74944 # In addition, need this to deal with std::size_t mangling in
74945 # src/compatibility.cc. In a perfect world, could use
74946 # typeid(std::size_t).name()[0] to do direct substitution.
74947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t as unsigned int" >&5
74948 $as_echo_n "checking for size_t as unsigned int... " >&6; }
74949 ac_save_CFLAGS="$CFLAGS"
74950 CFLAGS="-Werror"
74951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74952 /* end confdefs.h. */
74955 main ()
74957 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
74959 return 0;
74961 _ACEOF
74962 if ac_fn_c_try_compile "$LINENO"; then :
74963 glibcxx_size_t_is_i=yes
74964 else
74965 glibcxx_size_t_is_i=no
74967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74968 CFLAGS=$ac_save_CFLAGS
74969 if test "$glibcxx_size_t_is_i" = yes; then
74971 $as_echo "#define _GLIBCXX_SIZE_T_IS_UINT 1" >>confdefs.h
74974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_size_t_is_i" >&5
74975 $as_echo "$glibcxx_size_t_is_i" >&6; }
74977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t as int" >&5
74978 $as_echo_n "checking for ptrdiff_t as int... " >&6; }
74979 ac_save_CFLAGS="$CFLAGS"
74980 CFLAGS="-Werror"
74981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74982 /* end confdefs.h. */
74985 main ()
74987 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
74989 return 0;
74991 _ACEOF
74992 if ac_fn_c_try_compile "$LINENO"; then :
74993 glibcxx_ptrdiff_t_is_i=yes
74994 else
74995 glibcxx_ptrdiff_t_is_i=no
74997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74998 CFLAGS=$ac_save_CFLAGS
74999 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
75001 $as_echo "#define _GLIBCXX_PTRDIFF_T_IS_INT 1" >>confdefs.h
75004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_ptrdiff_t_is_i" >&5
75005 $as_echo "$glibcxx_ptrdiff_t_is_i" >&6; }
75010 # Check whether --enable-libstdcxx-visibility was given.
75011 if test "${enable_libstdcxx_visibility+set}" = set; then :
75012 enableval=$enable_libstdcxx_visibility;
75013 case "$enableval" in
75014 yes|no) ;;
75015 *) as_fn_error $? "Argument to enable/disable libstdcxx-visibility must be yes or no" "$LINENO" 5 ;;
75016 esac
75018 else
75019 enable_libstdcxx_visibility=yes
75024 if test x$enable_libstdcxx_visibility = xyes ; then
75025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
75026 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
75027 if ${glibcxx_cv_have_attribute_visibility+:} false; then :
75028 $as_echo_n "(cached) " >&6
75029 else
75031 save_CFLAGS="$CFLAGS"
75032 CFLAGS="$CFLAGS -Werror"
75033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75034 /* end confdefs.h. */
75035 void __attribute__((visibility("hidden"))) foo(void) { }
75037 main ()
75041 return 0;
75043 _ACEOF
75044 if ac_fn_c_try_compile "$LINENO"; then :
75045 glibcxx_cv_have_attribute_visibility=yes
75046 else
75047 glibcxx_cv_have_attribute_visibility=no
75049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75050 CFLAGS="$save_CFLAGS"
75052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_attribute_visibility" >&5
75053 $as_echo "$glibcxx_cv_have_attribute_visibility" >&6; }
75054 if test $glibcxx_cv_have_attribute_visibility = no; then
75055 enable_libstdcxx_visibility=no
75060 { $as_echo "$as_me:${as_lineno-$LINENO}: visibility supported: $enable_libstdcxx_visibility" >&5
75061 $as_echo "$as_me: visibility supported: $enable_libstdcxx_visibility" >&6;}
75065 # Check whether --enable-libstdcxx-dual-abi was given.
75066 if test "${enable_libstdcxx_dual_abi+set}" = set; then :
75067 enableval=$enable_libstdcxx_dual_abi;
75068 case "$enableval" in
75069 yes|no) ;;
75070 *) as_fn_error $? "Argument to enable/disable libstdcxx-dual-abi must be yes or no" "$LINENO" 5 ;;
75071 esac
75073 else
75074 enable_libstdcxx_dual_abi=yes
75078 if test x$enable_symvers = xgnu-versioned-namespace; then
75079 # gnu-versioned-namespace is incompatible with the dual ABI.
75080 enable_libstdcxx_dual_abi="no"
75082 if test x"$enable_libstdcxx_dual_abi" != xyes; then
75083 { $as_echo "$as_me:${as_lineno-$LINENO}: dual ABI is disabled" >&5
75084 $as_echo "$as_me: dual ABI is disabled" >&6;}
75085 default_libstdcxx_abi="gcc4-compatible"
75090 if test x$enable_libstdcxx_dual_abi = xyes; then
75091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default std::string ABI to use" >&5
75092 $as_echo_n "checking for default std::string ABI to use... " >&6; }
75094 # Check whether --with-default-libstdcxx-abi was given.
75095 if test "${with_default_libstdcxx_abi+set}" = set; then :
75096 withval=$with_default_libstdcxx_abi; case "$withval" in
75097 gcc4-compatible) default_libstdcxx_abi="gcc4-compatible" ;;
75098 new|cxx11) default_libstdcxx_abi="new" ;;
75099 c++*|gnu++*) as_fn_error $? "Supported arguments for --with-default-libstdcxx-abi have changed, use \"new\" or \"gcc4-compatible\"" "$LINENO" 5 ;;
75100 *) as_fn_error $? "Invalid argument for --with-default-libstdcxx-abi" "$LINENO" 5 ;;
75101 esac
75103 else
75104 default_libstdcxx_abi="new"
75107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${default_libstdcxx_abi}" >&5
75108 $as_echo "${default_libstdcxx_abi}" >&6; }
75110 if test $default_libstdcxx_abi = "new"; then
75111 glibcxx_cxx11_abi=1
75112 glibcxx_cxx98_abi=0
75113 else
75114 glibcxx_cxx11_abi=0
75115 glibcxx_cxx98_abi=1
75121 ac_ldbl_compat=no
75122 ac_ldbl_alt128_compat=no
75123 ac_ldbl_ieee128_default=no
75124 LONG_DOUBLE_COMPAT_FLAGS="-mlong-double-64"
75125 LONG_DOUBLE_128_FLAGS=
75126 LONG_DOUBLE_ALT128_COMPAT_FLAGS=
75127 case "$target" in
75128 powerpc*-*-linux* | \
75129 sparc*-*-linux* | \
75130 s390*-*-linux* | \
75131 alpha*-*-linux*)
75132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75133 /* end confdefs.h. */
75136 main ()
75139 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
75140 #error no need for long double compatibility
75141 #endif
75144 return 0;
75146 _ACEOF
75147 if ac_fn_c_try_compile "$LINENO"; then :
75148 ac_ldbl_compat=yes
75149 else
75150 ac_ldbl_compat=no
75152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75153 if test "$ac_ldbl_compat" = yes; then
75155 $as_echo "#define _GLIBCXX_LONG_DOUBLE_COMPAT 1" >>confdefs.h
75157 port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
75158 case "$target" in
75159 powerpc*-*-linux*)
75160 LONG_DOUBLE_COMPAT_FLAGS="$LONG_DOUBLE_COMPAT_FLAGS -mno-gnu-attribute"
75161 # Check for IEEE128 support in libm:
75162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __frexpieee128 in -lm" >&5
75163 $as_echo_n "checking for __frexpieee128 in -lm... " >&6; }
75164 if ${ac_cv_lib_m___frexpieee128+:} false; then :
75165 $as_echo_n "(cached) " >&6
75166 else
75167 ac_check_lib_save_LIBS=$LIBS
75168 LIBS="-lm $LIBS"
75169 if test x$gcc_no_link = xyes; then
75170 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
75172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75173 /* end confdefs.h. */
75175 /* Override any GCC internal prototype to avoid an error.
75176 Use char because int might match the return type of a GCC
75177 builtin and then its argument prototype would still apply. */
75178 #ifdef __cplusplus
75179 extern "C"
75180 #endif
75181 char __frexpieee128 ();
75183 main ()
75185 return __frexpieee128 ();
75187 return 0;
75189 _ACEOF
75190 if ac_fn_c_try_link "$LINENO"; then :
75191 ac_cv_lib_m___frexpieee128=yes
75192 else
75193 ac_cv_lib_m___frexpieee128=no
75195 rm -f core conftest.err conftest.$ac_objext \
75196 conftest$ac_exeext conftest.$ac_ext
75197 LIBS=$ac_check_lib_save_LIBS
75199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m___frexpieee128" >&5
75200 $as_echo "$ac_cv_lib_m___frexpieee128" >&6; }
75201 if test "x$ac_cv_lib_m___frexpieee128" = xyes; then :
75202 ac_ldbl_ieee128_in_libc=yes
75203 else
75204 ac_ldbl_ieee128_in_libc=no
75207 if test $ac_ldbl_ieee128_in_libc = yes; then
75208 # Determine which long double format is the compiler's default:
75209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75210 /* end confdefs.h. */
75213 main ()
75216 #ifndef __LONG_DOUBLE_IEEE128__
75217 #error compiler defaults to ibm128
75218 #endif
75221 return 0;
75223 _ACEOF
75224 if ac_fn_c_try_compile "$LINENO"; then :
75225 ac_ldbl_ieee128_default=yes
75226 else
75227 ac_ldbl_ieee128_default=no
75229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75230 # Library objects should use default long double format.
75231 if test "$ac_ldbl_ieee128_default" = yes; then
75232 LONG_DOUBLE_128_FLAGS="-mno-gnu-attribute"
75233 # Except for the ones that explicitly use these flags:
75234 LONG_DOUBLE_ALT128_COMPAT_FLAGS="-mabi=ibmlongdouble -mno-gnu-attribute -Wno-psabi"
75235 else
75236 LONG_DOUBLE_128_FLAGS="-mno-gnu-attribute"
75237 LONG_DOUBLE_ALT128_COMPAT_FLAGS="-mabi=ieeelongdouble -mno-gnu-attribute -Wno-psabi"
75240 $as_echo "#define _GLIBCXX_LONG_DOUBLE_ALT128_COMPAT 1" >>confdefs.h
75242 port_specific_symbol_files="$port_specific_symbol_files \$(top_srcdir)/config/os/gnu-linux/ldbl-ieee128-extra.ver"
75243 ac_ldbl_alt128_compat=yes
75244 else
75245 ac_ldbl_alt128_compat=no
75248 esac
75250 esac
75257 # Check if assembler supports disabling hardware capability support.
75259 test -z "$HWCAP_CFLAGS" && HWCAP_CFLAGS=''
75261 # Restrict the test to Solaris, other assemblers (e.g. AIX as) have -nH
75262 # with a different meaning.
75263 case ${target_os} in
75264 solaris2*)
75265 ac_save_CFLAGS="$CFLAGS"
75266 CFLAGS="$CFLAGS -Wa,-nH"
75268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for as that supports -Wa,-nH" >&5
75269 $as_echo_n "checking for as that supports -Wa,-nH... " >&6; }
75270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75271 /* end confdefs.h. */
75274 main ()
75276 return 0;
75278 return 0;
75280 _ACEOF
75281 if ac_fn_c_try_compile "$LINENO"; then :
75282 ac_hwcap_flags=yes
75283 else
75284 ac_hwcap_flags=no
75286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75287 if test "$ac_hwcap_flags" = "yes"; then
75288 HWCAP_CFLAGS="-Wa,-nH $HWCAP_CFLAGS"
75290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_hwcap_flags" >&5
75291 $as_echo "$ac_hwcap_flags" >&6; }
75293 CFLAGS="$ac_save_CFLAGS"
75295 esac
75300 # Check if assembler supports rdrand opcode.
75302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rdrand support in assembler" >&5
75303 $as_echo_n "checking for rdrand support in assembler... " >&6; }
75304 if ${ac_cv_x86_rdrand+:} false; then :
75305 $as_echo_n "(cached) " >&6
75306 else
75308 ac_cv_x86_rdrand=no
75309 case "$target" in
75310 i?86-*-* | \
75311 x86_64-*-*)
75312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75313 /* end confdefs.h. */
75316 main ()
75318 asm("rdrand %eax");
75320 return 0;
75322 _ACEOF
75323 if ac_fn_c_try_compile "$LINENO"; then :
75324 ac_cv_x86_rdrand=yes
75325 else
75326 ac_cv_x86_rdrand=no
75328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75329 esac
75332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_x86_rdrand" >&5
75333 $as_echo "$ac_cv_x86_rdrand" >&6; }
75334 if test $ac_cv_x86_rdrand = yes; then
75336 $as_echo "#define _GLIBCXX_X86_RDRAND 1" >>confdefs.h
75340 # Check if assembler supports rdseed opcode.
75342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rdseed support in assembler" >&5
75343 $as_echo_n "checking for rdseed support in assembler... " >&6; }
75344 if ${ac_cv_x86_rdseed+:} false; then :
75345 $as_echo_n "(cached) " >&6
75346 else
75348 ac_cv_x86_rdseed=no
75349 case "$target" in
75350 i?86-*-* | \
75351 x86_64-*-*)
75352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75353 /* end confdefs.h. */
75356 main ()
75358 asm("rdseed %eax");
75360 return 0;
75362 _ACEOF
75363 if ac_fn_c_try_compile "$LINENO"; then :
75364 ac_cv_x86_rdseed=yes
75365 else
75366 ac_cv_x86_rdseed=no
75368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75369 esac
75372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_x86_rdseed" >&5
75373 $as_echo "$ac_cv_x86_rdseed" >&6; }
75374 if test $ac_cv_x86_rdseed = yes; then
75376 $as_echo "#define _GLIBCXX_X86_RDSEED 1" >>confdefs.h
75381 # Check for other random number APIs
75385 ac_ext=cpp
75386 ac_cpp='$CXXCPP $CPPFLAGS'
75387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getentropy" >&5
75392 $as_echo_n "checking for getentropy... " >&6; }
75393 if ${glibcxx_cv_getentropy+:} false; then :
75394 $as_echo_n "(cached) " >&6
75395 else
75397 if test x$gcc_no_link = xyes; then
75398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75399 /* end confdefs.h. */
75400 #include <unistd.h>
75402 main ()
75404 unsigned i;
75405 ::getentropy(&i, sizeof(i));
75407 return 0;
75409 _ACEOF
75410 if ac_fn_cxx_try_compile "$LINENO"; then :
75411 glibcxx_cv_getentropy=yes
75412 else
75413 glibcxx_cv_getentropy=no
75415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75416 else
75417 if test x$gcc_no_link = xyes; then
75418 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
75420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75421 /* end confdefs.h. */
75422 #include <unistd.h>
75424 main ()
75426 unsigned i;
75427 ::getentropy(&i, sizeof(i));
75429 return 0;
75431 _ACEOF
75432 if ac_fn_cxx_try_link "$LINENO"; then :
75433 glibcxx_cv_getentropy=yes
75434 else
75435 glibcxx_cv_getentropy=no
75437 rm -f core conftest.err conftest.$ac_objext \
75438 conftest$ac_exeext conftest.$ac_ext
75442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_getentropy" >&5
75443 $as_echo "$glibcxx_cv_getentropy" >&6; }
75445 if test $glibcxx_cv_getentropy = yes; then
75447 $as_echo "#define HAVE_GETENTROPY 1" >>confdefs.h
75450 ac_ext=c
75451 ac_cpp='$CPP $CPPFLAGS'
75452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75460 ac_ext=cpp
75461 ac_cpp='$CXXCPP $CPPFLAGS'
75462 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75463 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75464 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for arc4random" >&5
75467 $as_echo_n "checking for arc4random... " >&6; }
75468 if ${glibcxx_cv_arc4random+:} false; then :
75469 $as_echo_n "(cached) " >&6
75470 else
75472 if test x$gcc_no_link = xyes; then
75473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75474 /* end confdefs.h. */
75475 #include <stdlib.h>
75477 main ()
75479 unsigned i = ::arc4random();
75481 return 0;
75483 _ACEOF
75484 if ac_fn_cxx_try_compile "$LINENO"; then :
75485 glibcxx_cv_arc4random=yes
75486 else
75487 glibcxx_cv_arc4random=no
75489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75490 else
75491 if test x$gcc_no_link = xyes; then
75492 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
75494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75495 /* end confdefs.h. */
75496 #include <stdlib.h>
75498 main ()
75500 unsigned i = ::arc4random();
75502 return 0;
75504 _ACEOF
75505 if ac_fn_cxx_try_link "$LINENO"; then :
75506 glibcxx_cv_arc4random=yes
75507 else
75508 glibcxx_cv_arc4random=no
75510 rm -f core conftest.err conftest.$ac_objext \
75511 conftest$ac_exeext conftest.$ac_ext
75515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_arc4random" >&5
75516 $as_echo "$glibcxx_cv_arc4random" >&6; }
75518 if test $glibcxx_cv_arc4random = yes; then
75520 $as_echo "#define HAVE_ARC4RANDOM 1" >>confdefs.h
75523 ac_ext=c
75524 ac_cpp='$CPP $CPPFLAGS'
75525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75531 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
75533 # Do checks for resource limit functions.
75536 ac_ext=cpp
75537 ac_cpp='$CXXCPP $CPPFLAGS'
75538 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75539 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75540 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75542 setrlimit_have_headers=yes
75543 for ac_header in unistd.h sys/time.h sys/resource.h
75544 do :
75545 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
75546 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
75547 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
75548 cat >>confdefs.h <<_ACEOF
75549 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
75550 _ACEOF
75552 else
75553 setrlimit_have_headers=no
75556 done
75558 # If don't have the headers, then we can't run the tests now, and we
75559 # won't be seeing any of these during testsuite compilation.
75560 if test $setrlimit_have_headers = yes; then
75561 # Can't do these in a loop, else the resulting syntax is wrong.
75563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_DATA" >&5
75564 $as_echo_n "checking for RLIMIT_DATA... " >&6; }
75565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75566 /* end confdefs.h. */
75567 #include <unistd.h>
75568 #include <sys/time.h>
75569 #include <sys/resource.h>
75572 main ()
75574 int f = RLIMIT_DATA ;
75576 return 0;
75578 _ACEOF
75579 if ac_fn_cxx_try_compile "$LINENO"; then :
75580 glibcxx_mresult=1
75581 else
75582 glibcxx_mresult=0
75584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75586 cat >>confdefs.h <<_ACEOF
75587 #define HAVE_LIMIT_DATA $glibcxx_mresult
75588 _ACEOF
75590 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
75591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
75592 $as_echo "$res" >&6; }
75595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_RSS" >&5
75596 $as_echo_n "checking for RLIMIT_RSS... " >&6; }
75597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75598 /* end confdefs.h. */
75599 #include <unistd.h>
75600 #include <sys/time.h>
75601 #include <sys/resource.h>
75604 main ()
75606 int f = RLIMIT_RSS ;
75608 return 0;
75610 _ACEOF
75611 if ac_fn_cxx_try_compile "$LINENO"; then :
75612 glibcxx_mresult=1
75613 else
75614 glibcxx_mresult=0
75616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75618 cat >>confdefs.h <<_ACEOF
75619 #define HAVE_LIMIT_RSS $glibcxx_mresult
75620 _ACEOF
75622 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
75623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
75624 $as_echo "$res" >&6; }
75627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_VMEM" >&5
75628 $as_echo_n "checking for RLIMIT_VMEM... " >&6; }
75629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75630 /* end confdefs.h. */
75631 #include <unistd.h>
75632 #include <sys/time.h>
75633 #include <sys/resource.h>
75636 main ()
75638 int f = RLIMIT_VMEM ;
75640 return 0;
75642 _ACEOF
75643 if ac_fn_cxx_try_compile "$LINENO"; then :
75644 glibcxx_mresult=1
75645 else
75646 glibcxx_mresult=0
75648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75650 cat >>confdefs.h <<_ACEOF
75651 #define HAVE_LIMIT_VMEM $glibcxx_mresult
75652 _ACEOF
75654 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
75655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
75656 $as_echo "$res" >&6; }
75659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_AS" >&5
75660 $as_echo_n "checking for RLIMIT_AS... " >&6; }
75661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75662 /* end confdefs.h. */
75663 #include <unistd.h>
75664 #include <sys/time.h>
75665 #include <sys/resource.h>
75668 main ()
75670 int f = RLIMIT_AS ;
75672 return 0;
75674 _ACEOF
75675 if ac_fn_cxx_try_compile "$LINENO"; then :
75676 glibcxx_mresult=1
75677 else
75678 glibcxx_mresult=0
75680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75682 cat >>confdefs.h <<_ACEOF
75683 #define HAVE_LIMIT_AS $glibcxx_mresult
75684 _ACEOF
75686 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
75687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
75688 $as_echo "$res" >&6; }
75691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_FSIZE" >&5
75692 $as_echo_n "checking for RLIMIT_FSIZE... " >&6; }
75693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75694 /* end confdefs.h. */
75695 #include <unistd.h>
75696 #include <sys/time.h>
75697 #include <sys/resource.h>
75700 main ()
75702 int f = RLIMIT_FSIZE ;
75704 return 0;
75706 _ACEOF
75707 if ac_fn_cxx_try_compile "$LINENO"; then :
75708 glibcxx_mresult=1
75709 else
75710 glibcxx_mresult=0
75712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75714 cat >>confdefs.h <<_ACEOF
75715 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
75716 _ACEOF
75718 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
75719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
75720 $as_echo "$res" >&6; }
75723 # Check for rlimit, setrlimit.
75724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for testsuite resource limits support" >&5
75725 $as_echo_n "checking for testsuite resource limits support... " >&6; }
75726 if ${glibcxx_cv_setrlimit+:} false; then :
75727 $as_echo_n "(cached) " >&6
75728 else
75730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75731 /* end confdefs.h. */
75732 #include <unistd.h>
75733 #include <sys/time.h>
75734 #include <sys/resource.h>
75737 main ()
75739 struct rlimit r;
75740 setrlimit(0, &r);
75742 return 0;
75744 _ACEOF
75745 if ac_fn_cxx_try_compile "$LINENO"; then :
75746 glibcxx_cv_setrlimit=yes
75747 else
75748 glibcxx_cv_setrlimit=no
75750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_setrlimit" >&5
75754 $as_echo "$glibcxx_cv_setrlimit" >&6; }
75756 if test $glibcxx_cv_setrlimit = yes; then
75758 $as_echo "#define _GLIBCXX_RES_LIMITS 1" >>confdefs.h
75762 ac_ext=c
75763 ac_cpp='$CPP $CPPFLAGS'
75764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75770 if $GLIBCXX_IS_NATIVE ; then
75771 # Look for setenv, so that extended locale tests can be performed.
75773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setenv declaration" >&5
75774 $as_echo_n "checking for setenv declaration... " >&6; }
75775 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
75776 if ${glibcxx_cv_func_setenv_use+:} false; then :
75777 $as_echo_n "(cached) " >&6
75778 else
75781 ac_ext=cpp
75782 ac_cpp='$CXXCPP $CPPFLAGS'
75783 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75784 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75785 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75788 /* end confdefs.h. */
75789 #include <stdlib.h>
75791 main ()
75793 setenv(0, 0, 0);
75795 return 0;
75797 _ACEOF
75798 if ac_fn_cxx_try_compile "$LINENO"; then :
75799 glibcxx_cv_func_setenv_use=yes
75800 else
75801 glibcxx_cv_func_setenv_use=no
75803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75804 ac_ext=c
75805 ac_cpp='$CPP $CPPFLAGS'
75806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_setenv_use" >&5
75815 $as_echo "$glibcxx_cv_func_setenv_use" >&6; }
75816 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
75817 for ac_func in setenv
75818 do :
75819 ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
75820 if test "x$ac_cv_func_setenv" = xyes; then :
75821 cat >>confdefs.h <<_ACEOF
75822 #define HAVE_SETENV 1
75823 _ACEOF
75826 done
75832 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
75833 test $enable_symvers != no; then
75834 case "$host" in
75835 *-*-cygwin*)
75836 enable_abi_check=no ;;
75838 enable_abi_check=yes ;;
75839 esac
75840 else
75841 # Only build this as native, since automake does not understand
75842 # CXX_FOR_BUILD.
75843 enable_abi_check=no
75846 # Export file names for ABI checking.
75847 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}"
75849 baseline_subdir_switch="$abi_baseline_subdir_switch"
75853 # For gthread support. Depends on GLIBCXX_ENABLE_SYMVERS.
75855 # Check whether --enable-libstdcxx-threads was given.
75856 if test "${enable_libstdcxx_threads+set}" = set; then :
75857 enableval=$enable_libstdcxx_threads;
75858 case "$enableval" in
75859 yes|no) ;;
75860 *) as_fn_error $? "Argument to enable/disable libstdcxx-threads must be yes or no" "$LINENO" 5 ;;
75861 esac
75863 else
75864 enable_libstdcxx_threads=auto
75869 if test x$enable_libstdcxx_threads = xauto ||
75870 test x$enable_libstdcxx_threads = xyes; then
75873 ac_ext=cpp
75874 ac_cpp='$CXXCPP $CPPFLAGS'
75875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75880 ac_save_CXXFLAGS="$CXXFLAGS"
75881 CXXFLAGS="$CXXFLAGS -fno-exceptions \
75882 -I${toplevel_srcdir}/libgcc -I${toplevel_builddir}/libgcc"
75884 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
75885 case $target_thread_file in
75886 posix)
75887 CXXFLAGS="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
75888 esac
75890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it can be safely assumed that mutex_timedlock is available" >&5
75891 $as_echo_n "checking whether it can be safely assumed that mutex_timedlock is available... " >&6; }
75893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75894 /* end confdefs.h. */
75895 #include <unistd.h>
75897 main ()
75900 // In case of POSIX threads check _POSIX_TIMEOUTS.
75901 #if (defined(_PTHREADS) \
75902 && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
75903 #error
75904 #endif
75907 return 0;
75909 _ACEOF
75910 if ac_fn_cxx_try_compile "$LINENO"; then :
75911 ac_gthread_use_mutex_timedlock=1
75912 else
75913 ac_gthread_use_mutex_timedlock=0
75915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75918 cat >>confdefs.h <<_ACEOF
75919 #define _GTHREAD_USE_MUTEX_TIMEDLOCK $ac_gthread_use_mutex_timedlock
75920 _ACEOF
75923 if test $ac_gthread_use_mutex_timedlock = 1 ; then res_mutex_timedlock=yes ;
75924 else res_mutex_timedlock=no ; fi
75925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res_mutex_timedlock" >&5
75926 $as_echo "$res_mutex_timedlock" >&6; }
75928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthreads library" >&5
75929 $as_echo_n "checking for gthreads library... " >&6; }
75931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75932 /* end confdefs.h. */
75933 #include "gthr.h"
75935 main ()
75938 #ifndef __GTHREADS_CXX0X
75939 #error
75940 #endif
75943 return 0;
75945 _ACEOF
75946 if ac_fn_cxx_try_compile "$LINENO"; then :
75947 ac_has_gthreads=yes
75948 else
75949 ac_has_gthreads=no
75951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75952 else
75953 ac_has_gthreads=no
75956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gthreads" >&5
75957 $as_echo "$ac_has_gthreads" >&6; }
75959 if test x"$ac_has_gthreads" = x"yes"; then
75961 $as_echo "#define _GLIBCXX_HAS_GTHREADS 1" >>confdefs.h
75964 # Also check for pthread_rwlock_t for std::shared_timed_mutex in C++14
75965 # but only do so if we're using pthread in the gthread library.
75966 # On VxWorks for example, pthread_rwlock_t is defined in sys/types.h
75967 # but the pthread library is not there by default and the gthread library
75968 # does not use it.
75969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75970 /* end confdefs.h. */
75971 #include "gthr.h"
75973 main ()
75976 #if (!defined(_PTHREADS))
75977 #error
75978 #endif
75981 return 0;
75983 _ACEOF
75984 if ac_fn_cxx_try_compile "$LINENO"; then :
75985 ac_gthread_use_pthreads=yes
75986 else
75987 ac_gthread_use_pthreads=no
75989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75990 if test x"$ac_gthread_use_pthreads" = x"yes"; then
75991 ac_fn_cxx_check_type "$LINENO" "pthread_rwlock_t" "ac_cv_type_pthread_rwlock_t" "#include \"gthr.h\"
75993 if test "x$ac_cv_type_pthread_rwlock_t" = xyes; then :
75995 $as_echo "#define _GLIBCXX_USE_PTHREAD_RWLOCK_T 1" >>confdefs.h
76002 ac_fn_cxx_check_header_mongrel "$LINENO" "semaphore.h" "ac_cv_header_semaphore_h" "$ac_includes_default"
76003 if test "x$ac_cv_header_semaphore_h" = xyes; then :
76005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for POSIX Semaphores and sem_timedwait" >&5
76006 $as_echo_n "checking for POSIX Semaphores and sem_timedwait... " >&6; }
76007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76008 /* end confdefs.h. */
76010 #include <unistd.h>
76011 #include <semaphore.h>
76012 #include <limits.h>
76015 main ()
76018 #if !defined _POSIX_TIMEOUTS || _POSIX_TIMEOUTS <= 0
76019 # error "POSIX Timeouts option not supported"
76020 #elif !defined _POSIX_SEMAPHORES || _POSIX_SEMAPHORES <= 0
76021 # error "POSIX Semaphores option not supported"
76022 #else
76023 #if defined SEM_VALUE_MAX
76024 constexpr int sem_value_max = SEM_VALUE_MAX;
76025 #elif defined _POSIX_SEM_VALUE_MAX
76026 constexpr int sem_value_max = _POSIX_SEM_VALUE_MAX;
76027 #else
76028 # error "SEM_VALUE_MAX not available"
76029 #endif
76030 sem_t sem;
76031 sem_init(&sem, 0, sem_value_max);
76032 struct timespec ts = { 0 };
76033 sem_timedwait(&sem, &ts);
76034 #endif
76037 return 0;
76039 _ACEOF
76040 if ac_fn_cxx_try_compile "$LINENO"; then :
76041 ac_have_posix_semaphore=yes
76042 else
76043 ac_have_posix_semaphore=no
76045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76046 else
76047 ac_have_posix_semaphore=no
76052 if test $ac_have_posix_semaphore = yes ; then
76054 $as_echo "#define HAVE_POSIX_SEMAPHORE 1" >>confdefs.h
76057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_have_posix_semaphore" >&5
76058 $as_echo "$ac_have_posix_semaphore" >&6; }
76060 CXXFLAGS="$ac_save_CXXFLAGS"
76061 ac_ext=c
76062 ac_cpp='$CPP $CPPFLAGS'
76063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76069 # For Filesystem TS.
76070 for ac_header in fcntl.h dirent.h sys/statvfs.h utime.h
76071 do :
76072 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
76073 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
76074 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
76075 cat >>confdefs.h <<_ACEOF
76076 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
76077 _ACEOF
76081 done
76084 # Check whether --enable-libstdcxx-filesystem-ts was given.
76085 if test "${enable_libstdcxx_filesystem_ts+set}" = set; then :
76086 enableval=$enable_libstdcxx_filesystem_ts;
76087 case "$enableval" in
76088 yes|no|auto) ;;
76089 *) as_fn_error $? "Unknown argument to enable/disable libstdcxx-filesystem-ts" "$LINENO" 5 ;;
76090 esac
76092 else
76093 enable_libstdcxx_filesystem_ts=auto
76098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build Filesystem TS support" >&5
76099 $as_echo_n "checking whether to build Filesystem TS support... " >&6; }
76100 if test x"$ac_cv_header_dirent_h" != x"yes"; then
76101 enable_libstdcxx_filesystem_ts=no
76103 if test x"$enable_libstdcxx_filesystem_ts" = x"auto"; then
76104 case "${target_os}" in
76105 freebsd*|netbsd*|openbsd*|dragonfly*|darwin*)
76106 enable_libstdcxx_filesystem_ts=yes
76108 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu | uclinux*)
76109 enable_libstdcxx_filesystem_ts=yes
76111 rtems*)
76112 enable_libstdcxx_filesystem_ts=yes
76114 solaris*)
76115 enable_libstdcxx_filesystem_ts=yes
76117 mingw*)
76118 enable_libstdcxx_filesystem_ts=yes
76121 enable_libstdcxx_filesystem_ts=no
76123 esac
76125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_filesystem_ts" >&5
76126 $as_echo "$enable_libstdcxx_filesystem_ts" >&6; }
76130 ac_ext=cpp
76131 ac_cpp='$CXXCPP $CPPFLAGS'
76132 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76133 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76134 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76136 ac_save_CXXFLAGS="$CXXFLAGS"
76137 CXXFLAGS="$CXXFLAGS -fno-exceptions"
76138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct dirent.d_type" >&5
76139 $as_echo_n "checking for struct dirent.d_type... " >&6; }
76140 if ${glibcxx_cv_dirent_d_type+:} false; then :
76141 $as_echo_n "(cached) " >&6
76142 else
76143 if test x$gcc_no_link = xyes; then
76144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76145 /* end confdefs.h. */
76146 #include <dirent.h>
76148 main ()
76151 struct dirent d;
76152 if (sizeof d.d_type) return 0;
76155 return 0;
76157 _ACEOF
76158 if ac_fn_cxx_try_compile "$LINENO"; then :
76159 glibcxx_cv_dirent_d_type=yes
76160 else
76161 glibcxx_cv_dirent_d_type=no
76163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76164 else
76165 if test x$gcc_no_link = xyes; then
76166 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76169 /* end confdefs.h. */
76170 #include <dirent.h>
76172 main ()
76175 struct dirent d;
76176 if (sizeof d.d_type) return 0;
76179 return 0;
76181 _ACEOF
76182 if ac_fn_cxx_try_link "$LINENO"; then :
76183 glibcxx_cv_dirent_d_type=yes
76184 else
76185 glibcxx_cv_dirent_d_type=no
76187 rm -f core conftest.err conftest.$ac_objext \
76188 conftest$ac_exeext conftest.$ac_ext
76192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_dirent_d_type" >&5
76193 $as_echo "$glibcxx_cv_dirent_d_type" >&6; }
76194 if test $glibcxx_cv_dirent_d_type = yes; then
76196 $as_echo "#define HAVE_STRUCT_DIRENT_D_TYPE 1" >>confdefs.h
76199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realpath" >&5
76200 $as_echo_n "checking for realpath... " >&6; }
76201 if ${glibcxx_cv_realpath+:} false; then :
76202 $as_echo_n "(cached) " >&6
76203 else
76204 if test x$gcc_no_link = xyes; then
76205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76206 /* end confdefs.h. */
76208 #include <limits.h>
76209 #include <stdlib.h>
76210 #include <unistd.h>
76213 main ()
76216 #if _XOPEN_VERSION < 500
76217 #error
76218 #elif _XOPEN_VERSION >= 700 || defined(PATH_MAX)
76219 char *tmp = realpath((const char*)NULL, (char*)NULL);
76220 #else
76221 #error
76222 #endif
76225 return 0;
76227 _ACEOF
76228 if ac_fn_cxx_try_compile "$LINENO"; then :
76229 glibcxx_cv_realpath=yes
76230 else
76231 glibcxx_cv_realpath=no
76233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76234 else
76235 if test x$gcc_no_link = xyes; then
76236 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76239 /* end confdefs.h. */
76241 #include <limits.h>
76242 #include <stdlib.h>
76243 #include <unistd.h>
76246 main ()
76249 #if _XOPEN_VERSION < 500
76250 #error
76251 #elif _XOPEN_VERSION >= 700 || defined(PATH_MAX)
76252 char *tmp = realpath((const char*)NULL, (char*)NULL);
76253 #else
76254 #error
76255 #endif
76258 return 0;
76260 _ACEOF
76261 if ac_fn_cxx_try_link "$LINENO"; then :
76262 glibcxx_cv_realpath=yes
76263 else
76264 glibcxx_cv_realpath=no
76266 rm -f core conftest.err conftest.$ac_objext \
76267 conftest$ac_exeext conftest.$ac_ext
76271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_realpath" >&5
76272 $as_echo "$glibcxx_cv_realpath" >&6; }
76273 if test $glibcxx_cv_realpath = yes; then
76275 $as_echo "#define _GLIBCXX_USE_REALPATH 1" >>confdefs.h
76278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for utimensat" >&5
76279 $as_echo_n "checking for utimensat... " >&6; }
76280 if ${glibcxx_cv_utimensat+:} false; then :
76281 $as_echo_n "(cached) " >&6
76282 else
76283 if test x$gcc_no_link = xyes; then
76284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76285 /* end confdefs.h. */
76287 #include <fcntl.h>
76288 #include <sys/stat.h>
76291 main ()
76294 struct timespec ts[2] = { { 0, UTIME_OMIT }, { 1, 1 } };
76295 int i = utimensat(AT_FDCWD, "path", ts, 0);
76298 return 0;
76300 _ACEOF
76301 if ac_fn_cxx_try_compile "$LINENO"; then :
76302 glibcxx_cv_utimensat=yes
76303 else
76304 glibcxx_cv_utimensat=no
76306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76307 else
76308 if test x$gcc_no_link = xyes; then
76309 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76312 /* end confdefs.h. */
76314 #include <fcntl.h>
76315 #include <sys/stat.h>
76318 main ()
76321 struct timespec ts[2] = { { 0, UTIME_OMIT }, { 1, 1 } };
76322 int i = utimensat(AT_FDCWD, "path", ts, 0);
76325 return 0;
76327 _ACEOF
76328 if ac_fn_cxx_try_link "$LINENO"; then :
76329 glibcxx_cv_utimensat=yes
76330 else
76331 glibcxx_cv_utimensat=no
76333 rm -f core conftest.err conftest.$ac_objext \
76334 conftest$ac_exeext conftest.$ac_ext
76338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_utimensat" >&5
76339 $as_echo "$glibcxx_cv_utimensat" >&6; }
76340 if test $glibcxx_cv_utimensat = yes; then
76342 $as_echo "#define _GLIBCXX_USE_UTIMENSAT 1" >>confdefs.h
76345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for utime" >&5
76346 $as_echo_n "checking for utime... " >&6; }
76347 if ${glibcxx_cv_utime+:} false; then :
76348 $as_echo_n "(cached) " >&6
76349 else
76350 if test x$gcc_no_link = xyes; then
76351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76352 /* end confdefs.h. */
76354 #include <utime.h>
76357 main ()
76360 struct utimbuf t = { 1, 1 };
76361 int i = utime("path", &t);
76364 return 0;
76366 _ACEOF
76367 if ac_fn_cxx_try_compile "$LINENO"; then :
76368 glibcxx_cv_utime=yes
76369 else
76370 glibcxx_cv_utime=no
76372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76373 else
76374 if test x$gcc_no_link = xyes; then
76375 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76378 /* end confdefs.h. */
76380 #include <utime.h>
76383 main ()
76386 struct utimbuf t = { 1, 1 };
76387 int i = utime("path", &t);
76390 return 0;
76392 _ACEOF
76393 if ac_fn_cxx_try_link "$LINENO"; then :
76394 glibcxx_cv_utime=yes
76395 else
76396 glibcxx_cv_utime=no
76398 rm -f core conftest.err conftest.$ac_objext \
76399 conftest$ac_exeext conftest.$ac_ext
76403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_utime" >&5
76404 $as_echo "$glibcxx_cv_utime" >&6; }
76405 if test $glibcxx_cv_utime = yes; then
76407 $as_echo "#define _GLIBCXX_USE_UTIME 1" >>confdefs.h
76410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lstat" >&5
76411 $as_echo_n "checking for lstat... " >&6; }
76412 if ${glibcxx_cv_lstat+:} false; then :
76413 $as_echo_n "(cached) " >&6
76414 else
76415 if test x$gcc_no_link = xyes; then
76416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76417 /* end confdefs.h. */
76418 #include <sys/stat.h>
76420 main ()
76423 struct stat st;
76424 int i = lstat("path", &st);
76427 return 0;
76429 _ACEOF
76430 if ac_fn_cxx_try_compile "$LINENO"; then :
76431 glibcxx_cv_lstat=yes
76432 else
76433 glibcxx_cv_lstat=no
76435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76436 else
76437 if test x$gcc_no_link = xyes; then
76438 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76441 /* end confdefs.h. */
76442 #include <sys/stat.h>
76444 main ()
76447 struct stat st;
76448 int i = lstat("path", &st);
76451 return 0;
76453 _ACEOF
76454 if ac_fn_cxx_try_link "$LINENO"; then :
76455 glibcxx_cv_lstat=yes
76456 else
76457 glibcxx_cv_lstat=no
76459 rm -f core conftest.err conftest.$ac_objext \
76460 conftest$ac_exeext conftest.$ac_ext
76464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_lstat" >&5
76465 $as_echo "$glibcxx_cv_lstat" >&6; }
76466 if test $glibcxx_cv_lstat = yes; then
76468 $as_echo "#define _GLIBCXX_USE_LSTAT 1" >>confdefs.h
76471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct stat.st_mtim.tv_nsec" >&5
76472 $as_echo_n "checking for struct stat.st_mtim.tv_nsec... " >&6; }
76473 if ${glibcxx_cv_st_mtim+:} 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 <sys/stat.h>
76481 main ()
76484 struct stat st;
76485 return st.st_mtim.tv_nsec;
76488 return 0;
76490 _ACEOF
76491 if ac_fn_cxx_try_compile "$LINENO"; then :
76492 glibcxx_cv_st_mtim=yes
76493 else
76494 glibcxx_cv_st_mtim=no
76496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76497 else
76498 if test x$gcc_no_link = xyes; then
76499 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76502 /* end confdefs.h. */
76503 #include <sys/stat.h>
76505 main ()
76508 struct stat st;
76509 return st.st_mtim.tv_nsec;
76512 return 0;
76514 _ACEOF
76515 if ac_fn_cxx_try_link "$LINENO"; then :
76516 glibcxx_cv_st_mtim=yes
76517 else
76518 glibcxx_cv_st_mtim=no
76520 rm -f core conftest.err conftest.$ac_objext \
76521 conftest$ac_exeext conftest.$ac_ext
76525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_st_mtim" >&5
76526 $as_echo "$glibcxx_cv_st_mtim" >&6; }
76527 if test $glibcxx_cv_st_mtim = yes; then
76529 $as_echo "#define _GLIBCXX_USE_ST_MTIM 1" >>confdefs.h
76532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fchmod" >&5
76533 $as_echo_n "checking for fchmod... " >&6; }
76534 if ${glibcxx_cv_fchmod+:} false; then :
76535 $as_echo_n "(cached) " >&6
76536 else
76537 if test x$gcc_no_link = xyes; then
76538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76539 /* end confdefs.h. */
76540 #include <sys/stat.h>
76542 main ()
76544 fchmod(1, S_IWUSR);
76546 return 0;
76548 _ACEOF
76549 if ac_fn_cxx_try_compile "$LINENO"; then :
76550 glibcxx_cv_fchmod=yes
76551 else
76552 glibcxx_cv_fchmod=no
76554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76555 else
76556 if test x$gcc_no_link = xyes; then
76557 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76560 /* end confdefs.h. */
76561 #include <sys/stat.h>
76563 main ()
76565 fchmod(1, S_IWUSR);
76567 return 0;
76569 _ACEOF
76570 if ac_fn_cxx_try_link "$LINENO"; then :
76571 glibcxx_cv_fchmod=yes
76572 else
76573 glibcxx_cv_fchmod=no
76575 rm -f core conftest.err conftest.$ac_objext \
76576 conftest$ac_exeext conftest.$ac_ext
76580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_fchmod" >&5
76581 $as_echo "$glibcxx_cv_fchmod" >&6; }
76582 if test $glibcxx_cv_fchmod = yes; then
76584 $as_echo "#define _GLIBCXX_USE_FCHMOD 1" >>confdefs.h
76587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fchmodat" >&5
76588 $as_echo_n "checking for fchmodat... " >&6; }
76589 if ${glibcxx_cv_fchmodat+:} false; then :
76590 $as_echo_n "(cached) " >&6
76591 else
76592 if test x$gcc_no_link = xyes; then
76593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76594 /* end confdefs.h. */
76596 #include <fcntl.h>
76597 #include <sys/stat.h>
76600 main ()
76602 fchmodat(AT_FDCWD, "", 0, AT_SYMLINK_NOFOLLOW);
76604 return 0;
76606 _ACEOF
76607 if ac_fn_cxx_try_compile "$LINENO"; then :
76608 glibcxx_cv_fchmodat=yes
76609 else
76610 glibcxx_cv_fchmodat=no
76612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76613 else
76614 if test x$gcc_no_link = xyes; then
76615 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76618 /* end confdefs.h. */
76620 #include <fcntl.h>
76621 #include <sys/stat.h>
76624 main ()
76626 fchmodat(AT_FDCWD, "", 0, AT_SYMLINK_NOFOLLOW);
76628 return 0;
76630 _ACEOF
76631 if ac_fn_cxx_try_link "$LINENO"; then :
76632 glibcxx_cv_fchmodat=yes
76633 else
76634 glibcxx_cv_fchmodat=no
76636 rm -f core conftest.err conftest.$ac_objext \
76637 conftest$ac_exeext conftest.$ac_ext
76641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_fchmodat" >&5
76642 $as_echo "$glibcxx_cv_fchmodat" >&6; }
76643 if test $glibcxx_cv_fchmodat = yes; then
76645 $as_echo "#define _GLIBCXX_USE_FCHMODAT 1" >>confdefs.h
76648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sendfile that can copy files" >&5
76649 $as_echo_n "checking for sendfile that can copy files... " >&6; }
76650 if ${glibcxx_cv_sendfile+:} false; then :
76651 $as_echo_n "(cached) " >&6
76652 else
76653 case "${target_os}" in
76654 gnu* | linux* | solaris* | uclinux*)
76655 if test x$gcc_no_link = xyes; then
76656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76657 /* end confdefs.h. */
76658 #include <sys/sendfile.h>
76660 main ()
76662 sendfile(1, 2, (off_t*)0, sizeof 1);
76664 return 0;
76666 _ACEOF
76667 if ac_fn_cxx_try_compile "$LINENO"; then :
76668 glibcxx_cv_sendfile=yes
76669 else
76670 glibcxx_cv_sendfile=no
76672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76673 else
76674 if test x$gcc_no_link = xyes; then
76675 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76678 /* end confdefs.h. */
76679 #include <sys/sendfile.h>
76681 main ()
76683 sendfile(1, 2, (off_t*)0, sizeof 1);
76685 return 0;
76687 _ACEOF
76688 if ac_fn_cxx_try_link "$LINENO"; then :
76689 glibcxx_cv_sendfile=yes
76690 else
76691 glibcxx_cv_sendfile=no
76693 rm -f core conftest.err conftest.$ac_objext \
76694 conftest$ac_exeext conftest.$ac_ext
76698 glibcxx_cv_sendfile=no
76700 esac
76703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sendfile" >&5
76704 $as_echo "$glibcxx_cv_sendfile" >&6; }
76705 if test $glibcxx_cv_sendfile = yes; then
76707 $as_echo "#define _GLIBCXX_USE_SENDFILE 1" >>confdefs.h
76710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for link" >&5
76711 $as_echo_n "checking for link... " >&6; }
76712 if ${glibcxx_cv_link+:} false; then :
76713 $as_echo_n "(cached) " >&6
76714 else
76715 if test x$gcc_no_link = xyes; then
76716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76717 /* end confdefs.h. */
76718 #include <unistd.h>
76720 main ()
76722 link("", "");
76724 return 0;
76726 _ACEOF
76727 if ac_fn_cxx_try_compile "$LINENO"; then :
76728 glibcxx_cv_link=yes
76729 else
76730 glibcxx_cv_link=no
76732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76733 else
76734 if test x$gcc_no_link = xyes; then
76735 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76738 /* end confdefs.h. */
76739 #include <unistd.h>
76741 main ()
76743 link("", "");
76745 return 0;
76747 _ACEOF
76748 if ac_fn_cxx_try_link "$LINENO"; then :
76749 glibcxx_cv_link=yes
76750 else
76751 glibcxx_cv_link=no
76753 rm -f core conftest.err conftest.$ac_objext \
76754 conftest$ac_exeext conftest.$ac_ext
76758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_link" >&5
76759 $as_echo "$glibcxx_cv_link" >&6; }
76760 if test $glibcxx_cv_link = yes; then
76762 $as_echo "#define HAVE_LINK 1" >>confdefs.h
76765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readlink" >&5
76766 $as_echo_n "checking for readlink... " >&6; }
76767 if ${glibcxx_cv_readlink+:} false; then :
76768 $as_echo_n "(cached) " >&6
76769 else
76770 if test x$gcc_no_link = xyes; then
76771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76772 /* end confdefs.h. */
76773 #include <unistd.h>
76775 main ()
76777 char buf[32]; readlink("", buf, sizeof(buf));
76779 return 0;
76781 _ACEOF
76782 if ac_fn_cxx_try_compile "$LINENO"; then :
76783 glibcxx_cv_readlink=yes
76784 else
76785 glibcxx_cv_readlink=no
76787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76788 else
76789 if test x$gcc_no_link = xyes; then
76790 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76793 /* end confdefs.h. */
76794 #include <unistd.h>
76796 main ()
76798 char buf[32]; readlink("", buf, sizeof(buf));
76800 return 0;
76802 _ACEOF
76803 if ac_fn_cxx_try_link "$LINENO"; then :
76804 glibcxx_cv_readlink=yes
76805 else
76806 glibcxx_cv_readlink=no
76808 rm -f core conftest.err conftest.$ac_objext \
76809 conftest$ac_exeext conftest.$ac_ext
76813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_readlink" >&5
76814 $as_echo "$glibcxx_cv_readlink" >&6; }
76815 if test $glibcxx_cv_readlink = yes; then
76817 $as_echo "#define HAVE_READLINK 1" >>confdefs.h
76820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for symlink" >&5
76821 $as_echo_n "checking for symlink... " >&6; }
76822 if ${glibcxx_cv_symlink+:} false; then :
76823 $as_echo_n "(cached) " >&6
76824 else
76825 if test x$gcc_no_link = xyes; then
76826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76827 /* end confdefs.h. */
76828 #include <unistd.h>
76830 main ()
76832 symlink("", "");
76834 return 0;
76836 _ACEOF
76837 if ac_fn_cxx_try_compile "$LINENO"; then :
76838 glibcxx_cv_symlink=yes
76839 else
76840 glibcxx_cv_symlink=no
76842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76843 else
76844 if test x$gcc_no_link = xyes; then
76845 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76848 /* end confdefs.h. */
76849 #include <unistd.h>
76851 main ()
76853 symlink("", "");
76855 return 0;
76857 _ACEOF
76858 if ac_fn_cxx_try_link "$LINENO"; then :
76859 glibcxx_cv_symlink=yes
76860 else
76861 glibcxx_cv_symlink=no
76863 rm -f core conftest.err conftest.$ac_objext \
76864 conftest$ac_exeext conftest.$ac_ext
76868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_symlink" >&5
76869 $as_echo "$glibcxx_cv_symlink" >&6; }
76870 if test $glibcxx_cv_symlink = yes; then
76872 $as_echo "#define HAVE_SYMLINK 1" >>confdefs.h
76875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncate" >&5
76876 $as_echo_n "checking for truncate... " >&6; }
76877 if ${glibcxx_cv_truncate+:} false; then :
76878 $as_echo_n "(cached) " >&6
76879 else
76880 if test x$gcc_no_link = xyes; then
76881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76882 /* end confdefs.h. */
76883 #include <unistd.h>
76885 main ()
76887 truncate("", 99);
76889 return 0;
76891 _ACEOF
76892 if ac_fn_cxx_try_compile "$LINENO"; then :
76893 glibcxx_cv_truncate=yes
76894 else
76895 glibcxx_cv_truncate=no
76897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76898 else
76899 if test x$gcc_no_link = xyes; then
76900 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76903 /* end confdefs.h. */
76904 #include <unistd.h>
76906 main ()
76908 truncate("", 99);
76910 return 0;
76912 _ACEOF
76913 if ac_fn_cxx_try_link "$LINENO"; then :
76914 glibcxx_cv_truncate=yes
76915 else
76916 glibcxx_cv_truncate=no
76918 rm -f core conftest.err conftest.$ac_objext \
76919 conftest$ac_exeext conftest.$ac_ext
76923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_truncate" >&5
76924 $as_echo "$glibcxx_cv_truncate" >&6; }
76925 if test $glibcxx_cv_truncate = yes; then
76927 $as_echo "#define HAVE_TRUNCATE 1" >>confdefs.h
76930 CXXFLAGS="$ac_save_CXXFLAGS"
76931 ac_ext=c
76932 ac_cpp='$CPP $CPPFLAGS'
76933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76939 # For Networking TS.
76940 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
76941 do :
76942 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
76943 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
76944 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
76945 cat >>confdefs.h <<_ACEOF
76946 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
76947 _ACEOF
76951 done
76953 ac_fn_c_check_decl "$LINENO" "F_GETFL" "ac_cv_have_decl_F_GETFL" "#include <fcntl.h>
76955 if test "x$ac_cv_have_decl_F_GETFL" = xyes; then :
76959 ac_fn_c_check_decl "$LINENO" "F_SETFL" "ac_cv_have_decl_F_SETFL" "#include <fcntl.h>
76961 if test "x$ac_cv_have_decl_F_SETFL" = xyes; then :
76965 if test "$ac_cv_have_decl_F_GETFL$ac_cv_have_decl_F_SETFL" = yesyes ; then
76966 ac_fn_c_check_decl "$LINENO" "O_NONBLOCK" "ac_cv_have_decl_O_NONBLOCK" "#include <fcntl.h>
76968 if test "x$ac_cv_have_decl_O_NONBLOCK" = xyes; then :
76974 # For Transactional Memory TS
76976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how size_t is mangled" >&5
76977 $as_echo_n "checking how size_t is mangled... " >&6; }
76978 if ${glibcxx_cv_size_t_mangling+:} false; then :
76979 $as_echo_n "(cached) " >&6
76980 else
76982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76983 /* end confdefs.h. */
76986 main ()
76988 extern __SIZE_TYPE__ x; extern unsigned long x;
76990 return 0;
76992 _ACEOF
76993 if ac_fn_c_try_compile "$LINENO"; then :
76994 glibcxx_cv_size_t_mangling=m
76995 else
76997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76998 /* end confdefs.h. */
77001 main ()
77003 extern __SIZE_TYPE__ x; extern unsigned int x;
77005 return 0;
77007 _ACEOF
77008 if ac_fn_c_try_compile "$LINENO"; then :
77009 glibcxx_cv_size_t_mangling=j
77010 else
77012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77013 /* end confdefs.h. */
77016 main ()
77018 extern __SIZE_TYPE__ x; extern unsigned long long x;
77020 return 0;
77022 _ACEOF
77023 if ac_fn_c_try_compile "$LINENO"; then :
77024 glibcxx_cv_size_t_mangling=y
77025 else
77027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77028 /* end confdefs.h. */
77031 main ()
77033 extern __SIZE_TYPE__ x; extern unsigned short x;
77035 return 0;
77037 _ACEOF
77038 if ac_fn_c_try_compile "$LINENO"; then :
77039 glibcxx_cv_size_t_mangling=t
77040 else
77042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77043 /* end confdefs.h. */
77046 main ()
77048 extern __SIZE_TYPE__ x; extern __int20 unsigned x;
77050 return 0;
77052 _ACEOF
77053 if ac_fn_c_try_compile "$LINENO"; then :
77054 glibcxx_cv_size_t_mangling=u6uint20
77055 else
77056 glibcxx_cv_size_t_mangling=x
77058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_size_t_mangling" >&5
77074 $as_echo "$glibcxx_cv_size_t_mangling" >&6; }
77075 if test $glibcxx_cv_size_t_mangling = x; then
77076 as_fn_error $? "Unknown underlying type for size_t" "$LINENO" 5
77079 cat >>confdefs.h <<_ACEOF
77080 #define _GLIBCXX_MANGLE_SIZE_T $glibcxx_cv_size_t_mangling
77081 _ACEOF
77085 # Check which release added std::exception_ptr for the target
77087 if test $enable_symvers != no; then
77088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for first version to support std::exception_ptr" >&5
77089 $as_echo_n "checking for first version to support std::exception_ptr... " >&6; }
77090 case ${target} in
77091 aarch64-*-* | alpha-*-* | hppa*-*-* | i?86-*-* | x86_64-*-* | \
77092 m68k-*-* | powerpc*-*-* | s390*-*-* | *-*-solaris* )
77093 ac_exception_ptr_since_gcc46=yes
77096 # If the value of this macro changes then we will need to hardcode
77097 # yes/no here for additional targets based on the original value.
77098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77099 /* end confdefs.h. */
77102 main ()
77105 #if __GCC_ATOMIC_INT_LOCK_FREE <= 1
77106 # error atomic int not always lock free
77107 #endif
77110 return 0;
77112 _ACEOF
77113 if ac_fn_c_try_compile "$LINENO"; then :
77114 ac_exception_ptr_since_gcc46=yes
77115 else
77116 ac_exception_ptr_since_gcc46=no
77118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77120 esac
77121 if test x"$ac_exception_ptr_since_gcc46" = x"yes" ; then
77123 $as_echo "#define HAVE_EXCEPTION_PTR_SINCE_GCC46 1" >>confdefs.h
77125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 4.6.0" >&5
77126 $as_echo "4.6.0" >&6; }
77127 else
77128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 7.1.0" >&5
77129 $as_echo "7.1.0" >&6; }
77134 # Define documentation rules conditionally.
77136 # See if makeinfo has been installed and is modern enough
77137 # that we can use it.
77139 # Extract the first word of "makeinfo", so it can be a program name with args.
77140 set dummy makeinfo; ac_word=$2
77141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
77142 $as_echo_n "checking for $ac_word... " >&6; }
77143 if ${ac_cv_prog_MAKEINFO+:} false; then :
77144 $as_echo_n "(cached) " >&6
77145 else
77146 if test -n "$MAKEINFO"; then
77147 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
77148 else
77149 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77150 for as_dir in $PATH
77152 IFS=$as_save_IFS
77153 test -z "$as_dir" && as_dir=.
77154 for ac_exec_ext in '' $ac_executable_extensions; do
77155 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
77156 ac_cv_prog_MAKEINFO="makeinfo"
77157 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
77158 break 2
77160 done
77161 done
77162 IFS=$as_save_IFS
77166 MAKEINFO=$ac_cv_prog_MAKEINFO
77167 if test -n "$MAKEINFO"; then
77168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
77169 $as_echo "$MAKEINFO" >&6; }
77170 else
77171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
77172 $as_echo "no" >&6; }
77176 if test -n "$MAKEINFO"; then
77177 # Found it, now check the version.
77178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modern makeinfo" >&5
77179 $as_echo_n "checking for modern makeinfo... " >&6; }
77180 if ${gcc_cv_prog_makeinfo_modern+:} false; then :
77181 $as_echo_n "(cached) " >&6
77182 else
77183 ac_prog_version=`eval $MAKEINFO --version 2>&1 |
77184 sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
77186 case $ac_prog_version in
77187 '') gcc_cv_prog_makeinfo_modern=no;;
77188 4.[4-9]*|4.[1-9][0-9]*|[5-9]*|[1-9][0-9]*) gcc_cv_prog_makeinfo_modern=yes;;
77189 *) gcc_cv_prog_makeinfo_modern=no;;
77190 esac
77193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_makeinfo_modern" >&5
77194 $as_echo "$gcc_cv_prog_makeinfo_modern" >&6; }
77195 else
77196 gcc_cv_prog_makeinfo_modern=no
77198 if test $gcc_cv_prog_makeinfo_modern = no; then
77199 MAKEINFO="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
77202 if test $gcc_cv_prog_makeinfo_modern = "yes"; then
77203 BUILD_INFO_TRUE=
77204 BUILD_INFO_FALSE='#'
77205 else
77206 BUILD_INFO_TRUE='#'
77207 BUILD_INFO_FALSE=
77211 # Check for doxygen
77212 # Extract the first word of "doxygen", so it can be a program name with args.
77213 set dummy doxygen; ac_word=$2
77214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
77215 $as_echo_n "checking for $ac_word... " >&6; }
77216 if ${ac_cv_prog_DOXYGEN+:} false; then :
77217 $as_echo_n "(cached) " >&6
77218 else
77219 if test -n "$DOXYGEN"; then
77220 ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
77221 else
77222 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77223 for as_dir in $PATH
77225 IFS=$as_save_IFS
77226 test -z "$as_dir" && as_dir=.
77227 for ac_exec_ext in '' $ac_executable_extensions; do
77228 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
77229 ac_cv_prog_DOXYGEN="yes"
77230 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
77231 break 2
77233 done
77234 done
77235 IFS=$as_save_IFS
77237 test -z "$ac_cv_prog_DOXYGEN" && ac_cv_prog_DOXYGEN="no"
77240 DOXYGEN=$ac_cv_prog_DOXYGEN
77241 if test -n "$DOXYGEN"; then
77242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
77243 $as_echo "$DOXYGEN" >&6; }
77244 else
77245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
77246 $as_echo "no" >&6; }
77250 # Extract the first word of "dot", so it can be a program name with args.
77251 set dummy dot; ac_word=$2
77252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
77253 $as_echo_n "checking for $ac_word... " >&6; }
77254 if ${ac_cv_prog_DOT+:} false; then :
77255 $as_echo_n "(cached) " >&6
77256 else
77257 if test -n "$DOT"; then
77258 ac_cv_prog_DOT="$DOT" # Let the user override the test.
77259 else
77260 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77261 for as_dir in $PATH
77263 IFS=$as_save_IFS
77264 test -z "$as_dir" && as_dir=.
77265 for ac_exec_ext in '' $ac_executable_extensions; do
77266 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
77267 ac_cv_prog_DOT="yes"
77268 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
77269 break 2
77271 done
77272 done
77273 IFS=$as_save_IFS
77275 test -z "$ac_cv_prog_DOT" && ac_cv_prog_DOT="no"
77278 DOT=$ac_cv_prog_DOT
77279 if test -n "$DOT"; then
77280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
77281 $as_echo "$DOT" >&6; }
77282 else
77283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
77284 $as_echo "no" >&6; }
77289 # Check for docbook
77290 # Extract the first word of "xmlcatalog", so it can be a program name with args.
77291 set dummy xmlcatalog; ac_word=$2
77292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
77293 $as_echo_n "checking for $ac_word... " >&6; }
77294 if ${ac_cv_prog_XMLCATALOG+:} false; then :
77295 $as_echo_n "(cached) " >&6
77296 else
77297 if test -n "$XMLCATALOG"; then
77298 ac_cv_prog_XMLCATALOG="$XMLCATALOG" # Let the user override the test.
77299 else
77300 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77301 for as_dir in $PATH
77303 IFS=$as_save_IFS
77304 test -z "$as_dir" && as_dir=.
77305 for ac_exec_ext in '' $ac_executable_extensions; do
77306 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
77307 ac_cv_prog_XMLCATALOG="yes"
77308 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
77309 break 2
77311 done
77312 done
77313 IFS=$as_save_IFS
77315 test -z "$ac_cv_prog_XMLCATALOG" && ac_cv_prog_XMLCATALOG="no"
77318 XMLCATALOG=$ac_cv_prog_XMLCATALOG
77319 if test -n "$XMLCATALOG"; then
77320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLCATALOG" >&5
77321 $as_echo "$XMLCATALOG" >&6; }
77322 else
77323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
77324 $as_echo "no" >&6; }
77328 # Extract the first word of "xsltproc", so it can be a program name with args.
77329 set dummy xsltproc; ac_word=$2
77330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
77331 $as_echo_n "checking for $ac_word... " >&6; }
77332 if ${ac_cv_prog_XSLTPROC+:} false; then :
77333 $as_echo_n "(cached) " >&6
77334 else
77335 if test -n "$XSLTPROC"; then
77336 ac_cv_prog_XSLTPROC="$XSLTPROC" # Let the user override the test.
77337 else
77338 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77339 for as_dir in $PATH
77341 IFS=$as_save_IFS
77342 test -z "$as_dir" && as_dir=.
77343 for ac_exec_ext in '' $ac_executable_extensions; do
77344 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
77345 ac_cv_prog_XSLTPROC="yes"
77346 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
77347 break 2
77349 done
77350 done
77351 IFS=$as_save_IFS
77353 test -z "$ac_cv_prog_XSLTPROC" && ac_cv_prog_XSLTPROC="no"
77356 XSLTPROC=$ac_cv_prog_XSLTPROC
77357 if test -n "$XSLTPROC"; then
77358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
77359 $as_echo "$XSLTPROC" >&6; }
77360 else
77361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
77362 $as_echo "no" >&6; }
77366 # Extract the first word of "xmllint", so it can be a program name with args.
77367 set dummy xmllint; ac_word=$2
77368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
77369 $as_echo_n "checking for $ac_word... " >&6; }
77370 if ${ac_cv_prog_XMLLINT+:} false; then :
77371 $as_echo_n "(cached) " >&6
77372 else
77373 if test -n "$XMLLINT"; then
77374 ac_cv_prog_XMLLINT="$XMLLINT" # Let the user override the test.
77375 else
77376 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77377 for as_dir in $PATH
77379 IFS=$as_save_IFS
77380 test -z "$as_dir" && as_dir=.
77381 for ac_exec_ext in '' $ac_executable_extensions; do
77382 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
77383 ac_cv_prog_XMLLINT="yes"
77384 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
77385 break 2
77387 done
77388 done
77389 IFS=$as_save_IFS
77391 test -z "$ac_cv_prog_XMLLINT" && ac_cv_prog_XMLLINT="no"
77394 XMLLINT=$ac_cv_prog_XMLLINT
77395 if test -n "$XMLLINT"; then
77396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
77397 $as_echo "$XMLLINT" >&6; }
77398 else
77399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
77400 $as_echo "no" >&6; }
77406 glibcxx_docbook_url=http://docbook.sourceforge.net/release/xsl-ns/current/
77408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for local stylesheet directory" >&5
77409 $as_echo_n "checking for local stylesheet directory... " >&6; }
77410 glibcxx_local_stylesheets=no
77411 if test x${XMLCATALOG} = xyes && xsl_style_dir=`xmlcatalog "" $glibcxx_docbook_url 2>/dev/null`
77412 then
77413 XSL_STYLE_DIR=`echo $xsl_style_dir | sed -n 's;^file://;;p'`
77414 glibcxx_local_stylesheets=yes
77415 else
77416 for dir in \
77417 /usr/share/sgml/docbook/xsl-ns-stylesheets \
77418 /usr/share/xml/docbook/stylesheet/docbook-xsl-ns \
77419 /usr/share/xml/docbook/stylesheet/nwalsh5/current \
77420 /usr/share/xml/docbook/stylesheet/nwalsh/current
77422 if test -d $dir; then
77423 glibcxx_local_stylesheets=yes
77424 XSL_STYLE_DIR=$dir
77425 break
77427 done
77429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_local_stylesheets" >&5
77430 $as_echo "$glibcxx_local_stylesheets" >&6; }
77432 if test x"$glibcxx_local_stylesheets" = x"yes"; then
77434 { $as_echo "$as_me:${as_lineno-$LINENO}: $XSL_STYLE_DIR" >&5
77435 $as_echo "$as_me: $XSL_STYLE_DIR" >&6;}
77437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for docbook stylesheets for documentation creation" >&5
77438 $as_echo_n "checking for docbook stylesheets for documentation creation... " >&6; }
77439 glibcxx_stylesheets=no
77440 if test x${XMLCATALOG} = xno || xmlcatalog "" $glibcxx_docbook_url/xhtml/docbook.xsl >/dev/null 2>&1; then
77441 if test x${XSLTPROC} = xyes && echo '<title/>' | xsltproc --noout --nonet --xinclude $glibcxx_docbook_url/xhtml/docbook.xsl - 2>/dev/null; then
77442 glibcxx_stylesheets=yes
77445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_stylesheets" >&5
77446 $as_echo "$glibcxx_stylesheets" >&6; }
77448 else
77449 glibcxx_stylesheets=no
77452 # Check for epub3 dependencies.
77453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for epub3 stylesheets for documentation creation" >&5
77454 $as_echo_n "checking for epub3 stylesheets for documentation creation... " >&6; }
77455 glibcxx_epub_stylesheets=no
77456 if test x"$glibcxx_local_stylesheets" = x"yes"; then
77457 if test -f "$XSL_STYLE_DIR/epub3/chunk.xsl"; then
77458 glibcxx_epub_stylesheets=yes
77461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_epub_stylesheets" >&5
77462 $as_echo "$glibcxx_epub_stylesheets" >&6; }
77463 if test x"$glibcxx_epub_stylesheets" = x"yes"; then
77464 BUILD_EPUB_TRUE=
77465 BUILD_EPUB_FALSE='#'
77466 else
77467 BUILD_EPUB_TRUE='#'
77468 BUILD_EPUB_FALSE=
77474 # Check for xml/html dependencies.
77475 if test $ac_cv_prog_DOXYGEN = "yes" &&
77476 test $ac_cv_prog_DOT = "yes" &&
77477 test $ac_cv_prog_XSLTPROC = "yes" &&
77478 test $ac_cv_prog_XMLLINT = "yes" &&
77479 test $glibcxx_stylesheets = "yes"; then
77480 BUILD_XML_TRUE=
77481 BUILD_XML_FALSE='#'
77482 else
77483 BUILD_XML_TRUE='#'
77484 BUILD_XML_FALSE=
77488 if test $ac_cv_prog_DOXYGEN = "yes" &&
77489 test $ac_cv_prog_DOT = "yes" &&
77490 test $ac_cv_prog_XSLTPROC = "yes" &&
77491 test $ac_cv_prog_XMLLINT = "yes" &&
77492 test $glibcxx_stylesheets = "yes"; then
77493 BUILD_HTML_TRUE=
77494 BUILD_HTML_FALSE='#'
77495 else
77496 BUILD_HTML_TRUE='#'
77497 BUILD_HTML_FALSE=
77501 # Check for man dependencies.
77502 if test $ac_cv_prog_DOXYGEN = "yes" &&
77503 test $ac_cv_prog_DOT = "yes"; then
77504 BUILD_MAN_TRUE=
77505 BUILD_MAN_FALSE='#'
77506 else
77507 BUILD_MAN_TRUE='#'
77508 BUILD_MAN_FALSE=
77512 # Check for pdf dependencies.
77513 # Extract the first word of "dblatex", so it can be a program name with args.
77514 set dummy dblatex; ac_word=$2
77515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
77516 $as_echo_n "checking for $ac_word... " >&6; }
77517 if ${ac_cv_prog_DBLATEX+:} false; then :
77518 $as_echo_n "(cached) " >&6
77519 else
77520 if test -n "$DBLATEX"; then
77521 ac_cv_prog_DBLATEX="$DBLATEX" # Let the user override the test.
77522 else
77523 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77524 for as_dir in $PATH
77526 IFS=$as_save_IFS
77527 test -z "$as_dir" && as_dir=.
77528 for ac_exec_ext in '' $ac_executable_extensions; do
77529 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
77530 ac_cv_prog_DBLATEX="yes"
77531 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
77532 break 2
77534 done
77535 done
77536 IFS=$as_save_IFS
77538 test -z "$ac_cv_prog_DBLATEX" && ac_cv_prog_DBLATEX="no"
77541 DBLATEX=$ac_cv_prog_DBLATEX
77542 if test -n "$DBLATEX"; then
77543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBLATEX" >&5
77544 $as_echo "$DBLATEX" >&6; }
77545 else
77546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
77547 $as_echo "no" >&6; }
77551 # Extract the first word of "pdflatex", so it can be a program name with args.
77552 set dummy pdflatex; ac_word=$2
77553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
77554 $as_echo_n "checking for $ac_word... " >&6; }
77555 if ${ac_cv_prog_PDFLATEX+:} false; then :
77556 $as_echo_n "(cached) " >&6
77557 else
77558 if test -n "$PDFLATEX"; then
77559 ac_cv_prog_PDFLATEX="$PDFLATEX" # Let the user override the test.
77560 else
77561 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77562 for as_dir in $PATH
77564 IFS=$as_save_IFS
77565 test -z "$as_dir" && as_dir=.
77566 for ac_exec_ext in '' $ac_executable_extensions; do
77567 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
77568 ac_cv_prog_PDFLATEX="yes"
77569 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
77570 break 2
77572 done
77573 done
77574 IFS=$as_save_IFS
77576 test -z "$ac_cv_prog_PDFLATEX" && ac_cv_prog_PDFLATEX="no"
77579 PDFLATEX=$ac_cv_prog_PDFLATEX
77580 if test -n "$PDFLATEX"; then
77581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PDFLATEX" >&5
77582 $as_echo "$PDFLATEX" >&6; }
77583 else
77584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
77585 $as_echo "no" >&6; }
77589 if test $ac_cv_prog_DOXYGEN = "yes" &&
77590 test $ac_cv_prog_DOT = "yes" &&
77591 test $ac_cv_prog_XSLTPROC = "yes" &&
77592 test $ac_cv_prog_XMLLINT = "yes" &&
77593 test $ac_cv_prog_DBLATEX = "yes" &&
77594 test $ac_cv_prog_PDFLATEX = "yes"; then
77595 BUILD_PDF_TRUE=
77596 BUILD_PDF_FALSE='#'
77597 else
77598 BUILD_PDF_TRUE='#'
77599 BUILD_PDF_FALSE=
77603 case "$build" in
77604 *-*-darwin* ) glibcxx_include_dir_notparallel=yes ;;
77605 * ) glibcxx_include_dir_notparallel=no ;;
77606 esac
77607 if test $glibcxx_include_dir_notparallel = "yes"; then
77608 INCLUDE_DIR_NOTPARALLEL_TRUE=
77609 INCLUDE_DIR_NOTPARALLEL_FALSE='#'
77610 else
77611 INCLUDE_DIR_NOTPARALLEL_TRUE='#'
77612 INCLUDE_DIR_NOTPARALLEL_FALSE=
77616 # Propagate the target-specific source directories through the build chain.
77617 ATOMICITY_SRCDIR=config/${atomicity_dir}
77618 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
77619 ATOMIC_FLAGS=${atomic_flags}
77620 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
77621 OS_INC_SRCDIR=config/${os_include_dir}
77622 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
77623 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
77624 CPU_OPT_EXT_RANDOM=config/${cpu_opt_ext_random}
77625 CPU_OPT_BITS_RANDOM=config/${cpu_opt_bits_random}
77636 # Conditionalize the makefile for this target machine.
77637 tmake_file_=
77638 for f in ${tmake_file}
77640 if test -f ${srcdir}/config/$f
77641 then
77642 tmake_file_="${tmake_file_} \$(srcdir)/config/$f"
77644 done
77645 tmake_file="${tmake_file_}"
77648 # Add CET specific flags if Intel CET is enabled.
77649 # Check whether --enable-cet was given.
77650 if test "${enable_cet+set}" = set; then :
77651 enableval=$enable_cet;
77652 case "$enableval" in
77653 yes|no|auto) ;;
77654 *) as_fn_error $? "Unknown argument to enable/disable cet" "$LINENO" 5 ;;
77655 esac
77657 else
77658 enable_cet=auto
77662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CET support" >&5
77663 $as_echo_n "checking for CET support... " >&6; }
77665 # NB: Avoid nested save_CFLAGS and save_LDFLAGS.
77666 case "$host" in
77667 i[34567]86-*-linux* | x86_64-*-linux*)
77668 case "$enable_cet" in
77669 auto)
77670 # Check if target supports multi-byte NOPs
77671 # and if compiler and assembler support CET insn.
77672 cet_save_CFLAGS="$CFLAGS"
77673 CFLAGS="$CFLAGS -fcf-protection"
77674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77675 /* end confdefs.h. */
77678 main ()
77681 #if !defined(__SSE2__)
77682 #error target does not support multi-byte NOPs
77683 #else
77684 asm ("setssbsy");
77685 #endif
77688 return 0;
77690 _ACEOF
77691 if ac_fn_c_try_compile "$LINENO"; then :
77692 enable_cet=yes
77693 else
77694 enable_cet=no
77696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77697 CFLAGS="$cet_save_CFLAGS"
77699 yes)
77700 # Check if assembler supports CET.
77701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77702 /* end confdefs.h. */
77705 main ()
77707 asm ("setssbsy");
77709 return 0;
77711 _ACEOF
77712 if ac_fn_c_try_compile "$LINENO"; then :
77714 else
77715 as_fn_error $? "assembler with CET support is required for --enable-cet" "$LINENO" 5
77717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77719 esac
77722 enable_cet=no
77724 esac
77725 if test x$enable_cet = xyes; then
77726 CET_FLAGS="-fcf-protection -mshstk"
77727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
77728 $as_echo "yes" >&6; }
77729 else
77730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
77731 $as_echo "no" >&6; }
77734 EXTRA_CXX_FLAGS="$EXTRA_CXX_FLAGS $CET_FLAGS"
77735 EXTRA_CFLAGS="$EXTRA_CFLAGS $CET_FLAGS"
77739 # Determine cross-compile flags and AM_CONDITIONALs.
77740 #AC_SUBST(GLIBCXX_IS_NATIVE)
77741 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
77742 if test $is_hosted = yes; then
77743 GLIBCXX_HOSTED_TRUE=
77744 GLIBCXX_HOSTED_FALSE='#'
77745 else
77746 GLIBCXX_HOSTED_TRUE='#'
77747 GLIBCXX_HOSTED_FALSE=
77751 if test $enable_libstdcxx_pch = yes; then
77752 GLIBCXX_BUILD_PCH_TRUE=
77753 GLIBCXX_BUILD_PCH_FALSE='#'
77754 else
77755 GLIBCXX_BUILD_PCH_TRUE='#'
77756 GLIBCXX_BUILD_PCH_FALSE=
77760 if test $enable_float128 = yes; then
77761 ENABLE_FLOAT128_TRUE=
77762 ENABLE_FLOAT128_FALSE='#'
77763 else
77764 ENABLE_FLOAT128_TRUE='#'
77765 ENABLE_FLOAT128_FALSE=
77769 if test $enable_libstdcxx_allocator_flag = new; then
77770 ENABLE_ALLOCATOR_NEW_TRUE=
77771 ENABLE_ALLOCATOR_NEW_FALSE='#'
77772 else
77773 ENABLE_ALLOCATOR_NEW_TRUE='#'
77774 ENABLE_ALLOCATOR_NEW_FALSE=
77778 if test $enable_cheaders = c; then
77779 GLIBCXX_C_HEADERS_C_TRUE=
77780 GLIBCXX_C_HEADERS_C_FALSE='#'
77781 else
77782 GLIBCXX_C_HEADERS_C_TRUE='#'
77783 GLIBCXX_C_HEADERS_C_FALSE=
77787 if test $enable_cheaders = c_std; then
77788 GLIBCXX_C_HEADERS_C_STD_TRUE=
77789 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
77790 else
77791 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
77792 GLIBCXX_C_HEADERS_C_STD_FALSE=
77796 if test $enable_cheaders = c_global; then
77797 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
77798 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
77799 else
77800 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
77801 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
77805 if test $c_compatibility = yes; then
77806 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
77807 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
77808 else
77809 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
77810 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
77814 if test $enable_libstdcxx_debug = yes; then
77815 GLIBCXX_BUILD_DEBUG_TRUE=
77816 GLIBCXX_BUILD_DEBUG_FALSE='#'
77817 else
77818 GLIBCXX_BUILD_DEBUG_TRUE='#'
77819 GLIBCXX_BUILD_DEBUG_FALSE=
77823 if test $enable_extern_template = yes; then
77824 ENABLE_EXTERN_TEMPLATE_TRUE=
77825 ENABLE_EXTERN_TEMPLATE_FALSE='#'
77826 else
77827 ENABLE_EXTERN_TEMPLATE_TRUE='#'
77828 ENABLE_EXTERN_TEMPLATE_FALSE=
77832 if test $python_mod_dir != no; then
77833 ENABLE_PYTHONDIR_TRUE=
77834 ENABLE_PYTHONDIR_FALSE='#'
77835 else
77836 ENABLE_PYTHONDIR_TRUE='#'
77837 ENABLE_PYTHONDIR_FALSE=
77841 if test $enable_werror = yes; then
77842 ENABLE_WERROR_TRUE=
77843 ENABLE_WERROR_FALSE='#'
77844 else
77845 ENABLE_WERROR_TRUE='#'
77846 ENABLE_WERROR_FALSE=
77850 if test $enable_vtable_verify = yes; then
77851 ENABLE_VTABLE_VERIFY_TRUE=
77852 ENABLE_VTABLE_VERIFY_FALSE='#'
77853 else
77854 ENABLE_VTABLE_VERIFY_TRUE='#'
77855 ENABLE_VTABLE_VERIFY_FALSE=
77859 if test $enable_symvers != no; then
77860 ENABLE_SYMVERS_TRUE=
77861 ENABLE_SYMVERS_FALSE='#'
77862 else
77863 ENABLE_SYMVERS_TRUE='#'
77864 ENABLE_SYMVERS_FALSE=
77868 if test $enable_symvers = gnu; then
77869 ENABLE_SYMVERS_GNU_TRUE=
77870 ENABLE_SYMVERS_GNU_FALSE='#'
77871 else
77872 ENABLE_SYMVERS_GNU_TRUE='#'
77873 ENABLE_SYMVERS_GNU_FALSE=
77877 if test $enable_symvers = gnu-versioned-namespace; then
77878 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
77879 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
77880 else
77881 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
77882 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
77886 if test $enable_symvers = darwin; then
77887 ENABLE_SYMVERS_DARWIN_TRUE=
77888 ENABLE_SYMVERS_DARWIN_FALSE='#'
77889 else
77890 ENABLE_SYMVERS_DARWIN_TRUE='#'
77891 ENABLE_SYMVERS_DARWIN_FALSE=
77895 if test $enable_symvers = sun; then
77896 ENABLE_SYMVERS_SUN_TRUE=
77897 ENABLE_SYMVERS_SUN_FALSE='#'
77898 else
77899 ENABLE_SYMVERS_SUN_TRUE='#'
77900 ENABLE_SYMVERS_SUN_FALSE=
77904 if test $enable_libstdcxx_visibility = yes; then
77905 ENABLE_VISIBILITY_TRUE=
77906 ENABLE_VISIBILITY_FALSE='#'
77907 else
77908 ENABLE_VISIBILITY_TRUE='#'
77909 ENABLE_VISIBILITY_FALSE=
77913 if test $enable_libstdcxx_dual_abi = yes; then
77914 ENABLE_DUAL_ABI_TRUE=
77915 ENABLE_DUAL_ABI_FALSE='#'
77916 else
77917 ENABLE_DUAL_ABI_TRUE='#'
77918 ENABLE_DUAL_ABI_FALSE=
77922 if test $glibcxx_cxx11_abi = 1; then
77923 ENABLE_CXX11_ABI_TRUE=
77924 ENABLE_CXX11_ABI_FALSE='#'
77925 else
77926 ENABLE_CXX11_ABI_TRUE='#'
77927 ENABLE_CXX11_ABI_FALSE=
77931 if test $ac_ldbl_compat = yes; then
77932 GLIBCXX_LDBL_COMPAT_TRUE=
77933 GLIBCXX_LDBL_COMPAT_FALSE='#'
77934 else
77935 GLIBCXX_LDBL_COMPAT_TRUE='#'
77936 GLIBCXX_LDBL_COMPAT_FALSE=
77940 if test $ac_ldbl_alt128_compat = yes; then
77941 GLIBCXX_LDBL_ALT128_COMPAT_TRUE=
77942 GLIBCXX_LDBL_ALT128_COMPAT_FALSE='#'
77943 else
77944 GLIBCXX_LDBL_ALT128_COMPAT_TRUE='#'
77945 GLIBCXX_LDBL_ALT128_COMPAT_FALSE=
77949 if test $enable_libstdcxx_filesystem_ts = yes; then
77950 ENABLE_FILESYSTEM_TS_TRUE=
77951 ENABLE_FILESYSTEM_TS_FALSE='#'
77952 else
77953 ENABLE_FILESYSTEM_TS_TRUE='#'
77954 ENABLE_FILESYSTEM_TS_FALSE=
77960 cat >confcache <<\_ACEOF
77961 # This file is a shell script that caches the results of configure
77962 # tests run on this system so they can be shared between configure
77963 # scripts and configure runs, see configure's option --config-cache.
77964 # It is not useful on other systems. If it contains results you don't
77965 # want to keep, you may remove or edit it.
77967 # config.status only pays attention to the cache file if you give it
77968 # the --recheck option to rerun configure.
77970 # `ac_cv_env_foo' variables (set or unset) will be overridden when
77971 # loading this file, other *unset* `ac_cv_foo' will be assigned the
77972 # following values.
77974 _ACEOF
77976 # The following way of writing the cache mishandles newlines in values,
77977 # but we know of no workaround that is simple, portable, and efficient.
77978 # So, we kill variables containing newlines.
77979 # Ultrix sh set writes to stderr and can't be redirected directly,
77980 # and sets the high bit in the cache file unless we assign to the vars.
77982 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
77983 eval ac_val=\$$ac_var
77984 case $ac_val in #(
77985 *${as_nl}*)
77986 case $ac_var in #(
77987 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
77988 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
77989 esac
77990 case $ac_var in #(
77991 _ | IFS | as_nl) ;; #(
77992 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
77993 *) { eval $ac_var=; unset $ac_var;} ;;
77994 esac ;;
77995 esac
77996 done
77998 (set) 2>&1 |
77999 case $as_nl`(ac_space=' '; set) 2>&1` in #(
78000 *${as_nl}ac_space=\ *)
78001 # `set' does not quote correctly, so add quotes: double-quote
78002 # substitution turns \\\\ into \\, and sed turns \\ into \.
78003 sed -n \
78004 "s/'/'\\\\''/g;
78005 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
78006 ;; #(
78008 # `set' quotes correctly as required by POSIX, so do not add quotes.
78009 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
78011 esac |
78012 sort
78014 sed '
78015 /^ac_cv_env_/b end
78016 t clear
78017 :clear
78018 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
78019 t end
78020 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
78021 :end' >>confcache
78022 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
78023 if test -w "$cache_file"; then
78024 if test "x$cache_file" != "x/dev/null"; then
78025 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
78026 $as_echo "$as_me: updating cache $cache_file" >&6;}
78027 if test ! -f "$cache_file" || test -h "$cache_file"; then
78028 cat confcache >"$cache_file"
78029 else
78030 case $cache_file in #(
78031 */* | ?:*)
78032 mv -f confcache "$cache_file"$$ &&
78033 mv -f "$cache_file"$$ "$cache_file" ;; #(
78035 mv -f confcache "$cache_file" ;;
78036 esac
78039 else
78040 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
78041 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
78044 rm -f confcache
78046 if test ${multilib} = yes; then
78047 multilib_arg="--enable-multilib"
78048 else
78049 multilib_arg=
78052 # Export all the install information.
78054 glibcxx_toolexecdir=no
78055 glibcxx_toolexeclibdir=no
78056 glibcxx_prefixdir=$prefix
78058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gxx-include-dir" >&5
78059 $as_echo_n "checking for gxx-include-dir... " >&6; }
78061 # Check whether --with-gxx-include-dir was given.
78062 if test "${with_gxx_include_dir+set}" = set; then :
78063 withval=$with_gxx_include_dir; case "$withval" in
78064 yes) as_fn_error $? "Missing directory for --with-gxx-include-dir" "$LINENO" 5 ;;
78065 no) gxx_include_dir=no ;;
78066 *) gxx_include_dir=$withval ;;
78067 esac
78068 else
78069 gxx_include_dir=no
78072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
78073 $as_echo "$gxx_include_dir" >&6; }
78075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
78076 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
78077 # Check whether --enable-version-specific-runtime-libs was given.
78078 if test "${enable_version_specific_runtime_libs+set}" = set; then :
78079 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
78080 yes) version_specific_libs=yes ;;
78081 no) version_specific_libs=no ;;
78082 *) as_fn_error $? "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
78083 esac
78084 else
78085 version_specific_libs=no
78088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
78089 $as_echo "$version_specific_libs" >&6; }
78092 # Check whether --with-toolexeclibdir was given.
78093 if test "${with_toolexeclibdir+set}" = set; then :
78094 withval=$with_toolexeclibdir; case ${with_toolexeclibdir} in
78098 with_toolexeclibdir=`echo $with_toolexeclibdir | sed 's,/$,,'`
78100 esac
78101 else
78102 with_toolexeclibdir=no
78107 # Default case for install directory for include files.
78108 if test $version_specific_libs = no && test $gxx_include_dir = no; then
78109 gxx_include_dir='include/c++/${gcc_version}'
78110 if test -n "$with_cross_host" &&
78111 test x"$with_cross_host" != x"no"; then
78112 gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
78113 else
78114 gxx_include_dir='${prefix}/'"$gxx_include_dir"
78118 # Version-specific runtime libs processing.
78119 if test $version_specific_libs = yes; then
78120 # Need the gcc compiler version to know where to install libraries
78121 # and header files if --enable-version-specific-runtime-libs option
78122 # is selected. FIXME: these variables are misnamed, there are
78123 # no executables installed in _toolexecdir or _toolexeclibdir.
78124 if test x"$gxx_include_dir" = x"no"; then
78125 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
78127 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
78128 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
78131 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
78132 # Install a library built with a cross compiler in tooldir, not libdir.
78133 if test x"$glibcxx_toolexecdir" = x"no"; then
78134 if test -n "$with_cross_host" &&
78135 test x"$with_cross_host" != x"no"; then
78136 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
78137 case ${with_toolexeclibdir} in
78139 glibcxx_toolexeclibdir='${toolexecdir}/lib'
78142 glibcxx_toolexeclibdir=${with_toolexeclibdir}
78144 esac
78145 else
78146 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
78147 glibcxx_toolexeclibdir='${libdir}'
78149 multi_os_directory=`$CXX -print-multi-os-directory`
78150 case $multi_os_directory in
78151 .) ;; # Avoid trailing /.
78152 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
78153 esac
78156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for install location" >&5
78157 $as_echo_n "checking for install location... " >&6; }
78158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
78159 $as_echo "$gxx_include_dir" >&6; }
78167 # Export all the include and flag information to Makefiles.
78169 # Used for every C++ compile we perform.
78170 GLIBCXX_INCLUDES="\
78171 -I$glibcxx_builddir/include/$host_alias \
78172 -I$glibcxx_builddir/include \
78173 -I$glibcxx_srcdir/libsupc++"
78175 # For Canadian crosses, pick this up too.
78176 if test $CANADIAN = yes; then
78177 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
78180 # Stuff in the actual top level. Currently only used by libsupc++ to
78181 # get unwind* headers from the libgcc dir.
78182 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc -I$(toplevel_srcdir)/include'
78183 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc'
78185 # Now, export this to all the little Makefiles....
78190 # Optimization flags that are probably a good idea for thrill-seekers. Just
78191 # uncomment the lines below and make, everything else is ready to go...
78192 # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
78193 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
78196 WARN_FLAGS="-Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi=2"
78200 # Determine what GCC version number to use in filesystem paths.
78202 get_gcc_base_ver="cat"
78204 # Check whether --with-gcc-major-version-only was given.
78205 if test "${with_gcc_major_version_only+set}" = set; then :
78206 withval=$with_gcc_major_version_only; if test x$with_gcc_major_version_only = xyes ; then
78207 get_gcc_base_ver="sed -e 's/^\([0-9]*\).*/\1/'"
78215 ac_config_files="$ac_config_files Makefile"
78217 ac_config_files="$ac_config_files scripts/testsuite_flags"
78219 ac_config_files="$ac_config_files scripts/extract_symvers"
78221 ac_config_files="$ac_config_files doc/xsl/customization.xsl"
78224 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
78225 # that multilib installs will end up installed in the correct place.
78226 # The testsuite needs it for multilib-aware ABI baseline files.
78227 # To work around this not being passed down from config-ml.in ->
78228 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
78229 # append it here. Only modify Makefiles that have just been created.
78231 # Also, get rid of this simulated-VPATH thing that automake does.
78232 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"
78235 ac_config_commands="$ac_config_commands generate-headers"
78238 cat >confcache <<\_ACEOF
78239 # This file is a shell script that caches the results of configure
78240 # tests run on this system so they can be shared between configure
78241 # scripts and configure runs, see configure's option --config-cache.
78242 # It is not useful on other systems. If it contains results you don't
78243 # want to keep, you may remove or edit it.
78245 # config.status only pays attention to the cache file if you give it
78246 # the --recheck option to rerun configure.
78248 # `ac_cv_env_foo' variables (set or unset) will be overridden when
78249 # loading this file, other *unset* `ac_cv_foo' will be assigned the
78250 # following values.
78252 _ACEOF
78254 # The following way of writing the cache mishandles newlines in values,
78255 # but we know of no workaround that is simple, portable, and efficient.
78256 # So, we kill variables containing newlines.
78257 # Ultrix sh set writes to stderr and can't be redirected directly,
78258 # and sets the high bit in the cache file unless we assign to the vars.
78260 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
78261 eval ac_val=\$$ac_var
78262 case $ac_val in #(
78263 *${as_nl}*)
78264 case $ac_var in #(
78265 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
78266 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
78267 esac
78268 case $ac_var in #(
78269 _ | IFS | as_nl) ;; #(
78270 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
78271 *) { eval $ac_var=; unset $ac_var;} ;;
78272 esac ;;
78273 esac
78274 done
78276 (set) 2>&1 |
78277 case $as_nl`(ac_space=' '; set) 2>&1` in #(
78278 *${as_nl}ac_space=\ *)
78279 # `set' does not quote correctly, so add quotes: double-quote
78280 # substitution turns \\\\ into \\, and sed turns \\ into \.
78281 sed -n \
78282 "s/'/'\\\\''/g;
78283 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
78284 ;; #(
78286 # `set' quotes correctly as required by POSIX, so do not add quotes.
78287 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
78289 esac |
78290 sort
78292 sed '
78293 /^ac_cv_env_/b end
78294 t clear
78295 :clear
78296 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
78297 t end
78298 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
78299 :end' >>confcache
78300 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
78301 if test -w "$cache_file"; then
78302 if test "x$cache_file" != "x/dev/null"; then
78303 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
78304 $as_echo "$as_me: updating cache $cache_file" >&6;}
78305 if test ! -f "$cache_file" || test -h "$cache_file"; then
78306 cat confcache >"$cache_file"
78307 else
78308 case $cache_file in #(
78309 */* | ?:*)
78310 mv -f confcache "$cache_file"$$ &&
78311 mv -f "$cache_file"$$ "$cache_file" ;; #(
78313 mv -f confcache "$cache_file" ;;
78314 esac
78317 else
78318 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
78319 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
78322 rm -f confcache
78324 test "x$prefix" = xNONE && prefix=$ac_default_prefix
78325 # Let make expand exec_prefix.
78326 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
78328 DEFS=-DHAVE_CONFIG_H
78330 ac_libobjs=
78331 ac_ltlibobjs=
78333 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
78334 # 1. Remove the extension, and $U if already installed.
78335 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
78336 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
78337 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
78338 # will be set to the directory where LIBOBJS objects are built.
78339 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
78340 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
78341 done
78342 LIBOBJS=$ac_libobjs
78344 LTLIBOBJS=$ac_ltlibobjs
78347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
78348 $as_echo_n "checking that generated files are newer than configure... " >&6; }
78349 if test -n "$am_sleep_pid"; then
78350 # Hide warnings about reused PIDs.
78351 wait $am_sleep_pid 2>/dev/null
78353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
78354 $as_echo "done" >&6; }
78355 if test -n "$EXEEXT"; then
78356 am__EXEEXT_TRUE=
78357 am__EXEEXT_FALSE='#'
78358 else
78359 am__EXEEXT_TRUE='#'
78360 am__EXEEXT_FALSE=
78363 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
78364 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
78365 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78367 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
78368 as_fn_error $? "conditional \"GLIBCXX_HOSTED\" was never defined.
78369 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78371 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
78372 as_fn_error $? "conditional \"GLIBCXX_BUILD_PCH\" was never defined.
78373 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78375 if test -z "${ENABLE_FLOAT128_TRUE}" && test -z "${ENABLE_FLOAT128_FALSE}"; then
78376 as_fn_error $? "conditional \"ENABLE_FLOAT128\" was never defined.
78377 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78379 if test -z "${ENABLE_ALLOCATOR_NEW_TRUE}" && test -z "${ENABLE_ALLOCATOR_NEW_FALSE}"; then
78380 as_fn_error $? "conditional \"ENABLE_ALLOCATOR_NEW\" was never defined.
78381 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78383 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
78384 as_fn_error $? "conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
78385 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78387 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
78388 as_fn_error $? "conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
78389 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78391 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
78392 as_fn_error $? "conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
78393 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78395 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
78396 as_fn_error $? "conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
78397 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78399 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
78400 as_fn_error $? "conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
78401 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78403 if test -z "${ENABLE_EXTERN_TEMPLATE_TRUE}" && test -z "${ENABLE_EXTERN_TEMPLATE_FALSE}"; then
78404 as_fn_error $? "conditional \"ENABLE_EXTERN_TEMPLATE\" was never defined.
78405 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78407 if test -z "${ENABLE_PYTHONDIR_TRUE}" && test -z "${ENABLE_PYTHONDIR_FALSE}"; then
78408 as_fn_error $? "conditional \"ENABLE_PYTHONDIR\" was never defined.
78409 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78411 if test -z "${ENABLE_WERROR_TRUE}" && test -z "${ENABLE_WERROR_FALSE}"; then
78412 as_fn_error $? "conditional \"ENABLE_WERROR\" was never defined.
78413 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78415 if test -z "${VTV_CYGMIN_TRUE}" && test -z "${VTV_CYGMIN_FALSE}"; then
78416 as_fn_error $? "conditional \"VTV_CYGMIN\" was never defined.
78417 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78419 if test -z "${ENABLE_VTABLE_VERIFY_TRUE}" && test -z "${ENABLE_VTABLE_VERIFY_FALSE}"; then
78420 as_fn_error $? "conditional \"ENABLE_VTABLE_VERIFY\" was never defined.
78421 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78423 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
78424 as_fn_error $? "conditional \"ENABLE_SYMVERS\" was never defined.
78425 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78427 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
78428 as_fn_error $? "conditional \"ENABLE_SYMVERS_GNU\" was never defined.
78429 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78431 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
78432 as_fn_error $? "conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
78433 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78435 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
78436 as_fn_error $? "conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
78437 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78439 if test -z "${ENABLE_SYMVERS_SUN_TRUE}" && test -z "${ENABLE_SYMVERS_SUN_FALSE}"; then
78440 as_fn_error $? "conditional \"ENABLE_SYMVERS_SUN\" was never defined.
78441 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78443 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
78444 as_fn_error $? "conditional \"ENABLE_VISIBILITY\" was never defined.
78445 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78447 if test -z "${ENABLE_DUAL_ABI_TRUE}" && test -z "${ENABLE_DUAL_ABI_FALSE}"; then
78448 as_fn_error $? "conditional \"ENABLE_DUAL_ABI\" was never defined.
78449 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78451 if test -z "${ENABLE_CXX11_ABI_TRUE}" && test -z "${ENABLE_CXX11_ABI_FALSE}"; then
78452 as_fn_error $? "conditional \"ENABLE_CXX11_ABI\" was never defined.
78453 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78455 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
78456 as_fn_error $? "conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
78457 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78459 if test -z "${GLIBCXX_LDBL_ALT128_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_ALT128_COMPAT_FALSE}"; then
78460 as_fn_error $? "conditional \"GLIBCXX_LDBL_ALT128_COMPAT\" was never defined.
78461 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78463 if test -z "${ENABLE_FILESYSTEM_TS_TRUE}" && test -z "${ENABLE_FILESYSTEM_TS_FALSE}"; then
78464 as_fn_error $? "conditional \"ENABLE_FILESYSTEM_TS\" was never defined.
78465 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78467 if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
78468 as_fn_error $? "conditional \"BUILD_INFO\" was never defined.
78469 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78471 if test -z "${BUILD_EPUB_TRUE}" && test -z "${BUILD_EPUB_FALSE}"; then
78472 as_fn_error $? "conditional \"BUILD_EPUB\" was never defined.
78473 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78475 if test -z "${BUILD_XML_TRUE}" && test -z "${BUILD_XML_FALSE}"; then
78476 as_fn_error $? "conditional \"BUILD_XML\" was never defined.
78477 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78479 if test -z "${BUILD_HTML_TRUE}" && test -z "${BUILD_HTML_FALSE}"; then
78480 as_fn_error $? "conditional \"BUILD_HTML\" was never defined.
78481 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78483 if test -z "${BUILD_MAN_TRUE}" && test -z "${BUILD_MAN_FALSE}"; then
78484 as_fn_error $? "conditional \"BUILD_MAN\" was never defined.
78485 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78487 if test -z "${BUILD_PDF_TRUE}" && test -z "${BUILD_PDF_FALSE}"; then
78488 as_fn_error $? "conditional \"BUILD_PDF\" was never defined.
78489 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78491 if test -z "${INCLUDE_DIR_NOTPARALLEL_TRUE}" && test -z "${INCLUDE_DIR_NOTPARALLEL_FALSE}"; then
78492 as_fn_error $? "conditional \"INCLUDE_DIR_NOTPARALLEL\" was never defined.
78493 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78496 : "${CONFIG_STATUS=./config.status}"
78497 ac_write_fail=0
78498 ac_clean_files_save=$ac_clean_files
78499 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
78500 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
78501 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
78502 as_write_fail=0
78503 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
78504 #! $SHELL
78505 # Generated by $as_me.
78506 # Run this file to recreate the current configuration.
78507 # Compiler output produced by configure, useful for debugging
78508 # configure, is in config.log if it exists.
78510 debug=false
78511 ac_cs_recheck=false
78512 ac_cs_silent=false
78514 SHELL=\${CONFIG_SHELL-$SHELL}
78515 export SHELL
78516 _ASEOF
78517 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
78518 ## -------------------- ##
78519 ## M4sh Initialization. ##
78520 ## -------------------- ##
78522 # Be more Bourne compatible
78523 DUALCASE=1; export DUALCASE # for MKS sh
78524 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
78525 emulate sh
78526 NULLCMD=:
78527 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
78528 # is contrary to our usage. Disable this feature.
78529 alias -g '${1+"$@"}'='"$@"'
78530 setopt NO_GLOB_SUBST
78531 else
78532 case `(set -o) 2>/dev/null` in #(
78533 *posix*) :
78534 set -o posix ;; #(
78535 *) :
78537 esac
78541 as_nl='
78543 export as_nl
78544 # Printing a long string crashes Solaris 7 /usr/bin/printf.
78545 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
78546 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
78547 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
78548 # Prefer a ksh shell builtin over an external printf program on Solaris,
78549 # but without wasting forks for bash or zsh.
78550 if test -z "$BASH_VERSION$ZSH_VERSION" \
78551 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
78552 as_echo='print -r --'
78553 as_echo_n='print -rn --'
78554 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
78555 as_echo='printf %s\n'
78556 as_echo_n='printf %s'
78557 else
78558 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
78559 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
78560 as_echo_n='/usr/ucb/echo -n'
78561 else
78562 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
78563 as_echo_n_body='eval
78564 arg=$1;
78565 case $arg in #(
78566 *"$as_nl"*)
78567 expr "X$arg" : "X\\(.*\\)$as_nl";
78568 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
78569 esac;
78570 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
78572 export as_echo_n_body
78573 as_echo_n='sh -c $as_echo_n_body as_echo'
78575 export as_echo_body
78576 as_echo='sh -c $as_echo_body as_echo'
78579 # The user is always right.
78580 if test "${PATH_SEPARATOR+set}" != set; then
78581 PATH_SEPARATOR=:
78582 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78583 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
78584 PATH_SEPARATOR=';'
78589 # IFS
78590 # We need space, tab and new line, in precisely that order. Quoting is
78591 # there to prevent editors from complaining about space-tab.
78592 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
78593 # splitting by setting IFS to empty value.)
78594 IFS=" "" $as_nl"
78596 # Find who we are. Look in the path if we contain no directory separator.
78597 as_myself=
78598 case $0 in #((
78599 *[\\/]* ) as_myself=$0 ;;
78600 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
78601 for as_dir in $PATH
78603 IFS=$as_save_IFS
78604 test -z "$as_dir" && as_dir=.
78605 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
78606 done
78607 IFS=$as_save_IFS
78610 esac
78611 # We did not find ourselves, most probably we were run as `sh COMMAND'
78612 # in which case we are not to be found in the path.
78613 if test "x$as_myself" = x; then
78614 as_myself=$0
78616 if test ! -f "$as_myself"; then
78617 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
78618 exit 1
78621 # Unset variables that we do not need and which cause bugs (e.g. in
78622 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
78623 # suppresses any "Segmentation fault" message there. '((' could
78624 # trigger a bug in pdksh 5.2.14.
78625 for as_var in BASH_ENV ENV MAIL MAILPATH
78626 do eval test x\${$as_var+set} = xset \
78627 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
78628 done
78629 PS1='$ '
78630 PS2='> '
78631 PS4='+ '
78633 # NLS nuisances.
78634 LC_ALL=C
78635 export LC_ALL
78636 LANGUAGE=C
78637 export LANGUAGE
78639 # CDPATH.
78640 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
78643 # as_fn_error STATUS ERROR [LINENO LOG_FD]
78644 # ----------------------------------------
78645 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
78646 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
78647 # script with STATUS, using 1 if that was 0.
78648 as_fn_error ()
78650 as_status=$1; test $as_status -eq 0 && as_status=1
78651 if test "$4"; then
78652 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
78653 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
78655 $as_echo "$as_me: error: $2" >&2
78656 as_fn_exit $as_status
78657 } # as_fn_error
78660 # as_fn_set_status STATUS
78661 # -----------------------
78662 # Set $? to STATUS, without forking.
78663 as_fn_set_status ()
78665 return $1
78666 } # as_fn_set_status
78668 # as_fn_exit STATUS
78669 # -----------------
78670 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
78671 as_fn_exit ()
78673 set +e
78674 as_fn_set_status $1
78675 exit $1
78676 } # as_fn_exit
78678 # as_fn_unset VAR
78679 # ---------------
78680 # Portably unset VAR.
78681 as_fn_unset ()
78683 { eval $1=; unset $1;}
78685 as_unset=as_fn_unset
78686 # as_fn_append VAR VALUE
78687 # ----------------------
78688 # Append the text in VALUE to the end of the definition contained in VAR. Take
78689 # advantage of any shell optimizations that allow amortized linear growth over
78690 # repeated appends, instead of the typical quadratic growth present in naive
78691 # implementations.
78692 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
78693 eval 'as_fn_append ()
78695 eval $1+=\$2
78697 else
78698 as_fn_append ()
78700 eval $1=\$$1\$2
78702 fi # as_fn_append
78704 # as_fn_arith ARG...
78705 # ------------------
78706 # Perform arithmetic evaluation on the ARGs, and store the result in the
78707 # global $as_val. Take advantage of shells that can avoid forks. The arguments
78708 # must be portable across $(()) and expr.
78709 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
78710 eval 'as_fn_arith ()
78712 as_val=$(( $* ))
78714 else
78715 as_fn_arith ()
78717 as_val=`expr "$@" || test $? -eq 1`
78719 fi # as_fn_arith
78722 if expr a : '\(a\)' >/dev/null 2>&1 &&
78723 test "X`expr 00001 : '.*\(...\)'`" = X001; then
78724 as_expr=expr
78725 else
78726 as_expr=false
78729 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
78730 as_basename=basename
78731 else
78732 as_basename=false
78735 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
78736 as_dirname=dirname
78737 else
78738 as_dirname=false
78741 as_me=`$as_basename -- "$0" ||
78742 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
78743 X"$0" : 'X\(//\)$' \| \
78744 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
78745 $as_echo X/"$0" |
78746 sed '/^.*\/\([^/][^/]*\)\/*$/{
78747 s//\1/
78750 /^X\/\(\/\/\)$/{
78751 s//\1/
78754 /^X\/\(\/\).*/{
78755 s//\1/
78758 s/.*/./; q'`
78760 # Avoid depending upon Character Ranges.
78761 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
78762 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
78763 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
78764 as_cr_digits='0123456789'
78765 as_cr_alnum=$as_cr_Letters$as_cr_digits
78767 ECHO_C= ECHO_N= ECHO_T=
78768 case `echo -n x` in #(((((
78769 -n*)
78770 case `echo 'xy\c'` in
78771 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
78772 xy) ECHO_C='\c';;
78773 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
78774 ECHO_T=' ';;
78775 esac;;
78777 ECHO_N='-n';;
78778 esac
78780 rm -f conf$$ conf$$.exe conf$$.file
78781 if test -d conf$$.dir; then
78782 rm -f conf$$.dir/conf$$.file
78783 else
78784 rm -f conf$$.dir
78785 mkdir conf$$.dir 2>/dev/null
78787 if (echo >conf$$.file) 2>/dev/null; then
78788 if ln -s conf$$.file conf$$ 2>/dev/null; then
78789 as_ln_s='ln -s'
78790 # ... but there are two gotchas:
78791 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
78792 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
78793 # In both cases, we have to default to `cp -pR'.
78794 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
78795 as_ln_s='cp -pR'
78796 elif ln conf$$.file conf$$ 2>/dev/null; then
78797 as_ln_s=ln
78798 else
78799 as_ln_s='cp -pR'
78801 else
78802 as_ln_s='cp -pR'
78804 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
78805 rmdir conf$$.dir 2>/dev/null
78808 # as_fn_mkdir_p
78809 # -------------
78810 # Create "$as_dir" as a directory, including parents if necessary.
78811 as_fn_mkdir_p ()
78814 case $as_dir in #(
78815 -*) as_dir=./$as_dir;;
78816 esac
78817 test -d "$as_dir" || eval $as_mkdir_p || {
78818 as_dirs=
78819 while :; do
78820 case $as_dir in #(
78821 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
78822 *) as_qdir=$as_dir;;
78823 esac
78824 as_dirs="'$as_qdir' $as_dirs"
78825 as_dir=`$as_dirname -- "$as_dir" ||
78826 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
78827 X"$as_dir" : 'X\(//\)[^/]' \| \
78828 X"$as_dir" : 'X\(//\)$' \| \
78829 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
78830 $as_echo X"$as_dir" |
78831 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
78832 s//\1/
78835 /^X\(\/\/\)[^/].*/{
78836 s//\1/
78839 /^X\(\/\/\)$/{
78840 s//\1/
78843 /^X\(\/\).*/{
78844 s//\1/
78847 s/.*/./; q'`
78848 test -d "$as_dir" && break
78849 done
78850 test -z "$as_dirs" || eval "mkdir $as_dirs"
78851 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
78854 } # as_fn_mkdir_p
78855 if mkdir -p . 2>/dev/null; then
78856 as_mkdir_p='mkdir -p "$as_dir"'
78857 else
78858 test -d ./-p && rmdir ./-p
78859 as_mkdir_p=false
78863 # as_fn_executable_p FILE
78864 # -----------------------
78865 # Test if FILE is an executable regular file.
78866 as_fn_executable_p ()
78868 test -f "$1" && test -x "$1"
78869 } # as_fn_executable_p
78870 as_test_x='test -x'
78871 as_executable_p=as_fn_executable_p
78873 # Sed expression to map a string onto a valid CPP name.
78874 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
78876 # Sed expression to map a string onto a valid variable name.
78877 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
78880 exec 6>&1
78881 ## ----------------------------------- ##
78882 ## Main body of $CONFIG_STATUS script. ##
78883 ## ----------------------------------- ##
78884 _ASEOF
78885 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
78887 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
78888 # Save the log message, to keep $0 and so on meaningful, and to
78889 # report actual input values of CONFIG_FILES etc. instead of their
78890 # values after options handling.
78891 ac_log="
78892 This file was extended by package-unused $as_me version-unused, which was
78893 generated by GNU Autoconf 2.69. Invocation command line was
78895 CONFIG_FILES = $CONFIG_FILES
78896 CONFIG_HEADERS = $CONFIG_HEADERS
78897 CONFIG_LINKS = $CONFIG_LINKS
78898 CONFIG_COMMANDS = $CONFIG_COMMANDS
78899 $ $0 $@
78901 on `(hostname || uname -n) 2>/dev/null | sed 1q`
78904 _ACEOF
78906 case $ac_config_files in *"
78907 "*) set x $ac_config_files; shift; ac_config_files=$*;;
78908 esac
78910 case $ac_config_headers in *"
78911 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
78912 esac
78915 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
78916 # Files that config.status was made for.
78917 config_files="$ac_config_files"
78918 config_headers="$ac_config_headers"
78919 config_commands="$ac_config_commands"
78921 _ACEOF
78923 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
78924 ac_cs_usage="\
78925 \`$as_me' instantiates files and other configuration actions
78926 from templates according to the current configuration. Unless the files
78927 and actions are specified as TAGs, all are instantiated by default.
78929 Usage: $0 [OPTION]... [TAG]...
78931 -h, --help print this help, then exit
78932 -V, --version print version number and configuration settings, then exit
78933 --config print configuration, then exit
78934 -q, --quiet, --silent
78935 do not print progress messages
78936 -d, --debug don't remove temporary files
78937 --recheck update $as_me by reconfiguring in the same conditions
78938 --file=FILE[:TEMPLATE]
78939 instantiate the configuration file FILE
78940 --header=FILE[:TEMPLATE]
78941 instantiate the configuration header FILE
78943 Configuration files:
78944 $config_files
78946 Configuration headers:
78947 $config_headers
78949 Configuration commands:
78950 $config_commands
78952 Report bugs to the package provider."
78954 _ACEOF
78955 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
78956 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
78957 ac_cs_version="\\
78958 package-unused config.status version-unused
78959 configured by $0, generated by GNU Autoconf 2.69,
78960 with options \\"\$ac_cs_config\\"
78962 Copyright (C) 2012 Free Software Foundation, Inc.
78963 This config.status script is free software; the Free Software Foundation
78964 gives unlimited permission to copy, distribute and modify it."
78966 ac_pwd='$ac_pwd'
78967 srcdir='$srcdir'
78968 INSTALL='$INSTALL'
78969 MKDIR_P='$MKDIR_P'
78970 AWK='$AWK'
78971 test -n "\$AWK" || AWK=awk
78972 _ACEOF
78974 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
78975 # The default lists apply if the user does not specify any file.
78976 ac_need_defaults=:
78977 while test $# != 0
78979 case $1 in
78980 --*=?*)
78981 ac_option=`expr "X$1" : 'X\([^=]*\)='`
78982 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
78983 ac_shift=:
78985 --*=)
78986 ac_option=`expr "X$1" : 'X\([^=]*\)='`
78987 ac_optarg=
78988 ac_shift=:
78991 ac_option=$1
78992 ac_optarg=$2
78993 ac_shift=shift
78995 esac
78997 case $ac_option in
78998 # Handling of the options.
78999 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
79000 ac_cs_recheck=: ;;
79001 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
79002 $as_echo "$ac_cs_version"; exit ;;
79003 --config | --confi | --conf | --con | --co | --c )
79004 $as_echo "$ac_cs_config"; exit ;;
79005 --debug | --debu | --deb | --de | --d | -d )
79006 debug=: ;;
79007 --file | --fil | --fi | --f )
79008 $ac_shift
79009 case $ac_optarg in
79010 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
79011 '') as_fn_error $? "missing file argument" ;;
79012 esac
79013 as_fn_append CONFIG_FILES " '$ac_optarg'"
79014 ac_need_defaults=false;;
79015 --header | --heade | --head | --hea )
79016 $ac_shift
79017 case $ac_optarg in
79018 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
79019 esac
79020 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
79021 ac_need_defaults=false;;
79022 --he | --h)
79023 # Conflict between --help and --header
79024 as_fn_error $? "ambiguous option: \`$1'
79025 Try \`$0 --help' for more information.";;
79026 --help | --hel | -h )
79027 $as_echo "$ac_cs_usage"; exit ;;
79028 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
79029 | -silent | --silent | --silen | --sile | --sil | --si | --s)
79030 ac_cs_silent=: ;;
79032 # This is an error.
79033 -*) as_fn_error $? "unrecognized option: \`$1'
79034 Try \`$0 --help' for more information." ;;
79036 *) as_fn_append ac_config_targets " $1"
79037 ac_need_defaults=false ;;
79039 esac
79040 shift
79041 done
79043 ac_configure_extra_args=
79045 if $ac_cs_silent; then
79046 exec 6>/dev/null
79047 ac_configure_extra_args="$ac_configure_extra_args --silent"
79050 _ACEOF
79051 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
79052 if \$ac_cs_recheck; then
79053 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
79054 shift
79055 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
79056 CONFIG_SHELL='$SHELL'
79057 export CONFIG_SHELL
79058 exec "\$@"
79061 _ACEOF
79062 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
79063 exec 5>>config.log
79065 echo
79066 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
79067 ## Running $as_me. ##
79068 _ASBOX
79069 $as_echo "$ac_log"
79070 } >&5
79072 _ACEOF
79073 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
79075 # INIT-COMMANDS
79078 srcdir="$srcdir"
79079 host="$host"
79080 target="$target"
79081 with_multisubdir="$with_multisubdir"
79082 with_multisrctop="$with_multisrctop"
79083 with_target_subdir="$with_target_subdir"
79084 ac_configure_args="${multilib_arg} ${ac_configure_args}"
79085 multi_basedir="$multi_basedir"
79086 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
79087 CC="$CC"
79088 CXX="$CXX"
79089 GFORTRAN="$GFORTRAN"
79090 GDC="$GDC"
79093 # The HP-UX ksh and POSIX shell print the target directory to stdout
79094 # if CDPATH is set.
79095 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
79097 sed_quote_subst='$sed_quote_subst'
79098 double_quote_subst='$double_quote_subst'
79099 delay_variable_subst='$delay_variable_subst'
79100 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
79101 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
79102 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
79103 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
79104 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
79105 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
79106 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
79107 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
79108 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
79109 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
79110 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
79111 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
79112 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
79113 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
79114 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
79115 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
79116 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
79117 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
79118 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
79119 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
79120 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
79121 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
79122 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
79123 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
79124 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
79125 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
79126 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
79127 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
79128 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
79129 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
79130 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
79131 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
79132 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
79133 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
79134 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
79135 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
79136 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
79137 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
79138 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
79139 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
79140 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
79141 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
79142 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
79143 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
79144 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
79145 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
79146 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
79147 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
79148 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"`'
79149 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
79150 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
79151 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
79152 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
79153 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
79154 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
79155 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
79156 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
79157 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
79158 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
79159 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
79160 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
79161 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
79162 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
79163 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
79164 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
79165 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
79166 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
79167 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
79168 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
79169 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
79170 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
79171 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
79172 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
79173 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
79174 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
79175 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
79176 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
79177 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
79178 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
79179 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
79180 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
79181 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
79182 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
79183 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
79184 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
79185 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
79186 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
79187 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
79188 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
79189 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
79190 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
79191 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
79192 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
79193 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
79194 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
79195 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
79196 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
79197 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
79198 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
79199 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
79200 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
79201 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
79202 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
79203 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
79204 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
79205 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
79206 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
79207 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
79208 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
79209 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
79210 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
79211 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
79212 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
79213 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
79214 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
79215 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
79216 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
79217 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
79218 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
79219 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
79220 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
79221 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
79222 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
79223 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
79224 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
79225 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
79226 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
79227 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
79228 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
79229 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
79230 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
79231 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
79232 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
79233 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
79234 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
79235 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
79236 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
79237 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
79238 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
79239 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
79240 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
79241 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
79242 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
79243 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
79244 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
79245 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
79246 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
79247 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
79248 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
79249 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
79250 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
79251 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
79252 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
79253 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
79254 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
79255 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
79256 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
79257 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
79258 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
79259 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
79260 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
79261 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
79262 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
79263 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
79264 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
79265 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
79266 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
79267 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
79268 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
79269 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
79270 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
79271 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
79272 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
79273 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
79274 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
79276 LTCC='$LTCC'
79277 LTCFLAGS='$LTCFLAGS'
79278 compiler='$compiler_DEFAULT'
79280 # A function that is used when there is no print builtin or printf.
79281 func_fallback_echo ()
79283 eval 'cat <<_LTECHO_EOF
79285 _LTECHO_EOF'
79288 # Quote evaled strings.
79289 for var in SHELL \
79290 ECHO \
79291 SED \
79292 GREP \
79293 EGREP \
79294 FGREP \
79295 LD \
79296 NM \
79297 LN_S \
79298 lt_SP2NL \
79299 lt_NL2SP \
79300 reload_flag \
79301 OBJDUMP \
79302 deplibs_check_method \
79303 file_magic_cmd \
79304 AR \
79305 AR_FLAGS \
79306 STRIP \
79307 RANLIB \
79308 CC \
79309 CFLAGS \
79310 compiler \
79311 lt_cv_sys_global_symbol_pipe \
79312 lt_cv_sys_global_symbol_to_cdecl \
79313 lt_cv_sys_global_symbol_to_c_name_address \
79314 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
79315 lt_prog_compiler_no_builtin_flag \
79316 lt_prog_compiler_wl \
79317 lt_prog_compiler_pic \
79318 lt_prog_compiler_static \
79319 lt_cv_prog_compiler_c_o \
79320 need_locks \
79321 DSYMUTIL \
79322 NMEDIT \
79323 LIPO \
79324 OTOOL \
79325 OTOOL64 \
79326 shrext_cmds \
79327 export_dynamic_flag_spec \
79328 whole_archive_flag_spec \
79329 compiler_needs_object \
79330 with_gnu_ld \
79331 allow_undefined_flag \
79332 no_undefined_flag \
79333 hardcode_libdir_flag_spec \
79334 hardcode_libdir_flag_spec_ld \
79335 hardcode_libdir_separator \
79336 fix_srcfile_path \
79337 exclude_expsyms \
79338 include_expsyms \
79339 file_list_spec \
79340 variables_saved_for_relink \
79341 libname_spec \
79342 library_names_spec \
79343 soname_spec \
79344 install_override_mode \
79345 finish_eval \
79346 old_striplib \
79347 striplib \
79348 compiler_lib_search_dirs \
79349 predep_objects \
79350 postdep_objects \
79351 predeps \
79352 postdeps \
79353 compiler_lib_search_path \
79354 LD_CXX \
79355 reload_flag_CXX \
79356 compiler_CXX \
79357 lt_prog_compiler_no_builtin_flag_CXX \
79358 lt_prog_compiler_wl_CXX \
79359 lt_prog_compiler_pic_CXX \
79360 lt_prog_compiler_static_CXX \
79361 lt_cv_prog_compiler_c_o_CXX \
79362 export_dynamic_flag_spec_CXX \
79363 whole_archive_flag_spec_CXX \
79364 compiler_needs_object_CXX \
79365 with_gnu_ld_CXX \
79366 allow_undefined_flag_CXX \
79367 no_undefined_flag_CXX \
79368 hardcode_libdir_flag_spec_CXX \
79369 hardcode_libdir_flag_spec_ld_CXX \
79370 hardcode_libdir_separator_CXX \
79371 fix_srcfile_path_CXX \
79372 exclude_expsyms_CXX \
79373 include_expsyms_CXX \
79374 file_list_spec_CXX \
79375 compiler_lib_search_dirs_CXX \
79376 predep_objects_CXX \
79377 postdep_objects_CXX \
79378 predeps_CXX \
79379 postdeps_CXX \
79380 compiler_lib_search_path_CXX; do
79381 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
79382 *[\\\\\\\`\\"\\\$]*)
79383 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
79386 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
79388 esac
79389 done
79391 # Double-quote double-evaled strings.
79392 for var in reload_cmds \
79393 old_postinstall_cmds \
79394 old_postuninstall_cmds \
79395 old_archive_cmds \
79396 extract_expsyms_cmds \
79397 old_archive_from_new_cmds \
79398 old_archive_from_expsyms_cmds \
79399 archive_cmds \
79400 archive_expsym_cmds \
79401 module_cmds \
79402 module_expsym_cmds \
79403 export_symbols_cmds \
79404 prelink_cmds \
79405 postinstall_cmds \
79406 postuninstall_cmds \
79407 finish_cmds \
79408 sys_lib_search_path_spec \
79409 sys_lib_dlsearch_path_spec \
79410 reload_cmds_CXX \
79411 old_archive_cmds_CXX \
79412 old_archive_from_new_cmds_CXX \
79413 old_archive_from_expsyms_cmds_CXX \
79414 archive_cmds_CXX \
79415 archive_expsym_cmds_CXX \
79416 module_cmds_CXX \
79417 module_expsym_cmds_CXX \
79418 export_symbols_cmds_CXX \
79419 prelink_cmds_CXX; do
79420 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
79421 *[\\\\\\\`\\"\\\$]*)
79422 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
79425 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
79427 esac
79428 done
79430 ac_aux_dir='$ac_aux_dir'
79431 xsi_shell='$xsi_shell'
79432 lt_shell_append='$lt_shell_append'
79434 # See if we are running on zsh, and set the options which allow our
79435 # commands through without removal of \ escapes INIT.
79436 if test -n "\${ZSH_VERSION+set}" ; then
79437 setopt NO_GLOB_SUBST
79441 PACKAGE='$PACKAGE'
79442 VERSION='$VERSION'
79443 TIMESTAMP='$TIMESTAMP'
79444 RM='$RM'
79445 ofile='$ofile'
79452 GCC="$GCC"
79453 CC="$CC"
79454 acx_cv_header_stdint="$acx_cv_header_stdint"
79455 acx_cv_type_int8_t="$acx_cv_type_int8_t"
79456 acx_cv_type_int16_t="$acx_cv_type_int16_t"
79457 acx_cv_type_int32_t="$acx_cv_type_int32_t"
79458 acx_cv_type_int64_t="$acx_cv_type_int64_t"
79459 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
79460 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
79461 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
79462 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
79463 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
79464 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
79465 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
79466 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
79467 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
79470 _ACEOF
79472 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
79474 # Handling of arguments.
79475 for ac_config_target in $ac_config_targets
79477 case $ac_config_target in
79478 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
79479 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
79480 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
79481 "include/gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
79482 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
79483 "scripts/testsuite_flags") CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
79484 "scripts/extract_symvers") CONFIG_FILES="$CONFIG_FILES scripts/extract_symvers" ;;
79485 "doc/xsl/customization.xsl") CONFIG_FILES="$CONFIG_FILES doc/xsl/customization.xsl" ;;
79486 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
79487 "libsupc++/Makefile") CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
79488 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
79489 "src/c++98/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++98/Makefile" ;;
79490 "src/c++11/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++11/Makefile" ;;
79491 "src/c++17/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++17/Makefile" ;;
79492 "src/c++20/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++20/Makefile" ;;
79493 "src/filesystem/Makefile") CONFIG_FILES="$CONFIG_FILES src/filesystem/Makefile" ;;
79494 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
79495 "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
79496 "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
79497 "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
79498 "generate-headers") CONFIG_COMMANDS="$CONFIG_COMMANDS generate-headers" ;;
79500 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
79501 esac
79502 done
79505 # If the user did not use the arguments to specify the items to instantiate,
79506 # then the envvar interface is used. Set only those that are not.
79507 # We use the long form for the default assignment because of an extremely
79508 # bizarre bug on SunOS 4.1.3.
79509 if $ac_need_defaults; then
79510 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
79511 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
79512 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
79515 # Have a temporary directory for convenience. Make it in the build tree
79516 # simply because there is no reason against having it here, and in addition,
79517 # creating and moving files from /tmp can sometimes cause problems.
79518 # Hook for its removal unless debugging.
79519 # Note that there is a small window in which the directory will not be cleaned:
79520 # after its creation but before its name has been assigned to `$tmp'.
79521 $debug ||
79523 tmp= ac_tmp=
79524 trap 'exit_status=$?
79525 : "${ac_tmp:=$tmp}"
79526 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
79528 trap 'as_fn_exit 1' 1 2 13 15
79530 # Create a (secure) tmp directory for tmp files.
79533 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
79534 test -d "$tmp"
79535 } ||
79537 tmp=./conf$$-$RANDOM
79538 (umask 077 && mkdir "$tmp")
79539 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
79540 ac_tmp=$tmp
79542 # Set up the scripts for CONFIG_FILES section.
79543 # No need to generate them if there are no CONFIG_FILES.
79544 # This happens for instance with `./config.status config.h'.
79545 if test -n "$CONFIG_FILES"; then
79548 ac_cr=`echo X | tr X '\015'`
79549 # On cygwin, bash can eat \r inside `` if the user requested igncr.
79550 # But we know of no other shell where ac_cr would be empty at this
79551 # point, so we can use a bashism as a fallback.
79552 if test "x$ac_cr" = x; then
79553 eval ac_cr=\$\'\\r\'
79555 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
79556 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
79557 ac_cs_awk_cr='\\r'
79558 else
79559 ac_cs_awk_cr=$ac_cr
79562 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
79563 _ACEOF
79567 echo "cat >conf$$subs.awk <<_ACEOF" &&
79568 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
79569 echo "_ACEOF"
79570 } >conf$$subs.sh ||
79571 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
79572 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
79573 ac_delim='%!_!# '
79574 for ac_last_try in false false false false false :; do
79575 . ./conf$$subs.sh ||
79576 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
79578 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
79579 if test $ac_delim_n = $ac_delim_num; then
79580 break
79581 elif $ac_last_try; then
79582 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
79583 else
79584 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
79586 done
79587 rm -f conf$$subs.sh
79589 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
79590 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
79591 _ACEOF
79592 sed -n '
79594 s/^/S["/; s/!.*/"]=/
79597 s/^[^!]*!//
79598 :repl
79599 t repl
79600 s/'"$ac_delim"'$//
79601 t delim
79604 s/\(.\{148\}\)..*/\1/
79605 t more1
79606 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
79609 b repl
79610 :more1
79611 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
79614 s/.\{148\}//
79615 t nl
79616 :delim
79618 s/\(.\{148\}\)..*/\1/
79619 t more2
79620 s/["\\]/\\&/g; s/^/"/; s/$/"/
79623 :more2
79624 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
79627 s/.\{148\}//
79628 t delim
79629 ' <conf$$subs.awk | sed '
79630 /^[^""]/{
79632 s/\n//
79634 ' >>$CONFIG_STATUS || ac_write_fail=1
79635 rm -f conf$$subs.awk
79636 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
79637 _ACAWK
79638 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
79639 for (key in S) S_is_set[key] = 1
79640 FS = "\a"
79644 line = $ 0
79645 nfields = split(line, field, "@")
79646 substed = 0
79647 len = length(field[1])
79648 for (i = 2; i < nfields; i++) {
79649 key = field[i]
79650 keylen = length(key)
79651 if (S_is_set[key]) {
79652 value = S[key]
79653 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
79654 len += length(value) + length(field[++i])
79655 substed = 1
79656 } else
79657 len += 1 + keylen
79660 print line
79663 _ACAWK
79664 _ACEOF
79665 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
79666 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
79667 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
79668 else
79670 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
79671 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
79672 _ACEOF
79674 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
79675 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
79676 # trailing colons and then remove the whole line if VPATH becomes empty
79677 # (actually we leave an empty line to preserve line numbers).
79678 if test "x$srcdir" = x.; then
79679 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
79681 s///
79682 s/^/:/
79683 s/[ ]*$/:/
79684 s/:\$(srcdir):/:/g
79685 s/:\${srcdir}:/:/g
79686 s/:@srcdir@:/:/g
79687 s/^:*//
79688 s/:*$//
79690 s/\(=[ ]*\).*/\1/
79692 s/\n//
79693 s/^[^=]*=[ ]*$//
79697 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
79698 fi # test -n "$CONFIG_FILES"
79700 # Set up the scripts for CONFIG_HEADERS section.
79701 # No need to generate them if there are no CONFIG_HEADERS.
79702 # This happens for instance with `./config.status Makefile'.
79703 if test -n "$CONFIG_HEADERS"; then
79704 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
79705 BEGIN {
79706 _ACEOF
79708 # Transform confdefs.h into an awk script `defines.awk', embedded as
79709 # here-document in config.status, that substitutes the proper values into
79710 # config.h.in to produce config.h.
79712 # Create a delimiter string that does not exist in confdefs.h, to ease
79713 # handling of long lines.
79714 ac_delim='%!_!# '
79715 for ac_last_try in false false :; do
79716 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
79717 if test -z "$ac_tt"; then
79718 break
79719 elif $ac_last_try; then
79720 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
79721 else
79722 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
79724 done
79726 # For the awk script, D is an array of macro values keyed by name,
79727 # likewise P contains macro parameters if any. Preserve backslash
79728 # newline sequences.
79730 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
79731 sed -n '
79732 s/.\{148\}/&'"$ac_delim"'/g
79733 t rset
79734 :rset
79735 s/^[ ]*#[ ]*define[ ][ ]*/ /
79736 t def
79738 :def
79739 s/\\$//
79740 t bsnl
79741 s/["\\]/\\&/g
79742 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
79743 D["\1"]=" \3"/p
79744 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
79746 :bsnl
79747 s/["\\]/\\&/g
79748 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
79749 D["\1"]=" \3\\\\\\n"\\/p
79750 t cont
79751 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
79752 t cont
79754 :cont
79756 s/.\{148\}/&'"$ac_delim"'/g
79757 t clear
79758 :clear
79759 s/\\$//
79760 t bsnlc
79761 s/["\\]/\\&/g; s/^/"/; s/$/"/p
79763 :bsnlc
79764 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
79765 b cont
79766 ' <confdefs.h | sed '
79767 s/'"$ac_delim"'/"\\\
79768 "/g' >>$CONFIG_STATUS || ac_write_fail=1
79770 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
79771 for (key in D) D_is_set[key] = 1
79772 FS = "\a"
79774 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
79775 line = \$ 0
79776 split(line, arg, " ")
79777 if (arg[1] == "#") {
79778 defundef = arg[2]
79779 mac1 = arg[3]
79780 } else {
79781 defundef = substr(arg[1], 2)
79782 mac1 = arg[2]
79784 split(mac1, mac2, "(") #)
79785 macro = mac2[1]
79786 prefix = substr(line, 1, index(line, defundef) - 1)
79787 if (D_is_set[macro]) {
79788 # Preserve the white space surrounding the "#".
79789 print prefix "define", macro P[macro] D[macro]
79790 next
79791 } else {
79792 # Replace #undef with comments. This is necessary, for example,
79793 # in the case of _POSIX_SOURCE, which is predefined and required
79794 # on some systems where configure will not decide to define it.
79795 if (defundef == "undef") {
79796 print "/*", prefix defundef, macro, "*/"
79797 next
79801 { print }
79802 _ACAWK
79803 _ACEOF
79804 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
79805 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
79806 fi # test -n "$CONFIG_HEADERS"
79809 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
79810 shift
79811 for ac_tag
79813 case $ac_tag in
79814 :[FHLC]) ac_mode=$ac_tag; continue;;
79815 esac
79816 case $ac_mode$ac_tag in
79817 :[FHL]*:*);;
79818 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
79819 :[FH]-) ac_tag=-:-;;
79820 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
79821 esac
79822 ac_save_IFS=$IFS
79823 IFS=:
79824 set x $ac_tag
79825 IFS=$ac_save_IFS
79826 shift
79827 ac_file=$1
79828 shift
79830 case $ac_mode in
79831 :L) ac_source=$1;;
79832 :[FH])
79833 ac_file_inputs=
79834 for ac_f
79836 case $ac_f in
79837 -) ac_f="$ac_tmp/stdin";;
79838 *) # Look for the file first in the build tree, then in the source tree
79839 # (if the path is not absolute). The absolute path cannot be DOS-style,
79840 # because $ac_f cannot contain `:'.
79841 test -f "$ac_f" ||
79842 case $ac_f in
79843 [\\/$]*) false;;
79844 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
79845 esac ||
79846 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
79847 esac
79848 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
79849 as_fn_append ac_file_inputs " '$ac_f'"
79850 done
79852 # Let's still pretend it is `configure' which instantiates (i.e., don't
79853 # use $as_me), people would be surprised to read:
79854 # /* config.h. Generated by config.status. */
79855 configure_input='Generated from '`
79856 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
79857 `' by configure.'
79858 if test x"$ac_file" != x-; then
79859 configure_input="$ac_file. $configure_input"
79860 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
79861 $as_echo "$as_me: creating $ac_file" >&6;}
79863 # Neutralize special characters interpreted by sed in replacement strings.
79864 case $configure_input in #(
79865 *\&* | *\|* | *\\* )
79866 ac_sed_conf_input=`$as_echo "$configure_input" |
79867 sed 's/[\\\\&|]/\\\\&/g'`;; #(
79868 *) ac_sed_conf_input=$configure_input;;
79869 esac
79871 case $ac_tag in
79872 *:-:* | *:-) cat >"$ac_tmp/stdin" \
79873 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
79874 esac
79876 esac
79878 ac_dir=`$as_dirname -- "$ac_file" ||
79879 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
79880 X"$ac_file" : 'X\(//\)[^/]' \| \
79881 X"$ac_file" : 'X\(//\)$' \| \
79882 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
79883 $as_echo X"$ac_file" |
79884 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
79885 s//\1/
79888 /^X\(\/\/\)[^/].*/{
79889 s//\1/
79892 /^X\(\/\/\)$/{
79893 s//\1/
79896 /^X\(\/\).*/{
79897 s//\1/
79900 s/.*/./; q'`
79901 as_dir="$ac_dir"; as_fn_mkdir_p
79902 ac_builddir=.
79904 case "$ac_dir" in
79905 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
79907 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
79908 # A ".." for each directory in $ac_dir_suffix.
79909 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
79910 case $ac_top_builddir_sub in
79911 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
79912 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
79913 esac ;;
79914 esac
79915 ac_abs_top_builddir=$ac_pwd
79916 ac_abs_builddir=$ac_pwd$ac_dir_suffix
79917 # for backward compatibility:
79918 ac_top_builddir=$ac_top_build_prefix
79920 case $srcdir in
79921 .) # We are building in place.
79922 ac_srcdir=.
79923 ac_top_srcdir=$ac_top_builddir_sub
79924 ac_abs_top_srcdir=$ac_pwd ;;
79925 [\\/]* | ?:[\\/]* ) # Absolute name.
79926 ac_srcdir=$srcdir$ac_dir_suffix;
79927 ac_top_srcdir=$srcdir
79928 ac_abs_top_srcdir=$srcdir ;;
79929 *) # Relative name.
79930 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
79931 ac_top_srcdir=$ac_top_build_prefix$srcdir
79932 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
79933 esac
79934 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
79937 case $ac_mode in
79940 # CONFIG_FILE
79943 case $INSTALL in
79944 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
79945 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
79946 esac
79947 ac_MKDIR_P=$MKDIR_P
79948 case $MKDIR_P in
79949 [\\/$]* | ?:[\\/]* ) ;;
79950 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
79951 esac
79952 _ACEOF
79954 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
79955 # If the template does not know about datarootdir, expand it.
79956 # FIXME: This hack should be removed a few years after 2.60.
79957 ac_datarootdir_hack=; ac_datarootdir_seen=
79958 ac_sed_dataroot='
79959 /datarootdir/ {
79963 /@datadir@/p
79964 /@docdir@/p
79965 /@infodir@/p
79966 /@localedir@/p
79967 /@mandir@/p'
79968 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
79969 *datarootdir*) ac_datarootdir_seen=yes;;
79970 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
79971 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
79972 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
79973 _ACEOF
79974 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
79975 ac_datarootdir_hack='
79976 s&@datadir@&$datadir&g
79977 s&@docdir@&$docdir&g
79978 s&@infodir@&$infodir&g
79979 s&@localedir@&$localedir&g
79980 s&@mandir@&$mandir&g
79981 s&\\\${datarootdir}&$datarootdir&g' ;;
79982 esac
79983 _ACEOF
79985 # Neutralize VPATH when `$srcdir' = `.'.
79986 # Shell code in configure.ac might set extrasub.
79987 # FIXME: do we really want to maintain this feature?
79988 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
79989 ac_sed_extra="$ac_vpsub
79990 $extrasub
79991 _ACEOF
79992 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
79994 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
79995 s|@configure_input@|$ac_sed_conf_input|;t t
79996 s&@top_builddir@&$ac_top_builddir_sub&;t t
79997 s&@top_build_prefix@&$ac_top_build_prefix&;t t
79998 s&@srcdir@&$ac_srcdir&;t t
79999 s&@abs_srcdir@&$ac_abs_srcdir&;t t
80000 s&@top_srcdir@&$ac_top_srcdir&;t t
80001 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
80002 s&@builddir@&$ac_builddir&;t t
80003 s&@abs_builddir@&$ac_abs_builddir&;t t
80004 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
80005 s&@INSTALL@&$ac_INSTALL&;t t
80006 s&@MKDIR_P@&$ac_MKDIR_P&;t t
80007 $ac_datarootdir_hack
80009 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
80010 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
80012 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
80013 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
80014 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
80015 "$ac_tmp/out"`; test -z "$ac_out"; } &&
80016 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
80017 which seems to be undefined. Please make sure it is defined" >&5
80018 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
80019 which seems to be undefined. Please make sure it is defined" >&2;}
80021 rm -f "$ac_tmp/stdin"
80022 case $ac_file in
80023 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
80024 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
80025 esac \
80026 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
80030 # CONFIG_HEADER
80032 if test x"$ac_file" != x-; then
80034 $as_echo "/* $configure_input */" \
80035 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
80036 } >"$ac_tmp/config.h" \
80037 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
80038 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
80039 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
80040 $as_echo "$as_me: $ac_file is unchanged" >&6;}
80041 else
80042 rm -f "$ac_file"
80043 mv "$ac_tmp/config.h" "$ac_file" \
80044 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
80046 else
80047 $as_echo "/* $configure_input */" \
80048 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
80049 || as_fn_error $? "could not create -" "$LINENO" 5
80051 # Compute "$ac_file"'s index in $config_headers.
80052 _am_arg="$ac_file"
80053 _am_stamp_count=1
80054 for _am_header in $config_headers :; do
80055 case $_am_header in
80056 $_am_arg | $_am_arg:* )
80057 break ;;
80059 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
80060 esac
80061 done
80062 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
80063 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
80064 X"$_am_arg" : 'X\(//\)[^/]' \| \
80065 X"$_am_arg" : 'X\(//\)$' \| \
80066 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
80067 $as_echo X"$_am_arg" |
80068 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
80069 s//\1/
80072 /^X\(\/\/\)[^/].*/{
80073 s//\1/
80076 /^X\(\/\/\)$/{
80077 s//\1/
80080 /^X\(\/\).*/{
80081 s//\1/
80084 s/.*/./; q'`/stamp-h$_am_stamp_count
80087 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
80088 $as_echo "$as_me: executing $ac_file commands" >&6;}
80090 esac
80093 case $ac_file$ac_mode in
80094 "default-1":C)
80095 # Only add multilib support code if we just rebuilt the top-level
80096 # Makefile.
80097 case " $CONFIG_FILES " in
80098 *" Makefile "*)
80099 ac_file=Makefile . ${multi_basedir}/config-ml.in
80101 esac ;;
80102 "libtool":C)
80104 # See if we are running on zsh, and set the options which allow our
80105 # commands through without removal of \ escapes.
80106 if test -n "${ZSH_VERSION+set}" ; then
80107 setopt NO_GLOB_SUBST
80110 cfgfile="${ofile}T"
80111 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
80112 $RM "$cfgfile"
80114 cat <<_LT_EOF >> "$cfgfile"
80115 #! $SHELL
80117 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
80118 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
80119 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
80120 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
80122 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
80123 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
80124 # Written by Gordon Matzigkeit, 1996
80126 # This file is part of GNU Libtool.
80128 # GNU Libtool is free software; you can redistribute it and/or
80129 # modify it under the terms of the GNU General Public License as
80130 # published by the Free Software Foundation; either version 2 of
80131 # the License, or (at your option) any later version.
80133 # As a special exception to the GNU General Public License,
80134 # if you distribute this file as part of a program or library that
80135 # is built using GNU Libtool, you may include this file under the
80136 # same distribution terms that you use for the rest of that program.
80138 # GNU Libtool is distributed in the hope that it will be useful,
80139 # but WITHOUT ANY WARRANTY; without even the implied warranty of
80140 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
80141 # GNU General Public License for more details.
80143 # You should have received a copy of the GNU General Public License
80144 # along with GNU Libtool; see the file COPYING. If not, a copy
80145 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
80146 # obtained by writing to the Free Software Foundation, Inc.,
80147 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
80150 # The names of the tagged configurations supported by this script.
80151 available_tags="CXX "
80153 # ### BEGIN LIBTOOL CONFIG
80155 # Which release of libtool.m4 was used?
80156 macro_version=$macro_version
80157 macro_revision=$macro_revision
80159 # Whether or not to build shared libraries.
80160 build_libtool_libs=$enable_shared
80162 # Whether or not to build static libraries.
80163 build_old_libs=$enable_static
80165 # What type of objects to build.
80166 pic_mode=$pic_mode
80168 # Whether or not to optimize for fast installation.
80169 fast_install=$enable_fast_install
80171 # Shell to use when invoking shell scripts.
80172 SHELL=$lt_SHELL
80174 # An echo program that protects backslashes.
80175 ECHO=$lt_ECHO
80177 # The host system.
80178 host_alias=$host_alias
80179 host=$host
80180 host_os=$host_os
80182 # The build system.
80183 build_alias=$build_alias
80184 build=$build
80185 build_os=$build_os
80187 # A sed program that does not truncate output.
80188 SED=$lt_SED
80190 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
80191 Xsed="\$SED -e 1s/^X//"
80193 # A grep program that handles long lines.
80194 GREP=$lt_GREP
80196 # An ERE matcher.
80197 EGREP=$lt_EGREP
80199 # A literal string matcher.
80200 FGREP=$lt_FGREP
80202 # A BSD- or MS-compatible name lister.
80203 NM=$lt_NM
80205 # Whether we need soft or hard links.
80206 LN_S=$lt_LN_S
80208 # What is the maximum length of a command?
80209 max_cmd_len=$max_cmd_len
80211 # Object file suffix (normally "o").
80212 objext=$ac_objext
80214 # Executable file suffix (normally "").
80215 exeext=$exeext
80217 # whether the shell understands "unset".
80218 lt_unset=$lt_unset
80220 # turn spaces into newlines.
80221 SP2NL=$lt_lt_SP2NL
80223 # turn newlines into spaces.
80224 NL2SP=$lt_lt_NL2SP
80226 # An object symbol dumper.
80227 OBJDUMP=$lt_OBJDUMP
80229 # Method to check whether dependent libraries are shared objects.
80230 deplibs_check_method=$lt_deplibs_check_method
80232 # Command to use when deplibs_check_method == "file_magic".
80233 file_magic_cmd=$lt_file_magic_cmd
80235 # The archiver.
80236 AR=$lt_AR
80237 AR_FLAGS=$lt_AR_FLAGS
80239 # A symbol stripping program.
80240 STRIP=$lt_STRIP
80242 # Commands used to install an old-style archive.
80243 RANLIB=$lt_RANLIB
80244 old_postinstall_cmds=$lt_old_postinstall_cmds
80245 old_postuninstall_cmds=$lt_old_postuninstall_cmds
80247 # Whether to use a lock for old archive extraction.
80248 lock_old_archive_extraction=$lock_old_archive_extraction
80250 # A C compiler.
80251 LTCC=$lt_CC
80253 # LTCC compiler flags.
80254 LTCFLAGS=$lt_CFLAGS
80256 # Take the output of nm and produce a listing of raw symbols and C names.
80257 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
80259 # Transform the output of nm in a proper C declaration.
80260 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
80262 # Transform the output of nm in a C name address pair.
80263 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
80265 # Transform the output of nm in a C name address pair when lib prefix is needed.
80266 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
80268 # The name of the directory that contains temporary libtool files.
80269 objdir=$objdir
80271 # Used to examine libraries when file_magic_cmd begins with "file".
80272 MAGIC_CMD=$MAGIC_CMD
80274 # Must we lock files when doing compilation?
80275 need_locks=$lt_need_locks
80277 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
80278 DSYMUTIL=$lt_DSYMUTIL
80280 # Tool to change global to local symbols on Mac OS X.
80281 NMEDIT=$lt_NMEDIT
80283 # Tool to manipulate fat objects and archives on Mac OS X.
80284 LIPO=$lt_LIPO
80286 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
80287 OTOOL=$lt_OTOOL
80289 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
80290 OTOOL64=$lt_OTOOL64
80292 # Old archive suffix (normally "a").
80293 libext=$libext
80295 # Shared library suffix (normally ".so").
80296 shrext_cmds=$lt_shrext_cmds
80298 # The commands to extract the exported symbol list from a shared archive.
80299 extract_expsyms_cmds=$lt_extract_expsyms_cmds
80301 # Variables whose values should be saved in libtool wrapper scripts and
80302 # restored at link time.
80303 variables_saved_for_relink=$lt_variables_saved_for_relink
80305 # Do we need the "lib" prefix for modules?
80306 need_lib_prefix=$need_lib_prefix
80308 # Do we need a version for libraries?
80309 need_version=$need_version
80311 # Library versioning type.
80312 version_type=$version_type
80314 # Shared library runtime path variable.
80315 runpath_var=$runpath_var
80317 # Shared library path variable.
80318 shlibpath_var=$shlibpath_var
80320 # Is shlibpath searched before the hard-coded library search path?
80321 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
80323 # Format of library name prefix.
80324 libname_spec=$lt_libname_spec
80326 # List of archive names. First name is the real one, the rest are links.
80327 # The last name is the one that the linker finds with -lNAME
80328 library_names_spec=$lt_library_names_spec
80330 # The coded name of the library, if different from the real name.
80331 soname_spec=$lt_soname_spec
80333 # Permission mode override for installation of shared libraries.
80334 install_override_mode=$lt_install_override_mode
80336 # Command to use after installation of a shared archive.
80337 postinstall_cmds=$lt_postinstall_cmds
80339 # Command to use after uninstallation of a shared archive.
80340 postuninstall_cmds=$lt_postuninstall_cmds
80342 # Commands used to finish a libtool library installation in a directory.
80343 finish_cmds=$lt_finish_cmds
80345 # As "finish_cmds", except a single script fragment to be evaled but
80346 # not shown.
80347 finish_eval=$lt_finish_eval
80349 # Whether we should hardcode library paths into libraries.
80350 hardcode_into_libs=$hardcode_into_libs
80352 # Compile-time system search path for libraries.
80353 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
80355 # Run-time system search path for libraries.
80356 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
80358 # Whether dlopen is supported.
80359 dlopen_support=$enable_dlopen
80361 # Whether dlopen of programs is supported.
80362 dlopen_self=$enable_dlopen_self
80364 # Whether dlopen of statically linked programs is supported.
80365 dlopen_self_static=$enable_dlopen_self_static
80367 # Commands to strip libraries.
80368 old_striplib=$lt_old_striplib
80369 striplib=$lt_striplib
80372 # The linker used to build libraries.
80373 LD=$lt_LD
80375 # How to create reloadable object files.
80376 reload_flag=$lt_reload_flag
80377 reload_cmds=$lt_reload_cmds
80379 # Commands used to build an old-style archive.
80380 old_archive_cmds=$lt_old_archive_cmds
80382 # A language specific compiler.
80383 CC=$lt_compiler
80385 # Is the compiler the GNU compiler?
80386 with_gcc=$GCC
80388 # Compiler flag to turn off builtin functions.
80389 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
80391 # How to pass a linker flag through the compiler.
80392 wl=$lt_lt_prog_compiler_wl
80394 # Additional compiler flags for building library objects.
80395 pic_flag=$lt_lt_prog_compiler_pic
80397 # Compiler flag to prevent dynamic linking.
80398 link_static_flag=$lt_lt_prog_compiler_static
80400 # Does compiler simultaneously support -c and -o options?
80401 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
80403 # Whether or not to add -lc for building shared libraries.
80404 build_libtool_need_lc=$archive_cmds_need_lc
80406 # Whether or not to disallow shared libs when runtime libs are static.
80407 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
80409 # Compiler flag to allow reflexive dlopens.
80410 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
80412 # Compiler flag to generate shared objects directly from archives.
80413 whole_archive_flag_spec=$lt_whole_archive_flag_spec
80415 # Whether the compiler copes with passing no objects directly.
80416 compiler_needs_object=$lt_compiler_needs_object
80418 # Create an old-style archive from a shared archive.
80419 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
80421 # Create a temporary old-style archive to link instead of a shared archive.
80422 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
80424 # Commands used to build a shared archive.
80425 archive_cmds=$lt_archive_cmds
80426 archive_expsym_cmds=$lt_archive_expsym_cmds
80428 # Commands used to build a loadable module if different from building
80429 # a shared archive.
80430 module_cmds=$lt_module_cmds
80431 module_expsym_cmds=$lt_module_expsym_cmds
80433 # Whether we are building with GNU ld or not.
80434 with_gnu_ld=$lt_with_gnu_ld
80436 # Flag that allows shared libraries with undefined symbols to be built.
80437 allow_undefined_flag=$lt_allow_undefined_flag
80439 # Flag that enforces no undefined symbols.
80440 no_undefined_flag=$lt_no_undefined_flag
80442 # Flag to hardcode \$libdir into a binary during linking.
80443 # This must work even if \$libdir does not exist
80444 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
80446 # If ld is used when linking, flag to hardcode \$libdir into a binary
80447 # during linking. This must work even if \$libdir does not exist.
80448 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
80450 # Whether we need a single "-rpath" flag with a separated argument.
80451 hardcode_libdir_separator=$lt_hardcode_libdir_separator
80453 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
80454 # DIR into the resulting binary.
80455 hardcode_direct=$hardcode_direct
80457 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
80458 # DIR into the resulting binary and the resulting library dependency is
80459 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
80460 # library is relocated.
80461 hardcode_direct_absolute=$hardcode_direct_absolute
80463 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
80464 # into the resulting binary.
80465 hardcode_minus_L=$hardcode_minus_L
80467 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
80468 # into the resulting binary.
80469 hardcode_shlibpath_var=$hardcode_shlibpath_var
80471 # Set to "yes" if building a shared library automatically hardcodes DIR
80472 # into the library and all subsequent libraries and executables linked
80473 # against it.
80474 hardcode_automatic=$hardcode_automatic
80476 # Set to yes if linker adds runtime paths of dependent libraries
80477 # to runtime path list.
80478 inherit_rpath=$inherit_rpath
80480 # Whether libtool must link a program against all its dependency libraries.
80481 link_all_deplibs=$link_all_deplibs
80483 # Fix the shell variable \$srcfile for the compiler.
80484 fix_srcfile_path=$lt_fix_srcfile_path
80486 # Set to "yes" if exported symbols are required.
80487 always_export_symbols=$always_export_symbols
80489 # The commands to list exported symbols.
80490 export_symbols_cmds=$lt_export_symbols_cmds
80492 # Symbols that should not be listed in the preloaded symbols.
80493 exclude_expsyms=$lt_exclude_expsyms
80495 # Symbols that must always be exported.
80496 include_expsyms=$lt_include_expsyms
80498 # Commands necessary for linking programs (against libraries) with templates.
80499 prelink_cmds=$lt_prelink_cmds
80501 # Specify filename containing input files.
80502 file_list_spec=$lt_file_list_spec
80504 # How to hardcode a shared library path into an executable.
80505 hardcode_action=$hardcode_action
80507 # The directories searched by this compiler when creating a shared library.
80508 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
80510 # Dependencies to place before and after the objects being linked to
80511 # create a shared library.
80512 predep_objects=$lt_predep_objects
80513 postdep_objects=$lt_postdep_objects
80514 predeps=$lt_predeps
80515 postdeps=$lt_postdeps
80517 # The library search path used internally by the compiler when linking
80518 # a shared library.
80519 compiler_lib_search_path=$lt_compiler_lib_search_path
80521 # ### END LIBTOOL CONFIG
80523 _LT_EOF
80525 case $host_os in
80526 aix3*)
80527 cat <<\_LT_EOF >> "$cfgfile"
80528 # AIX sometimes has problems with the GCC collect2 program. For some
80529 # reason, if we set the COLLECT_NAMES environment variable, the problems
80530 # vanish in a puff of smoke.
80531 if test "X${COLLECT_NAMES+set}" != Xset; then
80532 COLLECT_NAMES=
80533 export COLLECT_NAMES
80535 _LT_EOF
80537 esac
80540 ltmain="$ac_aux_dir/ltmain.sh"
80543 # We use sed instead of cat because bash on DJGPP gets confused if
80544 # if finds mixed CR/LF and LF-only lines. Since sed operates in
80545 # text mode, it properly converts lines to CR/LF. This bash problem
80546 # is reportedly fixed, but why not run on old versions too?
80547 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
80548 || (rm -f "$cfgfile"; exit 1)
80550 case $xsi_shell in
80551 yes)
80552 cat << \_LT_EOF >> "$cfgfile"
80554 # func_dirname file append nondir_replacement
80555 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
80556 # otherwise set result to NONDIR_REPLACEMENT.
80557 func_dirname ()
80559 case ${1} in
80560 */*) func_dirname_result="${1%/*}${2}" ;;
80561 * ) func_dirname_result="${3}" ;;
80562 esac
80565 # func_basename file
80566 func_basename ()
80568 func_basename_result="${1##*/}"
80571 # func_dirname_and_basename file append nondir_replacement
80572 # perform func_basename and func_dirname in a single function
80573 # call:
80574 # dirname: Compute the dirname of FILE. If nonempty,
80575 # add APPEND to the result, otherwise set result
80576 # to NONDIR_REPLACEMENT.
80577 # value returned in "$func_dirname_result"
80578 # basename: Compute filename of FILE.
80579 # value retuned in "$func_basename_result"
80580 # Implementation must be kept synchronized with func_dirname
80581 # and func_basename. For efficiency, we do not delegate to
80582 # those functions but instead duplicate the functionality here.
80583 func_dirname_and_basename ()
80585 case ${1} in
80586 */*) func_dirname_result="${1%/*}${2}" ;;
80587 * ) func_dirname_result="${3}" ;;
80588 esac
80589 func_basename_result="${1##*/}"
80592 # func_stripname prefix suffix name
80593 # strip PREFIX and SUFFIX off of NAME.
80594 # PREFIX and SUFFIX must not contain globbing or regex special
80595 # characters, hashes, percent signs, but SUFFIX may contain a leading
80596 # dot (in which case that matches only a dot).
80597 func_stripname ()
80599 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
80600 # positional parameters, so assign one to ordinary parameter first.
80601 func_stripname_result=${3}
80602 func_stripname_result=${func_stripname_result#"${1}"}
80603 func_stripname_result=${func_stripname_result%"${2}"}
80606 # func_opt_split
80607 func_opt_split ()
80609 func_opt_split_opt=${1%%=*}
80610 func_opt_split_arg=${1#*=}
80613 # func_lo2o object
80614 func_lo2o ()
80616 case ${1} in
80617 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
80618 *) func_lo2o_result=${1} ;;
80619 esac
80622 # func_xform libobj-or-source
80623 func_xform ()
80625 func_xform_result=${1%.*}.lo
80628 # func_arith arithmetic-term...
80629 func_arith ()
80631 func_arith_result=$(( $* ))
80634 # func_len string
80635 # STRING may not start with a hyphen.
80636 func_len ()
80638 func_len_result=${#1}
80641 _LT_EOF
80643 *) # Bourne compatible functions.
80644 cat << \_LT_EOF >> "$cfgfile"
80646 # func_dirname file append nondir_replacement
80647 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
80648 # otherwise set result to NONDIR_REPLACEMENT.
80649 func_dirname ()
80651 # Extract subdirectory from the argument.
80652 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
80653 if test "X$func_dirname_result" = "X${1}"; then
80654 func_dirname_result="${3}"
80655 else
80656 func_dirname_result="$func_dirname_result${2}"
80660 # func_basename file
80661 func_basename ()
80663 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
80667 # func_stripname prefix suffix name
80668 # strip PREFIX and SUFFIX off of NAME.
80669 # PREFIX and SUFFIX must not contain globbing or regex special
80670 # characters, hashes, percent signs, but SUFFIX may contain a leading
80671 # dot (in which case that matches only a dot).
80672 # func_strip_suffix prefix name
80673 func_stripname ()
80675 case ${2} in
80676 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
80677 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
80678 esac
80681 # sed scripts:
80682 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
80683 my_sed_long_arg='1s/^-[^=]*=//'
80685 # func_opt_split
80686 func_opt_split ()
80688 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
80689 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
80692 # func_lo2o object
80693 func_lo2o ()
80695 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
80698 # func_xform libobj-or-source
80699 func_xform ()
80701 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
80704 # func_arith arithmetic-term...
80705 func_arith ()
80707 func_arith_result=`expr "$@"`
80710 # func_len string
80711 # STRING may not start with a hyphen.
80712 func_len ()
80714 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
80717 _LT_EOF
80718 esac
80720 case $lt_shell_append in
80721 yes)
80722 cat << \_LT_EOF >> "$cfgfile"
80724 # func_append var value
80725 # Append VALUE to the end of shell variable VAR.
80726 func_append ()
80728 eval "$1+=\$2"
80730 _LT_EOF
80733 cat << \_LT_EOF >> "$cfgfile"
80735 # func_append var value
80736 # Append VALUE to the end of shell variable VAR.
80737 func_append ()
80739 eval "$1=\$$1\$2"
80742 _LT_EOF
80744 esac
80747 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
80748 || (rm -f "$cfgfile"; exit 1)
80750 mv -f "$cfgfile" "$ofile" ||
80751 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
80752 chmod +x "$ofile"
80755 cat <<_LT_EOF >> "$ofile"
80757 # ### BEGIN LIBTOOL TAG CONFIG: CXX
80759 # The linker used to build libraries.
80760 LD=$lt_LD_CXX
80762 # How to create reloadable object files.
80763 reload_flag=$lt_reload_flag_CXX
80764 reload_cmds=$lt_reload_cmds_CXX
80766 # Commands used to build an old-style archive.
80767 old_archive_cmds=$lt_old_archive_cmds_CXX
80769 # A language specific compiler.
80770 CC=$lt_compiler_CXX
80772 # Is the compiler the GNU compiler?
80773 with_gcc=$GCC_CXX
80775 # Compiler flag to turn off builtin functions.
80776 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
80778 # How to pass a linker flag through the compiler.
80779 wl=$lt_lt_prog_compiler_wl_CXX
80781 # Additional compiler flags for building library objects.
80782 pic_flag=$lt_lt_prog_compiler_pic_CXX
80784 # Compiler flag to prevent dynamic linking.
80785 link_static_flag=$lt_lt_prog_compiler_static_CXX
80787 # Does compiler simultaneously support -c and -o options?
80788 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
80790 # Whether or not to add -lc for building shared libraries.
80791 build_libtool_need_lc=$archive_cmds_need_lc_CXX
80793 # Whether or not to disallow shared libs when runtime libs are static.
80794 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
80796 # Compiler flag to allow reflexive dlopens.
80797 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
80799 # Compiler flag to generate shared objects directly from archives.
80800 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
80802 # Whether the compiler copes with passing no objects directly.
80803 compiler_needs_object=$lt_compiler_needs_object_CXX
80805 # Create an old-style archive from a shared archive.
80806 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
80808 # Create a temporary old-style archive to link instead of a shared archive.
80809 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
80811 # Commands used to build a shared archive.
80812 archive_cmds=$lt_archive_cmds_CXX
80813 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
80815 # Commands used to build a loadable module if different from building
80816 # a shared archive.
80817 module_cmds=$lt_module_cmds_CXX
80818 module_expsym_cmds=$lt_module_expsym_cmds_CXX
80820 # Whether we are building with GNU ld or not.
80821 with_gnu_ld=$lt_with_gnu_ld_CXX
80823 # Flag that allows shared libraries with undefined symbols to be built.
80824 allow_undefined_flag=$lt_allow_undefined_flag_CXX
80826 # Flag that enforces no undefined symbols.
80827 no_undefined_flag=$lt_no_undefined_flag_CXX
80829 # Flag to hardcode \$libdir into a binary during linking.
80830 # This must work even if \$libdir does not exist
80831 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
80833 # If ld is used when linking, flag to hardcode \$libdir into a binary
80834 # during linking. This must work even if \$libdir does not exist.
80835 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
80837 # Whether we need a single "-rpath" flag with a separated argument.
80838 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
80840 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
80841 # DIR into the resulting binary.
80842 hardcode_direct=$hardcode_direct_CXX
80844 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
80845 # DIR into the resulting binary and the resulting library dependency is
80846 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
80847 # library is relocated.
80848 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
80850 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
80851 # into the resulting binary.
80852 hardcode_minus_L=$hardcode_minus_L_CXX
80854 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
80855 # into the resulting binary.
80856 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
80858 # Set to "yes" if building a shared library automatically hardcodes DIR
80859 # into the library and all subsequent libraries and executables linked
80860 # against it.
80861 hardcode_automatic=$hardcode_automatic_CXX
80863 # Set to yes if linker adds runtime paths of dependent libraries
80864 # to runtime path list.
80865 inherit_rpath=$inherit_rpath_CXX
80867 # Whether libtool must link a program against all its dependency libraries.
80868 link_all_deplibs=$link_all_deplibs_CXX
80870 # Fix the shell variable \$srcfile for the compiler.
80871 fix_srcfile_path=$lt_fix_srcfile_path_CXX
80873 # Set to "yes" if exported symbols are required.
80874 always_export_symbols=$always_export_symbols_CXX
80876 # The commands to list exported symbols.
80877 export_symbols_cmds=$lt_export_symbols_cmds_CXX
80879 # Symbols that should not be listed in the preloaded symbols.
80880 exclude_expsyms=$lt_exclude_expsyms_CXX
80882 # Symbols that must always be exported.
80883 include_expsyms=$lt_include_expsyms_CXX
80885 # Commands necessary for linking programs (against libraries) with templates.
80886 prelink_cmds=$lt_prelink_cmds_CXX
80888 # Specify filename containing input files.
80889 file_list_spec=$lt_file_list_spec_CXX
80891 # How to hardcode a shared library path into an executable.
80892 hardcode_action=$hardcode_action_CXX
80894 # The directories searched by this compiler when creating a shared library.
80895 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
80897 # Dependencies to place before and after the objects being linked to
80898 # create a shared library.
80899 predep_objects=$lt_predep_objects_CXX
80900 postdep_objects=$lt_postdep_objects_CXX
80901 predeps=$lt_predeps_CXX
80902 postdeps=$lt_postdeps_CXX
80904 # The library search path used internally by the compiler when linking
80905 # a shared library.
80906 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
80908 # ### END LIBTOOL TAG CONFIG: CXX
80909 _LT_EOF
80912 "include/gstdint.h":C)
80913 if test "$GCC" = yes; then
80914 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
80915 else
80916 echo "/* generated for $CC */" > tmp-stdint.h
80919 sed 's/^ *//' >> tmp-stdint.h <<EOF
80921 #ifndef GCC_GENERATED_STDINT_H
80922 #define GCC_GENERATED_STDINT_H 1
80924 #include <sys/types.h>
80927 if test "$acx_cv_header_stdint" != stdint.h; then
80928 echo "#include <stddef.h>" >> tmp-stdint.h
80930 if test "$acx_cv_header_stdint" != stddef.h; then
80931 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
80934 sed 's/^ *//' >> tmp-stdint.h <<EOF
80935 /* glibc uses these symbols as guards to prevent redefinitions. */
80936 #ifdef __int8_t_defined
80937 #define _INT8_T
80938 #define _INT16_T
80939 #define _INT32_T
80940 #endif
80941 #ifdef __uint32_t_defined
80942 #define _UINT32_T
80943 #endif
80947 # ----------------- done header, emit basic int types -------------
80948 if test "$acx_cv_header_stdint" = stddef.h; then
80949 sed 's/^ *//' >> tmp-stdint.h <<EOF
80951 #ifndef _UINT8_T
80952 #define _UINT8_T
80953 #ifndef __uint8_t_defined
80954 #define __uint8_t_defined
80955 #ifndef uint8_t
80956 typedef unsigned $acx_cv_type_int8_t uint8_t;
80957 #endif
80958 #endif
80959 #endif
80961 #ifndef _UINT16_T
80962 #define _UINT16_T
80963 #ifndef __uint16_t_defined
80964 #define __uint16_t_defined
80965 #ifndef uint16_t
80966 typedef unsigned $acx_cv_type_int16_t uint16_t;
80967 #endif
80968 #endif
80969 #endif
80971 #ifndef _UINT32_T
80972 #define _UINT32_T
80973 #ifndef __uint32_t_defined
80974 #define __uint32_t_defined
80975 #ifndef uint32_t
80976 typedef unsigned $acx_cv_type_int32_t uint32_t;
80977 #endif
80978 #endif
80979 #endif
80981 #ifndef _INT8_T
80982 #define _INT8_T
80983 #ifndef __int8_t_defined
80984 #define __int8_t_defined
80985 #ifndef int8_t
80986 typedef $acx_cv_type_int8_t int8_t;
80987 #endif
80988 #endif
80989 #endif
80991 #ifndef _INT16_T
80992 #define _INT16_T
80993 #ifndef __int16_t_defined
80994 #define __int16_t_defined
80995 #ifndef int16_t
80996 typedef $acx_cv_type_int16_t int16_t;
80997 #endif
80998 #endif
80999 #endif
81001 #ifndef _INT32_T
81002 #define _INT32_T
81003 #ifndef __int32_t_defined
81004 #define __int32_t_defined
81005 #ifndef int32_t
81006 typedef $acx_cv_type_int32_t int32_t;
81007 #endif
81008 #endif
81009 #endif
81011 elif test "$ac_cv_type_u_int32_t" = yes; then
81012 sed 's/^ *//' >> tmp-stdint.h <<EOF
81014 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
81015 #ifndef _INT8_T
81016 #define _INT8_T
81017 #endif
81018 #ifndef _INT16_T
81019 #define _INT16_T
81020 #endif
81021 #ifndef _INT32_T
81022 #define _INT32_T
81023 #endif
81025 #ifndef _UINT8_T
81026 #define _UINT8_T
81027 #ifndef __uint8_t_defined
81028 #define __uint8_t_defined
81029 #ifndef uint8_t
81030 typedef u_int8_t uint8_t;
81031 #endif
81032 #endif
81033 #endif
81035 #ifndef _UINT16_T
81036 #define _UINT16_T
81037 #ifndef __uint16_t_defined
81038 #define __uint16_t_defined
81039 #ifndef uint16_t
81040 typedef u_int16_t uint16_t;
81041 #endif
81042 #endif
81043 #endif
81045 #ifndef _UINT32_T
81046 #define _UINT32_T
81047 #ifndef __uint32_t_defined
81048 #define __uint32_t_defined
81049 #ifndef uint32_t
81050 typedef u_int32_t uint32_t;
81051 #endif
81052 #endif
81053 #endif
81055 else
81056 sed 's/^ *//' >> tmp-stdint.h <<EOF
81058 /* Some systems have guard macros to prevent redefinitions, define them. */
81059 #ifndef _INT8_T
81060 #define _INT8_T
81061 #endif
81062 #ifndef _INT16_T
81063 #define _INT16_T
81064 #endif
81065 #ifndef _INT32_T
81066 #define _INT32_T
81067 #endif
81068 #ifndef _UINT8_T
81069 #define _UINT8_T
81070 #endif
81071 #ifndef _UINT16_T
81072 #define _UINT16_T
81073 #endif
81074 #ifndef _UINT32_T
81075 #define _UINT32_T
81076 #endif
81080 # ------------- done basic int types, emit int64_t types ------------
81081 if test "$ac_cv_type_uint64_t" = yes; then
81082 sed 's/^ *//' >> tmp-stdint.h <<EOF
81084 /* system headers have good uint64_t and int64_t */
81085 #ifndef _INT64_T
81086 #define _INT64_T
81087 #endif
81088 #ifndef _UINT64_T
81089 #define _UINT64_T
81090 #endif
81092 elif test "$ac_cv_type_u_int64_t" = yes; then
81093 sed 's/^ *//' >> tmp-stdint.h <<EOF
81095 /* system headers have an u_int64_t (and int64_t) */
81096 #ifndef _INT64_T
81097 #define _INT64_T
81098 #endif
81099 #ifndef _UINT64_T
81100 #define _UINT64_T
81101 #ifndef __uint64_t_defined
81102 #define __uint64_t_defined
81103 #ifndef uint64_t
81104 typedef u_int64_t uint64_t;
81105 #endif
81106 #endif
81107 #endif
81109 elif test -n "$acx_cv_type_int64_t"; then
81110 sed 's/^ *//' >> tmp-stdint.h <<EOF
81112 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
81113 #ifndef _INT64_T
81114 #define _INT64_T
81115 #ifndef int64_t
81116 typedef $acx_cv_type_int64_t int64_t;
81117 #endif
81118 #endif
81119 #ifndef _UINT64_T
81120 #define _UINT64_T
81121 #ifndef __uint64_t_defined
81122 #define __uint64_t_defined
81123 #ifndef uint64_t
81124 typedef unsigned $acx_cv_type_int64_t uint64_t;
81125 #endif
81126 #endif
81127 #endif
81129 else
81130 sed 's/^ *//' >> tmp-stdint.h <<EOF
81132 /* some common heuristics for int64_t, using compiler-specific tests */
81133 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
81134 #ifndef _INT64_T
81135 #define _INT64_T
81136 #ifndef __int64_t_defined
81137 #ifndef int64_t
81138 typedef long long int64_t;
81139 #endif
81140 #endif
81141 #endif
81142 #ifndef _UINT64_T
81143 #define _UINT64_T
81144 #ifndef uint64_t
81145 typedef unsigned long long uint64_t;
81146 #endif
81147 #endif
81149 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
81150 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
81151 does not implement __extension__. But that compiler doesn't define
81152 __GNUC_MINOR__. */
81153 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
81154 # define __extension__
81155 # endif
81157 # ifndef _INT64_T
81158 # define _INT64_T
81159 # ifndef int64_t
81160 __extension__ typedef long long int64_t;
81161 # endif
81162 # endif
81163 # ifndef _UINT64_T
81164 # define _UINT64_T
81165 # ifndef uint64_t
81166 __extension__ typedef unsigned long long uint64_t;
81167 # endif
81168 # endif
81170 #elif !defined __STRICT_ANSI__
81171 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
81173 # ifndef _INT64_T
81174 # define _INT64_T
81175 # ifndef int64_t
81176 typedef __int64 int64_t;
81177 # endif
81178 # endif
81179 # ifndef _UINT64_T
81180 # define _UINT64_T
81181 # ifndef uint64_t
81182 typedef unsigned __int64 uint64_t;
81183 # endif
81184 # endif
81185 # endif /* compiler */
81187 #endif /* ANSI version */
81191 # ------------- done int64_t types, emit intptr types ------------
81192 if test "$ac_cv_type_uintptr_t" != yes; then
81193 sed 's/^ *//' >> tmp-stdint.h <<EOF
81195 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
81196 #ifndef __uintptr_t_defined
81197 #ifndef uintptr_t
81198 typedef u$acx_cv_type_intptr_t uintptr_t;
81199 #endif
81200 #endif
81201 #ifndef __intptr_t_defined
81202 #ifndef intptr_t
81203 typedef $acx_cv_type_intptr_t intptr_t;
81204 #endif
81205 #endif
81209 # ------------- done intptr types, emit int_least types ------------
81210 if test "$ac_cv_type_int_least32_t" != yes; then
81211 sed 's/^ *//' >> tmp-stdint.h <<EOF
81213 /* Define int_least types */
81214 typedef int8_t int_least8_t;
81215 typedef int16_t int_least16_t;
81216 typedef int32_t int_least32_t;
81217 #ifdef _INT64_T
81218 typedef int64_t int_least64_t;
81219 #endif
81221 typedef uint8_t uint_least8_t;
81222 typedef uint16_t uint_least16_t;
81223 typedef uint32_t uint_least32_t;
81224 #ifdef _UINT64_T
81225 typedef uint64_t uint_least64_t;
81226 #endif
81230 # ------------- done intptr types, emit int_fast types ------------
81231 if test "$ac_cv_type_int_fast32_t" != yes; then
81232 sed 's/^ *//' >> tmp-stdint.h <<EOF
81234 /* Define int_fast types. short is often slow */
81235 typedef int8_t int_fast8_t;
81236 typedef int int_fast16_t;
81237 typedef int32_t int_fast32_t;
81238 #ifdef _INT64_T
81239 typedef int64_t int_fast64_t;
81240 #endif
81242 typedef uint8_t uint_fast8_t;
81243 typedef unsigned int uint_fast16_t;
81244 typedef uint32_t uint_fast32_t;
81245 #ifdef _UINT64_T
81246 typedef uint64_t uint_fast64_t;
81247 #endif
81251 if test "$ac_cv_type_uintmax_t" != yes; then
81252 sed 's/^ *//' >> tmp-stdint.h <<EOF
81254 /* Define intmax based on what we found */
81255 #ifndef intmax_t
81256 #ifdef _INT64_T
81257 typedef int64_t intmax_t;
81258 #else
81259 typedef long intmax_t;
81260 #endif
81261 #endif
81262 #ifndef uintmax_t
81263 #ifdef _UINT64_T
81264 typedef uint64_t uintmax_t;
81265 #else
81266 typedef unsigned long uintmax_t;
81267 #endif
81268 #endif
81272 sed 's/^ *//' >> tmp-stdint.h <<EOF
81274 #endif /* GCC_GENERATED_STDINT_H */
81277 if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
81278 rm -f tmp-stdint.h
81279 else
81280 mv -f tmp-stdint.h include/gstdint.h
81284 "scripts/testsuite_flags":F) chmod +x scripts/testsuite_flags ;;
81285 "scripts/extract_symvers":F) chmod +x scripts/extract_symvers ;;
81286 "include/Makefile":F) cat > vpsed$$ << \_EOF
81287 s!`test -f '$<' || echo '$(srcdir)/'`!!
81288 _EOF
81289 sed -f vpsed$$ $ac_file > tmp$$
81290 mv tmp$$ $ac_file
81291 rm vpsed$$
81292 echo 'MULTISUBDIR =' >> $ac_file
81293 ml_norecursion=yes
81294 . ${multi_basedir}/config-ml.in
81295 { ml_norecursion=; unset ml_norecursion;}
81297 "libsupc++/Makefile":F) cat > vpsed$$ << \_EOF
81298 s!`test -f '$<' || echo '$(srcdir)/'`!!
81299 _EOF
81300 sed -f vpsed$$ $ac_file > tmp$$
81301 mv tmp$$ $ac_file
81302 rm vpsed$$
81303 echo 'MULTISUBDIR =' >> $ac_file
81304 ml_norecursion=yes
81305 . ${multi_basedir}/config-ml.in
81306 { ml_norecursion=; unset ml_norecursion;}
81308 "src/Makefile":F) cat > vpsed$$ << \_EOF
81309 s!`test -f '$<' || echo '$(srcdir)/'`!!
81310 _EOF
81311 sed -f vpsed$$ $ac_file > tmp$$
81312 mv tmp$$ $ac_file
81313 rm vpsed$$
81314 echo 'MULTISUBDIR =' >> $ac_file
81315 ml_norecursion=yes
81316 . ${multi_basedir}/config-ml.in
81317 { ml_norecursion=; unset ml_norecursion;}
81319 "src/c++98/Makefile":F) cat > vpsed$$ << \_EOF
81320 s!`test -f '$<' || echo '$(srcdir)/'`!!
81321 _EOF
81322 sed -f vpsed$$ $ac_file > tmp$$
81323 mv tmp$$ $ac_file
81324 rm vpsed$$
81325 echo 'MULTISUBDIR =' >> $ac_file
81326 ml_norecursion=yes
81327 . ${multi_basedir}/config-ml.in
81328 { ml_norecursion=; unset ml_norecursion;}
81330 "src/c++11/Makefile":F) cat > vpsed$$ << \_EOF
81331 s!`test -f '$<' || echo '$(srcdir)/'`!!
81332 _EOF
81333 sed -f vpsed$$ $ac_file > tmp$$
81334 mv tmp$$ $ac_file
81335 rm vpsed$$
81336 echo 'MULTISUBDIR =' >> $ac_file
81337 ml_norecursion=yes
81338 . ${multi_basedir}/config-ml.in
81339 { ml_norecursion=; unset ml_norecursion;}
81341 "src/c++17/Makefile":F) cat > vpsed$$ << \_EOF
81342 s!`test -f '$<' || echo '$(srcdir)/'`!!
81343 _EOF
81344 sed -f vpsed$$ $ac_file > tmp$$
81345 mv tmp$$ $ac_file
81346 rm vpsed$$
81347 echo 'MULTISUBDIR =' >> $ac_file
81348 ml_norecursion=yes
81349 . ${multi_basedir}/config-ml.in
81350 { ml_norecursion=; unset ml_norecursion;}
81352 "src/c++20/Makefile":F) cat > vpsed$$ << \_EOF
81353 s!`test -f '$<' || echo '$(srcdir)/'`!!
81354 _EOF
81355 sed -f vpsed$$ $ac_file > tmp$$
81356 mv tmp$$ $ac_file
81357 rm vpsed$$
81358 echo 'MULTISUBDIR =' >> $ac_file
81359 ml_norecursion=yes
81360 . ${multi_basedir}/config-ml.in
81361 { ml_norecursion=; unset ml_norecursion;}
81363 "src/filesystem/Makefile":F) cat > vpsed$$ << \_EOF
81364 s!`test -f '$<' || echo '$(srcdir)/'`!!
81365 _EOF
81366 sed -f vpsed$$ $ac_file > tmp$$
81367 mv tmp$$ $ac_file
81368 rm vpsed$$
81369 echo 'MULTISUBDIR =' >> $ac_file
81370 ml_norecursion=yes
81371 . ${multi_basedir}/config-ml.in
81372 { ml_norecursion=; unset ml_norecursion;}
81374 "doc/Makefile":F) cat > vpsed$$ << \_EOF
81375 s!`test -f '$<' || echo '$(srcdir)/'`!!
81376 _EOF
81377 sed -f vpsed$$ $ac_file > tmp$$
81378 mv tmp$$ $ac_file
81379 rm vpsed$$
81380 echo 'MULTISUBDIR =' >> $ac_file
81381 ml_norecursion=yes
81382 . ${multi_basedir}/config-ml.in
81383 { ml_norecursion=; unset ml_norecursion;}
81385 "po/Makefile":F) cat > vpsed$$ << \_EOF
81386 s!`test -f '$<' || echo '$(srcdir)/'`!!
81387 _EOF
81388 sed -f vpsed$$ $ac_file > tmp$$
81389 mv tmp$$ $ac_file
81390 rm vpsed$$
81391 echo 'MULTISUBDIR =' >> $ac_file
81392 ml_norecursion=yes
81393 . ${multi_basedir}/config-ml.in
81394 { ml_norecursion=; unset ml_norecursion;}
81396 "testsuite/Makefile":F) cat > vpsed$$ << \_EOF
81397 s!`test -f '$<' || echo '$(srcdir)/'`!!
81398 _EOF
81399 sed -f vpsed$$ $ac_file > tmp$$
81400 mv tmp$$ $ac_file
81401 rm vpsed$$
81402 echo 'MULTISUBDIR =' >> $ac_file
81403 ml_norecursion=yes
81404 . ${multi_basedir}/config-ml.in
81405 { ml_norecursion=; unset ml_norecursion;}
81407 "python/Makefile":F) cat > vpsed$$ << \_EOF
81408 s!`test -f '$<' || echo '$(srcdir)/'`!!
81409 _EOF
81410 sed -f vpsed$$ $ac_file > tmp$$
81411 mv tmp$$ $ac_file
81412 rm vpsed$$
81413 echo 'MULTISUBDIR =' >> $ac_file
81414 ml_norecursion=yes
81415 . ${multi_basedir}/config-ml.in
81416 { ml_norecursion=; unset ml_norecursion;}
81418 "generate-headers":C) (cd include && ${MAKE-make} pch_build= ) ;;
81420 esac
81421 done # for ac_tag
81424 as_fn_exit 0
81425 _ACEOF
81426 ac_clean_files=$ac_clean_files_save
81428 test $ac_write_fail = 0 ||
81429 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
81432 # configure is writing to config.log, and then calls config.status.
81433 # config.status does its own redirection, appending to config.log.
81434 # Unfortunately, on DOS this fails, as config.log is still kept open
81435 # by configure, so config.status won't be able to write to it; its
81436 # output is simply discarded. So we exec the FD to /dev/null,
81437 # effectively closing config.log, so it can be properly (re)opened and
81438 # appended to by config.status. When coming back to configure, we
81439 # need to make the FD available again.
81440 if test "$no_create" != yes; then
81441 ac_cs_success=:
81442 ac_config_status_args=
81443 test "$silent" = yes &&
81444 ac_config_status_args="$ac_config_status_args --quiet"
81445 exec 5>/dev/null
81446 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
81447 exec 5>>config.log
81448 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
81449 # would make configure fail if this is the last instruction.
81450 $ac_cs_success || as_fn_exit 1
81452 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
81453 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
81454 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}