aix: default to DWARF 4.
[official-gcc.git] / libstdc++-v3 / configure
bloba310e9feb6c319a7e9554eda60e0e35f88b3f8fe
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for package-unused version-unused.
6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18 emulate sh
19 NULLCMD=:
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
23 setopt NO_GLOB_SUBST
24 else
25 case `(set -o) 2>/dev/null` in #(
26 *posix*) :
27 set -o posix ;; #(
28 *) :
30 esac
34 as_nl='
36 export as_nl
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
45 as_echo='print -r --'
46 as_echo_n='print -rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo='printf %s\n'
49 as_echo_n='printf %s'
50 else
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53 as_echo_n='/usr/ucb/echo -n'
54 else
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56 as_echo_n_body='eval
57 arg=$1;
58 case $arg in #(
59 *"$as_nl"*)
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62 esac;
63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
65 export as_echo_n_body
66 as_echo_n='sh -c $as_echo_n_body as_echo'
68 export as_echo_body
69 as_echo='sh -c $as_echo_body as_echo'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
74 PATH_SEPARATOR=:
75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77 PATH_SEPARATOR=';'
82 # IFS
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
87 IFS=" "" $as_nl"
89 # Find who we are. Look in the path if we contain no directory separator.
90 as_myself=
91 case $0 in #((
92 *[\\/]* ) as_myself=$0 ;;
93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
94 for as_dir in $PATH
96 IFS=$as_save_IFS
97 test -z "$as_dir" && as_dir=.
98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
99 done
100 IFS=$as_save_IFS
103 esac
104 # We did not find ourselves, most probably we were run as `sh COMMAND'
105 # in which case we are not to be found in the path.
106 if test "x$as_myself" = x; then
107 as_myself=$0
109 if test ! -f "$as_myself"; then
110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
111 exit 1
114 # Unset variables that we do not need and which cause bugs (e.g. in
115 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
116 # suppresses any "Segmentation fault" message there. '((' could
117 # trigger a bug in pdksh 5.2.14.
118 for as_var in BASH_ENV ENV MAIL MAILPATH
119 do eval test x\${$as_var+set} = xset \
120 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
121 done
122 PS1='$ '
123 PS2='> '
124 PS4='+ '
126 # NLS nuisances.
127 LC_ALL=C
128 export LC_ALL
129 LANGUAGE=C
130 export LANGUAGE
132 # CDPATH.
133 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
135 # Use a proper internal environment variable to ensure we don't fall
136 # into an infinite loop, continuously re-executing ourselves.
137 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
138 _as_can_reexec=no; export _as_can_reexec;
139 # We cannot yet assume a decent shell, so we have to provide a
140 # neutralization value for shells without unset; and this also
141 # works around shells that cannot unset nonexistent variables.
142 # Preserve -v and -x to the replacement shell.
143 BASH_ENV=/dev/null
144 ENV=/dev/null
145 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
146 case $- in # ((((
147 *v*x* | *x*v* ) as_opts=-vx ;;
148 *v* ) as_opts=-v ;;
149 *x* ) as_opts=-x ;;
150 * ) as_opts= ;;
151 esac
152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153 # Admittedly, this is quite paranoid, since all the known shells bail
154 # out after a failed `exec'.
155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
156 as_fn_exit 255
158 # We don't want this to propagate to other subprocesses.
159 { _as_can_reexec=; unset _as_can_reexec;}
160 if test "x$CONFIG_SHELL" = x; then
161 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
162 emulate sh
163 NULLCMD=:
164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165 # is contrary to our usage. Disable this feature.
166 alias -g '\${1+\"\$@\"}'='\"\$@\"'
167 setopt NO_GLOB_SUBST
168 else
169 case \`(set -o) 2>/dev/null\` in #(
170 *posix*) :
171 set -o posix ;; #(
172 *) :
174 esac
177 as_required="as_fn_return () { (exit \$1); }
178 as_fn_success () { as_fn_return 0; }
179 as_fn_failure () { as_fn_return 1; }
180 as_fn_ret_success () { return 0; }
181 as_fn_ret_failure () { return 1; }
183 exitcode=0
184 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
190 else
191 exitcode=1; echo positional parameters were not saved.
193 test x\$exitcode = x0 || exit 1
194 test -x / || exit 1"
195 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
196 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
199 test \$(( 1 + 1 )) = 2 || exit 1
201 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
202 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
203 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
204 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
205 PATH=/empty FPATH=/empty; export PATH FPATH
206 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
207 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
208 if (eval "$as_required") 2>/dev/null; then :
209 as_have_required=yes
210 else
211 as_have_required=no
213 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
215 else
216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
217 as_found=false
218 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
220 IFS=$as_save_IFS
221 test -z "$as_dir" && as_dir=.
222 as_found=:
223 case $as_dir in #(
225 for as_base in sh bash ksh sh5; do
226 # Try only shells that exist, to save several forks.
227 as_shell=$as_dir/$as_base
228 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
229 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
230 CONFIG_SHELL=$as_shell as_have_required=yes
231 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
232 break 2
235 done;;
236 esac
237 as_found=false
238 done
239 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
240 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
241 CONFIG_SHELL=$SHELL as_have_required=yes
242 fi; }
243 IFS=$as_save_IFS
246 if test "x$CONFIG_SHELL" != x; then :
247 export CONFIG_SHELL
248 # We cannot yet assume a decent shell, so we have to provide a
249 # neutralization value for shells without unset; and this also
250 # works around shells that cannot unset nonexistent variables.
251 # Preserve -v and -x to the replacement shell.
252 BASH_ENV=/dev/null
253 ENV=/dev/null
254 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
255 case $- in # ((((
256 *v*x* | *x*v* ) as_opts=-vx ;;
257 *v* ) as_opts=-v ;;
258 *x* ) as_opts=-x ;;
259 * ) as_opts= ;;
260 esac
261 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
262 # Admittedly, this is quite paranoid, since all the known shells bail
263 # out after a failed `exec'.
264 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
265 exit 255
268 if test x$as_have_required = xno; then :
269 $as_echo "$0: This script requires a shell more modern than all"
270 $as_echo "$0: the shells that I found on your system."
271 if test x${ZSH_VERSION+set} = xset ; then
272 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
273 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
274 else
275 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
276 $0: including any error possibly output before this
277 $0: message. Then install a modern shell, or manually run
278 $0: the script under such a shell if you do have one."
280 exit 1
284 SHELL=${CONFIG_SHELL-/bin/sh}
285 export SHELL
286 # Unset more variables known to interfere with behavior of common tools.
287 CLICOLOR_FORCE= GREP_OPTIONS=
288 unset CLICOLOR_FORCE GREP_OPTIONS
290 ## --------------------- ##
291 ## M4sh Shell Functions. ##
292 ## --------------------- ##
293 # as_fn_unset VAR
294 # ---------------
295 # Portably unset VAR.
296 as_fn_unset ()
298 { eval $1=; unset $1;}
300 as_unset=as_fn_unset
302 # as_fn_set_status STATUS
303 # -----------------------
304 # Set $? to STATUS, without forking.
305 as_fn_set_status ()
307 return $1
308 } # as_fn_set_status
310 # as_fn_exit STATUS
311 # -----------------
312 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
313 as_fn_exit ()
315 set +e
316 as_fn_set_status $1
317 exit $1
318 } # as_fn_exit
320 # as_fn_mkdir_p
321 # -------------
322 # Create "$as_dir" as a directory, including parents if necessary.
323 as_fn_mkdir_p ()
326 case $as_dir in #(
327 -*) as_dir=./$as_dir;;
328 esac
329 test -d "$as_dir" || eval $as_mkdir_p || {
330 as_dirs=
331 while :; do
332 case $as_dir in #(
333 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
334 *) as_qdir=$as_dir;;
335 esac
336 as_dirs="'$as_qdir' $as_dirs"
337 as_dir=`$as_dirname -- "$as_dir" ||
338 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
339 X"$as_dir" : 'X\(//\)[^/]' \| \
340 X"$as_dir" : 'X\(//\)$' \| \
341 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
342 $as_echo X"$as_dir" |
343 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
344 s//\1/
347 /^X\(\/\/\)[^/].*/{
348 s//\1/
351 /^X\(\/\/\)$/{
352 s//\1/
355 /^X\(\/\).*/{
356 s//\1/
359 s/.*/./; q'`
360 test -d "$as_dir" && break
361 done
362 test -z "$as_dirs" || eval "mkdir $as_dirs"
363 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
366 } # as_fn_mkdir_p
368 # as_fn_executable_p FILE
369 # -----------------------
370 # Test if FILE is an executable regular file.
371 as_fn_executable_p ()
373 test -f "$1" && test -x "$1"
374 } # as_fn_executable_p
375 # as_fn_append VAR VALUE
376 # ----------------------
377 # Append the text in VALUE to the end of the definition contained in VAR. Take
378 # advantage of any shell optimizations that allow amortized linear growth over
379 # repeated appends, instead of the typical quadratic growth present in naive
380 # implementations.
381 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
382 eval 'as_fn_append ()
384 eval $1+=\$2
386 else
387 as_fn_append ()
389 eval $1=\$$1\$2
391 fi # as_fn_append
393 # as_fn_arith ARG...
394 # ------------------
395 # Perform arithmetic evaluation on the ARGs, and store the result in the
396 # global $as_val. Take advantage of shells that can avoid forks. The arguments
397 # must be portable across $(()) and expr.
398 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
399 eval 'as_fn_arith ()
401 as_val=$(( $* ))
403 else
404 as_fn_arith ()
406 as_val=`expr "$@" || test $? -eq 1`
408 fi # as_fn_arith
411 # as_fn_error STATUS ERROR [LINENO LOG_FD]
412 # ----------------------------------------
413 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
414 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
415 # script with STATUS, using 1 if that was 0.
416 as_fn_error ()
418 as_status=$1; test $as_status -eq 0 && as_status=1
419 if test "$4"; then
420 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
421 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
423 $as_echo "$as_me: error: $2" >&2
424 as_fn_exit $as_status
425 } # as_fn_error
427 if expr a : '\(a\)' >/dev/null 2>&1 &&
428 test "X`expr 00001 : '.*\(...\)'`" = X001; then
429 as_expr=expr
430 else
431 as_expr=false
434 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
435 as_basename=basename
436 else
437 as_basename=false
440 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
441 as_dirname=dirname
442 else
443 as_dirname=false
446 as_me=`$as_basename -- "$0" ||
447 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
448 X"$0" : 'X\(//\)$' \| \
449 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
450 $as_echo X/"$0" |
451 sed '/^.*\/\([^/][^/]*\)\/*$/{
452 s//\1/
455 /^X\/\(\/\/\)$/{
456 s//\1/
459 /^X\/\(\/\).*/{
460 s//\1/
463 s/.*/./; q'`
465 # Avoid depending upon Character Ranges.
466 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
467 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
468 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
469 as_cr_digits='0123456789'
470 as_cr_alnum=$as_cr_Letters$as_cr_digits
473 as_lineno_1=$LINENO as_lineno_1a=$LINENO
474 as_lineno_2=$LINENO as_lineno_2a=$LINENO
475 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
476 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
477 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
478 sed -n '
480 /[$]LINENO/=
481 ' <$as_myself |
482 sed '
483 s/[$]LINENO.*/&-/
484 t lineno
486 :lineno
488 :loop
489 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
490 t loop
491 s/-\n.*//
492 ' >$as_me.lineno &&
493 chmod +x "$as_me.lineno" ||
494 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
496 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
497 # already done that, so ensure we don't try to do so again and fall
498 # in an infinite loop. This has already happened in practice.
499 _as_can_reexec=no; export _as_can_reexec
500 # Don't try to exec as it changes $[0], causing all sort of problems
501 # (the dirname of $[0] is not the place where we might find the
502 # original and so on. Autoconf is especially sensitive to this).
503 . "./$as_me.lineno"
504 # Exit status is that of the last command.
505 exit
508 ECHO_C= ECHO_N= ECHO_T=
509 case `echo -n x` in #(((((
510 -n*)
511 case `echo 'xy\c'` in
512 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
513 xy) ECHO_C='\c';;
514 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
515 ECHO_T=' ';;
516 esac;;
518 ECHO_N='-n';;
519 esac
521 rm -f conf$$ conf$$.exe conf$$.file
522 if test -d conf$$.dir; then
523 rm -f conf$$.dir/conf$$.file
524 else
525 rm -f conf$$.dir
526 mkdir conf$$.dir 2>/dev/null
528 if (echo >conf$$.file) 2>/dev/null; then
529 if ln -s conf$$.file conf$$ 2>/dev/null; then
530 as_ln_s='ln -s'
531 # ... but there are two gotchas:
532 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
533 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
534 # In both cases, we have to default to `cp -pR'.
535 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
536 as_ln_s='cp -pR'
537 elif ln conf$$.file conf$$ 2>/dev/null; then
538 as_ln_s=ln
539 else
540 as_ln_s='cp -pR'
542 else
543 as_ln_s='cp -pR'
545 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
546 rmdir conf$$.dir 2>/dev/null
548 if mkdir -p . 2>/dev/null; then
549 as_mkdir_p='mkdir -p "$as_dir"'
550 else
551 test -d ./-p && rmdir ./-p
552 as_mkdir_p=false
555 as_test_x='test -x'
556 as_executable_p=as_fn_executable_p
558 # Sed expression to map a string onto a valid CPP name.
559 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
561 # Sed expression to map a string onto a valid variable name.
562 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
564 SHELL=${CONFIG_SHELL-/bin/sh}
567 test -n "$DJDIR" || exec 7<&0 </dev/null
568 exec 6>&1
570 # Name of the host.
571 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
572 # so uname gets run too.
573 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
576 # Initializations.
578 ac_default_prefix=/usr/local
579 ac_clean_files=
580 ac_config_libobj_dir=.
581 LIBOBJS=
582 cross_compiling=no
583 subdirs=
584 MFLAGS=
585 MAKEFLAGS=
587 # Identity of this package.
588 PACKAGE_NAME='package-unused'
589 PACKAGE_TARNAME='libstdc++'
590 PACKAGE_VERSION='version-unused'
591 PACKAGE_STRING='package-unused version-unused'
592 PACKAGE_BUGREPORT=''
593 PACKAGE_URL=''
595 ac_unique_file="src/shared/hashtable-aux.cc"
596 # Factoring default headers for most tests.
597 ac_includes_default="\
598 #include <stdio.h>
599 #ifdef HAVE_SYS_TYPES_H
600 # include <sys/types.h>
601 #endif
602 #ifdef HAVE_SYS_STAT_H
603 # include <sys/stat.h>
604 #endif
605 #ifdef STDC_HEADERS
606 # include <stdlib.h>
607 # include <stddef.h>
608 #else
609 # ifdef HAVE_STDLIB_H
610 # include <stdlib.h>
611 # endif
612 #endif
613 #ifdef HAVE_STRING_H
614 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
615 # include <memory.h>
616 # endif
617 # include <string.h>
618 #endif
619 #ifdef HAVE_STRINGS_H
620 # include <strings.h>
621 #endif
622 #ifdef HAVE_INTTYPES_H
623 # include <inttypes.h>
624 #endif
625 #ifdef HAVE_STDINT_H
626 # include <stdint.h>
627 #endif
628 #ifdef HAVE_UNISTD_H
629 # include <unistd.h>
630 #endif"
632 ac_subst_vars='am__EXEEXT_FALSE
633 am__EXEEXT_TRUE
634 LTLIBOBJS
635 LIBOBJS
636 get_gcc_base_ver
637 WARN_FLAGS
638 OPTIMIZE_CXXFLAGS
639 TOPLEVEL_INCLUDES
640 GLIBCXX_INCLUDES
641 glibcxx_toolexeclibdir
642 glibcxx_toolexecdir
643 gxx_include_dir
644 glibcxx_prefixdir
645 EXTRA_CFLAGS
646 tmake_file
647 CPU_OPT_BITS_RANDOM
648 CPU_OPT_EXT_RANDOM
649 ERROR_CONSTANTS_SRCDIR
650 OS_INC_SRCDIR
651 ABI_TWEAKS_SRCDIR
652 CPU_DEFINES_SRCDIR
653 ATOMIC_FLAGS
654 ATOMIC_WORD_SRCDIR
655 ATOMICITY_SRCDIR
656 INCLUDE_DIR_NOTPARALLEL_FALSE
657 INCLUDE_DIR_NOTPARALLEL_TRUE
658 BUILD_PDF_FALSE
659 BUILD_PDF_TRUE
660 PDFLATEX
661 DBLATEX
662 BUILD_MAN_FALSE
663 BUILD_MAN_TRUE
664 BUILD_HTML_FALSE
665 BUILD_HTML_TRUE
666 BUILD_XML_FALSE
667 BUILD_XML_TRUE
668 BUILD_EPUB_FALSE
669 BUILD_EPUB_TRUE
670 XSL_STYLE_DIR
671 XMLLINT
672 XSLTPROC
673 XMLCATALOG
675 DOXYGEN
676 BUILD_INFO_FALSE
677 BUILD_INFO_TRUE
678 ENABLE_FILESYSTEM_TS_FALSE
679 ENABLE_FILESYSTEM_TS_TRUE
680 baseline_subdir_switch
681 baseline_dir
682 HWCAP_CFLAGS
683 GLIBCXX_LDBL_ALT128_COMPAT_FALSE
684 GLIBCXX_LDBL_ALT128_COMPAT_TRUE
685 GLIBCXX_LDBL_COMPAT_FALSE
686 GLIBCXX_LDBL_COMPAT_TRUE
687 LONG_DOUBLE_ALT128_COMPAT_FLAGS
688 LONG_DOUBLE_128_FLAGS
689 LONG_DOUBLE_COMPAT_FLAGS
690 ENABLE_CXX11_ABI_FALSE
691 ENABLE_CXX11_ABI_TRUE
692 glibcxx_cxx98_abi
693 ENABLE_DUAL_ABI_FALSE
694 ENABLE_DUAL_ABI_TRUE
695 ENABLE_VISIBILITY_FALSE
696 ENABLE_VISIBILITY_TRUE
697 libtool_VERSION
698 ENABLE_SYMVERS_SUN_FALSE
699 ENABLE_SYMVERS_SUN_TRUE
700 ENABLE_SYMVERS_DARWIN_FALSE
701 ENABLE_SYMVERS_DARWIN_TRUE
702 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE
703 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE
704 ENABLE_SYMVERS_GNU_FALSE
705 ENABLE_SYMVERS_GNU_TRUE
706 ENABLE_SYMVERS_FALSE
707 ENABLE_SYMVERS_TRUE
708 port_specific_symbol_files
709 SYMVER_FILE
710 CXXFILT
711 LTLIBICONV
712 LIBICONV
713 OPT_LDFLAGS
714 SECTION_LDFLAGS
715 GLIBCXX_LIBS
716 ENABLE_VTABLE_VERIFY_FALSE
717 ENABLE_VTABLE_VERIFY_TRUE
718 VTV_CYGMIN_FALSE
719 VTV_CYGMIN_TRUE
720 VTV_CXXLINKFLAGS
721 VTV_PCH_CXXFLAGS
722 VTV_CXXFLAGS
723 ENABLE_WERROR_FALSE
724 ENABLE_WERROR_TRUE
725 ENABLE_PYTHONDIR_FALSE
726 ENABLE_PYTHONDIR_TRUE
727 python_mod_dir
728 ENABLE_EXTERN_TEMPLATE_FALSE
729 ENABLE_EXTERN_TEMPLATE_TRUE
730 EXTRA_CXX_FLAGS
731 GLIBCXX_BUILD_DEBUG_FALSE
732 GLIBCXX_BUILD_DEBUG_TRUE
733 DEBUG_FLAGS
734 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE
735 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE
736 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE
737 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE
738 GLIBCXX_C_HEADERS_C_STD_FALSE
739 GLIBCXX_C_HEADERS_C_STD_TRUE
740 GLIBCXX_C_HEADERS_C_FALSE
741 GLIBCXX_C_HEADERS_C_TRUE
742 C_INCLUDE_DIR
743 ALLOCATOR_NAME
744 ALLOCATOR_H
745 ENABLE_ALLOCATOR_NEW_FALSE
746 ENABLE_ALLOCATOR_NEW_TRUE
747 CLOCALE_INTERNAL_H
748 CLOCALE_CC
749 CTIME_CC
750 CTIME_H
751 CNUMERIC_CC
752 CMONEY_CC
753 CMESSAGES_CC
754 CCTYPE_CC
755 CCOLLATE_CC
756 CCODECVT_CC
757 CMESSAGES_H
758 CLOCALE_H
759 USE_NLS
760 glibcxx_localedir
761 glibcxx_POFILES
762 glibcxx_MOFILES
763 check_msgfmt
764 BASIC_FILE_CC
765 BASIC_FILE_H
766 CSTDIO_H
767 SECTION_FLAGS
768 ENABLE_FLOAT128_FALSE
769 ENABLE_FLOAT128_TRUE
770 thread_header
771 glibcxx_PCHFLAGS
772 GLIBCXX_BUILD_PCH_FALSE
773 GLIBCXX_BUILD_PCH_TRUE
774 GLIBCXX_HOSTED_FALSE
775 GLIBCXX_HOSTED_TRUE
776 glibcxx_compiler_shared_flag
777 glibcxx_compiler_pic_flag
778 glibcxx_lt_pic_flag
779 enable_static
780 enable_shared
781 lt_host_flags
782 CXXCPP
783 OTOOL64
784 OTOOL
785 LIPO
786 NMEDIT
787 DSYMUTIL
788 OBJDUMP
790 ac_ct_DUMPBIN
791 DUMPBIN
793 FGREP
795 LIBTOOL
796 EGREP
797 GREP
799 MAINT
800 MAINTAINER_MODE_FALSE
801 MAINTAINER_MODE_TRUE
802 RANLIB
805 LN_S
806 toplevel_srcdir
807 toplevel_builddir
808 glibcxx_srcdir
809 glibcxx_builddir
810 ac_ct_CXX
811 CXXFLAGS
813 OBJEXT
814 EXEEXT
815 ac_ct_CC
816 CPPFLAGS
817 LDFLAGS
818 CFLAGS
820 AM_BACKSLASH
821 AM_DEFAULT_VERBOSITY
822 AM_DEFAULT_V
823 AM_V
824 am__untar
825 am__tar
826 AMTAR
827 am__leading_dot
828 SET_MAKE
830 mkdir_p
831 MKDIR_P
832 INSTALL_STRIP_PROGRAM
833 STRIP
834 install_sh
835 MAKEINFO
836 AUTOHEADER
837 AUTOMAKE
838 AUTOCONF
839 ACLOCAL
840 VERSION
841 PACKAGE
842 CYGPATH_W
843 am__isrc
844 INSTALL_DATA
845 INSTALL_SCRIPT
846 INSTALL_PROGRAM
847 target_os
848 target_vendor
849 target_cpu
850 target
851 host_os
852 host_vendor
853 host_cpu
854 host
855 build_os
856 build_vendor
857 build_cpu
858 build
859 multi_basedir
860 target_alias
861 host_alias
862 build_alias
863 LIBS
864 ECHO_T
865 ECHO_N
866 ECHO_C
867 DEFS
868 mandir
869 localedir
870 libdir
871 psdir
872 pdfdir
873 dvidir
874 htmldir
875 infodir
876 docdir
877 oldincludedir
878 includedir
879 localstatedir
880 sharedstatedir
881 sysconfdir
882 datadir
883 datarootdir
884 libexecdir
885 sbindir
886 bindir
887 program_transform_name
888 prefix
889 exec_prefix
890 PACKAGE_URL
891 PACKAGE_BUGREPORT
892 PACKAGE_STRING
893 PACKAGE_VERSION
894 PACKAGE_TARNAME
895 PACKAGE_NAME
896 PATH_SEPARATOR
897 SHELL'
898 ac_subst_files=''
899 ac_user_opts='
900 enable_option_checking
901 enable_multilib
902 enable_silent_rules
903 enable_largefile
904 with_target_subdir
905 with_cross_host
906 with_newlib
907 enable_maintainer_mode
908 enable_shared
909 enable_static
910 with_pic
911 enable_fast_install
912 with_gnu_ld
913 enable_libtool_lock
914 enable_hosted_libstdcxx
915 enable_libstdcxx_verbose
916 enable_libstdcxx_pch
917 with_libstdcxx_lock_policy
918 enable_cstdio
919 enable_clocale
920 enable_nls
921 enable_libstdcxx_allocator
922 enable_cheaders_obsolete
923 enable_cheaders
924 enable_long_long
925 enable_wchar_t
926 enable_c99
927 enable_concept_checks
928 enable_libstdcxx_debug_flags
929 enable_libstdcxx_debug
930 enable_cxx_flags
931 enable_fully_dynamic_string
932 enable_extern_template
933 with_python_dir
934 enable_werror
935 enable_vtable_verify
936 enable_libstdcxx_time
937 enable_tls
938 enable_rpath
939 with_libiconv_prefix
940 with_libiconv_type
941 with_system_libunwind
942 enable_linux_futex
943 enable_symvers
944 enable_libstdcxx_visibility
945 enable_libstdcxx_dual_abi
946 with_default_libstdcxx_abi
947 enable_libstdcxx_threads
948 enable_libstdcxx_filesystem_ts
949 enable_cet
950 with_gxx_include_dir
951 enable_version_specific_runtime_libs
952 with_toolexeclibdir
953 with_gcc_major_version_only
955 ac_precious_vars='build_alias
956 host_alias
957 target_alias
959 CFLAGS
960 LDFLAGS
961 LIBS
962 CPPFLAGS
964 CXXFLAGS
967 CXXCPP
968 CXXFILT'
971 # Initialize some variables set by options.
972 ac_init_help=
973 ac_init_version=false
974 ac_unrecognized_opts=
975 ac_unrecognized_sep=
976 # The variables have the same names as the options, with
977 # dashes changed to underlines.
978 cache_file=/dev/null
979 exec_prefix=NONE
980 no_create=
981 no_recursion=
982 prefix=NONE
983 program_prefix=NONE
984 program_suffix=NONE
985 program_transform_name=s,x,x,
986 silent=
987 site=
988 srcdir=
989 verbose=
990 x_includes=NONE
991 x_libraries=NONE
993 # Installation directory options.
994 # These are left unexpanded so users can "make install exec_prefix=/foo"
995 # and all the variables that are supposed to be based on exec_prefix
996 # by default will actually change.
997 # Use braces instead of parens because sh, perl, etc. also accept them.
998 # (The list follows the same order as the GNU Coding Standards.)
999 bindir='${exec_prefix}/bin'
1000 sbindir='${exec_prefix}/sbin'
1001 libexecdir='${exec_prefix}/libexec'
1002 datarootdir='${prefix}/share'
1003 datadir='${datarootdir}'
1004 sysconfdir='${prefix}/etc'
1005 sharedstatedir='${prefix}/com'
1006 localstatedir='${prefix}/var'
1007 includedir='${prefix}/include'
1008 oldincludedir='/usr/include'
1009 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1010 infodir='${datarootdir}/info'
1011 htmldir='${docdir}'
1012 dvidir='${docdir}'
1013 pdfdir='${docdir}'
1014 psdir='${docdir}'
1015 libdir='${exec_prefix}/lib'
1016 localedir='${datarootdir}/locale'
1017 mandir='${datarootdir}/man'
1019 ac_prev=
1020 ac_dashdash=
1021 for ac_option
1023 # If the previous option needs an argument, assign it.
1024 if test -n "$ac_prev"; then
1025 eval $ac_prev=\$ac_option
1026 ac_prev=
1027 continue
1030 case $ac_option in
1031 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1032 *=) ac_optarg= ;;
1033 *) ac_optarg=yes ;;
1034 esac
1036 # Accept the important Cygnus configure options, so we can diagnose typos.
1038 case $ac_dashdash$ac_option in
1040 ac_dashdash=yes ;;
1042 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1043 ac_prev=bindir ;;
1044 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1045 bindir=$ac_optarg ;;
1047 -build | --build | --buil | --bui | --bu)
1048 ac_prev=build_alias ;;
1049 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1050 build_alias=$ac_optarg ;;
1052 -cache-file | --cache-file | --cache-fil | --cache-fi \
1053 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1054 ac_prev=cache_file ;;
1055 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1056 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1057 cache_file=$ac_optarg ;;
1059 --config-cache | -C)
1060 cache_file=config.cache ;;
1062 -datadir | --datadir | --datadi | --datad)
1063 ac_prev=datadir ;;
1064 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1065 datadir=$ac_optarg ;;
1067 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1068 | --dataroo | --dataro | --datar)
1069 ac_prev=datarootdir ;;
1070 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1071 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1072 datarootdir=$ac_optarg ;;
1074 -disable-* | --disable-*)
1075 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1076 # Reject names that are not valid shell variable names.
1077 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1078 as_fn_error $? "invalid feature name: $ac_useropt"
1079 ac_useropt_orig=$ac_useropt
1080 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1081 case $ac_user_opts in
1083 "enable_$ac_useropt"
1084 "*) ;;
1085 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1086 ac_unrecognized_sep=', ';;
1087 esac
1088 eval enable_$ac_useropt=no ;;
1090 -docdir | --docdir | --docdi | --doc | --do)
1091 ac_prev=docdir ;;
1092 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1093 docdir=$ac_optarg ;;
1095 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1096 ac_prev=dvidir ;;
1097 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1098 dvidir=$ac_optarg ;;
1100 -enable-* | --enable-*)
1101 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1102 # Reject names that are not valid shell variable names.
1103 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1104 as_fn_error $? "invalid feature name: $ac_useropt"
1105 ac_useropt_orig=$ac_useropt
1106 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1107 case $ac_user_opts in
1109 "enable_$ac_useropt"
1110 "*) ;;
1111 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1112 ac_unrecognized_sep=', ';;
1113 esac
1114 eval enable_$ac_useropt=\$ac_optarg ;;
1116 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1117 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1118 | --exec | --exe | --ex)
1119 ac_prev=exec_prefix ;;
1120 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1121 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1122 | --exec=* | --exe=* | --ex=*)
1123 exec_prefix=$ac_optarg ;;
1125 -gas | --gas | --ga | --g)
1126 # Obsolete; use --with-gas.
1127 with_gas=yes ;;
1129 -help | --help | --hel | --he | -h)
1130 ac_init_help=long ;;
1131 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1132 ac_init_help=recursive ;;
1133 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1134 ac_init_help=short ;;
1136 -host | --host | --hos | --ho)
1137 ac_prev=host_alias ;;
1138 -host=* | --host=* | --hos=* | --ho=*)
1139 host_alias=$ac_optarg ;;
1141 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1142 ac_prev=htmldir ;;
1143 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1144 | --ht=*)
1145 htmldir=$ac_optarg ;;
1147 -includedir | --includedir | --includedi | --included | --include \
1148 | --includ | --inclu | --incl | --inc)
1149 ac_prev=includedir ;;
1150 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1151 | --includ=* | --inclu=* | --incl=* | --inc=*)
1152 includedir=$ac_optarg ;;
1154 -infodir | --infodir | --infodi | --infod | --info | --inf)
1155 ac_prev=infodir ;;
1156 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1157 infodir=$ac_optarg ;;
1159 -libdir | --libdir | --libdi | --libd)
1160 ac_prev=libdir ;;
1161 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1162 libdir=$ac_optarg ;;
1164 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1165 | --libexe | --libex | --libe)
1166 ac_prev=libexecdir ;;
1167 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1168 | --libexe=* | --libex=* | --libe=*)
1169 libexecdir=$ac_optarg ;;
1171 -localedir | --localedir | --localedi | --localed | --locale)
1172 ac_prev=localedir ;;
1173 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1174 localedir=$ac_optarg ;;
1176 -localstatedir | --localstatedir | --localstatedi | --localstated \
1177 | --localstate | --localstat | --localsta | --localst | --locals)
1178 ac_prev=localstatedir ;;
1179 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1180 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1181 localstatedir=$ac_optarg ;;
1183 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1184 ac_prev=mandir ;;
1185 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1186 mandir=$ac_optarg ;;
1188 -nfp | --nfp | --nf)
1189 # Obsolete; use --without-fp.
1190 with_fp=no ;;
1192 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1193 | --no-cr | --no-c | -n)
1194 no_create=yes ;;
1196 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1197 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1198 no_recursion=yes ;;
1200 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1201 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1202 | --oldin | --oldi | --old | --ol | --o)
1203 ac_prev=oldincludedir ;;
1204 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1205 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1206 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1207 oldincludedir=$ac_optarg ;;
1209 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1210 ac_prev=prefix ;;
1211 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1212 prefix=$ac_optarg ;;
1214 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1215 | --program-pre | --program-pr | --program-p)
1216 ac_prev=program_prefix ;;
1217 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1218 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1219 program_prefix=$ac_optarg ;;
1221 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1222 | --program-suf | --program-su | --program-s)
1223 ac_prev=program_suffix ;;
1224 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1225 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1226 program_suffix=$ac_optarg ;;
1228 -program-transform-name | --program-transform-name \
1229 | --program-transform-nam | --program-transform-na \
1230 | --program-transform-n | --program-transform- \
1231 | --program-transform | --program-transfor \
1232 | --program-transfo | --program-transf \
1233 | --program-trans | --program-tran \
1234 | --progr-tra | --program-tr | --program-t)
1235 ac_prev=program_transform_name ;;
1236 -program-transform-name=* | --program-transform-name=* \
1237 | --program-transform-nam=* | --program-transform-na=* \
1238 | --program-transform-n=* | --program-transform-=* \
1239 | --program-transform=* | --program-transfor=* \
1240 | --program-transfo=* | --program-transf=* \
1241 | --program-trans=* | --program-tran=* \
1242 | --progr-tra=* | --program-tr=* | --program-t=*)
1243 program_transform_name=$ac_optarg ;;
1245 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1246 ac_prev=pdfdir ;;
1247 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1248 pdfdir=$ac_optarg ;;
1250 -psdir | --psdir | --psdi | --psd | --ps)
1251 ac_prev=psdir ;;
1252 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1253 psdir=$ac_optarg ;;
1255 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1256 | -silent | --silent | --silen | --sile | --sil)
1257 silent=yes ;;
1259 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1260 ac_prev=sbindir ;;
1261 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1262 | --sbi=* | --sb=*)
1263 sbindir=$ac_optarg ;;
1265 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1266 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1267 | --sharedst | --shareds | --shared | --share | --shar \
1268 | --sha | --sh)
1269 ac_prev=sharedstatedir ;;
1270 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1271 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1272 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1273 | --sha=* | --sh=*)
1274 sharedstatedir=$ac_optarg ;;
1276 -site | --site | --sit)
1277 ac_prev=site ;;
1278 -site=* | --site=* | --sit=*)
1279 site=$ac_optarg ;;
1281 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1282 ac_prev=srcdir ;;
1283 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1284 srcdir=$ac_optarg ;;
1286 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1287 | --syscon | --sysco | --sysc | --sys | --sy)
1288 ac_prev=sysconfdir ;;
1289 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1290 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1291 sysconfdir=$ac_optarg ;;
1293 -target | --target | --targe | --targ | --tar | --ta | --t)
1294 ac_prev=target_alias ;;
1295 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1296 target_alias=$ac_optarg ;;
1298 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1299 verbose=yes ;;
1301 -version | --version | --versio | --versi | --vers | -V)
1302 ac_init_version=: ;;
1304 -with-* | --with-*)
1305 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1306 # Reject names that are not valid shell variable names.
1307 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1308 as_fn_error $? "invalid package name: $ac_useropt"
1309 ac_useropt_orig=$ac_useropt
1310 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1311 case $ac_user_opts in
1313 "with_$ac_useropt"
1314 "*) ;;
1315 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1316 ac_unrecognized_sep=', ';;
1317 esac
1318 eval with_$ac_useropt=\$ac_optarg ;;
1320 -without-* | --without-*)
1321 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1322 # Reject names that are not valid shell variable names.
1323 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1324 as_fn_error $? "invalid package name: $ac_useropt"
1325 ac_useropt_orig=$ac_useropt
1326 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1327 case $ac_user_opts in
1329 "with_$ac_useropt"
1330 "*) ;;
1331 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1332 ac_unrecognized_sep=', ';;
1333 esac
1334 eval with_$ac_useropt=no ;;
1336 --x)
1337 # Obsolete; use --with-x.
1338 with_x=yes ;;
1340 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1341 | --x-incl | --x-inc | --x-in | --x-i)
1342 ac_prev=x_includes ;;
1343 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1344 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1345 x_includes=$ac_optarg ;;
1347 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1348 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1349 ac_prev=x_libraries ;;
1350 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1351 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1352 x_libraries=$ac_optarg ;;
1354 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1355 Try \`$0 --help' for more information"
1358 *=*)
1359 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1360 # Reject names that are not valid shell variable names.
1361 case $ac_envvar in #(
1362 '' | [0-9]* | *[!_$as_cr_alnum]* )
1363 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1364 esac
1365 eval $ac_envvar=\$ac_optarg
1366 export $ac_envvar ;;
1369 # FIXME: should be removed in autoconf 3.0.
1370 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1371 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1372 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1373 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1376 esac
1377 done
1379 if test -n "$ac_prev"; then
1380 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1381 as_fn_error $? "missing argument to $ac_option"
1384 if test -n "$ac_unrecognized_opts"; then
1385 case $enable_option_checking in
1386 no) ;;
1387 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1388 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1389 esac
1392 # Check all directory arguments for consistency.
1393 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1394 datadir sysconfdir sharedstatedir localstatedir includedir \
1395 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1396 libdir localedir mandir
1398 eval ac_val=\$$ac_var
1399 # Remove trailing slashes.
1400 case $ac_val in
1401 */ )
1402 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1403 eval $ac_var=\$ac_val;;
1404 esac
1405 # Be sure to have absolute directory names.
1406 case $ac_val in
1407 [\\/$]* | ?:[\\/]* ) continue;;
1408 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1409 esac
1410 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1411 done
1413 # There might be people who depend on the old broken behavior: `$host'
1414 # used to hold the argument of --host etc.
1415 # FIXME: To remove some day.
1416 build=$build_alias
1417 host=$host_alias
1418 target=$target_alias
1420 # FIXME: To remove some day.
1421 if test "x$host_alias" != x; then
1422 if test "x$build_alias" = x; then
1423 cross_compiling=maybe
1424 elif test "x$build_alias" != "x$host_alias"; then
1425 cross_compiling=yes
1429 ac_tool_prefix=
1430 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1432 test "$silent" = yes && exec 6>/dev/null
1435 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1436 ac_ls_di=`ls -di .` &&
1437 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1438 as_fn_error $? "working directory cannot be determined"
1439 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1440 as_fn_error $? "pwd does not report name of working directory"
1443 # Find the source files, if location was not specified.
1444 if test -z "$srcdir"; then
1445 ac_srcdir_defaulted=yes
1446 # Try the directory containing this script, then the parent directory.
1447 ac_confdir=`$as_dirname -- "$as_myself" ||
1448 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1449 X"$as_myself" : 'X\(//\)[^/]' \| \
1450 X"$as_myself" : 'X\(//\)$' \| \
1451 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1452 $as_echo X"$as_myself" |
1453 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1454 s//\1/
1457 /^X\(\/\/\)[^/].*/{
1458 s//\1/
1461 /^X\(\/\/\)$/{
1462 s//\1/
1465 /^X\(\/\).*/{
1466 s//\1/
1469 s/.*/./; q'`
1470 srcdir=$ac_confdir
1471 if test ! -r "$srcdir/$ac_unique_file"; then
1472 srcdir=..
1474 else
1475 ac_srcdir_defaulted=no
1477 if test ! -r "$srcdir/$ac_unique_file"; then
1478 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1479 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1481 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1482 ac_abs_confdir=`(
1483 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1484 pwd)`
1485 # When building in place, set srcdir=.
1486 if test "$ac_abs_confdir" = "$ac_pwd"; then
1487 srcdir=.
1489 # Remove unnecessary trailing slashes from srcdir.
1490 # Double slashes in file names in object file debugging info
1491 # mess up M-x gdb in Emacs.
1492 case $srcdir in
1493 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1494 esac
1495 for ac_var in $ac_precious_vars; do
1496 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1497 eval ac_env_${ac_var}_value=\$${ac_var}
1498 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1499 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1500 done
1503 # Report the --help message.
1505 if test "$ac_init_help" = "long"; then
1506 # Omit some internal or obsolete options to make the list less imposing.
1507 # This message is too long to be a string in the A/UX 3.1 sh.
1508 cat <<_ACEOF
1509 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1511 Usage: $0 [OPTION]... [VAR=VALUE]...
1513 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1514 VAR=VALUE. See below for descriptions of some of the useful variables.
1516 Defaults for the options are specified in brackets.
1518 Configuration:
1519 -h, --help display this help and exit
1520 --help=short display options specific to this package
1521 --help=recursive display the short help of all the included packages
1522 -V, --version display version information and exit
1523 -q, --quiet, --silent do not print \`checking ...' messages
1524 --cache-file=FILE cache test results in FILE [disabled]
1525 -C, --config-cache alias for \`--cache-file=config.cache'
1526 -n, --no-create do not create output files
1527 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1529 Installation directories:
1530 --prefix=PREFIX install architecture-independent files in PREFIX
1531 [$ac_default_prefix]
1532 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1533 [PREFIX]
1535 By default, \`make install' will install all the files in
1536 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1537 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1538 for instance \`--prefix=\$HOME'.
1540 For better control, use the options below.
1542 Fine tuning of the installation directories:
1543 --bindir=DIR user executables [EPREFIX/bin]
1544 --sbindir=DIR system admin executables [EPREFIX/sbin]
1545 --libexecdir=DIR program executables [EPREFIX/libexec]
1546 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1547 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1548 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1549 --libdir=DIR object code libraries [EPREFIX/lib]
1550 --includedir=DIR C header files [PREFIX/include]
1551 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1552 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1553 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1554 --infodir=DIR info documentation [DATAROOTDIR/info]
1555 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1556 --mandir=DIR man documentation [DATAROOTDIR/man]
1557 --docdir=DIR documentation root [DATAROOTDIR/doc/libstdc++]
1558 --htmldir=DIR html documentation [DOCDIR]
1559 --dvidir=DIR dvi documentation [DOCDIR]
1560 --pdfdir=DIR pdf documentation [DOCDIR]
1561 --psdir=DIR ps documentation [DOCDIR]
1562 _ACEOF
1564 cat <<\_ACEOF
1566 Program names:
1567 --program-prefix=PREFIX prepend PREFIX to installed program names
1568 --program-suffix=SUFFIX append SUFFIX to installed program names
1569 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1571 System types:
1572 --build=BUILD configure for building on BUILD [guessed]
1573 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1574 --target=TARGET configure for building compilers for TARGET [HOST]
1575 _ACEOF
1578 if test -n "$ac_init_help"; then
1579 case $ac_init_help in
1580 short | recursive ) echo "Configuration of package-unused version-unused:";;
1581 esac
1582 cat <<\_ACEOF
1584 Optional Features:
1585 --disable-option-checking ignore unrecognized --enable/--with options
1586 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1587 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1588 --enable-multilib build many library versions (default)
1589 --enable-silent-rules less verbose build output (undo: "make V=1")
1590 --disable-silent-rules verbose build output (undo: "make V=0")
1591 --disable-largefile omit support for large files
1592 --enable-maintainer-mode
1593 enable make rules and dependencies not useful (and
1594 sometimes confusing) to the casual installer
1595 --enable-shared[=PKGS] build shared libraries [default=yes]
1596 --enable-static[=PKGS] build static libraries [default=yes]
1597 --enable-fast-install[=PKGS]
1598 optimize for fast installation [default=yes]
1599 --disable-libtool-lock avoid locking (might break parallel builds)
1600 --disable-hosted-libstdcxx
1601 only build freestanding C++ runtime support
1602 --disable-libstdcxx-verbose
1603 disable termination messages to standard error
1604 --enable-libstdcxx-pch build pre-compiled libstdc++ headers
1605 [default=$is_hosted]
1606 --enable-cstdio[=PACKAGE]
1607 use target-specific I/O package [default=stdio]
1608 --enable-clocale[=MODEL]
1609 use MODEL for target locale package [default=auto]
1610 --enable-nls use Native Language Support (default)
1611 --enable-libstdcxx-allocator[=KIND]
1612 use KIND for target std::allocator base
1613 [default=auto]
1614 --enable-cheaders-obsolete
1615 allow use of obsolete "C" headers for g++
1616 [default=no]
1617 --enable-cheaders[=KIND]
1618 construct "C" headers for g++ [default=$c_model]
1619 --enable-long-long enable template specializations for 'long long'
1620 [default=yes]
1621 --enable-wchar_t enable template specializations for 'wchar_t'
1622 [default=yes]
1623 --enable-c99 turns on ISO/IEC 9899:1999 support [default=yes]
1624 --enable-concept-checks use Boost-derived template checks [default=no]
1625 --enable-libstdcxx-debug-flags=FLAGS
1626 pass compiler FLAGS when building debug library
1627 [default="-gdwarf-4 -g3 -O0 -D_GLIBCXX_ASSERTIONS"]
1628 --enable-libstdcxx-debug
1629 build extra debug library [default=no]
1630 --enable-cxx-flags=FLAGS
1631 pass compiler FLAGS when building library [default=]
1632 --enable-fully-dynamic-string
1633 do not put empty strings in per-process static
1634 memory [default=no]
1635 --enable-extern-template
1636 enable extern template [default=yes]
1637 --enable-werror turns on -Werror [default=no]
1638 --enable-vtable-verify enable vtable verify [default=no]
1639 --enable-libstdcxx-time[=KIND]
1640 use KIND for check type [default=auto]
1641 --enable-tls Use thread-local storage [default=yes]
1642 --disable-rpath do not hardcode runtime library paths
1643 --enable-linux-futex use the Linux futex system call [default=default]
1644 --enable-symvers[=STYLE]
1645 enables symbol versioning of the shared library
1646 [default=yes]
1647 --enable-libstdcxx-visibility
1648 enables visibility safe usage [default=yes]
1649 --enable-libstdcxx-dual-abi
1650 support two versions of std::string [default=yes]
1651 --enable-libstdcxx-threads
1652 enable C++11 threads support [default=auto]
1653 --enable-libstdcxx-filesystem-ts
1654 turns on ISO/IEC TS 18822 support [default=auto]
1655 --enable-cet enable Intel CET in target libraries [default=auto]
1656 --enable-version-specific-runtime-libs
1657 Specify that runtime libraries should be installed
1658 in a compiler-specific directory
1660 Optional Packages:
1661 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1662 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1663 --with-target-subdir=SUBDIR
1664 configuring in a subdirectory
1665 --with-cross-host=HOST configuring with a cross compiler
1666 --with-newlib assume newlib as a system C library
1667 --with-pic try to use only PIC/non-PIC objects [default=use
1668 both]
1669 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1670 --with-libstdcxx-lock-policy={atomic,mutex,auto}
1671 synchronization policy for shared_ptr reference
1672 counting [default=auto]
1673 --with-python-dir the location to install Python modules. This path is
1674 relative starting from the prefix.
1675 --with-gnu-ld assume the C compiler uses GNU ld default=no
1676 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1677 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1678 --with-libiconv-type=TYPE type of library to search for (auto/static/shared)
1679 --with-system-libunwind use installed libunwind
1680 --with-default-libstdcxx-abi
1681 set the std::string ABI to use by default
1682 --with-gxx-include-dir=DIR
1683 installation directory for include files
1684 --with-toolexeclibdir=DIR
1685 install libraries built with a cross compiler within
1687 --with-gcc-major-version-only
1688 use only GCC major number in filesystem paths
1690 Some influential environment variables:
1691 CC C compiler command
1692 CFLAGS C compiler flags
1693 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1694 nonstandard directory <lib dir>
1695 LIBS libraries to pass to the linker, e.g. -l<library>
1696 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1697 you have headers in a nonstandard directory <include dir>
1698 CXX C++ compiler command
1699 CXXFLAGS C++ compiler flags
1700 CPP C preprocessor
1701 CXXCPP C++ preprocessor
1702 CXXFILT Location of GNU c++filt. Defaults to the first GNU version of
1703 `c++filt', `gc++filt' on PATH.
1705 Use these variables to override the choices made by `configure' or to help
1706 it to find libraries and programs with nonstandard names/locations.
1708 Report bugs to the package provider.
1709 _ACEOF
1710 ac_status=$?
1713 if test "$ac_init_help" = "recursive"; then
1714 # If there are subdirs, report their specific --help.
1715 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1716 test -d "$ac_dir" ||
1717 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1718 continue
1719 ac_builddir=.
1721 case "$ac_dir" in
1722 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1724 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1725 # A ".." for each directory in $ac_dir_suffix.
1726 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1727 case $ac_top_builddir_sub in
1728 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1729 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1730 esac ;;
1731 esac
1732 ac_abs_top_builddir=$ac_pwd
1733 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1734 # for backward compatibility:
1735 ac_top_builddir=$ac_top_build_prefix
1737 case $srcdir in
1738 .) # We are building in place.
1739 ac_srcdir=.
1740 ac_top_srcdir=$ac_top_builddir_sub
1741 ac_abs_top_srcdir=$ac_pwd ;;
1742 [\\/]* | ?:[\\/]* ) # Absolute name.
1743 ac_srcdir=$srcdir$ac_dir_suffix;
1744 ac_top_srcdir=$srcdir
1745 ac_abs_top_srcdir=$srcdir ;;
1746 *) # Relative name.
1747 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1748 ac_top_srcdir=$ac_top_build_prefix$srcdir
1749 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1750 esac
1751 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1753 cd "$ac_dir" || { ac_status=$?; continue; }
1754 # Check for guested configure.
1755 if test -f "$ac_srcdir/configure.gnu"; then
1756 echo &&
1757 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1758 elif test -f "$ac_srcdir/configure"; then
1759 echo &&
1760 $SHELL "$ac_srcdir/configure" --help=recursive
1761 else
1762 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1763 fi || ac_status=$?
1764 cd "$ac_pwd" || { ac_status=$?; break; }
1765 done
1768 test -n "$ac_init_help" && exit $ac_status
1769 if $ac_init_version; then
1770 cat <<\_ACEOF
1771 package-unused configure version-unused
1772 generated by GNU Autoconf 2.69
1774 Copyright (C) 2012 Free Software Foundation, Inc.
1775 This configure script is free software; the Free Software Foundation
1776 gives unlimited permission to copy, distribute and modify it.
1777 _ACEOF
1778 exit
1781 ## ------------------------ ##
1782 ## Autoconf initialization. ##
1783 ## ------------------------ ##
1785 # ac_fn_c_try_compile LINENO
1786 # --------------------------
1787 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1788 ac_fn_c_try_compile ()
1790 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1791 rm -f conftest.$ac_objext
1792 if { { ac_try="$ac_compile"
1793 case "(($ac_try" in
1794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1795 *) ac_try_echo=$ac_try;;
1796 esac
1797 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1798 $as_echo "$ac_try_echo"; } >&5
1799 (eval "$ac_compile") 2>conftest.err
1800 ac_status=$?
1801 if test -s conftest.err; then
1802 grep -v '^ *+' conftest.err >conftest.er1
1803 cat conftest.er1 >&5
1804 mv -f conftest.er1 conftest.err
1806 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1807 test $ac_status = 0; } && {
1808 test -z "$ac_c_werror_flag" ||
1809 test ! -s conftest.err
1810 } && test -s conftest.$ac_objext; then :
1811 ac_retval=0
1812 else
1813 $as_echo "$as_me: failed program was:" >&5
1814 sed 's/^/| /' conftest.$ac_ext >&5
1816 ac_retval=1
1818 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1819 as_fn_set_status $ac_retval
1821 } # ac_fn_c_try_compile
1823 # ac_fn_cxx_try_compile LINENO
1824 # ----------------------------
1825 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1826 ac_fn_cxx_try_compile ()
1828 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1829 rm -f conftest.$ac_objext
1830 if { { ac_try="$ac_compile"
1831 case "(($ac_try" in
1832 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1833 *) ac_try_echo=$ac_try;;
1834 esac
1835 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1836 $as_echo "$ac_try_echo"; } >&5
1837 (eval "$ac_compile") 2>conftest.err
1838 ac_status=$?
1839 if test -s conftest.err; then
1840 grep -v '^ *+' conftest.err >conftest.er1
1841 cat conftest.er1 >&5
1842 mv -f conftest.er1 conftest.err
1844 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1845 test $ac_status = 0; } && {
1846 test -z "$ac_cxx_werror_flag" ||
1847 test ! -s conftest.err
1848 } && test -s conftest.$ac_objext; then :
1849 ac_retval=0
1850 else
1851 $as_echo "$as_me: failed program was:" >&5
1852 sed 's/^/| /' conftest.$ac_ext >&5
1854 ac_retval=1
1856 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1857 as_fn_set_status $ac_retval
1859 } # ac_fn_cxx_try_compile
1861 # ac_fn_c_try_cpp LINENO
1862 # ----------------------
1863 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1864 ac_fn_c_try_cpp ()
1866 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1867 if { { ac_try="$ac_cpp conftest.$ac_ext"
1868 case "(($ac_try" in
1869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1870 *) ac_try_echo=$ac_try;;
1871 esac
1872 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1873 $as_echo "$ac_try_echo"; } >&5
1874 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1875 ac_status=$?
1876 if test -s conftest.err; then
1877 grep -v '^ *+' conftest.err >conftest.er1
1878 cat conftest.er1 >&5
1879 mv -f conftest.er1 conftest.err
1881 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1882 test $ac_status = 0; } > conftest.i && {
1883 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1884 test ! -s conftest.err
1885 }; then :
1886 ac_retval=0
1887 else
1888 $as_echo "$as_me: failed program was:" >&5
1889 sed 's/^/| /' conftest.$ac_ext >&5
1891 ac_retval=1
1893 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1894 as_fn_set_status $ac_retval
1896 } # ac_fn_c_try_cpp
1898 # ac_fn_c_try_link LINENO
1899 # -----------------------
1900 # Try to link conftest.$ac_ext, and return whether this succeeded.
1901 ac_fn_c_try_link ()
1903 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1904 rm -f conftest.$ac_objext conftest$ac_exeext
1905 if { { ac_try="$ac_link"
1906 case "(($ac_try" in
1907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1908 *) ac_try_echo=$ac_try;;
1909 esac
1910 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1911 $as_echo "$ac_try_echo"; } >&5
1912 (eval "$ac_link") 2>conftest.err
1913 ac_status=$?
1914 if test -s conftest.err; then
1915 grep -v '^ *+' conftest.err >conftest.er1
1916 cat conftest.er1 >&5
1917 mv -f conftest.er1 conftest.err
1919 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1920 test $ac_status = 0; } && {
1921 test -z "$ac_c_werror_flag" ||
1922 test ! -s conftest.err
1923 } && test -s conftest$ac_exeext && {
1924 test "$cross_compiling" = yes ||
1925 test -x conftest$ac_exeext
1926 }; then :
1927 ac_retval=0
1928 else
1929 $as_echo "$as_me: failed program was:" >&5
1930 sed 's/^/| /' conftest.$ac_ext >&5
1932 ac_retval=1
1934 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1935 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1936 # interfere with the next link command; also delete a directory that is
1937 # left behind by Apple's compiler. We do this before executing the actions.
1938 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1939 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1940 as_fn_set_status $ac_retval
1942 } # ac_fn_c_try_link
1944 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1945 # -------------------------------------------------------
1946 # Tests whether HEADER exists and can be compiled using the include files in
1947 # INCLUDES, setting the cache variable VAR accordingly.
1948 ac_fn_c_check_header_compile ()
1950 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1952 $as_echo_n "checking for $2... " >&6; }
1953 if eval \${$3+:} false; then :
1954 $as_echo_n "(cached) " >&6
1955 else
1956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1957 /* end confdefs.h. */
1959 #include <$2>
1960 _ACEOF
1961 if ac_fn_c_try_compile "$LINENO"; then :
1962 eval "$3=yes"
1963 else
1964 eval "$3=no"
1966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1968 eval ac_res=\$$3
1969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1970 $as_echo "$ac_res" >&6; }
1971 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1973 } # ac_fn_c_check_header_compile
1975 # ac_fn_c_try_run LINENO
1976 # ----------------------
1977 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1978 # that executables *can* be run.
1979 ac_fn_c_try_run ()
1981 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1982 if { { ac_try="$ac_link"
1983 case "(($ac_try" in
1984 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1985 *) ac_try_echo=$ac_try;;
1986 esac
1987 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1988 $as_echo "$ac_try_echo"; } >&5
1989 (eval "$ac_link") 2>&5
1990 ac_status=$?
1991 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1992 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1993 { { case "(($ac_try" in
1994 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1995 *) ac_try_echo=$ac_try;;
1996 esac
1997 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1998 $as_echo "$ac_try_echo"; } >&5
1999 (eval "$ac_try") 2>&5
2000 ac_status=$?
2001 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2002 test $ac_status = 0; }; }; then :
2003 ac_retval=0
2004 else
2005 $as_echo "$as_me: program exited with status $ac_status" >&5
2006 $as_echo "$as_me: failed program was:" >&5
2007 sed 's/^/| /' conftest.$ac_ext >&5
2009 ac_retval=$ac_status
2011 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2012 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2013 as_fn_set_status $ac_retval
2015 } # ac_fn_c_try_run
2017 # ac_fn_c_check_func LINENO FUNC VAR
2018 # ----------------------------------
2019 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2020 ac_fn_c_check_func ()
2022 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2024 $as_echo_n "checking for $2... " >&6; }
2025 if eval \${$3+:} false; then :
2026 $as_echo_n "(cached) " >&6
2027 else
2028 if test x$gcc_no_link = xyes; then
2029 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
2031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2032 /* end confdefs.h. */
2033 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2034 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2035 #define $2 innocuous_$2
2037 /* System header to define __stub macros and hopefully few prototypes,
2038 which can conflict with char $2 (); below.
2039 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2040 <limits.h> exists even on freestanding compilers. */
2042 #ifdef __STDC__
2043 # include <limits.h>
2044 #else
2045 # include <assert.h>
2046 #endif
2048 #undef $2
2050 /* Override any GCC internal prototype to avoid an error.
2051 Use char because int might match the return type of a GCC
2052 builtin and then its argument prototype would still apply. */
2053 #ifdef __cplusplus
2054 extern "C"
2055 #endif
2056 char $2 ();
2057 /* The GNU C library defines this for functions which it implements
2058 to always fail with ENOSYS. Some functions are actually named
2059 something starting with __ and the normal name is an alias. */
2060 #if defined __stub_$2 || defined __stub___$2
2061 choke me
2062 #endif
2065 main ()
2067 return $2 ();
2069 return 0;
2071 _ACEOF
2072 if ac_fn_c_try_link "$LINENO"; then :
2073 eval "$3=yes"
2074 else
2075 eval "$3=no"
2077 rm -f core conftest.err conftest.$ac_objext \
2078 conftest$ac_exeext conftest.$ac_ext
2080 eval ac_res=\$$3
2081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2082 $as_echo "$ac_res" >&6; }
2083 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2085 } # ac_fn_c_check_func
2087 # ac_fn_cxx_try_cpp LINENO
2088 # ------------------------
2089 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2090 ac_fn_cxx_try_cpp ()
2092 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2093 if { { ac_try="$ac_cpp conftest.$ac_ext"
2094 case "(($ac_try" in
2095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2096 *) ac_try_echo=$ac_try;;
2097 esac
2098 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2099 $as_echo "$ac_try_echo"; } >&5
2100 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2101 ac_status=$?
2102 if test -s conftest.err; then
2103 grep -v '^ *+' conftest.err >conftest.er1
2104 cat conftest.er1 >&5
2105 mv -f conftest.er1 conftest.err
2107 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2108 test $ac_status = 0; } > conftest.i && {
2109 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2110 test ! -s conftest.err
2111 }; then :
2112 ac_retval=0
2113 else
2114 $as_echo "$as_me: failed program was:" >&5
2115 sed 's/^/| /' conftest.$ac_ext >&5
2117 ac_retval=1
2119 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2120 as_fn_set_status $ac_retval
2122 } # ac_fn_cxx_try_cpp
2124 # ac_fn_cxx_try_link LINENO
2125 # -------------------------
2126 # Try to link conftest.$ac_ext, and return whether this succeeded.
2127 ac_fn_cxx_try_link ()
2129 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2130 rm -f conftest.$ac_objext conftest$ac_exeext
2131 if { { ac_try="$ac_link"
2132 case "(($ac_try" in
2133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2134 *) ac_try_echo=$ac_try;;
2135 esac
2136 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2137 $as_echo "$ac_try_echo"; } >&5
2138 (eval "$ac_link") 2>conftest.err
2139 ac_status=$?
2140 if test -s conftest.err; then
2141 grep -v '^ *+' conftest.err >conftest.er1
2142 cat conftest.er1 >&5
2143 mv -f conftest.er1 conftest.err
2145 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2146 test $ac_status = 0; } && {
2147 test -z "$ac_cxx_werror_flag" ||
2148 test ! -s conftest.err
2149 } && test -s conftest$ac_exeext && {
2150 test "$cross_compiling" = yes ||
2151 test -x conftest$ac_exeext
2152 }; then :
2153 ac_retval=0
2154 else
2155 $as_echo "$as_me: failed program was:" >&5
2156 sed 's/^/| /' conftest.$ac_ext >&5
2158 ac_retval=1
2160 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2161 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2162 # interfere with the next link command; also delete a directory that is
2163 # left behind by Apple's compiler. We do this before executing the actions.
2164 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2165 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2166 as_fn_set_status $ac_retval
2168 } # ac_fn_cxx_try_link
2170 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2171 # -------------------------------------------------------
2172 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2173 # the include files in INCLUDES and setting the cache variable VAR
2174 # accordingly.
2175 ac_fn_c_check_header_mongrel ()
2177 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2178 if eval \${$3+:} false; then :
2179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2180 $as_echo_n "checking for $2... " >&6; }
2181 if eval \${$3+:} false; then :
2182 $as_echo_n "(cached) " >&6
2184 eval ac_res=\$$3
2185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2186 $as_echo "$ac_res" >&6; }
2187 else
2188 # Is the header compilable?
2189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2190 $as_echo_n "checking $2 usability... " >&6; }
2191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2192 /* end confdefs.h. */
2194 #include <$2>
2195 _ACEOF
2196 if ac_fn_c_try_compile "$LINENO"; then :
2197 ac_header_compiler=yes
2198 else
2199 ac_header_compiler=no
2201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2203 $as_echo "$ac_header_compiler" >&6; }
2205 # Is the header present?
2206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2207 $as_echo_n "checking $2 presence... " >&6; }
2208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2209 /* end confdefs.h. */
2210 #include <$2>
2211 _ACEOF
2212 if ac_fn_c_try_cpp "$LINENO"; then :
2213 ac_header_preproc=yes
2214 else
2215 ac_header_preproc=no
2217 rm -f conftest.err conftest.i conftest.$ac_ext
2218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2219 $as_echo "$ac_header_preproc" >&6; }
2221 # So? What about this header?
2222 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2223 yes:no: )
2224 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2225 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2226 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2227 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2229 no:yes:* )
2230 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2231 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2232 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2233 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2234 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2235 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2236 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2237 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2238 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2239 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2241 esac
2242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2243 $as_echo_n "checking for $2... " >&6; }
2244 if eval \${$3+:} false; then :
2245 $as_echo_n "(cached) " >&6
2246 else
2247 eval "$3=\$ac_header_compiler"
2249 eval ac_res=\$$3
2250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2251 $as_echo "$ac_res" >&6; }
2253 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2255 } # ac_fn_c_check_header_mongrel
2257 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2258 # ---------------------------------------------------------
2259 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2260 # the include files in INCLUDES and setting the cache variable VAR
2261 # accordingly.
2262 ac_fn_cxx_check_header_mongrel ()
2264 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2265 if eval \${$3+:} false; then :
2266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2267 $as_echo_n "checking for $2... " >&6; }
2268 if eval \${$3+:} false; then :
2269 $as_echo_n "(cached) " >&6
2271 eval ac_res=\$$3
2272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2273 $as_echo "$ac_res" >&6; }
2274 else
2275 # Is the header compilable?
2276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2277 $as_echo_n "checking $2 usability... " >&6; }
2278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2279 /* end confdefs.h. */
2281 #include <$2>
2282 _ACEOF
2283 if ac_fn_cxx_try_compile "$LINENO"; then :
2284 ac_header_compiler=yes
2285 else
2286 ac_header_compiler=no
2288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2290 $as_echo "$ac_header_compiler" >&6; }
2292 # Is the header present?
2293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2294 $as_echo_n "checking $2 presence... " >&6; }
2295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2296 /* end confdefs.h. */
2297 #include <$2>
2298 _ACEOF
2299 if ac_fn_cxx_try_cpp "$LINENO"; then :
2300 ac_header_preproc=yes
2301 else
2302 ac_header_preproc=no
2304 rm -f conftest.err conftest.i conftest.$ac_ext
2305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2306 $as_echo "$ac_header_preproc" >&6; }
2308 # So? What about this header?
2309 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2310 yes:no: )
2311 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2312 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2313 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2314 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2316 no:yes:* )
2317 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2318 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2319 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2320 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2321 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2322 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2323 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2324 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2325 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2326 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2328 esac
2329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2330 $as_echo_n "checking for $2... " >&6; }
2331 if eval \${$3+:} false; then :
2332 $as_echo_n "(cached) " >&6
2333 else
2334 eval "$3=\$ac_header_compiler"
2336 eval ac_res=\$$3
2337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2338 $as_echo "$ac_res" >&6; }
2340 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2342 } # ac_fn_cxx_check_header_mongrel
2344 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2345 # --------------------------------------------
2346 # Tries to find the compile-time value of EXPR in a program that includes
2347 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2348 # computed
2349 ac_fn_c_compute_int ()
2351 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2352 if test "$cross_compiling" = yes; then
2353 # Depending upon the size, compute the lo and hi bounds.
2354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2355 /* end confdefs.h. */
2358 main ()
2360 static int test_array [1 - 2 * !(($2) >= 0)];
2361 test_array [0] = 0;
2362 return test_array [0];
2365 return 0;
2367 _ACEOF
2368 if ac_fn_c_try_compile "$LINENO"; then :
2369 ac_lo=0 ac_mid=0
2370 while :; do
2371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2372 /* end confdefs.h. */
2375 main ()
2377 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2378 test_array [0] = 0;
2379 return test_array [0];
2382 return 0;
2384 _ACEOF
2385 if ac_fn_c_try_compile "$LINENO"; then :
2386 ac_hi=$ac_mid; break
2387 else
2388 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2389 if test $ac_lo -le $ac_mid; then
2390 ac_lo= ac_hi=
2391 break
2393 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2396 done
2397 else
2398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2399 /* end confdefs.h. */
2402 main ()
2404 static int test_array [1 - 2 * !(($2) < 0)];
2405 test_array [0] = 0;
2406 return test_array [0];
2409 return 0;
2411 _ACEOF
2412 if ac_fn_c_try_compile "$LINENO"; then :
2413 ac_hi=-1 ac_mid=-1
2414 while :; do
2415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2416 /* end confdefs.h. */
2419 main ()
2421 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2422 test_array [0] = 0;
2423 return test_array [0];
2426 return 0;
2428 _ACEOF
2429 if ac_fn_c_try_compile "$LINENO"; then :
2430 ac_lo=$ac_mid; break
2431 else
2432 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2433 if test $ac_mid -le $ac_hi; then
2434 ac_lo= ac_hi=
2435 break
2437 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2440 done
2441 else
2442 ac_lo= ac_hi=
2444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2447 # Binary search between lo and hi bounds.
2448 while test "x$ac_lo" != "x$ac_hi"; do
2449 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2451 /* end confdefs.h. */
2454 main ()
2456 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2457 test_array [0] = 0;
2458 return test_array [0];
2461 return 0;
2463 _ACEOF
2464 if ac_fn_c_try_compile "$LINENO"; then :
2465 ac_hi=$ac_mid
2466 else
2467 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2470 done
2471 case $ac_lo in #((
2472 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2473 '') ac_retval=1 ;;
2474 esac
2475 else
2476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2477 /* end confdefs.h. */
2479 static long int longval () { return $2; }
2480 static unsigned long int ulongval () { return $2; }
2481 #include <stdio.h>
2482 #include <stdlib.h>
2484 main ()
2487 FILE *f = fopen ("conftest.val", "w");
2488 if (! f)
2489 return 1;
2490 if (($2) < 0)
2492 long int i = longval ();
2493 if (i != ($2))
2494 return 1;
2495 fprintf (f, "%ld", i);
2497 else
2499 unsigned long int i = ulongval ();
2500 if (i != ($2))
2501 return 1;
2502 fprintf (f, "%lu", i);
2504 /* Do not output a trailing newline, as this causes \r\n confusion
2505 on some platforms. */
2506 return ferror (f) || fclose (f) != 0;
2509 return 0;
2511 _ACEOF
2512 if ac_fn_c_try_run "$LINENO"; then :
2513 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2514 else
2515 ac_retval=1
2517 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2518 conftest.$ac_objext conftest.beam conftest.$ac_ext
2519 rm -f conftest.val
2522 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2523 as_fn_set_status $ac_retval
2525 } # ac_fn_c_compute_int
2527 # ac_fn_cxx_check_func LINENO FUNC VAR
2528 # ------------------------------------
2529 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2530 ac_fn_cxx_check_func ()
2532 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2534 $as_echo_n "checking for $2... " >&6; }
2535 if eval \${$3+:} false; then :
2536 $as_echo_n "(cached) " >&6
2537 else
2538 if test x$gcc_no_link = xyes; then
2539 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
2541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2542 /* end confdefs.h. */
2543 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2544 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2545 #define $2 innocuous_$2
2547 /* System header to define __stub macros and hopefully few prototypes,
2548 which can conflict with char $2 (); below.
2549 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2550 <limits.h> exists even on freestanding compilers. */
2552 #ifdef __STDC__
2553 # include <limits.h>
2554 #else
2555 # include <assert.h>
2556 #endif
2558 #undef $2
2560 /* Override any GCC internal prototype to avoid an error.
2561 Use char because int might match the return type of a GCC
2562 builtin and then its argument prototype would still apply. */
2563 #ifdef __cplusplus
2564 extern "C"
2565 #endif
2566 char $2 ();
2567 /* The GNU C library defines this for functions which it implements
2568 to always fail with ENOSYS. Some functions are actually named
2569 something starting with __ and the normal name is an alias. */
2570 #if defined __stub_$2 || defined __stub___$2
2571 choke me
2572 #endif
2575 main ()
2577 return $2 ();
2579 return 0;
2581 _ACEOF
2582 if ac_fn_cxx_try_link "$LINENO"; then :
2583 eval "$3=yes"
2584 else
2585 eval "$3=no"
2587 rm -f core conftest.err conftest.$ac_objext \
2588 conftest$ac_exeext conftest.$ac_ext
2590 eval ac_res=\$$3
2591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2592 $as_echo "$ac_res" >&6; }
2593 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2595 } # ac_fn_cxx_check_func
2597 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2598 # -------------------------------------------
2599 # Tests whether TYPE exists after having included INCLUDES, setting cache
2600 # variable VAR accordingly.
2601 ac_fn_c_check_type ()
2603 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2605 $as_echo_n "checking for $2... " >&6; }
2606 if eval \${$3+:} false; then :
2607 $as_echo_n "(cached) " >&6
2608 else
2609 eval "$3=no"
2610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2611 /* end confdefs.h. */
2614 main ()
2616 if (sizeof ($2))
2617 return 0;
2619 return 0;
2621 _ACEOF
2622 if ac_fn_c_try_compile "$LINENO"; then :
2623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2624 /* end confdefs.h. */
2627 main ()
2629 if (sizeof (($2)))
2630 return 0;
2632 return 0;
2634 _ACEOF
2635 if ac_fn_c_try_compile "$LINENO"; then :
2637 else
2638 eval "$3=yes"
2640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2644 eval ac_res=\$$3
2645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2646 $as_echo "$ac_res" >&6; }
2647 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2649 } # ac_fn_c_check_type
2651 # ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
2652 # ---------------------------------------------
2653 # Tests whether TYPE exists after having included INCLUDES, setting cache
2654 # variable VAR accordingly.
2655 ac_fn_cxx_check_type ()
2657 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2659 $as_echo_n "checking for $2... " >&6; }
2660 if eval \${$3+:} false; then :
2661 $as_echo_n "(cached) " >&6
2662 else
2663 eval "$3=no"
2664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2665 /* end confdefs.h. */
2668 main ()
2670 if (sizeof ($2))
2671 return 0;
2673 return 0;
2675 _ACEOF
2676 if ac_fn_cxx_try_compile "$LINENO"; then :
2677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2678 /* end confdefs.h. */
2681 main ()
2683 if (sizeof (($2)))
2684 return 0;
2686 return 0;
2688 _ACEOF
2689 if ac_fn_cxx_try_compile "$LINENO"; then :
2691 else
2692 eval "$3=yes"
2694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2698 eval ac_res=\$$3
2699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2700 $as_echo "$ac_res" >&6; }
2701 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2703 } # ac_fn_cxx_check_type
2704 cat >config.log <<_ACEOF
2705 This file contains any messages produced by compilers while
2706 running configure, to aid debugging if configure makes a mistake.
2708 It was created by package-unused $as_me version-unused, which was
2709 generated by GNU Autoconf 2.69. Invocation command line was
2711 $ $0 $@
2713 _ACEOF
2714 exec 5>>config.log
2716 cat <<_ASUNAME
2717 ## --------- ##
2718 ## Platform. ##
2719 ## --------- ##
2721 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2722 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2723 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2724 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2725 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2727 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2728 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2730 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2731 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2732 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2733 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2734 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2735 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2736 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2738 _ASUNAME
2740 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2741 for as_dir in $PATH
2743 IFS=$as_save_IFS
2744 test -z "$as_dir" && as_dir=.
2745 $as_echo "PATH: $as_dir"
2746 done
2747 IFS=$as_save_IFS
2749 } >&5
2751 cat >&5 <<_ACEOF
2754 ## ----------- ##
2755 ## Core tests. ##
2756 ## ----------- ##
2758 _ACEOF
2761 # Keep a trace of the command line.
2762 # Strip out --no-create and --no-recursion so they do not pile up.
2763 # Strip out --silent because we don't want to record it for future runs.
2764 # Also quote any args containing shell meta-characters.
2765 # Make two passes to allow for proper duplicate-argument suppression.
2766 ac_configure_args=
2767 ac_configure_args0=
2768 ac_configure_args1=
2769 ac_must_keep_next=false
2770 for ac_pass in 1 2
2772 for ac_arg
2774 case $ac_arg in
2775 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2776 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2777 | -silent | --silent | --silen | --sile | --sil)
2778 continue ;;
2779 *\'*)
2780 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2781 esac
2782 case $ac_pass in
2783 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2785 as_fn_append ac_configure_args1 " '$ac_arg'"
2786 if test $ac_must_keep_next = true; then
2787 ac_must_keep_next=false # Got value, back to normal.
2788 else
2789 case $ac_arg in
2790 *=* | --config-cache | -C | -disable-* | --disable-* \
2791 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2792 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2793 | -with-* | --with-* | -without-* | --without-* | --x)
2794 case "$ac_configure_args0 " in
2795 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2796 esac
2798 -* ) ac_must_keep_next=true ;;
2799 esac
2801 as_fn_append ac_configure_args " '$ac_arg'"
2803 esac
2804 done
2805 done
2806 { ac_configure_args0=; unset ac_configure_args0;}
2807 { ac_configure_args1=; unset ac_configure_args1;}
2809 # When interrupted or exit'd, cleanup temporary files, and complete
2810 # config.log. We remove comments because anyway the quotes in there
2811 # would cause problems or look ugly.
2812 # WARNING: Use '\'' to represent an apostrophe within the trap.
2813 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2814 trap 'exit_status=$?
2815 # Save into config.log some information that might help in debugging.
2817 echo
2819 $as_echo "## ---------------- ##
2820 ## Cache variables. ##
2821 ## ---------------- ##"
2822 echo
2823 # The following way of writing the cache mishandles newlines in values,
2825 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2826 eval ac_val=\$$ac_var
2827 case $ac_val in #(
2828 *${as_nl}*)
2829 case $ac_var in #(
2830 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2831 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2832 esac
2833 case $ac_var in #(
2834 _ | IFS | as_nl) ;; #(
2835 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2836 *) { eval $ac_var=; unset $ac_var;} ;;
2837 esac ;;
2838 esac
2839 done
2840 (set) 2>&1 |
2841 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2842 *${as_nl}ac_space=\ *)
2843 sed -n \
2844 "s/'\''/'\''\\\\'\'''\''/g;
2845 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2846 ;; #(
2848 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2850 esac |
2851 sort
2853 echo
2855 $as_echo "## ----------------- ##
2856 ## Output variables. ##
2857 ## ----------------- ##"
2858 echo
2859 for ac_var in $ac_subst_vars
2861 eval ac_val=\$$ac_var
2862 case $ac_val in
2863 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2864 esac
2865 $as_echo "$ac_var='\''$ac_val'\''"
2866 done | sort
2867 echo
2869 if test -n "$ac_subst_files"; then
2870 $as_echo "## ------------------- ##
2871 ## File substitutions. ##
2872 ## ------------------- ##"
2873 echo
2874 for ac_var in $ac_subst_files
2876 eval ac_val=\$$ac_var
2877 case $ac_val in
2878 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2879 esac
2880 $as_echo "$ac_var='\''$ac_val'\''"
2881 done | sort
2882 echo
2885 if test -s confdefs.h; then
2886 $as_echo "## ----------- ##
2887 ## confdefs.h. ##
2888 ## ----------- ##"
2889 echo
2890 cat confdefs.h
2891 echo
2893 test "$ac_signal" != 0 &&
2894 $as_echo "$as_me: caught signal $ac_signal"
2895 $as_echo "$as_me: exit $exit_status"
2896 } >&5
2897 rm -f core *.core core.conftest.* &&
2898 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2899 exit $exit_status
2901 for ac_signal in 1 2 13 15; do
2902 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2903 done
2904 ac_signal=0
2906 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2907 rm -f -r conftest* confdefs.h
2909 $as_echo "/* confdefs.h */" > confdefs.h
2911 # Predefined preprocessor variables.
2913 cat >>confdefs.h <<_ACEOF
2914 #define PACKAGE_NAME "$PACKAGE_NAME"
2915 _ACEOF
2917 cat >>confdefs.h <<_ACEOF
2918 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2919 _ACEOF
2921 cat >>confdefs.h <<_ACEOF
2922 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2923 _ACEOF
2925 cat >>confdefs.h <<_ACEOF
2926 #define PACKAGE_STRING "$PACKAGE_STRING"
2927 _ACEOF
2929 cat >>confdefs.h <<_ACEOF
2930 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2931 _ACEOF
2933 cat >>confdefs.h <<_ACEOF
2934 #define PACKAGE_URL "$PACKAGE_URL"
2935 _ACEOF
2938 # Let the site file select an alternate cache file if it wants to.
2939 # Prefer an explicitly selected file to automatically selected ones.
2940 ac_site_file1=NONE
2941 ac_site_file2=NONE
2942 if test -n "$CONFIG_SITE"; then
2943 # We do not want a PATH search for config.site.
2944 case $CONFIG_SITE in #((
2945 -*) ac_site_file1=./$CONFIG_SITE;;
2946 */*) ac_site_file1=$CONFIG_SITE;;
2947 *) ac_site_file1=./$CONFIG_SITE;;
2948 esac
2949 elif test "x$prefix" != xNONE; then
2950 ac_site_file1=$prefix/share/config.site
2951 ac_site_file2=$prefix/etc/config.site
2952 else
2953 ac_site_file1=$ac_default_prefix/share/config.site
2954 ac_site_file2=$ac_default_prefix/etc/config.site
2956 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2958 test "x$ac_site_file" = xNONE && continue
2959 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2960 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2961 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2962 sed 's/^/| /' "$ac_site_file" >&5
2963 . "$ac_site_file" \
2964 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2965 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2966 as_fn_error $? "failed to load site script $ac_site_file
2967 See \`config.log' for more details" "$LINENO" 5; }
2969 done
2971 if test -r "$cache_file"; then
2972 # Some versions of bash will fail to source /dev/null (special files
2973 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2974 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2975 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2976 $as_echo "$as_me: loading cache $cache_file" >&6;}
2977 case $cache_file in
2978 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2979 *) . "./$cache_file";;
2980 esac
2982 else
2983 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2984 $as_echo "$as_me: creating cache $cache_file" >&6;}
2985 >$cache_file
2988 # Check that the precious variables saved in the cache have kept the same
2989 # value.
2990 ac_cache_corrupted=false
2991 for ac_var in $ac_precious_vars; do
2992 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2993 eval ac_new_set=\$ac_env_${ac_var}_set
2994 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2995 eval ac_new_val=\$ac_env_${ac_var}_value
2996 case $ac_old_set,$ac_new_set in
2997 set,)
2998 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2999 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3000 ac_cache_corrupted=: ;;
3001 ,set)
3002 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3003 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3004 ac_cache_corrupted=: ;;
3005 ,);;
3007 if test "x$ac_old_val" != "x$ac_new_val"; then
3008 # differences in whitespace do not lead to failure.
3009 ac_old_val_w=`echo x $ac_old_val`
3010 ac_new_val_w=`echo x $ac_new_val`
3011 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3012 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3013 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3014 ac_cache_corrupted=:
3015 else
3016 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3017 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3018 eval $ac_var=\$ac_old_val
3020 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3021 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3022 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3023 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3024 fi;;
3025 esac
3026 # Pass precious variables to config.status.
3027 if test "$ac_new_set" = set; then
3028 case $ac_new_val in
3029 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3030 *) ac_arg=$ac_var=$ac_new_val ;;
3031 esac
3032 case " $ac_configure_args " in
3033 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3034 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3035 esac
3037 done
3038 if $ac_cache_corrupted; then
3039 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3040 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3041 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3042 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3043 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3045 ## -------------------- ##
3046 ## Main body of script. ##
3047 ## -------------------- ##
3049 ac_ext=c
3050 ac_cpp='$CPP $CPPFLAGS'
3051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3060 ac_config_headers="$ac_config_headers config.h"
3063 # This works around the fact that libtool configuration may change LD
3064 # for this particular configuration, but some shells, instead of
3065 # keeping the changes in LD private, export them just because LD is
3066 # exported. Only used at the end of this file.
3067 ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD
3069 # Find the rest of the source tree framework.
3070 # Default to --enable-multilib
3071 # Check whether --enable-multilib was given.
3072 if test "${enable_multilib+set}" = set; then :
3073 enableval=$enable_multilib; case "$enableval" in
3074 yes) multilib=yes ;;
3075 no) multilib=no ;;
3076 *) as_fn_error $? "bad value $enableval for multilib option" "$LINENO" 5 ;;
3077 esac
3078 else
3079 multilib=yes
3083 # We may get other options which we leave undocumented:
3084 # --with-target-subdir, --with-multisrctop, --with-multisubdir
3085 # See config-ml.in if you want the gory details.
3087 if test "$srcdir" = "."; then
3088 if test "$with_target_subdir" != "."; then
3089 multi_basedir="$srcdir/$with_multisrctop../.."
3090 else
3091 multi_basedir="$srcdir/$with_multisrctop.."
3093 else
3094 multi_basedir="$srcdir/.."
3098 # Even if the default multilib is not a cross compilation,
3099 # it may be that some of the other multilibs are.
3100 if test $cross_compiling = no && test $multilib = yes \
3101 && test "x${with_multisubdir}" != x ; then
3102 cross_compiling=maybe
3105 ac_config_commands="$ac_config_commands default-1"
3108 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
3110 # You will slowly go insane if you do not grok the following fact: when
3111 # building v3 as part of the compiler, the top-level /target/ becomes the
3112 # library's /host/. configure then causes --target to default to --host,
3113 # exactly like any other package using autoconf. Therefore, 'target' and
3114 # 'host' will always be the same. This makes sense both for native and
3115 # cross compilers, just think about it for a little while. :-)
3117 # Also, if v3 is being configured as part of a cross compiler, the top-level
3118 # configure script will pass the "real" host as $with_cross_host.
3120 # Do not delete or change the following two lines. For why, see
3121 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
3122 ac_aux_dir=
3123 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3124 if test -f "$ac_dir/install-sh"; then
3125 ac_aux_dir=$ac_dir
3126 ac_install_sh="$ac_aux_dir/install-sh -c"
3127 break
3128 elif test -f "$ac_dir/install.sh"; then
3129 ac_aux_dir=$ac_dir
3130 ac_install_sh="$ac_aux_dir/install.sh -c"
3131 break
3132 elif test -f "$ac_dir/shtool"; then
3133 ac_aux_dir=$ac_dir
3134 ac_install_sh="$ac_aux_dir/shtool install -c"
3135 break
3137 done
3138 if test -z "$ac_aux_dir"; then
3139 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3142 # These three variables are undocumented and unsupported,
3143 # and are intended to be withdrawn in a future Autoconf release.
3144 # They can cause serious problems if a builder's source tree is in a directory
3145 # whose full name contains unusual characters.
3146 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3147 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3148 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3151 # Make sure we can run config.sub.
3152 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3153 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3156 $as_echo_n "checking build system type... " >&6; }
3157 if ${ac_cv_build+:} false; then :
3158 $as_echo_n "(cached) " >&6
3159 else
3160 ac_build_alias=$build_alias
3161 test "x$ac_build_alias" = x &&
3162 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3163 test "x$ac_build_alias" = x &&
3164 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3165 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3166 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3170 $as_echo "$ac_cv_build" >&6; }
3171 case $ac_cv_build in
3172 *-*-*) ;;
3173 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3174 esac
3175 build=$ac_cv_build
3176 ac_save_IFS=$IFS; IFS='-'
3177 set x $ac_cv_build
3178 shift
3179 build_cpu=$1
3180 build_vendor=$2
3181 shift; shift
3182 # Remember, the first character of IFS is used to create $*,
3183 # except with old shells:
3184 build_os=$*
3185 IFS=$ac_save_IFS
3186 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3190 $as_echo_n "checking host system type... " >&6; }
3191 if ${ac_cv_host+:} false; then :
3192 $as_echo_n "(cached) " >&6
3193 else
3194 if test "x$host_alias" = x; then
3195 ac_cv_host=$ac_cv_build
3196 else
3197 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3198 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3203 $as_echo "$ac_cv_host" >&6; }
3204 case $ac_cv_host in
3205 *-*-*) ;;
3206 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3207 esac
3208 host=$ac_cv_host
3209 ac_save_IFS=$IFS; IFS='-'
3210 set x $ac_cv_host
3211 shift
3212 host_cpu=$1
3213 host_vendor=$2
3214 shift; shift
3215 # Remember, the first character of IFS is used to create $*,
3216 # except with old shells:
3217 host_os=$*
3218 IFS=$ac_save_IFS
3219 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
3223 $as_echo_n "checking target system type... " >&6; }
3224 if ${ac_cv_target+:} false; then :
3225 $as_echo_n "(cached) " >&6
3226 else
3227 if test "x$target_alias" = x; then
3228 ac_cv_target=$ac_cv_host
3229 else
3230 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
3231 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
3235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
3236 $as_echo "$ac_cv_target" >&6; }
3237 case $ac_cv_target in
3238 *-*-*) ;;
3239 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
3240 esac
3241 target=$ac_cv_target
3242 ac_save_IFS=$IFS; IFS='-'
3243 set x $ac_cv_target
3244 shift
3245 target_cpu=$1
3246 target_vendor=$2
3247 shift; shift
3248 # Remember, the first character of IFS is used to create $*,
3249 # except with old shells:
3250 target_os=$*
3251 IFS=$ac_save_IFS
3252 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
3255 # The aliases save the names the user supplied, while $host etc.
3256 # will get canonicalized.
3257 test -n "$target_alias" &&
3258 test "$program_prefix$program_suffix$program_transform_name" = \
3259 NONENONEs,x,x, &&
3260 program_prefix=${target_alias}-
3262 target_alias=${target_alias-$host_alias}
3264 # Handy for debugging:
3265 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3267 if test "$build" != "$host"; then
3268 # We are being configured with some form of cross compiler.
3269 GLIBCXX_IS_NATIVE=false
3270 case "$host","$target" in
3271 # Darwin crosses can use the host system's libraries and headers,
3272 # because of the fat library support. Of course, it must be the
3273 # same version of Darwin on both sides. Allow the user to
3274 # just say --target=foo-darwin without a version number to mean
3275 # "the version on this system".
3276 *-*-darwin*,*-*-darwin*)
3277 hostos=`echo $host | sed 's/.*-darwin/darwin/'`
3278 targetos=`echo $target | sed 's/.*-darwin/darwin/'`
3279 if test $hostos = $targetos -o $targetos = darwin ; then
3280 GLIBCXX_IS_NATIVE=true
3287 esac
3288 else
3289 GLIBCXX_IS_NATIVE=true
3292 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
3293 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
3294 # 1.x: minimum required version
3295 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
3296 # of other PACKAGE_* variables will, however, and there's nothing
3297 # we can do about that; they come from AC_INIT).
3298 # foreign: we don't follow the normal rules for GNU packages (no COPYING
3299 # file in the top srcdir, etc, etc), so stop complaining.
3300 # no-dependencies: turns off auto dependency generation (just for now)
3301 # no-dist: we don't want 'dist' and related rules.
3302 # -Wall: turns on all automake warnings...
3303 # -Wno-portability: ...except this one, since GNU make is now required.
3304 am__api_version='1.15'
3306 # Find a good install program. We prefer a C program (faster),
3307 # so one script is as good as another. But avoid the broken or
3308 # incompatible versions:
3309 # SysV /etc/install, /usr/sbin/install
3310 # SunOS /usr/etc/install
3311 # IRIX /sbin/install
3312 # AIX /bin/install
3313 # AmigaOS /C/install, which installs bootblocks on floppy discs
3314 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3315 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3316 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3317 # OS/2's system install, which has a completely different semantic
3318 # ./install, which can be erroneously created by make from ./install.sh.
3319 # Reject install programs that cannot install multiple files.
3320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3321 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3322 if test -z "$INSTALL"; then
3323 if ${ac_cv_path_install+:} false; then :
3324 $as_echo_n "(cached) " >&6
3325 else
3326 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3327 for as_dir in $PATH
3329 IFS=$as_save_IFS
3330 test -z "$as_dir" && as_dir=.
3331 # Account for people who put trailing slashes in PATH elements.
3332 case $as_dir/ in #((
3333 ./ | .// | /[cC]/* | \
3334 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3335 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3336 /usr/ucb/* ) ;;
3338 # OSF1 and SCO ODT 3.0 have their own names for install.
3339 # Don't use installbsd from OSF since it installs stuff as root
3340 # by default.
3341 for ac_prog in ginstall scoinst install; do
3342 for ac_exec_ext in '' $ac_executable_extensions; do
3343 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3344 if test $ac_prog = install &&
3345 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3346 # AIX install. It has an incompatible calling convention.
3348 elif test $ac_prog = install &&
3349 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3350 # program-specific install script used by HP pwplus--don't use.
3352 else
3353 rm -rf conftest.one conftest.two conftest.dir
3354 echo one > conftest.one
3355 echo two > conftest.two
3356 mkdir conftest.dir
3357 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3358 test -s conftest.one && test -s conftest.two &&
3359 test -s conftest.dir/conftest.one &&
3360 test -s conftest.dir/conftest.two
3361 then
3362 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3363 break 3
3367 done
3368 done
3370 esac
3372 done
3373 IFS=$as_save_IFS
3375 rm -rf conftest.one conftest.two conftest.dir
3378 if test "${ac_cv_path_install+set}" = set; then
3379 INSTALL=$ac_cv_path_install
3380 else
3381 # As a last resort, use the slow shell script. Don't cache a
3382 # value for INSTALL within a source directory, because that will
3383 # break other packages using the cache if that directory is
3384 # removed, or if the value is a relative name.
3385 INSTALL=$ac_install_sh
3388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3389 $as_echo "$INSTALL" >&6; }
3391 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3392 # It thinks the first close brace ends the variable substitution.
3393 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3395 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3397 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3400 $as_echo_n "checking whether build environment is sane... " >&6; }
3401 # Reject unsafe characters in $srcdir or the absolute working directory
3402 # name. Accept space and tab only in the latter.
3403 am_lf='
3405 case `pwd` in
3406 *[\\\"\#\$\&\'\`$am_lf]*)
3407 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
3408 esac
3409 case $srcdir in
3410 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3411 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
3412 esac
3414 # Do 'set' in a subshell so we don't clobber the current shell's
3415 # arguments. Must try -L first in case configure is actually a
3416 # symlink; some systems play weird games with the mod time of symlinks
3417 # (eg FreeBSD returns the mod time of the symlink's containing
3418 # directory).
3419 if (
3420 am_has_slept=no
3421 for am_try in 1 2; do
3422 echo "timestamp, slept: $am_has_slept" > conftest.file
3423 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3424 if test "$*" = "X"; then
3425 # -L didn't work.
3426 set X `ls -t "$srcdir/configure" conftest.file`
3428 if test "$*" != "X $srcdir/configure conftest.file" \
3429 && test "$*" != "X conftest.file $srcdir/configure"; then
3431 # If neither matched, then we have a broken ls. This can happen
3432 # if, for instance, CONFIG_SHELL is bash and it inherits a
3433 # broken ls alias from the environment. This has actually
3434 # happened. Such a system could not be considered "sane".
3435 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
3436 alias in your environment" "$LINENO" 5
3438 if test "$2" = conftest.file || test $am_try -eq 2; then
3439 break
3441 # Just in case.
3442 sleep 1
3443 am_has_slept=yes
3444 done
3445 test "$2" = conftest.file
3447 then
3448 # Ok.
3450 else
3451 as_fn_error $? "newly created file is older than distributed files!
3452 Check your system clock" "$LINENO" 5
3454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3455 $as_echo "yes" >&6; }
3456 # If we didn't sleep, we still need to ensure time stamps of config.status and
3457 # generated files are strictly newer.
3458 am_sleep_pid=
3459 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
3460 ( sleep 1 ) &
3461 am_sleep_pid=$!
3464 rm -f conftest.file
3466 test "$program_prefix" != NONE &&
3467 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3468 # Use a double $ so make ignores it.
3469 test "$program_suffix" != NONE &&
3470 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3471 # Double any \ or $.
3472 # By default was `s,x,x', remove it if useless.
3473 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3474 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3476 # Expand $ac_aux_dir to an absolute path.
3477 am_aux_dir=`cd "$ac_aux_dir" && pwd`
3479 if test x"${MISSING+set}" != xset; then
3480 case $am_aux_dir in
3481 *\ * | *\ *)
3482 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3484 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3485 esac
3487 # Use eval to expand $SHELL
3488 if eval "$MISSING --is-lightweight"; then
3489 am_missing_run="$MISSING "
3490 else
3491 am_missing_run=
3492 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
3493 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
3496 if test x"${install_sh+set}" != xset; then
3497 case $am_aux_dir in
3498 *\ * | *\ *)
3499 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3501 install_sh="\${SHELL} $am_aux_dir/install-sh"
3502 esac
3505 # Installed binaries are usually stripped using 'strip' when the user
3506 # run "make install-strip". However 'strip' might not be the right
3507 # tool to use in cross-compilation environments, therefore Automake
3508 # will honor the 'STRIP' environment variable to overrule this program.
3509 if test "$cross_compiling" != no; then
3510 if test -n "$ac_tool_prefix"; then
3511 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3512 set dummy ${ac_tool_prefix}strip; ac_word=$2
3513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3514 $as_echo_n "checking for $ac_word... " >&6; }
3515 if ${ac_cv_prog_STRIP+:} false; then :
3516 $as_echo_n "(cached) " >&6
3517 else
3518 if test -n "$STRIP"; then
3519 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3520 else
3521 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3522 for as_dir in $PATH
3524 IFS=$as_save_IFS
3525 test -z "$as_dir" && as_dir=.
3526 for ac_exec_ext in '' $ac_executable_extensions; do
3527 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3528 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3529 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3530 break 2
3532 done
3533 done
3534 IFS=$as_save_IFS
3538 STRIP=$ac_cv_prog_STRIP
3539 if test -n "$STRIP"; then
3540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3541 $as_echo "$STRIP" >&6; }
3542 else
3543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3544 $as_echo "no" >&6; }
3549 if test -z "$ac_cv_prog_STRIP"; then
3550 ac_ct_STRIP=$STRIP
3551 # Extract the first word of "strip", so it can be a program name with args.
3552 set dummy strip; ac_word=$2
3553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3554 $as_echo_n "checking for $ac_word... " >&6; }
3555 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
3556 $as_echo_n "(cached) " >&6
3557 else
3558 if test -n "$ac_ct_STRIP"; then
3559 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3560 else
3561 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3562 for as_dir in $PATH
3564 IFS=$as_save_IFS
3565 test -z "$as_dir" && as_dir=.
3566 for ac_exec_ext in '' $ac_executable_extensions; do
3567 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3568 ac_cv_prog_ac_ct_STRIP="strip"
3569 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3570 break 2
3572 done
3573 done
3574 IFS=$as_save_IFS
3578 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3579 if test -n "$ac_ct_STRIP"; then
3580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3581 $as_echo "$ac_ct_STRIP" >&6; }
3582 else
3583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3584 $as_echo "no" >&6; }
3587 if test "x$ac_ct_STRIP" = x; then
3588 STRIP=":"
3589 else
3590 case $cross_compiling:$ac_tool_warned in
3591 yes:)
3592 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3593 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3594 ac_tool_warned=yes ;;
3595 esac
3596 STRIP=$ac_ct_STRIP
3598 else
3599 STRIP="$ac_cv_prog_STRIP"
3603 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3606 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3607 if test -z "$MKDIR_P"; then
3608 if ${ac_cv_path_mkdir+:} false; then :
3609 $as_echo_n "(cached) " >&6
3610 else
3611 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3612 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3614 IFS=$as_save_IFS
3615 test -z "$as_dir" && as_dir=.
3616 for ac_prog in mkdir gmkdir; do
3617 for ac_exec_ext in '' $ac_executable_extensions; do
3618 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
3619 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3620 'mkdir (GNU coreutils) '* | \
3621 'mkdir (coreutils) '* | \
3622 'mkdir (fileutils) '4.1*)
3623 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3624 break 3;;
3625 esac
3626 done
3627 done
3628 done
3629 IFS=$as_save_IFS
3633 test -d ./--version && rmdir ./--version
3634 if test "${ac_cv_path_mkdir+set}" = set; then
3635 MKDIR_P="$ac_cv_path_mkdir -p"
3636 else
3637 # As a last resort, use the slow shell script. Don't cache a
3638 # value for MKDIR_P within a source directory, because that will
3639 # break other packages using the cache if that directory is
3640 # removed, or if the value is a relative name.
3641 MKDIR_P="$ac_install_sh -d"
3644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3645 $as_echo "$MKDIR_P" >&6; }
3647 for ac_prog in gawk mawk nawk awk
3649 # Extract the first word of "$ac_prog", so it can be a program name with args.
3650 set dummy $ac_prog; ac_word=$2
3651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3652 $as_echo_n "checking for $ac_word... " >&6; }
3653 if ${ac_cv_prog_AWK+:} false; then :
3654 $as_echo_n "(cached) " >&6
3655 else
3656 if test -n "$AWK"; then
3657 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3658 else
3659 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3660 for as_dir in $PATH
3662 IFS=$as_save_IFS
3663 test -z "$as_dir" && as_dir=.
3664 for ac_exec_ext in '' $ac_executable_extensions; do
3665 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3666 ac_cv_prog_AWK="$ac_prog"
3667 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3668 break 2
3670 done
3671 done
3672 IFS=$as_save_IFS
3676 AWK=$ac_cv_prog_AWK
3677 if test -n "$AWK"; then
3678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3679 $as_echo "$AWK" >&6; }
3680 else
3681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3682 $as_echo "no" >&6; }
3686 test -n "$AWK" && break
3687 done
3689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3690 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3691 set x ${MAKE-make}
3692 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3693 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3694 $as_echo_n "(cached) " >&6
3695 else
3696 cat >conftest.make <<\_ACEOF
3697 SHELL = /bin/sh
3698 all:
3699 @echo '@@@%%%=$(MAKE)=@@@%%%'
3700 _ACEOF
3701 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3702 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3703 *@@@%%%=?*=@@@%%%*)
3704 eval ac_cv_prog_make_${ac_make}_set=yes;;
3706 eval ac_cv_prog_make_${ac_make}_set=no;;
3707 esac
3708 rm -f conftest.make
3710 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3712 $as_echo "yes" >&6; }
3713 SET_MAKE=
3714 else
3715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3716 $as_echo "no" >&6; }
3717 SET_MAKE="MAKE=${MAKE-make}"
3720 rm -rf .tst 2>/dev/null
3721 mkdir .tst 2>/dev/null
3722 if test -d .tst; then
3723 am__leading_dot=.
3724 else
3725 am__leading_dot=_
3727 rmdir .tst 2>/dev/null
3729 # Check whether --enable-silent-rules was given.
3730 if test "${enable_silent_rules+set}" = set; then :
3731 enableval=$enable_silent_rules;
3734 case $enable_silent_rules in # (((
3735 yes) AM_DEFAULT_VERBOSITY=0;;
3736 no) AM_DEFAULT_VERBOSITY=1;;
3737 *) AM_DEFAULT_VERBOSITY=1;;
3738 esac
3739 am_make=${MAKE-make}
3740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3741 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3742 if ${am_cv_make_support_nested_variables+:} false; then :
3743 $as_echo_n "(cached) " >&6
3744 else
3745 if $as_echo 'TRUE=$(BAR$(V))
3746 BAR0=false
3747 BAR1=true
3749 am__doit:
3750 @$(TRUE)
3751 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3752 am_cv_make_support_nested_variables=yes
3753 else
3754 am_cv_make_support_nested_variables=no
3757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3758 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3759 if test $am_cv_make_support_nested_variables = yes; then
3760 AM_V='$(V)'
3761 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3762 else
3763 AM_V=$AM_DEFAULT_VERBOSITY
3764 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3766 AM_BACKSLASH='\'
3768 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3769 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3770 # is not polluted with repeated "-I."
3771 am__isrc=' -I$(srcdir)'
3772 # test to see if srcdir already configured
3773 if test -f $srcdir/config.status; then
3774 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3778 # test whether we have cygpath
3779 if test -z "$CYGPATH_W"; then
3780 if (cygpath --version) >/dev/null 2>/dev/null; then
3781 CYGPATH_W='cygpath -w'
3782 else
3783 CYGPATH_W=echo
3788 # Define the identity of the package.
3789 PACKAGE='libstdc++'
3790 VERSION='version-unused'
3793 # Some tools Automake needs.
3795 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3798 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3801 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3804 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3807 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3809 # For better backward compatibility. To be removed once Automake 1.9.x
3810 # dies out for good. For more background, see:
3811 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3812 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3813 mkdir_p='$(MKDIR_P)'
3815 # We need awk for the "check" target (and possibly the TAP driver). The
3816 # system "awk" is bad on some platforms.
3817 # Always define AMTAR for backward compatibility. Yes, it's still used
3818 # in the wild :-( We should find a proper way to deprecate it ...
3819 AMTAR='$${TAR-tar}'
3822 # We'll loop over all known methods to create a tar archive until one works.
3823 _am_tools='gnutar pax cpio none'
3825 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3832 # POSIX will say in a future version that running "rm -f" with no argument
3833 # is OK; and we want to be able to make that assumption in our Makefile
3834 # recipes. So use an aggressive probe to check that the usage we want is
3835 # actually supported "in the wild" to an acceptable degree.
3836 # See automake bug#10828.
3837 # To make any issue more visible, cause the running configure to be aborted
3838 # by default if the 'rm' program in use doesn't match our expectations; the
3839 # user can still override this though.
3840 if rm -f && rm -fr && rm -rf; then : OK; else
3841 cat >&2 <<'END'
3842 Oops!
3844 Your 'rm' program seems unable to run without file operands specified
3845 on the command line, even when the '-f' option is present. This is contrary
3846 to the behaviour of most rm programs out there, and not conforming with
3847 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3849 Please tell bug-automake@gnu.org about your system, including the value
3850 of your $PATH and any error possibly output before this message. This
3851 can help us improve future automake versions.
3854 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3855 echo 'Configuration will proceed anyway, since you have set the' >&2
3856 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3857 echo >&2
3858 else
3859 cat >&2 <<'END'
3860 Aborting the configuration process, to ensure you take notice of the issue.
3862 You can download and install GNU coreutils to get an 'rm' implementation
3863 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3865 If you want to complete the configuration process using your problematic
3866 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3867 to "yes", and re-run configure.
3870 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3877 # -fno-builtin must be present here so that a non-conflicting form of
3878 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
3880 save_CXXFLAGS="$CXXFLAGS"
3881 CXXFLAGS="$CXXFLAGS -fno-builtin"
3882 ac_ext=c
3883 ac_cpp='$CPP $CPPFLAGS'
3884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3887 if test -n "$ac_tool_prefix"; then
3888 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3889 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3891 $as_echo_n "checking for $ac_word... " >&6; }
3892 if ${ac_cv_prog_CC+:} false; then :
3893 $as_echo_n "(cached) " >&6
3894 else
3895 if test -n "$CC"; then
3896 ac_cv_prog_CC="$CC" # Let the user override the test.
3897 else
3898 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3899 for as_dir in $PATH
3901 IFS=$as_save_IFS
3902 test -z "$as_dir" && as_dir=.
3903 for ac_exec_ext in '' $ac_executable_extensions; do
3904 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3905 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3906 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3907 break 2
3909 done
3910 done
3911 IFS=$as_save_IFS
3915 CC=$ac_cv_prog_CC
3916 if test -n "$CC"; then
3917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3918 $as_echo "$CC" >&6; }
3919 else
3920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3921 $as_echo "no" >&6; }
3926 if test -z "$ac_cv_prog_CC"; then
3927 ac_ct_CC=$CC
3928 # Extract the first word of "gcc", so it can be a program name with args.
3929 set dummy gcc; ac_word=$2
3930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3931 $as_echo_n "checking for $ac_word... " >&6; }
3932 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3933 $as_echo_n "(cached) " >&6
3934 else
3935 if test -n "$ac_ct_CC"; then
3936 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3937 else
3938 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3939 for as_dir in $PATH
3941 IFS=$as_save_IFS
3942 test -z "$as_dir" && as_dir=.
3943 for ac_exec_ext in '' $ac_executable_extensions; do
3944 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3945 ac_cv_prog_ac_ct_CC="gcc"
3946 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3947 break 2
3949 done
3950 done
3951 IFS=$as_save_IFS
3955 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3956 if test -n "$ac_ct_CC"; then
3957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3958 $as_echo "$ac_ct_CC" >&6; }
3959 else
3960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3961 $as_echo "no" >&6; }
3964 if test "x$ac_ct_CC" = x; then
3965 CC=""
3966 else
3967 case $cross_compiling:$ac_tool_warned in
3968 yes:)
3969 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3970 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3971 ac_tool_warned=yes ;;
3972 esac
3973 CC=$ac_ct_CC
3975 else
3976 CC="$ac_cv_prog_CC"
3979 if test -z "$CC"; then
3980 if test -n "$ac_tool_prefix"; then
3981 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3982 set dummy ${ac_tool_prefix}cc; ac_word=$2
3983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3984 $as_echo_n "checking for $ac_word... " >&6; }
3985 if ${ac_cv_prog_CC+:} false; then :
3986 $as_echo_n "(cached) " >&6
3987 else
3988 if test -n "$CC"; then
3989 ac_cv_prog_CC="$CC" # Let the user override the test.
3990 else
3991 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3992 for as_dir in $PATH
3994 IFS=$as_save_IFS
3995 test -z "$as_dir" && as_dir=.
3996 for ac_exec_ext in '' $ac_executable_extensions; do
3997 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3998 ac_cv_prog_CC="${ac_tool_prefix}cc"
3999 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4000 break 2
4002 done
4003 done
4004 IFS=$as_save_IFS
4008 CC=$ac_cv_prog_CC
4009 if test -n "$CC"; then
4010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4011 $as_echo "$CC" >&6; }
4012 else
4013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4014 $as_echo "no" >&6; }
4020 if test -z "$CC"; then
4021 # Extract the first word of "cc", so it can be a program name with args.
4022 set dummy cc; ac_word=$2
4023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4024 $as_echo_n "checking for $ac_word... " >&6; }
4025 if ${ac_cv_prog_CC+:} false; then :
4026 $as_echo_n "(cached) " >&6
4027 else
4028 if test -n "$CC"; then
4029 ac_cv_prog_CC="$CC" # Let the user override the test.
4030 else
4031 ac_prog_rejected=no
4032 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4033 for as_dir in $PATH
4035 IFS=$as_save_IFS
4036 test -z "$as_dir" && as_dir=.
4037 for ac_exec_ext in '' $ac_executable_extensions; do
4038 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4039 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4040 ac_prog_rejected=yes
4041 continue
4043 ac_cv_prog_CC="cc"
4044 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4045 break 2
4047 done
4048 done
4049 IFS=$as_save_IFS
4051 if test $ac_prog_rejected = yes; then
4052 # We found a bogon in the path, so make sure we never use it.
4053 set dummy $ac_cv_prog_CC
4054 shift
4055 if test $# != 0; then
4056 # We chose a different compiler from the bogus one.
4057 # However, it has the same basename, so the bogon will be chosen
4058 # first if we set CC to just the basename; use the full file name.
4059 shift
4060 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4065 CC=$ac_cv_prog_CC
4066 if test -n "$CC"; then
4067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4068 $as_echo "$CC" >&6; }
4069 else
4070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4071 $as_echo "no" >&6; }
4076 if test -z "$CC"; then
4077 if test -n "$ac_tool_prefix"; then
4078 for ac_prog in cl.exe
4080 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4081 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4083 $as_echo_n "checking for $ac_word... " >&6; }
4084 if ${ac_cv_prog_CC+:} false; then :
4085 $as_echo_n "(cached) " >&6
4086 else
4087 if test -n "$CC"; then
4088 ac_cv_prog_CC="$CC" # Let the user override the test.
4089 else
4090 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4091 for as_dir in $PATH
4093 IFS=$as_save_IFS
4094 test -z "$as_dir" && as_dir=.
4095 for ac_exec_ext in '' $ac_executable_extensions; do
4096 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4097 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4098 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4099 break 2
4101 done
4102 done
4103 IFS=$as_save_IFS
4107 CC=$ac_cv_prog_CC
4108 if test -n "$CC"; then
4109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4110 $as_echo "$CC" >&6; }
4111 else
4112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4113 $as_echo "no" >&6; }
4117 test -n "$CC" && break
4118 done
4120 if test -z "$CC"; then
4121 ac_ct_CC=$CC
4122 for ac_prog in cl.exe
4124 # Extract the first word of "$ac_prog", so it can be a program name with args.
4125 set dummy $ac_prog; ac_word=$2
4126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4127 $as_echo_n "checking for $ac_word... " >&6; }
4128 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4129 $as_echo_n "(cached) " >&6
4130 else
4131 if test -n "$ac_ct_CC"; then
4132 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4133 else
4134 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4135 for as_dir in $PATH
4137 IFS=$as_save_IFS
4138 test -z "$as_dir" && as_dir=.
4139 for ac_exec_ext in '' $ac_executable_extensions; do
4140 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4141 ac_cv_prog_ac_ct_CC="$ac_prog"
4142 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4143 break 2
4145 done
4146 done
4147 IFS=$as_save_IFS
4151 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4152 if test -n "$ac_ct_CC"; then
4153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4154 $as_echo "$ac_ct_CC" >&6; }
4155 else
4156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4157 $as_echo "no" >&6; }
4161 test -n "$ac_ct_CC" && break
4162 done
4164 if test "x$ac_ct_CC" = x; then
4165 CC=""
4166 else
4167 case $cross_compiling:$ac_tool_warned in
4168 yes:)
4169 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4170 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4171 ac_tool_warned=yes ;;
4172 esac
4173 CC=$ac_ct_CC
4180 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4181 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4182 as_fn_error $? "no acceptable C compiler found in \$PATH
4183 See \`config.log' for more details" "$LINENO" 5; }
4185 # Provide some information about the compiler.
4186 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4187 set X $ac_compile
4188 ac_compiler=$2
4189 for ac_option in --version -v -V -qversion; do
4190 { { ac_try="$ac_compiler $ac_option >&5"
4191 case "(($ac_try" in
4192 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4193 *) ac_try_echo=$ac_try;;
4194 esac
4195 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4196 $as_echo "$ac_try_echo"; } >&5
4197 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4198 ac_status=$?
4199 if test -s conftest.err; then
4200 sed '10a\
4201 ... rest of stderr output deleted ...
4202 10q' conftest.err >conftest.er1
4203 cat conftest.er1 >&5
4205 rm -f conftest.er1 conftest.err
4206 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4207 test $ac_status = 0; }
4208 done
4210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4211 /* end confdefs.h. */
4212 #include <stdio.h>
4214 main ()
4216 printf ("hello world\n");
4218 return 0;
4220 _ACEOF
4221 # FIXME: Cleanup?
4222 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
4223 (eval $ac_link) 2>&5
4224 ac_status=$?
4225 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4226 test $ac_status = 0; }; then :
4227 gcc_no_link=no
4228 else
4229 gcc_no_link=yes
4231 if test x$gcc_no_link = xyes; then
4232 # Setting cross_compile will disable run tests; it will
4233 # also disable AC_CHECK_FILE but that's generally
4234 # correct if we can't link.
4235 cross_compiling=yes
4236 EXEEXT=
4237 else
4238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4239 /* end confdefs.h. */
4242 main ()
4246 return 0;
4248 _ACEOF
4249 ac_clean_files_save=$ac_clean_files
4250 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4251 # Try to create an executable without -o first, disregard a.out.
4252 # It will help us diagnose broken compilers, and finding out an intuition
4253 # of exeext.
4254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4255 $as_echo_n "checking whether the C compiler works... " >&6; }
4256 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4258 # The possible output files:
4259 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4261 ac_rmfiles=
4262 for ac_file in $ac_files
4264 case $ac_file in
4265 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4266 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4267 esac
4268 done
4269 rm -f $ac_rmfiles
4271 if { { ac_try="$ac_link_default"
4272 case "(($ac_try" in
4273 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4274 *) ac_try_echo=$ac_try;;
4275 esac
4276 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4277 $as_echo "$ac_try_echo"; } >&5
4278 (eval "$ac_link_default") 2>&5
4279 ac_status=$?
4280 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4281 test $ac_status = 0; }; then :
4282 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4283 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4284 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4285 # so that the user can short-circuit this test for compilers unknown to
4286 # Autoconf.
4287 for ac_file in $ac_files ''
4289 test -f "$ac_file" || continue
4290 case $ac_file in
4291 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4293 [ab].out )
4294 # We found the default executable, but exeext='' is most
4295 # certainly right.
4296 break;;
4297 *.* )
4298 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4299 then :; else
4300 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4302 # We set ac_cv_exeext here because the later test for it is not
4303 # safe: cross compilers may not add the suffix if given an `-o'
4304 # argument, so we may need to know it at that point already.
4305 # Even if this section looks crufty: it has the advantage of
4306 # actually working.
4307 break;;
4309 break;;
4310 esac
4311 done
4312 test "$ac_cv_exeext" = no && ac_cv_exeext=
4314 else
4315 ac_file=''
4317 if test -z "$ac_file"; then :
4318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4319 $as_echo "no" >&6; }
4320 $as_echo "$as_me: failed program was:" >&5
4321 sed 's/^/| /' conftest.$ac_ext >&5
4323 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4324 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4325 as_fn_error 77 "C compiler cannot create executables
4326 See \`config.log' for more details" "$LINENO" 5; }
4327 else
4328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4329 $as_echo "yes" >&6; }
4331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4332 $as_echo_n "checking for C compiler default output file name... " >&6; }
4333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4334 $as_echo "$ac_file" >&6; }
4335 ac_exeext=$ac_cv_exeext
4337 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4338 ac_clean_files=$ac_clean_files_save
4339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4340 $as_echo_n "checking for suffix of executables... " >&6; }
4341 if { { ac_try="$ac_link"
4342 case "(($ac_try" in
4343 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4344 *) ac_try_echo=$ac_try;;
4345 esac
4346 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4347 $as_echo "$ac_try_echo"; } >&5
4348 (eval "$ac_link") 2>&5
4349 ac_status=$?
4350 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4351 test $ac_status = 0; }; then :
4352 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4353 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4354 # work properly (i.e., refer to `conftest.exe'), while it won't with
4355 # `rm'.
4356 for ac_file in conftest.exe conftest conftest.*; do
4357 test -f "$ac_file" || continue
4358 case $ac_file in
4359 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4360 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4361 break;;
4362 * ) break;;
4363 esac
4364 done
4365 else
4366 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4367 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4368 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4369 See \`config.log' for more details" "$LINENO" 5; }
4371 rm -f conftest conftest$ac_cv_exeext
4372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4373 $as_echo "$ac_cv_exeext" >&6; }
4375 rm -f conftest.$ac_ext
4376 EXEEXT=$ac_cv_exeext
4377 ac_exeext=$EXEEXT
4378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4379 /* end confdefs.h. */
4380 #include <stdio.h>
4382 main ()
4384 FILE *f = fopen ("conftest.out", "w");
4385 return ferror (f) || fclose (f) != 0;
4388 return 0;
4390 _ACEOF
4391 ac_clean_files="$ac_clean_files conftest.out"
4392 # Check that the compiler produces executables we can run. If not, either
4393 # the compiler is broken, or we cross compile.
4394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4395 $as_echo_n "checking whether we are cross compiling... " >&6; }
4396 if test "$cross_compiling" != yes; then
4397 { { ac_try="$ac_link"
4398 case "(($ac_try" in
4399 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4400 *) ac_try_echo=$ac_try;;
4401 esac
4402 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4403 $as_echo "$ac_try_echo"; } >&5
4404 (eval "$ac_link") 2>&5
4405 ac_status=$?
4406 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4407 test $ac_status = 0; }
4408 if { ac_try='./conftest$ac_cv_exeext'
4409 { { case "(($ac_try" in
4410 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4411 *) ac_try_echo=$ac_try;;
4412 esac
4413 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4414 $as_echo "$ac_try_echo"; } >&5
4415 (eval "$ac_try") 2>&5
4416 ac_status=$?
4417 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4418 test $ac_status = 0; }; }; then
4419 cross_compiling=no
4420 else
4421 if test "$cross_compiling" = maybe; then
4422 cross_compiling=yes
4423 else
4424 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4425 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4426 as_fn_error $? "cannot run C compiled programs.
4427 If you meant to cross compile, use \`--host'.
4428 See \`config.log' for more details" "$LINENO" 5; }
4432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4433 $as_echo "$cross_compiling" >&6; }
4435 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4436 ac_clean_files=$ac_clean_files_save
4438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4439 $as_echo_n "checking for suffix of object files... " >&6; }
4440 if ${ac_cv_objext+:} false; then :
4441 $as_echo_n "(cached) " >&6
4442 else
4443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4444 /* end confdefs.h. */
4447 main ()
4451 return 0;
4453 _ACEOF
4454 rm -f conftest.o conftest.obj
4455 if { { ac_try="$ac_compile"
4456 case "(($ac_try" in
4457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4458 *) ac_try_echo=$ac_try;;
4459 esac
4460 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4461 $as_echo "$ac_try_echo"; } >&5
4462 (eval "$ac_compile") 2>&5
4463 ac_status=$?
4464 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4465 test $ac_status = 0; }; then :
4466 for ac_file in conftest.o conftest.obj conftest.*; do
4467 test -f "$ac_file" || continue;
4468 case $ac_file in
4469 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4470 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4471 break;;
4472 esac
4473 done
4474 else
4475 $as_echo "$as_me: failed program was:" >&5
4476 sed 's/^/| /' conftest.$ac_ext >&5
4478 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4479 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4480 as_fn_error $? "cannot compute suffix of object files: cannot compile
4481 See \`config.log' for more details" "$LINENO" 5; }
4483 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4486 $as_echo "$ac_cv_objext" >&6; }
4487 OBJEXT=$ac_cv_objext
4488 ac_objext=$OBJEXT
4489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4490 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4491 if ${ac_cv_c_compiler_gnu+:} false; then :
4492 $as_echo_n "(cached) " >&6
4493 else
4494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4495 /* end confdefs.h. */
4498 main ()
4500 #ifndef __GNUC__
4501 choke me
4502 #endif
4505 return 0;
4507 _ACEOF
4508 if ac_fn_c_try_compile "$LINENO"; then :
4509 ac_compiler_gnu=yes
4510 else
4511 ac_compiler_gnu=no
4513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4514 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4518 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4519 if test $ac_compiler_gnu = yes; then
4520 GCC=yes
4521 else
4522 GCC=
4524 ac_test_CFLAGS=${CFLAGS+set}
4525 ac_save_CFLAGS=$CFLAGS
4526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4527 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4528 if ${ac_cv_prog_cc_g+:} false; then :
4529 $as_echo_n "(cached) " >&6
4530 else
4531 ac_save_c_werror_flag=$ac_c_werror_flag
4532 ac_c_werror_flag=yes
4533 ac_cv_prog_cc_g=no
4534 CFLAGS="-g"
4535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4536 /* end confdefs.h. */
4539 main ()
4543 return 0;
4545 _ACEOF
4546 if ac_fn_c_try_compile "$LINENO"; then :
4547 ac_cv_prog_cc_g=yes
4548 else
4549 CFLAGS=""
4550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4551 /* end confdefs.h. */
4554 main ()
4558 return 0;
4560 _ACEOF
4561 if ac_fn_c_try_compile "$LINENO"; then :
4563 else
4564 ac_c_werror_flag=$ac_save_c_werror_flag
4565 CFLAGS="-g"
4566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4567 /* end confdefs.h. */
4570 main ()
4574 return 0;
4576 _ACEOF
4577 if ac_fn_c_try_compile "$LINENO"; then :
4578 ac_cv_prog_cc_g=yes
4580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4585 ac_c_werror_flag=$ac_save_c_werror_flag
4587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4588 $as_echo "$ac_cv_prog_cc_g" >&6; }
4589 if test "$ac_test_CFLAGS" = set; then
4590 CFLAGS=$ac_save_CFLAGS
4591 elif test $ac_cv_prog_cc_g = yes; then
4592 if test "$GCC" = yes; then
4593 CFLAGS="-g -O2"
4594 else
4595 CFLAGS="-g"
4597 else
4598 if test "$GCC" = yes; then
4599 CFLAGS="-O2"
4600 else
4601 CFLAGS=
4604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4605 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4606 if ${ac_cv_prog_cc_c89+:} false; then :
4607 $as_echo_n "(cached) " >&6
4608 else
4609 ac_cv_prog_cc_c89=no
4610 ac_save_CC=$CC
4611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4612 /* end confdefs.h. */
4613 #include <stdarg.h>
4614 #include <stdio.h>
4615 struct stat;
4616 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4617 struct buf { int x; };
4618 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4619 static char *e (p, i)
4620 char **p;
4621 int i;
4623 return p[i];
4625 static char *f (char * (*g) (char **, int), char **p, ...)
4627 char *s;
4628 va_list v;
4629 va_start (v,p);
4630 s = g (p, va_arg (v,int));
4631 va_end (v);
4632 return s;
4635 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4636 function prototypes and stuff, but not '\xHH' hex character constants.
4637 These don't provoke an error unfortunately, instead are silently treated
4638 as 'x'. The following induces an error, until -std is added to get
4639 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4640 array size at least. It's necessary to write '\x00'==0 to get something
4641 that's true only with -std. */
4642 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4644 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4645 inside strings and character constants. */
4646 #define FOO(x) 'x'
4647 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4649 int test (int i, double x);
4650 struct s1 {int (*f) (int a);};
4651 struct s2 {int (*f) (double a);};
4652 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4653 int argc;
4654 char **argv;
4656 main ()
4658 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4660 return 0;
4662 _ACEOF
4663 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4664 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4666 CC="$ac_save_CC $ac_arg"
4667 if ac_fn_c_try_compile "$LINENO"; then :
4668 ac_cv_prog_cc_c89=$ac_arg
4670 rm -f core conftest.err conftest.$ac_objext
4671 test "x$ac_cv_prog_cc_c89" != "xno" && break
4672 done
4673 rm -f conftest.$ac_ext
4674 CC=$ac_save_CC
4677 # AC_CACHE_VAL
4678 case "x$ac_cv_prog_cc_c89" in
4680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4681 $as_echo "none needed" >&6; } ;;
4682 xno)
4683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4684 $as_echo "unsupported" >&6; } ;;
4686 CC="$CC $ac_cv_prog_cc_c89"
4687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4688 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4689 esac
4690 if test "x$ac_cv_prog_cc_c89" != xno; then :
4694 ac_ext=c
4695 ac_cpp='$CPP $CPPFLAGS'
4696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4700 ac_ext=c
4701 ac_cpp='$CPP $CPPFLAGS'
4702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4706 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4707 if ${am_cv_prog_cc_c_o+:} false; then :
4708 $as_echo_n "(cached) " >&6
4709 else
4710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4711 /* end confdefs.h. */
4714 main ()
4718 return 0;
4720 _ACEOF
4721 # Make sure it works both with $CC and with simple cc.
4722 # Following AC_PROG_CC_C_O, we do the test twice because some
4723 # compilers refuse to overwrite an existing .o file with -o,
4724 # though they will create one.
4725 am_cv_prog_cc_c_o=yes
4726 for am_i in 1 2; do
4727 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4728 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4729 ac_status=$?
4730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4731 (exit $ac_status); } \
4732 && test -f conftest2.$ac_objext; then
4733 : OK
4734 else
4735 am_cv_prog_cc_c_o=no
4736 break
4738 done
4739 rm -f core conftest*
4740 unset am_i
4742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4743 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4744 if test "$am_cv_prog_cc_c_o" != yes; then
4745 # Losing compiler, so override with the script.
4746 # FIXME: It is wrong to rewrite CC.
4747 # But if we don't then we get into trouble of one sort or another.
4748 # A longer-term fix would be to have automake use am__CC in this case,
4749 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4750 CC="$am_aux_dir/compile $CC"
4752 ac_ext=c
4753 ac_cpp='$CPP $CPPFLAGS'
4754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4759 ac_ext=cpp
4760 ac_cpp='$CXXCPP $CPPFLAGS'
4761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4764 if test -z "$CXX"; then
4765 if test -n "$CCC"; then
4766 CXX=$CCC
4767 else
4768 if test -n "$ac_tool_prefix"; then
4769 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4771 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4772 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4774 $as_echo_n "checking for $ac_word... " >&6; }
4775 if ${ac_cv_prog_CXX+:} false; then :
4776 $as_echo_n "(cached) " >&6
4777 else
4778 if test -n "$CXX"; then
4779 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4780 else
4781 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4782 for as_dir in $PATH
4784 IFS=$as_save_IFS
4785 test -z "$as_dir" && as_dir=.
4786 for ac_exec_ext in '' $ac_executable_extensions; do
4787 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4788 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4789 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4790 break 2
4792 done
4793 done
4794 IFS=$as_save_IFS
4798 CXX=$ac_cv_prog_CXX
4799 if test -n "$CXX"; then
4800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4801 $as_echo "$CXX" >&6; }
4802 else
4803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4804 $as_echo "no" >&6; }
4808 test -n "$CXX" && break
4809 done
4811 if test -z "$CXX"; then
4812 ac_ct_CXX=$CXX
4813 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4815 # Extract the first word of "$ac_prog", so it can be a program name with args.
4816 set dummy $ac_prog; ac_word=$2
4817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4818 $as_echo_n "checking for $ac_word... " >&6; }
4819 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4820 $as_echo_n "(cached) " >&6
4821 else
4822 if test -n "$ac_ct_CXX"; then
4823 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4824 else
4825 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4826 for as_dir in $PATH
4828 IFS=$as_save_IFS
4829 test -z "$as_dir" && as_dir=.
4830 for ac_exec_ext in '' $ac_executable_extensions; do
4831 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4832 ac_cv_prog_ac_ct_CXX="$ac_prog"
4833 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4834 break 2
4836 done
4837 done
4838 IFS=$as_save_IFS
4842 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4843 if test -n "$ac_ct_CXX"; then
4844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4845 $as_echo "$ac_ct_CXX" >&6; }
4846 else
4847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4848 $as_echo "no" >&6; }
4852 test -n "$ac_ct_CXX" && break
4853 done
4855 if test "x$ac_ct_CXX" = x; then
4856 CXX="g++"
4857 else
4858 case $cross_compiling:$ac_tool_warned in
4859 yes:)
4860 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4861 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4862 ac_tool_warned=yes ;;
4863 esac
4864 CXX=$ac_ct_CXX
4870 # Provide some information about the compiler.
4871 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4872 set X $ac_compile
4873 ac_compiler=$2
4874 for ac_option in --version -v -V -qversion; do
4875 { { ac_try="$ac_compiler $ac_option >&5"
4876 case "(($ac_try" in
4877 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4878 *) ac_try_echo=$ac_try;;
4879 esac
4880 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4881 $as_echo "$ac_try_echo"; } >&5
4882 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4883 ac_status=$?
4884 if test -s conftest.err; then
4885 sed '10a\
4886 ... rest of stderr output deleted ...
4887 10q' conftest.err >conftest.er1
4888 cat conftest.er1 >&5
4890 rm -f conftest.er1 conftest.err
4891 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4892 test $ac_status = 0; }
4893 done
4895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4896 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4897 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4898 $as_echo_n "(cached) " >&6
4899 else
4900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4901 /* end confdefs.h. */
4904 main ()
4906 #ifndef __GNUC__
4907 choke me
4908 #endif
4911 return 0;
4913 _ACEOF
4914 if ac_fn_cxx_try_compile "$LINENO"; then :
4915 ac_compiler_gnu=yes
4916 else
4917 ac_compiler_gnu=no
4919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4920 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4924 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4925 if test $ac_compiler_gnu = yes; then
4926 GXX=yes
4927 else
4928 GXX=
4930 ac_test_CXXFLAGS=${CXXFLAGS+set}
4931 ac_save_CXXFLAGS=$CXXFLAGS
4932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4933 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4934 if ${ac_cv_prog_cxx_g+:} false; then :
4935 $as_echo_n "(cached) " >&6
4936 else
4937 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4938 ac_cxx_werror_flag=yes
4939 ac_cv_prog_cxx_g=no
4940 CXXFLAGS="-g"
4941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4942 /* end confdefs.h. */
4945 main ()
4949 return 0;
4951 _ACEOF
4952 if ac_fn_cxx_try_compile "$LINENO"; then :
4953 ac_cv_prog_cxx_g=yes
4954 else
4955 CXXFLAGS=""
4956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4957 /* end confdefs.h. */
4960 main ()
4964 return 0;
4966 _ACEOF
4967 if ac_fn_cxx_try_compile "$LINENO"; then :
4969 else
4970 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4971 CXXFLAGS="-g"
4972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4973 /* end confdefs.h. */
4976 main ()
4980 return 0;
4982 _ACEOF
4983 if ac_fn_cxx_try_compile "$LINENO"; then :
4984 ac_cv_prog_cxx_g=yes
4986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4991 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4994 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4995 if test "$ac_test_CXXFLAGS" = set; then
4996 CXXFLAGS=$ac_save_CXXFLAGS
4997 elif test $ac_cv_prog_cxx_g = yes; then
4998 if test "$GXX" = yes; then
4999 CXXFLAGS="-g -O2"
5000 else
5001 CXXFLAGS="-g"
5003 else
5004 if test "$GXX" = yes; then
5005 CXXFLAGS="-O2"
5006 else
5007 CXXFLAGS=
5010 ac_ext=c
5011 ac_cpp='$CPP $CPPFLAGS'
5012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5016 CXXFLAGS="$save_CXXFLAGS"
5019 # Check whether --enable-largefile was given.
5020 if test "${enable_largefile+set}" = set; then :
5021 enableval=$enable_largefile;
5024 if test "$enable_largefile" != no; then
5026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
5027 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
5028 if ${ac_cv_sys_largefile_CC+:} false; then :
5029 $as_echo_n "(cached) " >&6
5030 else
5031 ac_cv_sys_largefile_CC=no
5032 if test "$GCC" != yes; then
5033 ac_save_CC=$CC
5034 while :; do
5035 # IRIX 6.2 and later do not support large files by default,
5036 # so use the C compiler's -n32 option if that helps.
5037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5038 /* end confdefs.h. */
5039 #include <sys/types.h>
5040 /* Check that off_t can represent 2**63 - 1 correctly.
5041 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5042 since some C++ compilers masquerading as C compilers
5043 incorrectly reject 9223372036854775807. */
5044 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5045 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5046 && LARGE_OFF_T % 2147483647 == 1)
5047 ? 1 : -1];
5049 main ()
5053 return 0;
5055 _ACEOF
5056 if ac_fn_c_try_compile "$LINENO"; then :
5057 break
5059 rm -f core conftest.err conftest.$ac_objext
5060 CC="$CC -n32"
5061 if ac_fn_c_try_compile "$LINENO"; then :
5062 ac_cv_sys_largefile_CC=' -n32'; break
5064 rm -f core conftest.err conftest.$ac_objext
5065 break
5066 done
5067 CC=$ac_save_CC
5068 rm -f conftest.$ac_ext
5071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
5072 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
5073 if test "$ac_cv_sys_largefile_CC" != no; then
5074 CC=$CC$ac_cv_sys_largefile_CC
5077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
5078 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
5079 if ${ac_cv_sys_file_offset_bits+:} false; then :
5080 $as_echo_n "(cached) " >&6
5081 else
5082 while :; do
5083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5084 /* end confdefs.h. */
5085 #include <sys/types.h>
5086 /* Check that off_t can represent 2**63 - 1 correctly.
5087 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5088 since some C++ compilers masquerading as C compilers
5089 incorrectly reject 9223372036854775807. */
5090 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5091 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5092 && LARGE_OFF_T % 2147483647 == 1)
5093 ? 1 : -1];
5095 main ()
5099 return 0;
5101 _ACEOF
5102 if ac_fn_c_try_compile "$LINENO"; then :
5103 ac_cv_sys_file_offset_bits=no; break
5105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5107 /* end confdefs.h. */
5108 #define _FILE_OFFSET_BITS 64
5109 #include <sys/types.h>
5110 /* Check that off_t can represent 2**63 - 1 correctly.
5111 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5112 since some C++ compilers masquerading as C compilers
5113 incorrectly reject 9223372036854775807. */
5114 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5115 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5116 && LARGE_OFF_T % 2147483647 == 1)
5117 ? 1 : -1];
5119 main ()
5123 return 0;
5125 _ACEOF
5126 if ac_fn_c_try_compile "$LINENO"; then :
5127 ac_cv_sys_file_offset_bits=64; break
5129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5130 ac_cv_sys_file_offset_bits=unknown
5131 break
5132 done
5134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
5135 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
5136 case $ac_cv_sys_file_offset_bits in #(
5137 no | unknown) ;;
5139 cat >>confdefs.h <<_ACEOF
5140 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
5141 _ACEOF
5143 esac
5144 rm -rf conftest*
5145 if test $ac_cv_sys_file_offset_bits = unknown; then
5146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
5147 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
5148 if ${ac_cv_sys_large_files+:} false; then :
5149 $as_echo_n "(cached) " >&6
5150 else
5151 while :; do
5152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5153 /* end confdefs.h. */
5154 #include <sys/types.h>
5155 /* Check that off_t can represent 2**63 - 1 correctly.
5156 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5157 since some C++ compilers masquerading as C compilers
5158 incorrectly reject 9223372036854775807. */
5159 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5160 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5161 && LARGE_OFF_T % 2147483647 == 1)
5162 ? 1 : -1];
5164 main ()
5168 return 0;
5170 _ACEOF
5171 if ac_fn_c_try_compile "$LINENO"; then :
5172 ac_cv_sys_large_files=no; break
5174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5176 /* end confdefs.h. */
5177 #define _LARGE_FILES 1
5178 #include <sys/types.h>
5179 /* Check that off_t can represent 2**63 - 1 correctly.
5180 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5181 since some C++ compilers masquerading as C compilers
5182 incorrectly reject 9223372036854775807. */
5183 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5184 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5185 && LARGE_OFF_T % 2147483647 == 1)
5186 ? 1 : -1];
5188 main ()
5192 return 0;
5194 _ACEOF
5195 if ac_fn_c_try_compile "$LINENO"; then :
5196 ac_cv_sys_large_files=1; break
5198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5199 ac_cv_sys_large_files=unknown
5200 break
5201 done
5203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
5204 $as_echo "$ac_cv_sys_large_files" >&6; }
5205 case $ac_cv_sys_large_files in #(
5206 no | unknown) ;;
5208 cat >>confdefs.h <<_ACEOF
5209 #define _LARGE_FILES $ac_cv_sys_large_files
5210 _ACEOF
5212 esac
5213 rm -rf conftest*
5220 # Runs configure.host, and assorted other critical bits. Sets
5221 # up critical shell variables.
5222 ac_ext=c
5223 ac_cpp='$CPP $CPPFLAGS'
5224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5228 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5229 # On Suns, sometimes $CPP names a directory.
5230 if test -n "$CPP" && test -d "$CPP"; then
5231 CPP=
5233 if test -z "$CPP"; then
5234 if ${ac_cv_prog_CPP+:} false; then :
5235 $as_echo_n "(cached) " >&6
5236 else
5237 # Double quotes because CPP needs to be expanded
5238 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5240 ac_preproc_ok=false
5241 for ac_c_preproc_warn_flag in '' yes
5243 # Use a header file that comes with gcc, so configuring glibc
5244 # with a fresh cross-compiler works.
5245 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5246 # <limits.h> exists even on freestanding compilers.
5247 # On the NeXT, cc -E runs the code through the compiler's parser,
5248 # not just through cpp. "Syntax error" is here to catch this case.
5249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5250 /* end confdefs.h. */
5251 #ifdef __STDC__
5252 # include <limits.h>
5253 #else
5254 # include <assert.h>
5255 #endif
5256 Syntax error
5257 _ACEOF
5258 if ac_fn_c_try_cpp "$LINENO"; then :
5260 else
5261 # Broken: fails on valid input.
5262 continue
5264 rm -f conftest.err conftest.i conftest.$ac_ext
5266 # OK, works on sane cases. Now check whether nonexistent headers
5267 # can be detected and how.
5268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5269 /* end confdefs.h. */
5270 #include <ac_nonexistent.h>
5271 _ACEOF
5272 if ac_fn_c_try_cpp "$LINENO"; then :
5273 # Broken: success on invalid input.
5274 continue
5275 else
5276 # Passes both tests.
5277 ac_preproc_ok=:
5278 break
5280 rm -f conftest.err conftest.i conftest.$ac_ext
5282 done
5283 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5284 rm -f conftest.i conftest.err conftest.$ac_ext
5285 if $ac_preproc_ok; then :
5286 break
5289 done
5290 ac_cv_prog_CPP=$CPP
5293 CPP=$ac_cv_prog_CPP
5294 else
5295 ac_cv_prog_CPP=$CPP
5297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5298 $as_echo "$CPP" >&6; }
5299 ac_preproc_ok=false
5300 for ac_c_preproc_warn_flag in '' yes
5302 # Use a header file that comes with gcc, so configuring glibc
5303 # with a fresh cross-compiler works.
5304 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5305 # <limits.h> exists even on freestanding compilers.
5306 # On the NeXT, cc -E runs the code through the compiler's parser,
5307 # not just through cpp. "Syntax error" is here to catch this case.
5308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5309 /* end confdefs.h. */
5310 #ifdef __STDC__
5311 # include <limits.h>
5312 #else
5313 # include <assert.h>
5314 #endif
5315 Syntax error
5316 _ACEOF
5317 if ac_fn_c_try_cpp "$LINENO"; then :
5319 else
5320 # Broken: fails on valid input.
5321 continue
5323 rm -f conftest.err conftest.i conftest.$ac_ext
5325 # OK, works on sane cases. Now check whether nonexistent headers
5326 # can be detected and how.
5327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5328 /* end confdefs.h. */
5329 #include <ac_nonexistent.h>
5330 _ACEOF
5331 if ac_fn_c_try_cpp "$LINENO"; then :
5332 # Broken: success on invalid input.
5333 continue
5334 else
5335 # Passes both tests.
5336 ac_preproc_ok=:
5337 break
5339 rm -f conftest.err conftest.i conftest.$ac_ext
5341 done
5342 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5343 rm -f conftest.i conftest.err conftest.$ac_ext
5344 if $ac_preproc_ok; then :
5346 else
5347 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5348 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5349 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
5350 See \`config.log' for more details" "$LINENO" 5; }
5353 ac_ext=c
5354 ac_cpp='$CPP $CPPFLAGS'
5355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5361 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5362 if ${ac_cv_path_GREP+:} false; then :
5363 $as_echo_n "(cached) " >&6
5364 else
5365 if test -z "$GREP"; then
5366 ac_path_GREP_found=false
5367 # Loop through the user's path and test for each of PROGNAME-LIST
5368 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5369 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5371 IFS=$as_save_IFS
5372 test -z "$as_dir" && as_dir=.
5373 for ac_prog in grep ggrep; do
5374 for ac_exec_ext in '' $ac_executable_extensions; do
5375 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5376 as_fn_executable_p "$ac_path_GREP" || continue
5377 # Check for GNU ac_path_GREP and select it if it is found.
5378 # Check for GNU $ac_path_GREP
5379 case `"$ac_path_GREP" --version 2>&1` in
5380 *GNU*)
5381 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5383 ac_count=0
5384 $as_echo_n 0123456789 >"conftest.in"
5385 while :
5387 cat "conftest.in" "conftest.in" >"conftest.tmp"
5388 mv "conftest.tmp" "conftest.in"
5389 cp "conftest.in" "conftest.nl"
5390 $as_echo 'GREP' >> "conftest.nl"
5391 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5392 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5393 as_fn_arith $ac_count + 1 && ac_count=$as_val
5394 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5395 # Best one so far, save it but keep looking for a better one
5396 ac_cv_path_GREP="$ac_path_GREP"
5397 ac_path_GREP_max=$ac_count
5399 # 10*(2^10) chars as input seems more than enough
5400 test $ac_count -gt 10 && break
5401 done
5402 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5403 esac
5405 $ac_path_GREP_found && break 3
5406 done
5407 done
5408 done
5409 IFS=$as_save_IFS
5410 if test -z "$ac_cv_path_GREP"; then
5411 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5413 else
5414 ac_cv_path_GREP=$GREP
5418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5419 $as_echo "$ac_cv_path_GREP" >&6; }
5420 GREP="$ac_cv_path_GREP"
5423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5424 $as_echo_n "checking for egrep... " >&6; }
5425 if ${ac_cv_path_EGREP+:} false; then :
5426 $as_echo_n "(cached) " >&6
5427 else
5428 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5429 then ac_cv_path_EGREP="$GREP -E"
5430 else
5431 if test -z "$EGREP"; then
5432 ac_path_EGREP_found=false
5433 # Loop through the user's path and test for each of PROGNAME-LIST
5434 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5435 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5437 IFS=$as_save_IFS
5438 test -z "$as_dir" && as_dir=.
5439 for ac_prog in egrep; do
5440 for ac_exec_ext in '' $ac_executable_extensions; do
5441 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5442 as_fn_executable_p "$ac_path_EGREP" || continue
5443 # Check for GNU ac_path_EGREP and select it if it is found.
5444 # Check for GNU $ac_path_EGREP
5445 case `"$ac_path_EGREP" --version 2>&1` in
5446 *GNU*)
5447 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5449 ac_count=0
5450 $as_echo_n 0123456789 >"conftest.in"
5451 while :
5453 cat "conftest.in" "conftest.in" >"conftest.tmp"
5454 mv "conftest.tmp" "conftest.in"
5455 cp "conftest.in" "conftest.nl"
5456 $as_echo 'EGREP' >> "conftest.nl"
5457 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5458 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5459 as_fn_arith $ac_count + 1 && ac_count=$as_val
5460 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5461 # Best one so far, save it but keep looking for a better one
5462 ac_cv_path_EGREP="$ac_path_EGREP"
5463 ac_path_EGREP_max=$ac_count
5465 # 10*(2^10) chars as input seems more than enough
5466 test $ac_count -gt 10 && break
5467 done
5468 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5469 esac
5471 $ac_path_EGREP_found && break 3
5472 done
5473 done
5474 done
5475 IFS=$as_save_IFS
5476 if test -z "$ac_cv_path_EGREP"; then
5477 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5479 else
5480 ac_cv_path_EGREP=$EGREP
5485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5486 $as_echo "$ac_cv_path_EGREP" >&6; }
5487 EGREP="$ac_cv_path_EGREP"
5491 # Keep these sync'd with the list in Makefile.am. The first provides an
5492 # expandable list at autoconf time; the second provides an expandable list
5493 # (i.e., shell variable) at configure time.
5495 SUBDIRS='include libsupc++ src src/c++98 src/c++11 src/c++17 src/c++20 src/filesystem doc po testsuite python'
5497 # These need to be absolute paths, yet at the same time need to
5498 # canonicalize only relative paths, because then amd will not unmount
5499 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
5500 glibcxx_builddir=`${PWDCMD-pwd}`
5501 case $srcdir in
5502 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
5503 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
5504 esac
5505 toplevel_builddir=${glibcxx_builddir}/..
5506 toplevel_srcdir=${glibcxx_srcdir}/..
5512 # We use these options to decide which functions to include. They are
5513 # set from the top level.
5515 # Check whether --with-target-subdir was given.
5516 if test "${with_target_subdir+set}" = set; then :
5517 withval=$with_target_subdir;
5522 # Check whether --with-cross-host was given.
5523 if test "${with_cross_host+set}" = set; then :
5524 withval=$with_cross_host;
5529 # Check whether --with-newlib was given.
5530 if test "${with_newlib+set}" = set; then :
5531 withval=$with_newlib;
5535 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
5536 # available). Uncomment the next line to force a particular method.
5537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5538 $as_echo_n "checking whether ln -s works... " >&6; }
5539 LN_S=$as_ln_s
5540 if test "$LN_S" = "ln -s"; then
5541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5542 $as_echo "yes" >&6; }
5543 else
5544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5545 $as_echo "no, using $LN_S" >&6; }
5548 #LN_S='cp -p'
5550 if test -n "$ac_tool_prefix"; then
5551 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
5552 set dummy ${ac_tool_prefix}as; ac_word=$2
5553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5554 $as_echo_n "checking for $ac_word... " >&6; }
5555 if ${ac_cv_prog_AS+:} false; then :
5556 $as_echo_n "(cached) " >&6
5557 else
5558 if test -n "$AS"; then
5559 ac_cv_prog_AS="$AS" # Let the user override the test.
5560 else
5561 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5562 for as_dir in $PATH
5564 IFS=$as_save_IFS
5565 test -z "$as_dir" && as_dir=.
5566 for ac_exec_ext in '' $ac_executable_extensions; do
5567 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5568 ac_cv_prog_AS="${ac_tool_prefix}as"
5569 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5570 break 2
5572 done
5573 done
5574 IFS=$as_save_IFS
5578 AS=$ac_cv_prog_AS
5579 if test -n "$AS"; then
5580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
5581 $as_echo "$AS" >&6; }
5582 else
5583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5584 $as_echo "no" >&6; }
5589 if test -z "$ac_cv_prog_AS"; then
5590 ac_ct_AS=$AS
5591 # Extract the first word of "as", so it can be a program name with args.
5592 set dummy as; ac_word=$2
5593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5594 $as_echo_n "checking for $ac_word... " >&6; }
5595 if ${ac_cv_prog_ac_ct_AS+:} false; then :
5596 $as_echo_n "(cached) " >&6
5597 else
5598 if test -n "$ac_ct_AS"; then
5599 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5600 else
5601 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5602 for as_dir in $PATH
5604 IFS=$as_save_IFS
5605 test -z "$as_dir" && as_dir=.
5606 for ac_exec_ext in '' $ac_executable_extensions; do
5607 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5608 ac_cv_prog_ac_ct_AS="as"
5609 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5610 break 2
5612 done
5613 done
5614 IFS=$as_save_IFS
5618 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5619 if test -n "$ac_ct_AS"; then
5620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
5621 $as_echo "$ac_ct_AS" >&6; }
5622 else
5623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5624 $as_echo "no" >&6; }
5627 if test "x$ac_ct_AS" = x; then
5628 AS=""
5629 else
5630 case $cross_compiling:$ac_tool_warned in
5631 yes:)
5632 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5633 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5634 ac_tool_warned=yes ;;
5635 esac
5636 AS=$ac_ct_AS
5638 else
5639 AS="$ac_cv_prog_AS"
5642 if test -n "$ac_tool_prefix"; then
5643 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5644 set dummy ${ac_tool_prefix}ar; ac_word=$2
5645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5646 $as_echo_n "checking for $ac_word... " >&6; }
5647 if ${ac_cv_prog_AR+:} false; then :
5648 $as_echo_n "(cached) " >&6
5649 else
5650 if test -n "$AR"; then
5651 ac_cv_prog_AR="$AR" # Let the user override the test.
5652 else
5653 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5654 for as_dir in $PATH
5656 IFS=$as_save_IFS
5657 test -z "$as_dir" && as_dir=.
5658 for ac_exec_ext in '' $ac_executable_extensions; do
5659 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5660 ac_cv_prog_AR="${ac_tool_prefix}ar"
5661 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5662 break 2
5664 done
5665 done
5666 IFS=$as_save_IFS
5670 AR=$ac_cv_prog_AR
5671 if test -n "$AR"; then
5672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5673 $as_echo "$AR" >&6; }
5674 else
5675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5676 $as_echo "no" >&6; }
5681 if test -z "$ac_cv_prog_AR"; then
5682 ac_ct_AR=$AR
5683 # Extract the first word of "ar", so it can be a program name with args.
5684 set dummy ar; ac_word=$2
5685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5686 $as_echo_n "checking for $ac_word... " >&6; }
5687 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5688 $as_echo_n "(cached) " >&6
5689 else
5690 if test -n "$ac_ct_AR"; then
5691 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5692 else
5693 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5694 for as_dir in $PATH
5696 IFS=$as_save_IFS
5697 test -z "$as_dir" && as_dir=.
5698 for ac_exec_ext in '' $ac_executable_extensions; do
5699 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5700 ac_cv_prog_ac_ct_AR="ar"
5701 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5702 break 2
5704 done
5705 done
5706 IFS=$as_save_IFS
5710 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5711 if test -n "$ac_ct_AR"; then
5712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5713 $as_echo "$ac_ct_AR" >&6; }
5714 else
5715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5716 $as_echo "no" >&6; }
5719 if test "x$ac_ct_AR" = x; then
5720 AR=""
5721 else
5722 case $cross_compiling:$ac_tool_warned in
5723 yes:)
5724 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5725 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5726 ac_tool_warned=yes ;;
5727 esac
5728 AR=$ac_ct_AR
5730 else
5731 AR="$ac_cv_prog_AR"
5734 if test -n "$ac_tool_prefix"; then
5735 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5736 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5738 $as_echo_n "checking for $ac_word... " >&6; }
5739 if ${ac_cv_prog_RANLIB+:} false; then :
5740 $as_echo_n "(cached) " >&6
5741 else
5742 if test -n "$RANLIB"; then
5743 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5744 else
5745 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5746 for as_dir in $PATH
5748 IFS=$as_save_IFS
5749 test -z "$as_dir" && as_dir=.
5750 for ac_exec_ext in '' $ac_executable_extensions; do
5751 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5752 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5753 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5754 break 2
5756 done
5757 done
5758 IFS=$as_save_IFS
5762 RANLIB=$ac_cv_prog_RANLIB
5763 if test -n "$RANLIB"; then
5764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5765 $as_echo "$RANLIB" >&6; }
5766 else
5767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5768 $as_echo "no" >&6; }
5773 if test -z "$ac_cv_prog_RANLIB"; then
5774 ac_ct_RANLIB=$RANLIB
5775 # Extract the first word of "ranlib", so it can be a program name with args.
5776 set dummy ranlib; ac_word=$2
5777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5778 $as_echo_n "checking for $ac_word... " >&6; }
5779 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5780 $as_echo_n "(cached) " >&6
5781 else
5782 if test -n "$ac_ct_RANLIB"; then
5783 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5784 else
5785 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5786 for as_dir in $PATH
5788 IFS=$as_save_IFS
5789 test -z "$as_dir" && as_dir=.
5790 for ac_exec_ext in '' $ac_executable_extensions; do
5791 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5792 ac_cv_prog_ac_ct_RANLIB="ranlib"
5793 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5794 break 2
5796 done
5797 done
5798 IFS=$as_save_IFS
5802 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5803 if test -n "$ac_ct_RANLIB"; then
5804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5805 $as_echo "$ac_ct_RANLIB" >&6; }
5806 else
5807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5808 $as_echo "no" >&6; }
5811 if test "x$ac_ct_RANLIB" = x; then
5812 RANLIB="ranlib-not-found-in-path-error"
5813 else
5814 case $cross_compiling:$ac_tool_warned in
5815 yes:)
5816 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5817 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5818 ac_tool_warned=yes ;;
5819 esac
5820 RANLIB=$ac_ct_RANLIB
5822 else
5823 RANLIB="$ac_cv_prog_RANLIB"
5828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5829 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5830 # Check whether --enable-maintainer-mode was given.
5831 if test "${enable_maintainer_mode+set}" = set; then :
5832 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
5833 else
5834 USE_MAINTAINER_MODE=no
5837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5838 $as_echo "$USE_MAINTAINER_MODE" >&6; }
5839 if test $USE_MAINTAINER_MODE = yes; then
5840 MAINTAINER_MODE_TRUE=
5841 MAINTAINER_MODE_FALSE='#'
5842 else
5843 MAINTAINER_MODE_TRUE='#'
5844 MAINTAINER_MODE_FALSE=
5847 MAINT=$MAINTAINER_MODE_TRUE
5851 # Set up safe default values for all subsequent AM_CONDITIONAL tests
5852 # which are themselves conditionally expanded.
5853 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
5854 ## other macros from doing the same. This should be automated.) -pme
5856 # Check for C library flavor since GNU/Linux platforms use different
5857 # configuration directories depending on the C library in use.
5858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5859 /* end confdefs.h. */
5861 #include <stdio.h>
5862 #if __UCLIBC__
5863 _using_uclibc
5864 #endif
5866 _ACEOF
5867 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5868 $EGREP "_using_uclibc" >/dev/null 2>&1; then :
5869 uclibc=yes
5870 else
5871 uclibc=no
5873 rm -f conftest*
5876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5877 /* end confdefs.h. */
5879 #include <stdio.h>
5880 #if __BIONIC__
5881 _using_bionic
5882 #endif
5884 _ACEOF
5885 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5886 $EGREP "_using_bionic" >/dev/null 2>&1; then :
5887 bionic=yes
5888 else
5889 bionic=no
5891 rm -f conftest*
5894 # Find platform-specific directories containing configuration info.
5895 # Also possibly modify flags used elsewhere, as needed by the platform.
5897 . $glibcxx_srcdir/configure.host
5898 { $as_echo "$as_me:${as_lineno-$LINENO}: CPU config directory is $cpu_include_dir" >&5
5899 $as_echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
5900 { $as_echo "$as_me:${as_lineno-$LINENO}: OS config directory is $os_include_dir" >&5
5901 $as_echo "$as_me: OS config directory is $os_include_dir" >&6;}
5905 # Libtool setup.
5906 if test "x${with_newlib}" != "xyes" && test "x${with_avrlibc}" != "xyes"; then
5907 enable_dlopen=yes
5912 case `pwd` in
5913 *\ * | *\ *)
5914 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5915 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5916 esac
5920 macro_version='2.2.7a'
5921 macro_revision='1.3134'
5935 ltmain="$ac_aux_dir/ltmain.sh"
5937 # Backslashify metacharacters that are still active within
5938 # double-quoted strings.
5939 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5941 # Same as above, but do not quote variable references.
5942 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5944 # Sed substitution to delay expansion of an escaped shell variable in a
5945 # double_quote_subst'ed string.
5946 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5948 # Sed substitution to delay expansion of an escaped single quote.
5949 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5951 # Sed substitution to avoid accidental globbing in evaled expressions
5952 no_glob_subst='s/\*/\\\*/g'
5954 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5955 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5956 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5959 $as_echo_n "checking how to print strings... " >&6; }
5960 # Test print first, because it will be a builtin if present.
5961 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5962 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5963 ECHO='print -r --'
5964 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5965 ECHO='printf %s\n'
5966 else
5967 # Use this function as a fallback that always works.
5968 func_fallback_echo ()
5970 eval 'cat <<_LTECHO_EOF
5972 _LTECHO_EOF'
5974 ECHO='func_fallback_echo'
5977 # func_echo_all arg...
5978 # Invoke $ECHO with all args, space-separated.
5979 func_echo_all ()
5981 $ECHO ""
5984 case "$ECHO" in
5985 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5986 $as_echo "printf" >&6; } ;;
5987 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5988 $as_echo "print -r" >&6; } ;;
5989 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5990 $as_echo "cat" >&6; } ;;
5991 esac
6006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
6007 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
6008 if ${ac_cv_path_SED+:} false; then :
6009 $as_echo_n "(cached) " >&6
6010 else
6011 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6012 for ac_i in 1 2 3 4 5 6 7; do
6013 ac_script="$ac_script$as_nl$ac_script"
6014 done
6015 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6016 { ac_script=; unset ac_script;}
6017 if test -z "$SED"; then
6018 ac_path_SED_found=false
6019 # Loop through the user's path and test for each of PROGNAME-LIST
6020 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6021 for as_dir in $PATH
6023 IFS=$as_save_IFS
6024 test -z "$as_dir" && as_dir=.
6025 for ac_prog in sed gsed; do
6026 for ac_exec_ext in '' $ac_executable_extensions; do
6027 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
6028 as_fn_executable_p "$ac_path_SED" || continue
6029 # Check for GNU ac_path_SED and select it if it is found.
6030 # Check for GNU $ac_path_SED
6031 case `"$ac_path_SED" --version 2>&1` in
6032 *GNU*)
6033 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
6035 ac_count=0
6036 $as_echo_n 0123456789 >"conftest.in"
6037 while :
6039 cat "conftest.in" "conftest.in" >"conftest.tmp"
6040 mv "conftest.tmp" "conftest.in"
6041 cp "conftest.in" "conftest.nl"
6042 $as_echo '' >> "conftest.nl"
6043 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
6044 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6045 as_fn_arith $ac_count + 1 && ac_count=$as_val
6046 if test $ac_count -gt ${ac_path_SED_max-0}; then
6047 # Best one so far, save it but keep looking for a better one
6048 ac_cv_path_SED="$ac_path_SED"
6049 ac_path_SED_max=$ac_count
6051 # 10*(2^10) chars as input seems more than enough
6052 test $ac_count -gt 10 && break
6053 done
6054 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6055 esac
6057 $ac_path_SED_found && break 3
6058 done
6059 done
6060 done
6061 IFS=$as_save_IFS
6062 if test -z "$ac_cv_path_SED"; then
6063 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
6065 else
6066 ac_cv_path_SED=$SED
6070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6071 $as_echo "$ac_cv_path_SED" >&6; }
6072 SED="$ac_cv_path_SED"
6073 rm -f conftest.sed
6075 test -z "$SED" && SED=sed
6076 Xsed="$SED -e 1s/^X//"
6088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
6089 $as_echo_n "checking for fgrep... " >&6; }
6090 if ${ac_cv_path_FGREP+:} false; then :
6091 $as_echo_n "(cached) " >&6
6092 else
6093 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
6094 then ac_cv_path_FGREP="$GREP -F"
6095 else
6096 if test -z "$FGREP"; then
6097 ac_path_FGREP_found=false
6098 # Loop through the user's path and test for each of PROGNAME-LIST
6099 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6100 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6102 IFS=$as_save_IFS
6103 test -z "$as_dir" && as_dir=.
6104 for ac_prog in fgrep; do
6105 for ac_exec_ext in '' $ac_executable_extensions; do
6106 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
6107 as_fn_executable_p "$ac_path_FGREP" || continue
6108 # Check for GNU ac_path_FGREP and select it if it is found.
6109 # Check for GNU $ac_path_FGREP
6110 case `"$ac_path_FGREP" --version 2>&1` in
6111 *GNU*)
6112 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
6114 ac_count=0
6115 $as_echo_n 0123456789 >"conftest.in"
6116 while :
6118 cat "conftest.in" "conftest.in" >"conftest.tmp"
6119 mv "conftest.tmp" "conftest.in"
6120 cp "conftest.in" "conftest.nl"
6121 $as_echo 'FGREP' >> "conftest.nl"
6122 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
6123 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6124 as_fn_arith $ac_count + 1 && ac_count=$as_val
6125 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6126 # Best one so far, save it but keep looking for a better one
6127 ac_cv_path_FGREP="$ac_path_FGREP"
6128 ac_path_FGREP_max=$ac_count
6130 # 10*(2^10) chars as input seems more than enough
6131 test $ac_count -gt 10 && break
6132 done
6133 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6134 esac
6136 $ac_path_FGREP_found && break 3
6137 done
6138 done
6139 done
6140 IFS=$as_save_IFS
6141 if test -z "$ac_cv_path_FGREP"; then
6142 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6144 else
6145 ac_cv_path_FGREP=$FGREP
6150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6151 $as_echo "$ac_cv_path_FGREP" >&6; }
6152 FGREP="$ac_cv_path_FGREP"
6155 test -z "$GREP" && GREP=grep
6175 # Check whether --with-gnu-ld was given.
6176 if test "${with_gnu_ld+set}" = set; then :
6177 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
6178 else
6179 with_gnu_ld=no
6182 ac_prog=ld
6183 if test "$GCC" = yes; then
6184 # Check if gcc -print-prog-name=ld gives a path.
6185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6186 $as_echo_n "checking for ld used by $CC... " >&6; }
6187 case $host in
6188 *-*-mingw*)
6189 # gcc leaves a trailing carriage return which upsets mingw
6190 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6192 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
6193 esac
6194 case $ac_prog in
6195 # Accept absolute paths.
6196 [\\/]* | ?:[\\/]*)
6197 re_direlt='/[^/][^/]*/\.\./'
6198 # Canonicalize the pathname of ld
6199 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6200 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
6201 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
6202 done
6203 test -z "$LD" && LD="$ac_prog"
6206 # If it fails, then pretend we aren't using GCC.
6207 ac_prog=ld
6210 # If it is relative, then search for the first ld in PATH.
6211 with_gnu_ld=unknown
6213 esac
6214 elif test "$with_gnu_ld" = yes; then
6215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6216 $as_echo_n "checking for GNU ld... " >&6; }
6217 else
6218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6219 $as_echo_n "checking for non-GNU ld... " >&6; }
6221 if ${lt_cv_path_LD+:} false; then :
6222 $as_echo_n "(cached) " >&6
6223 else
6224 if test -z "$LD"; then
6225 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6226 for ac_dir in $PATH; do
6227 IFS="$lt_save_ifs"
6228 test -z "$ac_dir" && ac_dir=.
6229 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6230 lt_cv_path_LD="$ac_dir/$ac_prog"
6231 # Check to see if the program is GNU ld. I'd rather use --version,
6232 # but apparently some variants of GNU ld only accept -v.
6233 # Break only if it was the GNU/non-GNU ld that we prefer.
6234 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6235 *GNU* | *'with BFD'*)
6236 test "$with_gnu_ld" != no && break
6239 test "$with_gnu_ld" != yes && break
6241 esac
6243 done
6244 IFS="$lt_save_ifs"
6245 else
6246 lt_cv_path_LD="$LD" # Let the user override the test with a path.
6250 LD="$lt_cv_path_LD"
6251 if test -n "$LD"; then
6252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6253 $as_echo "$LD" >&6; }
6254 else
6255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6256 $as_echo "no" >&6; }
6258 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
6259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6260 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6261 if ${lt_cv_prog_gnu_ld+:} false; then :
6262 $as_echo_n "(cached) " >&6
6263 else
6264 # I'd rather use --version here, but apparently some GNU lds only accept -v.
6265 case `$LD -v 2>&1 </dev/null` in
6266 *GNU* | *'with BFD'*)
6267 lt_cv_prog_gnu_ld=yes
6270 lt_cv_prog_gnu_ld=no
6272 esac
6274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6275 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6276 with_gnu_ld=$lt_cv_prog_gnu_ld
6286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6287 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6288 if ${lt_cv_path_NM+:} false; then :
6289 $as_echo_n "(cached) " >&6
6290 else
6291 if test -n "$NM"; then
6292 # Let the user override the test.
6293 lt_cv_path_NM="$NM"
6294 else
6295 lt_nm_to_check="${ac_tool_prefix}nm"
6296 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6297 lt_nm_to_check="$lt_nm_to_check nm"
6299 for lt_tmp_nm in $lt_nm_to_check; do
6300 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6301 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6302 IFS="$lt_save_ifs"
6303 test -z "$ac_dir" && ac_dir=.
6304 tmp_nm="$ac_dir/$lt_tmp_nm"
6305 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
6306 # Check to see if the nm accepts a BSD-compat flag.
6307 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6308 # nm: unknown option "B" ignored
6309 # Tru64's nm complains that /dev/null is an invalid object file
6310 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6311 */dev/null* | *'Invalid file or object type'*)
6312 lt_cv_path_NM="$tmp_nm -B"
6313 break
6316 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6317 */dev/null*)
6318 lt_cv_path_NM="$tmp_nm -p"
6319 break
6322 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6323 continue # so that we can try to find one that supports BSD flags
6325 esac
6327 esac
6329 done
6330 IFS="$lt_save_ifs"
6331 done
6332 : ${lt_cv_path_NM=no}
6335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6336 $as_echo "$lt_cv_path_NM" >&6; }
6337 if test "$lt_cv_path_NM" != "no"; then
6338 NM="$lt_cv_path_NM"
6339 else
6340 # Didn't find any BSD compatible name lister, look for dumpbin.
6341 if test -n "$DUMPBIN"; then :
6342 # Let the user override the test.
6343 else
6344 if test -n "$ac_tool_prefix"; then
6345 for ac_prog in dumpbin "link -dump"
6347 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6348 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6350 $as_echo_n "checking for $ac_word... " >&6; }
6351 if ${ac_cv_prog_DUMPBIN+:} false; then :
6352 $as_echo_n "(cached) " >&6
6353 else
6354 if test -n "$DUMPBIN"; then
6355 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
6356 else
6357 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6358 for as_dir in $PATH
6360 IFS=$as_save_IFS
6361 test -z "$as_dir" && as_dir=.
6362 for ac_exec_ext in '' $ac_executable_extensions; do
6363 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6364 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
6365 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6366 break 2
6368 done
6369 done
6370 IFS=$as_save_IFS
6374 DUMPBIN=$ac_cv_prog_DUMPBIN
6375 if test -n "$DUMPBIN"; then
6376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6377 $as_echo "$DUMPBIN" >&6; }
6378 else
6379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6380 $as_echo "no" >&6; }
6384 test -n "$DUMPBIN" && break
6385 done
6387 if test -z "$DUMPBIN"; then
6388 ac_ct_DUMPBIN=$DUMPBIN
6389 for ac_prog in dumpbin "link -dump"
6391 # Extract the first word of "$ac_prog", so it can be a program name with args.
6392 set dummy $ac_prog; ac_word=$2
6393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6394 $as_echo_n "checking for $ac_word... " >&6; }
6395 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
6396 $as_echo_n "(cached) " >&6
6397 else
6398 if test -n "$ac_ct_DUMPBIN"; then
6399 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6400 else
6401 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6402 for as_dir in $PATH
6404 IFS=$as_save_IFS
6405 test -z "$as_dir" && as_dir=.
6406 for ac_exec_ext in '' $ac_executable_extensions; do
6407 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6408 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6409 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6410 break 2
6412 done
6413 done
6414 IFS=$as_save_IFS
6418 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6419 if test -n "$ac_ct_DUMPBIN"; then
6420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6421 $as_echo "$ac_ct_DUMPBIN" >&6; }
6422 else
6423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6424 $as_echo "no" >&6; }
6428 test -n "$ac_ct_DUMPBIN" && break
6429 done
6431 if test "x$ac_ct_DUMPBIN" = x; then
6432 DUMPBIN=":"
6433 else
6434 case $cross_compiling:$ac_tool_warned in
6435 yes:)
6436 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6437 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6438 ac_tool_warned=yes ;;
6439 esac
6440 DUMPBIN=$ac_ct_DUMPBIN
6444 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
6445 *COFF*)
6446 DUMPBIN="$DUMPBIN -symbols"
6449 DUMPBIN=:
6451 esac
6454 if test "$DUMPBIN" != ":"; then
6455 NM="$DUMPBIN"
6458 test -z "$NM" && NM=nm
6465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6466 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
6467 if ${lt_cv_nm_interface+:} false; then :
6468 $as_echo_n "(cached) " >&6
6469 else
6470 lt_cv_nm_interface="BSD nm"
6471 echo "int some_variable = 0;" > conftest.$ac_ext
6472 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6473 (eval "$ac_compile" 2>conftest.err)
6474 cat conftest.err >&5
6475 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6476 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
6477 cat conftest.err >&5
6478 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6479 cat conftest.out >&5
6480 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6481 lt_cv_nm_interface="MS dumpbin"
6483 rm -f conftest*
6485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6486 $as_echo "$lt_cv_nm_interface" >&6; }
6488 # find the maximum length of command line arguments
6489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6490 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
6491 if ${lt_cv_sys_max_cmd_len+:} false; then :
6492 $as_echo_n "(cached) " >&6
6493 else
6495 teststring="ABCD"
6497 case $build_os in
6498 msdosdjgpp*)
6499 # On DJGPP, this test can blow up pretty badly due to problems in libc
6500 # (any single argument exceeding 2000 bytes causes a buffer overrun
6501 # during glob expansion). Even if it were fixed, the result of this
6502 # check would be larger than it should be.
6503 lt_cv_sys_max_cmd_len=12288; # 12K is about right
6506 gnu*)
6507 # Under GNU Hurd, this test is not required because there is
6508 # no limit to the length of command line arguments.
6509 # Libtool will interpret -1 as no limit whatsoever
6510 lt_cv_sys_max_cmd_len=-1;
6513 cygwin* | mingw* | cegcc*)
6514 # On Win9x/ME, this test blows up -- it succeeds, but takes
6515 # about 5 minutes as the teststring grows exponentially.
6516 # Worse, since 9x/ME are not pre-emptively multitasking,
6517 # you end up with a "frozen" computer, even though with patience
6518 # the test eventually succeeds (with a max line length of 256k).
6519 # Instead, let's just punt: use the minimum linelength reported by
6520 # all of the supported platforms: 8192 (on NT/2K/XP).
6521 lt_cv_sys_max_cmd_len=8192;
6524 mint*)
6525 # On MiNT this can take a long time and run out of memory.
6526 lt_cv_sys_max_cmd_len=8192;
6529 amigaos*)
6530 # On AmigaOS with pdksh, this test takes hours, literally.
6531 # So we just punt and use a minimum line length of 8192.
6532 lt_cv_sys_max_cmd_len=8192;
6535 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6536 # This has been around since 386BSD, at least. Likely further.
6537 if test -x /sbin/sysctl; then
6538 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6539 elif test -x /usr/sbin/sysctl; then
6540 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6541 else
6542 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
6544 # And add a safety zone
6545 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6546 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6549 interix*)
6550 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6551 lt_cv_sys_max_cmd_len=196608
6554 osf*)
6555 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6556 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6557 # nice to cause kernel panics so lets avoid the loop below.
6558 # First set a reasonable default.
6559 lt_cv_sys_max_cmd_len=16384
6561 if test -x /sbin/sysconfig; then
6562 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6563 *1*) lt_cv_sys_max_cmd_len=-1 ;;
6564 esac
6567 sco3.2v5*)
6568 lt_cv_sys_max_cmd_len=102400
6570 sysv5* | sco5v6* | sysv4.2uw2*)
6571 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6572 if test -n "$kargmax"; then
6573 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6574 else
6575 lt_cv_sys_max_cmd_len=32768
6579 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6580 if test -n "$lt_cv_sys_max_cmd_len"; then
6581 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6582 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6583 else
6584 # Make teststring a little bigger before we do anything with it.
6585 # a 1K string should be a reasonable start.
6586 for i in 1 2 3 4 5 6 7 8 ; do
6587 teststring=$teststring$teststring
6588 done
6589 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6590 # If test is not a shell built-in, we'll probably end up computing a
6591 # maximum length that is only half of the actual maximum length, but
6592 # we can't tell.
6593 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
6594 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6595 test $i != 17 # 1/2 MB should be enough
6597 i=`expr $i + 1`
6598 teststring=$teststring$teststring
6599 done
6600 # Only check the string length outside the loop.
6601 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6602 teststring=
6603 # Add a significant safety factor because C++ compilers can tack on
6604 # massive amounts of additional arguments before passing them to the
6605 # linker. It appears as though 1/2 is a usable value.
6606 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6609 esac
6613 if test -n $lt_cv_sys_max_cmd_len ; then
6614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6615 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6616 else
6617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6618 $as_echo "none" >&6; }
6620 max_cmd_len=$lt_cv_sys_max_cmd_len
6627 : ${CP="cp -f"}
6628 : ${MV="mv -f"}
6629 : ${RM="rm -f"}
6631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6632 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6633 # Try some XSI features
6634 xsi_shell=no
6635 ( _lt_dummy="a/b/c"
6636 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6637 = c,a/b,, \
6638 && eval 'test $(( 1 + 1 )) -eq 2 \
6639 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6640 && xsi_shell=yes
6641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6642 $as_echo "$xsi_shell" >&6; }
6645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6646 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6647 lt_shell_append=no
6648 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6649 >/dev/null 2>&1 \
6650 && lt_shell_append=yes
6651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6652 $as_echo "$lt_shell_append" >&6; }
6655 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6656 lt_unset=unset
6657 else
6658 lt_unset=false
6665 # test EBCDIC or ASCII
6666 case `echo X|tr X '\101'` in
6667 A) # ASCII based system
6668 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6669 lt_SP2NL='tr \040 \012'
6670 lt_NL2SP='tr \015\012 \040\040'
6672 *) # EBCDIC based system
6673 lt_SP2NL='tr \100 \n'
6674 lt_NL2SP='tr \r\n \100\100'
6676 esac
6686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6687 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6688 if ${lt_cv_ld_reload_flag+:} false; then :
6689 $as_echo_n "(cached) " >&6
6690 else
6691 lt_cv_ld_reload_flag='-r'
6693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6694 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6695 reload_flag=$lt_cv_ld_reload_flag
6696 case $reload_flag in
6697 "" | " "*) ;;
6698 *) reload_flag=" $reload_flag" ;;
6699 esac
6700 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6701 case $host_os in
6702 darwin*)
6703 if test "$GCC" = yes; then
6704 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6705 else
6706 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6709 esac
6719 if test -n "$ac_tool_prefix"; then
6720 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6721 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6723 $as_echo_n "checking for $ac_word... " >&6; }
6724 if ${ac_cv_prog_OBJDUMP+:} false; then :
6725 $as_echo_n "(cached) " >&6
6726 else
6727 if test -n "$OBJDUMP"; then
6728 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6729 else
6730 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6731 for as_dir in $PATH
6733 IFS=$as_save_IFS
6734 test -z "$as_dir" && as_dir=.
6735 for ac_exec_ext in '' $ac_executable_extensions; do
6736 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6737 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6738 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6739 break 2
6741 done
6742 done
6743 IFS=$as_save_IFS
6747 OBJDUMP=$ac_cv_prog_OBJDUMP
6748 if test -n "$OBJDUMP"; then
6749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6750 $as_echo "$OBJDUMP" >&6; }
6751 else
6752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6753 $as_echo "no" >&6; }
6758 if test -z "$ac_cv_prog_OBJDUMP"; then
6759 ac_ct_OBJDUMP=$OBJDUMP
6760 # Extract the first word of "objdump", so it can be a program name with args.
6761 set dummy objdump; ac_word=$2
6762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6763 $as_echo_n "checking for $ac_word... " >&6; }
6764 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6765 $as_echo_n "(cached) " >&6
6766 else
6767 if test -n "$ac_ct_OBJDUMP"; then
6768 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6769 else
6770 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6771 for as_dir in $PATH
6773 IFS=$as_save_IFS
6774 test -z "$as_dir" && as_dir=.
6775 for ac_exec_ext in '' $ac_executable_extensions; do
6776 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6777 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6778 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6779 break 2
6781 done
6782 done
6783 IFS=$as_save_IFS
6787 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6788 if test -n "$ac_ct_OBJDUMP"; then
6789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6790 $as_echo "$ac_ct_OBJDUMP" >&6; }
6791 else
6792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6793 $as_echo "no" >&6; }
6796 if test "x$ac_ct_OBJDUMP" = x; then
6797 OBJDUMP="false"
6798 else
6799 case $cross_compiling:$ac_tool_warned in
6800 yes:)
6801 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6802 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6803 ac_tool_warned=yes ;;
6804 esac
6805 OBJDUMP=$ac_ct_OBJDUMP
6807 else
6808 OBJDUMP="$ac_cv_prog_OBJDUMP"
6811 test -z "$OBJDUMP" && OBJDUMP=objdump
6821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6822 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6823 if ${lt_cv_deplibs_check_method+:} false; then :
6824 $as_echo_n "(cached) " >&6
6825 else
6826 lt_cv_file_magic_cmd='$MAGIC_CMD'
6827 lt_cv_file_magic_test_file=
6828 lt_cv_deplibs_check_method='unknown'
6829 # Need to set the preceding variable on all platforms that support
6830 # interlibrary dependencies.
6831 # 'none' -- dependencies not supported.
6832 # `unknown' -- same as none, but documents that we really don't know.
6833 # 'pass_all' -- all dependencies passed with no checks.
6834 # 'test_compile' -- check by making test program.
6835 # 'file_magic [[regex]]' -- check by looking for files in library path
6836 # which responds to the $file_magic_cmd with a given extended regex.
6837 # If you have `file' or equivalent on your system and you're not sure
6838 # whether `pass_all' will *always* work, you probably want this one.
6840 case $host_os in
6841 aix[4-9]*)
6842 lt_cv_deplibs_check_method=pass_all
6845 beos*)
6846 lt_cv_deplibs_check_method=pass_all
6849 bsdi[45]*)
6850 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6851 lt_cv_file_magic_cmd='/usr/bin/file -L'
6852 lt_cv_file_magic_test_file=/shlib/libc.so
6855 cygwin*)
6856 # func_win32_libid is a shell function defined in ltmain.sh
6857 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6858 lt_cv_file_magic_cmd='func_win32_libid'
6861 mingw* | pw32*)
6862 # Base MSYS/MinGW do not provide the 'file' command needed by
6863 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6864 # unless we find 'file', for example because we are cross-compiling.
6865 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6866 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6867 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6868 lt_cv_file_magic_cmd='func_win32_libid'
6869 else
6870 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6871 lt_cv_file_magic_cmd='$OBJDUMP -f'
6875 cegcc*)
6876 # use the weaker test based on 'objdump'. See mingw*.
6877 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6878 lt_cv_file_magic_cmd='$OBJDUMP -f'
6881 darwin* | rhapsody*)
6882 lt_cv_deplibs_check_method=pass_all
6885 freebsd* | dragonfly*)
6886 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6887 case $host_cpu in
6888 i*86 )
6889 # Not sure whether the presence of OpenBSD here was a mistake.
6890 # Let's accept both of them until this is cleared up.
6891 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6892 lt_cv_file_magic_cmd=/usr/bin/file
6893 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6895 esac
6896 else
6897 lt_cv_deplibs_check_method=pass_all
6901 gnu*)
6902 lt_cv_deplibs_check_method=pass_all
6905 haiku*)
6906 lt_cv_deplibs_check_method=pass_all
6909 hpux10.20* | hpux11*)
6910 lt_cv_file_magic_cmd=/usr/bin/file
6911 case $host_cpu in
6912 ia64*)
6913 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6914 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6916 hppa*64*)
6917 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
6918 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6921 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6922 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6924 esac
6927 interix[3-9]*)
6928 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6929 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6932 irix5* | irix6* | nonstopux*)
6933 case $LD in
6934 *-32|*"-32 ") libmagic=32-bit;;
6935 *-n32|*"-n32 ") libmagic=N32;;
6936 *-64|*"-64 ") libmagic=64-bit;;
6937 *) libmagic=never-match;;
6938 esac
6939 lt_cv_deplibs_check_method=pass_all
6942 # This must be Linux ELF.
6943 linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
6944 lt_cv_deplibs_check_method=pass_all
6947 netbsd*)
6948 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6949 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6950 else
6951 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6955 newos6*)
6956 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6957 lt_cv_file_magic_cmd=/usr/bin/file
6958 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6961 *nto* | *qnx*)
6962 lt_cv_deplibs_check_method=pass_all
6965 openbsd*)
6966 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6967 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6968 else
6969 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6973 osf3* | osf4* | osf5*)
6974 lt_cv_deplibs_check_method=pass_all
6977 rdos*)
6978 lt_cv_deplibs_check_method=pass_all
6981 solaris*)
6982 lt_cv_deplibs_check_method=pass_all
6985 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6986 lt_cv_deplibs_check_method=pass_all
6989 sysv4 | sysv4.3*)
6990 case $host_vendor in
6991 motorola)
6992 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
6993 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6995 ncr)
6996 lt_cv_deplibs_check_method=pass_all
6998 sequent)
6999 lt_cv_file_magic_cmd='/bin/file'
7000 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7002 sni)
7003 lt_cv_file_magic_cmd='/bin/file'
7004 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
7005 lt_cv_file_magic_test_file=/lib/libc.so
7007 siemens)
7008 lt_cv_deplibs_check_method=pass_all
7011 lt_cv_deplibs_check_method=pass_all
7013 esac
7016 tpf*)
7017 lt_cv_deplibs_check_method=pass_all
7019 esac
7022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
7023 $as_echo "$lt_cv_deplibs_check_method" >&6; }
7024 file_magic_cmd=$lt_cv_file_magic_cmd
7025 deplibs_check_method=$lt_cv_deplibs_check_method
7026 test -z "$deplibs_check_method" && deplibs_check_method=unknown
7039 if test -n "$ac_tool_prefix"; then
7040 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7041 set dummy ${ac_tool_prefix}ar; ac_word=$2
7042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7043 $as_echo_n "checking for $ac_word... " >&6; }
7044 if ${ac_cv_prog_AR+:} false; then :
7045 $as_echo_n "(cached) " >&6
7046 else
7047 if test -n "$AR"; then
7048 ac_cv_prog_AR="$AR" # Let the user override the test.
7049 else
7050 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7051 for as_dir in $PATH
7053 IFS=$as_save_IFS
7054 test -z "$as_dir" && as_dir=.
7055 for ac_exec_ext in '' $ac_executable_extensions; do
7056 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7057 ac_cv_prog_AR="${ac_tool_prefix}ar"
7058 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7059 break 2
7061 done
7062 done
7063 IFS=$as_save_IFS
7067 AR=$ac_cv_prog_AR
7068 if test -n "$AR"; then
7069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7070 $as_echo "$AR" >&6; }
7071 else
7072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7073 $as_echo "no" >&6; }
7078 if test -z "$ac_cv_prog_AR"; then
7079 ac_ct_AR=$AR
7080 # Extract the first word of "ar", so it can be a program name with args.
7081 set dummy ar; ac_word=$2
7082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7083 $as_echo_n "checking for $ac_word... " >&6; }
7084 if ${ac_cv_prog_ac_ct_AR+:} false; then :
7085 $as_echo_n "(cached) " >&6
7086 else
7087 if test -n "$ac_ct_AR"; then
7088 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7089 else
7090 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7091 for as_dir in $PATH
7093 IFS=$as_save_IFS
7094 test -z "$as_dir" && as_dir=.
7095 for ac_exec_ext in '' $ac_executable_extensions; do
7096 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7097 ac_cv_prog_ac_ct_AR="ar"
7098 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7099 break 2
7101 done
7102 done
7103 IFS=$as_save_IFS
7107 ac_ct_AR=$ac_cv_prog_ac_ct_AR
7108 if test -n "$ac_ct_AR"; then
7109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7110 $as_echo "$ac_ct_AR" >&6; }
7111 else
7112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7113 $as_echo "no" >&6; }
7116 if test "x$ac_ct_AR" = x; then
7117 AR="false"
7118 else
7119 case $cross_compiling:$ac_tool_warned in
7120 yes:)
7121 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7122 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7123 ac_tool_warned=yes ;;
7124 esac
7125 AR=$ac_ct_AR
7127 else
7128 AR="$ac_cv_prog_AR"
7131 test -z "$AR" && AR=ar
7132 test -z "$AR_FLAGS" && AR_FLAGS=cru
7144 if test -n "$ac_tool_prefix"; then
7145 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7146 set dummy ${ac_tool_prefix}strip; ac_word=$2
7147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7148 $as_echo_n "checking for $ac_word... " >&6; }
7149 if ${ac_cv_prog_STRIP+:} false; then :
7150 $as_echo_n "(cached) " >&6
7151 else
7152 if test -n "$STRIP"; then
7153 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7154 else
7155 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7156 for as_dir in $PATH
7158 IFS=$as_save_IFS
7159 test -z "$as_dir" && as_dir=.
7160 for ac_exec_ext in '' $ac_executable_extensions; do
7161 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7162 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7163 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7164 break 2
7166 done
7167 done
7168 IFS=$as_save_IFS
7172 STRIP=$ac_cv_prog_STRIP
7173 if test -n "$STRIP"; then
7174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7175 $as_echo "$STRIP" >&6; }
7176 else
7177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7178 $as_echo "no" >&6; }
7183 if test -z "$ac_cv_prog_STRIP"; then
7184 ac_ct_STRIP=$STRIP
7185 # Extract the first word of "strip", so it can be a program name with args.
7186 set dummy strip; ac_word=$2
7187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7188 $as_echo_n "checking for $ac_word... " >&6; }
7189 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
7190 $as_echo_n "(cached) " >&6
7191 else
7192 if test -n "$ac_ct_STRIP"; then
7193 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7194 else
7195 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7196 for as_dir in $PATH
7198 IFS=$as_save_IFS
7199 test -z "$as_dir" && as_dir=.
7200 for ac_exec_ext in '' $ac_executable_extensions; do
7201 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7202 ac_cv_prog_ac_ct_STRIP="strip"
7203 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7204 break 2
7206 done
7207 done
7208 IFS=$as_save_IFS
7212 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7213 if test -n "$ac_ct_STRIP"; then
7214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7215 $as_echo "$ac_ct_STRIP" >&6; }
7216 else
7217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7218 $as_echo "no" >&6; }
7221 if test "x$ac_ct_STRIP" = x; then
7222 STRIP=":"
7223 else
7224 case $cross_compiling:$ac_tool_warned in
7225 yes:)
7226 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7227 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7228 ac_tool_warned=yes ;;
7229 esac
7230 STRIP=$ac_ct_STRIP
7232 else
7233 STRIP="$ac_cv_prog_STRIP"
7236 test -z "$STRIP" && STRIP=:
7243 if test -n "$ac_tool_prefix"; then
7244 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7245 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7247 $as_echo_n "checking for $ac_word... " >&6; }
7248 if ${ac_cv_prog_RANLIB+:} false; then :
7249 $as_echo_n "(cached) " >&6
7250 else
7251 if test -n "$RANLIB"; then
7252 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7253 else
7254 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7255 for as_dir in $PATH
7257 IFS=$as_save_IFS
7258 test -z "$as_dir" && as_dir=.
7259 for ac_exec_ext in '' $ac_executable_extensions; do
7260 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7261 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7262 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7263 break 2
7265 done
7266 done
7267 IFS=$as_save_IFS
7271 RANLIB=$ac_cv_prog_RANLIB
7272 if test -n "$RANLIB"; then
7273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7274 $as_echo "$RANLIB" >&6; }
7275 else
7276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7277 $as_echo "no" >&6; }
7282 if test -z "$ac_cv_prog_RANLIB"; then
7283 ac_ct_RANLIB=$RANLIB
7284 # Extract the first word of "ranlib", so it can be a program name with args.
7285 set dummy ranlib; ac_word=$2
7286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7287 $as_echo_n "checking for $ac_word... " >&6; }
7288 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
7289 $as_echo_n "(cached) " >&6
7290 else
7291 if test -n "$ac_ct_RANLIB"; then
7292 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7293 else
7294 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7295 for as_dir in $PATH
7297 IFS=$as_save_IFS
7298 test -z "$as_dir" && as_dir=.
7299 for ac_exec_ext in '' $ac_executable_extensions; do
7300 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7301 ac_cv_prog_ac_ct_RANLIB="ranlib"
7302 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7303 break 2
7305 done
7306 done
7307 IFS=$as_save_IFS
7311 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7312 if test -n "$ac_ct_RANLIB"; then
7313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7314 $as_echo "$ac_ct_RANLIB" >&6; }
7315 else
7316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7317 $as_echo "no" >&6; }
7320 if test "x$ac_ct_RANLIB" = x; then
7321 RANLIB=":"
7322 else
7323 case $cross_compiling:$ac_tool_warned in
7324 yes:)
7325 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7326 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7327 ac_tool_warned=yes ;;
7328 esac
7329 RANLIB=$ac_ct_RANLIB
7331 else
7332 RANLIB="$ac_cv_prog_RANLIB"
7335 test -z "$RANLIB" && RANLIB=:
7342 # Determine commands to create old-style static archives.
7343 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7344 old_postinstall_cmds='chmod 644 $oldlib'
7345 old_postuninstall_cmds=
7347 if test -n "$RANLIB"; then
7348 case $host_os in
7349 openbsd*)
7350 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
7353 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
7355 esac
7356 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
7359 case $host_os in
7360 darwin*)
7361 lock_old_archive_extraction=yes ;;
7363 lock_old_archive_extraction=no ;;
7364 esac
7404 # If no C compiler was specified, use CC.
7405 LTCC=${LTCC-"$CC"}
7407 # If no C compiler flags were specified, use CFLAGS.
7408 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7410 # Allow CC to be a program name with arguments.
7411 compiler=$CC
7414 # Check for command to grab the raw symbol name followed by C symbol from nm.
7415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7416 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7417 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7418 $as_echo_n "(cached) " >&6
7419 else
7421 # These are sane defaults that work on at least a few old systems.
7422 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7424 # Character class describing NM global symbol codes.
7425 symcode='[BCDEGRST]'
7427 # Regexp to match symbols that can be accessed directly from C.
7428 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7430 # Define system-specific variables.
7431 case $host_os in
7432 aix*)
7433 symcode='[BCDT]'
7435 cygwin* | mingw* | pw32* | cegcc*)
7436 symcode='[ABCDGISTW]'
7438 hpux*)
7439 if test "$host_cpu" = ia64; then
7440 symcode='[ABCDEGRST]'
7443 irix* | nonstopux*)
7444 symcode='[BCDEGRST]'
7446 osf*)
7447 symcode='[BCDEGQRST]'
7449 solaris*)
7450 symcode='[BDRT]'
7452 sco3.2v5*)
7453 symcode='[DT]'
7455 sysv4.2uw2*)
7456 symcode='[DT]'
7458 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7459 symcode='[ABDT]'
7461 sysv4)
7462 symcode='[DFNSTU]'
7464 esac
7466 # If we're using GNU nm, then use its standard symbol codes.
7467 case `$NM -V 2>&1` in
7468 *GNU* | *'with BFD'*)
7469 symcode='[ABCDGIRSTW]' ;;
7470 esac
7472 # Transform an extracted symbol line into a proper C declaration.
7473 # Some systems (esp. on ia64) link data and code symbols differently,
7474 # so use this general approach.
7475 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7477 # Transform an extracted symbol line into symbol name and symbol address
7478 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7479 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
7481 # Handle CRLF in mingw tool chain
7482 opt_cr=
7483 case $build_os in
7484 mingw*)
7485 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7487 esac
7489 # Try without a prefix underscore, then with it.
7490 for ac_symprfx in "" "_"; do
7492 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7493 symxfrm="\\1 $ac_symprfx\\2 \\2"
7495 # Write the raw and C identifiers.
7496 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7497 # Fake it for dumpbin and say T for any non-static function
7498 # and D for any global variable.
7499 # Also find C++ and __fastcall symbols from MSVC++,
7500 # which start with @ or ?.
7501 lt_cv_sys_global_symbol_pipe="$AWK '"\
7502 " {last_section=section; section=\$ 3};"\
7503 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7504 " \$ 0!~/External *\|/{next};"\
7505 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7506 " {if(hide[section]) next};"\
7507 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7508 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7509 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7510 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7511 " ' prfx=^$ac_symprfx"
7512 else
7513 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7516 # Check to see that the pipe works correctly.
7517 pipe_works=no
7519 rm -f conftest*
7520 cat > conftest.$ac_ext <<_LT_EOF
7521 #ifdef __cplusplus
7522 extern "C" {
7523 #endif
7524 char nm_test_var;
7525 void nm_test_func(void);
7526 void nm_test_func(void){}
7527 #ifdef __cplusplus
7529 #endif
7530 int main(){nm_test_var='a';nm_test_func();return(0);}
7531 _LT_EOF
7533 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7534 (eval $ac_compile) 2>&5
7535 ac_status=$?
7536 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7537 test $ac_status = 0; }; then
7538 # Now try to grab the symbols.
7539 nlist=conftest.nm
7540 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7541 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7542 ac_status=$?
7543 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7544 test $ac_status = 0; } && test -s "$nlist"; then
7545 # Try sorting and uniquifying the output.
7546 if sort "$nlist" | uniq > "$nlist"T; then
7547 mv -f "$nlist"T "$nlist"
7548 else
7549 rm -f "$nlist"T
7552 # Make sure that we snagged all the symbols we need.
7553 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7554 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7555 cat <<_LT_EOF > conftest.$ac_ext
7556 #ifdef __cplusplus
7557 extern "C" {
7558 #endif
7560 _LT_EOF
7561 # Now generate the symbol file.
7562 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7564 cat <<_LT_EOF >> conftest.$ac_ext
7566 /* The mapping between symbol names and symbols. */
7567 const struct {
7568 const char *name;
7569 void *address;
7571 lt__PROGRAM__LTX_preloaded_symbols[] =
7573 { "@PROGRAM@", (void *) 0 },
7574 _LT_EOF
7575 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7576 cat <<\_LT_EOF >> conftest.$ac_ext
7577 {0, (void *) 0}
7580 /* This works around a problem in FreeBSD linker */
7581 #ifdef FREEBSD_WORKAROUND
7582 static const void *lt_preloaded_setup() {
7583 return lt__PROGRAM__LTX_preloaded_symbols;
7585 #endif
7587 #ifdef __cplusplus
7589 #endif
7590 _LT_EOF
7591 # Now try linking the two files.
7592 mv conftest.$ac_objext conftstm.$ac_objext
7593 lt_save_LIBS="$LIBS"
7594 lt_save_CFLAGS="$CFLAGS"
7595 LIBS="conftstm.$ac_objext"
7596 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7597 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7598 (eval $ac_link) 2>&5
7599 ac_status=$?
7600 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7601 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7602 pipe_works=yes
7604 LIBS="$lt_save_LIBS"
7605 CFLAGS="$lt_save_CFLAGS"
7606 else
7607 echo "cannot find nm_test_func in $nlist" >&5
7609 else
7610 echo "cannot find nm_test_var in $nlist" >&5
7612 else
7613 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7615 else
7616 echo "$progname: failed program was:" >&5
7617 cat conftest.$ac_ext >&5
7619 rm -rf conftest* conftst*
7621 # Do not use the global_symbol_pipe unless it works.
7622 if test "$pipe_works" = yes; then
7623 break
7624 else
7625 lt_cv_sys_global_symbol_pipe=
7627 done
7631 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7632 lt_cv_sys_global_symbol_to_cdecl=
7634 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7636 $as_echo "failed" >&6; }
7637 else
7638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7639 $as_echo "ok" >&6; }
7663 # Check whether --enable-libtool-lock was given.
7664 if test "${enable_libtool_lock+set}" = set; then :
7665 enableval=$enable_libtool_lock;
7668 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7670 # Some flags need to be propagated to the compiler or linker for good
7671 # libtool support.
7672 case $host in
7673 ia64-*-hpux*)
7674 # Find out which ABI we are using.
7675 echo 'int i;' > conftest.$ac_ext
7676 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7677 (eval $ac_compile) 2>&5
7678 ac_status=$?
7679 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7680 test $ac_status = 0; }; then
7681 case `/usr/bin/file conftest.$ac_objext` in
7682 *ELF-32*)
7683 HPUX_IA64_MODE="32"
7685 *ELF-64*)
7686 HPUX_IA64_MODE="64"
7688 esac
7690 rm -rf conftest*
7692 *-*-irix6*)
7693 # Find out which ABI we are using.
7694 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7695 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7696 (eval $ac_compile) 2>&5
7697 ac_status=$?
7698 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7699 test $ac_status = 0; }; then
7700 if test "$lt_cv_prog_gnu_ld" = yes; then
7701 case `/usr/bin/file conftest.$ac_objext` in
7702 *32-bit*)
7703 LD="${LD-ld} -melf32bsmip"
7705 *N32*)
7706 LD="${LD-ld} -melf32bmipn32"
7708 *64-bit*)
7709 LD="${LD-ld} -melf64bmip"
7711 esac
7712 else
7713 case `/usr/bin/file conftest.$ac_objext` in
7714 *32-bit*)
7715 LD="${LD-ld} -32"
7717 *N32*)
7718 LD="${LD-ld} -n32"
7720 *64-bit*)
7721 LD="${LD-ld} -64"
7723 esac
7726 rm -rf conftest*
7729 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7730 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7731 # Find out which ABI we are using.
7732 echo 'int i;' > conftest.$ac_ext
7733 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7734 (eval $ac_compile) 2>&5
7735 ac_status=$?
7736 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7737 test $ac_status = 0; }; then
7738 case `/usr/bin/file conftest.o` in
7739 *32-bit*)
7740 case $host in
7741 x86_64-*kfreebsd*-gnu)
7742 LD="${LD-ld} -m elf_i386_fbsd"
7744 x86_64-*linux*)
7745 case `/usr/bin/file conftest.o` in
7746 *x86-64*)
7747 LD="${LD-ld} -m elf32_x86_64"
7750 LD="${LD-ld} -m elf_i386"
7752 esac
7754 powerpc64le-*linux*)
7755 LD="${LD-ld} -m elf32lppclinux"
7757 powerpc64-*linux*)
7758 LD="${LD-ld} -m elf32ppclinux"
7760 s390x-*linux*)
7761 LD="${LD-ld} -m elf_s390"
7763 sparc64-*linux*)
7764 LD="${LD-ld} -m elf32_sparc"
7766 esac
7768 *64-bit*)
7769 case $host in
7770 x86_64-*kfreebsd*-gnu)
7771 LD="${LD-ld} -m elf_x86_64_fbsd"
7773 x86_64-*linux*)
7774 LD="${LD-ld} -m elf_x86_64"
7776 powerpcle-*linux*)
7777 LD="${LD-ld} -m elf64lppc"
7779 powerpc-*linux*)
7780 LD="${LD-ld} -m elf64ppc"
7782 s390*-*linux*|s390*-*tpf*)
7783 LD="${LD-ld} -m elf64_s390"
7785 sparc*-*linux*)
7786 LD="${LD-ld} -m elf64_sparc"
7788 esac
7790 esac
7792 rm -rf conftest*
7795 *-*-sco3.2v5*)
7796 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7797 SAVE_CFLAGS="$CFLAGS"
7798 CFLAGS="$CFLAGS -belf"
7799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7800 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7801 if ${lt_cv_cc_needs_belf+:} false; then :
7802 $as_echo_n "(cached) " >&6
7803 else
7804 ac_ext=c
7805 ac_cpp='$CPP $CPPFLAGS'
7806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7810 if test x$gcc_no_link = xyes; then
7811 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7814 /* end confdefs.h. */
7817 main ()
7821 return 0;
7823 _ACEOF
7824 if ac_fn_c_try_link "$LINENO"; then :
7825 lt_cv_cc_needs_belf=yes
7826 else
7827 lt_cv_cc_needs_belf=no
7829 rm -f core conftest.err conftest.$ac_objext \
7830 conftest$ac_exeext conftest.$ac_ext
7831 ac_ext=c
7832 ac_cpp='$CPP $CPPFLAGS'
7833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7839 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7840 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7841 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7842 CFLAGS="$SAVE_CFLAGS"
7845 sparc*-*solaris*)
7846 # Find out which ABI we are using.
7847 echo 'int i;' > conftest.$ac_ext
7848 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7849 (eval $ac_compile) 2>&5
7850 ac_status=$?
7851 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7852 test $ac_status = 0; }; then
7853 case `/usr/bin/file conftest.o` in
7854 *64-bit*)
7855 case $lt_cv_prog_gnu_ld in
7856 yes*) LD="${LD-ld} -m elf64_sparc" ;;
7858 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7859 LD="${LD-ld} -64"
7862 esac
7864 esac
7866 rm -rf conftest*
7868 esac
7870 need_locks="$enable_libtool_lock"
7873 case $host_os in
7874 rhapsody* | darwin*)
7875 if test -n "$ac_tool_prefix"; then
7876 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7877 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7879 $as_echo_n "checking for $ac_word... " >&6; }
7880 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7881 $as_echo_n "(cached) " >&6
7882 else
7883 if test -n "$DSYMUTIL"; then
7884 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7885 else
7886 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7887 for as_dir in $PATH
7889 IFS=$as_save_IFS
7890 test -z "$as_dir" && as_dir=.
7891 for ac_exec_ext in '' $ac_executable_extensions; do
7892 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7893 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7894 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7895 break 2
7897 done
7898 done
7899 IFS=$as_save_IFS
7903 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7904 if test -n "$DSYMUTIL"; then
7905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7906 $as_echo "$DSYMUTIL" >&6; }
7907 else
7908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7909 $as_echo "no" >&6; }
7914 if test -z "$ac_cv_prog_DSYMUTIL"; then
7915 ac_ct_DSYMUTIL=$DSYMUTIL
7916 # Extract the first word of "dsymutil", so it can be a program name with args.
7917 set dummy dsymutil; ac_word=$2
7918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7919 $as_echo_n "checking for $ac_word... " >&6; }
7920 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7921 $as_echo_n "(cached) " >&6
7922 else
7923 if test -n "$ac_ct_DSYMUTIL"; then
7924 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7925 else
7926 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7927 for as_dir in $PATH
7929 IFS=$as_save_IFS
7930 test -z "$as_dir" && as_dir=.
7931 for ac_exec_ext in '' $ac_executable_extensions; do
7932 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7933 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7934 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7935 break 2
7937 done
7938 done
7939 IFS=$as_save_IFS
7943 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7944 if test -n "$ac_ct_DSYMUTIL"; then
7945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7946 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7947 else
7948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7949 $as_echo "no" >&6; }
7952 if test "x$ac_ct_DSYMUTIL" = x; then
7953 DSYMUTIL=":"
7954 else
7955 case $cross_compiling:$ac_tool_warned in
7956 yes:)
7957 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7958 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7959 ac_tool_warned=yes ;;
7960 esac
7961 DSYMUTIL=$ac_ct_DSYMUTIL
7963 else
7964 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7967 if test -n "$ac_tool_prefix"; then
7968 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7969 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7971 $as_echo_n "checking for $ac_word... " >&6; }
7972 if ${ac_cv_prog_NMEDIT+:} false; then :
7973 $as_echo_n "(cached) " >&6
7974 else
7975 if test -n "$NMEDIT"; then
7976 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7977 else
7978 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7979 for as_dir in $PATH
7981 IFS=$as_save_IFS
7982 test -z "$as_dir" && as_dir=.
7983 for ac_exec_ext in '' $ac_executable_extensions; do
7984 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7985 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7986 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7987 break 2
7989 done
7990 done
7991 IFS=$as_save_IFS
7995 NMEDIT=$ac_cv_prog_NMEDIT
7996 if test -n "$NMEDIT"; then
7997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7998 $as_echo "$NMEDIT" >&6; }
7999 else
8000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8001 $as_echo "no" >&6; }
8006 if test -z "$ac_cv_prog_NMEDIT"; then
8007 ac_ct_NMEDIT=$NMEDIT
8008 # Extract the first word of "nmedit", so it can be a program name with args.
8009 set dummy nmedit; ac_word=$2
8010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8011 $as_echo_n "checking for $ac_word... " >&6; }
8012 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
8013 $as_echo_n "(cached) " >&6
8014 else
8015 if test -n "$ac_ct_NMEDIT"; then
8016 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8017 else
8018 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8019 for as_dir in $PATH
8021 IFS=$as_save_IFS
8022 test -z "$as_dir" && as_dir=.
8023 for ac_exec_ext in '' $ac_executable_extensions; do
8024 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8025 ac_cv_prog_ac_ct_NMEDIT="nmedit"
8026 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8027 break 2
8029 done
8030 done
8031 IFS=$as_save_IFS
8035 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8036 if test -n "$ac_ct_NMEDIT"; then
8037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8038 $as_echo "$ac_ct_NMEDIT" >&6; }
8039 else
8040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8041 $as_echo "no" >&6; }
8044 if test "x$ac_ct_NMEDIT" = x; then
8045 NMEDIT=":"
8046 else
8047 case $cross_compiling:$ac_tool_warned in
8048 yes:)
8049 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8050 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8051 ac_tool_warned=yes ;;
8052 esac
8053 NMEDIT=$ac_ct_NMEDIT
8055 else
8056 NMEDIT="$ac_cv_prog_NMEDIT"
8059 if test -n "$ac_tool_prefix"; then
8060 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8061 set dummy ${ac_tool_prefix}lipo; ac_word=$2
8062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8063 $as_echo_n "checking for $ac_word... " >&6; }
8064 if ${ac_cv_prog_LIPO+:} false; then :
8065 $as_echo_n "(cached) " >&6
8066 else
8067 if test -n "$LIPO"; then
8068 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8069 else
8070 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8071 for as_dir in $PATH
8073 IFS=$as_save_IFS
8074 test -z "$as_dir" && as_dir=.
8075 for ac_exec_ext in '' $ac_executable_extensions; do
8076 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8077 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
8078 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8079 break 2
8081 done
8082 done
8083 IFS=$as_save_IFS
8087 LIPO=$ac_cv_prog_LIPO
8088 if test -n "$LIPO"; then
8089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8090 $as_echo "$LIPO" >&6; }
8091 else
8092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8093 $as_echo "no" >&6; }
8098 if test -z "$ac_cv_prog_LIPO"; then
8099 ac_ct_LIPO=$LIPO
8100 # Extract the first word of "lipo", so it can be a program name with args.
8101 set dummy lipo; ac_word=$2
8102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8103 $as_echo_n "checking for $ac_word... " >&6; }
8104 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
8105 $as_echo_n "(cached) " >&6
8106 else
8107 if test -n "$ac_ct_LIPO"; then
8108 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8109 else
8110 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8111 for as_dir in $PATH
8113 IFS=$as_save_IFS
8114 test -z "$as_dir" && as_dir=.
8115 for ac_exec_ext in '' $ac_executable_extensions; do
8116 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8117 ac_cv_prog_ac_ct_LIPO="lipo"
8118 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8119 break 2
8121 done
8122 done
8123 IFS=$as_save_IFS
8127 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8128 if test -n "$ac_ct_LIPO"; then
8129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8130 $as_echo "$ac_ct_LIPO" >&6; }
8131 else
8132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8133 $as_echo "no" >&6; }
8136 if test "x$ac_ct_LIPO" = x; then
8137 LIPO=":"
8138 else
8139 case $cross_compiling:$ac_tool_warned in
8140 yes:)
8141 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8142 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8143 ac_tool_warned=yes ;;
8144 esac
8145 LIPO=$ac_ct_LIPO
8147 else
8148 LIPO="$ac_cv_prog_LIPO"
8151 if test -n "$ac_tool_prefix"; then
8152 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8153 set dummy ${ac_tool_prefix}otool; ac_word=$2
8154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8155 $as_echo_n "checking for $ac_word... " >&6; }
8156 if ${ac_cv_prog_OTOOL+:} false; then :
8157 $as_echo_n "(cached) " >&6
8158 else
8159 if test -n "$OTOOL"; then
8160 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8161 else
8162 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8163 for as_dir in $PATH
8165 IFS=$as_save_IFS
8166 test -z "$as_dir" && as_dir=.
8167 for ac_exec_ext in '' $ac_executable_extensions; do
8168 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8169 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8170 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8171 break 2
8173 done
8174 done
8175 IFS=$as_save_IFS
8179 OTOOL=$ac_cv_prog_OTOOL
8180 if test -n "$OTOOL"; then
8181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8182 $as_echo "$OTOOL" >&6; }
8183 else
8184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8185 $as_echo "no" >&6; }
8190 if test -z "$ac_cv_prog_OTOOL"; then
8191 ac_ct_OTOOL=$OTOOL
8192 # Extract the first word of "otool", so it can be a program name with args.
8193 set dummy otool; ac_word=$2
8194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8195 $as_echo_n "checking for $ac_word... " >&6; }
8196 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8197 $as_echo_n "(cached) " >&6
8198 else
8199 if test -n "$ac_ct_OTOOL"; then
8200 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8201 else
8202 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8203 for as_dir in $PATH
8205 IFS=$as_save_IFS
8206 test -z "$as_dir" && as_dir=.
8207 for ac_exec_ext in '' $ac_executable_extensions; do
8208 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8209 ac_cv_prog_ac_ct_OTOOL="otool"
8210 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8211 break 2
8213 done
8214 done
8215 IFS=$as_save_IFS
8219 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8220 if test -n "$ac_ct_OTOOL"; then
8221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8222 $as_echo "$ac_ct_OTOOL" >&6; }
8223 else
8224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8225 $as_echo "no" >&6; }
8228 if test "x$ac_ct_OTOOL" = x; then
8229 OTOOL=":"
8230 else
8231 case $cross_compiling:$ac_tool_warned in
8232 yes:)
8233 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8234 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8235 ac_tool_warned=yes ;;
8236 esac
8237 OTOOL=$ac_ct_OTOOL
8239 else
8240 OTOOL="$ac_cv_prog_OTOOL"
8243 if test -n "$ac_tool_prefix"; then
8244 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8245 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8247 $as_echo_n "checking for $ac_word... " >&6; }
8248 if ${ac_cv_prog_OTOOL64+:} false; then :
8249 $as_echo_n "(cached) " >&6
8250 else
8251 if test -n "$OTOOL64"; then
8252 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8253 else
8254 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8255 for as_dir in $PATH
8257 IFS=$as_save_IFS
8258 test -z "$as_dir" && as_dir=.
8259 for ac_exec_ext in '' $ac_executable_extensions; do
8260 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8261 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8262 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8263 break 2
8265 done
8266 done
8267 IFS=$as_save_IFS
8271 OTOOL64=$ac_cv_prog_OTOOL64
8272 if test -n "$OTOOL64"; then
8273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8274 $as_echo "$OTOOL64" >&6; }
8275 else
8276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8277 $as_echo "no" >&6; }
8282 if test -z "$ac_cv_prog_OTOOL64"; then
8283 ac_ct_OTOOL64=$OTOOL64
8284 # Extract the first word of "otool64", so it can be a program name with args.
8285 set dummy otool64; ac_word=$2
8286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8287 $as_echo_n "checking for $ac_word... " >&6; }
8288 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8289 $as_echo_n "(cached) " >&6
8290 else
8291 if test -n "$ac_ct_OTOOL64"; then
8292 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8293 else
8294 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8295 for as_dir in $PATH
8297 IFS=$as_save_IFS
8298 test -z "$as_dir" && as_dir=.
8299 for ac_exec_ext in '' $ac_executable_extensions; do
8300 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8301 ac_cv_prog_ac_ct_OTOOL64="otool64"
8302 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8303 break 2
8305 done
8306 done
8307 IFS=$as_save_IFS
8311 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8312 if test -n "$ac_ct_OTOOL64"; then
8313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8314 $as_echo "$ac_ct_OTOOL64" >&6; }
8315 else
8316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8317 $as_echo "no" >&6; }
8320 if test "x$ac_ct_OTOOL64" = x; then
8321 OTOOL64=":"
8322 else
8323 case $cross_compiling:$ac_tool_warned in
8324 yes:)
8325 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8326 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8327 ac_tool_warned=yes ;;
8328 esac
8329 OTOOL64=$ac_ct_OTOOL64
8331 else
8332 OTOOL64="$ac_cv_prog_OTOOL64"
8361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8362 $as_echo_n "checking for -single_module linker flag... " >&6; }
8363 if ${lt_cv_apple_cc_single_mod+:} false; then :
8364 $as_echo_n "(cached) " >&6
8365 else
8366 lt_cv_apple_cc_single_mod=no
8367 if test -z "${LT_MULTI_MODULE}"; then
8368 # By default we will add the -single_module flag. You can override
8369 # by either setting the environment variable LT_MULTI_MODULE
8370 # non-empty at configure time, or by adding -multi_module to the
8371 # link flags.
8372 rm -rf libconftest.dylib*
8373 echo "int foo(void){return 1;}" > conftest.c
8374 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8375 -dynamiclib -Wl,-single_module conftest.c" >&5
8376 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8377 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8378 _lt_result=$?
8379 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
8380 lt_cv_apple_cc_single_mod=yes
8381 else
8382 cat conftest.err >&5
8384 rm -rf libconftest.dylib*
8385 rm -f conftest.*
8388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8389 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8391 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8392 if ${lt_cv_ld_exported_symbols_list+:} false; then :
8393 $as_echo_n "(cached) " >&6
8394 else
8395 lt_cv_ld_exported_symbols_list=no
8396 save_LDFLAGS=$LDFLAGS
8397 echo "_main" > conftest.sym
8398 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8399 if test x$gcc_no_link = xyes; then
8400 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8403 /* end confdefs.h. */
8406 main ()
8410 return 0;
8412 _ACEOF
8413 if ac_fn_c_try_link "$LINENO"; then :
8414 lt_cv_ld_exported_symbols_list=yes
8415 else
8416 lt_cv_ld_exported_symbols_list=no
8418 rm -f core conftest.err conftest.$ac_objext \
8419 conftest$ac_exeext conftest.$ac_ext
8420 LDFLAGS="$save_LDFLAGS"
8423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8424 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8426 $as_echo_n "checking for -force_load linker flag... " >&6; }
8427 if ${lt_cv_ld_force_load+:} false; then :
8428 $as_echo_n "(cached) " >&6
8429 else
8430 lt_cv_ld_force_load=no
8431 cat > conftest.c << _LT_EOF
8432 int forced_loaded() { return 2;}
8433 _LT_EOF
8434 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8435 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8436 echo "$AR cru libconftest.a conftest.o" >&5
8437 $AR cru libconftest.a conftest.o 2>&5
8438 cat > conftest.c << _LT_EOF
8439 int main() { return 0;}
8440 _LT_EOF
8441 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8442 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8443 _lt_result=$?
8444 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
8445 lt_cv_ld_force_load=yes
8446 else
8447 cat conftest.err >&5
8449 rm -f conftest.err libconftest.a conftest conftest.c
8450 rm -rf conftest.dSYM
8453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8454 $as_echo "$lt_cv_ld_force_load" >&6; }
8455 # Allow for Darwin 4-7 (macOS 10.0-10.3) although these are not expect to
8456 # build without first building modern cctools / linker.
8457 case $host_cpu-$host_os in
8458 *-rhapsody* | *-darwin1.[012])
8459 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8460 *-darwin1.*)
8461 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8462 *-darwin*)
8463 # darwin 5.x (macOS 10.1) onwards we only need to adjust when the
8464 # deployment target is forced to an earlier version.
8465 case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host in
8466 UNSET,*-darwin[89]*|UNSET,*-darwin[12][0123456789]*)
8468 10.[012][,.]*)
8469 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8473 esac
8475 esac
8476 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8477 _lt_dar_single_mod='$single_module'
8479 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8480 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8481 else
8482 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8484 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8485 _lt_dsymutil='~$DSYMUTIL $lib || :'
8486 else
8487 _lt_dsymutil=
8490 esac
8492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
8493 $as_echo_n "checking for ANSI C header files... " >&6; }
8494 if ${ac_cv_header_stdc+:} false; then :
8495 $as_echo_n "(cached) " >&6
8496 else
8497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8498 /* end confdefs.h. */
8499 #include <stdlib.h>
8500 #include <stdarg.h>
8501 #include <string.h>
8502 #include <float.h>
8505 main ()
8509 return 0;
8511 _ACEOF
8512 if ac_fn_c_try_compile "$LINENO"; then :
8513 ac_cv_header_stdc=yes
8514 else
8515 ac_cv_header_stdc=no
8517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8519 if test $ac_cv_header_stdc = yes; then
8520 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8522 /* end confdefs.h. */
8523 #include <string.h>
8525 _ACEOF
8526 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8527 $EGREP "memchr" >/dev/null 2>&1; then :
8529 else
8530 ac_cv_header_stdc=no
8532 rm -f conftest*
8536 if test $ac_cv_header_stdc = yes; then
8537 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8539 /* end confdefs.h. */
8540 #include <stdlib.h>
8542 _ACEOF
8543 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8544 $EGREP "free" >/dev/null 2>&1; then :
8546 else
8547 ac_cv_header_stdc=no
8549 rm -f conftest*
8553 if test $ac_cv_header_stdc = yes; then
8554 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8555 if test "$cross_compiling" = yes; then :
8557 else
8558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8559 /* end confdefs.h. */
8560 #include <ctype.h>
8561 #include <stdlib.h>
8562 #if ((' ' & 0x0FF) == 0x020)
8563 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8564 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8565 #else
8566 # define ISLOWER(c) \
8567 (('a' <= (c) && (c) <= 'i') \
8568 || ('j' <= (c) && (c) <= 'r') \
8569 || ('s' <= (c) && (c) <= 'z'))
8570 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8571 #endif
8573 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8575 main ()
8577 int i;
8578 for (i = 0; i < 256; i++)
8579 if (XOR (islower (i), ISLOWER (i))
8580 || toupper (i) != TOUPPER (i))
8581 return 2;
8582 return 0;
8584 _ACEOF
8585 if ac_fn_c_try_run "$LINENO"; then :
8587 else
8588 ac_cv_header_stdc=no
8590 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8591 conftest.$ac_objext conftest.beam conftest.$ac_ext
8596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8597 $as_echo "$ac_cv_header_stdc" >&6; }
8598 if test $ac_cv_header_stdc = yes; then
8600 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8604 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8605 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8606 inttypes.h stdint.h unistd.h
8607 do :
8608 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8609 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8611 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8612 cat >>confdefs.h <<_ACEOF
8613 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8614 _ACEOF
8618 done
8621 for ac_header in dlfcn.h
8622 do :
8623 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8625 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8626 cat >>confdefs.h <<_ACEOF
8627 #define HAVE_DLFCN_H 1
8628 _ACEOF
8632 done
8639 # Set options
8644 enable_win32_dll=no
8647 # Check whether --enable-shared was given.
8648 if test "${enable_shared+set}" = set; then :
8649 enableval=$enable_shared; p=${PACKAGE-default}
8650 case $enableval in
8651 yes) enable_shared=yes ;;
8652 no) enable_shared=no ;;
8654 enable_shared=no
8655 # Look at the argument we got. We use all the common list separators.
8656 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8657 for pkg in $enableval; do
8658 IFS="$lt_save_ifs"
8659 if test "X$pkg" = "X$p"; then
8660 enable_shared=yes
8662 done
8663 IFS="$lt_save_ifs"
8665 esac
8666 else
8667 enable_shared=yes
8678 # Check whether --enable-static was given.
8679 if test "${enable_static+set}" = set; then :
8680 enableval=$enable_static; p=${PACKAGE-default}
8681 case $enableval in
8682 yes) enable_static=yes ;;
8683 no) enable_static=no ;;
8685 enable_static=no
8686 # Look at the argument we got. We use all the common list separators.
8687 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8688 for pkg in $enableval; do
8689 IFS="$lt_save_ifs"
8690 if test "X$pkg" = "X$p"; then
8691 enable_static=yes
8693 done
8694 IFS="$lt_save_ifs"
8696 esac
8697 else
8698 enable_static=yes
8710 # Check whether --with-pic was given.
8711 if test "${with_pic+set}" = set; then :
8712 withval=$with_pic; pic_mode="$withval"
8713 else
8714 pic_mode=default
8718 test -z "$pic_mode" && pic_mode=default
8726 # Check whether --enable-fast-install was given.
8727 if test "${enable_fast_install+set}" = set; then :
8728 enableval=$enable_fast_install; p=${PACKAGE-default}
8729 case $enableval in
8730 yes) enable_fast_install=yes ;;
8731 no) enable_fast_install=no ;;
8733 enable_fast_install=no
8734 # Look at the argument we got. We use all the common list separators.
8735 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8736 for pkg in $enableval; do
8737 IFS="$lt_save_ifs"
8738 if test "X$pkg" = "X$p"; then
8739 enable_fast_install=yes
8741 done
8742 IFS="$lt_save_ifs"
8744 esac
8745 else
8746 enable_fast_install=yes
8759 # This can be used to rebuild libtool when needed
8760 LIBTOOL_DEPS="$ltmain"
8762 # Always use our own libtool.
8763 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8790 test -z "$LN_S" && LN_S="ln -s"
8805 if test -n "${ZSH_VERSION+set}" ; then
8806 setopt NO_GLOB_SUBST
8809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8810 $as_echo_n "checking for objdir... " >&6; }
8811 if ${lt_cv_objdir+:} false; then :
8812 $as_echo_n "(cached) " >&6
8813 else
8814 rm -f .libs 2>/dev/null
8815 mkdir .libs 2>/dev/null
8816 if test -d .libs; then
8817 lt_cv_objdir=.libs
8818 else
8819 # MS-DOS does not allow filenames that begin with a dot.
8820 lt_cv_objdir=_libs
8822 rmdir .libs 2>/dev/null
8824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8825 $as_echo "$lt_cv_objdir" >&6; }
8826 objdir=$lt_cv_objdir
8832 cat >>confdefs.h <<_ACEOF
8833 #define LT_OBJDIR "$lt_cv_objdir/"
8834 _ACEOF
8839 case $host_os in
8840 aix3*)
8841 # AIX sometimes has problems with the GCC collect2 program. For some
8842 # reason, if we set the COLLECT_NAMES environment variable, the problems
8843 # vanish in a puff of smoke.
8844 if test "X${COLLECT_NAMES+set}" != Xset; then
8845 COLLECT_NAMES=
8846 export COLLECT_NAMES
8849 esac
8851 # Global variables:
8852 ofile=libtool
8853 can_build_shared=yes
8855 # All known linkers require a `.a' archive for static linking (except MSVC,
8856 # which needs '.lib').
8857 libext=a
8859 with_gnu_ld="$lt_cv_prog_gnu_ld"
8861 old_CC="$CC"
8862 old_CFLAGS="$CFLAGS"
8864 # Set sane defaults for various variables
8865 test -z "$CC" && CC=cc
8866 test -z "$LTCC" && LTCC=$CC
8867 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8868 test -z "$LD" && LD=ld
8869 test -z "$ac_objext" && ac_objext=o
8871 for cc_temp in $compiler""; do
8872 case $cc_temp in
8873 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8874 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8875 \-*) ;;
8876 *) break;;
8877 esac
8878 done
8879 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8882 # Only perform the check for file, if the check method requires it
8883 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8884 case $deplibs_check_method in
8885 file_magic*)
8886 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8888 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8889 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8890 $as_echo_n "(cached) " >&6
8891 else
8892 case $MAGIC_CMD in
8893 [\\/*] | ?:[\\/]*)
8894 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8897 lt_save_MAGIC_CMD="$MAGIC_CMD"
8898 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8899 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8900 for ac_dir in $ac_dummy; do
8901 IFS="$lt_save_ifs"
8902 test -z "$ac_dir" && ac_dir=.
8903 if test -f $ac_dir/${ac_tool_prefix}file; then
8904 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8905 if test -n "$file_magic_test_file"; then
8906 case $deplibs_check_method in
8907 "file_magic "*)
8908 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8909 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8910 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8911 $EGREP "$file_magic_regex" > /dev/null; then
8913 else
8914 cat <<_LT_EOF 1>&2
8916 *** Warning: the command libtool uses to detect shared libraries,
8917 *** $file_magic_cmd, produces output that libtool cannot recognize.
8918 *** The result is that libtool may fail to recognize shared libraries
8919 *** as such. This will affect the creation of libtool libraries that
8920 *** depend on shared libraries, but programs linked with such libtool
8921 *** libraries will work regardless of this problem. Nevertheless, you
8922 *** may want to report the problem to your system manager and/or to
8923 *** bug-libtool@gnu.org
8925 _LT_EOF
8926 fi ;;
8927 esac
8929 break
8931 done
8932 IFS="$lt_save_ifs"
8933 MAGIC_CMD="$lt_save_MAGIC_CMD"
8935 esac
8938 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8939 if test -n "$MAGIC_CMD"; then
8940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8941 $as_echo "$MAGIC_CMD" >&6; }
8942 else
8943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8944 $as_echo "no" >&6; }
8951 if test -z "$lt_cv_path_MAGIC_CMD"; then
8952 if test -n "$ac_tool_prefix"; then
8953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8954 $as_echo_n "checking for file... " >&6; }
8955 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8956 $as_echo_n "(cached) " >&6
8957 else
8958 case $MAGIC_CMD in
8959 [\\/*] | ?:[\\/]*)
8960 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8963 lt_save_MAGIC_CMD="$MAGIC_CMD"
8964 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8965 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8966 for ac_dir in $ac_dummy; do
8967 IFS="$lt_save_ifs"
8968 test -z "$ac_dir" && ac_dir=.
8969 if test -f $ac_dir/file; then
8970 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8971 if test -n "$file_magic_test_file"; then
8972 case $deplibs_check_method in
8973 "file_magic "*)
8974 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8975 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8976 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8977 $EGREP "$file_magic_regex" > /dev/null; then
8979 else
8980 cat <<_LT_EOF 1>&2
8982 *** Warning: the command libtool uses to detect shared libraries,
8983 *** $file_magic_cmd, produces output that libtool cannot recognize.
8984 *** The result is that libtool may fail to recognize shared libraries
8985 *** as such. This will affect the creation of libtool libraries that
8986 *** depend on shared libraries, but programs linked with such libtool
8987 *** libraries will work regardless of this problem. Nevertheless, you
8988 *** may want to report the problem to your system manager and/or to
8989 *** bug-libtool@gnu.org
8991 _LT_EOF
8992 fi ;;
8993 esac
8995 break
8997 done
8998 IFS="$lt_save_ifs"
8999 MAGIC_CMD="$lt_save_MAGIC_CMD"
9001 esac
9004 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9005 if test -n "$MAGIC_CMD"; then
9006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9007 $as_echo "$MAGIC_CMD" >&6; }
9008 else
9009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9010 $as_echo "no" >&6; }
9014 else
9015 MAGIC_CMD=:
9021 esac
9023 # Use C for the default configuration in the libtool script
9025 lt_save_CC="$CC"
9026 ac_ext=c
9027 ac_cpp='$CPP $CPPFLAGS'
9028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9033 # Source file extension for C test sources.
9034 ac_ext=c
9036 # Object file extension for compiled C test sources.
9037 objext=o
9038 objext=$objext
9040 # Code to be used in simple compile tests
9041 lt_simple_compile_test_code="int some_variable = 0;"
9043 # Code to be used in simple link tests
9044 lt_simple_link_test_code='int main(){return(0);}'
9052 # If no C compiler was specified, use CC.
9053 LTCC=${LTCC-"$CC"}
9055 # If no C compiler flags were specified, use CFLAGS.
9056 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9058 # Allow CC to be a program name with arguments.
9059 compiler=$CC
9061 # Save the default compiler, since it gets overwritten when the other
9062 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9063 compiler_DEFAULT=$CC
9065 # save warnings/boilerplate of simple test code
9066 ac_outfile=conftest.$ac_objext
9067 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9068 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9069 _lt_compiler_boilerplate=`cat conftest.err`
9070 $RM conftest*
9072 ac_outfile=conftest.$ac_objext
9073 echo "$lt_simple_link_test_code" >conftest.$ac_ext
9074 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9075 _lt_linker_boilerplate=`cat conftest.err`
9076 $RM -r conftest*
9079 ## CAVEAT EMPTOR:
9080 ## There is no encapsulation within the following macros, do not change
9081 ## the running order or otherwise move them around unless you know exactly
9082 ## what you are doing...
9083 if test -n "$compiler"; then
9085 lt_prog_compiler_no_builtin_flag=
9087 if test "$GCC" = yes; then
9088 case $cc_basename in
9089 nvcc*)
9090 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9092 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9093 esac
9095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9096 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9097 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
9098 $as_echo_n "(cached) " >&6
9099 else
9100 lt_cv_prog_compiler_rtti_exceptions=no
9101 ac_outfile=conftest.$ac_objext
9102 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9103 lt_compiler_flag="-fno-rtti -fno-exceptions"
9104 # Insert the option either (1) after the last *FLAGS variable, or
9105 # (2) before a word containing "conftest.", or (3) at the end.
9106 # Note that $ac_compile itself does not contain backslashes and begins
9107 # with a dollar sign (not a hyphen), so the echo should work correctly.
9108 # The option is referenced via a variable to avoid confusing sed.
9109 lt_compile=`echo "$ac_compile" | $SED \
9110 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9111 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9112 -e 's:$: $lt_compiler_flag:'`
9113 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9114 (eval "$lt_compile" 2>conftest.err)
9115 ac_status=$?
9116 cat conftest.err >&5
9117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9118 if (exit $ac_status) && test -s "$ac_outfile"; then
9119 # The compiler can only warn and ignore the option if not recognized
9120 # So say no if there are warnings other than the usual output.
9121 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9122 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9123 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9124 lt_cv_prog_compiler_rtti_exceptions=yes
9127 $RM conftest*
9130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9131 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9133 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9134 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9135 else
9146 lt_prog_compiler_wl=
9147 lt_prog_compiler_pic=
9148 lt_prog_compiler_static=
9150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9151 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9153 if test "$GCC" = yes; then
9154 lt_prog_compiler_wl='-Wl,'
9155 lt_prog_compiler_static='-static'
9157 case $host_os in
9158 aix*)
9159 # All AIX code is PIC.
9160 if test "$host_cpu" = ia64; then
9161 # AIX 5 now supports IA64 processor
9162 lt_prog_compiler_static='-Bstatic'
9164 lt_prog_compiler_pic='-fPIC'
9167 amigaos*)
9168 case $host_cpu in
9169 powerpc)
9170 # see comment about AmigaOS4 .so support
9171 lt_prog_compiler_pic='-fPIC'
9173 m68k)
9174 # FIXME: we need at least 68020 code to build shared libraries, but
9175 # adding the `-m68020' flag to GCC prevents building anything better,
9176 # like `-m68040'.
9177 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9179 esac
9182 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9183 # PIC is the default for these OSes.
9186 mingw* | cygwin* | pw32* | os2* | cegcc*)
9187 # This hack is so that the source file can tell whether it is being
9188 # built for inclusion in a dll (and should export symbols for example).
9189 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9190 # (--disable-auto-import) libraries
9191 lt_prog_compiler_pic='-DDLL_EXPORT'
9194 darwin* | rhapsody*)
9195 # PIC is the default on this platform
9196 # Common symbols not allowed in MH_DYLIB files
9197 lt_prog_compiler_pic='-fno-common'
9200 haiku*)
9201 # PIC is the default for Haiku.
9202 # The "-static" flag exists, but is broken.
9203 lt_prog_compiler_static=
9206 hpux*)
9207 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9208 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9209 # sets the default TLS model and affects inlining.
9210 case $host_cpu in
9211 hppa*64*)
9212 # +Z the default
9215 lt_prog_compiler_pic='-fPIC'
9217 esac
9220 interix[3-9]*)
9221 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9222 # Instead, we relocate shared libraries at runtime.
9225 msdosdjgpp*)
9226 # Just because we use GCC doesn't mean we suddenly get shared libraries
9227 # on systems that don't support them.
9228 lt_prog_compiler_can_build_shared=no
9229 enable_shared=no
9232 *nto* | *qnx*)
9233 # QNX uses GNU C++, but need to define -shared option too, otherwise
9234 # it will coredump.
9235 lt_prog_compiler_pic='-fPIC -shared'
9238 sysv4*MP*)
9239 if test -d /usr/nec; then
9240 lt_prog_compiler_pic=-Kconform_pic
9245 lt_prog_compiler_pic='-fPIC'
9247 esac
9249 case $cc_basename in
9250 nvcc*) # Cuda Compiler Driver 2.2
9251 lt_prog_compiler_wl='-Xlinker '
9252 lt_prog_compiler_pic='-Xcompiler -fPIC'
9254 esac
9255 else
9256 # PORTME Check for flag to pass linker flags through the system compiler.
9257 case $host_os in
9258 aix*)
9259 lt_prog_compiler_wl='-Wl,'
9260 if test "$host_cpu" = ia64; then
9261 # AIX 5 now supports IA64 processor
9262 lt_prog_compiler_static='-Bstatic'
9263 else
9264 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9268 mingw* | cygwin* | pw32* | os2* | cegcc*)
9269 # This hack is so that the source file can tell whether it is being
9270 # built for inclusion in a dll (and should export symbols for example).
9271 lt_prog_compiler_pic='-DDLL_EXPORT'
9274 hpux9* | hpux10* | hpux11*)
9275 lt_prog_compiler_wl='-Wl,'
9276 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9277 # not for PA HP-UX.
9278 case $host_cpu in
9279 hppa*64*|ia64*)
9280 # +Z the default
9283 lt_prog_compiler_pic='+Z'
9285 esac
9286 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9287 lt_prog_compiler_static='${wl}-a ${wl}archive'
9290 irix5* | irix6* | nonstopux*)
9291 lt_prog_compiler_wl='-Wl,'
9292 # PIC (with -KPIC) is the default.
9293 lt_prog_compiler_static='-non_shared'
9296 linux* | k*bsd*-gnu | kopensolaris*-gnu)
9297 case $cc_basename in
9298 # old Intel for x86_64 which still supported -KPIC.
9299 ecc*)
9300 lt_prog_compiler_wl='-Wl,'
9301 lt_prog_compiler_pic='-KPIC'
9302 lt_prog_compiler_static='-static'
9304 # icc used to be incompatible with GCC.
9305 # ICC 10 doesn't accept -KPIC any more.
9306 icc* | ifort*)
9307 lt_prog_compiler_wl='-Wl,'
9308 lt_prog_compiler_pic='-fPIC'
9309 lt_prog_compiler_static='-static'
9311 # Lahey Fortran 8.1.
9312 lf95*)
9313 lt_prog_compiler_wl='-Wl,'
9314 lt_prog_compiler_pic='--shared'
9315 lt_prog_compiler_static='--static'
9317 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9318 # Portland Group compilers (*not* the Pentium gcc compiler,
9319 # which looks to be a dead project)
9320 lt_prog_compiler_wl='-Wl,'
9321 lt_prog_compiler_pic='-fpic'
9322 lt_prog_compiler_static='-Bstatic'
9324 ccc*)
9325 lt_prog_compiler_wl='-Wl,'
9326 # All Alpha code is PIC.
9327 lt_prog_compiler_static='-non_shared'
9329 xl* | bgxl* | bgf* | mpixl*)
9330 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9331 lt_prog_compiler_wl='-Wl,'
9332 lt_prog_compiler_pic='-qpic'
9333 lt_prog_compiler_static='-qstaticlink'
9336 case `$CC -V 2>&1 | sed 5q` in
9337 *Sun\ F* | *Sun*Fortran*)
9338 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9339 lt_prog_compiler_pic='-KPIC'
9340 lt_prog_compiler_static='-Bstatic'
9341 lt_prog_compiler_wl=''
9343 *Sun\ C*)
9344 # Sun C 5.9
9345 lt_prog_compiler_pic='-KPIC'
9346 lt_prog_compiler_static='-Bstatic'
9347 lt_prog_compiler_wl='-Wl,'
9349 esac
9351 esac
9354 newsos6)
9355 lt_prog_compiler_pic='-KPIC'
9356 lt_prog_compiler_static='-Bstatic'
9359 *nto* | *qnx*)
9360 # QNX uses GNU C++, but need to define -shared option too, otherwise
9361 # it will coredump.
9362 lt_prog_compiler_pic='-fPIC -shared'
9365 osf3* | osf4* | osf5*)
9366 lt_prog_compiler_wl='-Wl,'
9367 # All OSF/1 code is PIC.
9368 lt_prog_compiler_static='-non_shared'
9371 rdos*)
9372 lt_prog_compiler_static='-non_shared'
9375 solaris*)
9376 lt_prog_compiler_pic='-KPIC'
9377 lt_prog_compiler_static='-Bstatic'
9378 case $cc_basename in
9379 f77* | f90* | f95*)
9380 lt_prog_compiler_wl='-Qoption ld ';;
9382 lt_prog_compiler_wl='-Wl,';;
9383 esac
9386 sunos4*)
9387 lt_prog_compiler_wl='-Qoption ld '
9388 lt_prog_compiler_pic='-PIC'
9389 lt_prog_compiler_static='-Bstatic'
9392 sysv4 | sysv4.2uw2* | sysv4.3*)
9393 lt_prog_compiler_wl='-Wl,'
9394 lt_prog_compiler_pic='-KPIC'
9395 lt_prog_compiler_static='-Bstatic'
9398 sysv4*MP*)
9399 if test -d /usr/nec ;then
9400 lt_prog_compiler_pic='-Kconform_pic'
9401 lt_prog_compiler_static='-Bstatic'
9405 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9406 lt_prog_compiler_wl='-Wl,'
9407 lt_prog_compiler_pic='-KPIC'
9408 lt_prog_compiler_static='-Bstatic'
9411 unicos*)
9412 lt_prog_compiler_wl='-Wl,'
9413 lt_prog_compiler_can_build_shared=no
9416 uts4*)
9417 lt_prog_compiler_pic='-pic'
9418 lt_prog_compiler_static='-Bstatic'
9422 lt_prog_compiler_can_build_shared=no
9424 esac
9427 case $host_os in
9428 # For platforms which do not support PIC, -DPIC is meaningless:
9429 *djgpp*)
9430 lt_prog_compiler_pic=
9433 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9435 esac
9436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
9437 $as_echo "$lt_prog_compiler_pic" >&6; }
9445 # Check to make sure the PIC flag actually works.
9447 if test -n "$lt_prog_compiler_pic"; then
9448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9449 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9450 if ${lt_cv_prog_compiler_pic_works+:} false; then :
9451 $as_echo_n "(cached) " >&6
9452 else
9453 lt_cv_prog_compiler_pic_works=no
9454 ac_outfile=conftest.$ac_objext
9455 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9456 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9457 # Insert the option either (1) after the last *FLAGS variable, or
9458 # (2) before a word containing "conftest.", or (3) at the end.
9459 # Note that $ac_compile itself does not contain backslashes and begins
9460 # with a dollar sign (not a hyphen), so the echo should work correctly.
9461 # The option is referenced via a variable to avoid confusing sed.
9462 lt_compile=`echo "$ac_compile" | $SED \
9463 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9464 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9465 -e 's:$: $lt_compiler_flag:'`
9466 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9467 (eval "$lt_compile" 2>conftest.err)
9468 ac_status=$?
9469 cat conftest.err >&5
9470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9471 if (exit $ac_status) && test -s "$ac_outfile"; then
9472 # The compiler can only warn and ignore the option if not recognized
9473 # So say no if there are warnings other than the usual output.
9474 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9475 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9476 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9477 lt_cv_prog_compiler_pic_works=yes
9480 $RM conftest*
9483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9484 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9486 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9487 case $lt_prog_compiler_pic in
9488 "" | " "*) ;;
9489 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9490 esac
9491 else
9492 lt_prog_compiler_pic=
9493 lt_prog_compiler_can_build_shared=no
9504 # Check to make sure the static flag actually works.
9506 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9508 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9509 if ${lt_cv_prog_compiler_static_works+:} false; then :
9510 $as_echo_n "(cached) " >&6
9511 else
9512 lt_cv_prog_compiler_static_works=no
9513 save_LDFLAGS="$LDFLAGS"
9514 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9515 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9516 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9517 # The linker can only warn and ignore the option if not recognized
9518 # So say no if there are warnings
9519 if test -s conftest.err; then
9520 # Append any errors to the config.log.
9521 cat conftest.err 1>&5
9522 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9523 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9524 if diff conftest.exp conftest.er2 >/dev/null; then
9525 lt_cv_prog_compiler_static_works=yes
9527 else
9528 lt_cv_prog_compiler_static_works=yes
9531 $RM -r conftest*
9532 LDFLAGS="$save_LDFLAGS"
9535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9536 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9538 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9540 else
9541 lt_prog_compiler_static=
9550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9551 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9552 if ${lt_cv_prog_compiler_c_o+:} false; then :
9553 $as_echo_n "(cached) " >&6
9554 else
9555 lt_cv_prog_compiler_c_o=no
9556 $RM -r conftest 2>/dev/null
9557 mkdir conftest
9558 cd conftest
9559 mkdir out
9560 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9562 lt_compiler_flag="-o out/conftest2.$ac_objext"
9563 # Insert the option either (1) after the last *FLAGS variable, or
9564 # (2) before a word containing "conftest.", or (3) at the end.
9565 # Note that $ac_compile itself does not contain backslashes and begins
9566 # with a dollar sign (not a hyphen), so the echo should work correctly.
9567 lt_compile=`echo "$ac_compile" | $SED \
9568 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9569 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9570 -e 's:$: $lt_compiler_flag:'`
9571 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9572 (eval "$lt_compile" 2>out/conftest.err)
9573 ac_status=$?
9574 cat out/conftest.err >&5
9575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9576 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9577 then
9578 # The compiler can only warn and ignore the option if not recognized
9579 # So say no if there are warnings
9580 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9581 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9582 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9583 lt_cv_prog_compiler_c_o=yes
9586 chmod u+w . 2>&5
9587 $RM conftest*
9588 # SGI C++ compiler will create directory out/ii_files/ for
9589 # template instantiation
9590 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9591 $RM out/* && rmdir out
9592 cd ..
9593 $RM -r conftest
9594 $RM conftest*
9597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9598 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9606 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9607 if ${lt_cv_prog_compiler_c_o+:} false; then :
9608 $as_echo_n "(cached) " >&6
9609 else
9610 lt_cv_prog_compiler_c_o=no
9611 $RM -r conftest 2>/dev/null
9612 mkdir conftest
9613 cd conftest
9614 mkdir out
9615 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9617 lt_compiler_flag="-o out/conftest2.$ac_objext"
9618 # Insert the option either (1) after the last *FLAGS variable, or
9619 # (2) before a word containing "conftest.", or (3) at the end.
9620 # Note that $ac_compile itself does not contain backslashes and begins
9621 # with a dollar sign (not a hyphen), so the echo should work correctly.
9622 lt_compile=`echo "$ac_compile" | $SED \
9623 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9624 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9625 -e 's:$: $lt_compiler_flag:'`
9626 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9627 (eval "$lt_compile" 2>out/conftest.err)
9628 ac_status=$?
9629 cat out/conftest.err >&5
9630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9631 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9632 then
9633 # The compiler can only warn and ignore the option if not recognized
9634 # So say no if there are warnings
9635 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9636 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9637 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9638 lt_cv_prog_compiler_c_o=yes
9641 chmod u+w . 2>&5
9642 $RM conftest*
9643 # SGI C++ compiler will create directory out/ii_files/ for
9644 # template instantiation
9645 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9646 $RM out/* && rmdir out
9647 cd ..
9648 $RM -r conftest
9649 $RM conftest*
9652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9653 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9658 hard_links="nottested"
9659 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9660 # do not overwrite the value of need_locks provided by the user
9661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9662 $as_echo_n "checking if we can lock with hard links... " >&6; }
9663 hard_links=yes
9664 $RM conftest*
9665 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9666 touch conftest.a
9667 ln conftest.a conftest.b 2>&5 || hard_links=no
9668 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9670 $as_echo "$hard_links" >&6; }
9671 if test "$hard_links" = no; then
9672 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9673 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9674 need_locks=warn
9676 else
9677 need_locks=no
9685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9686 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9688 runpath_var=
9689 allow_undefined_flag=
9690 always_export_symbols=no
9691 archive_cmds=
9692 archive_expsym_cmds=
9693 compiler_needs_object=no
9694 enable_shared_with_static_runtimes=no
9695 export_dynamic_flag_spec=
9696 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9697 hardcode_automatic=no
9698 hardcode_direct=no
9699 hardcode_direct_absolute=no
9700 hardcode_libdir_flag_spec=
9701 hardcode_libdir_flag_spec_ld=
9702 hardcode_libdir_separator=
9703 hardcode_minus_L=no
9704 hardcode_shlibpath_var=unsupported
9705 inherit_rpath=no
9706 link_all_deplibs=unknown
9707 module_cmds=
9708 module_expsym_cmds=
9709 old_archive_from_new_cmds=
9710 old_archive_from_expsyms_cmds=
9711 thread_safe_flag_spec=
9712 whole_archive_flag_spec=
9713 # include_expsyms should be a list of space-separated symbols to be *always*
9714 # included in the symbol list
9715 include_expsyms=
9716 # exclude_expsyms can be an extended regexp of symbols to exclude
9717 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9718 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9719 # as well as any symbol that contains `d'.
9720 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9721 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9722 # platforms (ab)use it in PIC code, but their linkers get confused if
9723 # the symbol is explicitly referenced. Since portable code cannot
9724 # rely on this symbol name, it's probably fine to never include it in
9725 # preloaded symbol tables.
9726 # Exclude shared library initialization/finalization symbols.
9727 extract_expsyms_cmds=
9729 case $host_os in
9730 cygwin* | mingw* | pw32* | cegcc*)
9731 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9732 # When not using gcc, we currently assume that we are using
9733 # Microsoft Visual C++.
9734 if test "$GCC" != yes; then
9735 with_gnu_ld=no
9738 interix*)
9739 # we just hope/assume this is gcc and not c89 (= MSVC++)
9740 with_gnu_ld=yes
9742 openbsd*)
9743 with_gnu_ld=no
9745 esac
9747 ld_shlibs=yes
9749 # On some targets, GNU ld is compatible enough with the native linker
9750 # that we're better off using the native interface for both.
9751 lt_use_gnu_ld_interface=no
9752 if test "$with_gnu_ld" = yes; then
9753 case $host_os in
9754 aix*)
9755 # The AIX port of GNU ld has always aspired to compatibility
9756 # with the native linker. However, as the warning in the GNU ld
9757 # block says, versions before 2.19.5* couldn't really create working
9758 # shared libraries, regardless of the interface used.
9759 case `$LD -v 2>&1` in
9760 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9761 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9762 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9764 lt_use_gnu_ld_interface=yes
9766 esac
9769 lt_use_gnu_ld_interface=yes
9771 esac
9774 if test "$lt_use_gnu_ld_interface" = yes; then
9775 # If archive_cmds runs LD, not CC, wlarc should be empty
9776 wlarc='${wl}'
9778 # Set some defaults for GNU ld with shared library support. These
9779 # are reset later if shared libraries are not supported. Putting them
9780 # here allows them to be overridden if necessary.
9781 runpath_var=LD_RUN_PATH
9782 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9783 export_dynamic_flag_spec='${wl}--export-dynamic'
9784 # ancient GNU ld didn't support --whole-archive et. al.
9785 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9786 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9787 else
9788 whole_archive_flag_spec=
9790 supports_anon_versioning=no
9791 case `$LD -v 2>&1` in
9792 *GNU\ gold*) supports_anon_versioning=yes ;;
9793 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9794 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9795 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9796 *\ 2.11.*) ;; # other 2.11 versions
9797 *) supports_anon_versioning=yes ;;
9798 esac
9800 # See if GNU ld supports shared libraries.
9801 case $host_os in
9802 aix[3-9]*)
9803 # On AIX/PPC, the GNU linker is very broken
9804 if test "$host_cpu" != ia64; then
9805 ld_shlibs=no
9806 cat <<_LT_EOF 1>&2
9808 *** Warning: the GNU linker, at least up to release 2.19, is reported
9809 *** to be unable to reliably create shared libraries on AIX.
9810 *** Therefore, libtool is disabling shared libraries support. If you
9811 *** really care for shared libraries, you may want to install binutils
9812 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9813 *** You will then need to restart the configuration process.
9815 _LT_EOF
9819 amigaos*)
9820 case $host_cpu in
9821 powerpc)
9822 # see comment about AmigaOS4 .so support
9823 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9824 archive_expsym_cmds=''
9826 m68k)
9827 archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
9828 hardcode_libdir_flag_spec='-L$libdir'
9829 hardcode_minus_L=yes
9831 esac
9834 beos*)
9835 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9836 allow_undefined_flag=unsupported
9837 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9838 # support --undefined. This deserves some investigation. FIXME
9839 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9840 else
9841 ld_shlibs=no
9845 cygwin* | mingw* | pw32* | cegcc*)
9846 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9847 # as there is no search path for DLLs.
9848 hardcode_libdir_flag_spec='-L$libdir'
9849 export_dynamic_flag_spec='${wl}--export-all-symbols'
9850 allow_undefined_flag=unsupported
9851 always_export_symbols=no
9852 enable_shared_with_static_runtimes=yes
9853 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9855 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9856 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9857 # If the export-symbols file already is a .def file (1st line
9858 # is EXPORTS), use it as is; otherwise, prepend...
9859 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9860 cp $export_symbols $output_objdir/$soname.def;
9861 else
9862 echo EXPORTS > $output_objdir/$soname.def;
9863 cat $export_symbols >> $output_objdir/$soname.def;
9865 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9866 else
9867 ld_shlibs=no
9871 haiku*)
9872 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9873 link_all_deplibs=yes
9876 interix[3-9]*)
9877 hardcode_direct=no
9878 hardcode_shlibpath_var=no
9879 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9880 export_dynamic_flag_spec='${wl}-E'
9881 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9882 # Instead, shared libraries are loaded at an image base (0x10000000 by
9883 # default) and relocated if they conflict, which is a slow very memory
9884 # consuming and fragmenting process. To avoid this, we pick a random,
9885 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9886 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9887 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9888 archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9891 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
9892 tmp_diet=no
9893 if test "$host_os" = linux-dietlibc; then
9894 case $cc_basename in
9895 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9896 esac
9898 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9899 && test "$tmp_diet" = no
9900 then
9901 tmp_addflag=' $pic_flag'
9902 tmp_sharedflag='-shared'
9903 case $cc_basename,$host_cpu in
9904 pgcc*) # Portland Group C compiler
9905 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9906 tmp_addflag=' $pic_flag'
9908 pgf77* | pgf90* | pgf95* | pgfortran*)
9909 # Portland Group f77 and f90 compilers
9910 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9911 tmp_addflag=' $pic_flag -Mnomain' ;;
9912 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9913 tmp_addflag=' -i_dynamic' ;;
9914 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9915 tmp_addflag=' -i_dynamic -nofor_main' ;;
9916 ifc* | ifort*) # Intel Fortran compiler
9917 tmp_addflag=' -nofor_main' ;;
9918 lf95*) # Lahey Fortran 8.1
9919 whole_archive_flag_spec=
9920 tmp_sharedflag='--shared' ;;
9921 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9922 tmp_sharedflag='-qmkshrobj'
9923 tmp_addflag= ;;
9924 nvcc*) # Cuda Compiler Driver 2.2
9925 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9926 compiler_needs_object=yes
9928 esac
9929 case `$CC -V 2>&1 | sed 5q` in
9930 *Sun\ C*) # Sun C 5.9
9931 whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9932 compiler_needs_object=yes
9933 tmp_sharedflag='-G' ;;
9934 *Sun\ F*) # Sun Fortran 8.3
9935 tmp_sharedflag='-G' ;;
9936 esac
9937 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9939 if test "x$supports_anon_versioning" = xyes; then
9940 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9941 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9942 echo "local: *; };" >> $output_objdir/$libname.ver~
9943 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9946 case $cc_basename in
9947 xlf* | bgf* | bgxlf* | mpixlf*)
9948 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9949 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9950 hardcode_libdir_flag_spec=
9951 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9952 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9953 if test "x$supports_anon_versioning" = xyes; then
9954 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9955 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9956 echo "local: *; };" >> $output_objdir/$libname.ver~
9957 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9960 esac
9961 else
9962 ld_shlibs=no
9966 netbsd*)
9967 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9968 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9969 wlarc=
9970 else
9971 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9972 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9976 solaris*)
9977 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9978 ld_shlibs=no
9979 cat <<_LT_EOF 1>&2
9981 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9982 *** create shared libraries on Solaris systems. Therefore, libtool
9983 *** is disabling shared libraries support. We urge you to upgrade GNU
9984 *** binutils to release 2.9.1 or newer. Another option is to modify
9985 *** your PATH or compiler configuration so that the native linker is
9986 *** used, and then restart.
9988 _LT_EOF
9989 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9990 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9991 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9992 else
9993 ld_shlibs=no
9997 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9998 case `$LD -v 2>&1` in
9999 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
10000 ld_shlibs=no
10001 cat <<_LT_EOF 1>&2
10003 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10004 *** reliably create shared libraries on SCO systems. Therefore, libtool
10005 *** is disabling shared libraries support. We urge you to upgrade GNU
10006 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10007 *** your PATH or compiler configuration so that the native linker is
10008 *** used, and then restart.
10010 _LT_EOF
10013 # For security reasons, it is highly recommended that you always
10014 # use absolute paths for naming shared libraries, and exclude the
10015 # DT_RUNPATH tag from executables and libraries. But doing so
10016 # requires that you compile everything twice, which is a pain.
10017 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10018 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10019 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10020 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10021 else
10022 ld_shlibs=no
10025 esac
10028 sunos4*)
10029 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10030 wlarc=
10031 hardcode_direct=yes
10032 hardcode_shlibpath_var=no
10036 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10037 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10038 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10039 else
10040 ld_shlibs=no
10043 esac
10045 if test "$ld_shlibs" = no; then
10046 runpath_var=
10047 hardcode_libdir_flag_spec=
10048 export_dynamic_flag_spec=
10049 whole_archive_flag_spec=
10051 else
10052 # PORTME fill in a description of your system's linker (not GNU ld)
10053 case $host_os in
10054 aix3*)
10055 allow_undefined_flag=unsupported
10056 always_export_symbols=yes
10057 archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
10058 # Note: this linker hardcodes the directories in LIBPATH if there
10059 # are no directories specified by -L.
10060 hardcode_minus_L=yes
10061 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10062 # Neither direct hardcoding nor static linking is supported with a
10063 # broken collect2.
10064 hardcode_direct=unsupported
10068 aix[4-9]*)
10069 if test "$host_cpu" = ia64; then
10070 # On IA64, the linker does run time linking by default, so we don't
10071 # have to do anything special.
10072 aix_use_runtimelinking=no
10073 exp_sym_flag='-Bexport'
10074 no_entry_flag=""
10075 else
10076 # If we're using GNU nm, then we don't want the "-C" option.
10077 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10078 # Also, AIX nm treats weak defined symbols like other global
10079 # defined symbols, whereas GNU nm marks them as "W".
10080 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10081 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
10082 else
10083 export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
10085 aix_use_runtimelinking=no
10087 # Test if we are trying to use run time linking or normal
10088 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10089 # need to do runtime linking.
10090 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10091 for ld_flag in $LDFLAGS; do
10092 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
10093 aix_use_runtimelinking=yes
10094 break
10096 done
10098 esac
10100 exp_sym_flag='-bexport'
10101 no_entry_flag='-bnoentry'
10104 # When large executables or shared objects are built, AIX ld can
10105 # have problems creating the table of contents. If linking a library
10106 # or program results in "error TOC overflow" add -mminimal-toc to
10107 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10108 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10110 archive_cmds=''
10111 hardcode_direct=yes
10112 hardcode_direct_absolute=yes
10113 hardcode_libdir_separator=':'
10114 link_all_deplibs=yes
10115 file_list_spec='${wl}-f,'
10117 if test "$GCC" = yes; then
10118 case $host_os in aix4.[012]|aix4.[012].*)
10119 # We only want to do this on AIX 4.2 and lower, the check
10120 # below for broken collect2 doesn't work under 4.3+
10121 collect2name=`${CC} -print-prog-name=collect2`
10122 if test -f "$collect2name" &&
10123 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10124 then
10125 # We have reworked collect2
10127 else
10128 # We have old collect2
10129 hardcode_direct=unsupported
10130 # It fails to find uninstalled libraries when the uninstalled
10131 # path is not listed in the libpath. Setting hardcode_minus_L
10132 # to unsupported forces relinking
10133 hardcode_minus_L=yes
10134 hardcode_libdir_flag_spec='-L$libdir'
10135 hardcode_libdir_separator=
10138 esac
10139 shared_flag='-shared'
10140 if test "$aix_use_runtimelinking" = yes; then
10141 shared_flag="$shared_flag "'${wl}-G'
10143 else
10144 # not using gcc
10145 if test "$host_cpu" = ia64; then
10146 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10147 # chokes on -Wl,-G. The following line is correct:
10148 shared_flag='-G'
10149 else
10150 if test "$aix_use_runtimelinking" = yes; then
10151 shared_flag='${wl}-G'
10152 else
10153 shared_flag='${wl}-bM:SRE'
10158 export_dynamic_flag_spec='${wl}-bexpall'
10159 # It seems that -bexpall does not export symbols beginning with
10160 # underscore (_), so it is better to generate a list of symbols to export.
10161 always_export_symbols=yes
10162 if test "$aix_use_runtimelinking" = yes; then
10163 # Warning - without using the other runtime loading flags (-brtl),
10164 # -berok will link without error, but may produce a broken library.
10165 allow_undefined_flag='-berok'
10166 # Determine the default libpath from the value encoded in an
10167 # empty executable.
10168 if test x$gcc_no_link = xyes; then
10169 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10172 /* end confdefs.h. */
10175 main ()
10179 return 0;
10181 _ACEOF
10182 if ac_fn_c_try_link "$LINENO"; then :
10184 lt_aix_libpath_sed='
10185 /Import File Strings/,/^$/ {
10186 /^0/ {
10187 s/^0 *\(.*\)$/\1/
10191 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10192 # Check for a 64-bit object if we didn't find anything.
10193 if test -z "$aix_libpath"; then
10194 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10197 rm -f core conftest.err conftest.$ac_objext \
10198 conftest$ac_exeext conftest.$ac_ext
10199 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10201 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10202 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
10203 else
10204 if test "$host_cpu" = ia64; then
10205 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
10206 allow_undefined_flag="-z nodefs"
10207 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
10208 else
10209 # Determine the default libpath from the value encoded in an
10210 # empty executable.
10211 if test x$gcc_no_link = xyes; then
10212 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10215 /* end confdefs.h. */
10218 main ()
10222 return 0;
10224 _ACEOF
10225 if ac_fn_c_try_link "$LINENO"; then :
10227 lt_aix_libpath_sed='
10228 /Import File Strings/,/^$/ {
10229 /^0/ {
10230 s/^0 *\(.*\)$/\1/
10234 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10235 # Check for a 64-bit object if we didn't find anything.
10236 if test -z "$aix_libpath"; then
10237 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10240 rm -f core conftest.err conftest.$ac_objext \
10241 conftest$ac_exeext conftest.$ac_ext
10242 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10244 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10245 # Warning - without using the other run time loading flags,
10246 # -berok will link without error, but may produce a broken library.
10247 no_undefined_flag=' ${wl}-bernotok'
10248 allow_undefined_flag=' ${wl}-berok'
10249 if test "$with_gnu_ld" = yes; then
10250 # We only use this code for GNU lds that support --whole-archive.
10251 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10252 else
10253 # Exported symbols can be pulled into shared objects from archives
10254 whole_archive_flag_spec='$convenience'
10256 archive_cmds_need_lc=yes
10257 # This is similar to how AIX traditionally builds its shared libraries.
10258 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
10263 amigaos*)
10264 case $host_cpu in
10265 powerpc)
10266 # see comment about AmigaOS4 .so support
10267 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10268 archive_expsym_cmds=''
10270 m68k)
10271 archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
10272 hardcode_libdir_flag_spec='-L$libdir'
10273 hardcode_minus_L=yes
10275 esac
10278 bsdi[45]*)
10279 export_dynamic_flag_spec=-rdynamic
10282 cygwin* | mingw* | pw32* | cegcc*)
10283 # When not using gcc, we currently assume that we are using
10284 # Microsoft Visual C++.
10285 # hardcode_libdir_flag_spec is actually meaningless, as there is
10286 # no search path for DLLs.
10287 hardcode_libdir_flag_spec=' '
10288 allow_undefined_flag=unsupported
10289 # Tell ltmain to make .lib files, not .a files.
10290 libext=lib
10291 # Tell ltmain to make .dll files, not .so files.
10292 shrext_cmds=".dll"
10293 # FIXME: Setting linknames here is a bad hack.
10294 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10295 # The linker will automatically build a .lib file if we build a DLL.
10296 old_archive_from_new_cmds='true'
10297 # FIXME: Should let the user specify the lib program.
10298 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10299 fix_srcfile_path='`cygpath -w "$srcfile"`'
10300 enable_shared_with_static_runtimes=yes
10303 darwin* | rhapsody*)
10306 archive_cmds_need_lc=no
10307 hardcode_direct=no
10308 hardcode_automatic=yes
10309 hardcode_shlibpath_var=unsupported
10310 if test "$lt_cv_ld_force_load" = "yes"; then
10311 whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
10312 else
10313 whole_archive_flag_spec=''
10315 link_all_deplibs=yes
10316 allow_undefined_flag="$_lt_dar_allow_undefined"
10317 case $cc_basename in
10318 ifort*) _lt_dar_can_shared=yes ;;
10319 *) _lt_dar_can_shared=$GCC ;;
10320 esac
10321 if test "$_lt_dar_can_shared" = "yes"; then
10322 output_verbose_link_cmd=func_echo_all
10323 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10324 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10325 archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
10326 module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
10328 else
10329 ld_shlibs=no
10334 dgux*)
10335 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10336 hardcode_libdir_flag_spec='-L$libdir'
10337 hardcode_shlibpath_var=no
10340 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10341 # support. Future versions do this automatically, but an explicit c++rt0.o
10342 # does not break anything, and helps significantly (at the cost of a little
10343 # extra space).
10344 freebsd2.2*)
10345 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10346 hardcode_libdir_flag_spec='-R$libdir'
10347 hardcode_direct=yes
10348 hardcode_shlibpath_var=no
10351 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10352 freebsd2.*)
10353 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10354 hardcode_direct=yes
10355 hardcode_minus_L=yes
10356 hardcode_shlibpath_var=no
10359 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10360 freebsd* | dragonfly*)
10361 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10362 hardcode_libdir_flag_spec='-R$libdir'
10363 hardcode_direct=yes
10364 hardcode_shlibpath_var=no
10367 hpux9*)
10368 if test "$GCC" = yes; then
10369 archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
10370 else
10371 archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
10373 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10374 hardcode_libdir_separator=:
10375 hardcode_direct=yes
10377 # hardcode_minus_L: Not really in the search PATH,
10378 # but as the default location of the library.
10379 hardcode_minus_L=yes
10380 export_dynamic_flag_spec='${wl}-E'
10383 hpux10*)
10384 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10385 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10386 else
10387 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10389 if test "$with_gnu_ld" = no; then
10390 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10391 hardcode_libdir_flag_spec_ld='+b $libdir'
10392 hardcode_libdir_separator=:
10393 hardcode_direct=yes
10394 hardcode_direct_absolute=yes
10395 export_dynamic_flag_spec='${wl}-E'
10396 # hardcode_minus_L: Not really in the search PATH,
10397 # but as the default location of the library.
10398 hardcode_minus_L=yes
10402 hpux11*)
10403 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10404 case $host_cpu in
10405 hppa*64*)
10406 archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10408 ia64*)
10409 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10412 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10414 esac
10415 else
10416 case $host_cpu in
10417 hppa*64*)
10418 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10420 ia64*)
10421 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10425 # Older versions of the 11.00 compiler do not understand -b yet
10426 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10428 $as_echo_n "checking if $CC understands -b... " >&6; }
10429 if ${lt_cv_prog_compiler__b+:} false; then :
10430 $as_echo_n "(cached) " >&6
10431 else
10432 lt_cv_prog_compiler__b=no
10433 save_LDFLAGS="$LDFLAGS"
10434 LDFLAGS="$LDFLAGS -b"
10435 echo "$lt_simple_link_test_code" > conftest.$ac_ext
10436 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10437 # The linker can only warn and ignore the option if not recognized
10438 # So say no if there are warnings
10439 if test -s conftest.err; then
10440 # Append any errors to the config.log.
10441 cat conftest.err 1>&5
10442 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10443 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10444 if diff conftest.exp conftest.er2 >/dev/null; then
10445 lt_cv_prog_compiler__b=yes
10447 else
10448 lt_cv_prog_compiler__b=yes
10451 $RM -r conftest*
10452 LDFLAGS="$save_LDFLAGS"
10455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10456 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10458 if test x"$lt_cv_prog_compiler__b" = xyes; then
10459 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10460 else
10461 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10465 esac
10467 if test "$with_gnu_ld" = no; then
10468 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10469 hardcode_libdir_separator=:
10471 case $host_cpu in
10472 hppa*64*|ia64*)
10473 hardcode_direct=no
10474 hardcode_shlibpath_var=no
10477 hardcode_direct=yes
10478 hardcode_direct_absolute=yes
10479 export_dynamic_flag_spec='${wl}-E'
10481 # hardcode_minus_L: Not really in the search PATH,
10482 # but as the default location of the library.
10483 hardcode_minus_L=yes
10485 esac
10489 irix5* | irix6* | nonstopux*)
10490 if test "$GCC" = yes; then
10491 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10492 # Try to use the -exported_symbol ld option, if it does not
10493 # work, assume that -exports_file does not work either and
10494 # implicitly export all symbols.
10495 save_LDFLAGS="$LDFLAGS"
10496 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10497 if test x$gcc_no_link = xyes; then
10498 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10501 /* end confdefs.h. */
10502 int foo(void) {}
10503 _ACEOF
10504 if ac_fn_c_try_link "$LINENO"; then :
10505 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
10508 rm -f core conftest.err conftest.$ac_objext \
10509 conftest$ac_exeext conftest.$ac_ext
10510 LDFLAGS="$save_LDFLAGS"
10511 else
10512 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10513 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
10515 archive_cmds_need_lc='no'
10516 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10517 hardcode_libdir_separator=:
10518 inherit_rpath=yes
10519 link_all_deplibs=yes
10522 netbsd*)
10523 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10524 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10525 else
10526 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10528 hardcode_libdir_flag_spec='-R$libdir'
10529 hardcode_direct=yes
10530 hardcode_shlibpath_var=no
10533 newsos6)
10534 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10535 hardcode_direct=yes
10536 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10537 hardcode_libdir_separator=:
10538 hardcode_shlibpath_var=no
10541 *nto* | *qnx*)
10544 openbsd*)
10545 if test -f /usr/libexec/ld.so; then
10546 hardcode_direct=yes
10547 hardcode_shlibpath_var=no
10548 hardcode_direct_absolute=yes
10549 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10550 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10551 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10552 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10553 export_dynamic_flag_spec='${wl}-E'
10554 else
10555 case $host_os in
10556 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10557 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10558 hardcode_libdir_flag_spec='-R$libdir'
10561 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10562 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10564 esac
10566 else
10567 ld_shlibs=no
10571 os2*)
10572 hardcode_libdir_flag_spec='-L$libdir'
10573 hardcode_minus_L=yes
10574 allow_undefined_flag=unsupported
10575 archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
10576 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10579 osf3*)
10580 if test "$GCC" = yes; then
10581 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10582 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10583 else
10584 allow_undefined_flag=' -expect_unresolved \*'
10585 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10587 archive_cmds_need_lc='no'
10588 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10589 hardcode_libdir_separator=:
10592 osf4* | osf5*) # as osf3* with the addition of -msym flag
10593 if test "$GCC" = yes; then
10594 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10595 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10596 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10597 else
10598 allow_undefined_flag=' -expect_unresolved \*'
10599 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10600 archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
10601 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
10603 # Both c and cxx compiler support -rpath directly
10604 hardcode_libdir_flag_spec='-rpath $libdir'
10606 archive_cmds_need_lc='no'
10607 hardcode_libdir_separator=:
10610 solaris*)
10611 no_undefined_flag=' -z defs'
10612 if test "$GCC" = yes; then
10613 wlarc='${wl}'
10614 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10615 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10616 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10617 else
10618 case `$CC -V 2>&1` in
10619 *"Compilers 5.0"*)
10620 wlarc=''
10621 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10622 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10623 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10626 wlarc='${wl}'
10627 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10628 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10629 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10631 esac
10633 hardcode_libdir_flag_spec='-R$libdir'
10634 hardcode_shlibpath_var=no
10635 case $host_os in
10636 solaris2.[0-5] | solaris2.[0-5].*) ;;
10638 # The compiler driver will combine and reorder linker options,
10639 # but understands `-z linker_flag'. GCC discards it without `$wl',
10640 # but is careful enough not to reorder.
10641 # Supported since Solaris 2.6 (maybe 2.5.1?)
10642 if test "$GCC" = yes; then
10643 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10644 else
10645 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10648 esac
10649 link_all_deplibs=yes
10652 sunos4*)
10653 if test "x$host_vendor" = xsequent; then
10654 # Use $CC to link under sequent, because it throws in some extra .o
10655 # files that make .init and .fini sections work.
10656 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10657 else
10658 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10660 hardcode_libdir_flag_spec='-L$libdir'
10661 hardcode_direct=yes
10662 hardcode_minus_L=yes
10663 hardcode_shlibpath_var=no
10666 sysv4)
10667 case $host_vendor in
10668 sni)
10669 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10670 hardcode_direct=yes # is this really true???
10672 siemens)
10673 ## LD is ld it makes a PLAMLIB
10674 ## CC just makes a GrossModule.
10675 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10676 reload_cmds='$CC -r -o $output$reload_objs'
10677 hardcode_direct=no
10679 motorola)
10680 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10681 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10683 esac
10684 runpath_var='LD_RUN_PATH'
10685 hardcode_shlibpath_var=no
10688 sysv4.3*)
10689 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10690 hardcode_shlibpath_var=no
10691 export_dynamic_flag_spec='-Bexport'
10694 sysv4*MP*)
10695 if test -d /usr/nec; then
10696 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10697 hardcode_shlibpath_var=no
10698 runpath_var=LD_RUN_PATH
10699 hardcode_runpath_var=yes
10700 ld_shlibs=yes
10704 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10705 no_undefined_flag='${wl}-z,text'
10706 archive_cmds_need_lc=no
10707 hardcode_shlibpath_var=no
10708 runpath_var='LD_RUN_PATH'
10710 if test "$GCC" = yes; then
10711 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10712 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10713 else
10714 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10715 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10719 sysv5* | sco3.2v5* | sco5v6*)
10720 # Note: We can NOT use -z defs as we might desire, because we do not
10721 # link with -lc, and that would cause any symbols used from libc to
10722 # always be unresolved, which means just about no library would
10723 # ever link correctly. If we're not using GNU ld we use -z text
10724 # though, which does catch some bad symbols but isn't as heavy-handed
10725 # as -z defs.
10726 no_undefined_flag='${wl}-z,text'
10727 allow_undefined_flag='${wl}-z,nodefs'
10728 archive_cmds_need_lc=no
10729 hardcode_shlibpath_var=no
10730 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10731 hardcode_libdir_separator=':'
10732 link_all_deplibs=yes
10733 export_dynamic_flag_spec='${wl}-Bexport'
10734 runpath_var='LD_RUN_PATH'
10736 if test "$GCC" = yes; then
10737 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10738 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10739 else
10740 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10741 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10745 uts4*)
10746 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10747 hardcode_libdir_flag_spec='-L$libdir'
10748 hardcode_shlibpath_var=no
10752 ld_shlibs=no
10754 esac
10756 if test x$host_vendor = xsni; then
10757 case $host in
10758 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10759 export_dynamic_flag_spec='${wl}-Blargedynsym'
10761 esac
10765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10766 $as_echo "$ld_shlibs" >&6; }
10767 test "$ld_shlibs" = no && can_build_shared=no
10769 with_gnu_ld=$with_gnu_ld
10786 # Do we need to explicitly link libc?
10788 case "x$archive_cmds_need_lc" in
10789 x|xyes)
10790 # Assume -lc should be added
10791 archive_cmds_need_lc=yes
10793 if test "$enable_shared" = yes && test "$GCC" = yes; then
10794 case $archive_cmds in
10795 *'~'*)
10796 # FIXME: we may have to deal with multi-command sequences.
10798 '$CC '*)
10799 # Test whether the compiler implicitly links with -lc since on some
10800 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10801 # to ld, don't add -lc before -lgcc.
10802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10803 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10804 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10805 $as_echo_n "(cached) " >&6
10806 else
10807 $RM conftest*
10808 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10810 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10811 (eval $ac_compile) 2>&5
10812 ac_status=$?
10813 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10814 test $ac_status = 0; } 2>conftest.err; then
10815 soname=conftest
10816 lib=conftest
10817 libobjs=conftest.$ac_objext
10818 deplibs=
10819 wl=$lt_prog_compiler_wl
10820 pic_flag=$lt_prog_compiler_pic
10821 compiler_flags=-v
10822 linker_flags=-v
10823 verstring=
10824 output_objdir=.
10825 libname=conftest
10826 lt_save_allow_undefined_flag=$allow_undefined_flag
10827 allow_undefined_flag=
10828 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10829 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10830 ac_status=$?
10831 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10832 test $ac_status = 0; }
10833 then
10834 lt_cv_archive_cmds_need_lc=no
10835 else
10836 lt_cv_archive_cmds_need_lc=yes
10838 allow_undefined_flag=$lt_save_allow_undefined_flag
10839 else
10840 cat conftest.err 1>&5
10842 $RM conftest*
10845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10846 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10847 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10849 esac
10852 esac
11010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11011 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11013 if test "$GCC" = yes; then
11014 case $host_os in
11015 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
11016 *) lt_awk_arg="/^libraries:/" ;;
11017 esac
11018 case $host_os in
11019 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
11020 *) lt_sed_strip_eq="s,=/,/,g" ;;
11021 esac
11022 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11023 case $lt_search_path_spec in
11024 *\;*)
11025 # if the path contains ";" then we assume it to be the separator
11026 # otherwise default to the standard path separator (i.e. ":") - it is
11027 # assumed that no part of a normal pathname contains ";" but that should
11028 # okay in the real world where ";" in dirpaths is itself problematic.
11029 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11032 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11034 esac
11035 # Ok, now we have the path, separated by spaces, we can step through it
11036 # and add multilib dir if necessary.
11037 lt_tmp_lt_search_path_spec=
11038 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11039 for lt_sys_path in $lt_search_path_spec; do
11040 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11041 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11042 else
11043 test -d "$lt_sys_path" && \
11044 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11046 done
11047 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11048 BEGIN {RS=" "; FS="/|\n";} {
11049 lt_foo="";
11050 lt_count=0;
11051 for (lt_i = NF; lt_i > 0; lt_i--) {
11052 if ($lt_i != "" && $lt_i != ".") {
11053 if ($lt_i == "..") {
11054 lt_count++;
11055 } else {
11056 if (lt_count == 0) {
11057 lt_foo="/" $lt_i lt_foo;
11058 } else {
11059 lt_count--;
11064 if (lt_foo != "") { lt_freq[lt_foo]++; }
11065 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11067 # AWK program above erroneously prepends '/' to C:/dos/paths
11068 # for these hosts.
11069 case $host_os in
11070 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
11071 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11072 esac
11073 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11074 else
11075 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11077 library_names_spec=
11078 libname_spec='lib$name'
11079 soname_spec=
11080 shrext_cmds=".so"
11081 postinstall_cmds=
11082 postuninstall_cmds=
11083 finish_cmds=
11084 finish_eval=
11085 shlibpath_var=
11086 shlibpath_overrides_runpath=unknown
11087 version_type=none
11088 dynamic_linker="$host_os ld.so"
11089 sys_lib_dlsearch_path_spec="/lib /usr/lib"
11090 need_lib_prefix=unknown
11091 hardcode_into_libs=no
11093 # when you set need_version to no, make sure it does not cause -set_version
11094 # flags to be left without arguments
11095 need_version=unknown
11097 case $host_os in
11098 aix3*)
11099 version_type=linux
11100 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11101 shlibpath_var=LIBPATH
11103 # AIX 3 has no versioning support, so we append a major version to the name.
11104 soname_spec='${libname}${release}${shared_ext}$major'
11107 aix[4-9]*)
11108 version_type=linux
11109 need_lib_prefix=no
11110 need_version=no
11111 hardcode_into_libs=yes
11112 if test "$host_cpu" = ia64; then
11113 # AIX 5 supports IA64
11114 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11115 shlibpath_var=LD_LIBRARY_PATH
11116 else
11117 # With GCC up to 2.95.x, collect2 would create an import file
11118 # for dependence libraries. The import file would start with
11119 # the line `#! .'. This would cause the generated library to
11120 # depend on `.', always an invalid library. This was fixed in
11121 # development snapshots of GCC prior to 3.0.
11122 case $host_os in
11123 aix4 | aix4.[01] | aix4.[01].*)
11124 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11125 echo ' yes '
11126 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
11128 else
11129 can_build_shared=no
11132 esac
11133 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11134 # soname into executable. Probably we can add versioning support to
11135 # collect2, so additional links can be useful in future.
11136 if test "$aix_use_runtimelinking" = yes; then
11137 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11138 # instead of lib<name>.a to let people know that these are not
11139 # typical AIX shared libraries.
11140 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11141 else
11142 # We preserve .a as extension for shared libraries through AIX4.2
11143 # and later when we are not doing run time linking.
11144 library_names_spec='${libname}${release}.a $libname.a'
11145 soname_spec='${libname}${release}${shared_ext}$major'
11147 shlibpath_var=LIBPATH
11151 amigaos*)
11152 case $host_cpu in
11153 powerpc)
11154 # Since July 2007 AmigaOS4 officially supports .so libraries.
11155 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11156 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11158 m68k)
11159 library_names_spec='$libname.ixlibrary $libname.a'
11160 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11161 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
11163 esac
11166 beos*)
11167 library_names_spec='${libname}${shared_ext}'
11168 dynamic_linker="$host_os ld.so"
11169 shlibpath_var=LIBRARY_PATH
11172 bsdi[45]*)
11173 version_type=linux
11174 need_version=no
11175 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11176 soname_spec='${libname}${release}${shared_ext}$major'
11177 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11178 shlibpath_var=LD_LIBRARY_PATH
11179 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11180 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11181 # the default ld.so.conf also contains /usr/contrib/lib and
11182 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11183 # libtool to hard-code these into programs
11186 cygwin* | mingw* | pw32* | cegcc*)
11187 version_type=windows
11188 shrext_cmds=".dll"
11189 need_version=no
11190 need_lib_prefix=no
11192 case $GCC,$host_os in
11193 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
11194 library_names_spec='$libname.dll.a'
11195 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11196 postinstall_cmds='base_file=`basename \${file}`~
11197 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11198 dldir=$destdir/`dirname \$dlpath`~
11199 test -d \$dldir || mkdir -p \$dldir~
11200 $install_prog $dir/$dlname \$dldir/$dlname~
11201 chmod a+x \$dldir/$dlname~
11202 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11203 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11205 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11206 dlpath=$dir/\$dldll~
11207 $RM \$dlpath'
11208 shlibpath_overrides_runpath=yes
11210 case $host_os in
11211 cygwin*)
11212 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11213 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11215 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11217 mingw* | cegcc*)
11218 # MinGW DLLs use traditional 'lib' prefix
11219 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11221 pw32*)
11222 # pw32 DLLs use 'pw' prefix rather than 'lib'
11223 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11225 esac
11229 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11231 esac
11232 dynamic_linker='Win32 ld.exe'
11233 # FIXME: first we should search . and the directory the executable is in
11234 shlibpath_var=PATH
11237 darwin* | rhapsody*)
11238 dynamic_linker="$host_os dyld"
11239 version_type=darwin
11240 need_lib_prefix=no
11241 need_version=no
11242 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11243 soname_spec='${libname}${release}${major}$shared_ext'
11244 shlibpath_overrides_runpath=yes
11245 shlibpath_var=DYLD_LIBRARY_PATH
11246 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11248 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11249 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11252 dgux*)
11253 version_type=linux
11254 need_lib_prefix=no
11255 need_version=no
11256 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11257 soname_spec='${libname}${release}${shared_ext}$major'
11258 shlibpath_var=LD_LIBRARY_PATH
11261 freebsd* | dragonfly*)
11262 # DragonFly does not have aout. When/if they implement a new
11263 # versioning mechanism, adjust this.
11264 if test -x /usr/bin/objformat; then
11265 objformat=`/usr/bin/objformat`
11266 else
11267 case $host_os in
11268 freebsd[23].*) objformat=aout ;;
11269 *) objformat=elf ;;
11270 esac
11272 version_type=freebsd-$objformat
11273 case $version_type in
11274 freebsd-elf*)
11275 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11276 need_version=no
11277 need_lib_prefix=no
11279 freebsd-*)
11280 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11281 need_version=yes
11283 esac
11284 shlibpath_var=LD_LIBRARY_PATH
11285 case $host_os in
11286 freebsd2.*)
11287 shlibpath_overrides_runpath=yes
11289 freebsd3.[01]* | freebsdelf3.[01]*)
11290 shlibpath_overrides_runpath=yes
11291 hardcode_into_libs=yes
11293 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11294 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11295 shlibpath_overrides_runpath=no
11296 hardcode_into_libs=yes
11298 *) # from 4.6 on, and DragonFly
11299 shlibpath_overrides_runpath=yes
11300 hardcode_into_libs=yes
11302 esac
11305 haiku*)
11306 version_type=linux
11307 need_lib_prefix=no
11308 need_version=no
11309 dynamic_linker="$host_os runtime_loader"
11310 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11311 soname_spec='${libname}${release}${shared_ext}$major'
11312 shlibpath_var=LIBRARY_PATH
11313 shlibpath_overrides_runpath=yes
11314 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
11315 hardcode_into_libs=yes
11318 hpux9* | hpux10* | hpux11*)
11319 # Give a soname corresponding to the major version so that dld.sl refuses to
11320 # link against other versions.
11321 version_type=sunos
11322 need_lib_prefix=no
11323 need_version=no
11324 case $host_cpu in
11325 ia64*)
11326 shrext_cmds='.so'
11327 hardcode_into_libs=yes
11328 dynamic_linker="$host_os dld.so"
11329 shlibpath_var=LD_LIBRARY_PATH
11330 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11331 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11332 soname_spec='${libname}${release}${shared_ext}$major'
11333 if test "X$HPUX_IA64_MODE" = X32; then
11334 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11335 else
11336 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11338 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11340 hppa*64*)
11341 shrext_cmds='.sl'
11342 hardcode_into_libs=yes
11343 dynamic_linker="$host_os dld.sl"
11344 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11345 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11346 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11347 soname_spec='${libname}${release}${shared_ext}$major'
11348 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11349 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11352 shrext_cmds='.sl'
11353 dynamic_linker="$host_os dld.sl"
11354 shlibpath_var=SHLIB_PATH
11355 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11356 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11357 soname_spec='${libname}${release}${shared_ext}$major'
11359 esac
11360 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11361 postinstall_cmds='chmod 555 $lib'
11362 # or fails outright, so override atomically:
11363 install_override_mode=555
11366 interix[3-9]*)
11367 version_type=linux
11368 need_lib_prefix=no
11369 need_version=no
11370 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11371 soname_spec='${libname}${release}${shared_ext}$major'
11372 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11373 shlibpath_var=LD_LIBRARY_PATH
11374 shlibpath_overrides_runpath=no
11375 hardcode_into_libs=yes
11378 irix5* | irix6* | nonstopux*)
11379 case $host_os in
11380 nonstopux*) version_type=nonstopux ;;
11382 if test "$lt_cv_prog_gnu_ld" = yes; then
11383 version_type=linux
11384 else
11385 version_type=irix
11386 fi ;;
11387 esac
11388 need_lib_prefix=no
11389 need_version=no
11390 soname_spec='${libname}${release}${shared_ext}$major'
11391 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11392 case $host_os in
11393 irix5* | nonstopux*)
11394 libsuff= shlibsuff=
11397 case $LD in # libtool.m4 will add one of these switches to LD
11398 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11399 libsuff= shlibsuff= libmagic=32-bit;;
11400 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11401 libsuff=32 shlibsuff=N32 libmagic=N32;;
11402 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11403 libsuff=64 shlibsuff=64 libmagic=64-bit;;
11404 *) libsuff= shlibsuff= libmagic=never-match;;
11405 esac
11407 esac
11408 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11409 shlibpath_overrides_runpath=no
11410 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11411 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11412 hardcode_into_libs=yes
11415 # No shared lib support for Linux oldld, aout, or coff.
11416 linux*oldld* | linux*aout* | linux*coff*)
11417 dynamic_linker=no
11420 # This must be Linux ELF.
11422 # uclinux* changes (here and below) have been submitted to the libtool
11423 # project, but have not yet been accepted: they are GCC-local changes
11424 # for the time being. (See
11425 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
11426 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu* | uclinuxfdpiceabi)
11427 version_type=linux
11428 need_lib_prefix=no
11429 need_version=no
11430 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11431 soname_spec='${libname}${release}${shared_ext}$major'
11432 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11433 shlibpath_var=LD_LIBRARY_PATH
11434 shlibpath_overrides_runpath=no
11436 # Some binutils ld are patched to set DT_RUNPATH
11437 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11438 $as_echo_n "(cached) " >&6
11439 else
11440 lt_cv_shlibpath_overrides_runpath=no
11441 save_LDFLAGS=$LDFLAGS
11442 save_libdir=$libdir
11443 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11444 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11445 if test x$gcc_no_link = xyes; then
11446 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11449 /* end confdefs.h. */
11452 main ()
11456 return 0;
11458 _ACEOF
11459 if ac_fn_c_try_link "$LINENO"; then :
11460 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11461 lt_cv_shlibpath_overrides_runpath=yes
11464 rm -f core conftest.err conftest.$ac_objext \
11465 conftest$ac_exeext conftest.$ac_ext
11466 LDFLAGS=$save_LDFLAGS
11467 libdir=$save_libdir
11471 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11473 # This implies no fast_install, which is unacceptable.
11474 # Some rework will be needed to allow for fast_install
11475 # before this can be enabled.
11476 hardcode_into_libs=yes
11478 # Append ld.so.conf contents to the search path
11479 if test -f /etc/ld.so.conf; then
11480 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
11481 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11484 # We used to test for /lib/ld.so.1 and disable shared libraries on
11485 # powerpc, because MkLinux only supported shared libraries with the
11486 # GNU dynamic linker. Since this was broken with cross compilers,
11487 # most powerpc-linux boxes support dynamic linking these days and
11488 # people can always --disable-shared, the test was removed, and we
11489 # assume the GNU/Linux dynamic linker is in use.
11490 dynamic_linker='GNU/Linux ld.so'
11493 netbsd*)
11494 version_type=sunos
11495 need_lib_prefix=no
11496 need_version=no
11497 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11498 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11499 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11500 dynamic_linker='NetBSD (a.out) ld.so'
11501 else
11502 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11503 soname_spec='${libname}${release}${shared_ext}$major'
11504 dynamic_linker='NetBSD ld.elf_so'
11506 shlibpath_var=LD_LIBRARY_PATH
11507 shlibpath_overrides_runpath=yes
11508 hardcode_into_libs=yes
11511 newsos6)
11512 version_type=linux
11513 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11514 shlibpath_var=LD_LIBRARY_PATH
11515 shlibpath_overrides_runpath=yes
11518 *nto* | *qnx*)
11519 version_type=qnx
11520 need_lib_prefix=no
11521 need_version=no
11522 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11523 soname_spec='${libname}${release}${shared_ext}$major'
11524 shlibpath_var=LD_LIBRARY_PATH
11525 shlibpath_overrides_runpath=no
11526 hardcode_into_libs=yes
11527 dynamic_linker='ldqnx.so'
11530 openbsd*)
11531 version_type=sunos
11532 sys_lib_dlsearch_path_spec="/usr/lib"
11533 need_lib_prefix=no
11534 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11535 case $host_os in
11536 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11537 *) need_version=no ;;
11538 esac
11539 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11540 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11541 shlibpath_var=LD_LIBRARY_PATH
11542 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11543 case $host_os in
11544 openbsd2.[89] | openbsd2.[89].*)
11545 shlibpath_overrides_runpath=no
11548 shlibpath_overrides_runpath=yes
11550 esac
11551 else
11552 shlibpath_overrides_runpath=yes
11556 os2*)
11557 libname_spec='$name'
11558 shrext_cmds=".dll"
11559 need_lib_prefix=no
11560 library_names_spec='$libname${shared_ext} $libname.a'
11561 dynamic_linker='OS/2 ld.exe'
11562 shlibpath_var=LIBPATH
11565 osf3* | osf4* | osf5*)
11566 version_type=osf
11567 need_lib_prefix=no
11568 need_version=no
11569 soname_spec='${libname}${release}${shared_ext}$major'
11570 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11571 shlibpath_var=LD_LIBRARY_PATH
11572 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11573 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11576 rdos*)
11577 dynamic_linker=no
11580 solaris*)
11581 version_type=linux
11582 need_lib_prefix=no
11583 need_version=no
11584 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11585 soname_spec='${libname}${release}${shared_ext}$major'
11586 shlibpath_var=LD_LIBRARY_PATH
11587 shlibpath_overrides_runpath=yes
11588 hardcode_into_libs=yes
11589 # ldd complains unless libraries are executable
11590 postinstall_cmds='chmod +x $lib'
11593 sunos4*)
11594 version_type=sunos
11595 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11596 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11597 shlibpath_var=LD_LIBRARY_PATH
11598 shlibpath_overrides_runpath=yes
11599 if test "$with_gnu_ld" = yes; then
11600 need_lib_prefix=no
11602 need_version=yes
11605 sysv4 | sysv4.3*)
11606 version_type=linux
11607 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11608 soname_spec='${libname}${release}${shared_ext}$major'
11609 shlibpath_var=LD_LIBRARY_PATH
11610 case $host_vendor in
11611 sni)
11612 shlibpath_overrides_runpath=no
11613 need_lib_prefix=no
11614 runpath_var=LD_RUN_PATH
11616 siemens)
11617 need_lib_prefix=no
11619 motorola)
11620 need_lib_prefix=no
11621 need_version=no
11622 shlibpath_overrides_runpath=no
11623 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11625 esac
11628 sysv4*MP*)
11629 if test -d /usr/nec ;then
11630 version_type=linux
11631 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11632 soname_spec='$libname${shared_ext}.$major'
11633 shlibpath_var=LD_LIBRARY_PATH
11637 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11638 version_type=freebsd-elf
11639 need_lib_prefix=no
11640 need_version=no
11641 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11642 soname_spec='${libname}${release}${shared_ext}$major'
11643 shlibpath_var=LD_LIBRARY_PATH
11644 shlibpath_overrides_runpath=yes
11645 hardcode_into_libs=yes
11646 if test "$with_gnu_ld" = yes; then
11647 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11648 else
11649 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11650 case $host_os in
11651 sco3.2v5*)
11652 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11654 esac
11656 sys_lib_dlsearch_path_spec='/usr/lib'
11659 tpf*)
11660 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11661 version_type=linux
11662 need_lib_prefix=no
11663 need_version=no
11664 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11665 shlibpath_var=LD_LIBRARY_PATH
11666 shlibpath_overrides_runpath=no
11667 hardcode_into_libs=yes
11670 uts4*)
11671 version_type=linux
11672 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11673 soname_spec='${libname}${release}${shared_ext}$major'
11674 shlibpath_var=LD_LIBRARY_PATH
11678 dynamic_linker=no
11680 esac
11681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11682 $as_echo "$dynamic_linker" >&6; }
11683 test "$dynamic_linker" = no && can_build_shared=no
11685 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11686 if test "$GCC" = yes; then
11687 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11690 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11691 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11693 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11694 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11789 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11790 hardcode_action=
11791 if test -n "$hardcode_libdir_flag_spec" ||
11792 test -n "$runpath_var" ||
11793 test "X$hardcode_automatic" = "Xyes" ; then
11795 # We can hardcode non-existent directories.
11796 if test "$hardcode_direct" != no &&
11797 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11798 # have to relink, otherwise we might link with an installed library
11799 # when we should be linking with a yet-to-be-installed one
11800 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11801 test "$hardcode_minus_L" != no; then
11802 # Linking always hardcodes the temporary library directory.
11803 hardcode_action=relink
11804 else
11805 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11806 hardcode_action=immediate
11808 else
11809 # We cannot hardcode anything, or else we can only hardcode existing
11810 # directories.
11811 hardcode_action=unsupported
11813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11814 $as_echo "$hardcode_action" >&6; }
11816 if test "$hardcode_action" = relink ||
11817 test "$inherit_rpath" = yes; then
11818 # Fast installation is not supported
11819 enable_fast_install=no
11820 elif test "$shlibpath_overrides_runpath" = yes ||
11821 test "$enable_shared" = no; then
11822 # Fast installation is not necessary
11823 enable_fast_install=needless
11831 if test "x$enable_dlopen" != xyes; then
11832 enable_dlopen=unknown
11833 enable_dlopen_self=unknown
11834 enable_dlopen_self_static=unknown
11835 else
11836 lt_cv_dlopen=no
11837 lt_cv_dlopen_libs=
11839 case $host_os in
11840 beos*)
11841 lt_cv_dlopen="load_add_on"
11842 lt_cv_dlopen_libs=
11843 lt_cv_dlopen_self=yes
11846 mingw* | pw32* | cegcc*)
11847 lt_cv_dlopen="LoadLibrary"
11848 lt_cv_dlopen_libs=
11851 cygwin*)
11852 lt_cv_dlopen="dlopen"
11853 lt_cv_dlopen_libs=
11856 darwin*)
11857 # if libdl is installed we need to link against it
11858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11859 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11860 if ${ac_cv_lib_dl_dlopen+:} false; then :
11861 $as_echo_n "(cached) " >&6
11862 else
11863 ac_check_lib_save_LIBS=$LIBS
11864 LIBS="-ldl $LIBS"
11865 if test x$gcc_no_link = xyes; then
11866 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11869 /* end confdefs.h. */
11871 /* Override any GCC internal prototype to avoid an error.
11872 Use char because int might match the return type of a GCC
11873 builtin and then its argument prototype would still apply. */
11874 #ifdef __cplusplus
11875 extern "C"
11876 #endif
11877 char dlopen ();
11879 main ()
11881 return dlopen ();
11883 return 0;
11885 _ACEOF
11886 if ac_fn_c_try_link "$LINENO"; then :
11887 ac_cv_lib_dl_dlopen=yes
11888 else
11889 ac_cv_lib_dl_dlopen=no
11891 rm -f core conftest.err conftest.$ac_objext \
11892 conftest$ac_exeext conftest.$ac_ext
11893 LIBS=$ac_check_lib_save_LIBS
11895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11896 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11897 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11898 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11899 else
11901 lt_cv_dlopen="dyld"
11902 lt_cv_dlopen_libs=
11903 lt_cv_dlopen_self=yes
11910 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11911 if test "x$ac_cv_func_shl_load" = xyes; then :
11912 lt_cv_dlopen="shl_load"
11913 else
11914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11915 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11916 if ${ac_cv_lib_dld_shl_load+:} false; then :
11917 $as_echo_n "(cached) " >&6
11918 else
11919 ac_check_lib_save_LIBS=$LIBS
11920 LIBS="-ldld $LIBS"
11921 if test x$gcc_no_link = xyes; then
11922 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11925 /* end confdefs.h. */
11927 /* Override any GCC internal prototype to avoid an error.
11928 Use char because int might match the return type of a GCC
11929 builtin and then its argument prototype would still apply. */
11930 #ifdef __cplusplus
11931 extern "C"
11932 #endif
11933 char shl_load ();
11935 main ()
11937 return shl_load ();
11939 return 0;
11941 _ACEOF
11942 if ac_fn_c_try_link "$LINENO"; then :
11943 ac_cv_lib_dld_shl_load=yes
11944 else
11945 ac_cv_lib_dld_shl_load=no
11947 rm -f core conftest.err conftest.$ac_objext \
11948 conftest$ac_exeext conftest.$ac_ext
11949 LIBS=$ac_check_lib_save_LIBS
11951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11952 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11953 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11954 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11955 else
11956 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11957 if test "x$ac_cv_func_dlopen" = xyes; then :
11958 lt_cv_dlopen="dlopen"
11959 else
11960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11961 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11962 if ${ac_cv_lib_dl_dlopen+:} false; then :
11963 $as_echo_n "(cached) " >&6
11964 else
11965 ac_check_lib_save_LIBS=$LIBS
11966 LIBS="-ldl $LIBS"
11967 if test x$gcc_no_link = xyes; then
11968 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11971 /* end confdefs.h. */
11973 /* Override any GCC internal prototype to avoid an error.
11974 Use char because int might match the return type of a GCC
11975 builtin and then its argument prototype would still apply. */
11976 #ifdef __cplusplus
11977 extern "C"
11978 #endif
11979 char dlopen ();
11981 main ()
11983 return dlopen ();
11985 return 0;
11987 _ACEOF
11988 if ac_fn_c_try_link "$LINENO"; then :
11989 ac_cv_lib_dl_dlopen=yes
11990 else
11991 ac_cv_lib_dl_dlopen=no
11993 rm -f core conftest.err conftest.$ac_objext \
11994 conftest$ac_exeext conftest.$ac_ext
11995 LIBS=$ac_check_lib_save_LIBS
11997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11998 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11999 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12000 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12001 else
12002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12003 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12004 if ${ac_cv_lib_svld_dlopen+:} false; then :
12005 $as_echo_n "(cached) " >&6
12006 else
12007 ac_check_lib_save_LIBS=$LIBS
12008 LIBS="-lsvld $LIBS"
12009 if test x$gcc_no_link = xyes; then
12010 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12013 /* end confdefs.h. */
12015 /* Override any GCC internal prototype to avoid an error.
12016 Use char because int might match the return type of a GCC
12017 builtin and then its argument prototype would still apply. */
12018 #ifdef __cplusplus
12019 extern "C"
12020 #endif
12021 char dlopen ();
12023 main ()
12025 return dlopen ();
12027 return 0;
12029 _ACEOF
12030 if ac_fn_c_try_link "$LINENO"; then :
12031 ac_cv_lib_svld_dlopen=yes
12032 else
12033 ac_cv_lib_svld_dlopen=no
12035 rm -f core conftest.err conftest.$ac_objext \
12036 conftest$ac_exeext conftest.$ac_ext
12037 LIBS=$ac_check_lib_save_LIBS
12039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12040 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12041 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12042 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12043 else
12044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12045 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12046 if ${ac_cv_lib_dld_dld_link+:} false; then :
12047 $as_echo_n "(cached) " >&6
12048 else
12049 ac_check_lib_save_LIBS=$LIBS
12050 LIBS="-ldld $LIBS"
12051 if test x$gcc_no_link = xyes; then
12052 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12055 /* end confdefs.h. */
12057 /* Override any GCC internal prototype to avoid an error.
12058 Use char because int might match the return type of a GCC
12059 builtin and then its argument prototype would still apply. */
12060 #ifdef __cplusplus
12061 extern "C"
12062 #endif
12063 char dld_link ();
12065 main ()
12067 return dld_link ();
12069 return 0;
12071 _ACEOF
12072 if ac_fn_c_try_link "$LINENO"; then :
12073 ac_cv_lib_dld_dld_link=yes
12074 else
12075 ac_cv_lib_dld_dld_link=no
12077 rm -f core conftest.err conftest.$ac_objext \
12078 conftest$ac_exeext conftest.$ac_ext
12079 LIBS=$ac_check_lib_save_LIBS
12081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12082 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12083 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12084 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
12103 esac
12105 if test "x$lt_cv_dlopen" != xno; then
12106 enable_dlopen=yes
12107 else
12108 enable_dlopen=no
12111 case $lt_cv_dlopen in
12112 dlopen)
12113 save_CPPFLAGS="$CPPFLAGS"
12114 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12116 save_LDFLAGS="$LDFLAGS"
12117 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12119 save_LIBS="$LIBS"
12120 LIBS="$lt_cv_dlopen_libs $LIBS"
12122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12123 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12124 if ${lt_cv_dlopen_self+:} false; then :
12125 $as_echo_n "(cached) " >&6
12126 else
12127 if test "$cross_compiling" = yes; then :
12128 lt_cv_dlopen_self=cross
12129 else
12130 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12131 lt_status=$lt_dlunknown
12132 cat > conftest.$ac_ext <<_LT_EOF
12133 #line 12143 "configure"
12134 #include "confdefs.h"
12136 #if HAVE_DLFCN_H
12137 #include <dlfcn.h>
12138 #endif
12140 #include <stdio.h>
12142 #ifdef RTLD_GLOBAL
12143 # define LT_DLGLOBAL RTLD_GLOBAL
12144 #else
12145 # ifdef DL_GLOBAL
12146 # define LT_DLGLOBAL DL_GLOBAL
12147 # else
12148 # define LT_DLGLOBAL 0
12149 # endif
12150 #endif
12152 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12153 find out it does not work in some platform. */
12154 #ifndef LT_DLLAZY_OR_NOW
12155 # ifdef RTLD_LAZY
12156 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12157 # else
12158 # ifdef DL_LAZY
12159 # define LT_DLLAZY_OR_NOW DL_LAZY
12160 # else
12161 # ifdef RTLD_NOW
12162 # define LT_DLLAZY_OR_NOW RTLD_NOW
12163 # else
12164 # ifdef DL_NOW
12165 # define LT_DLLAZY_OR_NOW DL_NOW
12166 # else
12167 # define LT_DLLAZY_OR_NOW 0
12168 # endif
12169 # endif
12170 # endif
12171 # endif
12172 #endif
12174 /* When -fvisbility=hidden is used, assume the code has been annotated
12175 correspondingly for the symbols needed. */
12176 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12177 void fnord () __attribute__((visibility("default")));
12178 #endif
12180 void fnord () { int i=42; }
12181 int main ()
12183 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12184 int status = $lt_dlunknown;
12186 if (self)
12188 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12189 else
12191 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12192 else puts (dlerror ());
12194 /* dlclose (self); */
12196 else
12197 puts (dlerror ());
12199 return status;
12201 _LT_EOF
12202 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12203 (eval $ac_link) 2>&5
12204 ac_status=$?
12205 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12206 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12207 (./conftest; exit; ) >&5 2>/dev/null
12208 lt_status=$?
12209 case x$lt_status in
12210 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12211 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12212 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12213 esac
12214 else :
12215 # compilation failed
12216 lt_cv_dlopen_self=no
12219 rm -fr conftest*
12223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12224 $as_echo "$lt_cv_dlopen_self" >&6; }
12226 if test "x$lt_cv_dlopen_self" = xyes; then
12227 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12229 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12230 if ${lt_cv_dlopen_self_static+:} false; then :
12231 $as_echo_n "(cached) " >&6
12232 else
12233 if test "$cross_compiling" = yes; then :
12234 lt_cv_dlopen_self_static=cross
12235 else
12236 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12237 lt_status=$lt_dlunknown
12238 cat > conftest.$ac_ext <<_LT_EOF
12239 #line 12249 "configure"
12240 #include "confdefs.h"
12242 #if HAVE_DLFCN_H
12243 #include <dlfcn.h>
12244 #endif
12246 #include <stdio.h>
12248 #ifdef RTLD_GLOBAL
12249 # define LT_DLGLOBAL RTLD_GLOBAL
12250 #else
12251 # ifdef DL_GLOBAL
12252 # define LT_DLGLOBAL DL_GLOBAL
12253 # else
12254 # define LT_DLGLOBAL 0
12255 # endif
12256 #endif
12258 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12259 find out it does not work in some platform. */
12260 #ifndef LT_DLLAZY_OR_NOW
12261 # ifdef RTLD_LAZY
12262 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12263 # else
12264 # ifdef DL_LAZY
12265 # define LT_DLLAZY_OR_NOW DL_LAZY
12266 # else
12267 # ifdef RTLD_NOW
12268 # define LT_DLLAZY_OR_NOW RTLD_NOW
12269 # else
12270 # ifdef DL_NOW
12271 # define LT_DLLAZY_OR_NOW DL_NOW
12272 # else
12273 # define LT_DLLAZY_OR_NOW 0
12274 # endif
12275 # endif
12276 # endif
12277 # endif
12278 #endif
12280 /* When -fvisbility=hidden is used, assume the code has been annotated
12281 correspondingly for the symbols needed. */
12282 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12283 void fnord () __attribute__((visibility("default")));
12284 #endif
12286 void fnord () { int i=42; }
12287 int main ()
12289 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12290 int status = $lt_dlunknown;
12292 if (self)
12294 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12295 else
12297 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12298 else puts (dlerror ());
12300 /* dlclose (self); */
12302 else
12303 puts (dlerror ());
12305 return status;
12307 _LT_EOF
12308 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12309 (eval $ac_link) 2>&5
12310 ac_status=$?
12311 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12312 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12313 (./conftest; exit; ) >&5 2>/dev/null
12314 lt_status=$?
12315 case x$lt_status in
12316 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12317 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12318 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12319 esac
12320 else :
12321 # compilation failed
12322 lt_cv_dlopen_self_static=no
12325 rm -fr conftest*
12329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12330 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12333 CPPFLAGS="$save_CPPFLAGS"
12334 LDFLAGS="$save_LDFLAGS"
12335 LIBS="$save_LIBS"
12337 esac
12339 case $lt_cv_dlopen_self in
12340 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12341 *) enable_dlopen_self=unknown ;;
12342 esac
12344 case $lt_cv_dlopen_self_static in
12345 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12346 *) enable_dlopen_self_static=unknown ;;
12347 esac
12366 striplib=
12367 old_striplib=
12368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12369 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12370 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12371 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12372 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12374 $as_echo "yes" >&6; }
12375 else
12376 # FIXME - insert some real tests, host_os isn't really good enough
12377 case $host_os in
12378 darwin*)
12379 if test -n "$STRIP" ; then
12380 striplib="$STRIP -x"
12381 old_striplib="$STRIP -S"
12382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12383 $as_echo "yes" >&6; }
12384 else
12385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12386 $as_echo "no" >&6; }
12390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12391 $as_echo "no" >&6; }
12393 esac
12407 # Report which library types will actually be built
12408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12409 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12411 $as_echo "$can_build_shared" >&6; }
12413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12414 $as_echo_n "checking whether to build shared libraries... " >&6; }
12415 test "$can_build_shared" = "no" && enable_shared=no
12417 # On AIX, shared libraries and static libraries use the same namespace, and
12418 # are all built from PIC.
12419 case $host_os in
12420 aix3*)
12421 test "$enable_shared" = yes && enable_static=no
12422 if test -n "$RANLIB"; then
12423 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12424 postinstall_cmds='$RANLIB $lib'
12428 aix[4-9]*)
12429 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12430 test "$enable_shared" = yes && enable_static=no
12433 esac
12434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12435 $as_echo "$enable_shared" >&6; }
12437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12438 $as_echo_n "checking whether to build static libraries... " >&6; }
12439 # Make sure either enable_shared or enable_static is yes.
12440 test "$enable_shared" = yes || enable_static=yes
12441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12442 $as_echo "$enable_static" >&6; }
12448 ac_ext=c
12449 ac_cpp='$CPP $CPPFLAGS'
12450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12454 CC="$lt_save_CC"
12456 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
12457 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
12458 (test "X$CXX" != "Xg++"))) ; then
12459 ac_ext=cpp
12460 ac_cpp='$CXXCPP $CPPFLAGS'
12461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
12465 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
12466 if test -z "$CXXCPP"; then
12467 if ${ac_cv_prog_CXXCPP+:} false; then :
12468 $as_echo_n "(cached) " >&6
12469 else
12470 # Double quotes because CXXCPP needs to be expanded
12471 for CXXCPP in "$CXX -E" "/lib/cpp"
12473 ac_preproc_ok=false
12474 for ac_cxx_preproc_warn_flag in '' yes
12476 # Use a header file that comes with gcc, so configuring glibc
12477 # with a fresh cross-compiler works.
12478 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12479 # <limits.h> exists even on freestanding compilers.
12480 # On the NeXT, cc -E runs the code through the compiler's parser,
12481 # not just through cpp. "Syntax error" is here to catch this case.
12482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12483 /* end confdefs.h. */
12484 #ifdef __STDC__
12485 # include <limits.h>
12486 #else
12487 # include <assert.h>
12488 #endif
12489 Syntax error
12490 _ACEOF
12491 if ac_fn_cxx_try_cpp "$LINENO"; then :
12493 else
12494 # Broken: fails on valid input.
12495 continue
12497 rm -f conftest.err conftest.i conftest.$ac_ext
12499 # OK, works on sane cases. Now check whether nonexistent headers
12500 # can be detected and how.
12501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12502 /* end confdefs.h. */
12503 #include <ac_nonexistent.h>
12504 _ACEOF
12505 if ac_fn_cxx_try_cpp "$LINENO"; then :
12506 # Broken: success on invalid input.
12507 continue
12508 else
12509 # Passes both tests.
12510 ac_preproc_ok=:
12511 break
12513 rm -f conftest.err conftest.i conftest.$ac_ext
12515 done
12516 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12517 rm -f conftest.i conftest.err conftest.$ac_ext
12518 if $ac_preproc_ok; then :
12519 break
12522 done
12523 ac_cv_prog_CXXCPP=$CXXCPP
12526 CXXCPP=$ac_cv_prog_CXXCPP
12527 else
12528 ac_cv_prog_CXXCPP=$CXXCPP
12530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
12531 $as_echo "$CXXCPP" >&6; }
12532 ac_preproc_ok=false
12533 for ac_cxx_preproc_warn_flag in '' yes
12535 # Use a header file that comes with gcc, so configuring glibc
12536 # with a fresh cross-compiler works.
12537 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12538 # <limits.h> exists even on freestanding compilers.
12539 # On the NeXT, cc -E runs the code through the compiler's parser,
12540 # not just through cpp. "Syntax error" is here to catch this case.
12541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12542 /* end confdefs.h. */
12543 #ifdef __STDC__
12544 # include <limits.h>
12545 #else
12546 # include <assert.h>
12547 #endif
12548 Syntax error
12549 _ACEOF
12550 if ac_fn_cxx_try_cpp "$LINENO"; then :
12552 else
12553 # Broken: fails on valid input.
12554 continue
12556 rm -f conftest.err conftest.i conftest.$ac_ext
12558 # OK, works on sane cases. Now check whether nonexistent headers
12559 # can be detected and how.
12560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12561 /* end confdefs.h. */
12562 #include <ac_nonexistent.h>
12563 _ACEOF
12564 if ac_fn_cxx_try_cpp "$LINENO"; then :
12565 # Broken: success on invalid input.
12566 continue
12567 else
12568 # Passes both tests.
12569 ac_preproc_ok=:
12570 break
12572 rm -f conftest.err conftest.i conftest.$ac_ext
12574 done
12575 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12576 rm -f conftest.i conftest.err conftest.$ac_ext
12577 if $ac_preproc_ok; then :
12579 else
12580 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12581 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12582 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
12583 See \`config.log' for more details" "$LINENO" 5; }
12586 ac_ext=c
12587 ac_cpp='$CPP $CPPFLAGS'
12588 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12589 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12590 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12592 else
12593 _lt_caught_CXX_error=yes
12596 ac_ext=cpp
12597 ac_cpp='$CXXCPP $CPPFLAGS'
12598 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12599 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12600 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12602 archive_cmds_need_lc_CXX=no
12603 allow_undefined_flag_CXX=
12604 always_export_symbols_CXX=no
12605 archive_expsym_cmds_CXX=
12606 compiler_needs_object_CXX=no
12607 export_dynamic_flag_spec_CXX=
12608 hardcode_direct_CXX=no
12609 hardcode_direct_absolute_CXX=no
12610 hardcode_libdir_flag_spec_CXX=
12611 hardcode_libdir_flag_spec_ld_CXX=
12612 hardcode_libdir_separator_CXX=
12613 hardcode_minus_L_CXX=no
12614 hardcode_shlibpath_var_CXX=unsupported
12615 hardcode_automatic_CXX=no
12616 inherit_rpath_CXX=no
12617 module_cmds_CXX=
12618 module_expsym_cmds_CXX=
12619 link_all_deplibs_CXX=unknown
12620 old_archive_cmds_CXX=$old_archive_cmds
12621 reload_flag_CXX=$reload_flag
12622 reload_cmds_CXX=$reload_cmds
12623 no_undefined_flag_CXX=
12624 whole_archive_flag_spec_CXX=
12625 enable_shared_with_static_runtimes_CXX=no
12627 # Source file extension for C++ test sources.
12628 ac_ext=cpp
12630 # Object file extension for compiled C++ test sources.
12631 objext=o
12632 objext_CXX=$objext
12634 # No sense in running all these tests if we already determined that
12635 # the CXX compiler isn't working. Some variables (like enable_shared)
12636 # are currently assumed to apply to all compilers on this platform,
12637 # and will be corrupted by setting them based on a non-working compiler.
12638 if test "$_lt_caught_CXX_error" != yes; then
12639 # Code to be used in simple compile tests
12640 lt_simple_compile_test_code="int some_variable = 0;"
12642 # Code to be used in simple link tests
12643 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12645 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12652 # If no C compiler was specified, use CC.
12653 LTCC=${LTCC-"$CC"}
12655 # If no C compiler flags were specified, use CFLAGS.
12656 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12658 # Allow CC to be a program name with arguments.
12659 compiler=$CC
12662 # save warnings/boilerplate of simple test code
12663 ac_outfile=conftest.$ac_objext
12664 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12665 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12666 _lt_compiler_boilerplate=`cat conftest.err`
12667 $RM conftest*
12669 ac_outfile=conftest.$ac_objext
12670 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12671 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12672 _lt_linker_boilerplate=`cat conftest.err`
12673 $RM -r conftest*
12676 # Allow CC to be a program name with arguments.
12677 lt_save_CC=$CC
12678 lt_save_LD=$LD
12679 lt_save_GCC=$GCC
12680 GCC=$GXX
12681 lt_save_with_gnu_ld=$with_gnu_ld
12682 lt_save_path_LD=$lt_cv_path_LD
12683 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12684 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12685 else
12686 $as_unset lt_cv_prog_gnu_ld
12688 if test -n "${lt_cv_path_LDCXX+set}"; then
12689 lt_cv_path_LD=$lt_cv_path_LDCXX
12690 else
12691 $as_unset lt_cv_path_LD
12693 test -z "${LDCXX+set}" || LD=$LDCXX
12694 CC=${CXX-"c++"}
12695 compiler=$CC
12696 compiler_CXX=$CC
12697 for cc_temp in $compiler""; do
12698 case $cc_temp in
12699 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12700 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12701 \-*) ;;
12702 *) break;;
12703 esac
12704 done
12705 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12708 if test -n "$compiler"; then
12709 # We don't want -fno-exception when compiling C++ code, so set the
12710 # no_builtin_flag separately
12711 if test "$GXX" = yes; then
12712 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12713 else
12714 lt_prog_compiler_no_builtin_flag_CXX=
12717 if test "$GXX" = yes; then
12718 # Set up default GNU C++ configuration
12722 # Check whether --with-gnu-ld was given.
12723 if test "${with_gnu_ld+set}" = set; then :
12724 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12725 else
12726 with_gnu_ld=no
12729 ac_prog=ld
12730 if test "$GCC" = yes; then
12731 # Check if gcc -print-prog-name=ld gives a path.
12732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12733 $as_echo_n "checking for ld used by $CC... " >&6; }
12734 case $host in
12735 *-*-mingw*)
12736 # gcc leaves a trailing carriage return which upsets mingw
12737 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12739 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12740 esac
12741 case $ac_prog in
12742 # Accept absolute paths.
12743 [\\/]* | ?:[\\/]*)
12744 re_direlt='/[^/][^/]*/\.\./'
12745 # Canonicalize the pathname of ld
12746 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12747 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12748 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12749 done
12750 test -z "$LD" && LD="$ac_prog"
12753 # If it fails, then pretend we aren't using GCC.
12754 ac_prog=ld
12757 # If it is relative, then search for the first ld in PATH.
12758 with_gnu_ld=unknown
12760 esac
12761 elif test "$with_gnu_ld" = yes; then
12762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12763 $as_echo_n "checking for GNU ld... " >&6; }
12764 else
12765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12766 $as_echo_n "checking for non-GNU ld... " >&6; }
12768 if ${lt_cv_path_LD+:} false; then :
12769 $as_echo_n "(cached) " >&6
12770 else
12771 if test -z "$LD"; then
12772 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12773 for ac_dir in $PATH; do
12774 IFS="$lt_save_ifs"
12775 test -z "$ac_dir" && ac_dir=.
12776 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12777 lt_cv_path_LD="$ac_dir/$ac_prog"
12778 # Check to see if the program is GNU ld. I'd rather use --version,
12779 # but apparently some variants of GNU ld only accept -v.
12780 # Break only if it was the GNU/non-GNU ld that we prefer.
12781 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12782 *GNU* | *'with BFD'*)
12783 test "$with_gnu_ld" != no && break
12786 test "$with_gnu_ld" != yes && break
12788 esac
12790 done
12791 IFS="$lt_save_ifs"
12792 else
12793 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12797 LD="$lt_cv_path_LD"
12798 if test -n "$LD"; then
12799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12800 $as_echo "$LD" >&6; }
12801 else
12802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12803 $as_echo "no" >&6; }
12805 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
12806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12807 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12808 if ${lt_cv_prog_gnu_ld+:} false; then :
12809 $as_echo_n "(cached) " >&6
12810 else
12811 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12812 case `$LD -v 2>&1 </dev/null` in
12813 *GNU* | *'with BFD'*)
12814 lt_cv_prog_gnu_ld=yes
12817 lt_cv_prog_gnu_ld=no
12819 esac
12821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12822 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12823 with_gnu_ld=$lt_cv_prog_gnu_ld
12831 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12832 # archiving commands below assume that GNU ld is being used.
12833 if test "$with_gnu_ld" = yes; then
12834 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12835 archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12837 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12838 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12840 # If archive_cmds runs LD, not CC, wlarc should be empty
12841 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12842 # investigate it a little bit more. (MM)
12843 wlarc='${wl}'
12845 # ancient GNU ld didn't support --whole-archive et. al.
12846 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12847 $GREP 'no-whole-archive' > /dev/null; then
12848 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12849 else
12850 whole_archive_flag_spec_CXX=
12852 else
12853 with_gnu_ld=no
12854 wlarc=
12856 # A generic and very simple default shared library creation
12857 # command for GNU C++ for the case where it uses the native
12858 # linker, instead of GNU ld. If possible, this setting should
12859 # overridden to take advantage of the native linker features on
12860 # the platform it is being used on.
12861 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12864 # Commands to make compiler produce verbose output that lists
12865 # what "hidden" libraries, object files and flags are used when
12866 # linking a shared library.
12867 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12869 else
12870 GXX=no
12871 with_gnu_ld=no
12872 wlarc=
12875 # PORTME: fill in a description of your system's C++ link characteristics
12876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12877 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12878 ld_shlibs_CXX=yes
12879 case $host_os in
12880 aix3*)
12881 # FIXME: insert proper C++ library support
12882 ld_shlibs_CXX=no
12884 aix[4-9]*)
12885 if test "$host_cpu" = ia64; then
12886 # On IA64, the linker does run time linking by default, so we don't
12887 # have to do anything special.
12888 aix_use_runtimelinking=no
12889 exp_sym_flag='-Bexport'
12890 no_entry_flag=""
12891 else
12892 aix_use_runtimelinking=no
12894 # Test if we are trying to use run time linking or normal
12895 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12896 # need to do runtime linking.
12897 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12898 for ld_flag in $LDFLAGS; do
12899 case $ld_flag in
12900 *-brtl*)
12901 aix_use_runtimelinking=yes
12902 break
12904 esac
12905 done
12907 esac
12909 exp_sym_flag='-bexport'
12910 no_entry_flag='-bnoentry'
12913 # When large executables or shared objects are built, AIX ld can
12914 # have problems creating the table of contents. If linking a library
12915 # or program results in "error TOC overflow" add -mminimal-toc to
12916 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12917 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12919 archive_cmds_CXX=''
12920 hardcode_direct_CXX=yes
12921 hardcode_direct_absolute_CXX=yes
12922 hardcode_libdir_separator_CXX=':'
12923 link_all_deplibs_CXX=yes
12924 file_list_spec_CXX='${wl}-f,'
12926 if test "$GXX" = yes; then
12927 case $host_os in aix4.[012]|aix4.[012].*)
12928 # We only want to do this on AIX 4.2 and lower, the check
12929 # below for broken collect2 doesn't work under 4.3+
12930 collect2name=`${CC} -print-prog-name=collect2`
12931 if test -f "$collect2name" &&
12932 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12933 then
12934 # We have reworked collect2
12936 else
12937 # We have old collect2
12938 hardcode_direct_CXX=unsupported
12939 # It fails to find uninstalled libraries when the uninstalled
12940 # path is not listed in the libpath. Setting hardcode_minus_L
12941 # to unsupported forces relinking
12942 hardcode_minus_L_CXX=yes
12943 hardcode_libdir_flag_spec_CXX='-L$libdir'
12944 hardcode_libdir_separator_CXX=
12946 esac
12947 shared_flag='-shared'
12948 if test "$aix_use_runtimelinking" = yes; then
12949 shared_flag="$shared_flag "'${wl}-G'
12951 else
12952 # not using gcc
12953 if test "$host_cpu" = ia64; then
12954 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12955 # chokes on -Wl,-G. The following line is correct:
12956 shared_flag='-G'
12957 else
12958 if test "$aix_use_runtimelinking" = yes; then
12959 shared_flag='${wl}-G'
12960 else
12961 shared_flag='${wl}-bM:SRE'
12966 export_dynamic_flag_spec_CXX='${wl}-bexpall'
12967 # It seems that -bexpall does not export symbols beginning with
12968 # underscore (_), so it is better to generate a list of symbols to
12969 # export.
12970 always_export_symbols_CXX=yes
12971 if test "$aix_use_runtimelinking" = yes; then
12972 # Warning - without using the other runtime loading flags (-brtl),
12973 # -berok will link without error, but may produce a broken library.
12974 allow_undefined_flag_CXX='-berok'
12975 # Determine the default libpath from the value encoded in an empty
12976 # executable.
12977 if test x$gcc_no_link = xyes; then
12978 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12981 /* end confdefs.h. */
12984 main ()
12988 return 0;
12990 _ACEOF
12991 if ac_fn_cxx_try_link "$LINENO"; then :
12993 lt_aix_libpath_sed='
12994 /Import File Strings/,/^$/ {
12995 /^0/ {
12996 s/^0 *\(.*\)$/\1/
13000 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13001 # Check for a 64-bit object if we didn't find anything.
13002 if test -z "$aix_libpath"; then
13003 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13006 rm -f core conftest.err conftest.$ac_objext \
13007 conftest$ac_exeext conftest.$ac_ext
13008 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13010 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
13012 archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
13013 else
13014 if test "$host_cpu" = ia64; then
13015 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
13016 allow_undefined_flag_CXX="-z nodefs"
13017 archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
13018 else
13019 # Determine the default libpath from the value encoded in an
13020 # empty executable.
13021 if test x$gcc_no_link = xyes; then
13022 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13025 /* end confdefs.h. */
13028 main ()
13032 return 0;
13034 _ACEOF
13035 if ac_fn_cxx_try_link "$LINENO"; then :
13037 lt_aix_libpath_sed='
13038 /Import File Strings/,/^$/ {
13039 /^0/ {
13040 s/^0 *\(.*\)$/\1/
13044 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13045 # Check for a 64-bit object if we didn't find anything.
13046 if test -z "$aix_libpath"; then
13047 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13050 rm -f core conftest.err conftest.$ac_objext \
13051 conftest$ac_exeext conftest.$ac_ext
13052 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13054 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
13055 # Warning - without using the other run time loading flags,
13056 # -berok will link without error, but may produce a broken library.
13057 no_undefined_flag_CXX=' ${wl}-bernotok'
13058 allow_undefined_flag_CXX=' ${wl}-berok'
13059 if test "$with_gnu_ld" = yes; then
13060 # We only use this code for GNU lds that support --whole-archive.
13061 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13062 else
13063 # Exported symbols can be pulled into shared objects from archives
13064 whole_archive_flag_spec_CXX='$convenience'
13066 archive_cmds_need_lc_CXX=yes
13067 # This is similar to how AIX traditionally builds its shared
13068 # libraries.
13069 archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
13074 beos*)
13075 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
13076 allow_undefined_flag_CXX=unsupported
13077 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13078 # support --undefined. This deserves some investigation. FIXME
13079 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13080 else
13081 ld_shlibs_CXX=no
13085 chorus*)
13086 case $cc_basename in
13088 # FIXME: insert proper C++ library support
13089 ld_shlibs_CXX=no
13091 esac
13094 cygwin* | mingw* | pw32* | cegcc*)
13095 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
13096 # as there is no search path for DLLs.
13097 hardcode_libdir_flag_spec_CXX='-L$libdir'
13098 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
13099 allow_undefined_flag_CXX=unsupported
13100 always_export_symbols_CXX=no
13101 enable_shared_with_static_runtimes_CXX=yes
13103 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
13104 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13105 # If the export-symbols file already is a .def file (1st line
13106 # is EXPORTS), use it as is; otherwise, prepend...
13107 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13108 cp $export_symbols $output_objdir/$soname.def;
13109 else
13110 echo EXPORTS > $output_objdir/$soname.def;
13111 cat $export_symbols >> $output_objdir/$soname.def;
13113 $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13114 else
13115 ld_shlibs_CXX=no
13118 darwin* | rhapsody*)
13121 archive_cmds_need_lc_CXX=no
13122 hardcode_direct_CXX=no
13123 hardcode_automatic_CXX=yes
13124 hardcode_shlibpath_var_CXX=unsupported
13125 if test "$lt_cv_ld_force_load" = "yes"; then
13126 whole_archive_flag_spec_CXX='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
13127 else
13128 whole_archive_flag_spec_CXX=''
13130 link_all_deplibs_CXX=yes
13131 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
13132 case $cc_basename in
13133 ifort*) _lt_dar_can_shared=yes ;;
13134 *) _lt_dar_can_shared=$GCC ;;
13135 esac
13136 if test "$_lt_dar_can_shared" = "yes"; then
13137 output_verbose_link_cmd=func_echo_all
13138 archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
13139 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
13140 archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
13141 module_expsym_cmds_CXX="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
13142 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
13143 archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
13144 archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
13147 else
13148 ld_shlibs_CXX=no
13153 dgux*)
13154 case $cc_basename in
13155 ec++*)
13156 # FIXME: insert proper C++ library support
13157 ld_shlibs_CXX=no
13159 ghcx*)
13160 # Green Hills C++ Compiler
13161 # FIXME: insert proper C++ library support
13162 ld_shlibs_CXX=no
13165 # FIXME: insert proper C++ library support
13166 ld_shlibs_CXX=no
13168 esac
13171 freebsd2.*)
13172 # C++ shared libraries reported to be fairly broken before
13173 # switch to ELF
13174 ld_shlibs_CXX=no
13177 freebsd-elf*)
13178 archive_cmds_need_lc_CXX=no
13181 freebsd* | dragonfly*)
13182 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
13183 # conventions
13184 ld_shlibs_CXX=yes
13187 gnu*)
13190 haiku*)
13191 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13192 link_all_deplibs_CXX=yes
13195 hpux9*)
13196 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13197 hardcode_libdir_separator_CXX=:
13198 export_dynamic_flag_spec_CXX='${wl}-E'
13199 hardcode_direct_CXX=yes
13200 hardcode_minus_L_CXX=yes # Not in the search PATH,
13201 # but as the default
13202 # location of the library.
13204 case $cc_basename in
13205 CC*)
13206 # FIXME: insert proper C++ library support
13207 ld_shlibs_CXX=no
13209 aCC*)
13210 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
13211 # Commands to make compiler produce verbose output that lists
13212 # what "hidden" libraries, object files and flags are used when
13213 # linking a shared library.
13215 # There doesn't appear to be a way to prevent this compiler from
13216 # explicitly linking system object files so we need to strip them
13217 # from the output so that they don't get included in the library
13218 # dependencies.
13219 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
13222 if test "$GXX" = yes; then
13223 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
13224 else
13225 # FIXME: insert proper C++ library support
13226 ld_shlibs_CXX=no
13229 esac
13232 hpux10*|hpux11*)
13233 if test $with_gnu_ld = no; then
13234 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13235 hardcode_libdir_separator_CXX=:
13237 case $host_cpu in
13238 hppa*64*|ia64*)
13241 export_dynamic_flag_spec_CXX='${wl}-E'
13243 esac
13245 case $host_cpu in
13246 hppa*64*|ia64*)
13247 hardcode_direct_CXX=no
13248 hardcode_shlibpath_var_CXX=no
13251 hardcode_direct_CXX=yes
13252 hardcode_direct_absolute_CXX=yes
13253 hardcode_minus_L_CXX=yes # Not in the search PATH,
13254 # but as the default
13255 # location of the library.
13257 esac
13259 case $cc_basename in
13260 CC*)
13261 # FIXME: insert proper C++ library support
13262 ld_shlibs_CXX=no
13264 aCC*)
13265 case $host_cpu in
13266 hppa*64*)
13267 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13269 ia64*)
13270 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13273 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13275 esac
13276 # Commands to make compiler produce verbose output that lists
13277 # what "hidden" libraries, object files and flags are used when
13278 # linking a shared library.
13280 # There doesn't appear to be a way to prevent this compiler from
13281 # explicitly linking system object files so we need to strip them
13282 # from the output so that they don't get included in the library
13283 # dependencies.
13284 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
13287 if test "$GXX" = yes; then
13288 if test $with_gnu_ld = no; then
13289 case $host_cpu in
13290 hppa*64*)
13291 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13293 ia64*)
13294 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13297 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13299 esac
13301 else
13302 # FIXME: insert proper C++ library support
13303 ld_shlibs_CXX=no
13306 esac
13309 interix[3-9]*)
13310 hardcode_direct_CXX=no
13311 hardcode_shlibpath_var_CXX=no
13312 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13313 export_dynamic_flag_spec_CXX='${wl}-E'
13314 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13315 # Instead, shared libraries are loaded at an image base (0x10000000 by
13316 # default) and relocated if they conflict, which is a slow very memory
13317 # consuming and fragmenting process. To avoid this, we pick a random,
13318 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13319 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
13320 archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
13321 archive_expsym_cmds_CXX='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
13323 irix5* | irix6*)
13324 case $cc_basename in
13325 CC*)
13326 # SGI C++
13327 archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
13329 # Archives containing C++ object files must be created using
13330 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
13331 # necessary to make sure instantiated templates are included
13332 # in the archive.
13333 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
13336 if test "$GXX" = yes; then
13337 if test "$with_gnu_ld" = no; then
13338 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13339 else
13340 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib'
13343 link_all_deplibs_CXX=yes
13345 esac
13346 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13347 hardcode_libdir_separator_CXX=:
13348 inherit_rpath_CXX=yes
13351 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13352 case $cc_basename in
13353 KCC*)
13354 # Kuck and Associates, Inc. (KAI) C++ Compiler
13356 # KCC will only create a shared library if the output file
13357 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13358 # to its proper name (with version) after linking.
13359 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
13360 archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
13361 # Commands to make compiler produce verbose output that lists
13362 # what "hidden" libraries, object files and flags are used when
13363 # linking a shared library.
13365 # There doesn't appear to be a way to prevent this compiler from
13366 # explicitly linking system object files so we need to strip them
13367 # from the output so that they don't get included in the library
13368 # dependencies.
13369 output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
13371 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13372 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13374 # Archives containing C++ object files must be created using
13375 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13376 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
13378 icpc* | ecpc* )
13379 # Intel C++
13380 with_gnu_ld=yes
13381 # version 8.0 and above of icpc choke on multiply defined symbols
13382 # if we add $predep_objects and $postdep_objects, however 7.1 and
13383 # earlier do not add the objects themselves.
13384 case `$CC -V 2>&1` in
13385 *"Version 7."*)
13386 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13387 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13389 *) # Version 8.0 or newer
13390 tmp_idyn=
13391 case $host_cpu in
13392 ia64*) tmp_idyn=' -i_dynamic';;
13393 esac
13394 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13395 archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13397 esac
13398 archive_cmds_need_lc_CXX=no
13399 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13400 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13401 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13403 pgCC* | pgcpp*)
13404 # Portland Group C++ compiler
13405 case `$CC -V` in
13406 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
13407 prelink_cmds_CXX='tpldir=Template.dir~
13408 rm -rf $tpldir~
13409 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
13410 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
13411 old_archive_cmds_CXX='tpldir=Template.dir~
13412 rm -rf $tpldir~
13413 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
13414 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
13415 $RANLIB $oldlib'
13416 archive_cmds_CXX='tpldir=Template.dir~
13417 rm -rf $tpldir~
13418 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13419 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13420 archive_expsym_cmds_CXX='tpldir=Template.dir~
13421 rm -rf $tpldir~
13422 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13423 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
13425 *) # Version 6 and above use weak symbols
13426 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13427 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
13429 esac
13431 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
13432 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13433 whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
13435 cxx*)
13436 # Compaq C++
13437 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13438 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
13440 runpath_var=LD_RUN_PATH
13441 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13442 hardcode_libdir_separator_CXX=:
13444 # Commands to make compiler produce verbose output that lists
13445 # what "hidden" libraries, object files and flags are used when
13446 # linking a shared library.
13448 # There doesn't appear to be a way to prevent this compiler from
13449 # explicitly linking system object files so we need to strip them
13450 # from the output so that they don't get included in the library
13451 # dependencies.
13452 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed'
13454 xl* | mpixl* | bgxl*)
13455 # IBM XL 8.0 on PPC, with GNU ld
13456 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13457 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13458 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13459 if test "x$supports_anon_versioning" = xyes; then
13460 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
13461 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13462 echo "local: *; };" >> $output_objdir/$libname.ver~
13463 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13467 case `$CC -V 2>&1 | sed 5q` in
13468 *Sun\ C*)
13469 # Sun C++ 5.9
13470 no_undefined_flag_CXX=' -zdefs'
13471 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13472 archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
13473 hardcode_libdir_flag_spec_CXX='-R$libdir'
13474 whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
13475 compiler_needs_object_CXX=yes
13477 # Not sure whether something based on
13478 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13479 # would be better.
13480 output_verbose_link_cmd='func_echo_all'
13482 # Archives containing C++ object files must be created using
13483 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13484 # necessary to make sure instantiated templates are included
13485 # in the archive.
13486 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13488 esac
13490 esac
13493 lynxos*)
13494 # FIXME: insert proper C++ library support
13495 ld_shlibs_CXX=no
13498 m88k*)
13499 # FIXME: insert proper C++ library support
13500 ld_shlibs_CXX=no
13503 mvs*)
13504 case $cc_basename in
13505 cxx*)
13506 # FIXME: insert proper C++ library support
13507 ld_shlibs_CXX=no
13510 # FIXME: insert proper C++ library support
13511 ld_shlibs_CXX=no
13513 esac
13516 netbsd*)
13517 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13518 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13519 wlarc=
13520 hardcode_libdir_flag_spec_CXX='-R$libdir'
13521 hardcode_direct_CXX=yes
13522 hardcode_shlibpath_var_CXX=no
13524 # Workaround some broken pre-1.5 toolchains
13525 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13528 *nto* | *qnx*)
13529 ld_shlibs_CXX=yes
13532 openbsd2*)
13533 # C++ shared libraries are fairly broken
13534 ld_shlibs_CXX=no
13537 openbsd*)
13538 if test -f /usr/libexec/ld.so; then
13539 hardcode_direct_CXX=yes
13540 hardcode_shlibpath_var_CXX=no
13541 hardcode_direct_absolute_CXX=yes
13542 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13543 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13544 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13545 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13546 export_dynamic_flag_spec_CXX='${wl}-E'
13547 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13549 output_verbose_link_cmd=func_echo_all
13550 else
13551 ld_shlibs_CXX=no
13555 osf3* | osf4* | osf5*)
13556 case $cc_basename in
13557 KCC*)
13558 # Kuck and Associates, Inc. (KAI) C++ Compiler
13560 # KCC will only create a shared library if the output file
13561 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13562 # to its proper name (with version) after linking.
13563 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
13565 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13566 hardcode_libdir_separator_CXX=:
13568 # Archives containing C++ object files must be created using
13569 # the KAI C++ compiler.
13570 case $host in
13571 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
13572 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
13573 esac
13575 RCC*)
13576 # Rational C++ 2.4.1
13577 # FIXME: insert proper C++ library support
13578 ld_shlibs_CXX=no
13580 cxx*)
13581 case $host in
13582 osf3*)
13583 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13584 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && func_echo_all "${wl}-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
13585 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13588 allow_undefined_flag_CXX=' -expect_unresolved \*'
13589 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
13590 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13591 echo "-hidden">> $lib.exp~
13592 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~
13593 $RM $lib.exp'
13594 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13596 esac
13598 hardcode_libdir_separator_CXX=:
13600 # Commands to make compiler produce verbose output that lists
13601 # what "hidden" libraries, object files and flags are used when
13602 # linking a shared library.
13604 # There doesn't appear to be a way to prevent this compiler from
13605 # explicitly linking system object files so we need to strip them
13606 # from the output so that they don't get included in the library
13607 # dependencies.
13608 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
13611 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13612 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13613 case $host in
13614 osf3*)
13615 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13618 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13620 esac
13622 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13623 hardcode_libdir_separator_CXX=:
13625 # Commands to make compiler produce verbose output that lists
13626 # what "hidden" libraries, object files and flags are used when
13627 # linking a shared library.
13628 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13630 else
13631 # FIXME: insert proper C++ library support
13632 ld_shlibs_CXX=no
13635 esac
13638 psos*)
13639 # FIXME: insert proper C++ library support
13640 ld_shlibs_CXX=no
13643 sunos4*)
13644 case $cc_basename in
13645 CC*)
13646 # Sun C++ 4.x
13647 # FIXME: insert proper C++ library support
13648 ld_shlibs_CXX=no
13650 lcc*)
13651 # Lucid
13652 # FIXME: insert proper C++ library support
13653 ld_shlibs_CXX=no
13656 # FIXME: insert proper C++ library support
13657 ld_shlibs_CXX=no
13659 esac
13662 solaris*)
13663 case $cc_basename in
13664 CC*)
13665 # Sun C++ 4.2, 5.x and Centerline C++
13666 archive_cmds_need_lc_CXX=yes
13667 no_undefined_flag_CXX=' -zdefs'
13668 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13669 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13670 $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13672 hardcode_libdir_flag_spec_CXX='-R$libdir'
13673 hardcode_shlibpath_var_CXX=no
13674 case $host_os in
13675 solaris2.[0-5] | solaris2.[0-5].*) ;;
13677 # The compiler driver will combine and reorder linker options,
13678 # but understands `-z linker_flag'.
13679 # Supported since Solaris 2.6 (maybe 2.5.1?)
13680 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13682 esac
13683 link_all_deplibs_CXX=yes
13685 output_verbose_link_cmd='func_echo_all'
13687 # Archives containing C++ object files must be created using
13688 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13689 # necessary to make sure instantiated templates are included
13690 # in the archive.
13691 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13693 gcx*)
13694 # Green Hills C++ Compiler
13695 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13697 # The C++ compiler must be used to create the archive.
13698 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13701 # GNU C++ compiler with Solaris linker
13702 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13703 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13704 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13705 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13706 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13707 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13709 # Commands to make compiler produce verbose output that lists
13710 # what "hidden" libraries, object files and flags are used when
13711 # linking a shared library.
13712 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13713 else
13714 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13715 # platform.
13716 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13717 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13718 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13720 # Commands to make compiler produce verbose output that lists
13721 # what "hidden" libraries, object files and flags are used when
13722 # linking a shared library.
13723 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13726 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13727 case $host_os in
13728 solaris2.[0-5] | solaris2.[0-5].*) ;;
13730 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13732 esac
13735 esac
13738 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13739 no_undefined_flag_CXX='${wl}-z,text'
13740 archive_cmds_need_lc_CXX=no
13741 hardcode_shlibpath_var_CXX=no
13742 runpath_var='LD_RUN_PATH'
13744 case $cc_basename in
13745 CC*)
13746 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13747 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13750 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13751 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13753 esac
13756 sysv5* | sco3.2v5* | sco5v6*)
13757 # Note: We can NOT use -z defs as we might desire, because we do not
13758 # link with -lc, and that would cause any symbols used from libc to
13759 # always be unresolved, which means just about no library would
13760 # ever link correctly. If we're not using GNU ld we use -z text
13761 # though, which does catch some bad symbols but isn't as heavy-handed
13762 # as -z defs.
13763 no_undefined_flag_CXX='${wl}-z,text'
13764 allow_undefined_flag_CXX='${wl}-z,nodefs'
13765 archive_cmds_need_lc_CXX=no
13766 hardcode_shlibpath_var_CXX=no
13767 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13768 hardcode_libdir_separator_CXX=':'
13769 link_all_deplibs_CXX=yes
13770 export_dynamic_flag_spec_CXX='${wl}-Bexport'
13771 runpath_var='LD_RUN_PATH'
13773 case $cc_basename in
13774 CC*)
13775 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13776 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13777 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13778 '"$old_archive_cmds_CXX"
13779 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13780 '"$reload_cmds_CXX"
13783 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13784 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13786 esac
13789 tandem*)
13790 case $cc_basename in
13791 NCC*)
13792 # NonStop-UX NCC 3.20
13793 # FIXME: insert proper C++ library support
13794 ld_shlibs_CXX=no
13797 # FIXME: insert proper C++ library support
13798 ld_shlibs_CXX=no
13800 esac
13803 vxworks*)
13804 # FIXME: insert proper C++ library support
13805 ld_shlibs_CXX=no
13809 # FIXME: insert proper C++ library support
13810 ld_shlibs_CXX=no
13812 esac
13814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13815 $as_echo "$ld_shlibs_CXX" >&6; }
13816 test "$ld_shlibs_CXX" = no && can_build_shared=no
13818 GCC_CXX="$GXX"
13819 LD_CXX="$LD"
13821 ## CAVEAT EMPTOR:
13822 ## There is no encapsulation within the following macros, do not change
13823 ## the running order or otherwise move them around unless you know exactly
13824 ## what you are doing...
13825 # Dependencies to place before and after the object being linked:
13826 predep_objects_CXX=
13827 postdep_objects_CXX=
13828 predeps_CXX=
13829 postdeps_CXX=
13830 compiler_lib_search_path_CXX=
13832 cat > conftest.$ac_ext <<_LT_EOF
13833 class Foo
13835 public:
13836 Foo (void) { a = 0; }
13837 private:
13838 int a;
13840 _LT_EOF
13842 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13843 (eval $ac_compile) 2>&5
13844 ac_status=$?
13845 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13846 test $ac_status = 0; }; then
13847 # Parse the compiler output and extract the necessary
13848 # objects, libraries and library flags.
13850 # Sentinel used to keep track of whether or not we are before
13851 # the conftest object file.
13852 pre_test_object_deps_done=no
13854 for p in `eval "$output_verbose_link_cmd"`; do
13855 case $p in
13857 -L* | -R* | -l*)
13858 # Some compilers place space between "-{L,R}" and the path.
13859 # Remove the space.
13860 if test $p = "-L" ||
13861 test $p = "-R"; then
13862 prev=$p
13863 continue
13864 else
13865 prev=
13868 if test "$pre_test_object_deps_done" = no; then
13869 case $p in
13870 -L* | -R*)
13871 # Internal compiler library paths should come after those
13872 # provided the user. The postdeps already come after the
13873 # user supplied libs so there is no need to process them.
13874 if test -z "$compiler_lib_search_path_CXX"; then
13875 compiler_lib_search_path_CXX="${prev}${p}"
13876 else
13877 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13880 # The "-l" case would never come before the object being
13881 # linked, so don't bother handling this case.
13882 esac
13883 else
13884 if test -z "$postdeps_CXX"; then
13885 postdeps_CXX="${prev}${p}"
13886 else
13887 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13892 *.$objext)
13893 # This assumes that the test object file only shows up
13894 # once in the compiler output.
13895 if test "$p" = "conftest.$objext"; then
13896 pre_test_object_deps_done=yes
13897 continue
13900 if test "$pre_test_object_deps_done" = no; then
13901 if test -z "$predep_objects_CXX"; then
13902 predep_objects_CXX="$p"
13903 else
13904 predep_objects_CXX="$predep_objects_CXX $p"
13906 else
13907 if test -z "$postdep_objects_CXX"; then
13908 postdep_objects_CXX="$p"
13909 else
13910 postdep_objects_CXX="$postdep_objects_CXX $p"
13915 *) ;; # Ignore the rest.
13917 esac
13918 done
13920 # Clean up.
13921 rm -f a.out a.exe
13922 else
13923 echo "libtool.m4: error: problem compiling CXX test program"
13926 $RM -f confest.$objext
13928 # PORTME: override above test on systems where it is broken
13929 case $host_os in
13930 interix[3-9]*)
13931 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13932 # hack all around it, let's just trust "g++" to DTRT.
13933 predep_objects_CXX=
13934 postdep_objects_CXX=
13935 postdeps_CXX=
13938 linux*)
13939 case `$CC -V 2>&1 | sed 5q` in
13940 *Sun\ C*)
13941 # Sun C++ 5.9
13943 # The more standards-conforming stlport4 library is
13944 # incompatible with the Cstd library. Avoid specifying
13945 # it if it's in CXXFLAGS. Ignore libCrun as
13946 # -library=stlport4 depends on it.
13947 case " $CXX $CXXFLAGS " in
13948 *" -library=stlport4 "*)
13949 solaris_use_stlport4=yes
13951 esac
13953 if test "$solaris_use_stlport4" != yes; then
13954 postdeps_CXX='-library=Cstd -library=Crun'
13957 esac
13960 solaris*)
13961 case $cc_basename in
13962 CC*)
13963 # The more standards-conforming stlport4 library is
13964 # incompatible with the Cstd library. Avoid specifying
13965 # it if it's in CXXFLAGS. Ignore libCrun as
13966 # -library=stlport4 depends on it.
13967 case " $CXX $CXXFLAGS " in
13968 *" -library=stlport4 "*)
13969 solaris_use_stlport4=yes
13971 esac
13973 # Adding this requires a known-good setup of shared libraries for
13974 # Sun compiler versions before 5.6, else PIC objects from an old
13975 # archive will be linked into the output, leading to subtle bugs.
13976 if test "$solaris_use_stlport4" != yes; then
13977 postdeps_CXX='-library=Cstd -library=Crun'
13980 esac
13982 esac
13985 case " $postdeps_CXX " in
13986 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
13987 esac
13988 compiler_lib_search_dirs_CXX=
13989 if test -n "${compiler_lib_search_path_CXX}"; then
13990 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
14023 lt_prog_compiler_wl_CXX=
14024 lt_prog_compiler_pic_CXX=
14025 lt_prog_compiler_static_CXX=
14027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
14028 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
14030 # C++ specific cases for pic, static, wl, etc.
14031 if test "$GXX" = yes; then
14032 lt_prog_compiler_wl_CXX='-Wl,'
14033 lt_prog_compiler_static_CXX='-static'
14035 case $host_os in
14036 aix*)
14037 # All AIX code is PIC.
14038 if test "$host_cpu" = ia64; then
14039 # AIX 5 now supports IA64 processor
14040 lt_prog_compiler_static_CXX='-Bstatic'
14042 lt_prog_compiler_pic_CXX='-fPIC'
14045 amigaos*)
14046 case $host_cpu in
14047 powerpc)
14048 # see comment about AmigaOS4 .so support
14049 lt_prog_compiler_pic_CXX='-fPIC'
14051 m68k)
14052 # FIXME: we need at least 68020 code to build shared libraries, but
14053 # adding the `-m68020' flag to GCC prevents building anything better,
14054 # like `-m68040'.
14055 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
14057 esac
14060 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
14061 # PIC is the default for these OSes.
14063 mingw* | cygwin* | os2* | pw32* | cegcc*)
14064 # This hack is so that the source file can tell whether it is being
14065 # built for inclusion in a dll (and should export symbols for example).
14066 # Although the cygwin gcc ignores -fPIC, still need this for old-style
14067 # (--disable-auto-import) libraries
14068 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
14070 darwin* | rhapsody*)
14071 # PIC is the default on this platform
14072 # Common symbols not allowed in MH_DYLIB files
14073 lt_prog_compiler_pic_CXX='-fno-common'
14075 *djgpp*)
14076 # DJGPP does not support shared libraries at all
14077 lt_prog_compiler_pic_CXX=
14079 haiku*)
14080 # PIC is the default for Haiku.
14081 # The "-static" flag exists, but is broken.
14082 lt_prog_compiler_static_CXX=
14084 interix[3-9]*)
14085 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14086 # Instead, we relocate shared libraries at runtime.
14088 sysv4*MP*)
14089 if test -d /usr/nec; then
14090 lt_prog_compiler_pic_CXX=-Kconform_pic
14093 hpux*)
14094 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
14095 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
14096 # sets the default TLS model and affects inlining.
14097 case $host_cpu in
14098 hppa*64*)
14101 lt_prog_compiler_pic_CXX='-fPIC'
14103 esac
14105 *qnx* | *nto*)
14106 # QNX uses GNU C++, but need to define -shared option too, otherwise
14107 # it will coredump.
14108 lt_prog_compiler_pic_CXX='-fPIC -shared'
14111 lt_prog_compiler_pic_CXX='-fPIC'
14113 esac
14114 else
14115 case $host_os in
14116 aix[4-9]*)
14117 # All AIX code is PIC.
14118 if test "$host_cpu" = ia64; then
14119 # AIX 5 now supports IA64 processor
14120 lt_prog_compiler_static_CXX='-Bstatic'
14121 else
14122 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
14125 chorus*)
14126 case $cc_basename in
14127 cxch68*)
14128 # Green Hills C++ Compiler
14129 # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
14131 esac
14133 dgux*)
14134 case $cc_basename in
14135 ec++*)
14136 lt_prog_compiler_pic_CXX='-KPIC'
14138 ghcx*)
14139 # Green Hills C++ Compiler
14140 lt_prog_compiler_pic_CXX='-pic'
14144 esac
14146 freebsd* | dragonfly*)
14147 # FreeBSD uses GNU C++
14149 hpux9* | hpux10* | hpux11*)
14150 case $cc_basename in
14151 CC*)
14152 lt_prog_compiler_wl_CXX='-Wl,'
14153 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
14154 if test "$host_cpu" != ia64; then
14155 lt_prog_compiler_pic_CXX='+Z'
14158 aCC*)
14159 lt_prog_compiler_wl_CXX='-Wl,'
14160 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
14161 case $host_cpu in
14162 hppa*64*|ia64*)
14163 # +Z the default
14166 lt_prog_compiler_pic_CXX='+Z'
14168 esac
14172 esac
14174 interix*)
14175 # This is c89, which is MS Visual C++ (no shared libs)
14176 # Anyone wants to do a port?
14178 irix5* | irix6* | nonstopux*)
14179 case $cc_basename in
14180 CC*)
14181 lt_prog_compiler_wl_CXX='-Wl,'
14182 lt_prog_compiler_static_CXX='-non_shared'
14183 # CC pic flag -KPIC is the default.
14187 esac
14189 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14190 case $cc_basename in
14191 KCC*)
14192 # KAI C++ Compiler
14193 lt_prog_compiler_wl_CXX='--backend -Wl,'
14194 lt_prog_compiler_pic_CXX='-fPIC'
14196 ecpc* )
14197 # old Intel C++ for x86_64 which still supported -KPIC.
14198 lt_prog_compiler_wl_CXX='-Wl,'
14199 lt_prog_compiler_pic_CXX='-KPIC'
14200 lt_prog_compiler_static_CXX='-static'
14202 icpc* )
14203 # Intel C++, used to be incompatible with GCC.
14204 # ICC 10 doesn't accept -KPIC any more.
14205 lt_prog_compiler_wl_CXX='-Wl,'
14206 lt_prog_compiler_pic_CXX='-fPIC'
14207 lt_prog_compiler_static_CXX='-static'
14209 pgCC* | pgcpp*)
14210 # Portland Group C++ compiler
14211 lt_prog_compiler_wl_CXX='-Wl,'
14212 lt_prog_compiler_pic_CXX='-fpic'
14213 lt_prog_compiler_static_CXX='-Bstatic'
14215 cxx*)
14216 # Compaq C++
14217 # Make sure the PIC flag is empty. It appears that all Alpha
14218 # Linux and Compaq Tru64 Unix objects are PIC.
14219 lt_prog_compiler_pic_CXX=
14220 lt_prog_compiler_static_CXX='-non_shared'
14222 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
14223 # IBM XL 8.0, 9.0 on PPC and BlueGene
14224 lt_prog_compiler_wl_CXX='-Wl,'
14225 lt_prog_compiler_pic_CXX='-qpic'
14226 lt_prog_compiler_static_CXX='-qstaticlink'
14229 case `$CC -V 2>&1 | sed 5q` in
14230 *Sun\ C*)
14231 # Sun C++ 5.9
14232 lt_prog_compiler_pic_CXX='-KPIC'
14233 lt_prog_compiler_static_CXX='-Bstatic'
14234 lt_prog_compiler_wl_CXX='-Qoption ld '
14236 esac
14238 esac
14240 lynxos*)
14242 m88k*)
14244 mvs*)
14245 case $cc_basename in
14246 cxx*)
14247 lt_prog_compiler_pic_CXX='-W c,exportall'
14251 esac
14253 netbsd*)
14255 *qnx* | *nto*)
14256 # QNX uses GNU C++, but need to define -shared option too, otherwise
14257 # it will coredump.
14258 lt_prog_compiler_pic_CXX='-fPIC -shared'
14260 osf3* | osf4* | osf5*)
14261 case $cc_basename in
14262 KCC*)
14263 lt_prog_compiler_wl_CXX='--backend -Wl,'
14265 RCC*)
14266 # Rational C++ 2.4.1
14267 lt_prog_compiler_pic_CXX='-pic'
14269 cxx*)
14270 # Digital/Compaq C++
14271 lt_prog_compiler_wl_CXX='-Wl,'
14272 # Make sure the PIC flag is empty. It appears that all Alpha
14273 # Linux and Compaq Tru64 Unix objects are PIC.
14274 lt_prog_compiler_pic_CXX=
14275 lt_prog_compiler_static_CXX='-non_shared'
14279 esac
14281 psos*)
14283 solaris*)
14284 case $cc_basename in
14285 CC*)
14286 # Sun C++ 4.2, 5.x and Centerline C++
14287 lt_prog_compiler_pic_CXX='-KPIC'
14288 lt_prog_compiler_static_CXX='-Bstatic'
14289 lt_prog_compiler_wl_CXX='-Qoption ld '
14291 gcx*)
14292 # Green Hills C++ Compiler
14293 lt_prog_compiler_pic_CXX='-PIC'
14297 esac
14299 sunos4*)
14300 case $cc_basename in
14301 CC*)
14302 # Sun C++ 4.x
14303 lt_prog_compiler_pic_CXX='-pic'
14304 lt_prog_compiler_static_CXX='-Bstatic'
14306 lcc*)
14307 # Lucid
14308 lt_prog_compiler_pic_CXX='-pic'
14312 esac
14314 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
14315 case $cc_basename in
14316 CC*)
14317 lt_prog_compiler_wl_CXX='-Wl,'
14318 lt_prog_compiler_pic_CXX='-KPIC'
14319 lt_prog_compiler_static_CXX='-Bstatic'
14321 esac
14323 tandem*)
14324 case $cc_basename in
14325 NCC*)
14326 # NonStop-UX NCC 3.20
14327 lt_prog_compiler_pic_CXX='-KPIC'
14331 esac
14333 vxworks*)
14336 lt_prog_compiler_can_build_shared_CXX=no
14338 esac
14341 case $host_os in
14342 # For platforms which do not support PIC, -DPIC is meaningless:
14343 *djgpp*)
14344 lt_prog_compiler_pic_CXX=
14347 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
14349 esac
14350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
14351 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
14356 # Check to make sure the PIC flag actually works.
14358 if test -n "$lt_prog_compiler_pic_CXX"; then
14359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14360 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
14361 if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
14362 $as_echo_n "(cached) " >&6
14363 else
14364 lt_cv_prog_compiler_pic_works_CXX=no
14365 ac_outfile=conftest.$ac_objext
14366 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14367 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
14368 # Insert the option either (1) after the last *FLAGS variable, or
14369 # (2) before a word containing "conftest.", or (3) at the end.
14370 # Note that $ac_compile itself does not contain backslashes and begins
14371 # with a dollar sign (not a hyphen), so the echo should work correctly.
14372 # The option is referenced via a variable to avoid confusing sed.
14373 lt_compile=`echo "$ac_compile" | $SED \
14374 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14375 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14376 -e 's:$: $lt_compiler_flag:'`
14377 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14378 (eval "$lt_compile" 2>conftest.err)
14379 ac_status=$?
14380 cat conftest.err >&5
14381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14382 if (exit $ac_status) && test -s "$ac_outfile"; then
14383 # The compiler can only warn and ignore the option if not recognized
14384 # So say no if there are warnings other than the usual output.
14385 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
14386 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14387 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
14388 lt_cv_prog_compiler_pic_works_CXX=yes
14391 $RM conftest*
14394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
14395 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
14397 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
14398 case $lt_prog_compiler_pic_CXX in
14399 "" | " "*) ;;
14400 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
14401 esac
14402 else
14403 lt_prog_compiler_pic_CXX=
14404 lt_prog_compiler_can_build_shared_CXX=no
14412 # Check to make sure the static flag actually works.
14414 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
14415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14416 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14417 if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
14418 $as_echo_n "(cached) " >&6
14419 else
14420 lt_cv_prog_compiler_static_works_CXX=no
14421 save_LDFLAGS="$LDFLAGS"
14422 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
14423 echo "$lt_simple_link_test_code" > conftest.$ac_ext
14424 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
14425 # The linker can only warn and ignore the option if not recognized
14426 # So say no if there are warnings
14427 if test -s conftest.err; then
14428 # Append any errors to the config.log.
14429 cat conftest.err 1>&5
14430 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
14431 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14432 if diff conftest.exp conftest.er2 >/dev/null; then
14433 lt_cv_prog_compiler_static_works_CXX=yes
14435 else
14436 lt_cv_prog_compiler_static_works_CXX=yes
14439 $RM -r conftest*
14440 LDFLAGS="$save_LDFLAGS"
14443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
14444 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
14446 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
14448 else
14449 lt_prog_compiler_static_CXX=
14455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14456 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14457 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
14458 $as_echo_n "(cached) " >&6
14459 else
14460 lt_cv_prog_compiler_c_o_CXX=no
14461 $RM -r conftest 2>/dev/null
14462 mkdir conftest
14463 cd conftest
14464 mkdir out
14465 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14467 lt_compiler_flag="-o out/conftest2.$ac_objext"
14468 # Insert the option either (1) after the last *FLAGS variable, or
14469 # (2) before a word containing "conftest.", or (3) at the end.
14470 # Note that $ac_compile itself does not contain backslashes and begins
14471 # with a dollar sign (not a hyphen), so the echo should work correctly.
14472 lt_compile=`echo "$ac_compile" | $SED \
14473 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14474 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14475 -e 's:$: $lt_compiler_flag:'`
14476 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14477 (eval "$lt_compile" 2>out/conftest.err)
14478 ac_status=$?
14479 cat out/conftest.err >&5
14480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14481 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14482 then
14483 # The compiler can only warn and ignore the option if not recognized
14484 # So say no if there are warnings
14485 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14486 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14487 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14488 lt_cv_prog_compiler_c_o_CXX=yes
14491 chmod u+w . 2>&5
14492 $RM conftest*
14493 # SGI C++ compiler will create directory out/ii_files/ for
14494 # template instantiation
14495 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14496 $RM out/* && rmdir out
14497 cd ..
14498 $RM -r conftest
14499 $RM conftest*
14502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14503 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14508 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14509 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
14510 $as_echo_n "(cached) " >&6
14511 else
14512 lt_cv_prog_compiler_c_o_CXX=no
14513 $RM -r conftest 2>/dev/null
14514 mkdir conftest
14515 cd conftest
14516 mkdir out
14517 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14519 lt_compiler_flag="-o out/conftest2.$ac_objext"
14520 # Insert the option either (1) after the last *FLAGS variable, or
14521 # (2) before a word containing "conftest.", or (3) at the end.
14522 # Note that $ac_compile itself does not contain backslashes and begins
14523 # with a dollar sign (not a hyphen), so the echo should work correctly.
14524 lt_compile=`echo "$ac_compile" | $SED \
14525 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14526 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14527 -e 's:$: $lt_compiler_flag:'`
14528 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14529 (eval "$lt_compile" 2>out/conftest.err)
14530 ac_status=$?
14531 cat out/conftest.err >&5
14532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14533 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14534 then
14535 # The compiler can only warn and ignore the option if not recognized
14536 # So say no if there are warnings
14537 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14538 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14539 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14540 lt_cv_prog_compiler_c_o_CXX=yes
14543 chmod u+w . 2>&5
14544 $RM conftest*
14545 # SGI C++ compiler will create directory out/ii_files/ for
14546 # template instantiation
14547 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14548 $RM out/* && rmdir out
14549 cd ..
14550 $RM -r conftest
14551 $RM conftest*
14554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14555 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14560 hard_links="nottested"
14561 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
14562 # do not overwrite the value of need_locks provided by the user
14563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14564 $as_echo_n "checking if we can lock with hard links... " >&6; }
14565 hard_links=yes
14566 $RM conftest*
14567 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14568 touch conftest.a
14569 ln conftest.a conftest.b 2>&5 || hard_links=no
14570 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14572 $as_echo "$hard_links" >&6; }
14573 if test "$hard_links" = no; then
14574 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14575 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14576 need_locks=warn
14578 else
14579 need_locks=no
14584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14585 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14587 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14588 case $host_os in
14589 aix[4-9]*)
14590 # If we're using GNU nm, then we don't want the "-C" option.
14591 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14592 # Also, AIX nm treats weak defined symbols like other global defined
14593 # symbols, whereas GNU nm marks them as "W".
14594 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14595 export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
14596 else
14597 export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
14600 pw32*)
14601 export_symbols_cmds_CXX="$ltdll_cmds"
14603 cygwin* | mingw* | cegcc*)
14604 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;/^.*[ ]__nm__/s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
14607 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14609 esac
14610 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14613 $as_echo "$ld_shlibs_CXX" >&6; }
14614 test "$ld_shlibs_CXX" = no && can_build_shared=no
14616 with_gnu_ld_CXX=$with_gnu_ld
14624 # Do we need to explicitly link libc?
14626 case "x$archive_cmds_need_lc_CXX" in
14627 x|xyes)
14628 # Assume -lc should be added
14629 archive_cmds_need_lc_CXX=yes
14631 if test "$enable_shared" = yes && test "$GCC" = yes; then
14632 case $archive_cmds_CXX in
14633 *'~'*)
14634 # FIXME: we may have to deal with multi-command sequences.
14636 '$CC '*)
14637 # Test whether the compiler implicitly links with -lc since on some
14638 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14639 # to ld, don't add -lc before -lgcc.
14640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14641 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14642 if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
14643 $as_echo_n "(cached) " >&6
14644 else
14645 $RM conftest*
14646 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14648 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14649 (eval $ac_compile) 2>&5
14650 ac_status=$?
14651 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14652 test $ac_status = 0; } 2>conftest.err; then
14653 soname=conftest
14654 lib=conftest
14655 libobjs=conftest.$ac_objext
14656 deplibs=
14657 wl=$lt_prog_compiler_wl_CXX
14658 pic_flag=$lt_prog_compiler_pic_CXX
14659 compiler_flags=-v
14660 linker_flags=-v
14661 verstring=
14662 output_objdir=.
14663 libname=conftest
14664 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14665 allow_undefined_flag_CXX=
14666 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14667 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14668 ac_status=$?
14669 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14670 test $ac_status = 0; }
14671 then
14672 lt_cv_archive_cmds_need_lc_CXX=no
14673 else
14674 lt_cv_archive_cmds_need_lc_CXX=yes
14676 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14677 else
14678 cat conftest.err 1>&5
14680 $RM conftest*
14683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14684 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14685 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14687 esac
14690 esac
14755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14756 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14758 library_names_spec=
14759 libname_spec='lib$name'
14760 soname_spec=
14761 shrext_cmds=".so"
14762 postinstall_cmds=
14763 postuninstall_cmds=
14764 finish_cmds=
14765 finish_eval=
14766 shlibpath_var=
14767 shlibpath_overrides_runpath=unknown
14768 version_type=none
14769 dynamic_linker="$host_os ld.so"
14770 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14771 need_lib_prefix=unknown
14772 hardcode_into_libs=no
14774 # when you set need_version to no, make sure it does not cause -set_version
14775 # flags to be left without arguments
14776 need_version=unknown
14778 case $host_os in
14779 aix3*)
14780 version_type=linux
14781 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14782 shlibpath_var=LIBPATH
14784 # AIX 3 has no versioning support, so we append a major version to the name.
14785 soname_spec='${libname}${release}${shared_ext}$major'
14788 aix[4-9]*)
14789 version_type=linux
14790 need_lib_prefix=no
14791 need_version=no
14792 hardcode_into_libs=yes
14793 if test "$host_cpu" = ia64; then
14794 # AIX 5 supports IA64
14795 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14796 shlibpath_var=LD_LIBRARY_PATH
14797 else
14798 # With GCC up to 2.95.x, collect2 would create an import file
14799 # for dependence libraries. The import file would start with
14800 # the line `#! .'. This would cause the generated library to
14801 # depend on `.', always an invalid library. This was fixed in
14802 # development snapshots of GCC prior to 3.0.
14803 case $host_os in
14804 aix4 | aix4.[01] | aix4.[01].*)
14805 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14806 echo ' yes '
14807 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14809 else
14810 can_build_shared=no
14813 esac
14814 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14815 # soname into executable. Probably we can add versioning support to
14816 # collect2, so additional links can be useful in future.
14817 if test "$aix_use_runtimelinking" = yes; then
14818 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14819 # instead of lib<name>.a to let people know that these are not
14820 # typical AIX shared libraries.
14821 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14822 else
14823 # We preserve .a as extension for shared libraries through AIX4.2
14824 # and later when we are not doing run time linking.
14825 library_names_spec='${libname}${release}.a $libname.a'
14826 soname_spec='${libname}${release}${shared_ext}$major'
14828 shlibpath_var=LIBPATH
14832 amigaos*)
14833 case $host_cpu in
14834 powerpc)
14835 # Since July 2007 AmigaOS4 officially supports .so libraries.
14836 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14837 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14839 m68k)
14840 library_names_spec='$libname.ixlibrary $libname.a'
14841 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14842 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
14844 esac
14847 beos*)
14848 library_names_spec='${libname}${shared_ext}'
14849 dynamic_linker="$host_os ld.so"
14850 shlibpath_var=LIBRARY_PATH
14853 bsdi[45]*)
14854 version_type=linux
14855 need_version=no
14856 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14857 soname_spec='${libname}${release}${shared_ext}$major'
14858 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14859 shlibpath_var=LD_LIBRARY_PATH
14860 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14861 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14862 # the default ld.so.conf also contains /usr/contrib/lib and
14863 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14864 # libtool to hard-code these into programs
14867 cygwin* | mingw* | pw32* | cegcc*)
14868 version_type=windows
14869 shrext_cmds=".dll"
14870 need_version=no
14871 need_lib_prefix=no
14873 case $GCC,$host_os in
14874 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14875 library_names_spec='$libname.dll.a'
14876 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14877 postinstall_cmds='base_file=`basename \${file}`~
14878 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14879 dldir=$destdir/`dirname \$dlpath`~
14880 test -d \$dldir || mkdir -p \$dldir~
14881 $install_prog $dir/$dlname \$dldir/$dlname~
14882 chmod a+x \$dldir/$dlname~
14883 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14884 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14886 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14887 dlpath=$dir/\$dldll~
14888 $RM \$dlpath'
14889 shlibpath_overrides_runpath=yes
14891 case $host_os in
14892 cygwin*)
14893 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14894 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14897 mingw* | cegcc*)
14898 # MinGW DLLs use traditional 'lib' prefix
14899 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14901 pw32*)
14902 # pw32 DLLs use 'pw' prefix rather than 'lib'
14903 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14905 esac
14909 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14911 esac
14912 dynamic_linker='Win32 ld.exe'
14913 # FIXME: first we should search . and the directory the executable is in
14914 shlibpath_var=PATH
14917 darwin* | rhapsody*)
14918 dynamic_linker="$host_os dyld"
14919 version_type=darwin
14920 need_lib_prefix=no
14921 need_version=no
14922 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14923 soname_spec='${libname}${release}${major}$shared_ext'
14924 shlibpath_overrides_runpath=yes
14925 shlibpath_var=DYLD_LIBRARY_PATH
14926 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14928 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14931 dgux*)
14932 version_type=linux
14933 need_lib_prefix=no
14934 need_version=no
14935 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14936 soname_spec='${libname}${release}${shared_ext}$major'
14937 shlibpath_var=LD_LIBRARY_PATH
14940 freebsd* | dragonfly*)
14941 # DragonFly does not have aout. When/if they implement a new
14942 # versioning mechanism, adjust this.
14943 if test -x /usr/bin/objformat; then
14944 objformat=`/usr/bin/objformat`
14945 else
14946 case $host_os in
14947 freebsd[23].*) objformat=aout ;;
14948 *) objformat=elf ;;
14949 esac
14951 version_type=freebsd-$objformat
14952 case $version_type in
14953 freebsd-elf*)
14954 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14955 need_version=no
14956 need_lib_prefix=no
14958 freebsd-*)
14959 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14960 need_version=yes
14962 esac
14963 shlibpath_var=LD_LIBRARY_PATH
14964 case $host_os in
14965 freebsd2.*)
14966 shlibpath_overrides_runpath=yes
14968 freebsd3.[01]* | freebsdelf3.[01]*)
14969 shlibpath_overrides_runpath=yes
14970 hardcode_into_libs=yes
14972 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14973 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14974 shlibpath_overrides_runpath=no
14975 hardcode_into_libs=yes
14977 *) # from 4.6 on, and DragonFly
14978 shlibpath_overrides_runpath=yes
14979 hardcode_into_libs=yes
14981 esac
14984 gnu*)
14985 version_type=linux
14986 need_lib_prefix=no
14987 need_version=no
14988 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14989 soname_spec='${libname}${release}${shared_ext}$major'
14990 shlibpath_var=LD_LIBRARY_PATH
14991 hardcode_into_libs=yes
14994 haiku*)
14995 version_type=linux
14996 need_lib_prefix=no
14997 need_version=no
14998 dynamic_linker="$host_os runtime_loader"
14999 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15000 soname_spec='${libname}${release}${shared_ext}$major'
15001 shlibpath_var=LIBRARY_PATH
15002 shlibpath_overrides_runpath=yes
15003 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
15004 hardcode_into_libs=yes
15007 hpux9* | hpux10* | hpux11*)
15008 # Give a soname corresponding to the major version so that dld.sl refuses to
15009 # link against other versions.
15010 version_type=sunos
15011 need_lib_prefix=no
15012 need_version=no
15013 case $host_cpu in
15014 ia64*)
15015 shrext_cmds='.so'
15016 hardcode_into_libs=yes
15017 dynamic_linker="$host_os dld.so"
15018 shlibpath_var=LD_LIBRARY_PATH
15019 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15020 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15021 soname_spec='${libname}${release}${shared_ext}$major'
15022 if test "X$HPUX_IA64_MODE" = X32; then
15023 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15024 else
15025 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
15027 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15029 hppa*64*)
15030 shrext_cmds='.sl'
15031 hardcode_into_libs=yes
15032 dynamic_linker="$host_os dld.sl"
15033 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
15034 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
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 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15038 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15041 shrext_cmds='.sl'
15042 dynamic_linker="$host_os dld.sl"
15043 shlibpath_var=SHLIB_PATH
15044 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
15045 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15046 soname_spec='${libname}${release}${shared_ext}$major'
15048 esac
15049 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15050 postinstall_cmds='chmod 555 $lib'
15051 # or fails outright, so override atomically:
15052 install_override_mode=555
15055 interix[3-9]*)
15056 version_type=linux
15057 need_lib_prefix=no
15058 need_version=no
15059 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15060 soname_spec='${libname}${release}${shared_ext}$major'
15061 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
15062 shlibpath_var=LD_LIBRARY_PATH
15063 shlibpath_overrides_runpath=no
15064 hardcode_into_libs=yes
15067 irix5* | irix6* | nonstopux*)
15068 case $host_os in
15069 nonstopux*) version_type=nonstopux ;;
15071 if test "$lt_cv_prog_gnu_ld" = yes; then
15072 version_type=linux
15073 else
15074 version_type=irix
15075 fi ;;
15076 esac
15077 need_lib_prefix=no
15078 need_version=no
15079 soname_spec='${libname}${release}${shared_ext}$major'
15080 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15081 case $host_os in
15082 irix5* | nonstopux*)
15083 libsuff= shlibsuff=
15086 case $LD in # libtool.m4 will add one of these switches to LD
15087 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
15088 libsuff= shlibsuff= libmagic=32-bit;;
15089 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
15090 libsuff=32 shlibsuff=N32 libmagic=N32;;
15091 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
15092 libsuff=64 shlibsuff=64 libmagic=64-bit;;
15093 *) libsuff= shlibsuff= libmagic=never-match;;
15094 esac
15096 esac
15097 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
15098 shlibpath_overrides_runpath=no
15099 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15100 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
15101 hardcode_into_libs=yes
15104 # No shared lib support for Linux oldld, aout, or coff.
15105 linux*oldld* | linux*aout* | linux*coff*)
15106 dynamic_linker=no
15109 # This must be Linux ELF.
15111 # uclinux* changes (here and below) have been submitted to the libtool
15112 # project, but have not yet been accepted: they are GCC-local changes
15113 # for the time being. (See
15114 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
15115 linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
15116 version_type=linux
15117 need_lib_prefix=no
15118 need_version=no
15119 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15120 soname_spec='${libname}${release}${shared_ext}$major'
15121 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15122 shlibpath_var=LD_LIBRARY_PATH
15123 shlibpath_overrides_runpath=no
15125 # Some binutils ld are patched to set DT_RUNPATH
15126 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
15127 $as_echo_n "(cached) " >&6
15128 else
15129 lt_cv_shlibpath_overrides_runpath=no
15130 save_LDFLAGS=$LDFLAGS
15131 save_libdir=$libdir
15132 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
15133 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
15134 if test x$gcc_no_link = xyes; then
15135 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15138 /* end confdefs.h. */
15141 main ()
15145 return 0;
15147 _ACEOF
15148 if ac_fn_cxx_try_link "$LINENO"; then :
15149 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
15150 lt_cv_shlibpath_overrides_runpath=yes
15153 rm -f core conftest.err conftest.$ac_objext \
15154 conftest$ac_exeext conftest.$ac_ext
15155 LDFLAGS=$save_LDFLAGS
15156 libdir=$save_libdir
15160 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
15162 # This implies no fast_install, which is unacceptable.
15163 # Some rework will be needed to allow for fast_install
15164 # before this can be enabled.
15165 hardcode_into_libs=yes
15167 # Append ld.so.conf contents to the search path
15168 if test -f /etc/ld.so.conf; then
15169 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' ' '`
15170 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
15173 # We used to test for /lib/ld.so.1 and disable shared libraries on
15174 # powerpc, because MkLinux only supported shared libraries with the
15175 # GNU dynamic linker. Since this was broken with cross compilers,
15176 # most powerpc-linux boxes support dynamic linking these days and
15177 # people can always --disable-shared, the test was removed, and we
15178 # assume the GNU/Linux dynamic linker is in use.
15179 dynamic_linker='GNU/Linux ld.so'
15182 netbsd*)
15183 version_type=sunos
15184 need_lib_prefix=no
15185 need_version=no
15186 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
15187 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15188 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15189 dynamic_linker='NetBSD (a.out) ld.so'
15190 else
15191 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15192 soname_spec='${libname}${release}${shared_ext}$major'
15193 dynamic_linker='NetBSD ld.elf_so'
15195 shlibpath_var=LD_LIBRARY_PATH
15196 shlibpath_overrides_runpath=yes
15197 hardcode_into_libs=yes
15200 newsos6)
15201 version_type=linux
15202 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15203 shlibpath_var=LD_LIBRARY_PATH
15204 shlibpath_overrides_runpath=yes
15207 *nto* | *qnx*)
15208 version_type=qnx
15209 need_lib_prefix=no
15210 need_version=no
15211 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15212 soname_spec='${libname}${release}${shared_ext}$major'
15213 shlibpath_var=LD_LIBRARY_PATH
15214 shlibpath_overrides_runpath=no
15215 hardcode_into_libs=yes
15216 dynamic_linker='ldqnx.so'
15219 openbsd*)
15220 version_type=sunos
15221 sys_lib_dlsearch_path_spec="/usr/lib"
15222 need_lib_prefix=no
15223 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15224 case $host_os in
15225 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
15226 *) need_version=no ;;
15227 esac
15228 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15229 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15230 shlibpath_var=LD_LIBRARY_PATH
15231 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15232 case $host_os in
15233 openbsd2.[89] | openbsd2.[89].*)
15234 shlibpath_overrides_runpath=no
15237 shlibpath_overrides_runpath=yes
15239 esac
15240 else
15241 shlibpath_overrides_runpath=yes
15245 os2*)
15246 libname_spec='$name'
15247 shrext_cmds=".dll"
15248 need_lib_prefix=no
15249 library_names_spec='$libname${shared_ext} $libname.a'
15250 dynamic_linker='OS/2 ld.exe'
15251 shlibpath_var=LIBPATH
15254 osf3* | osf4* | osf5*)
15255 version_type=osf
15256 need_lib_prefix=no
15257 need_version=no
15258 soname_spec='${libname}${release}${shared_ext}$major'
15259 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15260 shlibpath_var=LD_LIBRARY_PATH
15261 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15262 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
15265 rdos*)
15266 dynamic_linker=no
15269 solaris*)
15270 version_type=linux
15271 need_lib_prefix=no
15272 need_version=no
15273 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15274 soname_spec='${libname}${release}${shared_ext}$major'
15275 shlibpath_var=LD_LIBRARY_PATH
15276 shlibpath_overrides_runpath=yes
15277 hardcode_into_libs=yes
15278 # ldd complains unless libraries are executable
15279 postinstall_cmds='chmod +x $lib'
15282 sunos4*)
15283 version_type=sunos
15284 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15285 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15286 shlibpath_var=LD_LIBRARY_PATH
15287 shlibpath_overrides_runpath=yes
15288 if test "$with_gnu_ld" = yes; then
15289 need_lib_prefix=no
15291 need_version=yes
15294 sysv4 | sysv4.3*)
15295 version_type=linux
15296 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15297 soname_spec='${libname}${release}${shared_ext}$major'
15298 shlibpath_var=LD_LIBRARY_PATH
15299 case $host_vendor in
15300 sni)
15301 shlibpath_overrides_runpath=no
15302 need_lib_prefix=no
15303 runpath_var=LD_RUN_PATH
15305 siemens)
15306 need_lib_prefix=no
15308 motorola)
15309 need_lib_prefix=no
15310 need_version=no
15311 shlibpath_overrides_runpath=no
15312 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
15314 esac
15317 sysv4*MP*)
15318 if test -d /usr/nec ;then
15319 version_type=linux
15320 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15321 soname_spec='$libname${shared_ext}.$major'
15322 shlibpath_var=LD_LIBRARY_PATH
15326 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
15327 version_type=freebsd-elf
15328 need_lib_prefix=no
15329 need_version=no
15330 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15331 soname_spec='${libname}${release}${shared_ext}$major'
15332 shlibpath_var=LD_LIBRARY_PATH
15333 shlibpath_overrides_runpath=yes
15334 hardcode_into_libs=yes
15335 if test "$with_gnu_ld" = yes; then
15336 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15337 else
15338 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
15339 case $host_os in
15340 sco3.2v5*)
15341 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
15343 esac
15345 sys_lib_dlsearch_path_spec='/usr/lib'
15348 tpf*)
15349 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
15350 version_type=linux
15351 need_lib_prefix=no
15352 need_version=no
15353 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15354 shlibpath_var=LD_LIBRARY_PATH
15355 shlibpath_overrides_runpath=no
15356 hardcode_into_libs=yes
15359 uts4*)
15360 version_type=linux
15361 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15362 soname_spec='${libname}${release}${shared_ext}$major'
15363 shlibpath_var=LD_LIBRARY_PATH
15367 dynamic_linker=no
15369 esac
15370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15371 $as_echo "$dynamic_linker" >&6; }
15372 test "$dynamic_linker" = no && can_build_shared=no
15374 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
15375 if test "$GCC" = yes; then
15376 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15379 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15380 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
15382 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15383 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
15423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15424 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15425 hardcode_action_CXX=
15426 if test -n "$hardcode_libdir_flag_spec_CXX" ||
15427 test -n "$runpath_var_CXX" ||
15428 test "X$hardcode_automatic_CXX" = "Xyes" ; then
15430 # We can hardcode non-existent directories.
15431 if test "$hardcode_direct_CXX" != no &&
15432 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15433 # have to relink, otherwise we might link with an installed library
15434 # when we should be linking with a yet-to-be-installed one
15435 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
15436 test "$hardcode_minus_L_CXX" != no; then
15437 # Linking always hardcodes the temporary library directory.
15438 hardcode_action_CXX=relink
15439 else
15440 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15441 hardcode_action_CXX=immediate
15443 else
15444 # We cannot hardcode anything, or else we can only hardcode existing
15445 # directories.
15446 hardcode_action_CXX=unsupported
15448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
15449 $as_echo "$hardcode_action_CXX" >&6; }
15451 if test "$hardcode_action_CXX" = relink ||
15452 test "$inherit_rpath_CXX" = yes; then
15453 # Fast installation is not supported
15454 enable_fast_install=no
15455 elif test "$shlibpath_overrides_runpath" = yes ||
15456 test "$enable_shared" = no; then
15457 # Fast installation is not necessary
15458 enable_fast_install=needless
15467 fi # test -n "$compiler"
15469 CC=$lt_save_CC
15470 LDCXX=$LD
15471 LD=$lt_save_LD
15472 GCC=$lt_save_GCC
15473 with_gnu_ld=$lt_save_with_gnu_ld
15474 lt_cv_path_LDCXX=$lt_cv_path_LD
15475 lt_cv_path_LD=$lt_save_path_LD
15476 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
15477 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
15478 fi # test "$_lt_caught_CXX_error" != yes
15480 ac_ext=c
15481 ac_cpp='$CPP $CPPFLAGS'
15482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15498 ac_config_commands="$ac_config_commands libtool"
15503 # Only expand once:
15509 case $host in
15510 *-cygwin* | *-mingw*)
15511 # 'host' will be top-level target in the case of a target lib,
15512 # we must compare to with_cross_host to decide if this is a native
15513 # or cross-compiler and select where to install dlls appropriately.
15514 if test -n "$with_cross_host" &&
15515 test x"$with_cross_host" != x"no"; then
15516 lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
15517 else
15518 lt_host_flags='-no-undefined -bindir "$(bindir)"';
15522 lt_host_flags=
15524 esac
15531 if test "$enable_vtable_verify" = yes; then
15532 predep_objects_CXX="${predep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_start.o"
15533 postdep_objects_CXX="${postdep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_end.o"
15537 # libtool variables for C++ shared and position-independent compiles.
15539 # Use glibcxx_lt_pic_flag to designate the automake variable
15540 # used to encapsulate the default libtool approach to creating objects
15541 # with position-independent code. Default: -prefer-pic.
15543 # Use glibcxx_compiler_shared_flag to designate a compile-time flags for
15544 # creating shared objects. Default: -D_GLIBCXX_SHARED.
15546 # Use glibcxx_compiler_pic_flag to designate a compile-time flags for
15547 # creating position-independent objects. This varies with the target
15548 # hardware and operating system, but is often: -DPIC -fPIC.
15549 if test "$enable_shared" = yes; then
15550 glibcxx_lt_pic_flag="-prefer-pic"
15551 glibcxx_compiler_pic_flag="$lt_prog_compiler_pic_CXX"
15552 glibcxx_compiler_shared_flag="-D_GLIBCXX_SHARED"
15554 else
15555 glibcxx_lt_pic_flag=
15556 glibcxx_compiler_pic_flag=
15557 glibcxx_compiler_shared_flag=
15563 # Override the libtool's pic_flag and pic_mode.
15564 # Do this step after AM_PROG_LIBTOOL, but before AC_OUTPUT.
15565 # NB: this impacts --with-pic and --without-pic.
15566 lt_prog_compiler_pic_CXX="$glibcxx_compiler_pic_flag $glibcxx_compiler_shared_flag"
15567 pic_mode='default'
15569 # Eliminate -lstdc++ addition to postdeps for cross compiles.
15570 postdeps_CXX=`echo " $postdeps_CXX " | sed 's, -lstdc++ ,,g'`
15572 # Possibly disable most of the library.
15573 ## TODO: Consider skipping unncessary tests altogether in this case, rather
15574 ## than just ignoring the results. Faster /and/ more correct, win win.
15576 # Check whether --enable-hosted-libstdcxx was given.
15577 if test "${enable_hosted_libstdcxx+set}" = set; then :
15578 enableval=$enable_hosted_libstdcxx;
15579 else
15580 case "$host" in
15581 arm*-*-symbianelf*)
15582 enable_hosted_libstdcxx=no
15585 enable_hosted_libstdcxx=yes
15587 esac
15590 if test "$enable_hosted_libstdcxx" = no; then
15591 { $as_echo "$as_me:${as_lineno-$LINENO}: Only freestanding libraries will be built" >&5
15592 $as_echo "$as_me: Only freestanding libraries will be built" >&6;}
15593 is_hosted=no
15594 hosted_define=0
15595 enable_abi_check=no
15596 enable_libstdcxx_pch=no
15597 else
15598 is_hosted=yes
15599 hosted_define=1
15603 cat >>confdefs.h <<_ACEOF
15604 #define _GLIBCXX_HOSTED $hosted_define
15605 _ACEOF
15609 # Enable descriptive messages to standard output on termination.
15611 # Check whether --enable-libstdcxx-verbose was given.
15612 if test "${enable_libstdcxx_verbose+set}" = set; then :
15613 enableval=$enable_libstdcxx_verbose;
15614 else
15615 enable_libstdcxx_verbose=yes
15618 if test x"$enable_libstdcxx_verbose" = xyes; then
15619 verbose_define=1
15620 else
15621 { $as_echo "$as_me:${as_lineno-$LINENO}: verbose termination messages are disabled" >&5
15622 $as_echo "$as_me: verbose termination messages are disabled" >&6;}
15623 verbose_define=0
15626 cat >>confdefs.h <<_ACEOF
15627 #define _GLIBCXX_VERBOSE $verbose_define
15628 _ACEOF
15632 # Enable compiler support that doesn't require linking.
15634 # Check whether --enable-libstdcxx-pch was given.
15635 if test "${enable_libstdcxx_pch+set}" = set; then :
15636 enableval=$enable_libstdcxx_pch;
15637 case "$enableval" in
15638 yes|no) ;;
15639 *) as_fn_error $? "Argument to enable/disable libstdcxx-pch must be yes or no" "$LINENO" 5 ;;
15640 esac
15642 else
15643 enable_libstdcxx_pch=$is_hosted
15647 if test $enable_libstdcxx_pch = yes; then
15648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler with PCH support" >&5
15649 $as_echo_n "checking for compiler with PCH support... " >&6; }
15650 if ${glibcxx_cv_prog_CXX_pch+:} false; then :
15651 $as_echo_n "(cached) " >&6
15652 else
15653 ac_save_CXXFLAGS="$CXXFLAGS"
15654 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
15656 ac_ext=cpp
15657 ac_cpp='$CXXCPP $CPPFLAGS'
15658 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15659 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15660 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15662 echo '#include <math.h>' > conftest.h
15663 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
15664 -o conftest.h.gch 1>&5 2>&1 &&
15665 echo '#error "pch failed"' > conftest.h &&
15666 echo '#include "conftest.h"' > conftest.cc &&
15667 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
15668 then
15669 glibcxx_cv_prog_CXX_pch=yes
15670 else
15671 glibcxx_cv_prog_CXX_pch=no
15673 rm -f conftest*
15674 CXXFLAGS=$ac_save_CXXFLAGS
15675 ac_ext=c
15676 ac_cpp='$CPP $CPPFLAGS'
15677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_prog_CXX_pch" >&5
15684 $as_echo "$glibcxx_cv_prog_CXX_pch" >&6; }
15685 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
15688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled PCH" >&5
15689 $as_echo_n "checking for enabled PCH... " >&6; }
15690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_pch" >&5
15691 $as_echo "$enable_libstdcxx_pch" >&6; }
15694 if test $enable_libstdcxx_pch = yes; then
15695 glibcxx_PCHFLAGS="-include bits/stdc++.h"
15696 else
15697 glibcxx_PCHFLAGS=""
15702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
15703 $as_echo_n "checking for thread model used by GCC... " >&6; }
15704 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
15705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5
15706 $as_echo "$target_thread_file" >&6; }
15708 case $target_thread_file in
15709 aix) thread_header=config/rs6000/gthr-aix.h ;;
15710 dce) thread_header=config/pa/gthr-dce.h ;;
15711 gcn) thread_header=config/gcn/gthr-gcn.h ;;
15712 lynx) thread_header=config/gthr-lynx.h ;;
15713 mipssde) thread_header=config/mips/gthr-mipssde.h ;;
15714 posix) thread_header=gthr-posix.h ;;
15715 rtems) thread_header=config/gthr-rtems.h ;;
15716 single) thread_header=gthr-single.h ;;
15717 tpf) thread_header=config/s390/gthr-tpf.h ;;
15718 vxworks) thread_header=config/gthr-vxworks.h ;;
15719 win32) thread_header=config/i386/gthr-win32.h ;;
15720 esac
15726 ac_ext=cpp
15727 ac_cpp='$CXXCPP $CPPFLAGS'
15728 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15729 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15730 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15732 old_CXXFLAGS="$CXXFLAGS"
15734 # Do link tests if possible, instead asm tests, limited to some platforms
15735 # see discussion in PR target/40134, PR libstdc++/40133 and the thread
15736 # starting at http://gcc.gnu.org/ml/gcc-patches/2009-07/msg00322.html
15737 atomic_builtins_link_tests=no
15738 if test x$gcc_no_link != xyes; then
15739 # Can do link tests. Limit to some tested platforms
15740 case "$host" in
15741 *-*-linux* | *-*-uclinux* | *-*-kfreebsd*-gnu | *-*-gnu*)
15742 atomic_builtins_link_tests=yes
15744 esac
15747 if test x$atomic_builtins_link_tests = xyes; then
15749 # Do link tests.
15751 CXXFLAGS="$CXXFLAGS -fno-exceptions"
15753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15754 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15755 if ${glibcxx_cv_atomic_bool+:} false; then :
15756 $as_echo_n "(cached) " >&6
15757 else
15759 if test x$gcc_no_link = xyes; then
15760 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15763 /* end confdefs.h. */
15766 main ()
15768 typedef bool atomic_type;
15769 atomic_type c1;
15770 atomic_type c2;
15771 atomic_type c3(0);
15772 // N.B. __atomic_fetch_add is not supported for bool.
15773 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15774 __ATOMIC_RELAXED);
15775 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15776 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15779 return 0;
15781 _ACEOF
15782 if ac_fn_cxx_try_link "$LINENO"; then :
15783 glibcxx_cv_atomic_bool=yes
15784 else
15785 glibcxx_cv_atomic_bool=no
15787 rm -f core conftest.err conftest.$ac_objext \
15788 conftest$ac_exeext conftest.$ac_ext
15792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15793 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15796 $as_echo_n "checking for atomic builtins for short... " >&6; }
15797 if ${glibcxx_cv_atomic_short+:} false; then :
15798 $as_echo_n "(cached) " >&6
15799 else
15801 if test x$gcc_no_link = xyes; then
15802 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15805 /* end confdefs.h. */
15808 main ()
15810 typedef short atomic_type;
15811 atomic_type c1;
15812 atomic_type c2;
15813 atomic_type c3(0);
15814 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15815 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15816 __ATOMIC_RELAXED);
15817 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15818 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15821 return 0;
15823 _ACEOF
15824 if ac_fn_cxx_try_link "$LINENO"; then :
15825 glibcxx_cv_atomic_short=yes
15826 else
15827 glibcxx_cv_atomic_short=no
15829 rm -f core conftest.err conftest.$ac_objext \
15830 conftest$ac_exeext conftest.$ac_ext
15834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15835 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15838 $as_echo_n "checking for atomic builtins for int... " >&6; }
15839 if ${glibcxx_cv_atomic_int+:} false; then :
15840 $as_echo_n "(cached) " >&6
15841 else
15843 if test x$gcc_no_link = xyes; then
15844 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15847 /* end confdefs.h. */
15850 main ()
15852 typedef int atomic_type;
15853 atomic_type c1;
15854 atomic_type c2;
15855 atomic_type c3(0);
15856 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15857 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15858 __ATOMIC_RELAXED);
15859 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15860 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15863 return 0;
15865 _ACEOF
15866 if ac_fn_cxx_try_link "$LINENO"; then :
15867 glibcxx_cv_atomic_int=yes
15868 else
15869 glibcxx_cv_atomic_int=no
15871 rm -f core conftest.err conftest.$ac_objext \
15872 conftest$ac_exeext conftest.$ac_ext
15876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15877 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15880 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15881 if ${glibcxx_cv_atomic_long_long+:} false; then :
15882 $as_echo_n "(cached) " >&6
15883 else
15885 if test x$gcc_no_link = xyes; then
15886 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15889 /* end confdefs.h. */
15892 main ()
15894 typedef long long atomic_type;
15895 atomic_type c1;
15896 atomic_type c2;
15897 atomic_type c3(0);
15898 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15899 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15900 __ATOMIC_RELAXED);
15901 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15902 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15905 return 0;
15907 _ACEOF
15908 if ac_fn_cxx_try_link "$LINENO"; then :
15909 glibcxx_cv_atomic_long_long=yes
15910 else
15911 glibcxx_cv_atomic_long_long=no
15913 rm -f core conftest.err conftest.$ac_objext \
15914 conftest$ac_exeext conftest.$ac_ext
15918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15919 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15921 else
15923 # Do asm tests.
15925 # Compile unoptimized.
15926 CXXFLAGS='-O0 -S'
15928 # Fake what AC_TRY_COMPILE does.
15930 cat > conftest.$ac_ext << EOF
15931 #line 15941 "configure"
15932 int main()
15934 typedef bool atomic_type;
15935 atomic_type c1;
15936 atomic_type c2;
15937 atomic_type c3(0);
15938 // N.B. __atomic_fetch_add is not supported for bool.
15939 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15940 __ATOMIC_RELAXED);
15941 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15942 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15944 return 0;
15948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15949 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15950 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15951 (eval $ac_compile) 2>&5
15952 ac_status=$?
15953 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15954 test $ac_status = 0; }; then
15955 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15956 glibcxx_cv_atomic_bool=no
15957 else
15958 glibcxx_cv_atomic_bool=yes
15961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15962 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15963 rm -f conftest*
15965 cat > conftest.$ac_ext << EOF
15966 #line 15976 "configure"
15967 int main()
15969 typedef short atomic_type;
15970 atomic_type c1;
15971 atomic_type c2;
15972 atomic_type c3(0);
15973 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15974 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15975 __ATOMIC_RELAXED);
15976 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15977 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15979 return 0;
15983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15984 $as_echo_n "checking for atomic builtins for short... " >&6; }
15985 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15986 (eval $ac_compile) 2>&5
15987 ac_status=$?
15988 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15989 test $ac_status = 0; }; then
15990 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15991 glibcxx_cv_atomic_short=no
15992 else
15993 glibcxx_cv_atomic_short=yes
15996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15997 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15998 rm -f conftest*
16000 cat > conftest.$ac_ext << EOF
16001 #line 16011 "configure"
16002 int main()
16004 // NB: _Atomic_word not necessarily int.
16005 typedef int atomic_type;
16006 atomic_type c1;
16007 atomic_type c2;
16008 atomic_type c3(0);
16009 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
16010 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
16011 __ATOMIC_RELAXED);
16012 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
16013 __atomic_load_n(&c1, __ATOMIC_RELAXED);
16015 return 0;
16019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
16020 $as_echo_n "checking for atomic builtins for int... " >&6; }
16021 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16022 (eval $ac_compile) 2>&5
16023 ac_status=$?
16024 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16025 test $ac_status = 0; }; then
16026 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
16027 glibcxx_cv_atomic_int=no
16028 else
16029 glibcxx_cv_atomic_int=yes
16032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
16033 $as_echo "$glibcxx_cv_atomic_int" >&6; }
16034 rm -f conftest*
16036 cat > conftest.$ac_ext << EOF
16037 #line 16047 "configure"
16038 int main()
16040 typedef long long atomic_type;
16041 atomic_type c1;
16042 atomic_type c2;
16043 atomic_type c3(0);
16044 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
16045 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
16046 __ATOMIC_RELAXED);
16047 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
16048 __atomic_load_n(&c1, __ATOMIC_RELAXED);
16050 return 0;
16054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
16055 $as_echo_n "checking for atomic builtins for long long... " >&6; }
16056 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16057 (eval $ac_compile) 2>&5
16058 ac_status=$?
16059 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16060 test $ac_status = 0; }; then
16061 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
16062 glibcxx_cv_atomic_long_long=no
16063 else
16064 glibcxx_cv_atomic_long_long=yes
16067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
16068 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
16069 rm -f conftest*
16073 CXXFLAGS="$old_CXXFLAGS"
16074 ac_ext=c
16075 ac_cpp='$CPP $CPPFLAGS'
16076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16081 # Set atomicity_dir to builtins if all but the long long test above passes,
16082 # or if the builtins were already chosen (e.g. by configure.host).
16083 if { test "$glibcxx_cv_atomic_bool" = yes \
16084 && test "$glibcxx_cv_atomic_short" = yes \
16085 && test "$glibcxx_cv_atomic_int" = yes; } \
16086 || test "$atomicity_dir" = "cpu/generic/atomicity_builtins"; then
16088 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS 1" >>confdefs.h
16090 atomicity_dir=cpu/generic/atomicity_builtins
16093 # If still generic, set to mutex.
16094 if test $atomicity_dir = "cpu/generic" ; then
16095 atomicity_dir=cpu/generic/atomicity_mutex
16096 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No native atomic operations are provided for this platform." >&5
16097 $as_echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
16098 if test "x$target_thread_file" = xsingle; then
16099 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They cannot be faked when thread support is disabled." >&5
16100 $as_echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
16101 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Thread-safety of certain classes is not guaranteed." >&5
16102 $as_echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
16103 else
16104 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They will be faked using a mutex." >&5
16105 $as_echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
16106 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Performance of certain classes will degrade as a result." >&5
16107 $as_echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
16115 # Check whether --with-libstdcxx-lock-policy was given.
16116 if test "${with_libstdcxx_lock_policy+set}" = set; then :
16117 withval=$with_libstdcxx_lock_policy; libstdcxx_atomic_lock_policy=$withval
16118 else
16119 libstdcxx_atomic_lock_policy=auto
16123 case "$libstdcxx_atomic_lock_policy" in
16124 atomic|mutex|auto) ;;
16125 *) as_fn_error $? "Invalid argument for --with-libstdcxx-lock-policy" "$LINENO" 5 ;;
16126 esac
16127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lock policy for shared_ptr reference counts" >&5
16128 $as_echo_n "checking for lock policy for shared_ptr reference counts... " >&6; }
16130 if test x"$libstdcxx_atomic_lock_policy" = x"auto"; then
16132 ac_ext=cpp
16133 ac_cpp='$CXXCPP $CPPFLAGS'
16134 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16135 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16136 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16138 ac_save_CXXFLAGS="$CXXFLAGS"
16140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16141 /* end confdefs.h. */
16143 #if ! defined __GCC_HAVE_SYNC_COMPARE_AND_SWAP_2
16144 # error "No 2-byte compare-and-swap"
16145 #elif ! defined __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4
16146 # error "No 4-byte compare-and-swap"
16147 #endif
16150 main ()
16154 return 0;
16156 _ACEOF
16157 if ac_fn_cxx_try_compile "$LINENO"; then :
16158 libstdcxx_atomic_lock_policy=atomic
16159 else
16160 libstdcxx_atomic_lock_policy=mutex
16162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16163 ac_ext=c
16164 ac_cpp='$CPP $CPPFLAGS'
16165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16169 CXXFLAGS="$ac_save_CXXFLAGS"
16172 if test x"$libstdcxx_atomic_lock_policy" = x"atomic"; then
16173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: atomic" >&5
16174 $as_echo "atomic" >&6; }
16176 $as_echo "#define HAVE_ATOMIC_LOCK_POLICY 1" >>confdefs.h
16178 else
16179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: mutex" >&5
16180 $as_echo "mutex" >&6; }
16186 # Fake what AC_TRY_COMPILE does, without linking as this is
16187 # unnecessary for this test.
16189 cat > conftest.$ac_ext << EOF
16190 #line 16200 "configure"
16191 int main()
16193 _Decimal32 d1;
16194 _Decimal64 d2;
16195 _Decimal128 d3;
16196 return 0;
16200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO/IEC TR 24733 " >&5
16201 $as_echo_n "checking for ISO/IEC TR 24733 ... " >&6; }
16202 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16203 (eval $ac_compile) 2>&5
16204 ac_status=$?
16205 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16206 test $ac_status = 0; }; then
16208 $as_echo "#define _GLIBCXX_USE_DECIMAL_FLOAT 1" >>confdefs.h
16210 enable_dfp=yes
16211 else
16212 enable_dfp=no
16214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dfp" >&5
16215 $as_echo "$enable_dfp" >&6; }
16216 rm -f conftest*
16221 ac_ext=cpp
16222 ac_cpp='$CXXCPP $CPPFLAGS'
16223 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16224 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16225 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16228 # Fake what AC_TRY_COMPILE does, without linking as this is
16229 # unnecessary for this test.
16231 cat > conftest.$ac_ext << EOF
16232 #line 16242 "configure"
16233 template<typename T1, typename T2>
16234 struct same
16235 { typedef T2 type; };
16237 template<typename T>
16238 struct same<T, T>;
16240 int main()
16242 typename same<long, __int128>::type i1;
16243 typename same<long long, __int128>::type i2;
16247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __int128" >&5
16248 $as_echo_n "checking for __int128... " >&6; }
16249 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16250 (eval $ac_compile) 2>&5
16251 ac_status=$?
16252 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16253 test $ac_status = 0; }; then
16255 $as_echo "#define _GLIBCXX_USE_INT128 1" >>confdefs.h
16257 enable_int128=yes
16258 else
16259 enable_int128=no
16261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_int128" >&5
16262 $as_echo "$enable_int128" >&6; }
16263 rm -f conftest*
16265 cat > conftest.$ac_ext << EOF
16266 #line 16276 "configure"
16267 template<typename T1, typename T2>
16268 struct same
16269 { typedef T2 type; };
16271 template<typename T>
16272 struct same<T, T>;
16274 int main()
16276 typename same<double, __float128>::type f1;
16277 typename same<long double, __float128>::type f2;
16281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __float128" >&5
16282 $as_echo_n "checking for __float128... " >&6; }
16283 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16284 (eval $ac_compile) 2>&5
16285 ac_status=$?
16286 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16287 test $ac_status = 0; }; then
16288 enable_float128=yes
16289 else
16290 enable_float128=no
16292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_float128" >&5
16293 $as_echo "$enable_float128" >&6; }
16295 rm -f conftest*
16297 ac_ext=c
16298 ac_cpp='$CPP $CPPFLAGS'
16299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16304 if test "$enable_float128" = yes; then
16305 port_specific_symbol_files="$port_specific_symbol_files \$(top_srcdir)/config/abi/pre/float128.ver"
16308 # Checks for compiler support that doesn't require linking.
16310 # All these tests are for C++; save the language and the compiler flags.
16311 # The CXXFLAGS thing is suspicious, but based on similar bits previously
16312 # found in GLIBCXX_CONFIGURE.
16314 ac_ext=cpp
16315 ac_cpp='$CXXCPP $CPPFLAGS'
16316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16320 ac_test_CXXFLAGS="${CXXFLAGS+set}"
16321 ac_save_CXXFLAGS="$CXXFLAGS"
16323 # Check for -ffunction-sections -fdata-sections
16324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
16325 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
16326 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
16327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16328 /* end confdefs.h. */
16329 int foo; void bar() { };
16331 main ()
16335 return 0;
16337 _ACEOF
16338 if ac_fn_cxx_try_compile "$LINENO"; then :
16339 ac_fdsections=yes
16340 else
16341 ac_fdsections=no
16343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16344 if test "$ac_test_CXXFLAGS" = set; then
16345 CXXFLAGS="$ac_save_CXXFLAGS"
16346 else
16347 # this is the suspicious part
16348 CXXFLAGS=''
16350 if test x"$ac_fdsections" = x"yes"; then
16351 SECTION_FLAGS='-ffunction-sections -fdata-sections'
16353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
16354 $as_echo "$ac_fdsections" >&6; }
16356 ac_ext=c
16357 ac_cpp='$CPP $CPPFLAGS'
16358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16365 # Enable all the variable C++ runtime options that don't require linking.
16367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for underlying I/O to use" >&5
16368 $as_echo_n "checking for underlying I/O to use... " >&6; }
16369 # Check whether --enable-cstdio was given.
16370 if test "${enable_cstdio+set}" = set; then :
16371 enableval=$enable_cstdio;
16372 case "$enableval" in
16373 stdio|stdio_posix|stdio_pure) ;;
16374 *) as_fn_error $? "Unknown argument to enable/disable cstdio" "$LINENO" 5 ;;
16375 esac
16377 else
16378 enable_cstdio=stdio
16383 # The only available I/O model is based on stdio, via basic_file_stdio.
16384 # The default "stdio" is actually "stdio + POSIX" because it uses fdopen(3)
16385 # to get a file descriptor and then uses read(3) and write(3) with it.
16386 # The "stdio_pure" model doesn't use fdopen and only uses FILE* for I/O.
16387 case ${enable_cstdio} in
16388 stdio*)
16389 CSTDIO_H=config/io/c_io_stdio.h
16390 BASIC_FILE_H=config/io/basic_file_stdio.h
16391 BASIC_FILE_CC=config/io/basic_file_stdio.cc
16392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: stdio" >&5
16393 $as_echo "stdio" >&6; }
16395 if test "x$enable_cstdio" = "xstdio_pure" ; then
16397 $as_echo "#define _GLIBCXX_USE_STDIO_PURE 1" >>confdefs.h
16401 esac
16408 # Check whether --enable-clocale was given.
16409 if test "${enable_clocale+set}" = set; then :
16410 enableval=$enable_clocale;
16411 case "$enableval" in
16412 generic|gnu|ieee_1003.1-2001|newlib|yes|no|auto) ;;
16413 *) as_fn_error $? "Unknown argument to enable/disable clocale" "$LINENO" 5 ;;
16414 esac
16416 else
16417 enable_clocale=auto
16422 # Deal with gettext issues. Default to not using it (=no) until we detect
16423 # support for it later. Let the user turn it off via --e/d, but let that
16424 # default to on for easier handling.
16425 USE_NLS=no
16426 # Check whether --enable-nls was given.
16427 if test "${enable_nls+set}" = set; then :
16428 enableval=$enable_nls;
16429 else
16430 enable_nls=yes
16434 # Either a known package, or "auto"
16435 if test $enable_clocale = no || test $enable_clocale = yes; then
16436 enable_clocale=auto
16438 enable_clocale_flag=$enable_clocale
16440 # Probe for locale model to use if none specified.
16441 # Default to "generic".
16442 if test $enable_clocale_flag = auto; then
16443 case ${target_os} in
16444 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16445 enable_clocale_flag=gnu
16447 darwin*)
16448 enable_clocale_flag=darwin
16450 dragonfly* | freebsd*)
16451 enable_clocale_flag=dragonfly
16453 openbsd*)
16454 enable_clocale_flag=newlib
16457 if test x"$with_newlib" = x"yes"; then
16458 enable_clocale_flag=newlib
16459 else
16460 enable_clocale_flag=generic
16463 esac
16466 # Sanity check model, and test for special functionality.
16467 if test $enable_clocale_flag = gnu; then
16468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16469 /* end confdefs.h. */
16471 #include <features.h>
16472 #if (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) && !defined(__UCLIBC__)
16473 _GLIBCXX_ok
16474 #endif
16476 _ACEOF
16477 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16478 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then :
16479 enable_clocale_flag=gnu
16480 else
16481 enable_clocale_flag=generic
16483 rm -f conftest*
16486 # Set it to scream when it hurts.
16487 ac_save_CFLAGS="$CFLAGS"
16488 CFLAGS="-Wimplicit-function-declaration -Werror"
16490 # Use strxfrm_l if available.
16491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16492 /* end confdefs.h. */
16493 #define _GNU_SOURCE 1
16494 #include <string.h>
16495 #include <locale.h>
16497 main ()
16499 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
16501 return 0;
16503 _ACEOF
16504 if ac_fn_c_try_compile "$LINENO"; then :
16506 $as_echo "#define HAVE_STRXFRM_L 1" >>confdefs.h
16509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16511 # Use strerror_l if available.
16512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16513 /* end confdefs.h. */
16514 #define _GNU_SOURCE 1
16515 #include <string.h>
16516 #include <locale.h>
16518 main ()
16520 __locale_t loc; strerror_l(5, loc);
16522 return 0;
16524 _ACEOF
16525 if ac_fn_c_try_compile "$LINENO"; then :
16527 $as_echo "#define HAVE_STRERROR_L 1" >>confdefs.h
16530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16532 CFLAGS="$ac_save_CFLAGS"
16535 # Perhaps use strerror_r if available, and strerror_l isn't.
16536 ac_save_CFLAGS="$CFLAGS"
16537 CFLAGS="-Wimplicit-function-declaration -Werror"
16538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16539 /* end confdefs.h. */
16540 #define _GNU_SOURCE 1
16541 #include <string.h>
16542 #include <locale.h>
16544 main ()
16546 char s[128]; strerror_r(5, s, 128);
16548 return 0;
16550 _ACEOF
16551 if ac_fn_c_try_compile "$LINENO"; then :
16553 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
16556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16557 CFLAGS="$ac_save_CFLAGS"
16559 # Set configure bits for specified locale package
16560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C locale to use" >&5
16561 $as_echo_n "checking for C locale to use... " >&6; }
16562 case ${enable_clocale_flag} in
16563 generic)
16564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: generic" >&5
16565 $as_echo "generic" >&6; }
16567 CLOCALE_H=config/locale/generic/c_locale.h
16568 CLOCALE_CC=config/locale/generic/c_locale.cc
16569 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16570 CCOLLATE_CC=config/locale/generic/collate_members.cc
16571 CCTYPE_CC=config/locale/generic/ctype_members.cc
16572 CMESSAGES_H=config/locale/generic/messages_members.h
16573 CMESSAGES_CC=config/locale/generic/messages_members.cc
16574 CMONEY_CC=config/locale/generic/monetary_members.cc
16575 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16576 CTIME_H=config/locale/generic/time_members.h
16577 CTIME_CC=config/locale/generic/time_members.cc
16578 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16580 darwin)
16581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: darwin" >&5
16582 $as_echo "darwin" >&6; }
16584 CLOCALE_H=config/locale/generic/c_locale.h
16585 CLOCALE_CC=config/locale/generic/c_locale.cc
16586 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16587 CCOLLATE_CC=config/locale/generic/collate_members.cc
16588 CCTYPE_CC=config/locale/darwin/ctype_members.cc
16589 CMESSAGES_H=config/locale/generic/messages_members.h
16590 CMESSAGES_CC=config/locale/generic/messages_members.cc
16591 CMONEY_CC=config/locale/generic/monetary_members.cc
16592 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16593 CTIME_H=config/locale/generic/time_members.h
16594 CTIME_CC=config/locale/generic/time_members.cc
16595 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16598 dragonfly)
16599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: dragonfly or freebsd" >&5
16600 $as_echo "dragonfly or freebsd" >&6; }
16602 CLOCALE_H=config/locale/dragonfly/c_locale.h
16603 CLOCALE_CC=config/locale/dragonfly/c_locale.cc
16604 CCODECVT_CC=config/locale/dragonfly/codecvt_members.cc
16605 CCOLLATE_CC=config/locale/dragonfly/collate_members.cc
16606 CCTYPE_CC=config/locale/dragonfly/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/dragonfly/monetary_members.cc
16610 CNUMERIC_CC=config/locale/dragonfly/numeric_members.cc
16611 CTIME_H=config/locale/dragonfly/time_members.h
16612 CTIME_CC=config/locale/dragonfly/time_members.cc
16613 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16616 gnu)
16617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gnu" >&5
16618 $as_echo "gnu" >&6; }
16620 # Declare intention to use gettext, and add support for specific
16621 # languages.
16622 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
16623 ALL_LINGUAS="de fr"
16625 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
16626 # Extract the first word of "msgfmt", so it can be a program name with args.
16627 set dummy msgfmt; ac_word=$2
16628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16629 $as_echo_n "checking for $ac_word... " >&6; }
16630 if ${ac_cv_prog_check_msgfmt+:} false; then :
16631 $as_echo_n "(cached) " >&6
16632 else
16633 if test -n "$check_msgfmt"; then
16634 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
16635 else
16636 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16637 for as_dir in $PATH
16639 IFS=$as_save_IFS
16640 test -z "$as_dir" && as_dir=.
16641 for ac_exec_ext in '' $ac_executable_extensions; do
16642 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16643 ac_cv_prog_check_msgfmt="yes"
16644 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16645 break 2
16647 done
16648 done
16649 IFS=$as_save_IFS
16651 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
16654 check_msgfmt=$ac_cv_prog_check_msgfmt
16655 if test -n "$check_msgfmt"; then
16656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $check_msgfmt" >&5
16657 $as_echo "$check_msgfmt" >&6; }
16658 else
16659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16660 $as_echo "no" >&6; }
16664 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
16665 USE_NLS=yes
16667 # Export the build objects.
16668 for ling in $ALL_LINGUAS; do \
16669 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
16670 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
16671 done
16675 CLOCALE_H=config/locale/gnu/c_locale.h
16676 CLOCALE_CC=config/locale/gnu/c_locale.cc
16677 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
16678 CCOLLATE_CC=config/locale/gnu/collate_members.cc
16679 CCTYPE_CC=config/locale/gnu/ctype_members.cc
16680 CMESSAGES_H=config/locale/gnu/messages_members.h
16681 CMESSAGES_CC=config/locale/gnu/messages_members.cc
16682 CMONEY_CC=config/locale/gnu/monetary_members.cc
16683 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
16684 CTIME_H=config/locale/gnu/time_members.h
16685 CTIME_CC=config/locale/gnu/time_members.cc
16686 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
16688 ieee_1003.1-2001)
16689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: IEEE 1003.1" >&5
16690 $as_echo "IEEE 1003.1" >&6; }
16692 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
16693 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
16694 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16695 CCOLLATE_CC=config/locale/generic/collate_members.cc
16696 CCTYPE_CC=config/locale/generic/ctype_members.cc
16697 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
16698 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
16699 CMONEY_CC=config/locale/generic/monetary_members.cc
16700 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16701 CTIME_H=config/locale/generic/time_members.h
16702 CTIME_CC=config/locale/generic/time_members.cc
16703 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16705 newlib)
16706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: newlib" >&5
16707 $as_echo "newlib" >&6; }
16709 CLOCALE_H=config/locale/generic/c_locale.h
16710 CLOCALE_CC=config/locale/generic/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/newlib/ctype_members.cc
16714 CMESSAGES_H=config/locale/generic/messages_members.h
16715 CMESSAGES_CC=config/locale/generic/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 esac
16724 # This is where the testsuite looks for locale catalogs, using the
16725 # -DLOCALEDIR define during testsuite compilation.
16726 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
16729 # A standalone libintl (e.g., GNU libintl) may be in use.
16730 if test $USE_NLS = yes; then
16731 for ac_header in libintl.h
16732 do :
16733 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
16734 if test "x$ac_cv_header_libintl_h" = xyes; then :
16735 cat >>confdefs.h <<_ACEOF
16736 #define HAVE_LIBINTL_H 1
16737 _ACEOF
16739 else
16740 USE_NLS=no
16743 done
16745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5
16746 $as_echo_n "checking for library containing gettext... " >&6; }
16747 if ${ac_cv_search_gettext+:} false; then :
16748 $as_echo_n "(cached) " >&6
16749 else
16750 ac_func_search_save_LIBS=$LIBS
16751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16752 /* end confdefs.h. */
16754 /* Override any GCC internal prototype to avoid an error.
16755 Use char because int might match the return type of a GCC
16756 builtin and then its argument prototype would still apply. */
16757 #ifdef __cplusplus
16758 extern "C"
16759 #endif
16760 char gettext ();
16762 main ()
16764 return gettext ();
16766 return 0;
16768 _ACEOF
16769 for ac_lib in '' intl; do
16770 if test -z "$ac_lib"; then
16771 ac_res="none required"
16772 else
16773 ac_res=-l$ac_lib
16774 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16776 if test x$gcc_no_link = xyes; then
16777 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16779 if ac_fn_c_try_link "$LINENO"; then :
16780 ac_cv_search_gettext=$ac_res
16782 rm -f core conftest.err conftest.$ac_objext \
16783 conftest$ac_exeext
16784 if ${ac_cv_search_gettext+:} false; then :
16785 break
16787 done
16788 if ${ac_cv_search_gettext+:} false; then :
16790 else
16791 ac_cv_search_gettext=no
16793 rm conftest.$ac_ext
16794 LIBS=$ac_func_search_save_LIBS
16796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5
16797 $as_echo "$ac_cv_search_gettext" >&6; }
16798 ac_res=$ac_cv_search_gettext
16799 if test "$ac_res" != no; then :
16800 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16802 else
16803 USE_NLS=no
16807 if test $USE_NLS = yes; then
16809 $as_echo "#define _GLIBCXX_USE_NLS 1" >>confdefs.h
16828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::allocator base class" >&5
16829 $as_echo_n "checking for std::allocator base class... " >&6; }
16830 # Check whether --enable-libstdcxx-allocator was given.
16831 if test "${enable_libstdcxx_allocator+set}" = set; then :
16832 enableval=$enable_libstdcxx_allocator;
16833 case "$enableval" in
16834 new|malloc|mt|bitmap|pool|yes|no|auto) ;;
16835 *) as_fn_error $? "Unknown argument to enable/disable libstdcxx-allocator" "$LINENO" 5 ;;
16836 esac
16838 else
16839 enable_libstdcxx_allocator=auto
16844 # If they didn't use this option switch, or if they specified --enable
16845 # with no specific model, we'll have to look for one. If they
16846 # specified --disable (???), do likewise.
16847 if test $enable_libstdcxx_allocator = no ||
16848 test $enable_libstdcxx_allocator = yes;
16849 then
16850 enable_libstdcxx_allocator=auto
16853 # Either a known package, or "auto". Auto implies the default choice
16854 # for a particular platform.
16855 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
16857 # Probe for host-specific support if no specific model is specified.
16858 # Default to "new".
16859 if test $enable_libstdcxx_allocator_flag = auto; then
16860 case ${target_os} in
16861 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16862 enable_libstdcxx_allocator_flag=new
16865 enable_libstdcxx_allocator_flag=new
16867 esac
16869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_allocator_flag" >&5
16870 $as_echo "$enable_libstdcxx_allocator_flag" >&6; }
16873 # Set configure bits for specified locale package
16874 case ${enable_libstdcxx_allocator_flag} in
16875 bitmap)
16876 ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
16877 ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
16879 malloc)
16880 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
16881 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
16884 ALLOCATOR_H=config/allocator/mt_allocator_base.h
16885 ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
16887 new)
16888 ALLOCATOR_H=config/allocator/new_allocator_base.h
16889 ALLOCATOR_NAME=__gnu_cxx::new_allocator
16891 pool)
16892 ALLOCATOR_H=config/allocator/pool_allocator_base.h
16893 ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
16895 esac
16902 # Check whether --enable-cheaders-obsolete was given.
16903 if test "${enable_cheaders_obsolete+set}" = set; then :
16904 enableval=$enable_cheaders_obsolete;
16905 case "$enableval" in
16906 yes|no) ;;
16907 *) as_fn_error $? "Argument to enable/disable cheaders-obsolete must be yes or no" "$LINENO" 5 ;;
16908 esac
16910 else
16911 enable_cheaders_obsolete=no
16915 # Check whether --enable-cheaders was given.
16916 if test "${enable_cheaders+set}" = set; then :
16917 enableval=$enable_cheaders;
16918 case "$enableval" in
16919 c|c_global|c_std) ;;
16920 *) as_fn_error $? "Unknown argument to enable/disable cheaders" "$LINENO" 5 ;;
16921 esac
16923 else
16924 enable_cheaders=$c_model
16928 { $as_echo "$as_me:${as_lineno-$LINENO}: \"C\" header strategy set to $enable_cheaders" >&5
16929 $as_echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
16930 if test $enable_cheaders = c_std ; then
16931 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: the --enable-cheaders=c_std configuration is obsolete, c_global should be used instead" >&5
16932 $as_echo "$as_me: WARNING: the --enable-cheaders=c_std configuration is obsolete, c_global should be used instead" >&2;}
16933 { $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
16934 $as_echo "$as_me: WARNING: if you are unable to use c_global please report a bug or inform libstdc++@gcc.gnu.org" >&2;}
16935 if test $enable_cheaders_obsolete != yes ; then
16936 as_fn_error $? "use --enable-cheaders-obsolete to use c_std \"C\" headers" "$LINENO" 5
16940 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
16942 # Allow overrides to configure.host here.
16943 if test $enable_cheaders = c_global; then
16944 c_compatibility=yes
16953 # Check whether --enable-long-long was given.
16954 if test "${enable_long_long+set}" = set; then :
16955 enableval=$enable_long_long;
16956 case "$enableval" in
16957 yes|no) ;;
16958 *) as_fn_error $? "Argument to enable/disable long-long must be yes or no" "$LINENO" 5 ;;
16959 esac
16961 else
16962 enable_long_long=yes
16966 if test $enable_long_long = yes; then
16968 $as_echo "#define _GLIBCXX_USE_LONG_LONG 1" >>confdefs.h
16971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled long long specializations" >&5
16972 $as_echo_n "checking for enabled long long specializations... " >&6; }
16973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_long_long" >&5
16974 $as_echo "$enable_long_long" >&6; }
16977 # Check whether --enable-wchar_t was given.
16978 if test "${enable_wchar_t+set}" = set; then :
16979 enableval=$enable_wchar_t;
16980 case "$enableval" in
16981 yes|no) ;;
16982 *) as_fn_error $? "Argument to enable/disable wchar_t must be yes or no" "$LINENO" 5 ;;
16983 esac
16985 else
16986 enable_wchar_t=yes
16991 # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
16992 for ac_header in wchar.h
16993 do :
16994 ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
16995 if test "x$ac_cv_header_wchar_h" = xyes; then :
16996 cat >>confdefs.h <<_ACEOF
16997 #define HAVE_WCHAR_H 1
16998 _ACEOF
16999 ac_has_wchar_h=yes
17000 else
17001 ac_has_wchar_h=no
17004 done
17006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
17007 $as_echo_n "checking for mbstate_t... " >&6; }
17008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17009 /* end confdefs.h. */
17010 #include <wchar.h>
17012 main ()
17014 mbstate_t teststate;
17016 return 0;
17018 _ACEOF
17019 if ac_fn_c_try_compile "$LINENO"; then :
17020 have_mbstate_t=yes
17021 else
17022 have_mbstate_t=no
17024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_mbstate_t" >&5
17026 $as_echo "$have_mbstate_t" >&6; }
17027 if test x"$have_mbstate_t" = xyes; then
17029 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
17033 # Test it always, for use in GLIBCXX_ENABLE_C99, together with
17034 # ac_has_wchar_h.
17035 for ac_header in wctype.h
17036 do :
17037 ac_fn_c_check_header_mongrel "$LINENO" "wctype.h" "ac_cv_header_wctype_h" "$ac_includes_default"
17038 if test "x$ac_cv_header_wctype_h" = xyes; then :
17039 cat >>confdefs.h <<_ACEOF
17040 #define HAVE_WCTYPE_H 1
17041 _ACEOF
17042 ac_has_wctype_h=yes
17043 else
17044 ac_has_wctype_h=no
17047 done
17050 if test x"$enable_wchar_t" = x"yes"; then
17053 ac_ext=cpp
17054 ac_cpp='$CXXCPP $CPPFLAGS'
17055 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17056 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17057 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17060 if test x"$ac_has_wchar_h" = xyes &&
17061 test x"$ac_has_wctype_h" = xyes; then
17062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17063 /* end confdefs.h. */
17064 #include <wchar.h>
17065 #include <stddef.h>
17066 wint_t i;
17067 long l = WEOF;
17068 long j = WCHAR_MIN;
17069 long k = WCHAR_MAX;
17070 namespace test
17072 using ::btowc;
17073 using ::fgetwc;
17074 using ::fgetws;
17075 using ::fputwc;
17076 using ::fputws;
17077 using ::fwide;
17078 using ::fwprintf;
17079 using ::fwscanf;
17080 using ::getwc;
17081 using ::getwchar;
17082 using ::mbrlen;
17083 using ::mbrtowc;
17084 using ::mbsinit;
17085 using ::mbsrtowcs;
17086 using ::putwc;
17087 using ::putwchar;
17088 using ::swprintf;
17089 using ::swscanf;
17090 using ::ungetwc;
17091 using ::vfwprintf;
17092 using ::vswprintf;
17093 using ::vwprintf;
17094 using ::wcrtomb;
17095 using ::wcscat;
17096 using ::wcschr;
17097 using ::wcscmp;
17098 using ::wcscoll;
17099 using ::wcscpy;
17100 using ::wcscspn;
17101 using ::wcsftime;
17102 using ::wcslen;
17103 using ::wcsncat;
17104 using ::wcsncmp;
17105 using ::wcsncpy;
17106 using ::wcspbrk;
17107 using ::wcsrchr;
17108 using ::wcsrtombs;
17109 using ::wcsspn;
17110 using ::wcsstr;
17111 using ::wcstod;
17112 using ::wcstok;
17113 using ::wcstol;
17114 using ::wcstoul;
17115 using ::wcsxfrm;
17116 using ::wctob;
17117 using ::wmemchr;
17118 using ::wmemcmp;
17119 using ::wmemcpy;
17120 using ::wmemmove;
17121 using ::wmemset;
17122 using ::wprintf;
17123 using ::wscanf;
17127 main ()
17131 return 0;
17133 _ACEOF
17134 if ac_fn_cxx_try_compile "$LINENO"; then :
17136 else
17137 enable_wchar_t=no
17139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17140 else
17141 enable_wchar_t=no
17144 ac_ext=c
17145 ac_cpp='$CPP $CPPFLAGS'
17146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17152 if test x"$enable_wchar_t" = x"yes"; then
17154 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
17158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled wchar_t specializations" >&5
17159 $as_echo_n "checking for enabled wchar_t specializations... " >&6; }
17160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_wchar_t" >&5
17161 $as_echo "$enable_wchar_t" >&6; }
17165 # Check whether --enable-c99 was given.
17166 if test "${enable_c99+set}" = set; then :
17167 enableval=$enable_c99;
17168 case "$enableval" in
17169 yes|no) ;;
17170 *) as_fn_error $? "Argument to enable/disable c99 must be yes or no" "$LINENO" 5 ;;
17171 esac
17173 else
17174 enable_c99=yes
17179 if test x"$enable_c99" = x"yes"; then
17181 ac_ext=cpp
17182 ac_cpp='$CXXCPP $CPPFLAGS'
17183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17188 # Use -std=c++98 (instead of -std=gnu++98) because leaving __STRICT_ANSI__
17189 # undefined may cause fake C99 facilities, like pre-standard snprintf,
17190 # to be spuriously enabled.
17191 ac_save_CXXFLAGS="$CXXFLAGS"
17192 CXXFLAGS="$CXXFLAGS -std=c++98"
17193 ac_save_LIBS="$LIBS"
17194 ac_save_gcc_no_link="$gcc_no_link"
17196 if test x$gcc_no_link != xyes; then
17197 # Use -fno-exceptions to that the C driver can link these tests without
17198 # hitting undefined references to personality routines.
17199 CXXFLAGS="$CXXFLAGS -fno-exceptions"
17200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
17201 $as_echo_n "checking for sin in -lm... " >&6; }
17202 if ${ac_cv_lib_m_sin+:} false; then :
17203 $as_echo_n "(cached) " >&6
17204 else
17205 ac_check_lib_save_LIBS=$LIBS
17206 LIBS="-lm $LIBS"
17207 if test x$gcc_no_link = xyes; then
17208 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17211 /* end confdefs.h. */
17213 /* Override any GCC internal prototype to avoid an error.
17214 Use char because int might match the return type of a GCC
17215 builtin and then its argument prototype would still apply. */
17216 #ifdef __cplusplus
17217 extern "C"
17218 #endif
17219 char sin ();
17221 main ()
17223 return sin ();
17225 return 0;
17227 _ACEOF
17228 if ac_fn_cxx_try_link "$LINENO"; then :
17229 ac_cv_lib_m_sin=yes
17230 else
17231 ac_cv_lib_m_sin=no
17233 rm -f core conftest.err conftest.$ac_objext \
17234 conftest$ac_exeext conftest.$ac_ext
17235 LIBS=$ac_check_lib_save_LIBS
17237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
17238 $as_echo "$ac_cv_lib_m_sin" >&6; }
17239 if test "x$ac_cv_lib_m_sin" = xyes; then :
17240 LIBS="$LIBS -lm"
17241 else
17243 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
17244 gcc_no_link=yes
17250 # Check for the existence of <math.h> functions used if C99 is enabled.
17251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h> for C++98" >&5
17252 $as_echo_n "checking for ISO C99 support in <math.h> for C++98... " >&6; }
17253 if ${glibcxx_cv_c99_math_cxx98+:} false; then :
17254 $as_echo_n "(cached) " >&6
17255 else
17257 if test x$gcc_no_link = xyes; then
17258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17259 /* end confdefs.h. */
17260 #include <math.h>
17261 volatile double d1, d2;
17262 volatile int i;
17264 main ()
17266 i = fpclassify(d1);
17267 i = isfinite(d1);
17268 i = isinf(d1);
17269 i = isnan(d1);
17270 i = isnormal(d1);
17271 i = signbit(d1);
17272 i = isgreater(d1, d2);
17273 i = isgreaterequal(d1, d2);
17274 i = isless(d1, d2);
17275 i = islessequal(d1, d2);
17276 i = islessgreater(d1, d2);
17277 i = islessgreater(d1, d2);
17278 i = isunordered(d1, d2);
17281 return 0;
17283 _ACEOF
17284 if ac_fn_cxx_try_compile "$LINENO"; then :
17285 glibcxx_cv_c99_math_cxx98=yes
17286 else
17287 glibcxx_cv_c99_math_cxx98=no
17289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17290 else
17291 if test x$gcc_no_link = xyes; then
17292 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17295 /* end confdefs.h. */
17296 #include <math.h>
17297 volatile double d1, d2;
17298 volatile int i;
17300 main ()
17302 i = fpclassify(d1);
17303 i = isfinite(d1);
17304 i = isinf(d1);
17305 i = isnan(d1);
17306 i = isnormal(d1);
17307 i = signbit(d1);
17308 i = isgreater(d1, d2);
17309 i = isgreaterequal(d1, d2);
17310 i = isless(d1, d2);
17311 i = islessequal(d1, d2);
17312 i = islessgreater(d1, d2);
17313 i = islessgreater(d1, d2);
17314 i = isunordered(d1, d2);
17317 return 0;
17319 _ACEOF
17320 if ac_fn_cxx_try_link "$LINENO"; then :
17321 glibcxx_cv_c99_math_cxx98=yes
17322 else
17323 glibcxx_cv_c99_math_cxx98=no
17325 rm -f core conftest.err conftest.$ac_objext \
17326 conftest$ac_exeext conftest.$ac_ext
17331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_cxx98" >&5
17332 $as_echo "$glibcxx_cv_c99_math_cxx98" >&6; }
17333 if test x"$glibcxx_cv_c99_math_cxx98" = x"yes"; then
17335 $as_echo "#define _GLIBCXX98_USE_C99_MATH 1" >>confdefs.h
17339 # Check for the existence of <complex.h> complex math functions.
17340 # This is necessary even though libstdc++ uses the builtin versions
17341 # of these functions, because if the builtin cannot be used, a reference
17342 # to the library function is emitted.
17343 for ac_header in tgmath.h
17344 do :
17345 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
17346 if test "x$ac_cv_header_tgmath_h" = xyes; then :
17347 cat >>confdefs.h <<_ACEOF
17348 #define HAVE_TGMATH_H 1
17349 _ACEOF
17350 ac_has_tgmath_h=yes
17351 else
17352 ac_has_tgmath_h=no
17355 done
17357 for ac_header in complex.h
17358 do :
17359 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
17360 if test "x$ac_cv_header_complex_h" = xyes; then :
17361 cat >>confdefs.h <<_ACEOF
17362 #define HAVE_COMPLEX_H 1
17363 _ACEOF
17364 ac_has_complex_h=yes
17365 else
17366 ac_has_complex_h=no
17369 done
17371 if test x"$ac_has_complex_h" = x"yes"; then
17372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h> for C++98" >&5
17373 $as_echo_n "checking for ISO C99 support in <complex.h> for C++98... " >&6; }
17374 if ${glibcxx_cv_c99_complex_cxx98+:} false; then :
17375 $as_echo_n "(cached) " >&6
17376 else
17378 if test x$gcc_no_link = xyes; then
17379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17380 /* end confdefs.h. */
17381 #include <complex.h>
17382 typedef __complex__ float float_type;
17383 typedef __complex__ double double_type;
17384 typedef __complex__ long double ld_type;
17385 volatile float_type tmpf;
17386 volatile double_type tmpd;
17387 volatile ld_type tmpld;
17388 volatile float f;
17389 volatile double d;
17390 volatile long double ld;
17392 main ()
17394 f = cabsf(tmpf);
17395 f = cargf(tmpf);
17396 tmpf = ccosf(tmpf);
17397 tmpf = ccoshf(tmpf);
17398 tmpf = cexpf(tmpf);
17399 tmpf = clogf(tmpf);
17400 tmpf = csinf(tmpf);
17401 tmpf = csinhf(tmpf);
17402 tmpf = csqrtf(tmpf);
17403 tmpf = ctanf(tmpf);
17404 tmpf = ctanhf(tmpf);
17405 tmpf = cpowf(tmpf, tmpf);
17406 tmpf = cprojf(tmpf);
17407 d = cabs(tmpd);
17408 d = carg(tmpd);
17409 tmpd = ccos(tmpd);
17410 tmpd = ccosh(tmpd);
17411 tmpd = cexp(tmpd);
17412 tmpd = clog(tmpd);
17413 tmpd = csin(tmpd);
17414 tmpd = csinh(tmpd);
17415 tmpd = csqrt(tmpd);
17416 tmpd = ctan(tmpd);
17417 tmpd = ctanh(tmpd);
17418 tmpd = cpow(tmpd, tmpd);
17419 tmpd = cproj(tmpd);
17420 ld = cabsl(tmpld);
17421 ld = cargl(tmpld);
17422 tmpld = ccosl(tmpld);
17423 tmpld = ccoshl(tmpld);
17424 tmpld = cexpl(tmpld);
17425 tmpld = clogl(tmpld);
17426 tmpld = csinl(tmpld);
17427 tmpld = csinhl(tmpld);
17428 tmpld = csqrtl(tmpld);
17429 tmpld = ctanl(tmpld);
17430 tmpld = ctanhl(tmpld);
17431 tmpld = cpowl(tmpld, tmpld);
17432 tmpld = cprojl(tmpld);
17435 return 0;
17437 _ACEOF
17438 if ac_fn_cxx_try_compile "$LINENO"; then :
17439 glibcxx_cv_c99_complex_cxx98=yes
17440 else
17441 glibcxx_cv_c99_complex_cxx98=no
17443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17444 else
17445 if test x$gcc_no_link = xyes; then
17446 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17449 /* end confdefs.h. */
17450 #include <complex.h>
17451 typedef __complex__ float float_type;
17452 typedef __complex__ double double_type;
17453 typedef __complex__ long double ld_type;
17454 volatile float_type tmpf;
17455 volatile double_type tmpd;
17456 volatile ld_type tmpld;
17457 volatile float f;
17458 volatile double d;
17459 volatile long double ld;
17461 main ()
17463 f = cabsf(tmpf);
17464 f = cargf(tmpf);
17465 tmpf = ccosf(tmpf);
17466 tmpf = ccoshf(tmpf);
17467 tmpf = cexpf(tmpf);
17468 tmpf = clogf(tmpf);
17469 tmpf = csinf(tmpf);
17470 tmpf = csinhf(tmpf);
17471 tmpf = csqrtf(tmpf);
17472 tmpf = ctanf(tmpf);
17473 tmpf = ctanhf(tmpf);
17474 tmpf = cpowf(tmpf, tmpf);
17475 tmpf = cprojf(tmpf);
17476 d = cabs(tmpd);
17477 d = carg(tmpd);
17478 tmpd = ccos(tmpd);
17479 tmpd = ccosh(tmpd);
17480 tmpd = cexp(tmpd);
17481 tmpd = clog(tmpd);
17482 tmpd = csin(tmpd);
17483 tmpd = csinh(tmpd);
17484 tmpd = csqrt(tmpd);
17485 tmpd = ctan(tmpd);
17486 tmpd = ctanh(tmpd);
17487 tmpd = cpow(tmpd, tmpd);
17488 tmpd = cproj(tmpd);
17489 ld = cabsl(tmpld);
17490 ld = cargl(tmpld);
17491 tmpld = ccosl(tmpld);
17492 tmpld = ccoshl(tmpld);
17493 tmpld = cexpl(tmpld);
17494 tmpld = clogl(tmpld);
17495 tmpld = csinl(tmpld);
17496 tmpld = csinhl(tmpld);
17497 tmpld = csqrtl(tmpld);
17498 tmpld = ctanl(tmpld);
17499 tmpld = ctanhl(tmpld);
17500 tmpld = cpowl(tmpld, tmpld);
17501 tmpld = cprojl(tmpld);
17504 return 0;
17506 _ACEOF
17507 if ac_fn_cxx_try_link "$LINENO"; then :
17508 glibcxx_cv_c99_complex_cxx98=yes
17509 else
17510 glibcxx_cv_c99_complex_cxx98=no
17512 rm -f core conftest.err conftest.$ac_objext \
17513 conftest$ac_exeext conftest.$ac_ext
17519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex_cxx98" >&5
17520 $as_echo "$glibcxx_cv_c99_complex_cxx98" >&6; }
17521 if test x"$glibcxx_cv_c99_complex_cxx98" = x"yes"; then
17523 $as_echo "#define _GLIBCXX98_USE_C99_COMPLEX 1" >>confdefs.h
17527 # Check for the existence in <stdio.h> of vscanf, et. al.
17528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h> for C++98" >&5
17529 $as_echo_n "checking for ISO C99 support in <stdio.h> for C++98... " >&6; }
17530 if ${glibcxx_cv_c99_stdio_cxx98+:} false; then :
17531 $as_echo_n "(cached) " >&6
17532 else
17534 if test x$gcc_no_link = xyes; then
17535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17536 /* end confdefs.h. */
17537 #include <stdio.h>
17538 #include <stdarg.h>
17539 void foo(char* fmt, ...)
17541 va_list args; va_start(args, fmt);
17542 vfscanf(stderr, "%i", args);
17543 vscanf("%i", args);
17544 vsnprintf(fmt, 0, "%i", args);
17545 vsscanf(fmt, "%i", args);
17546 snprintf(fmt, 0, "%i");
17549 main ()
17553 return 0;
17555 _ACEOF
17556 if ac_fn_cxx_try_compile "$LINENO"; then :
17557 glibcxx_cv_c99_stdio_cxx98=yes
17558 else
17559 glibcxx_cv_c99_stdio_cxx98=no
17561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17562 else
17563 if test x$gcc_no_link = xyes; then
17564 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17567 /* end confdefs.h. */
17568 #include <stdio.h>
17569 #include <stdarg.h>
17570 void foo(char* fmt, ...)
17572 va_list args; va_start(args, fmt);
17573 vfscanf(stderr, "%i", args);
17574 vscanf("%i", args);
17575 vsnprintf(fmt, 0, "%i", args);
17576 vsscanf(fmt, "%i", args);
17577 snprintf(fmt, 0, "%i");
17580 main ()
17584 return 0;
17586 _ACEOF
17587 if ac_fn_cxx_try_link "$LINENO"; then :
17588 glibcxx_cv_c99_stdio_cxx98=yes
17589 else
17590 glibcxx_cv_c99_stdio_cxx98=no
17592 rm -f core conftest.err conftest.$ac_objext \
17593 conftest$ac_exeext conftest.$ac_ext
17598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio_cxx98" >&5
17599 $as_echo "$glibcxx_cv_c99_stdio_cxx98" >&6; }
17600 if test x"$glibcxx_cv_c99_stdio_cxx98" = x"yes"; then
17602 $as_echo "#define _GLIBCXX98_USE_C99_STDIO 1" >>confdefs.h
17606 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
17607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h> for C++98" >&5
17608 $as_echo_n "checking for ISO C99 support in <stdlib.h> for C++98... " >&6; }
17609 if ${glibcxx_cv_c99_stdlib_cxx98+:} false; then :
17610 $as_echo_n "(cached) " >&6
17611 else
17613 if test x$gcc_no_link = xyes; then
17614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17615 /* end confdefs.h. */
17616 #include <stdlib.h>
17617 volatile float f;
17618 volatile long double ld;
17619 volatile unsigned long long ll;
17620 lldiv_t mydivt;
17622 main ()
17624 char* tmp;
17625 f = strtof("gnu", &tmp);
17626 ld = strtold("gnu", &tmp);
17627 ll = strtoll("gnu", &tmp, 10);
17628 ll = strtoull("gnu", &tmp, 10);
17629 ll = llabs(10);
17630 mydivt = lldiv(10,1);
17631 ll = mydivt.quot;
17632 ll = mydivt.rem;
17633 ll = atoll("10");
17634 _Exit(0);
17637 return 0;
17639 _ACEOF
17640 if ac_fn_cxx_try_compile "$LINENO"; then :
17641 glibcxx_cv_c99_stdlib_cxx98=yes
17642 else
17643 glibcxx_cv_c99_stdlib_cxx98=no
17645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17646 else
17647 if test x$gcc_no_link = xyes; then
17648 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17651 /* end confdefs.h. */
17652 #include <stdlib.h>
17653 volatile float f;
17654 volatile long double ld;
17655 volatile unsigned long long ll;
17656 lldiv_t mydivt;
17658 main ()
17660 char* tmp;
17661 f = strtof("gnu", &tmp);
17662 ld = strtold("gnu", &tmp);
17663 ll = strtoll("gnu", &tmp, 10);
17664 ll = strtoull("gnu", &tmp, 10);
17665 ll = llabs(10);
17666 mydivt = lldiv(10,1);
17667 ll = mydivt.quot;
17668 ll = mydivt.rem;
17669 ll = atoll("10");
17670 _Exit(0);
17673 return 0;
17675 _ACEOF
17676 if ac_fn_cxx_try_link "$LINENO"; then :
17677 glibcxx_cv_c99_stdlib_cxx98=yes
17678 else
17679 glibcxx_cv_c99_stdlib_cxx98=no
17681 rm -f core conftest.err conftest.$ac_objext \
17682 conftest$ac_exeext conftest.$ac_ext
17687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib_cxx98" >&5
17688 $as_echo "$glibcxx_cv_c99_stdlib_cxx98" >&6; }
17689 if test x"$glibcxx_cv_c99_stdlib_cxx98" = x"yes"; then
17691 $as_echo "#define _GLIBCXX98_USE_C99_STDLIB 1" >>confdefs.h
17695 # Check for the existence in <wchar.h> of wcstold, etc.
17696 if test x"$ac_has_wchar_h" = xyes &&
17697 test x"$ac_has_wctype_h" = xyes; then
17698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h> for C++98" >&5
17699 $as_echo_n "checking for ISO C99 support in <wchar.h> for C++98... " >&6; }
17700 if ${glibcxx_cv_c99_wchar_cxx98+:} false; then :
17701 $as_echo_n "(cached) " >&6
17702 else
17704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17705 /* end confdefs.h. */
17706 #include <wchar.h>
17707 namespace test
17709 using ::wcstold;
17710 using ::wcstoll;
17711 using ::wcstoull;
17715 main ()
17719 return 0;
17721 _ACEOF
17722 if ac_fn_cxx_try_compile "$LINENO"; then :
17723 glibcxx_cv_c99_wchar_cxx98=yes
17724 else
17725 glibcxx_cv_c99_wchar_cxx98=no
17727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17732 # Checks for wide character functions that may not be present.
17733 # Injection of these is wrapped with guard macros.
17734 # NB: only put functions here, instead of immediately above, if
17735 # absolutely necessary.
17736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17737 /* end confdefs.h. */
17738 #include <wchar.h>
17739 namespace test { using ::vfwscanf; }
17741 main ()
17745 return 0;
17747 _ACEOF
17748 if ac_fn_cxx_try_compile "$LINENO"; then :
17750 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
17753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17756 /* end confdefs.h. */
17757 #include <wchar.h>
17758 namespace test { using ::vswscanf; }
17760 main ()
17764 return 0;
17766 _ACEOF
17767 if ac_fn_cxx_try_compile "$LINENO"; then :
17769 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
17772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17775 /* end confdefs.h. */
17776 #include <wchar.h>
17777 namespace test { using ::vwscanf; }
17779 main ()
17783 return 0;
17785 _ACEOF
17786 if ac_fn_cxx_try_compile "$LINENO"; then :
17788 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
17791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17794 /* end confdefs.h. */
17795 #include <wchar.h>
17796 namespace test { using ::wcstof; }
17798 main ()
17802 return 0;
17804 _ACEOF
17805 if ac_fn_cxx_try_compile "$LINENO"; then :
17807 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
17810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17813 /* end confdefs.h. */
17814 #include <wctype.h>
17816 main ()
17818 wint_t t; int i = iswblank(t);
17820 return 0;
17822 _ACEOF
17823 if ac_fn_cxx_try_compile "$LINENO"; then :
17825 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
17828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar_cxx98" >&5
17831 $as_echo "$glibcxx_cv_c99_wchar_cxx98" >&6; }
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
18012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_cxx11" >&5
18013 $as_echo "$glibcxx_cv_c99_math_cxx11" >&6; }
18014 if test x"$glibcxx_cv_c99_math_cxx11" = x"yes"; then
18016 $as_echo "#define _GLIBCXX11_USE_C99_MATH 1" >>confdefs.h
18020 # Check for the existence of <complex.h> complex math functions.
18021 # This is necessary even though libstdc++ uses the builtin versions
18022 # of these functions, because if the builtin cannot be used, a reference
18023 # to the library function is emitted.
18024 for ac_header in tgmath.h
18025 do :
18026 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
18027 if test "x$ac_cv_header_tgmath_h" = xyes; then :
18028 cat >>confdefs.h <<_ACEOF
18029 #define HAVE_TGMATH_H 1
18030 _ACEOF
18031 ac_has_tgmath_h=yes
18032 else
18033 ac_has_tgmath_h=no
18036 done
18038 for ac_header in complex.h
18039 do :
18040 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
18041 if test "x$ac_cv_header_complex_h" = xyes; then :
18042 cat >>confdefs.h <<_ACEOF
18043 #define HAVE_COMPLEX_H 1
18044 _ACEOF
18045 ac_has_complex_h=yes
18046 else
18047 ac_has_complex_h=no
18050 done
18052 if test x"$ac_has_complex_h" = x"yes"; then
18053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h> for C++11" >&5
18054 $as_echo_n "checking for ISO C99 support in <complex.h> for C++11... " >&6; }
18055 if ${glibcxx_cv_c99_complex_cxx11+:} false; then :
18056 $as_echo_n "(cached) " >&6
18057 else
18059 if test x$gcc_no_link = xyes; then
18060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18061 /* end confdefs.h. */
18062 #include <complex.h>
18063 typedef __complex__ float float_type;
18064 typedef __complex__ double double_type;
18065 typedef __complex__ long double ld_type;
18066 volatile float_type tmpf;
18067 volatile double_type tmpd;
18068 volatile ld_type tmpld;
18069 volatile float f;
18070 volatile double d;
18071 volatile long double ld;
18073 main ()
18075 f = cabsf(tmpf);
18076 f = cargf(tmpf);
18077 tmpf = ccosf(tmpf);
18078 tmpf = ccoshf(tmpf);
18079 tmpf = cexpf(tmpf);
18080 tmpf = clogf(tmpf);
18081 tmpf = csinf(tmpf);
18082 tmpf = csinhf(tmpf);
18083 tmpf = csqrtf(tmpf);
18084 tmpf = ctanf(tmpf);
18085 tmpf = ctanhf(tmpf);
18086 tmpf = cpowf(tmpf, tmpf);
18087 tmpf = cprojf(tmpf);
18088 d = cabs(tmpd);
18089 d = carg(tmpd);
18090 tmpd = ccos(tmpd);
18091 tmpd = ccosh(tmpd);
18092 tmpd = cexp(tmpd);
18093 tmpd = clog(tmpd);
18094 tmpd = csin(tmpd);
18095 tmpd = csinh(tmpd);
18096 tmpd = csqrt(tmpd);
18097 tmpd = ctan(tmpd);
18098 tmpd = ctanh(tmpd);
18099 tmpd = cpow(tmpd, tmpd);
18100 tmpd = cproj(tmpd);
18101 ld = cabsl(tmpld);
18102 ld = cargl(tmpld);
18103 tmpld = ccosl(tmpld);
18104 tmpld = ccoshl(tmpld);
18105 tmpld = cexpl(tmpld);
18106 tmpld = clogl(tmpld);
18107 tmpld = csinl(tmpld);
18108 tmpld = csinhl(tmpld);
18109 tmpld = csqrtl(tmpld);
18110 tmpld = ctanl(tmpld);
18111 tmpld = ctanhl(tmpld);
18112 tmpld = cpowl(tmpld, tmpld);
18113 tmpld = cprojl(tmpld);
18116 return 0;
18118 _ACEOF
18119 if ac_fn_cxx_try_compile "$LINENO"; then :
18120 glibcxx_cv_c99_complex_cxx11=yes
18121 else
18122 glibcxx_cv_c99_complex_cxx11=no
18124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18125 else
18126 if test x$gcc_no_link = xyes; then
18127 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18130 /* end confdefs.h. */
18131 #include <complex.h>
18132 typedef __complex__ float float_type;
18133 typedef __complex__ double double_type;
18134 typedef __complex__ long double ld_type;
18135 volatile float_type tmpf;
18136 volatile double_type tmpd;
18137 volatile ld_type tmpld;
18138 volatile float f;
18139 volatile double d;
18140 volatile long double ld;
18142 main ()
18144 f = cabsf(tmpf);
18145 f = cargf(tmpf);
18146 tmpf = ccosf(tmpf);
18147 tmpf = ccoshf(tmpf);
18148 tmpf = cexpf(tmpf);
18149 tmpf = clogf(tmpf);
18150 tmpf = csinf(tmpf);
18151 tmpf = csinhf(tmpf);
18152 tmpf = csqrtf(tmpf);
18153 tmpf = ctanf(tmpf);
18154 tmpf = ctanhf(tmpf);
18155 tmpf = cpowf(tmpf, tmpf);
18156 tmpf = cprojf(tmpf);
18157 d = cabs(tmpd);
18158 d = carg(tmpd);
18159 tmpd = ccos(tmpd);
18160 tmpd = ccosh(tmpd);
18161 tmpd = cexp(tmpd);
18162 tmpd = clog(tmpd);
18163 tmpd = csin(tmpd);
18164 tmpd = csinh(tmpd);
18165 tmpd = csqrt(tmpd);
18166 tmpd = ctan(tmpd);
18167 tmpd = ctanh(tmpd);
18168 tmpd = cpow(tmpd, tmpd);
18169 tmpd = cproj(tmpd);
18170 ld = cabsl(tmpld);
18171 ld = cargl(tmpld);
18172 tmpld = ccosl(tmpld);
18173 tmpld = ccoshl(tmpld);
18174 tmpld = cexpl(tmpld);
18175 tmpld = clogl(tmpld);
18176 tmpld = csinl(tmpld);
18177 tmpld = csinhl(tmpld);
18178 tmpld = csqrtl(tmpld);
18179 tmpld = ctanl(tmpld);
18180 tmpld = ctanhl(tmpld);
18181 tmpld = cpowl(tmpld, tmpld);
18182 tmpld = cprojl(tmpld);
18185 return 0;
18187 _ACEOF
18188 if ac_fn_cxx_try_link "$LINENO"; then :
18189 glibcxx_cv_c99_complex_cxx11=yes
18190 else
18191 glibcxx_cv_c99_complex_cxx11=no
18193 rm -f core conftest.err conftest.$ac_objext \
18194 conftest$ac_exeext conftest.$ac_ext
18200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex_cxx11" >&5
18201 $as_echo "$glibcxx_cv_c99_complex_cxx11" >&6; }
18202 if test x"$glibcxx_cv_c99_complex_cxx11" = x"yes"; then
18204 $as_echo "#define _GLIBCXX11_USE_C99_COMPLEX 1" >>confdefs.h
18208 # Check for the existence in <stdio.h> of vscanf, et. al.
18209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h> for C++11" >&5
18210 $as_echo_n "checking for ISO C99 support in <stdio.h> for C++11... " >&6; }
18211 if ${glibcxx_cv_c99_stdio_cxx11+:} false; then :
18212 $as_echo_n "(cached) " >&6
18213 else
18215 if test x$gcc_no_link = xyes; then
18216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18217 /* end confdefs.h. */
18218 #include <stdio.h>
18219 #include <stdarg.h>
18220 void foo(char* fmt, ...)
18222 va_list args; va_start(args, fmt);
18223 vfscanf(stderr, "%i", args);
18224 vscanf("%i", args);
18225 vsnprintf(fmt, 0, "%i", args);
18226 vsscanf(fmt, "%i", args);
18227 snprintf(fmt, 0, "%i");
18230 main ()
18234 return 0;
18236 _ACEOF
18237 if ac_fn_cxx_try_compile "$LINENO"; then :
18238 glibcxx_cv_c99_stdio_cxx11=yes
18239 else
18240 glibcxx_cv_c99_stdio_cxx11=no
18242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18243 else
18244 if test x$gcc_no_link = xyes; then
18245 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18248 /* end confdefs.h. */
18249 #include <stdio.h>
18250 #include <stdarg.h>
18251 void foo(char* fmt, ...)
18253 va_list args; va_start(args, fmt);
18254 vfscanf(stderr, "%i", args);
18255 vscanf("%i", args);
18256 vsnprintf(fmt, 0, "%i", args);
18257 vsscanf(fmt, "%i", args);
18258 snprintf(fmt, 0, "%i");
18261 main ()
18265 return 0;
18267 _ACEOF
18268 if ac_fn_cxx_try_link "$LINENO"; then :
18269 glibcxx_cv_c99_stdio_cxx11=yes
18270 else
18271 glibcxx_cv_c99_stdio_cxx11=no
18273 rm -f core conftest.err conftest.$ac_objext \
18274 conftest$ac_exeext conftest.$ac_ext
18279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio_cxx11" >&5
18280 $as_echo "$glibcxx_cv_c99_stdio_cxx11" >&6; }
18281 if test x"$glibcxx_cv_c99_stdio_cxx11" = x"yes"; then
18283 $as_echo "#define _GLIBCXX11_USE_C99_STDIO 1" >>confdefs.h
18287 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
18288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h> for C++11" >&5
18289 $as_echo_n "checking for ISO C99 support in <stdlib.h> for C++11... " >&6; }
18290 if ${glibcxx_cv_c99_stdlib_cxx11+:} false; then :
18291 $as_echo_n "(cached) " >&6
18292 else
18294 if test x$gcc_no_link = xyes; then
18295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18296 /* end confdefs.h. */
18297 #include <stdlib.h>
18298 volatile float f;
18299 volatile long double ld;
18300 volatile unsigned long long ll;
18301 lldiv_t mydivt;
18303 main ()
18305 char* tmp;
18306 f = strtof("gnu", &tmp);
18307 ld = strtold("gnu", &tmp);
18308 ll = strtoll("gnu", &tmp, 10);
18309 ll = strtoull("gnu", &tmp, 10);
18310 ll = llabs(10);
18311 mydivt = lldiv(10,1);
18312 ll = mydivt.quot;
18313 ll = mydivt.rem;
18314 ll = atoll("10");
18315 _Exit(0);
18318 return 0;
18320 _ACEOF
18321 if ac_fn_cxx_try_compile "$LINENO"; then :
18322 glibcxx_cv_c99_stdlib_cxx11=yes
18323 else
18324 glibcxx_cv_c99_stdlib_cxx11=no
18326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18327 else
18328 if test x$gcc_no_link = xyes; then
18329 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18332 /* end confdefs.h. */
18333 #include <stdlib.h>
18334 volatile float f;
18335 volatile long double ld;
18336 volatile unsigned long long ll;
18337 lldiv_t mydivt;
18339 main ()
18341 char* tmp;
18342 f = strtof("gnu", &tmp);
18343 ld = strtold("gnu", &tmp);
18344 ll = strtoll("gnu", &tmp, 10);
18345 ll = strtoull("gnu", &tmp, 10);
18346 ll = llabs(10);
18347 mydivt = lldiv(10,1);
18348 ll = mydivt.quot;
18349 ll = mydivt.rem;
18350 ll = atoll("10");
18351 _Exit(0);
18354 return 0;
18356 _ACEOF
18357 if ac_fn_cxx_try_link "$LINENO"; then :
18358 glibcxx_cv_c99_stdlib_cxx11=yes
18359 else
18360 glibcxx_cv_c99_stdlib_cxx11=no
18362 rm -f core conftest.err conftest.$ac_objext \
18363 conftest$ac_exeext conftest.$ac_ext
18368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib_cxx11" >&5
18369 $as_echo "$glibcxx_cv_c99_stdlib_cxx11" >&6; }
18370 if test x"$glibcxx_cv_c99_stdlib_cxx11" = x"yes"; then
18372 $as_echo "#define _GLIBCXX11_USE_C99_STDLIB 1" >>confdefs.h
18376 # Check for the existence in <wchar.h> of wcstold, etc.
18377 if test x"$ac_has_wchar_h" = xyes &&
18378 test x"$ac_has_wctype_h" = xyes; then
18379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h> for C++11" >&5
18380 $as_echo_n "checking for ISO C99 support in <wchar.h> for C++11... " >&6; }
18381 if ${glibcxx_cv_c99_wchar_cxx11+:} false; then :
18382 $as_echo_n "(cached) " >&6
18383 else
18385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18386 /* end confdefs.h. */
18387 #include <wchar.h>
18388 namespace test
18390 using ::wcstold;
18391 using ::wcstoll;
18392 using ::wcstoull;
18396 main ()
18400 return 0;
18402 _ACEOF
18403 if ac_fn_cxx_try_compile "$LINENO"; then :
18404 glibcxx_cv_c99_wchar_cxx11=yes
18405 else
18406 glibcxx_cv_c99_wchar_cxx11=no
18408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18413 # Checks for wide character functions that may not be present.
18414 # Injection of these is wrapped with guard macros.
18415 # NB: only put functions here, instead of immediately above, if
18416 # absolutely necessary.
18417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18418 /* end confdefs.h. */
18419 #include <wchar.h>
18420 namespace test { using ::vfwscanf; }
18422 main ()
18426 return 0;
18428 _ACEOF
18429 if ac_fn_cxx_try_compile "$LINENO"; then :
18431 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
18434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18437 /* end confdefs.h. */
18438 #include <wchar.h>
18439 namespace test { using ::vswscanf; }
18441 main ()
18445 return 0;
18447 _ACEOF
18448 if ac_fn_cxx_try_compile "$LINENO"; then :
18450 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
18453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18456 /* end confdefs.h. */
18457 #include <wchar.h>
18458 namespace test { using ::vwscanf; }
18460 main ()
18464 return 0;
18466 _ACEOF
18467 if ac_fn_cxx_try_compile "$LINENO"; then :
18469 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
18472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18475 /* end confdefs.h. */
18476 #include <wchar.h>
18477 namespace test { using ::wcstof; }
18479 main ()
18483 return 0;
18485 _ACEOF
18486 if ac_fn_cxx_try_compile "$LINENO"; then :
18488 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
18491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18494 /* end confdefs.h. */
18495 #include <wctype.h>
18497 main ()
18499 wint_t t; int i = iswblank(t);
18501 return 0;
18503 _ACEOF
18504 if ac_fn_cxx_try_compile "$LINENO"; then :
18506 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
18509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar_cxx11" >&5
18512 $as_echo "$glibcxx_cv_c99_wchar_cxx11" >&6; }
18513 if test x"$glibcxx_cv_c99_wchar_cxx11" = x"yes"; then
18515 $as_echo "#define _GLIBCXX11_USE_C99_WCHAR 1" >>confdefs.h
18520 gcc_no_link="$ac_save_gcc_no_link"
18521 LIBS="$ac_save_LIBS"
18522 CXXFLAGS="$ac_save_CXXFLAGS"
18523 ac_ext=c
18524 ac_cpp='$CPP $CPPFLAGS'
18525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fully enabled ISO C99 support" >&5
18532 $as_echo_n "checking for fully enabled ISO C99 support... " >&6; }
18533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_c99" >&5
18534 $as_echo "$enable_c99" >&6; }
18537 # Check whether --enable-concept-checks was given.
18538 if test "${enable_concept_checks+set}" = set; then :
18539 enableval=$enable_concept_checks;
18540 case "$enableval" in
18541 yes|no) ;;
18542 *) as_fn_error $? "Argument to enable/disable concept-checks must be yes or no" "$LINENO" 5 ;;
18543 esac
18545 else
18546 enable_concept_checks=no
18550 if test $enable_concept_checks = yes; then
18552 $as_echo "#define _GLIBCXX_CONCEPT_CHECKS 1" >>confdefs.h
18557 # Check whether --enable-libstdcxx-debug-flags was given.
18558 if test "${enable_libstdcxx_debug_flags+set}" = set; then :
18559 enableval=$enable_libstdcxx_debug_flags; case "x$enable_libstdcxx_debug_flags" in
18560 xno | x) enable_libstdcxx_debug_flags= ;;
18561 x-*) ;;
18562 *) as_fn_error $? "--enable-libstdcxx-debug-flags needs compiler flags as arguments" "$LINENO" 5 ;;
18563 esac
18564 else
18565 enable_libstdcxx_debug_flags="-gdwarf-4 -g3 -O0 -D_GLIBCXX_ASSERTIONS"
18570 # Option parsed, now set things appropriately
18571 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
18574 { $as_echo "$as_me:${as_lineno-$LINENO}: Debug build flags set to $DEBUG_FLAGS" >&5
18575 $as_echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
18578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional debug build" >&5
18579 $as_echo_n "checking for additional debug build... " >&6; }
18580 skip_debug_build=
18581 # Check whether --enable-libstdcxx-debug was given.
18582 if test "${enable_libstdcxx_debug+set}" = set; then :
18583 enableval=$enable_libstdcxx_debug;
18584 case "$enableval" in
18585 yes|no) ;;
18586 *) as_fn_error $? "Argument to enable/disable libstdcxx-debug must be yes or no" "$LINENO" 5 ;;
18587 esac
18589 else
18590 enable_libstdcxx_debug=no
18594 if test x$enable_libstdcxx_debug = xyes; then
18595 if test -f $toplevel_builddir/../stage_final \
18596 && test -f $toplevel_builddir/../stage_current; then
18597 stage_final=`cat $toplevel_builddir/../stage_final`
18598 stage_current=`cat $toplevel_builddir/../stage_current`
18599 if test x$stage_current != x$stage_final ; then
18600 skip_debug_build=" (skipped for bootstrap stage $stage_current)"
18601 enable_libstdcxx_debug=no
18605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_debug$skip_debug_build" >&5
18606 $as_echo "$enable_libstdcxx_debug$skip_debug_build" >&6; }
18611 enable_parallel=no;
18613 # See if configured libgomp/omp.h exists. (libgomp may be in
18614 # noconfigdirs but not explicitly disabled.)
18615 if echo " ${TARGET_CONFIGDIRS} " | grep " libgomp " > /dev/null 2>&1 ; then
18616 enable_parallel=yes;
18617 else
18618 { $as_echo "$as_me:${as_lineno-$LINENO}: target-libgomp not built" >&5
18619 $as_echo "$as_me: target-libgomp not built" >&6;}
18622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parallel mode support" >&5
18623 $as_echo_n "checking for parallel mode support... " >&6; }
18624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_parallel" >&5
18625 $as_echo "$enable_parallel" >&6; }
18627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra compiler flags for building" >&5
18628 $as_echo_n "checking for extra compiler flags for building... " >&6; }
18629 # Check whether --enable-cxx-flags was given.
18630 if test "${enable_cxx_flags+set}" = set; then :
18631 enableval=$enable_cxx_flags; case "x$enable_cxx_flags" in
18632 xno | x) enable_cxx_flags= ;;
18633 x-*) ;;
18634 *) as_fn_error $? "--enable-cxx-flags needs compiler flags as arguments" "$LINENO" 5 ;;
18635 esac
18636 else
18637 enable_cxx_flags=
18642 # Run through flags (either default or command-line) and set anything
18643 # extra (e.g., #defines) that must accompany particular g++ options.
18644 if test -n "$enable_cxx_flags"; then
18645 for f in $enable_cxx_flags; do
18646 case "$f" in
18647 -fhonor-std) ;;
18648 -*) ;;
18649 *) # and we're trying to pass /what/ exactly?
18650 as_fn_error $? "compiler flags start with a -" "$LINENO" 5 ;;
18651 esac
18652 done
18655 EXTRA_CXX_FLAGS="$enable_cxx_flags"
18656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXTRA_CXX_FLAGS" >&5
18657 $as_echo "$EXTRA_CXX_FLAGS" >&6; }
18661 # Check whether --enable-fully-dynamic-string was given.
18662 if test "${enable_fully_dynamic_string+set}" = set; then :
18663 enableval=$enable_fully_dynamic_string;
18664 case "$enableval" in
18665 yes|no) ;;
18666 *) as_fn_error $? "Argument to enable/disable fully-dynamic-string must be yes or no" "$LINENO" 5 ;;
18667 esac
18669 else
18670 enable_fully_dynamic_string=no
18674 if test $enable_fully_dynamic_string = yes; then
18675 enable_fully_dynamic_string_def=1
18676 else
18677 enable_fully_dynamic_string_def=0
18680 cat >>confdefs.h <<_ACEOF
18681 #define _GLIBCXX_FULLY_DYNAMIC_STRING ${enable_fully_dynamic_string_def}
18682 _ACEOF
18687 # Check whether --enable-extern-template was given.
18688 if test "${enable_extern_template+set}" = set; then :
18689 enableval=$enable_extern_template;
18690 case "$enableval" in
18691 yes|no) ;;
18692 *) as_fn_error $? "Argument to enable/disable extern-template must be yes or no" "$LINENO" 5 ;;
18693 esac
18695 else
18696 enable_extern_template=yes
18701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extern template support" >&5
18702 $as_echo_n "checking for extern template support... " >&6; }
18703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_extern_template" >&5
18704 $as_echo "$enable_extern_template" >&6; }
18710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for custom python install directory" >&5
18711 $as_echo_n "checking for custom python install directory... " >&6; }
18713 # Check whether --with-python-dir was given.
18714 if test "${with_python_dir+set}" = set; then :
18715 withval=$with_python_dir; with_python_dir=$withval
18716 else
18717 with_python_dir="no"
18720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_python_dir}" >&5
18721 $as_echo "${with_python_dir}" >&6; }
18723 # Needed for installing Python modules during make install.
18724 python_mod_dir="${with_python_dir}"
18729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Werror" >&5
18730 $as_echo_n "checking for -Werror... " >&6; }
18731 # Check whether --enable-werror was given.
18732 if test "${enable_werror+set}" = set; then :
18733 enableval=$enable_werror;
18734 case "$enableval" in
18735 yes|no) ;;
18736 *) as_fn_error $? "Argument to enable/disable werror must be yes or no" "$LINENO" 5 ;;
18737 esac
18739 else
18740 enable_werror=no
18744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_werror" >&5
18745 $as_echo "$enable_werror" >&6; }
18750 # Check whether --enable-vtable-verify was given.
18751 if test "${enable_vtable_verify+set}" = set; then :
18752 enableval=$enable_vtable_verify;
18753 case "$enableval" in
18754 yes|no) ;;
18755 *) as_fn_error $? "Argument to enable/disable vtable-verify must be yes or no" "$LINENO" 5 ;;
18756 esac
18758 else
18759 enable_vtable_verify=no
18764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vtable verify support" >&5
18765 $as_echo_n "checking for vtable verify support... " >&6; }
18766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_vtable_verify" >&5
18767 $as_echo "$enable_vtable_verify" >&6; }
18769 vtv_cygmin=no
18770 if test $enable_vtable_verify = yes; then
18771 case ${target_os} in
18772 cygwin*|mingw32*)
18773 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-lvtv,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
18774 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,--rpath -Wl,${toplevel_builddir}/libvtv/.libs"
18775 vtv_cygmin=yes
18777 darwin*)
18778 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u,_vtable_map_vars_start -Wl,-u,_vtable_map_vars_end"
18779 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,-rpath,${toplevel_builddir}/libvtv/.libs"
18781 solaris2*)
18782 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
18783 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,-R -Wl,${toplevel_builddir}/libvtv/.libs"
18786 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
18787 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,--rpath -Wl,${toplevel_builddir}/libvtv/.libs"
18789 esac
18790 VTV_PCH_CXXFLAGS="-fvtable-verify=std"
18791 else
18792 VTV_CXXFLAGS=
18793 VTV_PCH_CXXFLAGS=
18794 VTV_CXXLINKFLAGS=
18800 if test x$vtv_cygmin = xyes; then
18801 VTV_CYGMIN_TRUE=
18802 VTV_CYGMIN_FALSE='#'
18803 else
18804 VTV_CYGMIN_TRUE='#'
18805 VTV_CYGMIN_FALSE=
18811 # Checks for operating systems support that doesn't require linking.
18815 ac_ext=cpp
18816 ac_cpp='$CXXCPP $CPPFLAGS'
18817 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18818 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18819 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18821 # Use C++11 because a conforming <stdio.h> won't define gets for C++14,
18822 # and we don't need a declaration for C++14 anyway.
18823 ac_save_CXXFLAGS="$CXXFLAGS"
18824 CXXFLAGS="$CXXFLAGS -std=gnu++11"
18826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gets declaration" >&5
18827 $as_echo_n "checking for gets declaration... " >&6; }
18828 if ${glibcxx_cv_gets+:} false; then :
18829 $as_echo_n "(cached) " >&6
18830 else
18832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18833 /* end confdefs.h. */
18834 #include <stdio.h>
18835 namespace test
18837 using ::gets;
18840 _ACEOF
18841 if ac_fn_cxx_try_compile "$LINENO"; then :
18842 glibcxx_cv_gets=yes
18843 else
18844 glibcxx_cv_gets=no
18847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18851 if test $glibcxx_cv_gets = yes; then
18853 $as_echo "#define HAVE_GETS 1" >>confdefs.h
18856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_gets" >&5
18857 $as_echo "$glibcxx_cv_gets" >&6; }
18859 CXXFLAGS="$ac_save_CXXFLAGS"
18860 ac_ext=c
18861 ac_cpp='$CPP $CPPFLAGS'
18862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18870 ac_ext=cpp
18871 ac_cpp='$CXXCPP $CPPFLAGS'
18872 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18873 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18874 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18876 ac_save_CXXFLAGS="$CXXFLAGS"
18877 CXXFLAGS="$CXXFLAGS -std=c++11"
18879 case "$host" in
18880 *-*-solaris2.*)
18881 # Solaris 12 Build 86, Solaris 11.3 SRU 3.6, and Solaris 10 Patch
18882 # 11996[67]-02 introduced the C++11 <math.h> floating point overloads.
18883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++11 <math.h> floating point overloads" >&5
18884 $as_echo_n "checking for C++11 <math.h> floating point overloads... " >&6; }
18885 if ${glibcxx_cv_math11_fp_overload+:} false; then :
18886 $as_echo_n "(cached) " >&6
18887 else
18889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18890 /* end confdefs.h. */
18891 #include <math.h>
18892 #undef isfinite
18893 namespace std {
18894 inline bool isfinite(float __x)
18895 { return __builtin_isfinite(__x); }
18898 _ACEOF
18899 if ac_fn_cxx_try_compile "$LINENO"; then :
18900 glibcxx_cv_math11_fp_overload=no
18901 else
18902 glibcxx_cv_math11_fp_overload=yes
18905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18909 # autoheader cannot handle indented templates.
18912 if test $glibcxx_cv_math11_fp_overload = yes; then
18913 $as_echo "#define __CORRECT_ISO_CPP11_MATH_H_PROTO_FP 1" >>confdefs.h
18916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_math11_fp_overload" >&5
18917 $as_echo "$glibcxx_cv_math11_fp_overload" >&6; }
18919 # Solaris 12 Build 90, Solaris 11.3 SRU 5.6, and Solaris 10 Patch
18920 # 11996[67]-02 introduced the C++11 <math.h> integral type overloads.
18921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++11 <math.h> integral type overloads" >&5
18922 $as_echo_n "checking for C++11 <math.h> integral type overloads... " >&6; }
18923 if ${glibcxx_cv_math11_int_overload+:} false; then :
18924 $as_echo_n "(cached) " >&6
18925 else
18927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18928 /* end confdefs.h. */
18929 #include <math.h>
18930 namespace std {
18931 template<typename _Tp>
18932 struct __is_integer;
18933 template<>
18934 struct __is_integer<int>
18936 enum { __value = 1 };
18939 namespace __gnu_cxx {
18940 template<bool, typename>
18941 struct __enable_if;
18942 template<typename _Tp>
18943 struct __enable_if<true, _Tp>
18944 { typedef _Tp __type; };
18946 namespace std {
18947 template<typename _Tp>
18948 constexpr typename __gnu_cxx::__enable_if
18949 <__is_integer<_Tp>::__value, double>::__type
18950 log2(_Tp __x)
18951 { return __builtin_log2(__x); }
18954 main (void)
18956 int i = 1000;
18957 return std::log2(i);
18960 _ACEOF
18961 if ac_fn_cxx_try_compile "$LINENO"; then :
18962 glibcxx_cv_math11_int_overload=no
18963 else
18964 glibcxx_cv_math11_int_overload=yes
18967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18971 # autoheader cannot handle indented templates.
18974 if test $glibcxx_cv_math11_int_overload = yes; then
18975 $as_echo "#define __CORRECT_ISO_CPP11_MATH_H_PROTO_INT 1" >>confdefs.h
18978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_math11_int_overload" >&5
18979 $as_echo "$glibcxx_cv_math11_int_overload" >&6; }
18982 # If <math.h> defines the obsolete isinf(double) and isnan(double)
18983 # functions (instead of or as well as the C99 generic macros) then we
18984 # can't define std::isinf(double) and std::isnan(double) in <cmath>
18985 # and must use the ones from <math.h> instead.
18986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for obsolete isinf function in <math.h>" >&5
18987 $as_echo_n "checking for obsolete isinf function in <math.h>... " >&6; }
18988 if ${glibcxx_cv_obsolete_isinf+:} false; then :
18989 $as_echo_n "(cached) " >&6
18990 else
18992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18993 /* end confdefs.h. */
18994 #define _GLIBCXX_INCLUDE_NEXT_C_HEADERS
18995 #include <math.h>
18996 #undef isinf
18997 namespace std {
18998 using ::isinf;
18999 bool isinf(float);
19000 bool isinf(long double);
19002 using std::isinf;
19003 bool b = isinf(0.0);
19005 _ACEOF
19006 if ac_fn_cxx_try_compile "$LINENO"; then :
19007 glibcxx_cv_obsolete_isinf=yes
19008 else
19009 glibcxx_cv_obsolete_isinf=no
19012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_obsolete_isinf" >&5
19016 $as_echo "$glibcxx_cv_obsolete_isinf" >&6; }
19017 if test $glibcxx_cv_obsolete_isinf = yes; then
19019 $as_echo "#define HAVE_OBSOLETE_ISINF 1" >>confdefs.h
19023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for obsolete isnan function in <math.h>" >&5
19024 $as_echo_n "checking for obsolete isnan function in <math.h>... " >&6; }
19025 if ${glibcxx_cv_obsolete_isnan+:} false; then :
19026 $as_echo_n "(cached) " >&6
19027 else
19029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19030 /* end confdefs.h. */
19031 #define _GLIBCXX_INCLUDE_NEXT_C_HEADERS
19032 #include <math.h>
19033 #undef isnan
19034 namespace std {
19035 using ::isnan;
19036 bool isnan(float);
19037 bool isnan(long double);
19039 using std::isnan;
19040 bool b = isnan(0.0);
19042 _ACEOF
19043 if ac_fn_cxx_try_compile "$LINENO"; then :
19044 glibcxx_cv_obsolete_isnan=yes
19045 else
19046 glibcxx_cv_obsolete_isnan=no
19049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_obsolete_isnan" >&5
19053 $as_echo "$glibcxx_cv_obsolete_isnan" >&6; }
19054 if test $glibcxx_cv_obsolete_isnan = yes; then
19056 $as_echo "#define HAVE_OBSOLETE_ISNAN 1" >>confdefs.h
19060 esac
19062 CXXFLAGS="$ac_save_CXXFLAGS"
19063 ac_ext=c
19064 ac_cpp='$CPP $CPPFLAGS'
19065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19072 # Test uchar.h.
19073 for ac_header in uchar.h
19074 do :
19075 ac_fn_c_check_header_mongrel "$LINENO" "uchar.h" "ac_cv_header_uchar_h" "$ac_includes_default"
19076 if test "x$ac_cv_header_uchar_h" = xyes; then :
19077 cat >>confdefs.h <<_ACEOF
19078 #define HAVE_UCHAR_H 1
19079 _ACEOF
19080 ac_has_uchar_h=yes
19081 else
19082 ac_has_uchar_h=no
19085 done
19089 ac_ext=cpp
19090 ac_cpp='$CXXCPP $CPPFLAGS'
19091 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19092 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19093 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19095 ac_save_CXXFLAGS="$CXXFLAGS"
19096 CXXFLAGS="$CXXFLAGS -std=c++11"
19098 if test x"$ac_has_uchar_h" = x"yes"; then
19099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C11 support for <uchar.h>" >&5
19100 $as_echo_n "checking for ISO C11 support for <uchar.h>... " >&6; }
19101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19102 /* end confdefs.h. */
19103 #include <uchar.h>
19104 #ifdef __STDC_UTF_16__
19105 long i = __STDC_UTF_16__;
19106 #endif
19107 #ifdef __STDC_UTF_32__
19108 long j = __STDC_UTF_32__;
19109 #endif
19110 namespace test
19112 using ::c16rtomb;
19113 using ::c32rtomb;
19114 using ::mbrtoc16;
19115 using ::mbrtoc32;
19119 main ()
19123 return 0;
19125 _ACEOF
19126 if ac_fn_cxx_try_compile "$LINENO"; then :
19127 ac_c11_uchar_cxx11=yes
19128 else
19129 ac_c11_uchar_cxx11=no
19131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19132 else
19133 ac_c11_uchar_cxx11=no
19135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c11_uchar_cxx11" >&5
19136 $as_echo "$ac_c11_uchar_cxx11" >&6; }
19137 if test x"$ac_c11_uchar_cxx11" = x"yes"; then
19139 $as_echo "#define _GLIBCXX_USE_C11_UCHAR_CXX11 1" >>confdefs.h
19143 CXXFLAGS="$ac_save_CXXFLAGS"
19144 ac_ext=c
19145 ac_cpp='$CPP $CPPFLAGS'
19146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19152 # For the streamoff typedef.
19156 ac_ext=cpp
19157 ac_cpp='$CXXCPP $CPPFLAGS'
19158 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19159 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19160 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t" >&5
19164 $as_echo_n "checking for int64_t... " >&6; }
19165 if ${glibcxx_cv_INT64_T+:} false; then :
19166 $as_echo_n "(cached) " >&6
19167 else
19169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19170 /* end confdefs.h. */
19171 #include <stdint.h>
19173 main ()
19175 int64_t var;
19177 return 0;
19179 _ACEOF
19180 if ac_fn_cxx_try_compile "$LINENO"; then :
19181 glibcxx_cv_INT64_T=yes
19182 else
19183 glibcxx_cv_INT64_T=no
19185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19190 if test $glibcxx_cv_INT64_T = yes; then
19192 $as_echo "#define HAVE_INT64_T 1" >>confdefs.h
19194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_INT64_T" >&5
19195 $as_echo "$glibcxx_cv_INT64_T" >&6; }
19197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long" >&5
19198 $as_echo_n "checking for int64_t as long... " >&6; }
19199 if ${glibcxx_cv_int64_t_long+:} false; then :
19200 $as_echo_n "(cached) " >&6
19201 else
19203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19204 /* end confdefs.h. */
19205 #include <stdint.h>
19206 template<typename, typename> struct same { enum { value = -1 }; };
19207 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
19208 int array[same<int64_t, long>::value];
19210 main ()
19214 return 0;
19216 _ACEOF
19217 if ac_fn_cxx_try_compile "$LINENO"; then :
19218 glibcxx_cv_int64_t_long=yes
19219 else
19220 glibcxx_cv_int64_t_long=no
19222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19227 if test $glibcxx_cv_int64_t_long = yes; then
19229 $as_echo "#define HAVE_INT64_T_LONG 1" >>confdefs.h
19231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long" >&5
19232 $as_echo "$glibcxx_cv_int64_t_long" >&6; }
19235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long long" >&5
19236 $as_echo_n "checking for int64_t as long long... " >&6; }
19237 if ${glibcxx_cv_int64_t_long_long+:} false; then :
19238 $as_echo_n "(cached) " >&6
19239 else
19241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19242 /* end confdefs.h. */
19243 #include <stdint.h>
19244 template<typename, typename> struct same { enum { value = -1 }; };
19245 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
19246 int array[same<int64_t, long long>::value];
19248 main ()
19252 return 0;
19254 _ACEOF
19255 if ac_fn_cxx_try_compile "$LINENO"; then :
19256 glibcxx_cv_int64_t_long_long=yes
19257 else
19258 glibcxx_cv_int64_t_long_long=no
19260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19265 if test $glibcxx_cv_int64_t_long_long = yes; then
19267 $as_echo "#define HAVE_INT64_T_LONG_LONG 1" >>confdefs.h
19269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long_long" >&5
19270 $as_echo "$glibcxx_cv_int64_t_long_long" >&6; }
19274 ac_ext=c
19275 ac_cpp='$CPP $CPPFLAGS'
19276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19282 # For LFS support.
19285 ac_ext=cpp
19286 ac_cpp='$CXXCPP $CPPFLAGS'
19287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19291 ac_save_CXXFLAGS="$CXXFLAGS"
19292 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LFS support" >&5
19294 $as_echo_n "checking for LFS support... " >&6; }
19295 if ${glibcxx_cv_LFS+:} false; then :
19296 $as_echo_n "(cached) " >&6
19297 else
19299 if test x$gcc_no_link = xyes; then
19300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19301 /* end confdefs.h. */
19302 #include <unistd.h>
19303 #include <stdio.h>
19304 #include <sys/stat.h>
19307 main ()
19309 FILE* fp;
19310 fopen64("t", "w");
19311 fseeko64(fp, 0, SEEK_CUR);
19312 ftello64(fp);
19313 lseek64(1, 0, SEEK_CUR);
19314 struct stat64 buf;
19315 fstat64(1, &buf);
19317 return 0;
19319 _ACEOF
19320 if ac_fn_cxx_try_compile "$LINENO"; then :
19321 glibcxx_cv_LFS=yes
19322 else
19323 glibcxx_cv_LFS=no
19325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19326 else
19327 if test x$gcc_no_link = xyes; then
19328 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19331 /* end confdefs.h. */
19332 #include <unistd.h>
19333 #include <stdio.h>
19334 #include <sys/stat.h>
19337 main ()
19339 FILE* fp;
19340 fopen64("t", "w");
19341 fseeko64(fp, 0, SEEK_CUR);
19342 ftello64(fp);
19343 lseek64(1, 0, SEEK_CUR);
19344 struct stat64 buf;
19345 fstat64(1, &buf);
19347 return 0;
19349 _ACEOF
19350 if ac_fn_cxx_try_link "$LINENO"; then :
19351 glibcxx_cv_LFS=yes
19352 else
19353 glibcxx_cv_LFS=no
19355 rm -f core conftest.err conftest.$ac_objext \
19356 conftest$ac_exeext conftest.$ac_ext
19361 if test $glibcxx_cv_LFS = yes; then
19363 $as_echo "#define _GLIBCXX_USE_LFS 1" >>confdefs.h
19366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_LFS" >&5
19367 $as_echo "$glibcxx_cv_LFS" >&6; }
19368 CXXFLAGS="$ac_save_CXXFLAGS"
19369 ac_ext=c
19370 ac_cpp='$CPP $CPPFLAGS'
19371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19377 # For showmanyc_helper().
19378 for ac_header in sys/ioctl.h sys/filio.h
19379 do :
19380 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19381 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19382 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
19383 cat >>confdefs.h <<_ACEOF
19384 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19385 _ACEOF
19389 done
19394 ac_ext=cpp
19395 ac_cpp='$CXXCPP $CPPFLAGS'
19396 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19397 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19398 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19400 ac_save_CXXFLAGS="$CXXFLAGS"
19401 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll" >&5
19404 $as_echo_n "checking for poll... " >&6; }
19405 if ${glibcxx_cv_POLL+:} false; then :
19406 $as_echo_n "(cached) " >&6
19407 else
19409 if test x$gcc_no_link = xyes; then
19410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19411 /* end confdefs.h. */
19412 #include <poll.h>
19414 main ()
19416 struct pollfd pfd[1];
19417 pfd[0].events = POLLIN;
19418 poll(pfd, 1, 0);
19420 return 0;
19422 _ACEOF
19423 if ac_fn_cxx_try_compile "$LINENO"; then :
19424 glibcxx_cv_POLL=yes
19425 else
19426 glibcxx_cv_POLL=no
19428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19429 else
19430 if test x$gcc_no_link = xyes; then
19431 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19434 /* end confdefs.h. */
19435 #include <poll.h>
19437 main ()
19439 struct pollfd pfd[1];
19440 pfd[0].events = POLLIN;
19441 poll(pfd, 1, 0);
19443 return 0;
19445 _ACEOF
19446 if ac_fn_cxx_try_link "$LINENO"; then :
19447 glibcxx_cv_POLL=yes
19448 else
19449 glibcxx_cv_POLL=no
19451 rm -f core conftest.err conftest.$ac_objext \
19452 conftest$ac_exeext conftest.$ac_ext
19457 if test $glibcxx_cv_POLL = yes; then
19459 $as_echo "#define HAVE_POLL 1" >>confdefs.h
19462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_POLL" >&5
19463 $as_echo "$glibcxx_cv_POLL" >&6; }
19465 CXXFLAGS="$ac_save_CXXFLAGS"
19466 ac_ext=c
19467 ac_cpp='$CPP $CPPFLAGS'
19468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19476 ac_ext=cpp
19477 ac_cpp='$CXXCPP $CPPFLAGS'
19478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19482 ac_save_CXXFLAGS="$CXXFLAGS"
19483 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for S_ISREG or S_IFREG" >&5
19486 $as_echo_n "checking for S_ISREG or S_IFREG... " >&6; }
19487 if ${glibcxx_cv_S_ISREG+:} false; then :
19488 $as_echo_n "(cached) " >&6
19489 else
19491 if test x$gcc_no_link = xyes; then
19492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19493 /* end confdefs.h. */
19494 #include <sys/stat.h>
19496 main ()
19498 struct stat buffer;
19499 fstat(0, &buffer);
19500 S_ISREG(buffer.st_mode);
19502 return 0;
19504 _ACEOF
19505 if ac_fn_cxx_try_compile "$LINENO"; then :
19506 glibcxx_cv_S_ISREG=yes
19507 else
19508 glibcxx_cv_S_ISREG=no
19510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19511 else
19512 if test x$gcc_no_link = xyes; then
19513 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19516 /* end confdefs.h. */
19517 #include <sys/stat.h>
19519 main ()
19521 struct stat buffer;
19522 fstat(0, &buffer);
19523 S_ISREG(buffer.st_mode);
19525 return 0;
19527 _ACEOF
19528 if ac_fn_cxx_try_link "$LINENO"; then :
19529 glibcxx_cv_S_ISREG=yes
19530 else
19531 glibcxx_cv_S_ISREG=no
19533 rm -f core conftest.err conftest.$ac_objext \
19534 conftest$ac_exeext conftest.$ac_ext
19539 if ${glibcxx_cv_S_IFREG+:} false; then :
19540 $as_echo_n "(cached) " >&6
19541 else
19543 if test x$gcc_no_link = xyes; then
19544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19545 /* end confdefs.h. */
19546 #include <sys/stat.h>
19548 main ()
19550 struct stat buffer;
19551 fstat(0, &buffer);
19552 S_IFREG & buffer.st_mode;
19554 return 0;
19556 _ACEOF
19557 if ac_fn_cxx_try_compile "$LINENO"; then :
19558 glibcxx_cv_S_IFREG=yes
19559 else
19560 glibcxx_cv_S_IFREG=no
19562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19563 else
19564 if test x$gcc_no_link = xyes; then
19565 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19568 /* end confdefs.h. */
19569 #include <sys/stat.h>
19571 main ()
19573 struct stat buffer;
19574 fstat(0, &buffer);
19575 S_IFREG & buffer.st_mode;
19577 return 0;
19579 _ACEOF
19580 if ac_fn_cxx_try_link "$LINENO"; then :
19581 glibcxx_cv_S_IFREG=yes
19582 else
19583 glibcxx_cv_S_IFREG=no
19585 rm -f core conftest.err conftest.$ac_objext \
19586 conftest$ac_exeext conftest.$ac_ext
19591 res=no
19592 if test $glibcxx_cv_S_ISREG = yes; then
19594 $as_echo "#define HAVE_S_ISREG 1" >>confdefs.h
19596 res=S_ISREG
19597 elif test $glibcxx_cv_S_IFREG = yes; then
19599 $as_echo "#define HAVE_S_IFREG 1" >>confdefs.h
19601 res=S_IFREG
19603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
19604 $as_echo "$res" >&6; }
19606 CXXFLAGS="$ac_save_CXXFLAGS"
19607 ac_ext=c
19608 ac_cpp='$CPP $CPPFLAGS'
19609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19615 # For xsputn_2().
19616 for ac_header in sys/uio.h
19617 do :
19618 ac_fn_c_check_header_mongrel "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
19619 if test "x$ac_cv_header_sys_uio_h" = xyes; then :
19620 cat >>confdefs.h <<_ACEOF
19621 #define HAVE_SYS_UIO_H 1
19622 _ACEOF
19626 done
19631 ac_ext=cpp
19632 ac_cpp='$CXXCPP $CPPFLAGS'
19633 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19634 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19635 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19637 ac_save_CXXFLAGS="$CXXFLAGS"
19638 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for writev" >&5
19641 $as_echo_n "checking for writev... " >&6; }
19642 if ${glibcxx_cv_WRITEV+:} false; then :
19643 $as_echo_n "(cached) " >&6
19644 else
19646 if test x$gcc_no_link = xyes; then
19647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19648 /* end confdefs.h. */
19649 #include <sys/uio.h>
19651 main ()
19653 struct iovec iov[2];
19654 writev(0, iov, 0);
19656 return 0;
19658 _ACEOF
19659 if ac_fn_cxx_try_compile "$LINENO"; then :
19660 glibcxx_cv_WRITEV=yes
19661 else
19662 glibcxx_cv_WRITEV=no
19664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19665 else
19666 if test x$gcc_no_link = xyes; then
19667 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19670 /* end confdefs.h. */
19671 #include <sys/uio.h>
19673 main ()
19675 struct iovec iov[2];
19676 writev(0, iov, 0);
19678 return 0;
19680 _ACEOF
19681 if ac_fn_cxx_try_link "$LINENO"; then :
19682 glibcxx_cv_WRITEV=yes
19683 else
19684 glibcxx_cv_WRITEV=no
19686 rm -f core conftest.err conftest.$ac_objext \
19687 conftest$ac_exeext conftest.$ac_ext
19692 if test $glibcxx_cv_WRITEV = yes; then
19694 $as_echo "#define HAVE_WRITEV 1" >>confdefs.h
19697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_WRITEV" >&5
19698 $as_echo "$glibcxx_cv_WRITEV" >&6; }
19700 CXXFLAGS="$ac_save_CXXFLAGS"
19701 ac_ext=c
19702 ac_cpp='$CPP $CPPFLAGS'
19703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19709 # Check for fenv.h and complex.h before GLIBCXX_CHECK_C99_TR1
19710 # so that the check is done with the C compiler (not C++).
19711 # Checking with C++ can break a canadian cross build if either
19712 # file does not exist in C but does in C++.
19713 for ac_header in fenv.h complex.h
19714 do :
19715 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19716 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19717 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
19718 cat >>confdefs.h <<_ACEOF
19719 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19720 _ACEOF
19724 done
19727 # For C99 support to TR1.
19731 ac_ext=cpp
19732 ac_cpp='$CXXCPP $CPPFLAGS'
19733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19738 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
19739 # undefined and fake C99 facilities may be spuriously enabled.
19740 ac_save_CXXFLAGS="$CXXFLAGS"
19741 CXXFLAGS="$CXXFLAGS -std=c++98"
19743 # Check for the existence of <complex.h> complex math functions used
19744 # by tr1/complex.
19745 for ac_header in complex.h
19746 do :
19747 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
19748 if test "x$ac_cv_header_complex_h" = xyes; then :
19749 cat >>confdefs.h <<_ACEOF
19750 #define HAVE_COMPLEX_H 1
19751 _ACEOF
19752 ac_has_complex_h=yes
19753 else
19754 ac_has_complex_h=no
19757 done
19759 ac_c99_complex_tr1=no;
19760 if test x"$ac_has_complex_h" = x"yes"; then
19761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <complex.h>" >&5
19762 $as_echo_n "checking for ISO C99 support to TR1 in <complex.h>... " >&6; }
19763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19764 /* end confdefs.h. */
19765 #include <complex.h>
19767 main ()
19769 typedef __complex__ float float_type; float_type tmpf;
19770 cacosf(tmpf);
19771 casinf(tmpf);
19772 catanf(tmpf);
19773 cacoshf(tmpf);
19774 casinhf(tmpf);
19775 catanhf(tmpf);
19776 typedef __complex__ double double_type; double_type tmpd;
19777 cacos(tmpd);
19778 casin(tmpd);
19779 catan(tmpd);
19780 cacosh(tmpd);
19781 casinh(tmpd);
19782 catanh(tmpd);
19783 typedef __complex__ long double ld_type; ld_type tmpld;
19784 cacosl(tmpld);
19785 casinl(tmpld);
19786 catanl(tmpld);
19787 cacoshl(tmpld);
19788 casinhl(tmpld);
19789 catanhl(tmpld);
19792 return 0;
19794 _ACEOF
19795 if ac_fn_cxx_try_compile "$LINENO"; then :
19796 ac_c99_complex_tr1=yes
19797 else
19798 ac_c99_complex_tr1=no
19800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_complex_tr1" >&5
19803 $as_echo "$ac_c99_complex_tr1" >&6; }
19804 if test x"$ac_c99_complex_tr1" = x"yes"; then
19806 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX_TR1 1" >>confdefs.h
19810 # Check for the existence of <ctype.h> functions.
19811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <ctype.h>" >&5
19812 $as_echo_n "checking for ISO C99 support to TR1 in <ctype.h>... " >&6; }
19813 if ${glibcxx_cv_c99_ctype_tr1+:} false; then :
19814 $as_echo_n "(cached) " >&6
19815 else
19817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19818 /* end confdefs.h. */
19819 #include <ctype.h>
19821 main ()
19823 int ch;
19824 int ret;
19825 ret = isblank(ch);
19828 return 0;
19830 _ACEOF
19831 if ac_fn_cxx_try_compile "$LINENO"; then :
19832 glibcxx_cv_c99_ctype_tr1=yes
19833 else
19834 glibcxx_cv_c99_ctype_tr1=no
19836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_ctype_tr1" >&5
19841 $as_echo "$glibcxx_cv_c99_ctype_tr1" >&6; }
19842 if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
19844 $as_echo "#define _GLIBCXX_USE_C99_CTYPE_TR1 1" >>confdefs.h
19848 # Check for the existence of <fenv.h> functions.
19849 for ac_header in fenv.h
19850 do :
19851 ac_fn_cxx_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
19852 if test "x$ac_cv_header_fenv_h" = xyes; then :
19853 cat >>confdefs.h <<_ACEOF
19854 #define HAVE_FENV_H 1
19855 _ACEOF
19856 ac_has_fenv_h=yes
19857 else
19858 ac_has_fenv_h=no
19861 done
19863 ac_c99_fenv_tr1=no;
19864 if test x"$ac_has_fenv_h" = x"yes"; then
19865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <fenv.h>" >&5
19866 $as_echo_n "checking for ISO C99 support to TR1 in <fenv.h>... " >&6; }
19867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19868 /* end confdefs.h. */
19869 #include <fenv.h>
19871 main ()
19873 int except, mode;
19874 fexcept_t* pflag;
19875 fenv_t* penv;
19876 int ret;
19877 ret = feclearexcept(except);
19878 ret = fegetexceptflag(pflag, except);
19879 ret = feraiseexcept(except);
19880 ret = fesetexceptflag(pflag, except);
19881 ret = fetestexcept(except);
19882 ret = fegetround();
19883 ret = fesetround(mode);
19884 ret = fegetenv(penv);
19885 ret = feholdexcept(penv);
19886 ret = fesetenv(penv);
19887 ret = feupdateenv(penv);
19890 return 0;
19892 _ACEOF
19893 if ac_fn_cxx_try_compile "$LINENO"; then :
19894 ac_c99_fenv_tr1=yes
19895 else
19896 ac_c99_fenv_tr1=no
19898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_fenv_tr1" >&5
19901 $as_echo "$ac_c99_fenv_tr1" >&6; }
19902 if test x"$ac_c99_fenv_tr1" = x"yes"; then
19904 $as_echo "#define _GLIBCXX_USE_C99_FENV_TR1 1" >>confdefs.h
19908 # Check for the existence of <stdint.h> types.
19909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <stdint.h>" >&5
19910 $as_echo_n "checking for ISO C99 support to TR1 in <stdint.h>... " >&6; }
19911 if ${glibcxx_cv_c99_stdint_tr1+:} false; then :
19912 $as_echo_n "(cached) " >&6
19913 else
19915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19916 /* end confdefs.h. */
19917 #define __STDC_LIMIT_MACROS
19918 #define __STDC_CONSTANT_MACROS
19919 #include <stdint.h>
19921 main ()
19923 typedef int8_t my_int8_t;
19924 my_int8_t i8 = INT8_MIN;
19925 i8 = INT8_MAX;
19926 typedef int16_t my_int16_t;
19927 my_int16_t i16 = INT16_MIN;
19928 i16 = INT16_MAX;
19929 typedef int32_t my_int32_t;
19930 my_int32_t i32 = INT32_MIN;
19931 i32 = INT32_MAX;
19932 typedef int64_t my_int64_t;
19933 my_int64_t i64 = INT64_MIN;
19934 i64 = INT64_MAX;
19935 typedef int_fast8_t my_int_fast8_t;
19936 my_int_fast8_t if8 = INT_FAST8_MIN;
19937 if8 = INT_FAST8_MAX;
19938 typedef int_fast16_t my_int_fast16_t;
19939 my_int_fast16_t if16 = INT_FAST16_MIN;
19940 if16 = INT_FAST16_MAX;
19941 typedef int_fast32_t my_int_fast32_t;
19942 my_int_fast32_t if32 = INT_FAST32_MIN;
19943 if32 = INT_FAST32_MAX;
19944 typedef int_fast64_t my_int_fast64_t;
19945 my_int_fast64_t if64 = INT_FAST64_MIN;
19946 if64 = INT_FAST64_MAX;
19947 typedef int_least8_t my_int_least8_t;
19948 my_int_least8_t il8 = INT_LEAST8_MIN;
19949 il8 = INT_LEAST8_MAX;
19950 typedef int_least16_t my_int_least16_t;
19951 my_int_least16_t il16 = INT_LEAST16_MIN;
19952 il16 = INT_LEAST16_MAX;
19953 typedef int_least32_t my_int_least32_t;
19954 my_int_least32_t il32 = INT_LEAST32_MIN;
19955 il32 = INT_LEAST32_MAX;
19956 typedef int_least64_t my_int_least64_t;
19957 my_int_least64_t il64 = INT_LEAST64_MIN;
19958 il64 = INT_LEAST64_MAX;
19959 typedef intmax_t my_intmax_t;
19960 my_intmax_t im = INTMAX_MAX;
19961 im = INTMAX_MIN;
19962 typedef intptr_t my_intptr_t;
19963 my_intptr_t ip = INTPTR_MAX;
19964 ip = INTPTR_MIN;
19965 typedef uint8_t my_uint8_t;
19966 my_uint8_t ui8 = UINT8_MAX;
19967 ui8 = UINT8_MAX;
19968 typedef uint16_t my_uint16_t;
19969 my_uint16_t ui16 = UINT16_MAX;
19970 ui16 = UINT16_MAX;
19971 typedef uint32_t my_uint32_t;
19972 my_uint32_t ui32 = UINT32_MAX;
19973 ui32 = UINT32_MAX;
19974 typedef uint64_t my_uint64_t;
19975 my_uint64_t ui64 = UINT64_MAX;
19976 ui64 = UINT64_MAX;
19977 typedef uint_fast8_t my_uint_fast8_t;
19978 my_uint_fast8_t uif8 = UINT_FAST8_MAX;
19979 uif8 = UINT_FAST8_MAX;
19980 typedef uint_fast16_t my_uint_fast16_t;
19981 my_uint_fast16_t uif16 = UINT_FAST16_MAX;
19982 uif16 = UINT_FAST16_MAX;
19983 typedef uint_fast32_t my_uint_fast32_t;
19984 my_uint_fast32_t uif32 = UINT_FAST32_MAX;
19985 uif32 = UINT_FAST32_MAX;
19986 typedef uint_fast64_t my_uint_fast64_t;
19987 my_uint_fast64_t uif64 = UINT_FAST64_MAX;
19988 uif64 = UINT_FAST64_MAX;
19989 typedef uint_least8_t my_uint_least8_t;
19990 my_uint_least8_t uil8 = UINT_LEAST8_MAX;
19991 uil8 = UINT_LEAST8_MAX;
19992 typedef uint_least16_t my_uint_least16_t;
19993 my_uint_least16_t uil16 = UINT_LEAST16_MAX;
19994 uil16 = UINT_LEAST16_MAX;
19995 typedef uint_least32_t my_uint_least32_t;
19996 my_uint_least32_t uil32 = UINT_LEAST32_MAX;
19997 uil32 = UINT_LEAST32_MAX;
19998 typedef uint_least64_t my_uint_least64_t;
19999 my_uint_least64_t uil64 = UINT_LEAST64_MAX;
20000 uil64 = UINT_LEAST64_MAX;
20001 typedef uintmax_t my_uintmax_t;
20002 my_uintmax_t uim = UINTMAX_MAX;
20003 uim = UINTMAX_MAX;
20004 typedef uintptr_t my_uintptr_t;
20005 my_uintptr_t uip = UINTPTR_MAX;
20006 uip = UINTPTR_MAX;
20009 return 0;
20011 _ACEOF
20012 if ac_fn_cxx_try_compile "$LINENO"; then :
20013 glibcxx_cv_c99_stdint_tr1=yes
20014 else
20015 glibcxx_cv_c99_stdint_tr1=no
20017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdint_tr1" >&5
20022 $as_echo "$glibcxx_cv_c99_stdint_tr1" >&6; }
20023 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
20025 $as_echo "#define _GLIBCXX_USE_C99_STDINT_TR1 1" >>confdefs.h
20029 # Check for the existence of <math.h> functions.
20030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <math.h>" >&5
20031 $as_echo_n "checking for ISO C99 support to TR1 in <math.h>... " >&6; }
20032 if ${glibcxx_cv_c99_math_tr1+:} false; then :
20033 $as_echo_n "(cached) " >&6
20034 else
20036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20037 /* end confdefs.h. */
20038 #include <math.h>
20040 main ()
20042 typedef double_t my_double_t;
20043 typedef float_t my_float_t;
20044 acosh(0.0);
20045 acoshf(0.0f);
20046 acoshl(0.0l);
20047 asinh(0.0);
20048 asinhf(0.0f);
20049 asinhl(0.0l);
20050 atanh(0.0);
20051 atanhf(0.0f);
20052 atanhl(0.0l);
20053 cbrt(0.0);
20054 cbrtf(0.0f);
20055 cbrtl(0.0l);
20056 copysign(0.0, 0.0);
20057 copysignf(0.0f, 0.0f);
20058 copysignl(0.0l, 0.0l);
20059 erf(0.0);
20060 erff(0.0f);
20061 erfl(0.0l);
20062 erfc(0.0);
20063 erfcf(0.0f);
20064 erfcl(0.0l);
20065 exp2(0.0);
20066 exp2f(0.0f);
20067 exp2l(0.0l);
20068 expm1(0.0);
20069 expm1f(0.0f);
20070 expm1l(0.0l);
20071 fdim(0.0, 0.0);
20072 fdimf(0.0f, 0.0f);
20073 fdiml(0.0l, 0.0l);
20074 fma(0.0, 0.0, 0.0);
20075 fmaf(0.0f, 0.0f, 0.0f);
20076 fmal(0.0l, 0.0l, 0.0l);
20077 fmax(0.0, 0.0);
20078 fmaxf(0.0f, 0.0f);
20079 fmaxl(0.0l, 0.0l);
20080 fmin(0.0, 0.0);
20081 fminf(0.0f, 0.0f);
20082 fminl(0.0l, 0.0l);
20083 hypot(0.0, 0.0);
20084 hypotf(0.0f, 0.0f);
20085 hypotl(0.0l, 0.0l);
20086 ilogb(0.0);
20087 ilogbf(0.0f);
20088 ilogbl(0.0l);
20089 lgamma(0.0);
20090 lgammaf(0.0f);
20091 lgammal(0.0l);
20092 #ifndef __APPLE__ /* see below */
20093 llrint(0.0);
20094 llrintf(0.0f);
20095 llrintl(0.0l);
20096 llround(0.0);
20097 llroundf(0.0f);
20098 llroundl(0.0l);
20099 #endif
20100 log1p(0.0);
20101 log1pf(0.0f);
20102 log1pl(0.0l);
20103 log2(0.0);
20104 log2f(0.0f);
20105 log2l(0.0l);
20106 logb(0.0);
20107 logbf(0.0f);
20108 logbl(0.0l);
20109 lrint(0.0);
20110 lrintf(0.0f);
20111 lrintl(0.0l);
20112 lround(0.0);
20113 lroundf(0.0f);
20114 lroundl(0.0l);
20115 nan(0);
20116 nanf(0);
20117 nanl(0);
20118 nearbyint(0.0);
20119 nearbyintf(0.0f);
20120 nearbyintl(0.0l);
20121 nextafter(0.0, 0.0);
20122 nextafterf(0.0f, 0.0f);
20123 nextafterl(0.0l, 0.0l);
20124 nexttoward(0.0, 0.0);
20125 nexttowardf(0.0f, 0.0f);
20126 nexttowardl(0.0l, 0.0l);
20127 remainder(0.0, 0.0);
20128 remainderf(0.0f, 0.0f);
20129 remainderl(0.0l, 0.0l);
20130 remquo(0.0, 0.0, 0);
20131 remquof(0.0f, 0.0f, 0);
20132 remquol(0.0l, 0.0l, 0);
20133 rint(0.0);
20134 rintf(0.0f);
20135 rintl(0.0l);
20136 round(0.0);
20137 roundf(0.0f);
20138 roundl(0.0l);
20139 scalbln(0.0, 0l);
20140 scalblnf(0.0f, 0l);
20141 scalblnl(0.0l, 0l);
20142 scalbn(0.0, 0);
20143 scalbnf(0.0f, 0);
20144 scalbnl(0.0l, 0);
20145 tgamma(0.0);
20146 tgammaf(0.0f);
20147 tgammal(0.0l);
20148 trunc(0.0);
20149 truncf(0.0f);
20150 truncl(0.0l);
20153 return 0;
20155 _ACEOF
20156 if ac_fn_cxx_try_compile "$LINENO"; then :
20157 glibcxx_cv_c99_math_tr1=yes
20158 else
20159 glibcxx_cv_c99_math_tr1=no
20161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_tr1" >&5
20166 $as_echo "$glibcxx_cv_c99_math_tr1" >&6; }
20167 if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
20169 $as_echo "#define _GLIBCXX_USE_C99_MATH_TR1 1" >>confdefs.h
20172 case "${target_os}" in
20173 darwin*)
20174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 rounding functions in <math.h>" >&5
20175 $as_echo_n "checking for ISO C99 rounding functions in <math.h>... " >&6; }
20176 if ${glibcxx_cv_c99_math_llround+:} false; then :
20177 $as_echo_n "(cached) " >&6
20178 else
20180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20181 /* end confdefs.h. */
20182 #include <math.h>
20184 main ()
20186 llrint(0.0);
20187 llrintf(0.0f);
20188 llrintl(0.0l);
20189 llround(0.0);
20190 llroundf(0.0f);
20191 llroundl(0.0l);
20194 return 0;
20196 _ACEOF
20197 if ac_fn_cxx_try_compile "$LINENO"; then :
20198 glibcxx_cv_c99_math_llround=yes
20199 else
20200 glibcxx_cv_c99_math_llround=no
20202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_llround" >&5
20207 $as_echo "$glibcxx_cv_c99_math_llround" >&6; }
20209 esac
20210 if test x"$glibcxx_cv_c99_math_llround" = x"no"; then
20212 $as_echo "#define _GLIBCXX_NO_C99_ROUNDING_FUNCS 1" >>confdefs.h
20217 # Check for the existence of <inttypes.h> functions (NB: doesn't make
20218 # sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
20219 ac_c99_inttypes_tr1=no;
20220 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
20221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
20222 $as_echo_n "checking for ISO C99 support to TR1 in <inttypes.h>... " >&6; }
20223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20224 /* end confdefs.h. */
20225 #include <inttypes.h>
20227 main ()
20229 intmax_t i, numer, denom, base;
20230 const char* s;
20231 char** endptr;
20232 intmax_t ret = imaxabs(i);
20233 imaxdiv_t dret = imaxdiv(numer, denom);
20234 ret = strtoimax(s, endptr, base);
20235 uintmax_t uret = strtoumax(s, endptr, base);
20238 return 0;
20240 _ACEOF
20241 if ac_fn_cxx_try_compile "$LINENO"; then :
20242 ac_c99_inttypes_tr1=yes
20243 else
20244 ac_c99_inttypes_tr1=no
20246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_tr1" >&5
20249 $as_echo "$ac_c99_inttypes_tr1" >&6; }
20250 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
20252 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_TR1 1" >>confdefs.h
20256 # Check for the existence of wchar_t <inttypes.h> functions (NB: doesn't
20257 # make sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
20258 ac_c99_inttypes_wchar_t_tr1=no;
20259 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
20260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t ISO C99 support to TR1 in <inttypes.h>" >&5
20261 $as_echo_n "checking for wchar_t ISO C99 support to TR1 in <inttypes.h>... " >&6; }
20262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20263 /* end confdefs.h. */
20264 #include <inttypes.h>
20266 main ()
20268 intmax_t base;
20269 const wchar_t* s;
20270 wchar_t** endptr;
20271 intmax_t ret = wcstoimax(s, endptr, base);
20272 uintmax_t uret = wcstoumax(s, endptr, base);
20275 return 0;
20277 _ACEOF
20278 if ac_fn_cxx_try_compile "$LINENO"; then :
20279 ac_c99_inttypes_wchar_t_tr1=yes
20280 else
20281 ac_c99_inttypes_wchar_t_tr1=no
20283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_wchar_t_tr1" >&5
20286 $as_echo "$ac_c99_inttypes_wchar_t_tr1" >&6; }
20287 if test x"$ac_c99_inttypes_wchar_t_tr1" = x"yes"; then
20289 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1 1" >>confdefs.h
20293 # Check for the existence of the <stdbool.h> header.
20294 for ac_header in stdbool.h
20295 do :
20296 ac_fn_cxx_check_header_mongrel "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
20297 if test "x$ac_cv_header_stdbool_h" = xyes; then :
20298 cat >>confdefs.h <<_ACEOF
20299 #define HAVE_STDBOOL_H 1
20300 _ACEOF
20304 done
20307 # Check for the existence of the <stdalign.h> header.
20308 for ac_header in stdalign.h
20309 do :
20310 ac_fn_cxx_check_header_mongrel "$LINENO" "stdalign.h" "ac_cv_header_stdalign_h" "$ac_includes_default"
20311 if test "x$ac_cv_header_stdalign_h" = xyes; then :
20312 cat >>confdefs.h <<_ACEOF
20313 #define HAVE_STDALIGN_H 1
20314 _ACEOF
20318 done
20321 CXXFLAGS="$ac_save_CXXFLAGS"
20322 ac_ext=c
20323 ac_cpp='$CPP $CPPFLAGS'
20324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20330 # For the EOF, SEEK_CUR, and SEEK_END integer constants.
20333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of EOF" >&5
20334 $as_echo_n "checking for the value of EOF... " >&6; }
20335 if ${glibcxx_cv_stdio_eof+:} false; then :
20336 $as_echo_n "(cached) " >&6
20337 else
20339 if ac_fn_c_compute_int "$LINENO" "EOF" "glibcxx_cv_stdio_eof" "#include <stdio.h>"; then :
20341 else
20342 as_fn_error $? "computing EOF failed" "$LINENO" 5
20347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_eof" >&5
20348 $as_echo "$glibcxx_cv_stdio_eof" >&6; }
20350 cat >>confdefs.h <<_ACEOF
20351 #define _GLIBCXX_STDIO_EOF $glibcxx_cv_stdio_eof
20352 _ACEOF
20355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_CUR" >&5
20356 $as_echo_n "checking for the value of SEEK_CUR... " >&6; }
20357 if ${glibcxx_cv_stdio_seek_cur+:} false; then :
20358 $as_echo_n "(cached) " >&6
20359 else
20361 if ac_fn_c_compute_int "$LINENO" "SEEK_CUR" "glibcxx_cv_stdio_seek_cur" "#include <stdio.h>"; then :
20363 else
20364 as_fn_error $? "computing SEEK_CUR failed" "$LINENO" 5
20369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_cur" >&5
20370 $as_echo "$glibcxx_cv_stdio_seek_cur" >&6; }
20372 cat >>confdefs.h <<_ACEOF
20373 #define _GLIBCXX_STDIO_SEEK_CUR $glibcxx_cv_stdio_seek_cur
20374 _ACEOF
20377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_END" >&5
20378 $as_echo_n "checking for the value of SEEK_END... " >&6; }
20379 if ${glibcxx_cv_stdio_seek_end+:} false; then :
20380 $as_echo_n "(cached) " >&6
20381 else
20383 if ac_fn_c_compute_int "$LINENO" "SEEK_END" "glibcxx_cv_stdio_seek_end" "#include <stdio.h>"; then :
20385 else
20386 as_fn_error $? "computing SEEK_END failed" "$LINENO" 5
20391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_end" >&5
20392 $as_echo "$glibcxx_cv_stdio_seek_end" >&6; }
20394 cat >>confdefs.h <<_ACEOF
20395 #define _GLIBCXX_STDIO_SEEK_END $glibcxx_cv_stdio_seek_end
20396 _ACEOF
20400 # For gettimeofday support.
20403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
20404 $as_echo_n "checking for gettimeofday... " >&6; }
20407 ac_ext=cpp
20408 ac_cpp='$CXXCPP $CPPFLAGS'
20409 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20410 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20411 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20413 ac_save_CXXFLAGS="$CXXFLAGS"
20414 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20416 ac_has_gettimeofday=no;
20417 for ac_header in sys/time.h
20418 do :
20419 ac_fn_cxx_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
20420 if test "x$ac_cv_header_sys_time_h" = xyes; then :
20421 cat >>confdefs.h <<_ACEOF
20422 #define HAVE_SYS_TIME_H 1
20423 _ACEOF
20424 ac_has_sys_time_h=yes
20425 else
20426 ac_has_sys_time_h=no
20429 done
20431 if test x"$ac_has_sys_time_h" = x"yes"; then
20432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
20433 $as_echo_n "checking for gettimeofday... " >&6; }
20434 if test x$gcc_no_link = xyes; then
20435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20436 /* end confdefs.h. */
20437 #include <sys/time.h>
20439 main ()
20441 timeval tv; gettimeofday(&tv, 0);
20443 return 0;
20445 _ACEOF
20446 if ac_fn_cxx_try_compile "$LINENO"; then :
20447 ac_has_gettimeofday=yes
20448 else
20449 ac_has_gettimeofday=no
20451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20452 else
20453 if test x$gcc_no_link = xyes; then
20454 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20457 /* end confdefs.h. */
20458 #include <sys/time.h>
20460 main ()
20462 timeval tv; gettimeofday(&tv, 0);
20464 return 0;
20466 _ACEOF
20467 if ac_fn_cxx_try_link "$LINENO"; then :
20468 ac_has_gettimeofday=yes
20469 else
20470 ac_has_gettimeofday=no
20472 rm -f core conftest.err conftest.$ac_objext \
20473 conftest$ac_exeext conftest.$ac_ext
20476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gettimeofday" >&5
20477 $as_echo "$ac_has_gettimeofday" >&6; }
20480 if test x"$ac_has_gettimeofday" = x"yes"; then
20482 $as_echo "#define _GLIBCXX_USE_GETTIMEOFDAY 1" >>confdefs.h
20486 CXXFLAGS="$ac_save_CXXFLAGS"
20487 ac_ext=c
20488 ac_cpp='$CPP $CPPFLAGS'
20489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20495 # For clock_gettime, nanosleep and sched_yield support.
20498 # Check whether --enable-libstdcxx-time was given.
20499 if test "${enable_libstdcxx_time+set}" = set; then :
20500 enableval=$enable_libstdcxx_time;
20501 case "$enableval" in
20502 yes|no|rt) ;;
20503 *) as_fn_error $? "Unknown argument to enable/disable libstdcxx-time" "$LINENO" 5 ;;
20504 esac
20506 else
20507 enable_libstdcxx_time=auto
20513 ac_ext=cpp
20514 ac_cpp='$CXXCPP $CPPFLAGS'
20515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20519 ac_save_CXXFLAGS="$CXXFLAGS"
20520 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20521 ac_save_LIBS="$LIBS"
20523 ac_has_clock_monotonic=no
20524 ac_has_clock_realtime=no
20525 ac_has_nanosleep=no
20526 ac_has_sched_yield=no
20528 if test x"$enable_libstdcxx_time" = x"auto"; then
20530 case "${target_os}" in
20531 cygwin*)
20532 ac_has_nanosleep=yes
20534 darwin*)
20535 ac_has_nanosleep=yes
20536 ac_has_sched_yield=yes
20538 # VxWorks has nanosleep as soon as the kernel is configured with
20539 # INCLUDE_POSIX_TIMERS, which is normally/most-often the case.
20540 vxworks*)
20541 ac_has_nanosleep=yes
20543 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
20544 # Don't use link test for freestanding library, in case gcc_no_link=yes
20545 if test x"$is_hosted" = xyes; then
20546 # Versions of glibc before 2.17 needed -lrt for clock_gettime.
20547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20548 $as_echo_n "checking for library containing clock_gettime... " >&6; }
20549 if ${ac_cv_search_clock_gettime+:} false; then :
20550 $as_echo_n "(cached) " >&6
20551 else
20552 ac_func_search_save_LIBS=$LIBS
20553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20554 /* end confdefs.h. */
20556 /* Override any GCC internal prototype to avoid an error.
20557 Use char because int might match the return type of a GCC
20558 builtin and then its argument prototype would still apply. */
20559 #ifdef __cplusplus
20560 extern "C"
20561 #endif
20562 char clock_gettime ();
20564 main ()
20566 return clock_gettime ();
20568 return 0;
20570 _ACEOF
20571 for ac_lib in '' rt; do
20572 if test -z "$ac_lib"; then
20573 ac_res="none required"
20574 else
20575 ac_res=-l$ac_lib
20576 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20578 if test x$gcc_no_link = xyes; then
20579 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20581 if ac_fn_cxx_try_link "$LINENO"; then :
20582 ac_cv_search_clock_gettime=$ac_res
20584 rm -f core conftest.err conftest.$ac_objext \
20585 conftest$ac_exeext
20586 if ${ac_cv_search_clock_gettime+:} false; then :
20587 break
20589 done
20590 if ${ac_cv_search_clock_gettime+:} false; then :
20592 else
20593 ac_cv_search_clock_gettime=no
20595 rm conftest.$ac_ext
20596 LIBS=$ac_func_search_save_LIBS
20598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20599 $as_echo "$ac_cv_search_clock_gettime" >&6; }
20600 ac_res=$ac_cv_search_clock_gettime
20601 if test "$ac_res" != no; then :
20602 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20606 if test x"$ac_cv_search_clock_gettime" = x"none required"; then
20607 ac_has_clock_monotonic=yes
20608 ac_has_clock_realtime=yes
20611 ac_has_nanosleep=yes
20612 ac_has_sched_yield=yes
20614 freebsd*|netbsd*|dragonfly*|rtems*)
20615 ac_has_clock_monotonic=yes
20616 ac_has_clock_realtime=yes
20617 ac_has_nanosleep=yes
20618 ac_has_sched_yield=yes
20620 openbsd*)
20621 ac_has_clock_monotonic=yes
20622 ac_has_clock_realtime=yes
20623 ac_has_nanosleep=yes
20625 solaris*)
20626 ac_has_clock_monotonic=yes
20627 ac_has_clock_realtime=yes
20628 ac_has_nanosleep=yes
20629 ac_has_sched_yield=yes
20631 uclinux*)
20632 ac_has_nanosleep=yes
20633 ac_has_sched_yield=yes
20634 esac
20636 elif test x"$enable_libstdcxx_time" != x"no"; then
20638 if test x"$enable_libstdcxx_time" = x"rt"; then
20639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20640 $as_echo_n "checking for library containing clock_gettime... " >&6; }
20641 if ${ac_cv_search_clock_gettime+:} false; then :
20642 $as_echo_n "(cached) " >&6
20643 else
20644 ac_func_search_save_LIBS=$LIBS
20645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20646 /* end confdefs.h. */
20648 /* Override any GCC internal prototype to avoid an error.
20649 Use char because int might match the return type of a GCC
20650 builtin and then its argument prototype would still apply. */
20651 #ifdef __cplusplus
20652 extern "C"
20653 #endif
20654 char clock_gettime ();
20656 main ()
20658 return clock_gettime ();
20660 return 0;
20662 _ACEOF
20663 for ac_lib in '' rt; do
20664 if test -z "$ac_lib"; then
20665 ac_res="none required"
20666 else
20667 ac_res=-l$ac_lib
20668 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20670 if test x$gcc_no_link = xyes; then
20671 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20673 if ac_fn_cxx_try_link "$LINENO"; then :
20674 ac_cv_search_clock_gettime=$ac_res
20676 rm -f core conftest.err conftest.$ac_objext \
20677 conftest$ac_exeext
20678 if ${ac_cv_search_clock_gettime+:} false; then :
20679 break
20681 done
20682 if ${ac_cv_search_clock_gettime+:} false; then :
20684 else
20685 ac_cv_search_clock_gettime=no
20687 rm conftest.$ac_ext
20688 LIBS=$ac_func_search_save_LIBS
20690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20691 $as_echo "$ac_cv_search_clock_gettime" >&6; }
20692 ac_res=$ac_cv_search_clock_gettime
20693 if test "$ac_res" != no; then :
20694 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
20699 $as_echo_n "checking for library containing nanosleep... " >&6; }
20700 if ${ac_cv_search_nanosleep+:} false; then :
20701 $as_echo_n "(cached) " >&6
20702 else
20703 ac_func_search_save_LIBS=$LIBS
20704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20705 /* end confdefs.h. */
20707 /* Override any GCC internal prototype to avoid an error.
20708 Use char because int might match the return type of a GCC
20709 builtin and then its argument prototype would still apply. */
20710 #ifdef __cplusplus
20711 extern "C"
20712 #endif
20713 char nanosleep ();
20715 main ()
20717 return nanosleep ();
20719 return 0;
20721 _ACEOF
20722 for ac_lib in '' rt; do
20723 if test -z "$ac_lib"; then
20724 ac_res="none required"
20725 else
20726 ac_res=-l$ac_lib
20727 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20729 if test x$gcc_no_link = xyes; then
20730 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20732 if ac_fn_cxx_try_link "$LINENO"; then :
20733 ac_cv_search_nanosleep=$ac_res
20735 rm -f core conftest.err conftest.$ac_objext \
20736 conftest$ac_exeext
20737 if ${ac_cv_search_nanosleep+:} false; then :
20738 break
20740 done
20741 if ${ac_cv_search_nanosleep+:} false; then :
20743 else
20744 ac_cv_search_nanosleep=no
20746 rm conftest.$ac_ext
20747 LIBS=$ac_func_search_save_LIBS
20749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
20750 $as_echo "$ac_cv_search_nanosleep" >&6; }
20751 ac_res=$ac_cv_search_nanosleep
20752 if test "$ac_res" != no; then :
20753 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20757 else
20758 ac_fn_cxx_check_func "$LINENO" "clock_gettime" "ac_cv_func_clock_gettime"
20759 if test "x$ac_cv_func_clock_gettime" = xyes; then :
20763 ac_fn_cxx_check_func "$LINENO" "nanosleep" "ac_cv_func_nanosleep"
20764 if test "x$ac_cv_func_nanosleep" = xyes; then :
20770 case "$ac_cv_search_clock_gettime" in
20771 -l*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
20773 esac
20774 case "$ac_cv_search_nanosleep" in
20775 -l*) GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_nanosleep"
20777 esac
20779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
20780 $as_echo_n "checking for library containing sched_yield... " >&6; }
20781 if ${ac_cv_search_sched_yield+:} false; then :
20782 $as_echo_n "(cached) " >&6
20783 else
20784 ac_func_search_save_LIBS=$LIBS
20785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20786 /* end confdefs.h. */
20788 /* Override any GCC internal prototype to avoid an error.
20789 Use char because int might match the return type of a GCC
20790 builtin and then its argument prototype would still apply. */
20791 #ifdef __cplusplus
20792 extern "C"
20793 #endif
20794 char sched_yield ();
20796 main ()
20798 return sched_yield ();
20800 return 0;
20802 _ACEOF
20803 for ac_lib in '' rt; do
20804 if test -z "$ac_lib"; then
20805 ac_res="none required"
20806 else
20807 ac_res=-l$ac_lib
20808 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20810 if test x$gcc_no_link = xyes; then
20811 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20813 if ac_fn_cxx_try_link "$LINENO"; then :
20814 ac_cv_search_sched_yield=$ac_res
20816 rm -f core conftest.err conftest.$ac_objext \
20817 conftest$ac_exeext
20818 if ${ac_cv_search_sched_yield+:} false; then :
20819 break
20821 done
20822 if ${ac_cv_search_sched_yield+:} false; then :
20824 else
20825 ac_cv_search_sched_yield=no
20827 rm conftest.$ac_ext
20828 LIBS=$ac_func_search_save_LIBS
20830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
20831 $as_echo "$ac_cv_search_sched_yield" >&6; }
20832 ac_res=$ac_cv_search_sched_yield
20833 if test "$ac_res" != no; then :
20834 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20839 case "$ac_cv_search_sched_yield" in
20840 -lrt*)
20841 if test x"$enable_libstdcxx_time" = x"rt"; then
20842 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
20843 ac_has_sched_yield=yes
20847 ac_has_sched_yield=yes
20849 esac
20851 for ac_header in unistd.h
20852 do :
20853 ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
20854 if test "x$ac_cv_header_unistd_h" = xyes; then :
20855 cat >>confdefs.h <<_ACEOF
20856 #define HAVE_UNISTD_H 1
20857 _ACEOF
20858 ac_has_unistd_h=yes
20859 else
20860 ac_has_unistd_h=no
20863 done
20866 if test x"$ac_has_unistd_h" = x"yes"; then
20867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock" >&5
20868 $as_echo_n "checking for monotonic clock... " >&6; }
20869 if test x$gcc_no_link = xyes; then
20870 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20873 /* end confdefs.h. */
20874 #include <unistd.h>
20875 #include <time.h>
20878 main ()
20880 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
20881 timespec tp;
20882 #endif
20883 clock_gettime(CLOCK_MONOTONIC, &tp);
20886 return 0;
20888 _ACEOF
20889 if ac_fn_cxx_try_link "$LINENO"; then :
20890 ac_has_clock_monotonic=yes
20891 else
20892 ac_has_clock_monotonic=no
20894 rm -f core conftest.err conftest.$ac_objext \
20895 conftest$ac_exeext conftest.$ac_ext
20897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic" >&5
20898 $as_echo "$ac_has_clock_monotonic" >&6; }
20900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realtime clock" >&5
20901 $as_echo_n "checking for realtime clock... " >&6; }
20902 if test x$gcc_no_link = xyes; then
20903 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20906 /* end confdefs.h. */
20907 #include <unistd.h>
20908 #include <time.h>
20911 main ()
20913 #if _POSIX_TIMERS > 0
20914 timespec tp;
20915 #endif
20916 clock_gettime(CLOCK_REALTIME, &tp);
20919 return 0;
20921 _ACEOF
20922 if ac_fn_cxx_try_link "$LINENO"; then :
20923 ac_has_clock_realtime=yes
20924 else
20925 ac_has_clock_realtime=no
20927 rm -f core conftest.err conftest.$ac_objext \
20928 conftest$ac_exeext conftest.$ac_ext
20930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_realtime" >&5
20931 $as_echo "$ac_has_clock_realtime" >&6; }
20933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep" >&5
20934 $as_echo_n "checking for nanosleep... " >&6; }
20935 if test x$gcc_no_link = xyes; then
20936 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20939 /* end confdefs.h. */
20940 #include <unistd.h>
20941 #include <time.h>
20944 main ()
20946 #if _POSIX_TIMERS > 0
20947 timespec tp;
20948 #endif
20949 nanosleep(&tp, 0);
20952 return 0;
20954 _ACEOF
20955 if ac_fn_cxx_try_link "$LINENO"; then :
20956 ac_has_nanosleep=yes
20957 else
20958 ac_has_nanosleep=no
20960 rm -f core conftest.err conftest.$ac_objext \
20961 conftest$ac_exeext conftest.$ac_ext
20963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_nanosleep" >&5
20964 $as_echo "$ac_has_nanosleep" >&6; }
20968 if test x"$ac_has_clock_monotonic" != x"yes"; then
20969 case ${target_os} in
20970 linux* | uclinux*)
20971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime syscall" >&5
20972 $as_echo_n "checking for clock_gettime syscall... " >&6; }
20973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20974 /* end confdefs.h. */
20975 #include <unistd.h>
20976 #include <time.h>
20977 #include <sys/syscall.h>
20980 main ()
20982 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
20983 timespec tp;
20984 #endif
20985 syscall(SYS_clock_gettime, CLOCK_MONOTONIC, &tp);
20986 syscall(SYS_clock_gettime, CLOCK_REALTIME, &tp);
20989 return 0;
20991 _ACEOF
20992 if ac_fn_cxx_try_compile "$LINENO"; then :
20993 ac_has_clock_gettime_syscall=yes
20994 else
20995 ac_has_clock_gettime_syscall=no
20997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_gettime_syscall" >&5
20999 $as_echo "$ac_has_clock_gettime_syscall" >&6; }
21000 if test x"$ac_has_clock_gettime_syscall" = x"yes"; then
21002 $as_echo "#define _GLIBCXX_USE_CLOCK_GETTIME_SYSCALL 1" >>confdefs.h
21004 ac_has_clock_monotonic=yes
21005 ac_has_clock_realtime=yes
21006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct timespec that matches syscall" >&5
21007 $as_echo_n "checking for struct timespec that matches syscall... " >&6; }
21008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21009 /* end confdefs.h. */
21010 #include <time.h>
21011 #include <sys/syscall.h>
21014 main ()
21016 #ifdef SYS_clock_gettime64
21017 #if SYS_clock_gettime64 != SYS_clock_gettime
21018 // We need to use SYS_clock_gettime and libc appears to
21019 // also know about the SYS_clock_gettime64 syscall.
21020 // Check that userspace doesn't use time64 version of timespec.
21021 static_assert(sizeof(timespec::tv_sec) == sizeof(long),
21022 "struct timespec must be compatible with SYS_clock_gettime");
21023 #endif
21024 #endif
21027 return 0;
21029 _ACEOF
21030 if ac_fn_cxx_try_compile "$LINENO"; then :
21031 ac_timespec_matches_syscall=yes
21032 else
21033 ac_timespec_matches_syscall=no
21035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_timespec_matches_syscall" >&5
21037 $as_echo "$ac_timespec_matches_syscall" >&6; }
21038 if test x"$ac_timespec_matches_syscall" = no; then
21039 as_fn_error $? "struct timespec is not compatible with SYS_clock_gettime, please report a bug to http://gcc.gnu.org/bugzilla" "$LINENO" 5
21041 fi;;
21042 esac
21045 if test x"$ac_has_clock_monotonic" = x"yes"; then
21047 $as_echo "#define _GLIBCXX_USE_CLOCK_MONOTONIC 1" >>confdefs.h
21051 if test x"$ac_has_clock_realtime" = x"yes"; then
21053 $as_echo "#define _GLIBCXX_USE_CLOCK_REALTIME 1" >>confdefs.h
21057 if test x"$ac_has_sched_yield" = x"yes"; then
21059 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
21063 if test x"$ac_has_nanosleep" = x"yes"; then
21065 $as_echo "#define _GLIBCXX_USE_NANOSLEEP 1" >>confdefs.h
21067 else
21068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sleep" >&5
21069 $as_echo_n "checking for sleep... " >&6; }
21070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21071 /* end confdefs.h. */
21072 #include <unistd.h>
21074 main ()
21076 sleep(1)
21078 return 0;
21080 _ACEOF
21081 if ac_fn_cxx_try_compile "$LINENO"; then :
21082 ac_has_sleep=yes
21083 else
21084 ac_has_sleep=no
21086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21087 if test x"$ac_has_sleep" = x"yes"; then
21089 $as_echo "#define HAVE_SLEEP 1" >>confdefs.h
21092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_sleep" >&5
21093 $as_echo "$ac_has_sleep" >&6; }
21094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for usleep" >&5
21095 $as_echo_n "checking for usleep... " >&6; }
21096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21097 /* end confdefs.h. */
21098 #include <unistd.h>
21100 main ()
21102 sleep(1);
21103 usleep(100);
21105 return 0;
21107 _ACEOF
21108 if ac_fn_cxx_try_compile "$LINENO"; then :
21109 ac_has_usleep=yes
21110 else
21111 ac_has_usleep=no
21113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21114 if test x"$ac_has_usleep" = x"yes"; then
21116 $as_echo "#define HAVE_USLEEP 1" >>confdefs.h
21119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_usleep" >&5
21120 $as_echo "$ac_has_usleep" >&6; }
21123 if test x"$ac_has_nanosleep$ac_has_sleep" = x"nono"; then
21124 ac_no_sleep=yes
21125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Sleep" >&5
21126 $as_echo_n "checking for Sleep... " >&6; }
21127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21128 /* end confdefs.h. */
21129 #include <windows.h>
21131 main ()
21133 Sleep(1)
21135 return 0;
21137 _ACEOF
21138 if ac_fn_cxx_try_compile "$LINENO"; then :
21139 ac_has_win32_sleep=yes
21140 else
21141 ac_has_win32_sleep=no
21143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21144 if test x"$ac_has_win32_sleep" = x"yes"; then
21146 $as_echo "#define HAVE_WIN32_SLEEP 1" >>confdefs.h
21148 ac_no_sleep=no
21150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_win32_sleep" >&5
21151 $as_echo "$ac_has_win32_sleep" >&6; }
21154 if test x"$ac_no_sleep" = x"yes"; then
21156 $as_echo "#define NO_SLEEP 1" >>confdefs.h
21162 CXXFLAGS="$ac_save_CXXFLAGS"
21163 LIBS="$ac_save_LIBS"
21164 ac_ext=c
21165 ac_cpp='$CPP $CPPFLAGS'
21166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21172 # Check for tmpnam which is obsolescent in POSIX.1-2008
21174 ac_ext=cpp
21175 ac_cpp='$CXXCPP $CPPFLAGS'
21176 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21177 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21178 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21180 ac_save_CXXFLAGS="$CXXFLAGS"
21181 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tmpnam" >&5
21183 $as_echo_n "checking for tmpnam... " >&6; }
21184 if ${glibcxx_cv_TMPNAM+:} false; then :
21185 $as_echo_n "(cached) " >&6
21186 else
21187 if test x$gcc_no_link = xyes; then
21188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21189 /* end confdefs.h. */
21190 #include <stdio.h>
21192 main ()
21194 char *tmp = tmpnam(NULL);
21196 return 0;
21198 _ACEOF
21199 if ac_fn_cxx_try_compile "$LINENO"; then :
21200 glibcxx_cv_TMPNAM=yes
21201 else
21202 glibcxx_cv_TMPNAM=no
21204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21205 else
21206 if test x$gcc_no_link = xyes; then
21207 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21210 /* end confdefs.h. */
21211 #include <stdio.h>
21213 main ()
21215 char *tmp = tmpnam(NULL);
21217 return 0;
21219 _ACEOF
21220 if ac_fn_cxx_try_link "$LINENO"; then :
21221 glibcxx_cv_TMPNAM=yes
21222 else
21223 glibcxx_cv_TMPNAM=no
21225 rm -f core conftest.err conftest.$ac_objext \
21226 conftest$ac_exeext conftest.$ac_ext
21231 if test $glibcxx_cv_TMPNAM = yes; then
21233 $as_echo "#define _GLIBCXX_USE_TMPNAM 1" >>confdefs.h
21236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_TMPNAM" >&5
21237 $as_echo "$glibcxx_cv_TMPNAM" >&6; }
21238 CXXFLAGS="$ac_save_CXXFLAGS"
21239 ac_ext=c
21240 ac_cpp='$CPP $CPPFLAGS'
21241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21242 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21243 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21247 # For pthread_cond_clockwait
21251 ac_ext=cpp
21252 ac_cpp='$CXXCPP $CPPFLAGS'
21253 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21254 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21255 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21257 ac_save_CXXFLAGS="$CXXFLAGS"
21258 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21259 ac_save_LIBS="$LIBS"
21260 LIBS="$LIBS -lpthread"
21262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_cond_clockwait" >&5
21263 $as_echo_n "checking for pthread_cond_clockwait... " >&6; }
21264 if ${glibcxx_cv_PTHREAD_COND_CLOCKWAIT+:} false; then :
21265 $as_echo_n "(cached) " >&6
21266 else
21268 if test x$gcc_no_link = xyes; then
21269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21270 /* end confdefs.h. */
21271 #include <pthread.h>
21273 main ()
21275 pthread_mutex_t mutex; pthread_cond_t cond; struct timespec ts; int n = pthread_cond_clockwait(&cond, &mutex, 0, &ts);
21277 return 0;
21279 _ACEOF
21280 if ac_fn_cxx_try_compile "$LINENO"; then :
21281 glibcxx_cv_PTHREAD_COND_CLOCKWAIT=yes
21282 else
21283 glibcxx_cv_PTHREAD_COND_CLOCKWAIT=no
21285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21286 else
21287 if test x$gcc_no_link = xyes; then
21288 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21291 /* end confdefs.h. */
21292 #include <pthread.h>
21294 main ()
21296 pthread_mutex_t mutex; pthread_cond_t cond; struct timespec ts; int n = pthread_cond_clockwait(&cond, &mutex, 0, &ts);
21298 return 0;
21300 _ACEOF
21301 if ac_fn_cxx_try_link "$LINENO"; then :
21302 glibcxx_cv_PTHREAD_COND_CLOCKWAIT=yes
21303 else
21304 glibcxx_cv_PTHREAD_COND_CLOCKWAIT=no
21306 rm -f core conftest.err conftest.$ac_objext \
21307 conftest$ac_exeext conftest.$ac_ext
21312 if test $glibcxx_cv_PTHREAD_COND_CLOCKWAIT = yes; then
21314 $as_echo "#define _GLIBCXX_USE_PTHREAD_COND_CLOCKWAIT 1" >>confdefs.h
21317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREAD_COND_CLOCKWAIT" >&5
21318 $as_echo "$glibcxx_cv_PTHREAD_COND_CLOCKWAIT" >&6; }
21320 CXXFLAGS="$ac_save_CXXFLAGS"
21321 LIBS="$ac_save_LIBS"
21322 ac_ext=c
21323 ac_cpp='$CPP $CPPFLAGS'
21324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21330 # For pthread_mutex_clocklock
21334 ac_ext=cpp
21335 ac_cpp='$CXXCPP $CPPFLAGS'
21336 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21337 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21338 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21340 ac_save_CXXFLAGS="$CXXFLAGS"
21341 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21342 ac_save_LIBS="$LIBS"
21343 LIBS="$LIBS -lpthread"
21345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutex_clocklock" >&5
21346 $as_echo_n "checking for pthread_mutex_clocklock... " >&6; }
21347 if ${glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK+:} false; then :
21348 $as_echo_n "(cached) " >&6
21349 else
21351 if test x$gcc_no_link = xyes; then
21352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21353 /* end confdefs.h. */
21354 #include <pthread.h>
21356 main ()
21358 pthread_mutex_t mutex; struct timespec ts; int n = pthread_mutex_clocklock(&mutex, CLOCK_REALTIME, &ts);
21360 return 0;
21362 _ACEOF
21363 if ac_fn_cxx_try_compile "$LINENO"; then :
21364 glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK=yes
21365 else
21366 glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK=no
21368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21369 else
21370 if test x$gcc_no_link = xyes; then
21371 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21374 /* end confdefs.h. */
21375 #include <pthread.h>
21377 main ()
21379 pthread_mutex_t mutex; struct timespec ts; int n = pthread_mutex_clocklock(&mutex, CLOCK_REALTIME, &ts);
21381 return 0;
21383 _ACEOF
21384 if ac_fn_cxx_try_link "$LINENO"; then :
21385 glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK=yes
21386 else
21387 glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK=no
21389 rm -f core conftest.err conftest.$ac_objext \
21390 conftest$ac_exeext conftest.$ac_ext
21395 if test $glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK = yes; then
21397 $as_echo "#define _GLIBCXX_USE_PTHREAD_MUTEX_CLOCKLOCK 1" >>confdefs.h
21400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK" >&5
21401 $as_echo "$glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK" >&6; }
21403 CXXFLAGS="$ac_save_CXXFLAGS"
21404 LIBS="$ac_save_LIBS"
21405 ac_ext=c
21406 ac_cpp='$CPP $CPPFLAGS'
21407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21413 # For pthread_rwlock_clockrdlock and pthread_rwlock_clockwrlock
21417 ac_ext=cpp
21418 ac_cpp='$CXXCPP $CPPFLAGS'
21419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21423 ac_save_CXXFLAGS="$CXXFLAGS"
21424 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21425 ac_save_LIBS="$LIBS"
21426 LIBS="$LIBS -lpthread"
21428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_rwlock_clockrdlock, pthread_wlock_clockwrlock" >&5
21429 $as_echo_n "checking for pthread_rwlock_clockrdlock, pthread_wlock_clockwrlock... " >&6; }
21430 if ${glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK+:} false; then :
21431 $as_echo_n "(cached) " >&6
21432 else
21434 if test x$gcc_no_link = xyes; then
21435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21436 /* end confdefs.h. */
21437 #include <pthread.h>
21439 main ()
21441 pthread_rwlock_t rwl; struct timespec ts;
21442 int n = pthread_rwlock_clockrdlock(&rwl, CLOCK_REALTIME, &ts);
21443 int m = pthread_rwlock_clockwrlock(&rwl, CLOCK_REALTIME, &ts);
21445 return 0;
21447 _ACEOF
21448 if ac_fn_cxx_try_compile "$LINENO"; then :
21449 glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK=yes
21450 else
21451 glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK=no
21453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21454 else
21455 if test x$gcc_no_link = xyes; then
21456 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21459 /* end confdefs.h. */
21460 #include <pthread.h>
21462 main ()
21464 pthread_rwlock_t rwl; struct timespec ts;
21465 int n = pthread_rwlock_clockrdlock(&rwl, CLOCK_REALTIME, &ts);
21466 int m = pthread_rwlock_clockwrlock(&rwl, CLOCK_REALTIME, &ts);
21468 return 0;
21470 _ACEOF
21471 if ac_fn_cxx_try_link "$LINENO"; then :
21472 glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK=yes
21473 else
21474 glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK=no
21476 rm -f core conftest.err conftest.$ac_objext \
21477 conftest$ac_exeext conftest.$ac_ext
21482 if test $glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK = yes; then
21484 $as_echo "#define _GLIBCXX_USE_PTHREAD_RWLOCK_CLOCKLOCK 1" >>confdefs.h
21487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK" >&5
21488 $as_echo "$glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK" >&6; }
21490 CXXFLAGS="$ac_save_CXXFLAGS"
21491 LIBS="$ac_save_LIBS"
21492 ac_ext=c
21493 ac_cpp='$CPP $CPPFLAGS'
21494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21501 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
21502 if test "x$ac_cv_header_locale_h" = xyes; then :
21504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
21505 $as_echo_n "checking for LC_MESSAGES... " >&6; }
21506 if ${ac_cv_val_LC_MESSAGES+:} false; then :
21507 $as_echo_n "(cached) " >&6
21508 else
21509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21510 /* end confdefs.h. */
21511 #include <locale.h>
21513 main ()
21515 return LC_MESSAGES
21517 return 0;
21519 _ACEOF
21520 if ac_fn_c_try_compile "$LINENO"; then :
21521 ac_cv_val_LC_MESSAGES=yes
21522 else
21523 ac_cv_val_LC_MESSAGES=no
21525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_val_LC_MESSAGES" >&5
21528 $as_echo "$ac_cv_val_LC_MESSAGES" >&6; }
21529 if test $ac_cv_val_LC_MESSAGES = yes; then
21531 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
21540 # For hardware_concurrency
21541 for ac_header in sys/sysinfo.h
21542 do :
21543 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
21544 if test "x$ac_cv_header_sys_sysinfo_h" = xyes; then :
21545 cat >>confdefs.h <<_ACEOF
21546 #define HAVE_SYS_SYSINFO_H 1
21547 _ACEOF
21551 done
21556 ac_ext=cpp
21557 ac_cpp='$CXXCPP $CPPFLAGS'
21558 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21559 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21560 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21562 ac_save_CXXFLAGS="$CXXFLAGS"
21563 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for get_nprocs" >&5
21566 $as_echo_n "checking for get_nprocs... " >&6; }
21567 if ${glibcxx_cv_GET_NPROCS+:} false; then :
21568 $as_echo_n "(cached) " >&6
21569 else
21571 if test x$gcc_no_link = xyes; then
21572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21573 /* end confdefs.h. */
21574 #include <sys/sysinfo.h>
21576 main ()
21578 int n = get_nprocs();
21580 return 0;
21582 _ACEOF
21583 if ac_fn_cxx_try_compile "$LINENO"; then :
21584 glibcxx_cv_GET_NPROCS=yes
21585 else
21586 glibcxx_cv_GET_NPROCS=no
21588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21589 else
21590 if test x$gcc_no_link = xyes; then
21591 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21594 /* end confdefs.h. */
21595 #include <sys/sysinfo.h>
21597 main ()
21599 int n = get_nprocs();
21601 return 0;
21603 _ACEOF
21604 if ac_fn_cxx_try_link "$LINENO"; then :
21605 glibcxx_cv_GET_NPROCS=yes
21606 else
21607 glibcxx_cv_GET_NPROCS=no
21609 rm -f core conftest.err conftest.$ac_objext \
21610 conftest$ac_exeext conftest.$ac_ext
21615 if test $glibcxx_cv_GET_NPROCS = yes; then
21617 $as_echo "#define _GLIBCXX_USE_GET_NPROCS 1" >>confdefs.h
21620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_GET_NPROCS" >&5
21621 $as_echo "$glibcxx_cv_GET_NPROCS" >&6; }
21623 CXXFLAGS="$ac_save_CXXFLAGS"
21624 ac_ext=c
21625 ac_cpp='$CPP $CPPFLAGS'
21626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21631 for ac_header in unistd.h
21632 do :
21633 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
21634 if test "x$ac_cv_header_unistd_h" = xyes; then :
21635 cat >>confdefs.h <<_ACEOF
21636 #define HAVE_UNISTD_H 1
21637 _ACEOF
21641 done
21646 ac_ext=cpp
21647 ac_cpp='$CXXCPP $CPPFLAGS'
21648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21652 ac_save_CXXFLAGS="$CXXFLAGS"
21653 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROCESSORS_ONLN" >&5
21656 $as_echo_n "checking for _SC_NPROCESSORS_ONLN... " >&6; }
21657 if ${glibcxx_cv_SC_NPROCESSORS_ONLN+:} false; then :
21658 $as_echo_n "(cached) " >&6
21659 else
21661 if test x$gcc_no_link = xyes; then
21662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21663 /* end confdefs.h. */
21664 #include <unistd.h>
21666 main ()
21668 int n = sysconf(_SC_NPROCESSORS_ONLN);
21670 return 0;
21672 _ACEOF
21673 if ac_fn_cxx_try_compile "$LINENO"; then :
21674 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
21675 else
21676 glibcxx_cv_SC_NPROCESSORS_ONLN=no
21678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21679 else
21680 if test x$gcc_no_link = xyes; then
21681 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21684 /* end confdefs.h. */
21685 #include <unistd.h>
21687 main ()
21689 int n = sysconf(_SC_NPROCESSORS_ONLN);
21691 return 0;
21693 _ACEOF
21694 if ac_fn_cxx_try_link "$LINENO"; then :
21695 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
21696 else
21697 glibcxx_cv_SC_NPROCESSORS_ONLN=no
21699 rm -f core conftest.err conftest.$ac_objext \
21700 conftest$ac_exeext conftest.$ac_ext
21705 if test $glibcxx_cv_SC_NPROCESSORS_ONLN = yes; then
21707 $as_echo "#define _GLIBCXX_USE_SC_NPROCESSORS_ONLN 1" >>confdefs.h
21710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROCESSORS_ONLN" >&5
21711 $as_echo "$glibcxx_cv_SC_NPROCESSORS_ONLN" >&6; }
21713 CXXFLAGS="$ac_save_CXXFLAGS"
21714 ac_ext=c
21715 ac_cpp='$CPP $CPPFLAGS'
21716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21724 ac_ext=cpp
21725 ac_cpp='$CXXCPP $CPPFLAGS'
21726 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21727 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21728 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21730 ac_save_CXXFLAGS="$CXXFLAGS"
21731 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROC_ONLN" >&5
21734 $as_echo_n "checking for _SC_NPROC_ONLN... " >&6; }
21735 if ${glibcxx_cv_SC_NPROC_ONLN+:} false; then :
21736 $as_echo_n "(cached) " >&6
21737 else
21739 if test x$gcc_no_link = xyes; then
21740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21741 /* end confdefs.h. */
21742 #include <unistd.h>
21744 main ()
21746 int n = sysconf(_SC_NPROC_ONLN);
21748 return 0;
21750 _ACEOF
21751 if ac_fn_cxx_try_compile "$LINENO"; then :
21752 glibcxx_cv_SC_NPROC_ONLN=yes
21753 else
21754 glibcxx_cv_SC_NPROC_ONLN=no
21756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21757 else
21758 if test x$gcc_no_link = xyes; then
21759 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21762 /* end confdefs.h. */
21763 #include <unistd.h>
21765 main ()
21767 int n = sysconf(_SC_NPROC_ONLN);
21769 return 0;
21771 _ACEOF
21772 if ac_fn_cxx_try_link "$LINENO"; then :
21773 glibcxx_cv_SC_NPROC_ONLN=yes
21774 else
21775 glibcxx_cv_SC_NPROC_ONLN=no
21777 rm -f core conftest.err conftest.$ac_objext \
21778 conftest$ac_exeext conftest.$ac_ext
21783 if test $glibcxx_cv_SC_NPROC_ONLN = yes; then
21785 $as_echo "#define _GLIBCXX_USE_SC_NPROC_ONLN 1" >>confdefs.h
21788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROC_ONLN" >&5
21789 $as_echo "$glibcxx_cv_SC_NPROC_ONLN" >&6; }
21791 CXXFLAGS="$ac_save_CXXFLAGS"
21792 ac_ext=c
21793 ac_cpp='$CPP $CPPFLAGS'
21794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21802 ac_ext=cpp
21803 ac_cpp='$CXXCPP $CPPFLAGS'
21804 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21805 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21806 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21808 ac_save_CXXFLAGS="$CXXFLAGS"
21809 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthreads_num_processors_np" >&5
21812 $as_echo_n "checking for pthreads_num_processors_np... " >&6; }
21813 if ${glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP+:} false; then :
21814 $as_echo_n "(cached) " >&6
21815 else
21817 if test x$gcc_no_link = xyes; then
21818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21819 /* end confdefs.h. */
21820 #include <pthread.h>
21822 main ()
21824 int n = pthread_num_processors_np();
21826 return 0;
21828 _ACEOF
21829 if ac_fn_cxx_try_compile "$LINENO"; then :
21830 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
21831 else
21832 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
21834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21835 else
21836 if test x$gcc_no_link = xyes; then
21837 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21840 /* end confdefs.h. */
21841 #include <pthread.h>
21843 main ()
21845 int n = pthread_num_processors_np();
21847 return 0;
21849 _ACEOF
21850 if ac_fn_cxx_try_link "$LINENO"; then :
21851 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
21852 else
21853 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
21855 rm -f core conftest.err conftest.$ac_objext \
21856 conftest$ac_exeext conftest.$ac_ext
21861 if test $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP = yes; then
21863 $as_echo "#define _GLIBCXX_USE_PTHREADS_NUM_PROCESSORS_NP 1" >>confdefs.h
21866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&5
21867 $as_echo "$glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&6; }
21869 CXXFLAGS="$ac_save_CXXFLAGS"
21870 ac_ext=c
21871 ac_cpp='$CPP $CPPFLAGS'
21872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21880 ac_ext=cpp
21881 ac_cpp='$CXXCPP $CPPFLAGS'
21882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21886 ac_save_CXXFLAGS="$CXXFLAGS"
21887 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hw.ncpu sysctl" >&5
21890 $as_echo_n "checking for hw.ncpu sysctl... " >&6; }
21891 if ${glibcxx_cv_SYSCTL_HW_NCPU+:} false; then :
21892 $as_echo_n "(cached) " >&6
21893 else
21895 if test x$gcc_no_link = xyes; then
21896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21897 /* end confdefs.h. */
21899 #include <stddef.h>
21900 #include <sys/sysctl.h>
21903 main ()
21906 int count;
21907 size_t size = sizeof(count);
21908 int mib[] = { CTL_HW, HW_NCPU };
21909 sysctl(mib, 2, &count, &size, NULL, 0);
21912 return 0;
21914 _ACEOF
21915 if ac_fn_cxx_try_compile "$LINENO"; then :
21916 glibcxx_cv_SYSCTL_HW_NCPU=yes
21917 else
21918 glibcxx_cv_SYSCTL_HW_NCPU=no
21920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21921 else
21922 if test x$gcc_no_link = xyes; then
21923 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21926 /* end confdefs.h. */
21928 #include <stddef.h>
21929 #include <sys/sysctl.h>
21932 main ()
21935 int count;
21936 size_t size = sizeof(count);
21937 int mib[] = { CTL_HW, HW_NCPU };
21938 sysctl(mib, 2, &count, &size, NULL, 0);
21941 return 0;
21943 _ACEOF
21944 if ac_fn_cxx_try_link "$LINENO"; then :
21945 glibcxx_cv_SYSCTL_HW_NCPU=yes
21946 else
21947 glibcxx_cv_SYSCTL_HW_NCPU=no
21949 rm -f core conftest.err conftest.$ac_objext \
21950 conftest$ac_exeext conftest.$ac_ext
21955 if test $glibcxx_cv_SYSCTL_HW_NCPU = yes; then
21957 $as_echo "#define _GLIBCXX_USE_SYSCTL_HW_NCPU 1" >>confdefs.h
21960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SYSCTL_HW_NCPU" >&5
21961 $as_echo "$glibcxx_cv_SYSCTL_HW_NCPU" >&6; }
21963 CXXFLAGS="$ac_save_CXXFLAGS"
21964 ac_ext=c
21965 ac_cpp='$CPP $CPPFLAGS'
21966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suitable sys/sdt.h" >&5
21973 $as_echo_n "checking for suitable sys/sdt.h... " >&6; }
21974 # Note that this test has to be run with the C language.
21975 # Otherwise, sdt.h will try to include some headers from
21976 # libstdc++ itself.
21978 ac_ext=c
21979 ac_cpp='$CPP $CPPFLAGS'
21980 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21981 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21982 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21984 if ${glibcxx_cv_sys_sdt_h+:} false; then :
21985 $as_echo_n "(cached) " >&6
21986 else
21988 # Because we have to run the test in C, we use grep rather
21989 # than the compiler to check for the bug. The bug is that
21990 # were strings without trailing whitespace, causing g++
21991 # to look for operator"". The pattern searches for the fixed
21992 # output.
21993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21994 /* end confdefs.h. */
21996 #include <sys/sdt.h>
21997 int f() { STAP_PROBE(hi, bob); }
21999 _ACEOF
22000 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
22001 $EGREP " \",\" " >/dev/null 2>&1; then :
22002 glibcxx_cv_sys_sdt_h=yes
22003 else
22004 glibcxx_cv_sys_sdt_h=no
22006 rm -f conftest*
22011 ac_ext=c
22012 ac_cpp='$CPP $CPPFLAGS'
22013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22017 if test $glibcxx_cv_sys_sdt_h = yes; then
22019 $as_echo "#define HAVE_SYS_SDT_H 1" >>confdefs.h
22022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sys_sdt_h" >&5
22023 $as_echo "$glibcxx_cv_sys_sdt_h" >&6; }
22026 # Check for available headers.
22027 for ac_header in endian.h execinfo.h float.h fp.h ieeefp.h inttypes.h \
22028 locale.h machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
22029 strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
22030 sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
22031 wchar.h wctype.h linux/types.h
22032 do :
22033 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
22034 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
22035 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
22036 cat >>confdefs.h <<_ACEOF
22037 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
22038 _ACEOF
22042 done
22045 for ac_header in linux/random.h
22046 do :
22047 ac_fn_c_check_header_compile "$LINENO" "linux/random.h" "ac_cv_header_linux_random_h" "#ifdef HAVE_LINUX_TYPES_H
22048 # include <linux/types.h>
22049 #endif
22052 if test "x$ac_cv_header_linux_random_h" = xyes; then :
22053 cat >>confdefs.h <<_ACEOF
22054 #define HAVE_LINUX_RANDOM_H 1
22055 _ACEOF
22059 done
22062 for ac_header in xlocale.h
22063 do :
22064 ac_fn_c_check_header_mongrel "$LINENO" "xlocale.h" "ac_cv_header_xlocale_h" "$ac_includes_default"
22065 if test "x$ac_cv_header_xlocale_h" = xyes; then :
22066 cat >>confdefs.h <<_ACEOF
22067 #define HAVE_XLOCALE_H 1
22068 _ACEOF
22072 done
22075 # Only do link tests if native. Else, hardcode.
22076 if $GLIBCXX_IS_NATIVE; then
22078 # We can do more elaborate tests that assume a working linker.
22079 CANADIAN=no
22083 # Check whether --with-gnu-ld was given.
22084 if test "${with_gnu_ld+set}" = set; then :
22085 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
22086 else
22087 with_gnu_ld=no
22090 ac_prog=ld
22091 if test "$GCC" = yes; then
22092 # Check if gcc -print-prog-name=ld gives a path.
22093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
22094 $as_echo_n "checking for ld used by $CC... " >&6; }
22095 case $host in
22096 *-*-mingw*)
22097 # gcc leaves a trailing carriage return which upsets mingw
22098 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
22100 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
22101 esac
22102 case $ac_prog in
22103 # Accept absolute paths.
22104 [\\/]* | ?:[\\/]*)
22105 re_direlt='/[^/][^/]*/\.\./'
22106 # Canonicalize the pathname of ld
22107 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
22108 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
22109 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
22110 done
22111 test -z "$LD" && LD="$ac_prog"
22114 # If it fails, then pretend we aren't using GCC.
22115 ac_prog=ld
22118 # If it is relative, then search for the first ld in PATH.
22119 with_gnu_ld=unknown
22121 esac
22122 elif test "$with_gnu_ld" = yes; then
22123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
22124 $as_echo_n "checking for GNU ld... " >&6; }
22125 else
22126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
22127 $as_echo_n "checking for non-GNU ld... " >&6; }
22129 if ${lt_cv_path_LD+:} false; then :
22130 $as_echo_n "(cached) " >&6
22131 else
22132 if test -z "$LD"; then
22133 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
22134 for ac_dir in $PATH; do
22135 IFS="$lt_save_ifs"
22136 test -z "$ac_dir" && ac_dir=.
22137 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
22138 lt_cv_path_LD="$ac_dir/$ac_prog"
22139 # Check to see if the program is GNU ld. I'd rather use --version,
22140 # but apparently some variants of GNU ld only accept -v.
22141 # Break only if it was the GNU/non-GNU ld that we prefer.
22142 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
22143 *GNU* | *'with BFD'*)
22144 test "$with_gnu_ld" != no && break
22147 test "$with_gnu_ld" != yes && break
22149 esac
22151 done
22152 IFS="$lt_save_ifs"
22153 else
22154 lt_cv_path_LD="$LD" # Let the user override the test with a path.
22158 LD="$lt_cv_path_LD"
22159 if test -n "$LD"; then
22160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
22161 $as_echo "$LD" >&6; }
22162 else
22163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22164 $as_echo "no" >&6; }
22166 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
22167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
22168 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
22169 if ${lt_cv_prog_gnu_ld+:} false; then :
22170 $as_echo_n "(cached) " >&6
22171 else
22172 # I'd rather use --version here, but apparently some GNU lds only accept -v.
22173 case `$LD -v 2>&1 </dev/null` in
22174 *GNU* | *'with BFD'*)
22175 lt_cv_prog_gnu_ld=yes
22178 lt_cv_prog_gnu_ld=no
22180 esac
22182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
22183 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
22184 with_gnu_ld=$lt_cv_prog_gnu_ld
22192 # If we're not using GNU ld, then there's no point in even trying these
22193 # tests. Check for that first. We should have already tested for gld
22194 # by now (in libtool), but require it now just to be safe...
22195 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
22196 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
22200 # The name set by libtool depends on the version of libtool. Shame on us
22201 # for depending on an impl detail, but c'est la vie. Older versions used
22202 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
22203 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
22204 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
22205 # set (hence we're using an older libtool), then set it.
22206 if test x${with_gnu_ld+set} != xset; then
22207 if test x${ac_cv_prog_gnu_ld+set} != xset; then
22208 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
22209 with_gnu_ld=no
22210 else
22211 with_gnu_ld=$ac_cv_prog_gnu_ld
22215 # Start by getting the version number. I think the libtool test already
22216 # does some of this, but throws away the result.
22217 glibcxx_ld_is_gold=no
22218 if test x"$with_gnu_ld" = x"yes"; then
22219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
22220 $as_echo_n "checking for ld version... " >&6; }
22222 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
22223 glibcxx_ld_is_gold=yes
22225 ldver=`$LD --version 2>/dev/null |
22226 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
22228 glibcxx_gnu_ld_version=`echo $ldver | \
22229 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
22230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
22231 $as_echo "$glibcxx_gnu_ld_version" >&6; }
22234 # Set --gc-sections.
22235 glibcxx_have_gc_sections=no
22236 if test "$glibcxx_ld_is_gold" = "yes"; then
22237 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
22238 glibcxx_have_gc_sections=yes
22240 else
22241 glibcxx_gcsections_min_ld=21602
22242 if test x"$with_gnu_ld" = x"yes" &&
22243 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
22244 glibcxx_have_gc_sections=yes
22247 if test "$glibcxx_have_gc_sections" = "yes"; then
22248 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
22249 # NB: This flag only works reliably after 2.16.1. Configure tests
22250 # for this are difficult, so hard wire a value that should work.
22252 ac_test_CFLAGS="${CFLAGS+set}"
22253 ac_save_CFLAGS="$CFLAGS"
22254 CFLAGS='-Wl,--gc-sections'
22256 # Check for -Wl,--gc-sections
22257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
22258 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
22259 if test x$gcc_no_link = xyes; then
22260 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22263 /* end confdefs.h. */
22264 int one(void) { return 1; }
22265 int two(void) { return 2; }
22268 main ()
22270 two();
22272 return 0;
22274 _ACEOF
22275 if ac_fn_c_try_link "$LINENO"; then :
22276 ac_gcsections=yes
22277 else
22278 ac_gcsections=no
22280 rm -f core conftest.err conftest.$ac_objext \
22281 conftest$ac_exeext conftest.$ac_ext
22282 if test "$ac_gcsections" = "yes"; then
22283 rm -f conftest.c
22284 touch conftest.c
22285 if $CC -c conftest.c; then
22286 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
22287 grep "Warning: gc-sections option ignored" > /dev/null; then
22288 ac_gcsections=no
22291 rm -f conftest.c conftest.o conftest
22293 if test "$ac_gcsections" = "yes"; then
22294 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
22296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
22297 $as_echo "$ac_gcsections" >&6; }
22299 if test "$ac_test_CFLAGS" = set; then
22300 CFLAGS="$ac_save_CFLAGS"
22301 else
22302 # this is the suspicious part
22303 CFLAGS=''
22307 # Set -z,relro.
22308 # Note this is only for shared objects.
22309 ac_ld_relro=no
22310 if test x"$with_gnu_ld" = x"yes"; then
22311 # cygwin and mingw uses PE, which has no ELF relro support,
22312 # multi target ld may confuse configure machinery
22313 case "$host" in
22314 *-*-cygwin*)
22316 *-*-mingw*)
22319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
22320 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
22321 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
22322 if test -n "$cxx_z_relo"; then
22323 OPT_LDFLAGS="-Wl,-z,relro"
22324 ac_ld_relro=yes
22326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
22327 $as_echo "$ac_ld_relro" >&6; }
22328 esac
22331 # Set linker optimization flags.
22332 if test x"$with_gnu_ld" = x"yes"; then
22333 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
22340 ac_test_CXXFLAGS="${CXXFLAGS+set}"
22341 ac_save_CXXFLAGS="$CXXFLAGS"
22342 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
22344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
22345 $as_echo_n "checking for sin in -lm... " >&6; }
22346 if ${ac_cv_lib_m_sin+:} false; then :
22347 $as_echo_n "(cached) " >&6
22348 else
22349 ac_check_lib_save_LIBS=$LIBS
22350 LIBS="-lm $LIBS"
22351 if test x$gcc_no_link = xyes; then
22352 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22355 /* end confdefs.h. */
22357 /* Override any GCC internal prototype to avoid an error.
22358 Use char because int might match the return type of a GCC
22359 builtin and then its argument prototype would still apply. */
22360 #ifdef __cplusplus
22361 extern "C"
22362 #endif
22363 char sin ();
22365 main ()
22367 return sin ();
22369 return 0;
22371 _ACEOF
22372 if ac_fn_c_try_link "$LINENO"; then :
22373 ac_cv_lib_m_sin=yes
22374 else
22375 ac_cv_lib_m_sin=no
22377 rm -f core conftest.err conftest.$ac_objext \
22378 conftest$ac_exeext conftest.$ac_ext
22379 LIBS=$ac_check_lib_save_LIBS
22381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
22382 $as_echo "$ac_cv_lib_m_sin" >&6; }
22383 if test "x$ac_cv_lib_m_sin" = xyes; then :
22384 libm="-lm"
22387 ac_save_LIBS="$LIBS"
22388 LIBS="$LIBS $libm"
22392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
22393 $as_echo_n "checking for isinf declaration... " >&6; }
22394 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
22395 if ${glibcxx_cv_func_isinf_use+:} false; then :
22396 $as_echo_n "(cached) " >&6
22397 else
22400 ac_ext=cpp
22401 ac_cpp='$CXXCPP $CPPFLAGS'
22402 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22403 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22404 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22407 /* end confdefs.h. */
22408 #include <math.h>
22409 #ifdef HAVE_IEEEFP_H
22410 #include <ieeefp.h>
22411 #endif
22414 main ()
22416 isinf(0);
22418 return 0;
22420 _ACEOF
22421 if ac_fn_cxx_try_compile "$LINENO"; then :
22422 glibcxx_cv_func_isinf_use=yes
22423 else
22424 glibcxx_cv_func_isinf_use=no
22426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22427 ac_ext=c
22428 ac_cpp='$CPP $CPPFLAGS'
22429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
22438 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
22440 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
22441 for ac_func in isinf
22442 do :
22443 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
22444 if test "x$ac_cv_func_isinf" = xyes; then :
22445 cat >>confdefs.h <<_ACEOF
22446 #define HAVE_ISINF 1
22447 _ACEOF
22450 done
22452 else
22454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
22455 $as_echo_n "checking for _isinf declaration... " >&6; }
22456 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
22457 if ${glibcxx_cv_func__isinf_use+:} false; then :
22458 $as_echo_n "(cached) " >&6
22459 else
22462 ac_ext=cpp
22463 ac_cpp='$CXXCPP $CPPFLAGS'
22464 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22465 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22466 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22469 /* end confdefs.h. */
22470 #include <math.h>
22471 #ifdef HAVE_IEEEFP_H
22472 #include <ieeefp.h>
22473 #endif
22476 main ()
22478 _isinf(0);
22480 return 0;
22482 _ACEOF
22483 if ac_fn_cxx_try_compile "$LINENO"; then :
22484 glibcxx_cv_func__isinf_use=yes
22485 else
22486 glibcxx_cv_func__isinf_use=no
22488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22489 ac_ext=c
22490 ac_cpp='$CPP $CPPFLAGS'
22491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
22500 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
22502 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
22503 for ac_func in _isinf
22504 do :
22505 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
22506 if test "x$ac_cv_func__isinf" = xyes; then :
22507 cat >>confdefs.h <<_ACEOF
22508 #define HAVE__ISINF 1
22509 _ACEOF
22512 done
22521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
22522 $as_echo_n "checking for isnan declaration... " >&6; }
22523 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
22524 if ${glibcxx_cv_func_isnan_use+:} false; then :
22525 $as_echo_n "(cached) " >&6
22526 else
22529 ac_ext=cpp
22530 ac_cpp='$CXXCPP $CPPFLAGS'
22531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22532 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22536 /* end confdefs.h. */
22537 #include <math.h>
22538 #ifdef HAVE_IEEEFP_H
22539 #include <ieeefp.h>
22540 #endif
22543 main ()
22545 isnan(0);
22547 return 0;
22549 _ACEOF
22550 if ac_fn_cxx_try_compile "$LINENO"; then :
22551 glibcxx_cv_func_isnan_use=yes
22552 else
22553 glibcxx_cv_func_isnan_use=no
22555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22556 ac_ext=c
22557 ac_cpp='$CPP $CPPFLAGS'
22558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
22567 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
22569 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
22570 for ac_func in isnan
22571 do :
22572 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
22573 if test "x$ac_cv_func_isnan" = xyes; then :
22574 cat >>confdefs.h <<_ACEOF
22575 #define HAVE_ISNAN 1
22576 _ACEOF
22579 done
22581 else
22583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
22584 $as_echo_n "checking for _isnan declaration... " >&6; }
22585 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
22586 if ${glibcxx_cv_func__isnan_use+:} false; then :
22587 $as_echo_n "(cached) " >&6
22588 else
22591 ac_ext=cpp
22592 ac_cpp='$CXXCPP $CPPFLAGS'
22593 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22594 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22595 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22598 /* end confdefs.h. */
22599 #include <math.h>
22600 #ifdef HAVE_IEEEFP_H
22601 #include <ieeefp.h>
22602 #endif
22605 main ()
22607 _isnan(0);
22609 return 0;
22611 _ACEOF
22612 if ac_fn_cxx_try_compile "$LINENO"; then :
22613 glibcxx_cv_func__isnan_use=yes
22614 else
22615 glibcxx_cv_func__isnan_use=no
22617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22618 ac_ext=c
22619 ac_cpp='$CPP $CPPFLAGS'
22620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
22629 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
22631 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
22632 for ac_func in _isnan
22633 do :
22634 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
22635 if test "x$ac_cv_func__isnan" = xyes; then :
22636 cat >>confdefs.h <<_ACEOF
22637 #define HAVE__ISNAN 1
22638 _ACEOF
22641 done
22650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
22651 $as_echo_n "checking for finite declaration... " >&6; }
22652 if test x${glibcxx_cv_func_finite_use+set} != xset; then
22653 if ${glibcxx_cv_func_finite_use+:} false; then :
22654 $as_echo_n "(cached) " >&6
22655 else
22658 ac_ext=cpp
22659 ac_cpp='$CXXCPP $CPPFLAGS'
22660 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22661 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22662 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22665 /* end confdefs.h. */
22666 #include <math.h>
22667 #ifdef HAVE_IEEEFP_H
22668 #include <ieeefp.h>
22669 #endif
22672 main ()
22674 finite(0);
22676 return 0;
22678 _ACEOF
22679 if ac_fn_cxx_try_compile "$LINENO"; then :
22680 glibcxx_cv_func_finite_use=yes
22681 else
22682 glibcxx_cv_func_finite_use=no
22684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22685 ac_ext=c
22686 ac_cpp='$CPP $CPPFLAGS'
22687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
22696 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
22698 if test x$glibcxx_cv_func_finite_use = x"yes"; then
22699 for ac_func in finite
22700 do :
22701 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
22702 if test "x$ac_cv_func_finite" = xyes; then :
22703 cat >>confdefs.h <<_ACEOF
22704 #define HAVE_FINITE 1
22705 _ACEOF
22708 done
22710 else
22712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
22713 $as_echo_n "checking for _finite declaration... " >&6; }
22714 if test x${glibcxx_cv_func__finite_use+set} != xset; then
22715 if ${glibcxx_cv_func__finite_use+:} false; then :
22716 $as_echo_n "(cached) " >&6
22717 else
22720 ac_ext=cpp
22721 ac_cpp='$CXXCPP $CPPFLAGS'
22722 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22723 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22724 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22727 /* end confdefs.h. */
22728 #include <math.h>
22729 #ifdef HAVE_IEEEFP_H
22730 #include <ieeefp.h>
22731 #endif
22734 main ()
22736 _finite(0);
22738 return 0;
22740 _ACEOF
22741 if ac_fn_cxx_try_compile "$LINENO"; then :
22742 glibcxx_cv_func__finite_use=yes
22743 else
22744 glibcxx_cv_func__finite_use=no
22746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22747 ac_ext=c
22748 ac_cpp='$CPP $CPPFLAGS'
22749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
22758 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
22760 if test x$glibcxx_cv_func__finite_use = x"yes"; then
22761 for ac_func in _finite
22762 do :
22763 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
22764 if test "x$ac_cv_func__finite" = xyes; then :
22765 cat >>confdefs.h <<_ACEOF
22766 #define HAVE__FINITE 1
22767 _ACEOF
22770 done
22779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
22780 $as_echo_n "checking for sincos declaration... " >&6; }
22781 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
22782 if ${glibcxx_cv_func_sincos_use+:} false; then :
22783 $as_echo_n "(cached) " >&6
22784 else
22787 ac_ext=cpp
22788 ac_cpp='$CXXCPP $CPPFLAGS'
22789 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22790 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22791 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22794 /* end confdefs.h. */
22795 #include <math.h>
22797 main ()
22799 sincos(0, 0, 0);
22801 return 0;
22803 _ACEOF
22804 if ac_fn_cxx_try_compile "$LINENO"; then :
22805 glibcxx_cv_func_sincos_use=yes
22806 else
22807 glibcxx_cv_func_sincos_use=no
22809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22810 ac_ext=c
22811 ac_cpp='$CPP $CPPFLAGS'
22812 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22813 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22814 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
22821 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
22823 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
22824 for ac_func in sincos
22825 do :
22826 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
22827 if test "x$ac_cv_func_sincos" = xyes; then :
22828 cat >>confdefs.h <<_ACEOF
22829 #define HAVE_SINCOS 1
22830 _ACEOF
22833 done
22835 else
22837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
22838 $as_echo_n "checking for _sincos declaration... " >&6; }
22839 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
22840 if ${glibcxx_cv_func__sincos_use+:} false; then :
22841 $as_echo_n "(cached) " >&6
22842 else
22845 ac_ext=cpp
22846 ac_cpp='$CXXCPP $CPPFLAGS'
22847 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22848 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22852 /* end confdefs.h. */
22853 #include <math.h>
22855 main ()
22857 _sincos(0, 0, 0);
22859 return 0;
22861 _ACEOF
22862 if ac_fn_cxx_try_compile "$LINENO"; then :
22863 glibcxx_cv_func__sincos_use=yes
22864 else
22865 glibcxx_cv_func__sincos_use=no
22867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22868 ac_ext=c
22869 ac_cpp='$CPP $CPPFLAGS'
22870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
22879 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
22881 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
22882 for ac_func in _sincos
22883 do :
22884 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
22885 if test "x$ac_cv_func__sincos" = xyes; then :
22886 cat >>confdefs.h <<_ACEOF
22887 #define HAVE__SINCOS 1
22888 _ACEOF
22891 done
22900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
22901 $as_echo_n "checking for fpclass declaration... " >&6; }
22902 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
22903 if ${glibcxx_cv_func_fpclass_use+:} false; then :
22904 $as_echo_n "(cached) " >&6
22905 else
22908 ac_ext=cpp
22909 ac_cpp='$CXXCPP $CPPFLAGS'
22910 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22911 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22912 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22915 /* end confdefs.h. */
22916 #include <math.h>
22917 #ifdef HAVE_IEEEFP_H
22918 #include <ieeefp.h>
22919 #endif
22922 main ()
22924 fpclass(0);
22926 return 0;
22928 _ACEOF
22929 if ac_fn_cxx_try_compile "$LINENO"; then :
22930 glibcxx_cv_func_fpclass_use=yes
22931 else
22932 glibcxx_cv_func_fpclass_use=no
22934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22935 ac_ext=c
22936 ac_cpp='$CPP $CPPFLAGS'
22937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22939 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
22946 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
22948 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
22949 for ac_func in fpclass
22950 do :
22951 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
22952 if test "x$ac_cv_func_fpclass" = xyes; then :
22953 cat >>confdefs.h <<_ACEOF
22954 #define HAVE_FPCLASS 1
22955 _ACEOF
22958 done
22960 else
22962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
22963 $as_echo_n "checking for _fpclass declaration... " >&6; }
22964 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
22965 if ${glibcxx_cv_func__fpclass_use+:} false; then :
22966 $as_echo_n "(cached) " >&6
22967 else
22970 ac_ext=cpp
22971 ac_cpp='$CXXCPP $CPPFLAGS'
22972 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22973 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22974 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22977 /* end confdefs.h. */
22978 #include <math.h>
22979 #ifdef HAVE_IEEEFP_H
22980 #include <ieeefp.h>
22981 #endif
22984 main ()
22986 _fpclass(0);
22988 return 0;
22990 _ACEOF
22991 if ac_fn_cxx_try_compile "$LINENO"; then :
22992 glibcxx_cv_func__fpclass_use=yes
22993 else
22994 glibcxx_cv_func__fpclass_use=no
22996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22997 ac_ext=c
22998 ac_cpp='$CPP $CPPFLAGS'
22999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
23008 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
23010 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
23011 for ac_func in _fpclass
23012 do :
23013 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
23014 if test "x$ac_cv_func__fpclass" = xyes; then :
23015 cat >>confdefs.h <<_ACEOF
23016 #define HAVE__FPCLASS 1
23017 _ACEOF
23020 done
23029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
23030 $as_echo_n "checking for qfpclass declaration... " >&6; }
23031 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
23032 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
23033 $as_echo_n "(cached) " >&6
23034 else
23037 ac_ext=cpp
23038 ac_cpp='$CXXCPP $CPPFLAGS'
23039 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23040 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23041 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23044 /* end confdefs.h. */
23045 #include <math.h>
23046 #ifdef HAVE_IEEEFP_H
23047 #include <ieeefp.h>
23048 #endif
23051 main ()
23053 qfpclass(0);
23055 return 0;
23057 _ACEOF
23058 if ac_fn_cxx_try_compile "$LINENO"; then :
23059 glibcxx_cv_func_qfpclass_use=yes
23060 else
23061 glibcxx_cv_func_qfpclass_use=no
23063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23064 ac_ext=c
23065 ac_cpp='$CPP $CPPFLAGS'
23066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
23075 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
23077 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
23078 for ac_func in qfpclass
23079 do :
23080 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
23081 if test "x$ac_cv_func_qfpclass" = xyes; then :
23082 cat >>confdefs.h <<_ACEOF
23083 #define HAVE_QFPCLASS 1
23084 _ACEOF
23087 done
23089 else
23091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
23092 $as_echo_n "checking for _qfpclass declaration... " >&6; }
23093 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
23094 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
23095 $as_echo_n "(cached) " >&6
23096 else
23099 ac_ext=cpp
23100 ac_cpp='$CXXCPP $CPPFLAGS'
23101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23106 /* end confdefs.h. */
23107 #include <math.h>
23108 #ifdef HAVE_IEEEFP_H
23109 #include <ieeefp.h>
23110 #endif
23113 main ()
23115 _qfpclass(0);
23117 return 0;
23119 _ACEOF
23120 if ac_fn_cxx_try_compile "$LINENO"; then :
23121 glibcxx_cv_func__qfpclass_use=yes
23122 else
23123 glibcxx_cv_func__qfpclass_use=no
23125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23126 ac_ext=c
23127 ac_cpp='$CPP $CPPFLAGS'
23128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
23137 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
23139 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
23140 for ac_func in _qfpclass
23141 do :
23142 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
23143 if test "x$ac_cv_func__qfpclass" = xyes; then :
23144 cat >>confdefs.h <<_ACEOF
23145 #define HAVE__QFPCLASS 1
23146 _ACEOF
23149 done
23158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
23159 $as_echo_n "checking for hypot declaration... " >&6; }
23160 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
23161 if ${glibcxx_cv_func_hypot_use+:} false; then :
23162 $as_echo_n "(cached) " >&6
23163 else
23166 ac_ext=cpp
23167 ac_cpp='$CXXCPP $CPPFLAGS'
23168 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23169 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23170 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23173 /* end confdefs.h. */
23174 #include <math.h>
23176 main ()
23178 hypot(0, 0);
23180 return 0;
23182 _ACEOF
23183 if ac_fn_cxx_try_compile "$LINENO"; then :
23184 glibcxx_cv_func_hypot_use=yes
23185 else
23186 glibcxx_cv_func_hypot_use=no
23188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23189 ac_ext=c
23190 ac_cpp='$CPP $CPPFLAGS'
23191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
23200 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
23202 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
23203 for ac_func in hypot
23204 do :
23205 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
23206 if test "x$ac_cv_func_hypot" = xyes; then :
23207 cat >>confdefs.h <<_ACEOF
23208 #define HAVE_HYPOT 1
23209 _ACEOF
23212 done
23214 else
23216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
23217 $as_echo_n "checking for _hypot declaration... " >&6; }
23218 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
23219 if ${glibcxx_cv_func__hypot_use+:} false; then :
23220 $as_echo_n "(cached) " >&6
23221 else
23224 ac_ext=cpp
23225 ac_cpp='$CXXCPP $CPPFLAGS'
23226 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23227 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23228 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23231 /* end confdefs.h. */
23232 #include <math.h>
23234 main ()
23236 _hypot(0, 0);
23238 return 0;
23240 _ACEOF
23241 if ac_fn_cxx_try_compile "$LINENO"; then :
23242 glibcxx_cv_func__hypot_use=yes
23243 else
23244 glibcxx_cv_func__hypot_use=no
23246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23247 ac_ext=c
23248 ac_cpp='$CPP $CPPFLAGS'
23249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
23258 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
23260 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
23261 for ac_func in _hypot
23262 do :
23263 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
23264 if test "x$ac_cv_func__hypot" = xyes; then :
23265 cat >>confdefs.h <<_ACEOF
23266 #define HAVE__HYPOT 1
23267 _ACEOF
23270 done
23279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
23280 $as_echo_n "checking for float trig functions... " >&6; }
23281 if ${glibcxx_cv_func_float_trig_use+:} false; then :
23282 $as_echo_n "(cached) " >&6
23283 else
23286 ac_ext=cpp
23287 ac_cpp='$CXXCPP $CPPFLAGS'
23288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23293 /* end confdefs.h. */
23294 #include <math.h>
23296 main ()
23298 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
23300 return 0;
23302 _ACEOF
23303 if ac_fn_cxx_try_compile "$LINENO"; then :
23304 glibcxx_cv_func_float_trig_use=yes
23305 else
23306 glibcxx_cv_func_float_trig_use=no
23308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23309 ac_ext=c
23310 ac_cpp='$CPP $CPPFLAGS'
23311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
23318 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
23319 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
23320 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
23321 do :
23322 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23323 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23324 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
23325 cat >>confdefs.h <<_ACEOF
23326 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23327 _ACEOF
23330 done
23332 else
23333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
23334 $as_echo_n "checking for _float trig functions... " >&6; }
23335 if ${glibcxx_cv_func__float_trig_use+:} false; then :
23336 $as_echo_n "(cached) " >&6
23337 else
23340 ac_ext=cpp
23341 ac_cpp='$CXXCPP $CPPFLAGS'
23342 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23343 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23344 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23347 /* end confdefs.h. */
23348 #include <math.h>
23350 main ()
23352 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
23354 return 0;
23356 _ACEOF
23357 if ac_fn_cxx_try_compile "$LINENO"; then :
23358 glibcxx_cv_func__float_trig_use=yes
23359 else
23360 glibcxx_cv_func__float_trig_use=no
23362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23363 ac_ext=c
23364 ac_cpp='$CPP $CPPFLAGS'
23365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
23372 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
23373 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
23374 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
23375 do :
23376 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23377 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23378 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
23379 cat >>confdefs.h <<_ACEOF
23380 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23381 _ACEOF
23384 done
23393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
23394 $as_echo_n "checking for float round functions... " >&6; }
23395 if ${glibcxx_cv_func_float_round_use+:} false; then :
23396 $as_echo_n "(cached) " >&6
23397 else
23400 ac_ext=cpp
23401 ac_cpp='$CXXCPP $CPPFLAGS'
23402 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23403 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23404 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23407 /* end confdefs.h. */
23408 #include <math.h>
23410 main ()
23412 ceilf (0); floorf (0);
23414 return 0;
23416 _ACEOF
23417 if ac_fn_cxx_try_compile "$LINENO"; then :
23418 glibcxx_cv_func_float_round_use=yes
23419 else
23420 glibcxx_cv_func_float_round_use=no
23422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23423 ac_ext=c
23424 ac_cpp='$CPP $CPPFLAGS'
23425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
23432 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
23433 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
23434 for ac_func in ceilf floorf
23435 do :
23436 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23437 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23438 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
23439 cat >>confdefs.h <<_ACEOF
23440 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23441 _ACEOF
23444 done
23446 else
23447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
23448 $as_echo_n "checking for _float round functions... " >&6; }
23449 if ${glibcxx_cv_func__float_round_use+:} false; then :
23450 $as_echo_n "(cached) " >&6
23451 else
23454 ac_ext=cpp
23455 ac_cpp='$CXXCPP $CPPFLAGS'
23456 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23457 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23458 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23461 /* end confdefs.h. */
23462 #include <math.h>
23464 main ()
23466 _ceilf (0); _floorf (0);
23468 return 0;
23470 _ACEOF
23471 if ac_fn_cxx_try_compile "$LINENO"; then :
23472 glibcxx_cv_func__float_round_use=yes
23473 else
23474 glibcxx_cv_func__float_round_use=no
23476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23477 ac_ext=c
23478 ac_cpp='$CPP $CPPFLAGS'
23479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
23486 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
23487 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
23488 for ac_func in _ceilf _floorf
23489 do :
23490 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23491 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23492 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
23493 cat >>confdefs.h <<_ACEOF
23494 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23495 _ACEOF
23498 done
23508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
23509 $as_echo_n "checking for expf declaration... " >&6; }
23510 if test x${glibcxx_cv_func_expf_use+set} != xset; then
23511 if ${glibcxx_cv_func_expf_use+:} false; then :
23512 $as_echo_n "(cached) " >&6
23513 else
23516 ac_ext=cpp
23517 ac_cpp='$CXXCPP $CPPFLAGS'
23518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23523 /* end confdefs.h. */
23524 #include <math.h>
23525 #ifdef HAVE_IEEEFP_H
23526 #include <ieeefp.h>
23527 #endif
23530 main ()
23532 expf(0);
23534 return 0;
23536 _ACEOF
23537 if ac_fn_cxx_try_compile "$LINENO"; then :
23538 glibcxx_cv_func_expf_use=yes
23539 else
23540 glibcxx_cv_func_expf_use=no
23542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23543 ac_ext=c
23544 ac_cpp='$CPP $CPPFLAGS'
23545 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23546 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23547 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
23554 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
23556 if test x$glibcxx_cv_func_expf_use = x"yes"; then
23557 for ac_func in expf
23558 do :
23559 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
23560 if test "x$ac_cv_func_expf" = xyes; then :
23561 cat >>confdefs.h <<_ACEOF
23562 #define HAVE_EXPF 1
23563 _ACEOF
23566 done
23568 else
23570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
23571 $as_echo_n "checking for _expf declaration... " >&6; }
23572 if test x${glibcxx_cv_func__expf_use+set} != xset; then
23573 if ${glibcxx_cv_func__expf_use+:} false; then :
23574 $as_echo_n "(cached) " >&6
23575 else
23578 ac_ext=cpp
23579 ac_cpp='$CXXCPP $CPPFLAGS'
23580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23585 /* end confdefs.h. */
23586 #include <math.h>
23587 #ifdef HAVE_IEEEFP_H
23588 #include <ieeefp.h>
23589 #endif
23592 main ()
23594 _expf(0);
23596 return 0;
23598 _ACEOF
23599 if ac_fn_cxx_try_compile "$LINENO"; then :
23600 glibcxx_cv_func__expf_use=yes
23601 else
23602 glibcxx_cv_func__expf_use=no
23604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23605 ac_ext=c
23606 ac_cpp='$CPP $CPPFLAGS'
23607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
23616 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
23618 if test x$glibcxx_cv_func__expf_use = x"yes"; then
23619 for ac_func in _expf
23620 do :
23621 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
23622 if test "x$ac_cv_func__expf" = xyes; then :
23623 cat >>confdefs.h <<_ACEOF
23624 #define HAVE__EXPF 1
23625 _ACEOF
23628 done
23637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
23638 $as_echo_n "checking for isnanf declaration... " >&6; }
23639 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
23640 if ${glibcxx_cv_func_isnanf_use+:} false; then :
23641 $as_echo_n "(cached) " >&6
23642 else
23645 ac_ext=cpp
23646 ac_cpp='$CXXCPP $CPPFLAGS'
23647 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23648 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23649 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23652 /* end confdefs.h. */
23653 #include <math.h>
23654 #ifdef HAVE_IEEEFP_H
23655 #include <ieeefp.h>
23656 #endif
23659 main ()
23661 isnanf(0);
23663 return 0;
23665 _ACEOF
23666 if ac_fn_cxx_try_compile "$LINENO"; then :
23667 glibcxx_cv_func_isnanf_use=yes
23668 else
23669 glibcxx_cv_func_isnanf_use=no
23671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23672 ac_ext=c
23673 ac_cpp='$CPP $CPPFLAGS'
23674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
23683 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
23685 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
23686 for ac_func in isnanf
23687 do :
23688 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
23689 if test "x$ac_cv_func_isnanf" = xyes; then :
23690 cat >>confdefs.h <<_ACEOF
23691 #define HAVE_ISNANF 1
23692 _ACEOF
23695 done
23697 else
23699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
23700 $as_echo_n "checking for _isnanf declaration... " >&6; }
23701 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
23702 if ${glibcxx_cv_func__isnanf_use+:} false; then :
23703 $as_echo_n "(cached) " >&6
23704 else
23707 ac_ext=cpp
23708 ac_cpp='$CXXCPP $CPPFLAGS'
23709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23714 /* end confdefs.h. */
23715 #include <math.h>
23716 #ifdef HAVE_IEEEFP_H
23717 #include <ieeefp.h>
23718 #endif
23721 main ()
23723 _isnanf(0);
23725 return 0;
23727 _ACEOF
23728 if ac_fn_cxx_try_compile "$LINENO"; then :
23729 glibcxx_cv_func__isnanf_use=yes
23730 else
23731 glibcxx_cv_func__isnanf_use=no
23733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23734 ac_ext=c
23735 ac_cpp='$CPP $CPPFLAGS'
23736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
23745 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
23747 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
23748 for ac_func in _isnanf
23749 do :
23750 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
23751 if test "x$ac_cv_func__isnanf" = xyes; then :
23752 cat >>confdefs.h <<_ACEOF
23753 #define HAVE__ISNANF 1
23754 _ACEOF
23757 done
23766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
23767 $as_echo_n "checking for isinff declaration... " >&6; }
23768 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
23769 if ${glibcxx_cv_func_isinff_use+:} false; then :
23770 $as_echo_n "(cached) " >&6
23771 else
23774 ac_ext=cpp
23775 ac_cpp='$CXXCPP $CPPFLAGS'
23776 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23777 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23778 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23781 /* end confdefs.h. */
23782 #include <math.h>
23783 #ifdef HAVE_IEEEFP_H
23784 #include <ieeefp.h>
23785 #endif
23788 main ()
23790 isinff(0);
23792 return 0;
23794 _ACEOF
23795 if ac_fn_cxx_try_compile "$LINENO"; then :
23796 glibcxx_cv_func_isinff_use=yes
23797 else
23798 glibcxx_cv_func_isinff_use=no
23800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23801 ac_ext=c
23802 ac_cpp='$CPP $CPPFLAGS'
23803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
23812 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
23814 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
23815 for ac_func in isinff
23816 do :
23817 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
23818 if test "x$ac_cv_func_isinff" = xyes; then :
23819 cat >>confdefs.h <<_ACEOF
23820 #define HAVE_ISINFF 1
23821 _ACEOF
23824 done
23826 else
23828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
23829 $as_echo_n "checking for _isinff declaration... " >&6; }
23830 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
23831 if ${glibcxx_cv_func__isinff_use+:} false; then :
23832 $as_echo_n "(cached) " >&6
23833 else
23836 ac_ext=cpp
23837 ac_cpp='$CXXCPP $CPPFLAGS'
23838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23843 /* end confdefs.h. */
23844 #include <math.h>
23845 #ifdef HAVE_IEEEFP_H
23846 #include <ieeefp.h>
23847 #endif
23850 main ()
23852 _isinff(0);
23854 return 0;
23856 _ACEOF
23857 if ac_fn_cxx_try_compile "$LINENO"; then :
23858 glibcxx_cv_func__isinff_use=yes
23859 else
23860 glibcxx_cv_func__isinff_use=no
23862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23863 ac_ext=c
23864 ac_cpp='$CPP $CPPFLAGS'
23865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
23874 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
23876 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
23877 for ac_func in _isinff
23878 do :
23879 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
23880 if test "x$ac_cv_func__isinff" = xyes; then :
23881 cat >>confdefs.h <<_ACEOF
23882 #define HAVE__ISINFF 1
23883 _ACEOF
23886 done
23895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
23896 $as_echo_n "checking for atan2f declaration... " >&6; }
23897 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
23898 if ${glibcxx_cv_func_atan2f_use+:} false; then :
23899 $as_echo_n "(cached) " >&6
23900 else
23903 ac_ext=cpp
23904 ac_cpp='$CXXCPP $CPPFLAGS'
23905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23910 /* end confdefs.h. */
23911 #include <math.h>
23913 main ()
23915 atan2f(0, 0);
23917 return 0;
23919 _ACEOF
23920 if ac_fn_cxx_try_compile "$LINENO"; then :
23921 glibcxx_cv_func_atan2f_use=yes
23922 else
23923 glibcxx_cv_func_atan2f_use=no
23925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23926 ac_ext=c
23927 ac_cpp='$CPP $CPPFLAGS'
23928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
23937 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
23939 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
23940 for ac_func in atan2f
23941 do :
23942 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
23943 if test "x$ac_cv_func_atan2f" = xyes; then :
23944 cat >>confdefs.h <<_ACEOF
23945 #define HAVE_ATAN2F 1
23946 _ACEOF
23949 done
23951 else
23953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
23954 $as_echo_n "checking for _atan2f declaration... " >&6; }
23955 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
23956 if ${glibcxx_cv_func__atan2f_use+:} false; then :
23957 $as_echo_n "(cached) " >&6
23958 else
23961 ac_ext=cpp
23962 ac_cpp='$CXXCPP $CPPFLAGS'
23963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23968 /* end confdefs.h. */
23969 #include <math.h>
23971 main ()
23973 _atan2f(0, 0);
23975 return 0;
23977 _ACEOF
23978 if ac_fn_cxx_try_compile "$LINENO"; then :
23979 glibcxx_cv_func__atan2f_use=yes
23980 else
23981 glibcxx_cv_func__atan2f_use=no
23983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23984 ac_ext=c
23985 ac_cpp='$CPP $CPPFLAGS'
23986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
23995 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
23997 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
23998 for ac_func in _atan2f
23999 do :
24000 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
24001 if test "x$ac_cv_func__atan2f" = xyes; then :
24002 cat >>confdefs.h <<_ACEOF
24003 #define HAVE__ATAN2F 1
24004 _ACEOF
24007 done
24016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
24017 $as_echo_n "checking for fabsf declaration... " >&6; }
24018 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
24019 if ${glibcxx_cv_func_fabsf_use+:} false; then :
24020 $as_echo_n "(cached) " >&6
24021 else
24024 ac_ext=cpp
24025 ac_cpp='$CXXCPP $CPPFLAGS'
24026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24031 /* end confdefs.h. */
24032 #include <math.h>
24033 #ifdef HAVE_IEEEFP_H
24034 #include <ieeefp.h>
24035 #endif
24038 main ()
24040 fabsf(0);
24042 return 0;
24044 _ACEOF
24045 if ac_fn_cxx_try_compile "$LINENO"; then :
24046 glibcxx_cv_func_fabsf_use=yes
24047 else
24048 glibcxx_cv_func_fabsf_use=no
24050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24051 ac_ext=c
24052 ac_cpp='$CPP $CPPFLAGS'
24053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24054 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24055 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
24062 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
24064 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
24065 for ac_func in fabsf
24066 do :
24067 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
24068 if test "x$ac_cv_func_fabsf" = xyes; then :
24069 cat >>confdefs.h <<_ACEOF
24070 #define HAVE_FABSF 1
24071 _ACEOF
24074 done
24076 else
24078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
24079 $as_echo_n "checking for _fabsf declaration... " >&6; }
24080 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
24081 if ${glibcxx_cv_func__fabsf_use+:} false; then :
24082 $as_echo_n "(cached) " >&6
24083 else
24086 ac_ext=cpp
24087 ac_cpp='$CXXCPP $CPPFLAGS'
24088 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24089 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24090 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24093 /* end confdefs.h. */
24094 #include <math.h>
24095 #ifdef HAVE_IEEEFP_H
24096 #include <ieeefp.h>
24097 #endif
24100 main ()
24102 _fabsf(0);
24104 return 0;
24106 _ACEOF
24107 if ac_fn_cxx_try_compile "$LINENO"; then :
24108 glibcxx_cv_func__fabsf_use=yes
24109 else
24110 glibcxx_cv_func__fabsf_use=no
24112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24113 ac_ext=c
24114 ac_cpp='$CPP $CPPFLAGS'
24115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
24124 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
24126 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
24127 for ac_func in _fabsf
24128 do :
24129 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
24130 if test "x$ac_cv_func__fabsf" = xyes; then :
24131 cat >>confdefs.h <<_ACEOF
24132 #define HAVE__FABSF 1
24133 _ACEOF
24136 done
24145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
24146 $as_echo_n "checking for fmodf declaration... " >&6; }
24147 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
24148 if ${glibcxx_cv_func_fmodf_use+:} false; then :
24149 $as_echo_n "(cached) " >&6
24150 else
24153 ac_ext=cpp
24154 ac_cpp='$CXXCPP $CPPFLAGS'
24155 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24156 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24157 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24160 /* end confdefs.h. */
24161 #include <math.h>
24163 main ()
24165 fmodf(0, 0);
24167 return 0;
24169 _ACEOF
24170 if ac_fn_cxx_try_compile "$LINENO"; then :
24171 glibcxx_cv_func_fmodf_use=yes
24172 else
24173 glibcxx_cv_func_fmodf_use=no
24175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24176 ac_ext=c
24177 ac_cpp='$CPP $CPPFLAGS'
24178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
24187 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
24189 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
24190 for ac_func in fmodf
24191 do :
24192 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
24193 if test "x$ac_cv_func_fmodf" = xyes; then :
24194 cat >>confdefs.h <<_ACEOF
24195 #define HAVE_FMODF 1
24196 _ACEOF
24199 done
24201 else
24203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
24204 $as_echo_n "checking for _fmodf declaration... " >&6; }
24205 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
24206 if ${glibcxx_cv_func__fmodf_use+:} false; then :
24207 $as_echo_n "(cached) " >&6
24208 else
24211 ac_ext=cpp
24212 ac_cpp='$CXXCPP $CPPFLAGS'
24213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24218 /* end confdefs.h. */
24219 #include <math.h>
24221 main ()
24223 _fmodf(0, 0);
24225 return 0;
24227 _ACEOF
24228 if ac_fn_cxx_try_compile "$LINENO"; then :
24229 glibcxx_cv_func__fmodf_use=yes
24230 else
24231 glibcxx_cv_func__fmodf_use=no
24233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24234 ac_ext=c
24235 ac_cpp='$CPP $CPPFLAGS'
24236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
24245 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
24247 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
24248 for ac_func in _fmodf
24249 do :
24250 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
24251 if test "x$ac_cv_func__fmodf" = xyes; then :
24252 cat >>confdefs.h <<_ACEOF
24253 #define HAVE__FMODF 1
24254 _ACEOF
24257 done
24266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
24267 $as_echo_n "checking for frexpf declaration... " >&6; }
24268 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
24269 if ${glibcxx_cv_func_frexpf_use+:} false; then :
24270 $as_echo_n "(cached) " >&6
24271 else
24274 ac_ext=cpp
24275 ac_cpp='$CXXCPP $CPPFLAGS'
24276 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24277 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24278 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24281 /* end confdefs.h. */
24282 #include <math.h>
24284 main ()
24286 frexpf(0, 0);
24288 return 0;
24290 _ACEOF
24291 if ac_fn_cxx_try_compile "$LINENO"; then :
24292 glibcxx_cv_func_frexpf_use=yes
24293 else
24294 glibcxx_cv_func_frexpf_use=no
24296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24297 ac_ext=c
24298 ac_cpp='$CPP $CPPFLAGS'
24299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
24308 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
24310 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
24311 for ac_func in frexpf
24312 do :
24313 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
24314 if test "x$ac_cv_func_frexpf" = xyes; then :
24315 cat >>confdefs.h <<_ACEOF
24316 #define HAVE_FREXPF 1
24317 _ACEOF
24320 done
24322 else
24324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
24325 $as_echo_n "checking for _frexpf declaration... " >&6; }
24326 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
24327 if ${glibcxx_cv_func__frexpf_use+:} false; then :
24328 $as_echo_n "(cached) " >&6
24329 else
24332 ac_ext=cpp
24333 ac_cpp='$CXXCPP $CPPFLAGS'
24334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24339 /* end confdefs.h. */
24340 #include <math.h>
24342 main ()
24344 _frexpf(0, 0);
24346 return 0;
24348 _ACEOF
24349 if ac_fn_cxx_try_compile "$LINENO"; then :
24350 glibcxx_cv_func__frexpf_use=yes
24351 else
24352 glibcxx_cv_func__frexpf_use=no
24354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24355 ac_ext=c
24356 ac_cpp='$CPP $CPPFLAGS'
24357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
24366 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
24368 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
24369 for ac_func in _frexpf
24370 do :
24371 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
24372 if test "x$ac_cv_func__frexpf" = xyes; then :
24373 cat >>confdefs.h <<_ACEOF
24374 #define HAVE__FREXPF 1
24375 _ACEOF
24378 done
24387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
24388 $as_echo_n "checking for hypotf declaration... " >&6; }
24389 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
24390 if ${glibcxx_cv_func_hypotf_use+:} false; then :
24391 $as_echo_n "(cached) " >&6
24392 else
24395 ac_ext=cpp
24396 ac_cpp='$CXXCPP $CPPFLAGS'
24397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24402 /* end confdefs.h. */
24403 #include <math.h>
24405 main ()
24407 hypotf(0, 0);
24409 return 0;
24411 _ACEOF
24412 if ac_fn_cxx_try_compile "$LINENO"; then :
24413 glibcxx_cv_func_hypotf_use=yes
24414 else
24415 glibcxx_cv_func_hypotf_use=no
24417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24418 ac_ext=c
24419 ac_cpp='$CPP $CPPFLAGS'
24420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
24429 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
24431 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
24432 for ac_func in hypotf
24433 do :
24434 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
24435 if test "x$ac_cv_func_hypotf" = xyes; then :
24436 cat >>confdefs.h <<_ACEOF
24437 #define HAVE_HYPOTF 1
24438 _ACEOF
24441 done
24443 else
24445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
24446 $as_echo_n "checking for _hypotf declaration... " >&6; }
24447 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
24448 if ${glibcxx_cv_func__hypotf_use+:} false; then :
24449 $as_echo_n "(cached) " >&6
24450 else
24453 ac_ext=cpp
24454 ac_cpp='$CXXCPP $CPPFLAGS'
24455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24460 /* end confdefs.h. */
24461 #include <math.h>
24463 main ()
24465 _hypotf(0, 0);
24467 return 0;
24469 _ACEOF
24470 if ac_fn_cxx_try_compile "$LINENO"; then :
24471 glibcxx_cv_func__hypotf_use=yes
24472 else
24473 glibcxx_cv_func__hypotf_use=no
24475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24476 ac_ext=c
24477 ac_cpp='$CPP $CPPFLAGS'
24478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
24487 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
24489 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
24490 for ac_func in _hypotf
24491 do :
24492 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
24493 if test "x$ac_cv_func__hypotf" = xyes; then :
24494 cat >>confdefs.h <<_ACEOF
24495 #define HAVE__HYPOTF 1
24496 _ACEOF
24499 done
24508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
24509 $as_echo_n "checking for ldexpf declaration... " >&6; }
24510 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
24511 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
24512 $as_echo_n "(cached) " >&6
24513 else
24516 ac_ext=cpp
24517 ac_cpp='$CXXCPP $CPPFLAGS'
24518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24523 /* end confdefs.h. */
24524 #include <math.h>
24526 main ()
24528 ldexpf(0, 0);
24530 return 0;
24532 _ACEOF
24533 if ac_fn_cxx_try_compile "$LINENO"; then :
24534 glibcxx_cv_func_ldexpf_use=yes
24535 else
24536 glibcxx_cv_func_ldexpf_use=no
24538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24539 ac_ext=c
24540 ac_cpp='$CPP $CPPFLAGS'
24541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
24550 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
24552 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
24553 for ac_func in ldexpf
24554 do :
24555 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
24556 if test "x$ac_cv_func_ldexpf" = xyes; then :
24557 cat >>confdefs.h <<_ACEOF
24558 #define HAVE_LDEXPF 1
24559 _ACEOF
24562 done
24564 else
24566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
24567 $as_echo_n "checking for _ldexpf declaration... " >&6; }
24568 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
24569 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
24570 $as_echo_n "(cached) " >&6
24571 else
24574 ac_ext=cpp
24575 ac_cpp='$CXXCPP $CPPFLAGS'
24576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24581 /* end confdefs.h. */
24582 #include <math.h>
24584 main ()
24586 _ldexpf(0, 0);
24588 return 0;
24590 _ACEOF
24591 if ac_fn_cxx_try_compile "$LINENO"; then :
24592 glibcxx_cv_func__ldexpf_use=yes
24593 else
24594 glibcxx_cv_func__ldexpf_use=no
24596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24597 ac_ext=c
24598 ac_cpp='$CPP $CPPFLAGS'
24599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
24608 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
24610 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
24611 for ac_func in _ldexpf
24612 do :
24613 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
24614 if test "x$ac_cv_func__ldexpf" = xyes; then :
24615 cat >>confdefs.h <<_ACEOF
24616 #define HAVE__LDEXPF 1
24617 _ACEOF
24620 done
24629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
24630 $as_echo_n "checking for logf declaration... " >&6; }
24631 if test x${glibcxx_cv_func_logf_use+set} != xset; then
24632 if ${glibcxx_cv_func_logf_use+:} false; then :
24633 $as_echo_n "(cached) " >&6
24634 else
24637 ac_ext=cpp
24638 ac_cpp='$CXXCPP $CPPFLAGS'
24639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24644 /* end confdefs.h. */
24645 #include <math.h>
24646 #ifdef HAVE_IEEEFP_H
24647 #include <ieeefp.h>
24648 #endif
24651 main ()
24653 logf(0);
24655 return 0;
24657 _ACEOF
24658 if ac_fn_cxx_try_compile "$LINENO"; then :
24659 glibcxx_cv_func_logf_use=yes
24660 else
24661 glibcxx_cv_func_logf_use=no
24663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24664 ac_ext=c
24665 ac_cpp='$CPP $CPPFLAGS'
24666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
24675 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
24677 if test x$glibcxx_cv_func_logf_use = x"yes"; then
24678 for ac_func in logf
24679 do :
24680 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
24681 if test "x$ac_cv_func_logf" = xyes; then :
24682 cat >>confdefs.h <<_ACEOF
24683 #define HAVE_LOGF 1
24684 _ACEOF
24687 done
24689 else
24691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
24692 $as_echo_n "checking for _logf declaration... " >&6; }
24693 if test x${glibcxx_cv_func__logf_use+set} != xset; then
24694 if ${glibcxx_cv_func__logf_use+:} false; then :
24695 $as_echo_n "(cached) " >&6
24696 else
24699 ac_ext=cpp
24700 ac_cpp='$CXXCPP $CPPFLAGS'
24701 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24702 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24703 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24706 /* end confdefs.h. */
24707 #include <math.h>
24708 #ifdef HAVE_IEEEFP_H
24709 #include <ieeefp.h>
24710 #endif
24713 main ()
24715 _logf(0);
24717 return 0;
24719 _ACEOF
24720 if ac_fn_cxx_try_compile "$LINENO"; then :
24721 glibcxx_cv_func__logf_use=yes
24722 else
24723 glibcxx_cv_func__logf_use=no
24725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24726 ac_ext=c
24727 ac_cpp='$CPP $CPPFLAGS'
24728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
24737 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
24739 if test x$glibcxx_cv_func__logf_use = x"yes"; then
24740 for ac_func in _logf
24741 do :
24742 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
24743 if test "x$ac_cv_func__logf" = xyes; then :
24744 cat >>confdefs.h <<_ACEOF
24745 #define HAVE__LOGF 1
24746 _ACEOF
24749 done
24758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
24759 $as_echo_n "checking for log10f declaration... " >&6; }
24760 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
24761 if ${glibcxx_cv_func_log10f_use+:} false; then :
24762 $as_echo_n "(cached) " >&6
24763 else
24766 ac_ext=cpp
24767 ac_cpp='$CXXCPP $CPPFLAGS'
24768 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24769 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24770 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24773 /* end confdefs.h. */
24774 #include <math.h>
24775 #ifdef HAVE_IEEEFP_H
24776 #include <ieeefp.h>
24777 #endif
24780 main ()
24782 log10f(0);
24784 return 0;
24786 _ACEOF
24787 if ac_fn_cxx_try_compile "$LINENO"; then :
24788 glibcxx_cv_func_log10f_use=yes
24789 else
24790 glibcxx_cv_func_log10f_use=no
24792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24793 ac_ext=c
24794 ac_cpp='$CPP $CPPFLAGS'
24795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
24804 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
24806 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
24807 for ac_func in log10f
24808 do :
24809 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
24810 if test "x$ac_cv_func_log10f" = xyes; then :
24811 cat >>confdefs.h <<_ACEOF
24812 #define HAVE_LOG10F 1
24813 _ACEOF
24816 done
24818 else
24820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
24821 $as_echo_n "checking for _log10f declaration... " >&6; }
24822 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
24823 if ${glibcxx_cv_func__log10f_use+:} false; then :
24824 $as_echo_n "(cached) " >&6
24825 else
24828 ac_ext=cpp
24829 ac_cpp='$CXXCPP $CPPFLAGS'
24830 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24831 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24832 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24835 /* end confdefs.h. */
24836 #include <math.h>
24837 #ifdef HAVE_IEEEFP_H
24838 #include <ieeefp.h>
24839 #endif
24842 main ()
24844 _log10f(0);
24846 return 0;
24848 _ACEOF
24849 if ac_fn_cxx_try_compile "$LINENO"; then :
24850 glibcxx_cv_func__log10f_use=yes
24851 else
24852 glibcxx_cv_func__log10f_use=no
24854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24855 ac_ext=c
24856 ac_cpp='$CPP $CPPFLAGS'
24857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
24866 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
24868 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
24869 for ac_func in _log10f
24870 do :
24871 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
24872 if test "x$ac_cv_func__log10f" = xyes; then :
24873 cat >>confdefs.h <<_ACEOF
24874 #define HAVE__LOG10F 1
24875 _ACEOF
24878 done
24887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
24888 $as_echo_n "checking for modff declaration... " >&6; }
24889 if test x${glibcxx_cv_func_modff_use+set} != xset; then
24890 if ${glibcxx_cv_func_modff_use+:} false; then :
24891 $as_echo_n "(cached) " >&6
24892 else
24895 ac_ext=cpp
24896 ac_cpp='$CXXCPP $CPPFLAGS'
24897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24902 /* end confdefs.h. */
24903 #include <math.h>
24905 main ()
24907 modff(0, 0);
24909 return 0;
24911 _ACEOF
24912 if ac_fn_cxx_try_compile "$LINENO"; then :
24913 glibcxx_cv_func_modff_use=yes
24914 else
24915 glibcxx_cv_func_modff_use=no
24917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24918 ac_ext=c
24919 ac_cpp='$CPP $CPPFLAGS'
24920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
24929 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
24931 if test x$glibcxx_cv_func_modff_use = x"yes"; then
24932 for ac_func in modff
24933 do :
24934 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
24935 if test "x$ac_cv_func_modff" = xyes; then :
24936 cat >>confdefs.h <<_ACEOF
24937 #define HAVE_MODFF 1
24938 _ACEOF
24941 done
24943 else
24945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
24946 $as_echo_n "checking for _modff declaration... " >&6; }
24947 if test x${glibcxx_cv_func__modff_use+set} != xset; then
24948 if ${glibcxx_cv_func__modff_use+:} false; then :
24949 $as_echo_n "(cached) " >&6
24950 else
24953 ac_ext=cpp
24954 ac_cpp='$CXXCPP $CPPFLAGS'
24955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24960 /* end confdefs.h. */
24961 #include <math.h>
24963 main ()
24965 _modff(0, 0);
24967 return 0;
24969 _ACEOF
24970 if ac_fn_cxx_try_compile "$LINENO"; then :
24971 glibcxx_cv_func__modff_use=yes
24972 else
24973 glibcxx_cv_func__modff_use=no
24975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24976 ac_ext=c
24977 ac_cpp='$CPP $CPPFLAGS'
24978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
24987 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
24989 if test x$glibcxx_cv_func__modff_use = x"yes"; then
24990 for ac_func in _modff
24991 do :
24992 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
24993 if test "x$ac_cv_func__modff" = xyes; then :
24994 cat >>confdefs.h <<_ACEOF
24995 #define HAVE__MODFF 1
24996 _ACEOF
24999 done
25008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
25009 $as_echo_n "checking for modf declaration... " >&6; }
25010 if test x${glibcxx_cv_func_modf_use+set} != xset; then
25011 if ${glibcxx_cv_func_modf_use+:} false; then :
25012 $as_echo_n "(cached) " >&6
25013 else
25016 ac_ext=cpp
25017 ac_cpp='$CXXCPP $CPPFLAGS'
25018 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25019 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25020 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25023 /* end confdefs.h. */
25024 #include <math.h>
25026 main ()
25028 modf(0, 0);
25030 return 0;
25032 _ACEOF
25033 if ac_fn_cxx_try_compile "$LINENO"; then :
25034 glibcxx_cv_func_modf_use=yes
25035 else
25036 glibcxx_cv_func_modf_use=no
25038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25039 ac_ext=c
25040 ac_cpp='$CPP $CPPFLAGS'
25041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
25050 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
25052 if test x$glibcxx_cv_func_modf_use = x"yes"; then
25053 for ac_func in modf
25054 do :
25055 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
25056 if test "x$ac_cv_func_modf" = xyes; then :
25057 cat >>confdefs.h <<_ACEOF
25058 #define HAVE_MODF 1
25059 _ACEOF
25062 done
25064 else
25066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
25067 $as_echo_n "checking for _modf declaration... " >&6; }
25068 if test x${glibcxx_cv_func__modf_use+set} != xset; then
25069 if ${glibcxx_cv_func__modf_use+:} false; then :
25070 $as_echo_n "(cached) " >&6
25071 else
25074 ac_ext=cpp
25075 ac_cpp='$CXXCPP $CPPFLAGS'
25076 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25077 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25078 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25081 /* end confdefs.h. */
25082 #include <math.h>
25084 main ()
25086 _modf(0, 0);
25088 return 0;
25090 _ACEOF
25091 if ac_fn_cxx_try_compile "$LINENO"; then :
25092 glibcxx_cv_func__modf_use=yes
25093 else
25094 glibcxx_cv_func__modf_use=no
25096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25097 ac_ext=c
25098 ac_cpp='$CPP $CPPFLAGS'
25099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
25108 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
25110 if test x$glibcxx_cv_func__modf_use = x"yes"; then
25111 for ac_func in _modf
25112 do :
25113 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
25114 if test "x$ac_cv_func__modf" = xyes; then :
25115 cat >>confdefs.h <<_ACEOF
25116 #define HAVE__MODF 1
25117 _ACEOF
25120 done
25129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
25130 $as_echo_n "checking for powf declaration... " >&6; }
25131 if test x${glibcxx_cv_func_powf_use+set} != xset; then
25132 if ${glibcxx_cv_func_powf_use+:} false; then :
25133 $as_echo_n "(cached) " >&6
25134 else
25137 ac_ext=cpp
25138 ac_cpp='$CXXCPP $CPPFLAGS'
25139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25144 /* end confdefs.h. */
25145 #include <math.h>
25147 main ()
25149 powf(0, 0);
25151 return 0;
25153 _ACEOF
25154 if ac_fn_cxx_try_compile "$LINENO"; then :
25155 glibcxx_cv_func_powf_use=yes
25156 else
25157 glibcxx_cv_func_powf_use=no
25159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25160 ac_ext=c
25161 ac_cpp='$CPP $CPPFLAGS'
25162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
25171 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
25173 if test x$glibcxx_cv_func_powf_use = x"yes"; then
25174 for ac_func in powf
25175 do :
25176 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
25177 if test "x$ac_cv_func_powf" = xyes; then :
25178 cat >>confdefs.h <<_ACEOF
25179 #define HAVE_POWF 1
25180 _ACEOF
25183 done
25185 else
25187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
25188 $as_echo_n "checking for _powf declaration... " >&6; }
25189 if test x${glibcxx_cv_func__powf_use+set} != xset; then
25190 if ${glibcxx_cv_func__powf_use+:} false; then :
25191 $as_echo_n "(cached) " >&6
25192 else
25195 ac_ext=cpp
25196 ac_cpp='$CXXCPP $CPPFLAGS'
25197 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25198 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25199 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25202 /* end confdefs.h. */
25203 #include <math.h>
25205 main ()
25207 _powf(0, 0);
25209 return 0;
25211 _ACEOF
25212 if ac_fn_cxx_try_compile "$LINENO"; then :
25213 glibcxx_cv_func__powf_use=yes
25214 else
25215 glibcxx_cv_func__powf_use=no
25217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25218 ac_ext=c
25219 ac_cpp='$CPP $CPPFLAGS'
25220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
25229 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
25231 if test x$glibcxx_cv_func__powf_use = x"yes"; then
25232 for ac_func in _powf
25233 do :
25234 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
25235 if test "x$ac_cv_func__powf" = xyes; then :
25236 cat >>confdefs.h <<_ACEOF
25237 #define HAVE__POWF 1
25238 _ACEOF
25241 done
25250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
25251 $as_echo_n "checking for sqrtf declaration... " >&6; }
25252 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
25253 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
25254 $as_echo_n "(cached) " >&6
25255 else
25258 ac_ext=cpp
25259 ac_cpp='$CXXCPP $CPPFLAGS'
25260 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25261 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25262 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25265 /* end confdefs.h. */
25266 #include <math.h>
25267 #ifdef HAVE_IEEEFP_H
25268 #include <ieeefp.h>
25269 #endif
25272 main ()
25274 sqrtf(0);
25276 return 0;
25278 _ACEOF
25279 if ac_fn_cxx_try_compile "$LINENO"; then :
25280 glibcxx_cv_func_sqrtf_use=yes
25281 else
25282 glibcxx_cv_func_sqrtf_use=no
25284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25285 ac_ext=c
25286 ac_cpp='$CPP $CPPFLAGS'
25287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
25296 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
25298 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
25299 for ac_func in sqrtf
25300 do :
25301 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
25302 if test "x$ac_cv_func_sqrtf" = xyes; then :
25303 cat >>confdefs.h <<_ACEOF
25304 #define HAVE_SQRTF 1
25305 _ACEOF
25308 done
25310 else
25312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
25313 $as_echo_n "checking for _sqrtf declaration... " >&6; }
25314 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
25315 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
25316 $as_echo_n "(cached) " >&6
25317 else
25320 ac_ext=cpp
25321 ac_cpp='$CXXCPP $CPPFLAGS'
25322 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25323 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25324 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25327 /* end confdefs.h. */
25328 #include <math.h>
25329 #ifdef HAVE_IEEEFP_H
25330 #include <ieeefp.h>
25331 #endif
25334 main ()
25336 _sqrtf(0);
25338 return 0;
25340 _ACEOF
25341 if ac_fn_cxx_try_compile "$LINENO"; then :
25342 glibcxx_cv_func__sqrtf_use=yes
25343 else
25344 glibcxx_cv_func__sqrtf_use=no
25346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25347 ac_ext=c
25348 ac_cpp='$CPP $CPPFLAGS'
25349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
25358 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
25360 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
25361 for ac_func in _sqrtf
25362 do :
25363 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
25364 if test "x$ac_cv_func__sqrtf" = xyes; then :
25365 cat >>confdefs.h <<_ACEOF
25366 #define HAVE__SQRTF 1
25367 _ACEOF
25370 done
25379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
25380 $as_echo_n "checking for sincosf declaration... " >&6; }
25381 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
25382 if ${glibcxx_cv_func_sincosf_use+:} false; then :
25383 $as_echo_n "(cached) " >&6
25384 else
25387 ac_ext=cpp
25388 ac_cpp='$CXXCPP $CPPFLAGS'
25389 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25390 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25391 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25394 /* end confdefs.h. */
25395 #include <math.h>
25397 main ()
25399 sincosf(0, 0, 0);
25401 return 0;
25403 _ACEOF
25404 if ac_fn_cxx_try_compile "$LINENO"; then :
25405 glibcxx_cv_func_sincosf_use=yes
25406 else
25407 glibcxx_cv_func_sincosf_use=no
25409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25410 ac_ext=c
25411 ac_cpp='$CPP $CPPFLAGS'
25412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
25421 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
25423 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
25424 for ac_func in sincosf
25425 do :
25426 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
25427 if test "x$ac_cv_func_sincosf" = xyes; then :
25428 cat >>confdefs.h <<_ACEOF
25429 #define HAVE_SINCOSF 1
25430 _ACEOF
25433 done
25435 else
25437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
25438 $as_echo_n "checking for _sincosf declaration... " >&6; }
25439 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
25440 if ${glibcxx_cv_func__sincosf_use+:} false; then :
25441 $as_echo_n "(cached) " >&6
25442 else
25445 ac_ext=cpp
25446 ac_cpp='$CXXCPP $CPPFLAGS'
25447 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25448 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25449 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25452 /* end confdefs.h. */
25453 #include <math.h>
25455 main ()
25457 _sincosf(0, 0, 0);
25459 return 0;
25461 _ACEOF
25462 if ac_fn_cxx_try_compile "$LINENO"; then :
25463 glibcxx_cv_func__sincosf_use=yes
25464 else
25465 glibcxx_cv_func__sincosf_use=no
25467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25468 ac_ext=c
25469 ac_cpp='$CPP $CPPFLAGS'
25470 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25471 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25472 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
25479 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
25481 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
25482 for ac_func in _sincosf
25483 do :
25484 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
25485 if test "x$ac_cv_func__sincosf" = xyes; then :
25486 cat >>confdefs.h <<_ACEOF
25487 #define HAVE__SINCOSF 1
25488 _ACEOF
25491 done
25500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
25501 $as_echo_n "checking for finitef declaration... " >&6; }
25502 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
25503 if ${glibcxx_cv_func_finitef_use+:} false; then :
25504 $as_echo_n "(cached) " >&6
25505 else
25508 ac_ext=cpp
25509 ac_cpp='$CXXCPP $CPPFLAGS'
25510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25515 /* end confdefs.h. */
25516 #include <math.h>
25517 #ifdef HAVE_IEEEFP_H
25518 #include <ieeefp.h>
25519 #endif
25522 main ()
25524 finitef(0);
25526 return 0;
25528 _ACEOF
25529 if ac_fn_cxx_try_compile "$LINENO"; then :
25530 glibcxx_cv_func_finitef_use=yes
25531 else
25532 glibcxx_cv_func_finitef_use=no
25534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25535 ac_ext=c
25536 ac_cpp='$CPP $CPPFLAGS'
25537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
25546 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
25548 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
25549 for ac_func in finitef
25550 do :
25551 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
25552 if test "x$ac_cv_func_finitef" = xyes; then :
25553 cat >>confdefs.h <<_ACEOF
25554 #define HAVE_FINITEF 1
25555 _ACEOF
25558 done
25560 else
25562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
25563 $as_echo_n "checking for _finitef declaration... " >&6; }
25564 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
25565 if ${glibcxx_cv_func__finitef_use+:} false; then :
25566 $as_echo_n "(cached) " >&6
25567 else
25570 ac_ext=cpp
25571 ac_cpp='$CXXCPP $CPPFLAGS'
25572 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25573 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25574 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25577 /* end confdefs.h. */
25578 #include <math.h>
25579 #ifdef HAVE_IEEEFP_H
25580 #include <ieeefp.h>
25581 #endif
25584 main ()
25586 _finitef(0);
25588 return 0;
25590 _ACEOF
25591 if ac_fn_cxx_try_compile "$LINENO"; then :
25592 glibcxx_cv_func__finitef_use=yes
25593 else
25594 glibcxx_cv_func__finitef_use=no
25596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25597 ac_ext=c
25598 ac_cpp='$CPP $CPPFLAGS'
25599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
25608 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
25610 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
25611 for ac_func in _finitef
25612 do :
25613 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
25614 if test "x$ac_cv_func__finitef" = xyes; then :
25615 cat >>confdefs.h <<_ACEOF
25616 #define HAVE__FINITEF 1
25617 _ACEOF
25620 done
25629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
25630 $as_echo_n "checking for long double trig functions... " >&6; }
25631 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
25632 $as_echo_n "(cached) " >&6
25633 else
25636 ac_ext=cpp
25637 ac_cpp='$CXXCPP $CPPFLAGS'
25638 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25643 /* end confdefs.h. */
25644 #include <math.h>
25646 main ()
25648 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
25650 return 0;
25652 _ACEOF
25653 if ac_fn_cxx_try_compile "$LINENO"; then :
25654 glibcxx_cv_func_long_double_trig_use=yes
25655 else
25656 glibcxx_cv_func_long_double_trig_use=no
25658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25659 ac_ext=c
25660 ac_cpp='$CPP $CPPFLAGS'
25661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
25668 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
25669 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
25670 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
25671 do :
25672 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25673 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25674 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
25675 cat >>confdefs.h <<_ACEOF
25676 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25677 _ACEOF
25680 done
25682 else
25683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
25684 $as_echo_n "checking for _long double trig functions... " >&6; }
25685 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
25686 $as_echo_n "(cached) " >&6
25687 else
25690 ac_ext=cpp
25691 ac_cpp='$CXXCPP $CPPFLAGS'
25692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25697 /* end confdefs.h. */
25698 #include <math.h>
25700 main ()
25702 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
25704 return 0;
25706 _ACEOF
25707 if ac_fn_cxx_try_compile "$LINENO"; then :
25708 glibcxx_cv_func__long_double_trig_use=yes
25709 else
25710 glibcxx_cv_func__long_double_trig_use=no
25712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25713 ac_ext=c
25714 ac_cpp='$CPP $CPPFLAGS'
25715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
25722 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
25723 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
25724 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
25725 do :
25726 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25727 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25728 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
25729 cat >>confdefs.h <<_ACEOF
25730 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25731 _ACEOF
25734 done
25743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
25744 $as_echo_n "checking for long double round functions... " >&6; }
25745 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
25746 $as_echo_n "(cached) " >&6
25747 else
25750 ac_ext=cpp
25751 ac_cpp='$CXXCPP $CPPFLAGS'
25752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25757 /* end confdefs.h. */
25758 #include <math.h>
25760 main ()
25762 ceill (0); floorl (0);
25764 return 0;
25766 _ACEOF
25767 if ac_fn_cxx_try_compile "$LINENO"; then :
25768 glibcxx_cv_func_long_double_round_use=yes
25769 else
25770 glibcxx_cv_func_long_double_round_use=no
25772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25773 ac_ext=c
25774 ac_cpp='$CPP $CPPFLAGS'
25775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
25782 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
25783 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
25784 for ac_func in ceill floorl
25785 do :
25786 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25787 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25788 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
25789 cat >>confdefs.h <<_ACEOF
25790 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25791 _ACEOF
25794 done
25796 else
25797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
25798 $as_echo_n "checking for _long double round functions... " >&6; }
25799 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
25800 $as_echo_n "(cached) " >&6
25801 else
25804 ac_ext=cpp
25805 ac_cpp='$CXXCPP $CPPFLAGS'
25806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25811 /* end confdefs.h. */
25812 #include <math.h>
25814 main ()
25816 _ceill (0); _floorl (0);
25818 return 0;
25820 _ACEOF
25821 if ac_fn_cxx_try_compile "$LINENO"; then :
25822 glibcxx_cv_func__long_double_round_use=yes
25823 else
25824 glibcxx_cv_func__long_double_round_use=no
25826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25827 ac_ext=c
25828 ac_cpp='$CPP $CPPFLAGS'
25829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
25836 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
25837 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
25838 for ac_func in _ceill _floorl
25839 do :
25840 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25841 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25842 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
25843 cat >>confdefs.h <<_ACEOF
25844 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25845 _ACEOF
25848 done
25858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
25859 $as_echo_n "checking for isnanl declaration... " >&6; }
25860 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
25861 if ${glibcxx_cv_func_isnanl_use+:} false; then :
25862 $as_echo_n "(cached) " >&6
25863 else
25866 ac_ext=cpp
25867 ac_cpp='$CXXCPP $CPPFLAGS'
25868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25873 /* end confdefs.h. */
25874 #include <math.h>
25875 #ifdef HAVE_IEEEFP_H
25876 #include <ieeefp.h>
25877 #endif
25880 main ()
25882 isnanl(0);
25884 return 0;
25886 _ACEOF
25887 if ac_fn_cxx_try_compile "$LINENO"; then :
25888 glibcxx_cv_func_isnanl_use=yes
25889 else
25890 glibcxx_cv_func_isnanl_use=no
25892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25893 ac_ext=c
25894 ac_cpp='$CPP $CPPFLAGS'
25895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
25904 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
25906 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
25907 for ac_func in isnanl
25908 do :
25909 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
25910 if test "x$ac_cv_func_isnanl" = xyes; then :
25911 cat >>confdefs.h <<_ACEOF
25912 #define HAVE_ISNANL 1
25913 _ACEOF
25916 done
25918 else
25920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
25921 $as_echo_n "checking for _isnanl declaration... " >&6; }
25922 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
25923 if ${glibcxx_cv_func__isnanl_use+:} false; then :
25924 $as_echo_n "(cached) " >&6
25925 else
25928 ac_ext=cpp
25929 ac_cpp='$CXXCPP $CPPFLAGS'
25930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25935 /* end confdefs.h. */
25936 #include <math.h>
25937 #ifdef HAVE_IEEEFP_H
25938 #include <ieeefp.h>
25939 #endif
25942 main ()
25944 _isnanl(0);
25946 return 0;
25948 _ACEOF
25949 if ac_fn_cxx_try_compile "$LINENO"; then :
25950 glibcxx_cv_func__isnanl_use=yes
25951 else
25952 glibcxx_cv_func__isnanl_use=no
25954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25955 ac_ext=c
25956 ac_cpp='$CPP $CPPFLAGS'
25957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
25966 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
25968 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
25969 for ac_func in _isnanl
25970 do :
25971 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
25972 if test "x$ac_cv_func__isnanl" = xyes; then :
25973 cat >>confdefs.h <<_ACEOF
25974 #define HAVE__ISNANL 1
25975 _ACEOF
25978 done
25987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
25988 $as_echo_n "checking for isinfl declaration... " >&6; }
25989 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
25990 if ${glibcxx_cv_func_isinfl_use+:} false; then :
25991 $as_echo_n "(cached) " >&6
25992 else
25995 ac_ext=cpp
25996 ac_cpp='$CXXCPP $CPPFLAGS'
25997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26002 /* end confdefs.h. */
26003 #include <math.h>
26004 #ifdef HAVE_IEEEFP_H
26005 #include <ieeefp.h>
26006 #endif
26009 main ()
26011 isinfl(0);
26013 return 0;
26015 _ACEOF
26016 if ac_fn_cxx_try_compile "$LINENO"; then :
26017 glibcxx_cv_func_isinfl_use=yes
26018 else
26019 glibcxx_cv_func_isinfl_use=no
26021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26022 ac_ext=c
26023 ac_cpp='$CPP $CPPFLAGS'
26024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
26033 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
26035 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
26036 for ac_func in isinfl
26037 do :
26038 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
26039 if test "x$ac_cv_func_isinfl" = xyes; then :
26040 cat >>confdefs.h <<_ACEOF
26041 #define HAVE_ISINFL 1
26042 _ACEOF
26045 done
26047 else
26049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
26050 $as_echo_n "checking for _isinfl declaration... " >&6; }
26051 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
26052 if ${glibcxx_cv_func__isinfl_use+:} false; then :
26053 $as_echo_n "(cached) " >&6
26054 else
26057 ac_ext=cpp
26058 ac_cpp='$CXXCPP $CPPFLAGS'
26059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26064 /* end confdefs.h. */
26065 #include <math.h>
26066 #ifdef HAVE_IEEEFP_H
26067 #include <ieeefp.h>
26068 #endif
26071 main ()
26073 _isinfl(0);
26075 return 0;
26077 _ACEOF
26078 if ac_fn_cxx_try_compile "$LINENO"; then :
26079 glibcxx_cv_func__isinfl_use=yes
26080 else
26081 glibcxx_cv_func__isinfl_use=no
26083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26084 ac_ext=c
26085 ac_cpp='$CPP $CPPFLAGS'
26086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
26095 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
26097 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
26098 for ac_func in _isinfl
26099 do :
26100 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
26101 if test "x$ac_cv_func__isinfl" = xyes; then :
26102 cat >>confdefs.h <<_ACEOF
26103 #define HAVE__ISINFL 1
26104 _ACEOF
26107 done
26116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
26117 $as_echo_n "checking for atan2l declaration... " >&6; }
26118 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
26119 if ${glibcxx_cv_func_atan2l_use+:} false; then :
26120 $as_echo_n "(cached) " >&6
26121 else
26124 ac_ext=cpp
26125 ac_cpp='$CXXCPP $CPPFLAGS'
26126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26131 /* end confdefs.h. */
26132 #include <math.h>
26134 main ()
26136 atan2l(0, 0);
26138 return 0;
26140 _ACEOF
26141 if ac_fn_cxx_try_compile "$LINENO"; then :
26142 glibcxx_cv_func_atan2l_use=yes
26143 else
26144 glibcxx_cv_func_atan2l_use=no
26146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26147 ac_ext=c
26148 ac_cpp='$CPP $CPPFLAGS'
26149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
26158 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
26160 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
26161 for ac_func in atan2l
26162 do :
26163 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
26164 if test "x$ac_cv_func_atan2l" = xyes; then :
26165 cat >>confdefs.h <<_ACEOF
26166 #define HAVE_ATAN2L 1
26167 _ACEOF
26170 done
26172 else
26174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
26175 $as_echo_n "checking for _atan2l declaration... " >&6; }
26176 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
26177 if ${glibcxx_cv_func__atan2l_use+:} false; then :
26178 $as_echo_n "(cached) " >&6
26179 else
26182 ac_ext=cpp
26183 ac_cpp='$CXXCPP $CPPFLAGS'
26184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26189 /* end confdefs.h. */
26190 #include <math.h>
26192 main ()
26194 _atan2l(0, 0);
26196 return 0;
26198 _ACEOF
26199 if ac_fn_cxx_try_compile "$LINENO"; then :
26200 glibcxx_cv_func__atan2l_use=yes
26201 else
26202 glibcxx_cv_func__atan2l_use=no
26204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26205 ac_ext=c
26206 ac_cpp='$CPP $CPPFLAGS'
26207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
26216 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
26218 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
26219 for ac_func in _atan2l
26220 do :
26221 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
26222 if test "x$ac_cv_func__atan2l" = xyes; then :
26223 cat >>confdefs.h <<_ACEOF
26224 #define HAVE__ATAN2L 1
26225 _ACEOF
26228 done
26237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
26238 $as_echo_n "checking for expl declaration... " >&6; }
26239 if test x${glibcxx_cv_func_expl_use+set} != xset; then
26240 if ${glibcxx_cv_func_expl_use+:} false; then :
26241 $as_echo_n "(cached) " >&6
26242 else
26245 ac_ext=cpp
26246 ac_cpp='$CXXCPP $CPPFLAGS'
26247 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26248 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26249 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26252 /* end confdefs.h. */
26253 #include <math.h>
26254 #ifdef HAVE_IEEEFP_H
26255 #include <ieeefp.h>
26256 #endif
26259 main ()
26261 expl(0);
26263 return 0;
26265 _ACEOF
26266 if ac_fn_cxx_try_compile "$LINENO"; then :
26267 glibcxx_cv_func_expl_use=yes
26268 else
26269 glibcxx_cv_func_expl_use=no
26271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26272 ac_ext=c
26273 ac_cpp='$CPP $CPPFLAGS'
26274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
26283 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
26285 if test x$glibcxx_cv_func_expl_use = x"yes"; then
26286 for ac_func in expl
26287 do :
26288 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
26289 if test "x$ac_cv_func_expl" = xyes; then :
26290 cat >>confdefs.h <<_ACEOF
26291 #define HAVE_EXPL 1
26292 _ACEOF
26295 done
26297 else
26299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
26300 $as_echo_n "checking for _expl declaration... " >&6; }
26301 if test x${glibcxx_cv_func__expl_use+set} != xset; then
26302 if ${glibcxx_cv_func__expl_use+:} false; then :
26303 $as_echo_n "(cached) " >&6
26304 else
26307 ac_ext=cpp
26308 ac_cpp='$CXXCPP $CPPFLAGS'
26309 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26310 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26311 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26314 /* end confdefs.h. */
26315 #include <math.h>
26316 #ifdef HAVE_IEEEFP_H
26317 #include <ieeefp.h>
26318 #endif
26321 main ()
26323 _expl(0);
26325 return 0;
26327 _ACEOF
26328 if ac_fn_cxx_try_compile "$LINENO"; then :
26329 glibcxx_cv_func__expl_use=yes
26330 else
26331 glibcxx_cv_func__expl_use=no
26333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26334 ac_ext=c
26335 ac_cpp='$CPP $CPPFLAGS'
26336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
26345 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
26347 if test x$glibcxx_cv_func__expl_use = x"yes"; then
26348 for ac_func in _expl
26349 do :
26350 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
26351 if test "x$ac_cv_func__expl" = xyes; then :
26352 cat >>confdefs.h <<_ACEOF
26353 #define HAVE__EXPL 1
26354 _ACEOF
26357 done
26366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
26367 $as_echo_n "checking for fabsl declaration... " >&6; }
26368 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
26369 if ${glibcxx_cv_func_fabsl_use+:} false; then :
26370 $as_echo_n "(cached) " >&6
26371 else
26374 ac_ext=cpp
26375 ac_cpp='$CXXCPP $CPPFLAGS'
26376 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26377 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26378 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26381 /* end confdefs.h. */
26382 #include <math.h>
26383 #ifdef HAVE_IEEEFP_H
26384 #include <ieeefp.h>
26385 #endif
26388 main ()
26390 fabsl(0);
26392 return 0;
26394 _ACEOF
26395 if ac_fn_cxx_try_compile "$LINENO"; then :
26396 glibcxx_cv_func_fabsl_use=yes
26397 else
26398 glibcxx_cv_func_fabsl_use=no
26400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26401 ac_ext=c
26402 ac_cpp='$CPP $CPPFLAGS'
26403 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26404 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
26412 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
26414 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
26415 for ac_func in fabsl
26416 do :
26417 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
26418 if test "x$ac_cv_func_fabsl" = xyes; then :
26419 cat >>confdefs.h <<_ACEOF
26420 #define HAVE_FABSL 1
26421 _ACEOF
26424 done
26426 else
26428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
26429 $as_echo_n "checking for _fabsl declaration... " >&6; }
26430 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
26431 if ${glibcxx_cv_func__fabsl_use+:} false; then :
26432 $as_echo_n "(cached) " >&6
26433 else
26436 ac_ext=cpp
26437 ac_cpp='$CXXCPP $CPPFLAGS'
26438 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26439 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26440 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26443 /* end confdefs.h. */
26444 #include <math.h>
26445 #ifdef HAVE_IEEEFP_H
26446 #include <ieeefp.h>
26447 #endif
26450 main ()
26452 _fabsl(0);
26454 return 0;
26456 _ACEOF
26457 if ac_fn_cxx_try_compile "$LINENO"; then :
26458 glibcxx_cv_func__fabsl_use=yes
26459 else
26460 glibcxx_cv_func__fabsl_use=no
26462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26463 ac_ext=c
26464 ac_cpp='$CPP $CPPFLAGS'
26465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
26474 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
26476 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
26477 for ac_func in _fabsl
26478 do :
26479 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
26480 if test "x$ac_cv_func__fabsl" = xyes; then :
26481 cat >>confdefs.h <<_ACEOF
26482 #define HAVE__FABSL 1
26483 _ACEOF
26486 done
26495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
26496 $as_echo_n "checking for fmodl declaration... " >&6; }
26497 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
26498 if ${glibcxx_cv_func_fmodl_use+:} false; then :
26499 $as_echo_n "(cached) " >&6
26500 else
26503 ac_ext=cpp
26504 ac_cpp='$CXXCPP $CPPFLAGS'
26505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26510 /* end confdefs.h. */
26511 #include <math.h>
26513 main ()
26515 fmodl(0, 0);
26517 return 0;
26519 _ACEOF
26520 if ac_fn_cxx_try_compile "$LINENO"; then :
26521 glibcxx_cv_func_fmodl_use=yes
26522 else
26523 glibcxx_cv_func_fmodl_use=no
26525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26526 ac_ext=c
26527 ac_cpp='$CPP $CPPFLAGS'
26528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
26537 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
26539 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
26540 for ac_func in fmodl
26541 do :
26542 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
26543 if test "x$ac_cv_func_fmodl" = xyes; then :
26544 cat >>confdefs.h <<_ACEOF
26545 #define HAVE_FMODL 1
26546 _ACEOF
26549 done
26551 else
26553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
26554 $as_echo_n "checking for _fmodl declaration... " >&6; }
26555 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
26556 if ${glibcxx_cv_func__fmodl_use+:} false; then :
26557 $as_echo_n "(cached) " >&6
26558 else
26561 ac_ext=cpp
26562 ac_cpp='$CXXCPP $CPPFLAGS'
26563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26568 /* end confdefs.h. */
26569 #include <math.h>
26571 main ()
26573 _fmodl(0, 0);
26575 return 0;
26577 _ACEOF
26578 if ac_fn_cxx_try_compile "$LINENO"; then :
26579 glibcxx_cv_func__fmodl_use=yes
26580 else
26581 glibcxx_cv_func__fmodl_use=no
26583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26584 ac_ext=c
26585 ac_cpp='$CPP $CPPFLAGS'
26586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
26595 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
26597 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
26598 for ac_func in _fmodl
26599 do :
26600 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
26601 if test "x$ac_cv_func__fmodl" = xyes; then :
26602 cat >>confdefs.h <<_ACEOF
26603 #define HAVE__FMODL 1
26604 _ACEOF
26607 done
26616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
26617 $as_echo_n "checking for frexpl declaration... " >&6; }
26618 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
26619 if ${glibcxx_cv_func_frexpl_use+:} false; then :
26620 $as_echo_n "(cached) " >&6
26621 else
26624 ac_ext=cpp
26625 ac_cpp='$CXXCPP $CPPFLAGS'
26626 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26627 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26628 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26631 /* end confdefs.h. */
26632 #include <math.h>
26634 main ()
26636 frexpl(0, 0);
26638 return 0;
26640 _ACEOF
26641 if ac_fn_cxx_try_compile "$LINENO"; then :
26642 glibcxx_cv_func_frexpl_use=yes
26643 else
26644 glibcxx_cv_func_frexpl_use=no
26646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26647 ac_ext=c
26648 ac_cpp='$CPP $CPPFLAGS'
26649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
26658 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
26660 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
26661 for ac_func in frexpl
26662 do :
26663 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
26664 if test "x$ac_cv_func_frexpl" = xyes; then :
26665 cat >>confdefs.h <<_ACEOF
26666 #define HAVE_FREXPL 1
26667 _ACEOF
26670 done
26672 else
26674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
26675 $as_echo_n "checking for _frexpl declaration... " >&6; }
26676 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
26677 if ${glibcxx_cv_func__frexpl_use+:} false; then :
26678 $as_echo_n "(cached) " >&6
26679 else
26682 ac_ext=cpp
26683 ac_cpp='$CXXCPP $CPPFLAGS'
26684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26689 /* end confdefs.h. */
26690 #include <math.h>
26692 main ()
26694 _frexpl(0, 0);
26696 return 0;
26698 _ACEOF
26699 if ac_fn_cxx_try_compile "$LINENO"; then :
26700 glibcxx_cv_func__frexpl_use=yes
26701 else
26702 glibcxx_cv_func__frexpl_use=no
26704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26705 ac_ext=c
26706 ac_cpp='$CPP $CPPFLAGS'
26707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
26716 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
26718 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
26719 for ac_func in _frexpl
26720 do :
26721 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
26722 if test "x$ac_cv_func__frexpl" = xyes; then :
26723 cat >>confdefs.h <<_ACEOF
26724 #define HAVE__FREXPL 1
26725 _ACEOF
26728 done
26737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
26738 $as_echo_n "checking for hypotl declaration... " >&6; }
26739 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
26740 if ${glibcxx_cv_func_hypotl_use+:} false; then :
26741 $as_echo_n "(cached) " >&6
26742 else
26745 ac_ext=cpp
26746 ac_cpp='$CXXCPP $CPPFLAGS'
26747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26752 /* end confdefs.h. */
26753 #include <math.h>
26755 main ()
26757 hypotl(0, 0);
26759 return 0;
26761 _ACEOF
26762 if ac_fn_cxx_try_compile "$LINENO"; then :
26763 glibcxx_cv_func_hypotl_use=yes
26764 else
26765 glibcxx_cv_func_hypotl_use=no
26767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26768 ac_ext=c
26769 ac_cpp='$CPP $CPPFLAGS'
26770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
26779 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
26781 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
26782 for ac_func in hypotl
26783 do :
26784 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
26785 if test "x$ac_cv_func_hypotl" = xyes; then :
26786 cat >>confdefs.h <<_ACEOF
26787 #define HAVE_HYPOTL 1
26788 _ACEOF
26791 done
26793 else
26795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
26796 $as_echo_n "checking for _hypotl declaration... " >&6; }
26797 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
26798 if ${glibcxx_cv_func__hypotl_use+:} false; then :
26799 $as_echo_n "(cached) " >&6
26800 else
26803 ac_ext=cpp
26804 ac_cpp='$CXXCPP $CPPFLAGS'
26805 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26806 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26807 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26810 /* end confdefs.h. */
26811 #include <math.h>
26813 main ()
26815 _hypotl(0, 0);
26817 return 0;
26819 _ACEOF
26820 if ac_fn_cxx_try_compile "$LINENO"; then :
26821 glibcxx_cv_func__hypotl_use=yes
26822 else
26823 glibcxx_cv_func__hypotl_use=no
26825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26826 ac_ext=c
26827 ac_cpp='$CPP $CPPFLAGS'
26828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
26837 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
26839 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
26840 for ac_func in _hypotl
26841 do :
26842 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
26843 if test "x$ac_cv_func__hypotl" = xyes; then :
26844 cat >>confdefs.h <<_ACEOF
26845 #define HAVE__HYPOTL 1
26846 _ACEOF
26849 done
26858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
26859 $as_echo_n "checking for ldexpl declaration... " >&6; }
26860 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
26861 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
26862 $as_echo_n "(cached) " >&6
26863 else
26866 ac_ext=cpp
26867 ac_cpp='$CXXCPP $CPPFLAGS'
26868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26873 /* end confdefs.h. */
26874 #include <math.h>
26876 main ()
26878 ldexpl(0, 0);
26880 return 0;
26882 _ACEOF
26883 if ac_fn_cxx_try_compile "$LINENO"; then :
26884 glibcxx_cv_func_ldexpl_use=yes
26885 else
26886 glibcxx_cv_func_ldexpl_use=no
26888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26889 ac_ext=c
26890 ac_cpp='$CPP $CPPFLAGS'
26891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
26900 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
26902 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
26903 for ac_func in ldexpl
26904 do :
26905 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
26906 if test "x$ac_cv_func_ldexpl" = xyes; then :
26907 cat >>confdefs.h <<_ACEOF
26908 #define HAVE_LDEXPL 1
26909 _ACEOF
26912 done
26914 else
26916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
26917 $as_echo_n "checking for _ldexpl declaration... " >&6; }
26918 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
26919 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
26920 $as_echo_n "(cached) " >&6
26921 else
26924 ac_ext=cpp
26925 ac_cpp='$CXXCPP $CPPFLAGS'
26926 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26927 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26928 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26931 /* end confdefs.h. */
26932 #include <math.h>
26934 main ()
26936 _ldexpl(0, 0);
26938 return 0;
26940 _ACEOF
26941 if ac_fn_cxx_try_compile "$LINENO"; then :
26942 glibcxx_cv_func__ldexpl_use=yes
26943 else
26944 glibcxx_cv_func__ldexpl_use=no
26946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26947 ac_ext=c
26948 ac_cpp='$CPP $CPPFLAGS'
26949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
26958 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
26960 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
26961 for ac_func in _ldexpl
26962 do :
26963 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
26964 if test "x$ac_cv_func__ldexpl" = xyes; then :
26965 cat >>confdefs.h <<_ACEOF
26966 #define HAVE__LDEXPL 1
26967 _ACEOF
26970 done
26979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
26980 $as_echo_n "checking for logl declaration... " >&6; }
26981 if test x${glibcxx_cv_func_logl_use+set} != xset; then
26982 if ${glibcxx_cv_func_logl_use+:} false; then :
26983 $as_echo_n "(cached) " >&6
26984 else
26987 ac_ext=cpp
26988 ac_cpp='$CXXCPP $CPPFLAGS'
26989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26994 /* end confdefs.h. */
26995 #include <math.h>
26996 #ifdef HAVE_IEEEFP_H
26997 #include <ieeefp.h>
26998 #endif
27001 main ()
27003 logl(0);
27005 return 0;
27007 _ACEOF
27008 if ac_fn_cxx_try_compile "$LINENO"; then :
27009 glibcxx_cv_func_logl_use=yes
27010 else
27011 glibcxx_cv_func_logl_use=no
27013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27014 ac_ext=c
27015 ac_cpp='$CPP $CPPFLAGS'
27016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
27025 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
27027 if test x$glibcxx_cv_func_logl_use = x"yes"; then
27028 for ac_func in logl
27029 do :
27030 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
27031 if test "x$ac_cv_func_logl" = xyes; then :
27032 cat >>confdefs.h <<_ACEOF
27033 #define HAVE_LOGL 1
27034 _ACEOF
27037 done
27039 else
27041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
27042 $as_echo_n "checking for _logl declaration... " >&6; }
27043 if test x${glibcxx_cv_func__logl_use+set} != xset; then
27044 if ${glibcxx_cv_func__logl_use+:} false; then :
27045 $as_echo_n "(cached) " >&6
27046 else
27049 ac_ext=cpp
27050 ac_cpp='$CXXCPP $CPPFLAGS'
27051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27052 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27056 /* end confdefs.h. */
27057 #include <math.h>
27058 #ifdef HAVE_IEEEFP_H
27059 #include <ieeefp.h>
27060 #endif
27063 main ()
27065 _logl(0);
27067 return 0;
27069 _ACEOF
27070 if ac_fn_cxx_try_compile "$LINENO"; then :
27071 glibcxx_cv_func__logl_use=yes
27072 else
27073 glibcxx_cv_func__logl_use=no
27075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27076 ac_ext=c
27077 ac_cpp='$CPP $CPPFLAGS'
27078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
27087 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
27089 if test x$glibcxx_cv_func__logl_use = x"yes"; then
27090 for ac_func in _logl
27091 do :
27092 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
27093 if test "x$ac_cv_func__logl" = xyes; then :
27094 cat >>confdefs.h <<_ACEOF
27095 #define HAVE__LOGL 1
27096 _ACEOF
27099 done
27108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
27109 $as_echo_n "checking for log10l declaration... " >&6; }
27110 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
27111 if ${glibcxx_cv_func_log10l_use+:} false; then :
27112 $as_echo_n "(cached) " >&6
27113 else
27116 ac_ext=cpp
27117 ac_cpp='$CXXCPP $CPPFLAGS'
27118 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27119 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27120 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27123 /* end confdefs.h. */
27124 #include <math.h>
27125 #ifdef HAVE_IEEEFP_H
27126 #include <ieeefp.h>
27127 #endif
27130 main ()
27132 log10l(0);
27134 return 0;
27136 _ACEOF
27137 if ac_fn_cxx_try_compile "$LINENO"; then :
27138 glibcxx_cv_func_log10l_use=yes
27139 else
27140 glibcxx_cv_func_log10l_use=no
27142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27143 ac_ext=c
27144 ac_cpp='$CPP $CPPFLAGS'
27145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
27154 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
27156 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
27157 for ac_func in log10l
27158 do :
27159 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
27160 if test "x$ac_cv_func_log10l" = xyes; then :
27161 cat >>confdefs.h <<_ACEOF
27162 #define HAVE_LOG10L 1
27163 _ACEOF
27166 done
27168 else
27170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
27171 $as_echo_n "checking for _log10l declaration... " >&6; }
27172 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
27173 if ${glibcxx_cv_func__log10l_use+:} false; then :
27174 $as_echo_n "(cached) " >&6
27175 else
27178 ac_ext=cpp
27179 ac_cpp='$CXXCPP $CPPFLAGS'
27180 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27181 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27182 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27185 /* end confdefs.h. */
27186 #include <math.h>
27187 #ifdef HAVE_IEEEFP_H
27188 #include <ieeefp.h>
27189 #endif
27192 main ()
27194 _log10l(0);
27196 return 0;
27198 _ACEOF
27199 if ac_fn_cxx_try_compile "$LINENO"; then :
27200 glibcxx_cv_func__log10l_use=yes
27201 else
27202 glibcxx_cv_func__log10l_use=no
27204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27205 ac_ext=c
27206 ac_cpp='$CPP $CPPFLAGS'
27207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
27216 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
27218 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
27219 for ac_func in _log10l
27220 do :
27221 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
27222 if test "x$ac_cv_func__log10l" = xyes; then :
27223 cat >>confdefs.h <<_ACEOF
27224 #define HAVE__LOG10L 1
27225 _ACEOF
27228 done
27237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
27238 $as_echo_n "checking for modfl declaration... " >&6; }
27239 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
27240 if ${glibcxx_cv_func_modfl_use+:} false; then :
27241 $as_echo_n "(cached) " >&6
27242 else
27245 ac_ext=cpp
27246 ac_cpp='$CXXCPP $CPPFLAGS'
27247 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27248 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27249 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27252 /* end confdefs.h. */
27253 #include <math.h>
27255 main ()
27257 modfl(0, 0);
27259 return 0;
27261 _ACEOF
27262 if ac_fn_cxx_try_compile "$LINENO"; then :
27263 glibcxx_cv_func_modfl_use=yes
27264 else
27265 glibcxx_cv_func_modfl_use=no
27267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27268 ac_ext=c
27269 ac_cpp='$CPP $CPPFLAGS'
27270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
27279 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
27281 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
27282 for ac_func in modfl
27283 do :
27284 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
27285 if test "x$ac_cv_func_modfl" = xyes; then :
27286 cat >>confdefs.h <<_ACEOF
27287 #define HAVE_MODFL 1
27288 _ACEOF
27291 done
27293 else
27295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
27296 $as_echo_n "checking for _modfl declaration... " >&6; }
27297 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
27298 if ${glibcxx_cv_func__modfl_use+:} false; then :
27299 $as_echo_n "(cached) " >&6
27300 else
27303 ac_ext=cpp
27304 ac_cpp='$CXXCPP $CPPFLAGS'
27305 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27306 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27307 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27310 /* end confdefs.h. */
27311 #include <math.h>
27313 main ()
27315 _modfl(0, 0);
27317 return 0;
27319 _ACEOF
27320 if ac_fn_cxx_try_compile "$LINENO"; then :
27321 glibcxx_cv_func__modfl_use=yes
27322 else
27323 glibcxx_cv_func__modfl_use=no
27325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27326 ac_ext=c
27327 ac_cpp='$CPP $CPPFLAGS'
27328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
27337 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
27339 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
27340 for ac_func in _modfl
27341 do :
27342 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
27343 if test "x$ac_cv_func__modfl" = xyes; then :
27344 cat >>confdefs.h <<_ACEOF
27345 #define HAVE__MODFL 1
27346 _ACEOF
27349 done
27358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
27359 $as_echo_n "checking for powl declaration... " >&6; }
27360 if test x${glibcxx_cv_func_powl_use+set} != xset; then
27361 if ${glibcxx_cv_func_powl_use+:} false; then :
27362 $as_echo_n "(cached) " >&6
27363 else
27366 ac_ext=cpp
27367 ac_cpp='$CXXCPP $CPPFLAGS'
27368 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27369 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27370 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27373 /* end confdefs.h. */
27374 #include <math.h>
27376 main ()
27378 powl(0, 0);
27380 return 0;
27382 _ACEOF
27383 if ac_fn_cxx_try_compile "$LINENO"; then :
27384 glibcxx_cv_func_powl_use=yes
27385 else
27386 glibcxx_cv_func_powl_use=no
27388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27389 ac_ext=c
27390 ac_cpp='$CPP $CPPFLAGS'
27391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
27400 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
27402 if test x$glibcxx_cv_func_powl_use = x"yes"; then
27403 for ac_func in powl
27404 do :
27405 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
27406 if test "x$ac_cv_func_powl" = xyes; then :
27407 cat >>confdefs.h <<_ACEOF
27408 #define HAVE_POWL 1
27409 _ACEOF
27412 done
27414 else
27416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
27417 $as_echo_n "checking for _powl declaration... " >&6; }
27418 if test x${glibcxx_cv_func__powl_use+set} != xset; then
27419 if ${glibcxx_cv_func__powl_use+:} false; then :
27420 $as_echo_n "(cached) " >&6
27421 else
27424 ac_ext=cpp
27425 ac_cpp='$CXXCPP $CPPFLAGS'
27426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27427 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27431 /* end confdefs.h. */
27432 #include <math.h>
27434 main ()
27436 _powl(0, 0);
27438 return 0;
27440 _ACEOF
27441 if ac_fn_cxx_try_compile "$LINENO"; then :
27442 glibcxx_cv_func__powl_use=yes
27443 else
27444 glibcxx_cv_func__powl_use=no
27446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27447 ac_ext=c
27448 ac_cpp='$CPP $CPPFLAGS'
27449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
27458 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
27460 if test x$glibcxx_cv_func__powl_use = x"yes"; then
27461 for ac_func in _powl
27462 do :
27463 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
27464 if test "x$ac_cv_func__powl" = xyes; then :
27465 cat >>confdefs.h <<_ACEOF
27466 #define HAVE__POWL 1
27467 _ACEOF
27470 done
27479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
27480 $as_echo_n "checking for sqrtl declaration... " >&6; }
27481 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
27482 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
27483 $as_echo_n "(cached) " >&6
27484 else
27487 ac_ext=cpp
27488 ac_cpp='$CXXCPP $CPPFLAGS'
27489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27494 /* end confdefs.h. */
27495 #include <math.h>
27496 #ifdef HAVE_IEEEFP_H
27497 #include <ieeefp.h>
27498 #endif
27501 main ()
27503 sqrtl(0);
27505 return 0;
27507 _ACEOF
27508 if ac_fn_cxx_try_compile "$LINENO"; then :
27509 glibcxx_cv_func_sqrtl_use=yes
27510 else
27511 glibcxx_cv_func_sqrtl_use=no
27513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27514 ac_ext=c
27515 ac_cpp='$CPP $CPPFLAGS'
27516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
27525 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
27527 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
27528 for ac_func in sqrtl
27529 do :
27530 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
27531 if test "x$ac_cv_func_sqrtl" = xyes; then :
27532 cat >>confdefs.h <<_ACEOF
27533 #define HAVE_SQRTL 1
27534 _ACEOF
27537 done
27539 else
27541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
27542 $as_echo_n "checking for _sqrtl declaration... " >&6; }
27543 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
27544 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
27545 $as_echo_n "(cached) " >&6
27546 else
27549 ac_ext=cpp
27550 ac_cpp='$CXXCPP $CPPFLAGS'
27551 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27552 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27553 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27556 /* end confdefs.h. */
27557 #include <math.h>
27558 #ifdef HAVE_IEEEFP_H
27559 #include <ieeefp.h>
27560 #endif
27563 main ()
27565 _sqrtl(0);
27567 return 0;
27569 _ACEOF
27570 if ac_fn_cxx_try_compile "$LINENO"; then :
27571 glibcxx_cv_func__sqrtl_use=yes
27572 else
27573 glibcxx_cv_func__sqrtl_use=no
27575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27576 ac_ext=c
27577 ac_cpp='$CPP $CPPFLAGS'
27578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
27587 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
27589 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
27590 for ac_func in _sqrtl
27591 do :
27592 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
27593 if test "x$ac_cv_func__sqrtl" = xyes; then :
27594 cat >>confdefs.h <<_ACEOF
27595 #define HAVE__SQRTL 1
27596 _ACEOF
27599 done
27608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
27609 $as_echo_n "checking for sincosl declaration... " >&6; }
27610 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
27611 if ${glibcxx_cv_func_sincosl_use+:} false; then :
27612 $as_echo_n "(cached) " >&6
27613 else
27616 ac_ext=cpp
27617 ac_cpp='$CXXCPP $CPPFLAGS'
27618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27623 /* end confdefs.h. */
27624 #include <math.h>
27626 main ()
27628 sincosl(0, 0, 0);
27630 return 0;
27632 _ACEOF
27633 if ac_fn_cxx_try_compile "$LINENO"; then :
27634 glibcxx_cv_func_sincosl_use=yes
27635 else
27636 glibcxx_cv_func_sincosl_use=no
27638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27639 ac_ext=c
27640 ac_cpp='$CPP $CPPFLAGS'
27641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
27650 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
27652 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
27653 for ac_func in sincosl
27654 do :
27655 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
27656 if test "x$ac_cv_func_sincosl" = xyes; then :
27657 cat >>confdefs.h <<_ACEOF
27658 #define HAVE_SINCOSL 1
27659 _ACEOF
27662 done
27664 else
27666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
27667 $as_echo_n "checking for _sincosl declaration... " >&6; }
27668 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
27669 if ${glibcxx_cv_func__sincosl_use+:} false; then :
27670 $as_echo_n "(cached) " >&6
27671 else
27674 ac_ext=cpp
27675 ac_cpp='$CXXCPP $CPPFLAGS'
27676 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27677 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27678 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27681 /* end confdefs.h. */
27682 #include <math.h>
27684 main ()
27686 _sincosl(0, 0, 0);
27688 return 0;
27690 _ACEOF
27691 if ac_fn_cxx_try_compile "$LINENO"; then :
27692 glibcxx_cv_func__sincosl_use=yes
27693 else
27694 glibcxx_cv_func__sincosl_use=no
27696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27697 ac_ext=c
27698 ac_cpp='$CPP $CPPFLAGS'
27699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
27708 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
27710 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
27711 for ac_func in _sincosl
27712 do :
27713 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
27714 if test "x$ac_cv_func__sincosl" = xyes; then :
27715 cat >>confdefs.h <<_ACEOF
27716 #define HAVE__SINCOSL 1
27717 _ACEOF
27720 done
27729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
27730 $as_echo_n "checking for finitel declaration... " >&6; }
27731 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
27732 if ${glibcxx_cv_func_finitel_use+:} false; then :
27733 $as_echo_n "(cached) " >&6
27734 else
27737 ac_ext=cpp
27738 ac_cpp='$CXXCPP $CPPFLAGS'
27739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27744 /* end confdefs.h. */
27745 #include <math.h>
27746 #ifdef HAVE_IEEEFP_H
27747 #include <ieeefp.h>
27748 #endif
27751 main ()
27753 finitel(0);
27755 return 0;
27757 _ACEOF
27758 if ac_fn_cxx_try_compile "$LINENO"; then :
27759 glibcxx_cv_func_finitel_use=yes
27760 else
27761 glibcxx_cv_func_finitel_use=no
27763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27764 ac_ext=c
27765 ac_cpp='$CPP $CPPFLAGS'
27766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
27775 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
27777 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
27778 for ac_func in finitel
27779 do :
27780 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
27781 if test "x$ac_cv_func_finitel" = xyes; then :
27782 cat >>confdefs.h <<_ACEOF
27783 #define HAVE_FINITEL 1
27784 _ACEOF
27787 done
27789 else
27791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
27792 $as_echo_n "checking for _finitel declaration... " >&6; }
27793 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
27794 if ${glibcxx_cv_func__finitel_use+:} false; then :
27795 $as_echo_n "(cached) " >&6
27796 else
27799 ac_ext=cpp
27800 ac_cpp='$CXXCPP $CPPFLAGS'
27801 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27802 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27803 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27806 /* end confdefs.h. */
27807 #include <math.h>
27808 #ifdef HAVE_IEEEFP_H
27809 #include <ieeefp.h>
27810 #endif
27813 main ()
27815 _finitel(0);
27817 return 0;
27819 _ACEOF
27820 if ac_fn_cxx_try_compile "$LINENO"; then :
27821 glibcxx_cv_func__finitel_use=yes
27822 else
27823 glibcxx_cv_func__finitel_use=no
27825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27826 ac_ext=c
27827 ac_cpp='$CPP $CPPFLAGS'
27828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
27837 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
27839 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
27840 for ac_func in _finitel
27841 do :
27842 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
27843 if test "x$ac_cv_func__finitel" = xyes; then :
27844 cat >>confdefs.h <<_ACEOF
27845 #define HAVE__FINITEL 1
27846 _ACEOF
27849 done
27857 LIBS="$ac_save_LIBS"
27858 CXXFLAGS="$ac_save_CXXFLAGS"
27861 ac_test_CXXFLAGS="${CXXFLAGS+set}"
27862 ac_save_CXXFLAGS="$CXXFLAGS"
27863 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
27866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
27867 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
27868 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
27869 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
27870 $as_echo_n "(cached) " >&6
27871 else
27874 ac_ext=cpp
27875 ac_cpp='$CXXCPP $CPPFLAGS'
27876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27881 /* end confdefs.h. */
27882 #include <stdlib.h>
27884 main ()
27886 at_quick_exit(0);
27888 return 0;
27890 _ACEOF
27891 if ac_fn_cxx_try_compile "$LINENO"; then :
27892 glibcxx_cv_func_at_quick_exit_use=yes
27893 else
27894 glibcxx_cv_func_at_quick_exit_use=no
27896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27897 ac_ext=c
27898 ac_cpp='$CPP $CPPFLAGS'
27899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
27908 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
27909 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
27910 for ac_func in at_quick_exit
27911 do :
27912 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
27913 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
27914 cat >>confdefs.h <<_ACEOF
27915 #define HAVE_AT_QUICK_EXIT 1
27916 _ACEOF
27919 done
27924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
27925 $as_echo_n "checking for quick_exit declaration... " >&6; }
27926 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
27927 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
27928 $as_echo_n "(cached) " >&6
27929 else
27932 ac_ext=cpp
27933 ac_cpp='$CXXCPP $CPPFLAGS'
27934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27939 /* end confdefs.h. */
27940 #include <stdlib.h>
27942 main ()
27944 quick_exit(0);
27946 return 0;
27948 _ACEOF
27949 if ac_fn_cxx_try_compile "$LINENO"; then :
27950 glibcxx_cv_func_quick_exit_use=yes
27951 else
27952 glibcxx_cv_func_quick_exit_use=no
27954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27955 ac_ext=c
27956 ac_cpp='$CPP $CPPFLAGS'
27957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
27966 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
27967 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
27968 for ac_func in quick_exit
27969 do :
27970 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
27971 if test "x$ac_cv_func_quick_exit" = xyes; then :
27972 cat >>confdefs.h <<_ACEOF
27973 #define HAVE_QUICK_EXIT 1
27974 _ACEOF
27977 done
27982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
27983 $as_echo_n "checking for strtold declaration... " >&6; }
27984 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
27985 if ${glibcxx_cv_func_strtold_use+:} false; then :
27986 $as_echo_n "(cached) " >&6
27987 else
27990 ac_ext=cpp
27991 ac_cpp='$CXXCPP $CPPFLAGS'
27992 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27993 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27994 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27997 /* end confdefs.h. */
27998 #include <stdlib.h>
28000 main ()
28002 strtold(0, 0);
28004 return 0;
28006 _ACEOF
28007 if ac_fn_cxx_try_compile "$LINENO"; then :
28008 glibcxx_cv_func_strtold_use=yes
28009 else
28010 glibcxx_cv_func_strtold_use=no
28012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28013 ac_ext=c
28014 ac_cpp='$CPP $CPPFLAGS'
28015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
28024 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
28025 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
28026 for ac_func in strtold
28027 do :
28028 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
28029 if test "x$ac_cv_func_strtold" = xyes; then :
28030 cat >>confdefs.h <<_ACEOF
28031 #define HAVE_STRTOLD 1
28032 _ACEOF
28035 done
28042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
28043 $as_echo_n "checking for strtof declaration... " >&6; }
28044 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
28045 if ${glibcxx_cv_func_strtof_use+:} false; then :
28046 $as_echo_n "(cached) " >&6
28047 else
28050 ac_ext=cpp
28051 ac_cpp='$CXXCPP $CPPFLAGS'
28052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28057 /* end confdefs.h. */
28058 #include <stdlib.h>
28060 main ()
28062 strtof(0, 0);
28064 return 0;
28066 _ACEOF
28067 if ac_fn_cxx_try_compile "$LINENO"; then :
28068 glibcxx_cv_func_strtof_use=yes
28069 else
28070 glibcxx_cv_func_strtof_use=no
28072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28073 ac_ext=c
28074 ac_cpp='$CPP $CPPFLAGS'
28075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
28084 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
28085 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
28086 for ac_func in strtof
28087 do :
28088 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
28089 if test "x$ac_cv_func_strtof" = xyes; then :
28090 cat >>confdefs.h <<_ACEOF
28091 #define HAVE_STRTOF 1
28092 _ACEOF
28095 done
28102 CXXFLAGS="$ac_save_CXXFLAGS"
28105 # For /dev/random and /dev/urandom for std::random_device.
28108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/random\" and \"/dev/urandom\" for std::random_device" >&5
28109 $as_echo_n "checking for \"/dev/random\" and \"/dev/urandom\" for std::random_device... " >&6; }
28110 if ${glibcxx_cv_dev_random+:} false; then :
28111 $as_echo_n "(cached) " >&6
28112 else
28114 if test -r /dev/random && test -r /dev/urandom; then
28115 ## For MSys environment the test above is detected as false-positive
28116 ## on mingw-targets. So disable it explicitly for them.
28117 case ${target_os} in
28118 *mingw*) glibcxx_cv_dev_random=no ;;
28119 *) glibcxx_cv_dev_random=yes ;;
28120 esac
28121 else
28122 glibcxx_cv_dev_random=no;
28127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_dev_random" >&5
28128 $as_echo "$glibcxx_cv_dev_random" >&6; }
28130 if test x"$glibcxx_cv_dev_random" = x"yes"; then
28132 $as_echo "#define _GLIBCXX_USE_DEV_RANDOM 1" >>confdefs.h
28135 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
28141 # For TLS support.
28144 # Check whether --enable-tls was given.
28145 if test "${enable_tls+set}" = set; then :
28146 enableval=$enable_tls;
28147 case "$enableval" in
28148 yes|no) ;;
28149 *) as_fn_error $? "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
28150 esac
28152 else
28153 enable_tls=yes
28157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
28158 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
28159 if ${gcc_cv_have_tls+:} false; then :
28160 $as_echo_n "(cached) " >&6
28161 else
28163 if test "$cross_compiling" = yes; then :
28164 if test x$gcc_no_link = xyes; then
28165 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28168 /* end confdefs.h. */
28169 __thread int a; int b; int main() { return a = b; }
28170 _ACEOF
28171 if ac_fn_c_try_link "$LINENO"; then :
28172 chktls_save_LDFLAGS="$LDFLAGS"
28173 case $host in
28174 *-*-linux* | -*-uclinuxfdpic*)
28175 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
28177 esac
28178 chktls_save_CFLAGS="$CFLAGS"
28179 CFLAGS="-fPIC $CFLAGS"
28180 if test x$gcc_no_link = xyes; then
28181 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28184 /* end confdefs.h. */
28185 int f() { return 0; }
28186 _ACEOF
28187 if ac_fn_c_try_link "$LINENO"; then :
28188 if test x$gcc_no_link = xyes; then
28189 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28192 /* end confdefs.h. */
28193 __thread int a; int b; int f() { return a = b; }
28194 _ACEOF
28195 if ac_fn_c_try_link "$LINENO"; then :
28196 gcc_cv_have_tls=yes
28197 else
28198 gcc_cv_have_tls=no
28200 rm -f core conftest.err conftest.$ac_objext \
28201 conftest$ac_exeext conftest.$ac_ext
28202 else
28203 gcc_cv_have_tls=yes
28205 rm -f core conftest.err conftest.$ac_objext \
28206 conftest$ac_exeext conftest.$ac_ext
28207 CFLAGS="$chktls_save_CFLAGS"
28208 LDFLAGS="$chktls_save_LDFLAGS"
28209 else
28210 gcc_cv_have_tls=no
28212 rm -f core conftest.err conftest.$ac_objext \
28213 conftest$ac_exeext conftest.$ac_ext
28216 else
28217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28218 /* end confdefs.h. */
28219 __thread int a; int b; int main() { return a = b; }
28220 _ACEOF
28221 if ac_fn_c_try_run "$LINENO"; then :
28222 chktls_save_LDFLAGS="$LDFLAGS"
28223 LDFLAGS="-static $LDFLAGS"
28224 if test x$gcc_no_link = xyes; then
28225 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28228 /* end confdefs.h. */
28229 int main() { return 0; }
28230 _ACEOF
28231 if ac_fn_c_try_link "$LINENO"; then :
28232 if test "$cross_compiling" = yes; then :
28233 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
28234 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
28235 as_fn_error $? "cannot run test program while cross compiling
28236 See \`config.log' for more details" "$LINENO" 5; }
28237 else
28238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28239 /* end confdefs.h. */
28240 __thread int a; int b; int main() { return a = b; }
28241 _ACEOF
28242 if ac_fn_c_try_run "$LINENO"; then :
28243 gcc_cv_have_tls=yes
28244 else
28245 gcc_cv_have_tls=no
28247 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
28248 conftest.$ac_objext conftest.beam conftest.$ac_ext
28251 else
28252 gcc_cv_have_tls=yes
28254 rm -f core conftest.err conftest.$ac_objext \
28255 conftest$ac_exeext conftest.$ac_ext
28256 LDFLAGS="$chktls_save_LDFLAGS"
28257 if test $gcc_cv_have_tls = yes; then
28258 chktls_save_CFLAGS="$CFLAGS"
28259 thread_CFLAGS=failed
28260 for flag in '' '-pthread' '-lpthread'; do
28261 CFLAGS="$flag $chktls_save_CFLAGS"
28262 if test x$gcc_no_link = xyes; then
28263 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28266 /* end confdefs.h. */
28267 #include <pthread.h>
28268 void *g(void *d) { return NULL; }
28270 main ()
28272 pthread_t t; pthread_create(&t,NULL,g,NULL);
28274 return 0;
28276 _ACEOF
28277 if ac_fn_c_try_link "$LINENO"; then :
28278 thread_CFLAGS="$flag"
28280 rm -f core conftest.err conftest.$ac_objext \
28281 conftest$ac_exeext conftest.$ac_ext
28282 if test "X$thread_CFLAGS" != Xfailed; then
28283 break
28285 done
28286 CFLAGS="$chktls_save_CFLAGS"
28287 if test "X$thread_CFLAGS" != Xfailed; then
28288 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
28289 if test "$cross_compiling" = yes; then :
28290 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
28291 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
28292 as_fn_error $? "cannot run test program while cross compiling
28293 See \`config.log' for more details" "$LINENO" 5; }
28294 else
28295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28296 /* end confdefs.h. */
28297 #include <pthread.h>
28298 __thread int a;
28299 static int *volatile a_in_other_thread;
28300 static void *
28301 thread_func (void *arg)
28303 a_in_other_thread = &a;
28304 return (void *)0;
28307 main ()
28309 pthread_t thread;
28310 void *thread_retval;
28311 int *volatile a_in_main_thread;
28312 a_in_main_thread = &a;
28313 if (pthread_create (&thread, (pthread_attr_t *)0,
28314 thread_func, (void *)0))
28315 return 0;
28316 if (pthread_join (thread, &thread_retval))
28317 return 0;
28318 return (a_in_other_thread == a_in_main_thread);
28320 return 0;
28322 _ACEOF
28323 if ac_fn_c_try_run "$LINENO"; then :
28324 gcc_cv_have_tls=yes
28325 else
28326 gcc_cv_have_tls=no
28328 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
28329 conftest.$ac_objext conftest.beam conftest.$ac_ext
28332 CFLAGS="$chktls_save_CFLAGS"
28335 else
28336 gcc_cv_have_tls=no
28338 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
28339 conftest.$ac_objext conftest.beam conftest.$ac_ext
28343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
28344 $as_echo "$gcc_cv_have_tls" >&6; }
28345 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
28347 $as_echo "#define HAVE_TLS 1" >>confdefs.h
28351 for ac_func in __cxa_thread_atexit_impl __cxa_thread_atexit
28352 do :
28353 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28354 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28355 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
28356 cat >>confdefs.h <<_ACEOF
28357 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28358 _ACEOF
28361 done
28363 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
28364 do :
28365 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28366 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28367 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
28368 cat >>confdefs.h <<_ACEOF
28369 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28370 _ACEOF
28373 done
28375 for ac_func in _wfopen
28376 do :
28377 ac_fn_c_check_func "$LINENO" "_wfopen" "ac_cv_func__wfopen"
28378 if test "x$ac_cv_func__wfopen" = xyes; then :
28379 cat >>confdefs.h <<_ACEOF
28380 #define HAVE__WFOPEN 1
28381 _ACEOF
28384 done
28387 # C11 functions for C++17 library
28388 for ac_func in timespec_get
28389 do :
28390 ac_fn_c_check_func "$LINENO" "timespec_get" "ac_cv_func_timespec_get"
28391 if test "x$ac_cv_func_timespec_get" = xyes; then :
28392 cat >>confdefs.h <<_ACEOF
28393 #define HAVE_TIMESPEC_GET 1
28394 _ACEOF
28397 done
28400 # For Networking TS.
28401 for ac_func in sockatmark
28402 do :
28403 ac_fn_c_check_func "$LINENO" "sockatmark" "ac_cv_func_sockatmark"
28404 if test "x$ac_cv_func_sockatmark" = xyes; then :
28405 cat >>confdefs.h <<_ACEOF
28406 #define HAVE_SOCKATMARK 1
28407 _ACEOF
28410 done
28413 # Non-standard functions used by C++17 std::from_chars
28414 for ac_func in uselocale
28415 do :
28416 ac_fn_c_check_func "$LINENO" "uselocale" "ac_cv_func_uselocale"
28417 if test "x$ac_cv_func_uselocale" = xyes; then :
28418 cat >>confdefs.h <<_ACEOF
28419 #define HAVE_USELOCALE 1
28420 _ACEOF
28423 done
28426 # For iconv support.
28428 if test "X$prefix" = "XNONE"; then
28429 acl_final_prefix="$ac_default_prefix"
28430 else
28431 acl_final_prefix="$prefix"
28433 if test "X$exec_prefix" = "XNONE"; then
28434 acl_final_exec_prefix='${prefix}'
28435 else
28436 acl_final_exec_prefix="$exec_prefix"
28438 acl_save_prefix="$prefix"
28439 prefix="$acl_final_prefix"
28440 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
28441 prefix="$acl_save_prefix"
28444 # Check whether --with-gnu-ld was given.
28445 if test "${with_gnu_ld+set}" = set; then :
28446 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
28447 else
28448 with_gnu_ld=no
28451 # Prepare PATH_SEPARATOR.
28452 # The user is always right.
28453 if test "${PATH_SEPARATOR+set}" != set; then
28454 echo "#! /bin/sh" >conf$$.sh
28455 echo "exit 0" >>conf$$.sh
28456 chmod +x conf$$.sh
28457 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
28458 PATH_SEPARATOR=';'
28459 else
28460 PATH_SEPARATOR=:
28462 rm -f conf$$.sh
28464 ac_prog=ld
28465 if test "$GCC" = yes; then
28466 # Check if gcc -print-prog-name=ld gives a path.
28467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
28468 $as_echo_n "checking for ld used by GCC... " >&6; }
28469 case $host in
28470 *-*-mingw*)
28471 # gcc leaves a trailing carriage return which upsets mingw
28472 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
28474 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
28475 esac
28476 case $ac_prog in
28477 # Accept absolute paths.
28478 [\\/]* | [A-Za-z]:[\\/]*)
28479 re_direlt='/[^/][^/]*/\.\./'
28480 # Canonicalize the path of ld
28481 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
28482 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
28483 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
28484 done
28485 test -z "$LD" && LD="$ac_prog"
28488 # If it fails, then pretend we aren't using GCC.
28489 ac_prog=ld
28492 # If it is relative, then search for the first ld in PATH.
28493 with_gnu_ld=unknown
28495 esac
28496 elif test "$with_gnu_ld" = yes; then
28497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
28498 $as_echo_n "checking for GNU ld... " >&6; }
28499 else
28500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
28501 $as_echo_n "checking for non-GNU ld... " >&6; }
28503 if ${acl_cv_path_LD+:} false; then :
28504 $as_echo_n "(cached) " >&6
28505 else
28506 if test -z "$LD"; then
28507 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
28508 for ac_dir in $PATH; do
28509 test -z "$ac_dir" && ac_dir=.
28510 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
28511 acl_cv_path_LD="$ac_dir/$ac_prog"
28512 # Check to see if the program is GNU ld. I'd rather use --version,
28513 # but apparently some GNU ld's only accept -v.
28514 # Break only if it was the GNU/non-GNU ld that we prefer.
28515 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
28516 test "$with_gnu_ld" != no && break
28517 else
28518 test "$with_gnu_ld" != yes && break
28521 done
28522 IFS="$ac_save_ifs"
28523 else
28524 acl_cv_path_LD="$LD" # Let the user override the test with a path.
28528 LD="$acl_cv_path_LD"
28529 if test -n "$LD"; then
28530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
28531 $as_echo "$LD" >&6; }
28532 else
28533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28534 $as_echo "no" >&6; }
28536 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
28537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
28538 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
28539 if ${acl_cv_prog_gnu_ld+:} false; then :
28540 $as_echo_n "(cached) " >&6
28541 else
28542 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
28543 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
28544 acl_cv_prog_gnu_ld=yes
28545 else
28546 acl_cv_prog_gnu_ld=no
28549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
28550 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
28551 with_gnu_ld=$acl_cv_prog_gnu_ld
28555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
28556 $as_echo_n "checking for shared library run path origin... " >&6; }
28557 if ${acl_cv_rpath+:} false; then :
28558 $as_echo_n "(cached) " >&6
28559 else
28561 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
28562 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
28563 . ./conftest.sh
28564 rm -f ./conftest.sh
28565 acl_cv_rpath=done
28568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
28569 $as_echo "$acl_cv_rpath" >&6; }
28570 wl="$acl_cv_wl"
28571 libext="$acl_cv_libext"
28572 shlibext="$acl_cv_shlibext"
28573 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
28574 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
28575 hardcode_direct="$acl_cv_hardcode_direct"
28576 hardcode_minus_L="$acl_cv_hardcode_minus_L"
28577 # Check whether --enable-rpath was given.
28578 if test "${enable_rpath+set}" = set; then :
28579 enableval=$enable_rpath; :
28580 else
28581 enable_rpath=yes
28591 use_additional=yes
28593 acl_save_prefix="$prefix"
28594 prefix="$acl_final_prefix"
28595 acl_save_exec_prefix="$exec_prefix"
28596 exec_prefix="$acl_final_exec_prefix"
28598 eval additional_includedir=\"$includedir\"
28599 eval additional_libdir=\"$libdir\"
28601 exec_prefix="$acl_save_exec_prefix"
28602 prefix="$acl_save_prefix"
28605 # Check whether --with-libiconv-prefix was given.
28606 if test "${with_libiconv_prefix+set}" = set; then :
28607 withval=$with_libiconv_prefix;
28608 if test "X$withval" = "Xno"; then
28609 use_additional=no
28610 else
28611 if test "X$withval" = "X"; then
28613 acl_save_prefix="$prefix"
28614 prefix="$acl_final_prefix"
28615 acl_save_exec_prefix="$exec_prefix"
28616 exec_prefix="$acl_final_exec_prefix"
28618 eval additional_includedir=\"$includedir\"
28619 eval additional_libdir=\"$libdir\"
28621 exec_prefix="$acl_save_exec_prefix"
28622 prefix="$acl_save_prefix"
28624 else
28625 additional_includedir="$withval/include"
28626 additional_libdir="$withval/lib"
28633 # Check whether --with-libiconv-type was given.
28634 if test "${with_libiconv_type+set}" = set; then :
28635 withval=$with_libiconv_type; with_libiconv_type=$withval
28636 else
28637 with_libiconv_type=auto
28640 lib_type=`eval echo \$with_libiconv_type`
28642 LIBICONV=
28643 LTLIBICONV=
28644 INCICONV=
28645 rpathdirs=
28646 ltrpathdirs=
28647 names_already_handled=
28648 names_next_round='iconv '
28649 while test -n "$names_next_round"; do
28650 names_this_round="$names_next_round"
28651 names_next_round=
28652 for name in $names_this_round; do
28653 already_handled=
28654 for n in $names_already_handled; do
28655 if test "$n" = "$name"; then
28656 already_handled=yes
28657 break
28659 done
28660 if test -z "$already_handled"; then
28661 names_already_handled="$names_already_handled $name"
28662 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
28663 eval value=\"\$HAVE_LIB$uppername\"
28664 if test -n "$value"; then
28665 if test "$value" = yes; then
28666 eval value=\"\$LIB$uppername\"
28667 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
28668 eval value=\"\$LTLIB$uppername\"
28669 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
28670 else
28673 else
28674 found_dir=
28675 found_la=
28676 found_so=
28677 found_a=
28678 if test $use_additional = yes; then
28679 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext" && test x$lib_type != xstatic; then
28680 found_dir="$additional_libdir"
28681 found_so="$additional_libdir/lib$name.$shlibext"
28682 if test -f "$additional_libdir/lib$name.la"; then
28683 found_la="$additional_libdir/lib$name.la"
28685 elif test x$lib_type != xshared; then
28686 if test -f "$additional_libdir/lib$name.$libext"; then
28687 found_dir="$additional_libdir"
28688 found_a="$additional_libdir/lib$name.$libext"
28689 if test -f "$additional_libdir/lib$name.la"; then
28690 found_la="$additional_libdir/lib$name.la"
28695 if test "X$found_dir" = "X"; then
28696 for x in $LDFLAGS $LTLIBICONV; do
28698 acl_save_prefix="$prefix"
28699 prefix="$acl_final_prefix"
28700 acl_save_exec_prefix="$exec_prefix"
28701 exec_prefix="$acl_final_exec_prefix"
28702 eval x=\"$x\"
28703 exec_prefix="$acl_save_exec_prefix"
28704 prefix="$acl_save_prefix"
28706 case "$x" in
28707 -L*)
28708 dir=`echo "X$x" | sed -e 's/^X-L//'`
28709 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext" && test x$lib_type != xstatic; then
28710 found_dir="$dir"
28711 found_so="$dir/lib$name.$shlibext"
28712 if test -f "$dir/lib$name.la"; then
28713 found_la="$dir/lib$name.la"
28715 elif test x$lib_type != xshared; then
28716 if test -f "$dir/lib$name.$libext"; then
28717 found_dir="$dir"
28718 found_a="$dir/lib$name.$libext"
28719 if test -f "$dir/lib$name.la"; then
28720 found_la="$dir/lib$name.la"
28725 esac
28726 if test "X$found_dir" != "X"; then
28727 break
28729 done
28731 if test "X$found_dir" != "X"; then
28732 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
28733 if test "X$found_so" != "X"; then
28734 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
28735 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28736 else
28737 haveit=
28738 for x in $ltrpathdirs; do
28739 if test "X$x" = "X$found_dir"; then
28740 haveit=yes
28741 break
28743 done
28744 if test -z "$haveit"; then
28745 ltrpathdirs="$ltrpathdirs $found_dir"
28747 if test "$hardcode_direct" = yes; then
28748 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28749 else
28750 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
28751 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28752 haveit=
28753 for x in $rpathdirs; do
28754 if test "X$x" = "X$found_dir"; then
28755 haveit=yes
28756 break
28758 done
28759 if test -z "$haveit"; then
28760 rpathdirs="$rpathdirs $found_dir"
28762 else
28763 haveit=
28764 for x in $LDFLAGS $LIBICONV; do
28766 acl_save_prefix="$prefix"
28767 prefix="$acl_final_prefix"
28768 acl_save_exec_prefix="$exec_prefix"
28769 exec_prefix="$acl_final_exec_prefix"
28770 eval x=\"$x\"
28771 exec_prefix="$acl_save_exec_prefix"
28772 prefix="$acl_save_prefix"
28774 if test "X$x" = "X-L$found_dir"; then
28775 haveit=yes
28776 break
28778 done
28779 if test -z "$haveit"; then
28780 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
28782 if test "$hardcode_minus_L" != no; then
28783 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28784 else
28785 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
28790 else
28791 if test "X$found_a" != "X"; then
28792 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
28793 else
28794 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
28797 additional_includedir=
28798 case "$found_dir" in
28799 */lib | */lib/)
28800 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
28801 additional_includedir="$basedir/include"
28803 esac
28804 if test "X$additional_includedir" != "X"; then
28805 if test "X$additional_includedir" != "X/usr/include"; then
28806 haveit=
28807 if test "X$additional_includedir" = "X/usr/local/include"; then
28808 if test -n "$GCC"; then
28809 case $host_os in
28810 linux*) haveit=yes;;
28811 esac
28814 if test -z "$haveit"; then
28815 for x in $CPPFLAGS $INCICONV; do
28817 acl_save_prefix="$prefix"
28818 prefix="$acl_final_prefix"
28819 acl_save_exec_prefix="$exec_prefix"
28820 exec_prefix="$acl_final_exec_prefix"
28821 eval x=\"$x\"
28822 exec_prefix="$acl_save_exec_prefix"
28823 prefix="$acl_save_prefix"
28825 if test "X$x" = "X-I$additional_includedir"; then
28826 haveit=yes
28827 break
28829 done
28830 if test -z "$haveit"; then
28831 if test -d "$additional_includedir"; then
28832 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
28838 if test -n "$found_la"; then
28839 save_libdir="$libdir"
28840 case "$found_la" in
28841 */* | *\\*) . "$found_la" ;;
28842 *) . "./$found_la" ;;
28843 esac
28844 libdir="$save_libdir"
28845 for dep in $dependency_libs; do
28846 case "$dep" in
28847 -L*)
28848 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
28849 if test "X$additional_libdir" != "X/usr/lib"; then
28850 haveit=
28851 if test "X$additional_libdir" = "X/usr/local/lib"; then
28852 if test -n "$GCC"; then
28853 case $host_os in
28854 linux*) haveit=yes;;
28855 esac
28858 if test -z "$haveit"; then
28859 haveit=
28860 for x in $LDFLAGS $LIBICONV; do
28862 acl_save_prefix="$prefix"
28863 prefix="$acl_final_prefix"
28864 acl_save_exec_prefix="$exec_prefix"
28865 exec_prefix="$acl_final_exec_prefix"
28866 eval x=\"$x\"
28867 exec_prefix="$acl_save_exec_prefix"
28868 prefix="$acl_save_prefix"
28870 if test "X$x" = "X-L$additional_libdir"; then
28871 haveit=yes
28872 break
28874 done
28875 if test -z "$haveit"; then
28876 if test -d "$additional_libdir"; then
28877 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
28880 haveit=
28881 for x in $LDFLAGS $LTLIBICONV; do
28883 acl_save_prefix="$prefix"
28884 prefix="$acl_final_prefix"
28885 acl_save_exec_prefix="$exec_prefix"
28886 exec_prefix="$acl_final_exec_prefix"
28887 eval x=\"$x\"
28888 exec_prefix="$acl_save_exec_prefix"
28889 prefix="$acl_save_prefix"
28891 if test "X$x" = "X-L$additional_libdir"; then
28892 haveit=yes
28893 break
28895 done
28896 if test -z "$haveit"; then
28897 if test -d "$additional_libdir"; then
28898 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
28904 -R*)
28905 dir=`echo "X$dep" | sed -e 's/^X-R//'`
28906 if test "$enable_rpath" != no; then
28907 haveit=
28908 for x in $rpathdirs; do
28909 if test "X$x" = "X$dir"; then
28910 haveit=yes
28911 break
28913 done
28914 if test -z "$haveit"; then
28915 rpathdirs="$rpathdirs $dir"
28917 haveit=
28918 for x in $ltrpathdirs; do
28919 if test "X$x" = "X$dir"; then
28920 haveit=yes
28921 break
28923 done
28924 if test -z "$haveit"; then
28925 ltrpathdirs="$ltrpathdirs $dir"
28929 -l*)
28930 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
28932 *.la)
28933 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
28936 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
28937 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
28939 esac
28940 done
28942 else
28943 if test "x$lib_type" = "xauto" || test "x$lib_type" = "xshared"; then
28944 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
28945 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
28946 else
28947 LIBICONV="${LIBICONV}${LIBICONV:+ }-l:lib$name.$libext"
28948 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l:lib$name.$libext"
28953 done
28954 done
28955 if test "X$rpathdirs" != "X"; then
28956 if test -n "$hardcode_libdir_separator"; then
28957 alldirs=
28958 for found_dir in $rpathdirs; do
28959 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
28960 done
28961 acl_save_libdir="$libdir"
28962 libdir="$alldirs"
28963 eval flag=\"$hardcode_libdir_flag_spec\"
28964 libdir="$acl_save_libdir"
28965 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
28966 else
28967 for found_dir in $rpathdirs; do
28968 acl_save_libdir="$libdir"
28969 libdir="$found_dir"
28970 eval flag=\"$hardcode_libdir_flag_spec\"
28971 libdir="$acl_save_libdir"
28972 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
28973 done
28976 if test "X$ltrpathdirs" != "X"; then
28977 for found_dir in $ltrpathdirs; do
28978 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
28979 done
28988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
28989 $as_echo_n "checking for iconv... " >&6; }
28990 if ${am_cv_func_iconv+:} false; then :
28991 $as_echo_n "(cached) " >&6
28992 else
28994 am_cv_func_iconv="no, consider installing GNU libiconv"
28995 am_cv_lib_iconv=no
28996 am_save_CPPFLAGS="$CPPFLAGS"
28997 CPPFLAGS="$CPPFLAGS $INCICONV"
28998 if test x$gcc_no_link = xyes; then
28999 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29002 /* end confdefs.h. */
29003 #include <stdlib.h>
29004 #include <iconv.h>
29006 main ()
29008 iconv_t cd = iconv_open("","");
29009 iconv(cd,NULL,NULL,NULL,NULL);
29010 iconv_close(cd);
29012 return 0;
29014 _ACEOF
29015 if ac_fn_c_try_link "$LINENO"; then :
29016 am_cv_func_iconv=yes
29018 rm -f core conftest.err conftest.$ac_objext \
29019 conftest$ac_exeext conftest.$ac_ext
29020 CPPFLAGS="$am_save_CPPFLAGS"
29022 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
29023 for _libs in .libs _libs; do
29024 am_save_CPPFLAGS="$CPPFLAGS"
29025 am_save_LIBS="$LIBS"
29026 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
29027 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
29028 if test x$gcc_no_link = xyes; then
29029 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29032 /* end confdefs.h. */
29033 #include <stdlib.h>
29034 #include <iconv.h>
29036 main ()
29038 iconv_t cd = iconv_open("","");
29039 iconv(cd,NULL,NULL,NULL,NULL);
29040 iconv_close(cd);
29042 return 0;
29044 _ACEOF
29045 if ac_fn_c_try_link "$LINENO"; then :
29046 INCICONV="-I../libiconv/include"
29047 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
29048 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
29049 am_cv_lib_iconv=yes
29050 am_cv_func_iconv=yes
29052 rm -f core conftest.err conftest.$ac_objext \
29053 conftest$ac_exeext conftest.$ac_ext
29054 CPPFLAGS="$am_save_CPPFLAGS"
29055 LIBS="$am_save_LIBS"
29056 if test "$am_cv_func_iconv" = "yes"; then
29057 break
29059 done
29062 if test "$am_cv_func_iconv" != yes; then
29063 am_save_CPPFLAGS="$CPPFLAGS"
29064 am_save_LIBS="$LIBS"
29065 CPPFLAGS="$CPPFLAGS $INCICONV"
29066 LIBS="$LIBS $LIBICONV"
29067 if test x$gcc_no_link = xyes; then
29068 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29071 /* end confdefs.h. */
29072 #include <stdlib.h>
29073 #include <iconv.h>
29075 main ()
29077 iconv_t cd = iconv_open("","");
29078 iconv(cd,NULL,NULL,NULL,NULL);
29079 iconv_close(cd);
29081 return 0;
29083 _ACEOF
29084 if ac_fn_c_try_link "$LINENO"; then :
29085 am_cv_lib_iconv=yes
29086 am_cv_func_iconv=yes
29088 rm -f core conftest.err conftest.$ac_objext \
29089 conftest$ac_exeext conftest.$ac_ext
29090 CPPFLAGS="$am_save_CPPFLAGS"
29091 LIBS="$am_save_LIBS"
29095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
29096 $as_echo "$am_cv_func_iconv" >&6; }
29097 if test "$am_cv_func_iconv" = yes; then
29099 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
29102 if test "$am_cv_lib_iconv" = yes; then
29104 for element in $INCICONV; do
29105 haveit=
29106 for x in $CPPFLAGS; do
29108 acl_save_prefix="$prefix"
29109 prefix="$acl_final_prefix"
29110 acl_save_exec_prefix="$exec_prefix"
29111 exec_prefix="$acl_final_exec_prefix"
29112 eval x=\"$x\"
29113 exec_prefix="$acl_save_exec_prefix"
29114 prefix="$acl_save_prefix"
29116 if test "X$x" = "X$element"; then
29117 haveit=yes
29118 break
29120 done
29121 if test -z "$haveit"; then
29122 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
29124 done
29126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
29127 $as_echo_n "checking how to link with libiconv... " >&6; }
29128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
29129 $as_echo "$LIBICONV" >&6; }
29130 else
29131 LIBICONV=
29132 LTLIBICONV=
29137 if test "$am_cv_func_iconv" = yes; then
29138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
29139 $as_echo_n "checking for iconv declaration... " >&6; }
29140 if ${am_cv_proto_iconv+:} false; then :
29141 $as_echo_n "(cached) " >&6
29142 else
29144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29145 /* end confdefs.h. */
29147 #include <stdlib.h>
29148 #include <iconv.h>
29149 extern
29150 #ifdef __cplusplus
29152 #endif
29153 #if defined(__STDC__) || defined(__cplusplus)
29154 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
29155 #else
29156 size_t iconv();
29157 #endif
29160 main ()
29164 return 0;
29166 _ACEOF
29167 if ac_fn_c_try_compile "$LINENO"; then :
29168 am_cv_proto_iconv_arg1=""
29169 else
29170 am_cv_proto_iconv_arg1="const"
29172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29173 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);"
29176 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
29177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
29178 }$am_cv_proto_iconv" >&5
29179 $as_echo "${ac_t:-
29180 }$am_cv_proto_iconv" >&6; }
29182 cat >>confdefs.h <<_ACEOF
29183 #define ICONV_CONST $am_cv_proto_iconv_arg1
29184 _ACEOF
29189 else
29191 # This lets us hard-code the functionality we know we'll have in the cross
29192 # target environment. "Let" is a sugar-coated word placed on an especially
29193 # dull and tedious hack, actually.
29195 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
29196 # that involve linking, can't be used:
29197 # "cannot open sim-crt0.o"
29198 # "cannot open crt0.o"
29199 # etc. All this is because there currently exists no unified, consistent
29200 # way for top level CC information to be passed down to target directories:
29201 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
29202 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
29203 # crosses can be removed.
29205 # If Canadian cross, then don't pick up tools from the build directory.
29206 # Used only in GLIBCXX_EXPORT_INCLUDES.
29207 if test -n "$with_cross_host" &&
29208 test x"$build_alias" != x"$with_cross_host" &&
29209 test x"$build" != x"$target";
29210 then
29211 CANADIAN=yes
29212 else
29213 CANADIAN=no
29216 # Construct crosses by hand, eliminating bits that need ld...
29217 # GLIBCXX_CHECK_MATH_SUPPORT
29219 # First, test for "known" system libraries. We may be using newlib even
29220 # on a hosted environment.
29221 if test "x${with_newlib}" = "xyes"; then
29222 os_include_dir="os/newlib"
29223 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
29226 # GLIBCXX_CHECK_STDLIB_SUPPORT
29227 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
29230 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
29232 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
29234 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
29236 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
29238 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
29240 $as_echo "#define HAVE_COSF 1" >>confdefs.h
29242 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
29244 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
29246 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
29248 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
29250 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
29252 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
29254 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
29256 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
29258 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
29260 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
29262 $as_echo "#define HAVE_POWF 1" >>confdefs.h
29264 $as_echo "#define HAVE_SINF 1" >>confdefs.h
29266 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
29268 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
29270 $as_echo "#define HAVE_TANF 1" >>confdefs.h
29272 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
29275 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
29277 $as_echo "#define HAVE_MEMALIGN 1" >>confdefs.h
29279 else
29281 # Base decisions on target environment.
29282 case "${host}" in
29283 arm*-*-symbianelf*)
29284 # This is a freestanding configuration; there is nothing to do here.
29287 avr*-*-*)
29288 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
29290 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
29292 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
29294 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
29296 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
29298 $as_echo "#define HAVE_COSF 1" >>confdefs.h
29300 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
29302 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
29304 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
29306 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
29308 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
29310 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
29312 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
29314 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
29316 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
29318 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
29320 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
29322 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
29324 $as_echo "#define HAVE_POWF 1" >>confdefs.h
29326 $as_echo "#define HAVE_SINF 1" >>confdefs.h
29328 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
29330 $as_echo "#define HAVE_TANF 1" >>confdefs.h
29332 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
29336 mips*-sde-elf*)
29337 # These definitions are for the SDE C library rather than newlib.
29338 SECTION_FLAGS='-ffunction-sections -fdata-sections'
29341 # All these tests are for C++; save the language and the compiler flags.
29342 # The CXXFLAGS thing is suspicious, but based on similar bits previously
29343 # found in GLIBCXX_CONFIGURE.
29345 ac_ext=cpp
29346 ac_cpp='$CXXCPP $CPPFLAGS'
29347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29351 ac_test_CXXFLAGS="${CXXFLAGS+set}"
29352 ac_save_CXXFLAGS="$CXXFLAGS"
29354 # Check for -ffunction-sections -fdata-sections
29355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
29356 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
29357 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
29358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29359 /* end confdefs.h. */
29360 int foo; void bar() { };
29362 main ()
29366 return 0;
29368 _ACEOF
29369 if ac_fn_cxx_try_compile "$LINENO"; then :
29370 ac_fdsections=yes
29371 else
29372 ac_fdsections=no
29374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29375 if test "$ac_test_CXXFLAGS" = set; then
29376 CXXFLAGS="$ac_save_CXXFLAGS"
29377 else
29378 # this is the suspicious part
29379 CXXFLAGS=''
29381 if test x"$ac_fdsections" = x"yes"; then
29382 SECTION_FLAGS='-ffunction-sections -fdata-sections'
29384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
29385 $as_echo "$ac_fdsections" >&6; }
29387 ac_ext=c
29388 ac_cpp='$CPP $CPPFLAGS'
29389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29390 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29396 # If we're not using GNU ld, then there's no point in even trying these
29397 # tests. Check for that first. We should have already tested for gld
29398 # by now (in libtool), but require it now just to be safe...
29399 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
29400 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
29404 # The name set by libtool depends on the version of libtool. Shame on us
29405 # for depending on an impl detail, but c'est la vie. Older versions used
29406 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
29407 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
29408 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
29409 # set (hence we're using an older libtool), then set it.
29410 if test x${with_gnu_ld+set} != xset; then
29411 if test x${ac_cv_prog_gnu_ld+set} != xset; then
29412 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
29413 with_gnu_ld=no
29414 else
29415 with_gnu_ld=$ac_cv_prog_gnu_ld
29419 # Start by getting the version number. I think the libtool test already
29420 # does some of this, but throws away the result.
29421 glibcxx_ld_is_gold=no
29422 if test x"$with_gnu_ld" = x"yes"; then
29423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
29424 $as_echo_n "checking for ld version... " >&6; }
29426 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
29427 glibcxx_ld_is_gold=yes
29429 ldver=`$LD --version 2>/dev/null |
29430 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
29432 glibcxx_gnu_ld_version=`echo $ldver | \
29433 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
29434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
29435 $as_echo "$glibcxx_gnu_ld_version" >&6; }
29438 # Set --gc-sections.
29439 glibcxx_have_gc_sections=no
29440 if test "$glibcxx_ld_is_gold" = "yes"; then
29441 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
29442 glibcxx_have_gc_sections=yes
29444 else
29445 glibcxx_gcsections_min_ld=21602
29446 if test x"$with_gnu_ld" = x"yes" &&
29447 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
29448 glibcxx_have_gc_sections=yes
29451 if test "$glibcxx_have_gc_sections" = "yes"; then
29452 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
29453 # NB: This flag only works reliably after 2.16.1. Configure tests
29454 # for this are difficult, so hard wire a value that should work.
29456 ac_test_CFLAGS="${CFLAGS+set}"
29457 ac_save_CFLAGS="$CFLAGS"
29458 CFLAGS='-Wl,--gc-sections'
29460 # Check for -Wl,--gc-sections
29461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
29462 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
29463 if test x$gcc_no_link = xyes; then
29464 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29467 /* end confdefs.h. */
29468 int one(void) { return 1; }
29469 int two(void) { return 2; }
29472 main ()
29474 two();
29476 return 0;
29478 _ACEOF
29479 if ac_fn_c_try_link "$LINENO"; then :
29480 ac_gcsections=yes
29481 else
29482 ac_gcsections=no
29484 rm -f core conftest.err conftest.$ac_objext \
29485 conftest$ac_exeext conftest.$ac_ext
29486 if test "$ac_gcsections" = "yes"; then
29487 rm -f conftest.c
29488 touch conftest.c
29489 if $CC -c conftest.c; then
29490 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
29491 grep "Warning: gc-sections option ignored" > /dev/null; then
29492 ac_gcsections=no
29495 rm -f conftest.c conftest.o conftest
29497 if test "$ac_gcsections" = "yes"; then
29498 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
29500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
29501 $as_echo "$ac_gcsections" >&6; }
29503 if test "$ac_test_CFLAGS" = set; then
29504 CFLAGS="$ac_save_CFLAGS"
29505 else
29506 # this is the suspicious part
29507 CFLAGS=''
29511 # Set -z,relro.
29512 # Note this is only for shared objects.
29513 ac_ld_relro=no
29514 if test x"$with_gnu_ld" = x"yes"; then
29515 # cygwin and mingw uses PE, which has no ELF relro support,
29516 # multi target ld may confuse configure machinery
29517 case "$host" in
29518 *-*-cygwin*)
29520 *-*-mingw*)
29523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
29524 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
29525 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
29526 if test -n "$cxx_z_relo"; then
29527 OPT_LDFLAGS="-Wl,-z,relro"
29528 ac_ld_relro=yes
29530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
29531 $as_echo "$ac_ld_relro" >&6; }
29532 esac
29535 # Set linker optimization flags.
29536 if test x"$with_gnu_ld" = x"yes"; then
29537 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
29544 ac_test_CXXFLAGS="${CXXFLAGS+set}"
29545 ac_save_CXXFLAGS="$CXXFLAGS"
29546 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
29548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
29549 $as_echo_n "checking for sin in -lm... " >&6; }
29550 if ${ac_cv_lib_m_sin+:} false; then :
29551 $as_echo_n "(cached) " >&6
29552 else
29553 ac_check_lib_save_LIBS=$LIBS
29554 LIBS="-lm $LIBS"
29555 if test x$gcc_no_link = xyes; then
29556 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29559 /* end confdefs.h. */
29561 /* Override any GCC internal prototype to avoid an error.
29562 Use char because int might match the return type of a GCC
29563 builtin and then its argument prototype would still apply. */
29564 #ifdef __cplusplus
29565 extern "C"
29566 #endif
29567 char sin ();
29569 main ()
29571 return sin ();
29573 return 0;
29575 _ACEOF
29576 if ac_fn_c_try_link "$LINENO"; then :
29577 ac_cv_lib_m_sin=yes
29578 else
29579 ac_cv_lib_m_sin=no
29581 rm -f core conftest.err conftest.$ac_objext \
29582 conftest$ac_exeext conftest.$ac_ext
29583 LIBS=$ac_check_lib_save_LIBS
29585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
29586 $as_echo "$ac_cv_lib_m_sin" >&6; }
29587 if test "x$ac_cv_lib_m_sin" = xyes; then :
29588 libm="-lm"
29591 ac_save_LIBS="$LIBS"
29592 LIBS="$LIBS $libm"
29596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
29597 $as_echo_n "checking for isinf declaration... " >&6; }
29598 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
29599 if ${glibcxx_cv_func_isinf_use+:} false; then :
29600 $as_echo_n "(cached) " >&6
29601 else
29604 ac_ext=cpp
29605 ac_cpp='$CXXCPP $CPPFLAGS'
29606 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29607 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29608 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29611 /* end confdefs.h. */
29612 #include <math.h>
29613 #ifdef HAVE_IEEEFP_H
29614 #include <ieeefp.h>
29615 #endif
29618 main ()
29620 isinf(0);
29622 return 0;
29624 _ACEOF
29625 if ac_fn_cxx_try_compile "$LINENO"; then :
29626 glibcxx_cv_func_isinf_use=yes
29627 else
29628 glibcxx_cv_func_isinf_use=no
29630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29631 ac_ext=c
29632 ac_cpp='$CPP $CPPFLAGS'
29633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
29642 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
29644 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
29645 for ac_func in isinf
29646 do :
29647 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
29648 if test "x$ac_cv_func_isinf" = xyes; then :
29649 cat >>confdefs.h <<_ACEOF
29650 #define HAVE_ISINF 1
29651 _ACEOF
29654 done
29656 else
29658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
29659 $as_echo_n "checking for _isinf declaration... " >&6; }
29660 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
29661 if ${glibcxx_cv_func__isinf_use+:} false; then :
29662 $as_echo_n "(cached) " >&6
29663 else
29666 ac_ext=cpp
29667 ac_cpp='$CXXCPP $CPPFLAGS'
29668 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29669 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29670 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29673 /* end confdefs.h. */
29674 #include <math.h>
29675 #ifdef HAVE_IEEEFP_H
29676 #include <ieeefp.h>
29677 #endif
29680 main ()
29682 _isinf(0);
29684 return 0;
29686 _ACEOF
29687 if ac_fn_cxx_try_compile "$LINENO"; then :
29688 glibcxx_cv_func__isinf_use=yes
29689 else
29690 glibcxx_cv_func__isinf_use=no
29692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29693 ac_ext=c
29694 ac_cpp='$CPP $CPPFLAGS'
29695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
29704 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
29706 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
29707 for ac_func in _isinf
29708 do :
29709 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
29710 if test "x$ac_cv_func__isinf" = xyes; then :
29711 cat >>confdefs.h <<_ACEOF
29712 #define HAVE__ISINF 1
29713 _ACEOF
29716 done
29725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
29726 $as_echo_n "checking for isnan declaration... " >&6; }
29727 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
29728 if ${glibcxx_cv_func_isnan_use+:} false; then :
29729 $as_echo_n "(cached) " >&6
29730 else
29733 ac_ext=cpp
29734 ac_cpp='$CXXCPP $CPPFLAGS'
29735 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29736 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29737 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29740 /* end confdefs.h. */
29741 #include <math.h>
29742 #ifdef HAVE_IEEEFP_H
29743 #include <ieeefp.h>
29744 #endif
29747 main ()
29749 isnan(0);
29751 return 0;
29753 _ACEOF
29754 if ac_fn_cxx_try_compile "$LINENO"; then :
29755 glibcxx_cv_func_isnan_use=yes
29756 else
29757 glibcxx_cv_func_isnan_use=no
29759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29760 ac_ext=c
29761 ac_cpp='$CPP $CPPFLAGS'
29762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
29771 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
29773 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
29774 for ac_func in isnan
29775 do :
29776 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
29777 if test "x$ac_cv_func_isnan" = xyes; then :
29778 cat >>confdefs.h <<_ACEOF
29779 #define HAVE_ISNAN 1
29780 _ACEOF
29783 done
29785 else
29787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
29788 $as_echo_n "checking for _isnan declaration... " >&6; }
29789 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
29790 if ${glibcxx_cv_func__isnan_use+:} false; then :
29791 $as_echo_n "(cached) " >&6
29792 else
29795 ac_ext=cpp
29796 ac_cpp='$CXXCPP $CPPFLAGS'
29797 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29798 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29799 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29802 /* end confdefs.h. */
29803 #include <math.h>
29804 #ifdef HAVE_IEEEFP_H
29805 #include <ieeefp.h>
29806 #endif
29809 main ()
29811 _isnan(0);
29813 return 0;
29815 _ACEOF
29816 if ac_fn_cxx_try_compile "$LINENO"; then :
29817 glibcxx_cv_func__isnan_use=yes
29818 else
29819 glibcxx_cv_func__isnan_use=no
29821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29822 ac_ext=c
29823 ac_cpp='$CPP $CPPFLAGS'
29824 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29825 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29826 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
29833 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
29835 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
29836 for ac_func in _isnan
29837 do :
29838 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
29839 if test "x$ac_cv_func__isnan" = xyes; then :
29840 cat >>confdefs.h <<_ACEOF
29841 #define HAVE__ISNAN 1
29842 _ACEOF
29845 done
29854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
29855 $as_echo_n "checking for finite declaration... " >&6; }
29856 if test x${glibcxx_cv_func_finite_use+set} != xset; then
29857 if ${glibcxx_cv_func_finite_use+:} false; then :
29858 $as_echo_n "(cached) " >&6
29859 else
29862 ac_ext=cpp
29863 ac_cpp='$CXXCPP $CPPFLAGS'
29864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29869 /* end confdefs.h. */
29870 #include <math.h>
29871 #ifdef HAVE_IEEEFP_H
29872 #include <ieeefp.h>
29873 #endif
29876 main ()
29878 finite(0);
29880 return 0;
29882 _ACEOF
29883 if ac_fn_cxx_try_compile "$LINENO"; then :
29884 glibcxx_cv_func_finite_use=yes
29885 else
29886 glibcxx_cv_func_finite_use=no
29888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29889 ac_ext=c
29890 ac_cpp='$CPP $CPPFLAGS'
29891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
29900 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
29902 if test x$glibcxx_cv_func_finite_use = x"yes"; then
29903 for ac_func in finite
29904 do :
29905 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
29906 if test "x$ac_cv_func_finite" = xyes; then :
29907 cat >>confdefs.h <<_ACEOF
29908 #define HAVE_FINITE 1
29909 _ACEOF
29912 done
29914 else
29916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
29917 $as_echo_n "checking for _finite declaration... " >&6; }
29918 if test x${glibcxx_cv_func__finite_use+set} != xset; then
29919 if ${glibcxx_cv_func__finite_use+:} false; then :
29920 $as_echo_n "(cached) " >&6
29921 else
29924 ac_ext=cpp
29925 ac_cpp='$CXXCPP $CPPFLAGS'
29926 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29927 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29928 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29931 /* end confdefs.h. */
29932 #include <math.h>
29933 #ifdef HAVE_IEEEFP_H
29934 #include <ieeefp.h>
29935 #endif
29938 main ()
29940 _finite(0);
29942 return 0;
29944 _ACEOF
29945 if ac_fn_cxx_try_compile "$LINENO"; then :
29946 glibcxx_cv_func__finite_use=yes
29947 else
29948 glibcxx_cv_func__finite_use=no
29950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29951 ac_ext=c
29952 ac_cpp='$CPP $CPPFLAGS'
29953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
29962 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
29964 if test x$glibcxx_cv_func__finite_use = x"yes"; then
29965 for ac_func in _finite
29966 do :
29967 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
29968 if test "x$ac_cv_func__finite" = xyes; then :
29969 cat >>confdefs.h <<_ACEOF
29970 #define HAVE__FINITE 1
29971 _ACEOF
29974 done
29983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
29984 $as_echo_n "checking for sincos declaration... " >&6; }
29985 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
29986 if ${glibcxx_cv_func_sincos_use+:} false; then :
29987 $as_echo_n "(cached) " >&6
29988 else
29991 ac_ext=cpp
29992 ac_cpp='$CXXCPP $CPPFLAGS'
29993 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29994 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29995 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29998 /* end confdefs.h. */
29999 #include <math.h>
30001 main ()
30003 sincos(0, 0, 0);
30005 return 0;
30007 _ACEOF
30008 if ac_fn_cxx_try_compile "$LINENO"; then :
30009 glibcxx_cv_func_sincos_use=yes
30010 else
30011 glibcxx_cv_func_sincos_use=no
30013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30014 ac_ext=c
30015 ac_cpp='$CPP $CPPFLAGS'
30016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
30025 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
30027 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
30028 for ac_func in sincos
30029 do :
30030 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
30031 if test "x$ac_cv_func_sincos" = xyes; then :
30032 cat >>confdefs.h <<_ACEOF
30033 #define HAVE_SINCOS 1
30034 _ACEOF
30037 done
30039 else
30041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
30042 $as_echo_n "checking for _sincos declaration... " >&6; }
30043 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
30044 if ${glibcxx_cv_func__sincos_use+:} false; then :
30045 $as_echo_n "(cached) " >&6
30046 else
30049 ac_ext=cpp
30050 ac_cpp='$CXXCPP $CPPFLAGS'
30051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30052 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30056 /* end confdefs.h. */
30057 #include <math.h>
30059 main ()
30061 _sincos(0, 0, 0);
30063 return 0;
30065 _ACEOF
30066 if ac_fn_cxx_try_compile "$LINENO"; then :
30067 glibcxx_cv_func__sincos_use=yes
30068 else
30069 glibcxx_cv_func__sincos_use=no
30071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30072 ac_ext=c
30073 ac_cpp='$CPP $CPPFLAGS'
30074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
30083 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
30085 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
30086 for ac_func in _sincos
30087 do :
30088 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
30089 if test "x$ac_cv_func__sincos" = xyes; then :
30090 cat >>confdefs.h <<_ACEOF
30091 #define HAVE__SINCOS 1
30092 _ACEOF
30095 done
30104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
30105 $as_echo_n "checking for fpclass declaration... " >&6; }
30106 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
30107 if ${glibcxx_cv_func_fpclass_use+:} false; then :
30108 $as_echo_n "(cached) " >&6
30109 else
30112 ac_ext=cpp
30113 ac_cpp='$CXXCPP $CPPFLAGS'
30114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30119 /* end confdefs.h. */
30120 #include <math.h>
30121 #ifdef HAVE_IEEEFP_H
30122 #include <ieeefp.h>
30123 #endif
30126 main ()
30128 fpclass(0);
30130 return 0;
30132 _ACEOF
30133 if ac_fn_cxx_try_compile "$LINENO"; then :
30134 glibcxx_cv_func_fpclass_use=yes
30135 else
30136 glibcxx_cv_func_fpclass_use=no
30138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30139 ac_ext=c
30140 ac_cpp='$CPP $CPPFLAGS'
30141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
30150 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
30152 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
30153 for ac_func in fpclass
30154 do :
30155 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
30156 if test "x$ac_cv_func_fpclass" = xyes; then :
30157 cat >>confdefs.h <<_ACEOF
30158 #define HAVE_FPCLASS 1
30159 _ACEOF
30162 done
30164 else
30166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
30167 $as_echo_n "checking for _fpclass declaration... " >&6; }
30168 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
30169 if ${glibcxx_cv_func__fpclass_use+:} false; then :
30170 $as_echo_n "(cached) " >&6
30171 else
30174 ac_ext=cpp
30175 ac_cpp='$CXXCPP $CPPFLAGS'
30176 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30177 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30178 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30181 /* end confdefs.h. */
30182 #include <math.h>
30183 #ifdef HAVE_IEEEFP_H
30184 #include <ieeefp.h>
30185 #endif
30188 main ()
30190 _fpclass(0);
30192 return 0;
30194 _ACEOF
30195 if ac_fn_cxx_try_compile "$LINENO"; then :
30196 glibcxx_cv_func__fpclass_use=yes
30197 else
30198 glibcxx_cv_func__fpclass_use=no
30200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30201 ac_ext=c
30202 ac_cpp='$CPP $CPPFLAGS'
30203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
30212 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
30214 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
30215 for ac_func in _fpclass
30216 do :
30217 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
30218 if test "x$ac_cv_func__fpclass" = xyes; then :
30219 cat >>confdefs.h <<_ACEOF
30220 #define HAVE__FPCLASS 1
30221 _ACEOF
30224 done
30233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
30234 $as_echo_n "checking for qfpclass declaration... " >&6; }
30235 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
30236 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
30237 $as_echo_n "(cached) " >&6
30238 else
30241 ac_ext=cpp
30242 ac_cpp='$CXXCPP $CPPFLAGS'
30243 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30244 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30245 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30248 /* end confdefs.h. */
30249 #include <math.h>
30250 #ifdef HAVE_IEEEFP_H
30251 #include <ieeefp.h>
30252 #endif
30255 main ()
30257 qfpclass(0);
30259 return 0;
30261 _ACEOF
30262 if ac_fn_cxx_try_compile "$LINENO"; then :
30263 glibcxx_cv_func_qfpclass_use=yes
30264 else
30265 glibcxx_cv_func_qfpclass_use=no
30267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30268 ac_ext=c
30269 ac_cpp='$CPP $CPPFLAGS'
30270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
30279 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
30281 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
30282 for ac_func in qfpclass
30283 do :
30284 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
30285 if test "x$ac_cv_func_qfpclass" = xyes; then :
30286 cat >>confdefs.h <<_ACEOF
30287 #define HAVE_QFPCLASS 1
30288 _ACEOF
30291 done
30293 else
30295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
30296 $as_echo_n "checking for _qfpclass declaration... " >&6; }
30297 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
30298 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
30299 $as_echo_n "(cached) " >&6
30300 else
30303 ac_ext=cpp
30304 ac_cpp='$CXXCPP $CPPFLAGS'
30305 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30306 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30307 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30310 /* end confdefs.h. */
30311 #include <math.h>
30312 #ifdef HAVE_IEEEFP_H
30313 #include <ieeefp.h>
30314 #endif
30317 main ()
30319 _qfpclass(0);
30321 return 0;
30323 _ACEOF
30324 if ac_fn_cxx_try_compile "$LINENO"; then :
30325 glibcxx_cv_func__qfpclass_use=yes
30326 else
30327 glibcxx_cv_func__qfpclass_use=no
30329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30330 ac_ext=c
30331 ac_cpp='$CPP $CPPFLAGS'
30332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
30341 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
30343 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
30344 for ac_func in _qfpclass
30345 do :
30346 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
30347 if test "x$ac_cv_func__qfpclass" = xyes; then :
30348 cat >>confdefs.h <<_ACEOF
30349 #define HAVE__QFPCLASS 1
30350 _ACEOF
30353 done
30362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
30363 $as_echo_n "checking for hypot declaration... " >&6; }
30364 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
30365 if ${glibcxx_cv_func_hypot_use+:} false; then :
30366 $as_echo_n "(cached) " >&6
30367 else
30370 ac_ext=cpp
30371 ac_cpp='$CXXCPP $CPPFLAGS'
30372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30377 /* end confdefs.h. */
30378 #include <math.h>
30380 main ()
30382 hypot(0, 0);
30384 return 0;
30386 _ACEOF
30387 if ac_fn_cxx_try_compile "$LINENO"; then :
30388 glibcxx_cv_func_hypot_use=yes
30389 else
30390 glibcxx_cv_func_hypot_use=no
30392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30393 ac_ext=c
30394 ac_cpp='$CPP $CPPFLAGS'
30395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
30404 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
30406 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
30407 for ac_func in hypot
30408 do :
30409 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
30410 if test "x$ac_cv_func_hypot" = xyes; then :
30411 cat >>confdefs.h <<_ACEOF
30412 #define HAVE_HYPOT 1
30413 _ACEOF
30416 done
30418 else
30420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
30421 $as_echo_n "checking for _hypot declaration... " >&6; }
30422 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
30423 if ${glibcxx_cv_func__hypot_use+:} false; then :
30424 $as_echo_n "(cached) " >&6
30425 else
30428 ac_ext=cpp
30429 ac_cpp='$CXXCPP $CPPFLAGS'
30430 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30431 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30432 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30435 /* end confdefs.h. */
30436 #include <math.h>
30438 main ()
30440 _hypot(0, 0);
30442 return 0;
30444 _ACEOF
30445 if ac_fn_cxx_try_compile "$LINENO"; then :
30446 glibcxx_cv_func__hypot_use=yes
30447 else
30448 glibcxx_cv_func__hypot_use=no
30450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30451 ac_ext=c
30452 ac_cpp='$CPP $CPPFLAGS'
30453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
30462 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
30464 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
30465 for ac_func in _hypot
30466 do :
30467 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
30468 if test "x$ac_cv_func__hypot" = xyes; then :
30469 cat >>confdefs.h <<_ACEOF
30470 #define HAVE__HYPOT 1
30471 _ACEOF
30474 done
30483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
30484 $as_echo_n "checking for float trig functions... " >&6; }
30485 if ${glibcxx_cv_func_float_trig_use+:} false; then :
30486 $as_echo_n "(cached) " >&6
30487 else
30490 ac_ext=cpp
30491 ac_cpp='$CXXCPP $CPPFLAGS'
30492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30497 /* end confdefs.h. */
30498 #include <math.h>
30500 main ()
30502 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
30504 return 0;
30506 _ACEOF
30507 if ac_fn_cxx_try_compile "$LINENO"; then :
30508 glibcxx_cv_func_float_trig_use=yes
30509 else
30510 glibcxx_cv_func_float_trig_use=no
30512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30513 ac_ext=c
30514 ac_cpp='$CPP $CPPFLAGS'
30515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
30522 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
30523 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
30524 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
30525 do :
30526 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30527 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30528 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
30529 cat >>confdefs.h <<_ACEOF
30530 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30531 _ACEOF
30534 done
30536 else
30537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
30538 $as_echo_n "checking for _float trig functions... " >&6; }
30539 if ${glibcxx_cv_func__float_trig_use+:} false; then :
30540 $as_echo_n "(cached) " >&6
30541 else
30544 ac_ext=cpp
30545 ac_cpp='$CXXCPP $CPPFLAGS'
30546 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30547 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30548 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30551 /* end confdefs.h. */
30552 #include <math.h>
30554 main ()
30556 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
30558 return 0;
30560 _ACEOF
30561 if ac_fn_cxx_try_compile "$LINENO"; then :
30562 glibcxx_cv_func__float_trig_use=yes
30563 else
30564 glibcxx_cv_func__float_trig_use=no
30566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30567 ac_ext=c
30568 ac_cpp='$CPP $CPPFLAGS'
30569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
30576 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
30577 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
30578 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
30579 do :
30580 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30581 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30582 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
30583 cat >>confdefs.h <<_ACEOF
30584 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30585 _ACEOF
30588 done
30597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
30598 $as_echo_n "checking for float round functions... " >&6; }
30599 if ${glibcxx_cv_func_float_round_use+:} false; then :
30600 $as_echo_n "(cached) " >&6
30601 else
30604 ac_ext=cpp
30605 ac_cpp='$CXXCPP $CPPFLAGS'
30606 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30607 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30608 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30611 /* end confdefs.h. */
30612 #include <math.h>
30614 main ()
30616 ceilf (0); floorf (0);
30618 return 0;
30620 _ACEOF
30621 if ac_fn_cxx_try_compile "$LINENO"; then :
30622 glibcxx_cv_func_float_round_use=yes
30623 else
30624 glibcxx_cv_func_float_round_use=no
30626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30627 ac_ext=c
30628 ac_cpp='$CPP $CPPFLAGS'
30629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
30636 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
30637 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
30638 for ac_func in ceilf floorf
30639 do :
30640 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30641 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30642 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
30643 cat >>confdefs.h <<_ACEOF
30644 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30645 _ACEOF
30648 done
30650 else
30651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
30652 $as_echo_n "checking for _float round functions... " >&6; }
30653 if ${glibcxx_cv_func__float_round_use+:} false; then :
30654 $as_echo_n "(cached) " >&6
30655 else
30658 ac_ext=cpp
30659 ac_cpp='$CXXCPP $CPPFLAGS'
30660 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30661 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30662 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30665 /* end confdefs.h. */
30666 #include <math.h>
30668 main ()
30670 _ceilf (0); _floorf (0);
30672 return 0;
30674 _ACEOF
30675 if ac_fn_cxx_try_compile "$LINENO"; then :
30676 glibcxx_cv_func__float_round_use=yes
30677 else
30678 glibcxx_cv_func__float_round_use=no
30680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30681 ac_ext=c
30682 ac_cpp='$CPP $CPPFLAGS'
30683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
30690 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
30691 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
30692 for ac_func in _ceilf _floorf
30693 do :
30694 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30695 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30696 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
30697 cat >>confdefs.h <<_ACEOF
30698 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30699 _ACEOF
30702 done
30712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
30713 $as_echo_n "checking for expf declaration... " >&6; }
30714 if test x${glibcxx_cv_func_expf_use+set} != xset; then
30715 if ${glibcxx_cv_func_expf_use+:} false; then :
30716 $as_echo_n "(cached) " >&6
30717 else
30720 ac_ext=cpp
30721 ac_cpp='$CXXCPP $CPPFLAGS'
30722 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30723 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30724 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30727 /* end confdefs.h. */
30728 #include <math.h>
30729 #ifdef HAVE_IEEEFP_H
30730 #include <ieeefp.h>
30731 #endif
30734 main ()
30736 expf(0);
30738 return 0;
30740 _ACEOF
30741 if ac_fn_cxx_try_compile "$LINENO"; then :
30742 glibcxx_cv_func_expf_use=yes
30743 else
30744 glibcxx_cv_func_expf_use=no
30746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30747 ac_ext=c
30748 ac_cpp='$CPP $CPPFLAGS'
30749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
30758 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
30760 if test x$glibcxx_cv_func_expf_use = x"yes"; then
30761 for ac_func in expf
30762 do :
30763 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
30764 if test "x$ac_cv_func_expf" = xyes; then :
30765 cat >>confdefs.h <<_ACEOF
30766 #define HAVE_EXPF 1
30767 _ACEOF
30770 done
30772 else
30774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
30775 $as_echo_n "checking for _expf declaration... " >&6; }
30776 if test x${glibcxx_cv_func__expf_use+set} != xset; then
30777 if ${glibcxx_cv_func__expf_use+:} false; then :
30778 $as_echo_n "(cached) " >&6
30779 else
30782 ac_ext=cpp
30783 ac_cpp='$CXXCPP $CPPFLAGS'
30784 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30785 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30786 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30789 /* end confdefs.h. */
30790 #include <math.h>
30791 #ifdef HAVE_IEEEFP_H
30792 #include <ieeefp.h>
30793 #endif
30796 main ()
30798 _expf(0);
30800 return 0;
30802 _ACEOF
30803 if ac_fn_cxx_try_compile "$LINENO"; then :
30804 glibcxx_cv_func__expf_use=yes
30805 else
30806 glibcxx_cv_func__expf_use=no
30808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30809 ac_ext=c
30810 ac_cpp='$CPP $CPPFLAGS'
30811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
30820 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
30822 if test x$glibcxx_cv_func__expf_use = x"yes"; then
30823 for ac_func in _expf
30824 do :
30825 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
30826 if test "x$ac_cv_func__expf" = xyes; then :
30827 cat >>confdefs.h <<_ACEOF
30828 #define HAVE__EXPF 1
30829 _ACEOF
30832 done
30841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
30842 $as_echo_n "checking for isnanf declaration... " >&6; }
30843 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
30844 if ${glibcxx_cv_func_isnanf_use+:} false; then :
30845 $as_echo_n "(cached) " >&6
30846 else
30849 ac_ext=cpp
30850 ac_cpp='$CXXCPP $CPPFLAGS'
30851 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30852 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30853 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30856 /* end confdefs.h. */
30857 #include <math.h>
30858 #ifdef HAVE_IEEEFP_H
30859 #include <ieeefp.h>
30860 #endif
30863 main ()
30865 isnanf(0);
30867 return 0;
30869 _ACEOF
30870 if ac_fn_cxx_try_compile "$LINENO"; then :
30871 glibcxx_cv_func_isnanf_use=yes
30872 else
30873 glibcxx_cv_func_isnanf_use=no
30875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30876 ac_ext=c
30877 ac_cpp='$CPP $CPPFLAGS'
30878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
30887 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
30889 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
30890 for ac_func in isnanf
30891 do :
30892 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
30893 if test "x$ac_cv_func_isnanf" = xyes; then :
30894 cat >>confdefs.h <<_ACEOF
30895 #define HAVE_ISNANF 1
30896 _ACEOF
30899 done
30901 else
30903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
30904 $as_echo_n "checking for _isnanf declaration... " >&6; }
30905 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
30906 if ${glibcxx_cv_func__isnanf_use+:} false; then :
30907 $as_echo_n "(cached) " >&6
30908 else
30911 ac_ext=cpp
30912 ac_cpp='$CXXCPP $CPPFLAGS'
30913 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30914 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30915 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30918 /* end confdefs.h. */
30919 #include <math.h>
30920 #ifdef HAVE_IEEEFP_H
30921 #include <ieeefp.h>
30922 #endif
30925 main ()
30927 _isnanf(0);
30929 return 0;
30931 _ACEOF
30932 if ac_fn_cxx_try_compile "$LINENO"; then :
30933 glibcxx_cv_func__isnanf_use=yes
30934 else
30935 glibcxx_cv_func__isnanf_use=no
30937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30938 ac_ext=c
30939 ac_cpp='$CPP $CPPFLAGS'
30940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
30949 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
30951 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
30952 for ac_func in _isnanf
30953 do :
30954 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
30955 if test "x$ac_cv_func__isnanf" = xyes; then :
30956 cat >>confdefs.h <<_ACEOF
30957 #define HAVE__ISNANF 1
30958 _ACEOF
30961 done
30970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
30971 $as_echo_n "checking for isinff declaration... " >&6; }
30972 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
30973 if ${glibcxx_cv_func_isinff_use+:} false; then :
30974 $as_echo_n "(cached) " >&6
30975 else
30978 ac_ext=cpp
30979 ac_cpp='$CXXCPP $CPPFLAGS'
30980 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30981 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30982 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30985 /* end confdefs.h. */
30986 #include <math.h>
30987 #ifdef HAVE_IEEEFP_H
30988 #include <ieeefp.h>
30989 #endif
30992 main ()
30994 isinff(0);
30996 return 0;
30998 _ACEOF
30999 if ac_fn_cxx_try_compile "$LINENO"; then :
31000 glibcxx_cv_func_isinff_use=yes
31001 else
31002 glibcxx_cv_func_isinff_use=no
31004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31005 ac_ext=c
31006 ac_cpp='$CPP $CPPFLAGS'
31007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
31016 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
31018 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
31019 for ac_func in isinff
31020 do :
31021 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
31022 if test "x$ac_cv_func_isinff" = xyes; then :
31023 cat >>confdefs.h <<_ACEOF
31024 #define HAVE_ISINFF 1
31025 _ACEOF
31028 done
31030 else
31032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
31033 $as_echo_n "checking for _isinff declaration... " >&6; }
31034 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
31035 if ${glibcxx_cv_func__isinff_use+:} false; then :
31036 $as_echo_n "(cached) " >&6
31037 else
31040 ac_ext=cpp
31041 ac_cpp='$CXXCPP $CPPFLAGS'
31042 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31043 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31044 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31047 /* end confdefs.h. */
31048 #include <math.h>
31049 #ifdef HAVE_IEEEFP_H
31050 #include <ieeefp.h>
31051 #endif
31054 main ()
31056 _isinff(0);
31058 return 0;
31060 _ACEOF
31061 if ac_fn_cxx_try_compile "$LINENO"; then :
31062 glibcxx_cv_func__isinff_use=yes
31063 else
31064 glibcxx_cv_func__isinff_use=no
31066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31067 ac_ext=c
31068 ac_cpp='$CPP $CPPFLAGS'
31069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
31078 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
31080 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
31081 for ac_func in _isinff
31082 do :
31083 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
31084 if test "x$ac_cv_func__isinff" = xyes; then :
31085 cat >>confdefs.h <<_ACEOF
31086 #define HAVE__ISINFF 1
31087 _ACEOF
31090 done
31099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
31100 $as_echo_n "checking for atan2f declaration... " >&6; }
31101 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
31102 if ${glibcxx_cv_func_atan2f_use+:} false; then :
31103 $as_echo_n "(cached) " >&6
31104 else
31107 ac_ext=cpp
31108 ac_cpp='$CXXCPP $CPPFLAGS'
31109 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31110 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31111 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31114 /* end confdefs.h. */
31115 #include <math.h>
31117 main ()
31119 atan2f(0, 0);
31121 return 0;
31123 _ACEOF
31124 if ac_fn_cxx_try_compile "$LINENO"; then :
31125 glibcxx_cv_func_atan2f_use=yes
31126 else
31127 glibcxx_cv_func_atan2f_use=no
31129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31130 ac_ext=c
31131 ac_cpp='$CPP $CPPFLAGS'
31132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
31141 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
31143 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
31144 for ac_func in atan2f
31145 do :
31146 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
31147 if test "x$ac_cv_func_atan2f" = xyes; then :
31148 cat >>confdefs.h <<_ACEOF
31149 #define HAVE_ATAN2F 1
31150 _ACEOF
31153 done
31155 else
31157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
31158 $as_echo_n "checking for _atan2f declaration... " >&6; }
31159 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
31160 if ${glibcxx_cv_func__atan2f_use+:} false; then :
31161 $as_echo_n "(cached) " >&6
31162 else
31165 ac_ext=cpp
31166 ac_cpp='$CXXCPP $CPPFLAGS'
31167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31172 /* end confdefs.h. */
31173 #include <math.h>
31175 main ()
31177 _atan2f(0, 0);
31179 return 0;
31181 _ACEOF
31182 if ac_fn_cxx_try_compile "$LINENO"; then :
31183 glibcxx_cv_func__atan2f_use=yes
31184 else
31185 glibcxx_cv_func__atan2f_use=no
31187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31188 ac_ext=c
31189 ac_cpp='$CPP $CPPFLAGS'
31190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
31199 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
31201 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
31202 for ac_func in _atan2f
31203 do :
31204 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
31205 if test "x$ac_cv_func__atan2f" = xyes; then :
31206 cat >>confdefs.h <<_ACEOF
31207 #define HAVE__ATAN2F 1
31208 _ACEOF
31211 done
31220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
31221 $as_echo_n "checking for fabsf declaration... " >&6; }
31222 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
31223 if ${glibcxx_cv_func_fabsf_use+:} false; then :
31224 $as_echo_n "(cached) " >&6
31225 else
31228 ac_ext=cpp
31229 ac_cpp='$CXXCPP $CPPFLAGS'
31230 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31231 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31232 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31235 /* end confdefs.h. */
31236 #include <math.h>
31237 #ifdef HAVE_IEEEFP_H
31238 #include <ieeefp.h>
31239 #endif
31242 main ()
31244 fabsf(0);
31246 return 0;
31248 _ACEOF
31249 if ac_fn_cxx_try_compile "$LINENO"; then :
31250 glibcxx_cv_func_fabsf_use=yes
31251 else
31252 glibcxx_cv_func_fabsf_use=no
31254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31255 ac_ext=c
31256 ac_cpp='$CPP $CPPFLAGS'
31257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
31266 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
31268 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
31269 for ac_func in fabsf
31270 do :
31271 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
31272 if test "x$ac_cv_func_fabsf" = xyes; then :
31273 cat >>confdefs.h <<_ACEOF
31274 #define HAVE_FABSF 1
31275 _ACEOF
31278 done
31280 else
31282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
31283 $as_echo_n "checking for _fabsf declaration... " >&6; }
31284 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
31285 if ${glibcxx_cv_func__fabsf_use+:} false; then :
31286 $as_echo_n "(cached) " >&6
31287 else
31290 ac_ext=cpp
31291 ac_cpp='$CXXCPP $CPPFLAGS'
31292 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31293 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31294 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31297 /* end confdefs.h. */
31298 #include <math.h>
31299 #ifdef HAVE_IEEEFP_H
31300 #include <ieeefp.h>
31301 #endif
31304 main ()
31306 _fabsf(0);
31308 return 0;
31310 _ACEOF
31311 if ac_fn_cxx_try_compile "$LINENO"; then :
31312 glibcxx_cv_func__fabsf_use=yes
31313 else
31314 glibcxx_cv_func__fabsf_use=no
31316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31317 ac_ext=c
31318 ac_cpp='$CPP $CPPFLAGS'
31319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
31328 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
31330 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
31331 for ac_func in _fabsf
31332 do :
31333 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
31334 if test "x$ac_cv_func__fabsf" = xyes; then :
31335 cat >>confdefs.h <<_ACEOF
31336 #define HAVE__FABSF 1
31337 _ACEOF
31340 done
31349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
31350 $as_echo_n "checking for fmodf declaration... " >&6; }
31351 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
31352 if ${glibcxx_cv_func_fmodf_use+:} false; then :
31353 $as_echo_n "(cached) " >&6
31354 else
31357 ac_ext=cpp
31358 ac_cpp='$CXXCPP $CPPFLAGS'
31359 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31360 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31361 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31364 /* end confdefs.h. */
31365 #include <math.h>
31367 main ()
31369 fmodf(0, 0);
31371 return 0;
31373 _ACEOF
31374 if ac_fn_cxx_try_compile "$LINENO"; then :
31375 glibcxx_cv_func_fmodf_use=yes
31376 else
31377 glibcxx_cv_func_fmodf_use=no
31379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31380 ac_ext=c
31381 ac_cpp='$CPP $CPPFLAGS'
31382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
31391 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
31393 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
31394 for ac_func in fmodf
31395 do :
31396 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
31397 if test "x$ac_cv_func_fmodf" = xyes; then :
31398 cat >>confdefs.h <<_ACEOF
31399 #define HAVE_FMODF 1
31400 _ACEOF
31403 done
31405 else
31407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
31408 $as_echo_n "checking for _fmodf declaration... " >&6; }
31409 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
31410 if ${glibcxx_cv_func__fmodf_use+:} false; then :
31411 $as_echo_n "(cached) " >&6
31412 else
31415 ac_ext=cpp
31416 ac_cpp='$CXXCPP $CPPFLAGS'
31417 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31418 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31419 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31422 /* end confdefs.h. */
31423 #include <math.h>
31425 main ()
31427 _fmodf(0, 0);
31429 return 0;
31431 _ACEOF
31432 if ac_fn_cxx_try_compile "$LINENO"; then :
31433 glibcxx_cv_func__fmodf_use=yes
31434 else
31435 glibcxx_cv_func__fmodf_use=no
31437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31438 ac_ext=c
31439 ac_cpp='$CPP $CPPFLAGS'
31440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
31449 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
31451 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
31452 for ac_func in _fmodf
31453 do :
31454 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
31455 if test "x$ac_cv_func__fmodf" = xyes; then :
31456 cat >>confdefs.h <<_ACEOF
31457 #define HAVE__FMODF 1
31458 _ACEOF
31461 done
31470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
31471 $as_echo_n "checking for frexpf declaration... " >&6; }
31472 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
31473 if ${glibcxx_cv_func_frexpf_use+:} false; then :
31474 $as_echo_n "(cached) " >&6
31475 else
31478 ac_ext=cpp
31479 ac_cpp='$CXXCPP $CPPFLAGS'
31480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31485 /* end confdefs.h. */
31486 #include <math.h>
31488 main ()
31490 frexpf(0, 0);
31492 return 0;
31494 _ACEOF
31495 if ac_fn_cxx_try_compile "$LINENO"; then :
31496 glibcxx_cv_func_frexpf_use=yes
31497 else
31498 glibcxx_cv_func_frexpf_use=no
31500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31501 ac_ext=c
31502 ac_cpp='$CPP $CPPFLAGS'
31503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
31512 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
31514 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
31515 for ac_func in frexpf
31516 do :
31517 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
31518 if test "x$ac_cv_func_frexpf" = xyes; then :
31519 cat >>confdefs.h <<_ACEOF
31520 #define HAVE_FREXPF 1
31521 _ACEOF
31524 done
31526 else
31528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
31529 $as_echo_n "checking for _frexpf declaration... " >&6; }
31530 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
31531 if ${glibcxx_cv_func__frexpf_use+:} false; then :
31532 $as_echo_n "(cached) " >&6
31533 else
31536 ac_ext=cpp
31537 ac_cpp='$CXXCPP $CPPFLAGS'
31538 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31539 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31540 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31543 /* end confdefs.h. */
31544 #include <math.h>
31546 main ()
31548 _frexpf(0, 0);
31550 return 0;
31552 _ACEOF
31553 if ac_fn_cxx_try_compile "$LINENO"; then :
31554 glibcxx_cv_func__frexpf_use=yes
31555 else
31556 glibcxx_cv_func__frexpf_use=no
31558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31559 ac_ext=c
31560 ac_cpp='$CPP $CPPFLAGS'
31561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
31570 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
31572 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
31573 for ac_func in _frexpf
31574 do :
31575 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
31576 if test "x$ac_cv_func__frexpf" = xyes; then :
31577 cat >>confdefs.h <<_ACEOF
31578 #define HAVE__FREXPF 1
31579 _ACEOF
31582 done
31591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
31592 $as_echo_n "checking for hypotf declaration... " >&6; }
31593 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
31594 if ${glibcxx_cv_func_hypotf_use+:} false; then :
31595 $as_echo_n "(cached) " >&6
31596 else
31599 ac_ext=cpp
31600 ac_cpp='$CXXCPP $CPPFLAGS'
31601 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31602 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31603 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31606 /* end confdefs.h. */
31607 #include <math.h>
31609 main ()
31611 hypotf(0, 0);
31613 return 0;
31615 _ACEOF
31616 if ac_fn_cxx_try_compile "$LINENO"; then :
31617 glibcxx_cv_func_hypotf_use=yes
31618 else
31619 glibcxx_cv_func_hypotf_use=no
31621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31622 ac_ext=c
31623 ac_cpp='$CPP $CPPFLAGS'
31624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
31633 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
31635 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
31636 for ac_func in hypotf
31637 do :
31638 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
31639 if test "x$ac_cv_func_hypotf" = xyes; then :
31640 cat >>confdefs.h <<_ACEOF
31641 #define HAVE_HYPOTF 1
31642 _ACEOF
31645 done
31647 else
31649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
31650 $as_echo_n "checking for _hypotf declaration... " >&6; }
31651 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
31652 if ${glibcxx_cv_func__hypotf_use+:} false; then :
31653 $as_echo_n "(cached) " >&6
31654 else
31657 ac_ext=cpp
31658 ac_cpp='$CXXCPP $CPPFLAGS'
31659 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31660 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31661 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31664 /* end confdefs.h. */
31665 #include <math.h>
31667 main ()
31669 _hypotf(0, 0);
31671 return 0;
31673 _ACEOF
31674 if ac_fn_cxx_try_compile "$LINENO"; then :
31675 glibcxx_cv_func__hypotf_use=yes
31676 else
31677 glibcxx_cv_func__hypotf_use=no
31679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31680 ac_ext=c
31681 ac_cpp='$CPP $CPPFLAGS'
31682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
31691 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
31693 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
31694 for ac_func in _hypotf
31695 do :
31696 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
31697 if test "x$ac_cv_func__hypotf" = xyes; then :
31698 cat >>confdefs.h <<_ACEOF
31699 #define HAVE__HYPOTF 1
31700 _ACEOF
31703 done
31712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
31713 $as_echo_n "checking for ldexpf declaration... " >&6; }
31714 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
31715 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
31716 $as_echo_n "(cached) " >&6
31717 else
31720 ac_ext=cpp
31721 ac_cpp='$CXXCPP $CPPFLAGS'
31722 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31723 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31724 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31727 /* end confdefs.h. */
31728 #include <math.h>
31730 main ()
31732 ldexpf(0, 0);
31734 return 0;
31736 _ACEOF
31737 if ac_fn_cxx_try_compile "$LINENO"; then :
31738 glibcxx_cv_func_ldexpf_use=yes
31739 else
31740 glibcxx_cv_func_ldexpf_use=no
31742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31743 ac_ext=c
31744 ac_cpp='$CPP $CPPFLAGS'
31745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
31754 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
31756 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
31757 for ac_func in ldexpf
31758 do :
31759 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
31760 if test "x$ac_cv_func_ldexpf" = xyes; then :
31761 cat >>confdefs.h <<_ACEOF
31762 #define HAVE_LDEXPF 1
31763 _ACEOF
31766 done
31768 else
31770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
31771 $as_echo_n "checking for _ldexpf declaration... " >&6; }
31772 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
31773 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
31774 $as_echo_n "(cached) " >&6
31775 else
31778 ac_ext=cpp
31779 ac_cpp='$CXXCPP $CPPFLAGS'
31780 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31785 /* end confdefs.h. */
31786 #include <math.h>
31788 main ()
31790 _ldexpf(0, 0);
31792 return 0;
31794 _ACEOF
31795 if ac_fn_cxx_try_compile "$LINENO"; then :
31796 glibcxx_cv_func__ldexpf_use=yes
31797 else
31798 glibcxx_cv_func__ldexpf_use=no
31800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31801 ac_ext=c
31802 ac_cpp='$CPP $CPPFLAGS'
31803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
31812 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
31814 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
31815 for ac_func in _ldexpf
31816 do :
31817 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
31818 if test "x$ac_cv_func__ldexpf" = xyes; then :
31819 cat >>confdefs.h <<_ACEOF
31820 #define HAVE__LDEXPF 1
31821 _ACEOF
31824 done
31833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
31834 $as_echo_n "checking for logf declaration... " >&6; }
31835 if test x${glibcxx_cv_func_logf_use+set} != xset; then
31836 if ${glibcxx_cv_func_logf_use+:} false; then :
31837 $as_echo_n "(cached) " >&6
31838 else
31841 ac_ext=cpp
31842 ac_cpp='$CXXCPP $CPPFLAGS'
31843 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31844 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31845 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31848 /* end confdefs.h. */
31849 #include <math.h>
31850 #ifdef HAVE_IEEEFP_H
31851 #include <ieeefp.h>
31852 #endif
31855 main ()
31857 logf(0);
31859 return 0;
31861 _ACEOF
31862 if ac_fn_cxx_try_compile "$LINENO"; then :
31863 glibcxx_cv_func_logf_use=yes
31864 else
31865 glibcxx_cv_func_logf_use=no
31867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31868 ac_ext=c
31869 ac_cpp='$CPP $CPPFLAGS'
31870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
31879 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
31881 if test x$glibcxx_cv_func_logf_use = x"yes"; then
31882 for ac_func in logf
31883 do :
31884 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
31885 if test "x$ac_cv_func_logf" = xyes; then :
31886 cat >>confdefs.h <<_ACEOF
31887 #define HAVE_LOGF 1
31888 _ACEOF
31891 done
31893 else
31895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
31896 $as_echo_n "checking for _logf declaration... " >&6; }
31897 if test x${glibcxx_cv_func__logf_use+set} != xset; then
31898 if ${glibcxx_cv_func__logf_use+:} false; then :
31899 $as_echo_n "(cached) " >&6
31900 else
31903 ac_ext=cpp
31904 ac_cpp='$CXXCPP $CPPFLAGS'
31905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31910 /* end confdefs.h. */
31911 #include <math.h>
31912 #ifdef HAVE_IEEEFP_H
31913 #include <ieeefp.h>
31914 #endif
31917 main ()
31919 _logf(0);
31921 return 0;
31923 _ACEOF
31924 if ac_fn_cxx_try_compile "$LINENO"; then :
31925 glibcxx_cv_func__logf_use=yes
31926 else
31927 glibcxx_cv_func__logf_use=no
31929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31930 ac_ext=c
31931 ac_cpp='$CPP $CPPFLAGS'
31932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
31941 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
31943 if test x$glibcxx_cv_func__logf_use = x"yes"; then
31944 for ac_func in _logf
31945 do :
31946 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
31947 if test "x$ac_cv_func__logf" = xyes; then :
31948 cat >>confdefs.h <<_ACEOF
31949 #define HAVE__LOGF 1
31950 _ACEOF
31953 done
31962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
31963 $as_echo_n "checking for log10f declaration... " >&6; }
31964 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
31965 if ${glibcxx_cv_func_log10f_use+:} false; then :
31966 $as_echo_n "(cached) " >&6
31967 else
31970 ac_ext=cpp
31971 ac_cpp='$CXXCPP $CPPFLAGS'
31972 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31973 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31974 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31977 /* end confdefs.h. */
31978 #include <math.h>
31979 #ifdef HAVE_IEEEFP_H
31980 #include <ieeefp.h>
31981 #endif
31984 main ()
31986 log10f(0);
31988 return 0;
31990 _ACEOF
31991 if ac_fn_cxx_try_compile "$LINENO"; then :
31992 glibcxx_cv_func_log10f_use=yes
31993 else
31994 glibcxx_cv_func_log10f_use=no
31996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31997 ac_ext=c
31998 ac_cpp='$CPP $CPPFLAGS'
31999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
32008 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
32010 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
32011 for ac_func in log10f
32012 do :
32013 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
32014 if test "x$ac_cv_func_log10f" = xyes; then :
32015 cat >>confdefs.h <<_ACEOF
32016 #define HAVE_LOG10F 1
32017 _ACEOF
32020 done
32022 else
32024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
32025 $as_echo_n "checking for _log10f declaration... " >&6; }
32026 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
32027 if ${glibcxx_cv_func__log10f_use+:} false; then :
32028 $as_echo_n "(cached) " >&6
32029 else
32032 ac_ext=cpp
32033 ac_cpp='$CXXCPP $CPPFLAGS'
32034 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32035 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32036 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32039 /* end confdefs.h. */
32040 #include <math.h>
32041 #ifdef HAVE_IEEEFP_H
32042 #include <ieeefp.h>
32043 #endif
32046 main ()
32048 _log10f(0);
32050 return 0;
32052 _ACEOF
32053 if ac_fn_cxx_try_compile "$LINENO"; then :
32054 glibcxx_cv_func__log10f_use=yes
32055 else
32056 glibcxx_cv_func__log10f_use=no
32058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32059 ac_ext=c
32060 ac_cpp='$CPP $CPPFLAGS'
32061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
32070 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
32072 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
32073 for ac_func in _log10f
32074 do :
32075 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
32076 if test "x$ac_cv_func__log10f" = xyes; then :
32077 cat >>confdefs.h <<_ACEOF
32078 #define HAVE__LOG10F 1
32079 _ACEOF
32082 done
32091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
32092 $as_echo_n "checking for modff declaration... " >&6; }
32093 if test x${glibcxx_cv_func_modff_use+set} != xset; then
32094 if ${glibcxx_cv_func_modff_use+:} false; then :
32095 $as_echo_n "(cached) " >&6
32096 else
32099 ac_ext=cpp
32100 ac_cpp='$CXXCPP $CPPFLAGS'
32101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32106 /* end confdefs.h. */
32107 #include <math.h>
32109 main ()
32111 modff(0, 0);
32113 return 0;
32115 _ACEOF
32116 if ac_fn_cxx_try_compile "$LINENO"; then :
32117 glibcxx_cv_func_modff_use=yes
32118 else
32119 glibcxx_cv_func_modff_use=no
32121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32122 ac_ext=c
32123 ac_cpp='$CPP $CPPFLAGS'
32124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
32133 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
32135 if test x$glibcxx_cv_func_modff_use = x"yes"; then
32136 for ac_func in modff
32137 do :
32138 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
32139 if test "x$ac_cv_func_modff" = xyes; then :
32140 cat >>confdefs.h <<_ACEOF
32141 #define HAVE_MODFF 1
32142 _ACEOF
32145 done
32147 else
32149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
32150 $as_echo_n "checking for _modff declaration... " >&6; }
32151 if test x${glibcxx_cv_func__modff_use+set} != xset; then
32152 if ${glibcxx_cv_func__modff_use+:} false; then :
32153 $as_echo_n "(cached) " >&6
32154 else
32157 ac_ext=cpp
32158 ac_cpp='$CXXCPP $CPPFLAGS'
32159 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32160 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32161 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32164 /* end confdefs.h. */
32165 #include <math.h>
32167 main ()
32169 _modff(0, 0);
32171 return 0;
32173 _ACEOF
32174 if ac_fn_cxx_try_compile "$LINENO"; then :
32175 glibcxx_cv_func__modff_use=yes
32176 else
32177 glibcxx_cv_func__modff_use=no
32179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32180 ac_ext=c
32181 ac_cpp='$CPP $CPPFLAGS'
32182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
32191 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
32193 if test x$glibcxx_cv_func__modff_use = x"yes"; then
32194 for ac_func in _modff
32195 do :
32196 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
32197 if test "x$ac_cv_func__modff" = xyes; then :
32198 cat >>confdefs.h <<_ACEOF
32199 #define HAVE__MODFF 1
32200 _ACEOF
32203 done
32212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
32213 $as_echo_n "checking for modf declaration... " >&6; }
32214 if test x${glibcxx_cv_func_modf_use+set} != xset; then
32215 if ${glibcxx_cv_func_modf_use+:} false; then :
32216 $as_echo_n "(cached) " >&6
32217 else
32220 ac_ext=cpp
32221 ac_cpp='$CXXCPP $CPPFLAGS'
32222 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32223 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32224 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32227 /* end confdefs.h. */
32228 #include <math.h>
32230 main ()
32232 modf(0, 0);
32234 return 0;
32236 _ACEOF
32237 if ac_fn_cxx_try_compile "$LINENO"; then :
32238 glibcxx_cv_func_modf_use=yes
32239 else
32240 glibcxx_cv_func_modf_use=no
32242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32243 ac_ext=c
32244 ac_cpp='$CPP $CPPFLAGS'
32245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
32254 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
32256 if test x$glibcxx_cv_func_modf_use = x"yes"; then
32257 for ac_func in modf
32258 do :
32259 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
32260 if test "x$ac_cv_func_modf" = xyes; then :
32261 cat >>confdefs.h <<_ACEOF
32262 #define HAVE_MODF 1
32263 _ACEOF
32266 done
32268 else
32270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
32271 $as_echo_n "checking for _modf declaration... " >&6; }
32272 if test x${glibcxx_cv_func__modf_use+set} != xset; then
32273 if ${glibcxx_cv_func__modf_use+:} false; then :
32274 $as_echo_n "(cached) " >&6
32275 else
32278 ac_ext=cpp
32279 ac_cpp='$CXXCPP $CPPFLAGS'
32280 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32281 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32282 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32285 /* end confdefs.h. */
32286 #include <math.h>
32288 main ()
32290 _modf(0, 0);
32292 return 0;
32294 _ACEOF
32295 if ac_fn_cxx_try_compile "$LINENO"; then :
32296 glibcxx_cv_func__modf_use=yes
32297 else
32298 glibcxx_cv_func__modf_use=no
32300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32301 ac_ext=c
32302 ac_cpp='$CPP $CPPFLAGS'
32303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
32312 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
32314 if test x$glibcxx_cv_func__modf_use = x"yes"; then
32315 for ac_func in _modf
32316 do :
32317 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
32318 if test "x$ac_cv_func__modf" = xyes; then :
32319 cat >>confdefs.h <<_ACEOF
32320 #define HAVE__MODF 1
32321 _ACEOF
32324 done
32333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
32334 $as_echo_n "checking for powf declaration... " >&6; }
32335 if test x${glibcxx_cv_func_powf_use+set} != xset; then
32336 if ${glibcxx_cv_func_powf_use+:} false; then :
32337 $as_echo_n "(cached) " >&6
32338 else
32341 ac_ext=cpp
32342 ac_cpp='$CXXCPP $CPPFLAGS'
32343 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32344 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32345 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32348 /* end confdefs.h. */
32349 #include <math.h>
32351 main ()
32353 powf(0, 0);
32355 return 0;
32357 _ACEOF
32358 if ac_fn_cxx_try_compile "$LINENO"; then :
32359 glibcxx_cv_func_powf_use=yes
32360 else
32361 glibcxx_cv_func_powf_use=no
32363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32364 ac_ext=c
32365 ac_cpp='$CPP $CPPFLAGS'
32366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
32375 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
32377 if test x$glibcxx_cv_func_powf_use = x"yes"; then
32378 for ac_func in powf
32379 do :
32380 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
32381 if test "x$ac_cv_func_powf" = xyes; then :
32382 cat >>confdefs.h <<_ACEOF
32383 #define HAVE_POWF 1
32384 _ACEOF
32387 done
32389 else
32391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
32392 $as_echo_n "checking for _powf declaration... " >&6; }
32393 if test x${glibcxx_cv_func__powf_use+set} != xset; then
32394 if ${glibcxx_cv_func__powf_use+:} false; then :
32395 $as_echo_n "(cached) " >&6
32396 else
32399 ac_ext=cpp
32400 ac_cpp='$CXXCPP $CPPFLAGS'
32401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32402 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32406 /* end confdefs.h. */
32407 #include <math.h>
32409 main ()
32411 _powf(0, 0);
32413 return 0;
32415 _ACEOF
32416 if ac_fn_cxx_try_compile "$LINENO"; then :
32417 glibcxx_cv_func__powf_use=yes
32418 else
32419 glibcxx_cv_func__powf_use=no
32421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32422 ac_ext=c
32423 ac_cpp='$CPP $CPPFLAGS'
32424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
32433 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
32435 if test x$glibcxx_cv_func__powf_use = x"yes"; then
32436 for ac_func in _powf
32437 do :
32438 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
32439 if test "x$ac_cv_func__powf" = xyes; then :
32440 cat >>confdefs.h <<_ACEOF
32441 #define HAVE__POWF 1
32442 _ACEOF
32445 done
32454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
32455 $as_echo_n "checking for sqrtf declaration... " >&6; }
32456 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
32457 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
32458 $as_echo_n "(cached) " >&6
32459 else
32462 ac_ext=cpp
32463 ac_cpp='$CXXCPP $CPPFLAGS'
32464 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32465 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32466 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32469 /* end confdefs.h. */
32470 #include <math.h>
32471 #ifdef HAVE_IEEEFP_H
32472 #include <ieeefp.h>
32473 #endif
32476 main ()
32478 sqrtf(0);
32480 return 0;
32482 _ACEOF
32483 if ac_fn_cxx_try_compile "$LINENO"; then :
32484 glibcxx_cv_func_sqrtf_use=yes
32485 else
32486 glibcxx_cv_func_sqrtf_use=no
32488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32489 ac_ext=c
32490 ac_cpp='$CPP $CPPFLAGS'
32491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
32500 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
32502 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
32503 for ac_func in sqrtf
32504 do :
32505 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
32506 if test "x$ac_cv_func_sqrtf" = xyes; then :
32507 cat >>confdefs.h <<_ACEOF
32508 #define HAVE_SQRTF 1
32509 _ACEOF
32512 done
32514 else
32516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
32517 $as_echo_n "checking for _sqrtf declaration... " >&6; }
32518 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
32519 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
32520 $as_echo_n "(cached) " >&6
32521 else
32524 ac_ext=cpp
32525 ac_cpp='$CXXCPP $CPPFLAGS'
32526 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32527 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32528 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32531 /* end confdefs.h. */
32532 #include <math.h>
32533 #ifdef HAVE_IEEEFP_H
32534 #include <ieeefp.h>
32535 #endif
32538 main ()
32540 _sqrtf(0);
32542 return 0;
32544 _ACEOF
32545 if ac_fn_cxx_try_compile "$LINENO"; then :
32546 glibcxx_cv_func__sqrtf_use=yes
32547 else
32548 glibcxx_cv_func__sqrtf_use=no
32550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32551 ac_ext=c
32552 ac_cpp='$CPP $CPPFLAGS'
32553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
32562 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
32564 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
32565 for ac_func in _sqrtf
32566 do :
32567 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
32568 if test "x$ac_cv_func__sqrtf" = xyes; then :
32569 cat >>confdefs.h <<_ACEOF
32570 #define HAVE__SQRTF 1
32571 _ACEOF
32574 done
32583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
32584 $as_echo_n "checking for sincosf declaration... " >&6; }
32585 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
32586 if ${glibcxx_cv_func_sincosf_use+:} false; then :
32587 $as_echo_n "(cached) " >&6
32588 else
32591 ac_ext=cpp
32592 ac_cpp='$CXXCPP $CPPFLAGS'
32593 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32594 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32595 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32598 /* end confdefs.h. */
32599 #include <math.h>
32601 main ()
32603 sincosf(0, 0, 0);
32605 return 0;
32607 _ACEOF
32608 if ac_fn_cxx_try_compile "$LINENO"; then :
32609 glibcxx_cv_func_sincosf_use=yes
32610 else
32611 glibcxx_cv_func_sincosf_use=no
32613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32614 ac_ext=c
32615 ac_cpp='$CPP $CPPFLAGS'
32616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
32625 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
32627 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
32628 for ac_func in sincosf
32629 do :
32630 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
32631 if test "x$ac_cv_func_sincosf" = xyes; then :
32632 cat >>confdefs.h <<_ACEOF
32633 #define HAVE_SINCOSF 1
32634 _ACEOF
32637 done
32639 else
32641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
32642 $as_echo_n "checking for _sincosf declaration... " >&6; }
32643 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
32644 if ${glibcxx_cv_func__sincosf_use+:} false; then :
32645 $as_echo_n "(cached) " >&6
32646 else
32649 ac_ext=cpp
32650 ac_cpp='$CXXCPP $CPPFLAGS'
32651 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32652 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32653 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32656 /* end confdefs.h. */
32657 #include <math.h>
32659 main ()
32661 _sincosf(0, 0, 0);
32663 return 0;
32665 _ACEOF
32666 if ac_fn_cxx_try_compile "$LINENO"; then :
32667 glibcxx_cv_func__sincosf_use=yes
32668 else
32669 glibcxx_cv_func__sincosf_use=no
32671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32672 ac_ext=c
32673 ac_cpp='$CPP $CPPFLAGS'
32674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
32683 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
32685 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
32686 for ac_func in _sincosf
32687 do :
32688 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
32689 if test "x$ac_cv_func__sincosf" = xyes; then :
32690 cat >>confdefs.h <<_ACEOF
32691 #define HAVE__SINCOSF 1
32692 _ACEOF
32695 done
32704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
32705 $as_echo_n "checking for finitef declaration... " >&6; }
32706 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
32707 if ${glibcxx_cv_func_finitef_use+:} false; then :
32708 $as_echo_n "(cached) " >&6
32709 else
32712 ac_ext=cpp
32713 ac_cpp='$CXXCPP $CPPFLAGS'
32714 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32715 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32716 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32719 /* end confdefs.h. */
32720 #include <math.h>
32721 #ifdef HAVE_IEEEFP_H
32722 #include <ieeefp.h>
32723 #endif
32726 main ()
32728 finitef(0);
32730 return 0;
32732 _ACEOF
32733 if ac_fn_cxx_try_compile "$LINENO"; then :
32734 glibcxx_cv_func_finitef_use=yes
32735 else
32736 glibcxx_cv_func_finitef_use=no
32738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32739 ac_ext=c
32740 ac_cpp='$CPP $CPPFLAGS'
32741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
32750 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
32752 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
32753 for ac_func in finitef
32754 do :
32755 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
32756 if test "x$ac_cv_func_finitef" = xyes; then :
32757 cat >>confdefs.h <<_ACEOF
32758 #define HAVE_FINITEF 1
32759 _ACEOF
32762 done
32764 else
32766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
32767 $as_echo_n "checking for _finitef declaration... " >&6; }
32768 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
32769 if ${glibcxx_cv_func__finitef_use+:} false; then :
32770 $as_echo_n "(cached) " >&6
32771 else
32774 ac_ext=cpp
32775 ac_cpp='$CXXCPP $CPPFLAGS'
32776 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32777 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32778 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32781 /* end confdefs.h. */
32782 #include <math.h>
32783 #ifdef HAVE_IEEEFP_H
32784 #include <ieeefp.h>
32785 #endif
32788 main ()
32790 _finitef(0);
32792 return 0;
32794 _ACEOF
32795 if ac_fn_cxx_try_compile "$LINENO"; then :
32796 glibcxx_cv_func__finitef_use=yes
32797 else
32798 glibcxx_cv_func__finitef_use=no
32800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32801 ac_ext=c
32802 ac_cpp='$CPP $CPPFLAGS'
32803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
32812 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
32814 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
32815 for ac_func in _finitef
32816 do :
32817 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
32818 if test "x$ac_cv_func__finitef" = xyes; then :
32819 cat >>confdefs.h <<_ACEOF
32820 #define HAVE__FINITEF 1
32821 _ACEOF
32824 done
32833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
32834 $as_echo_n "checking for long double trig functions... " >&6; }
32835 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
32836 $as_echo_n "(cached) " >&6
32837 else
32840 ac_ext=cpp
32841 ac_cpp='$CXXCPP $CPPFLAGS'
32842 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32843 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32844 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32847 /* end confdefs.h. */
32848 #include <math.h>
32850 main ()
32852 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
32854 return 0;
32856 _ACEOF
32857 if ac_fn_cxx_try_compile "$LINENO"; then :
32858 glibcxx_cv_func_long_double_trig_use=yes
32859 else
32860 glibcxx_cv_func_long_double_trig_use=no
32862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32863 ac_ext=c
32864 ac_cpp='$CPP $CPPFLAGS'
32865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
32872 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
32873 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
32874 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
32875 do :
32876 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32877 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32878 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
32879 cat >>confdefs.h <<_ACEOF
32880 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32881 _ACEOF
32884 done
32886 else
32887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
32888 $as_echo_n "checking for _long double trig functions... " >&6; }
32889 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
32890 $as_echo_n "(cached) " >&6
32891 else
32894 ac_ext=cpp
32895 ac_cpp='$CXXCPP $CPPFLAGS'
32896 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32897 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32898 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32901 /* end confdefs.h. */
32902 #include <math.h>
32904 main ()
32906 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
32908 return 0;
32910 _ACEOF
32911 if ac_fn_cxx_try_compile "$LINENO"; then :
32912 glibcxx_cv_func__long_double_trig_use=yes
32913 else
32914 glibcxx_cv_func__long_double_trig_use=no
32916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32917 ac_ext=c
32918 ac_cpp='$CPP $CPPFLAGS'
32919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
32926 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
32927 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
32928 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
32929 do :
32930 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32931 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32932 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
32933 cat >>confdefs.h <<_ACEOF
32934 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32935 _ACEOF
32938 done
32947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
32948 $as_echo_n "checking for long double round functions... " >&6; }
32949 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
32950 $as_echo_n "(cached) " >&6
32951 else
32954 ac_ext=cpp
32955 ac_cpp='$CXXCPP $CPPFLAGS'
32956 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32957 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32958 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32961 /* end confdefs.h. */
32962 #include <math.h>
32964 main ()
32966 ceill (0); floorl (0);
32968 return 0;
32970 _ACEOF
32971 if ac_fn_cxx_try_compile "$LINENO"; then :
32972 glibcxx_cv_func_long_double_round_use=yes
32973 else
32974 glibcxx_cv_func_long_double_round_use=no
32976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32977 ac_ext=c
32978 ac_cpp='$CPP $CPPFLAGS'
32979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
32986 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
32987 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
32988 for ac_func in ceill floorl
32989 do :
32990 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32991 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32992 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
32993 cat >>confdefs.h <<_ACEOF
32994 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32995 _ACEOF
32998 done
33000 else
33001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
33002 $as_echo_n "checking for _long double round functions... " >&6; }
33003 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
33004 $as_echo_n "(cached) " >&6
33005 else
33008 ac_ext=cpp
33009 ac_cpp='$CXXCPP $CPPFLAGS'
33010 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33011 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33012 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33015 /* end confdefs.h. */
33016 #include <math.h>
33018 main ()
33020 _ceill (0); _floorl (0);
33022 return 0;
33024 _ACEOF
33025 if ac_fn_cxx_try_compile "$LINENO"; then :
33026 glibcxx_cv_func__long_double_round_use=yes
33027 else
33028 glibcxx_cv_func__long_double_round_use=no
33030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33031 ac_ext=c
33032 ac_cpp='$CPP $CPPFLAGS'
33033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
33040 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
33041 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
33042 for ac_func in _ceill _floorl
33043 do :
33044 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33045 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33046 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
33047 cat >>confdefs.h <<_ACEOF
33048 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33049 _ACEOF
33052 done
33062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
33063 $as_echo_n "checking for isnanl declaration... " >&6; }
33064 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
33065 if ${glibcxx_cv_func_isnanl_use+:} false; then :
33066 $as_echo_n "(cached) " >&6
33067 else
33070 ac_ext=cpp
33071 ac_cpp='$CXXCPP $CPPFLAGS'
33072 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33073 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33074 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33077 /* end confdefs.h. */
33078 #include <math.h>
33079 #ifdef HAVE_IEEEFP_H
33080 #include <ieeefp.h>
33081 #endif
33084 main ()
33086 isnanl(0);
33088 return 0;
33090 _ACEOF
33091 if ac_fn_cxx_try_compile "$LINENO"; then :
33092 glibcxx_cv_func_isnanl_use=yes
33093 else
33094 glibcxx_cv_func_isnanl_use=no
33096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33097 ac_ext=c
33098 ac_cpp='$CPP $CPPFLAGS'
33099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
33108 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
33110 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
33111 for ac_func in isnanl
33112 do :
33113 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
33114 if test "x$ac_cv_func_isnanl" = xyes; then :
33115 cat >>confdefs.h <<_ACEOF
33116 #define HAVE_ISNANL 1
33117 _ACEOF
33120 done
33122 else
33124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
33125 $as_echo_n "checking for _isnanl declaration... " >&6; }
33126 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
33127 if ${glibcxx_cv_func__isnanl_use+:} false; then :
33128 $as_echo_n "(cached) " >&6
33129 else
33132 ac_ext=cpp
33133 ac_cpp='$CXXCPP $CPPFLAGS'
33134 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33135 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33136 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33139 /* end confdefs.h. */
33140 #include <math.h>
33141 #ifdef HAVE_IEEEFP_H
33142 #include <ieeefp.h>
33143 #endif
33146 main ()
33148 _isnanl(0);
33150 return 0;
33152 _ACEOF
33153 if ac_fn_cxx_try_compile "$LINENO"; then :
33154 glibcxx_cv_func__isnanl_use=yes
33155 else
33156 glibcxx_cv_func__isnanl_use=no
33158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33159 ac_ext=c
33160 ac_cpp='$CPP $CPPFLAGS'
33161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
33170 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
33172 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
33173 for ac_func in _isnanl
33174 do :
33175 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
33176 if test "x$ac_cv_func__isnanl" = xyes; then :
33177 cat >>confdefs.h <<_ACEOF
33178 #define HAVE__ISNANL 1
33179 _ACEOF
33182 done
33191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
33192 $as_echo_n "checking for isinfl declaration... " >&6; }
33193 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
33194 if ${glibcxx_cv_func_isinfl_use+:} false; then :
33195 $as_echo_n "(cached) " >&6
33196 else
33199 ac_ext=cpp
33200 ac_cpp='$CXXCPP $CPPFLAGS'
33201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33206 /* end confdefs.h. */
33207 #include <math.h>
33208 #ifdef HAVE_IEEEFP_H
33209 #include <ieeefp.h>
33210 #endif
33213 main ()
33215 isinfl(0);
33217 return 0;
33219 _ACEOF
33220 if ac_fn_cxx_try_compile "$LINENO"; then :
33221 glibcxx_cv_func_isinfl_use=yes
33222 else
33223 glibcxx_cv_func_isinfl_use=no
33225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33226 ac_ext=c
33227 ac_cpp='$CPP $CPPFLAGS'
33228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
33237 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
33239 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
33240 for ac_func in isinfl
33241 do :
33242 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
33243 if test "x$ac_cv_func_isinfl" = xyes; then :
33244 cat >>confdefs.h <<_ACEOF
33245 #define HAVE_ISINFL 1
33246 _ACEOF
33249 done
33251 else
33253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
33254 $as_echo_n "checking for _isinfl declaration... " >&6; }
33255 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
33256 if ${glibcxx_cv_func__isinfl_use+:} false; then :
33257 $as_echo_n "(cached) " >&6
33258 else
33261 ac_ext=cpp
33262 ac_cpp='$CXXCPP $CPPFLAGS'
33263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33268 /* end confdefs.h. */
33269 #include <math.h>
33270 #ifdef HAVE_IEEEFP_H
33271 #include <ieeefp.h>
33272 #endif
33275 main ()
33277 _isinfl(0);
33279 return 0;
33281 _ACEOF
33282 if ac_fn_cxx_try_compile "$LINENO"; then :
33283 glibcxx_cv_func__isinfl_use=yes
33284 else
33285 glibcxx_cv_func__isinfl_use=no
33287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33288 ac_ext=c
33289 ac_cpp='$CPP $CPPFLAGS'
33290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
33299 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
33301 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
33302 for ac_func in _isinfl
33303 do :
33304 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
33305 if test "x$ac_cv_func__isinfl" = xyes; then :
33306 cat >>confdefs.h <<_ACEOF
33307 #define HAVE__ISINFL 1
33308 _ACEOF
33311 done
33320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
33321 $as_echo_n "checking for atan2l declaration... " >&6; }
33322 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
33323 if ${glibcxx_cv_func_atan2l_use+:} false; then :
33324 $as_echo_n "(cached) " >&6
33325 else
33328 ac_ext=cpp
33329 ac_cpp='$CXXCPP $CPPFLAGS'
33330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33335 /* end confdefs.h. */
33336 #include <math.h>
33338 main ()
33340 atan2l(0, 0);
33342 return 0;
33344 _ACEOF
33345 if ac_fn_cxx_try_compile "$LINENO"; then :
33346 glibcxx_cv_func_atan2l_use=yes
33347 else
33348 glibcxx_cv_func_atan2l_use=no
33350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33351 ac_ext=c
33352 ac_cpp='$CPP $CPPFLAGS'
33353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
33362 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
33364 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
33365 for ac_func in atan2l
33366 do :
33367 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
33368 if test "x$ac_cv_func_atan2l" = xyes; then :
33369 cat >>confdefs.h <<_ACEOF
33370 #define HAVE_ATAN2L 1
33371 _ACEOF
33374 done
33376 else
33378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
33379 $as_echo_n "checking for _atan2l declaration... " >&6; }
33380 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
33381 if ${glibcxx_cv_func__atan2l_use+:} false; then :
33382 $as_echo_n "(cached) " >&6
33383 else
33386 ac_ext=cpp
33387 ac_cpp='$CXXCPP $CPPFLAGS'
33388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33393 /* end confdefs.h. */
33394 #include <math.h>
33396 main ()
33398 _atan2l(0, 0);
33400 return 0;
33402 _ACEOF
33403 if ac_fn_cxx_try_compile "$LINENO"; then :
33404 glibcxx_cv_func__atan2l_use=yes
33405 else
33406 glibcxx_cv_func__atan2l_use=no
33408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33409 ac_ext=c
33410 ac_cpp='$CPP $CPPFLAGS'
33411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
33420 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
33422 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
33423 for ac_func in _atan2l
33424 do :
33425 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
33426 if test "x$ac_cv_func__atan2l" = xyes; then :
33427 cat >>confdefs.h <<_ACEOF
33428 #define HAVE__ATAN2L 1
33429 _ACEOF
33432 done
33441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
33442 $as_echo_n "checking for expl declaration... " >&6; }
33443 if test x${glibcxx_cv_func_expl_use+set} != xset; then
33444 if ${glibcxx_cv_func_expl_use+:} false; then :
33445 $as_echo_n "(cached) " >&6
33446 else
33449 ac_ext=cpp
33450 ac_cpp='$CXXCPP $CPPFLAGS'
33451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33456 /* end confdefs.h. */
33457 #include <math.h>
33458 #ifdef HAVE_IEEEFP_H
33459 #include <ieeefp.h>
33460 #endif
33463 main ()
33465 expl(0);
33467 return 0;
33469 _ACEOF
33470 if ac_fn_cxx_try_compile "$LINENO"; then :
33471 glibcxx_cv_func_expl_use=yes
33472 else
33473 glibcxx_cv_func_expl_use=no
33475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33476 ac_ext=c
33477 ac_cpp='$CPP $CPPFLAGS'
33478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
33487 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
33489 if test x$glibcxx_cv_func_expl_use = x"yes"; then
33490 for ac_func in expl
33491 do :
33492 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
33493 if test "x$ac_cv_func_expl" = xyes; then :
33494 cat >>confdefs.h <<_ACEOF
33495 #define HAVE_EXPL 1
33496 _ACEOF
33499 done
33501 else
33503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
33504 $as_echo_n "checking for _expl declaration... " >&6; }
33505 if test x${glibcxx_cv_func__expl_use+set} != xset; then
33506 if ${glibcxx_cv_func__expl_use+:} false; then :
33507 $as_echo_n "(cached) " >&6
33508 else
33511 ac_ext=cpp
33512 ac_cpp='$CXXCPP $CPPFLAGS'
33513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33518 /* end confdefs.h. */
33519 #include <math.h>
33520 #ifdef HAVE_IEEEFP_H
33521 #include <ieeefp.h>
33522 #endif
33525 main ()
33527 _expl(0);
33529 return 0;
33531 _ACEOF
33532 if ac_fn_cxx_try_compile "$LINENO"; then :
33533 glibcxx_cv_func__expl_use=yes
33534 else
33535 glibcxx_cv_func__expl_use=no
33537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33538 ac_ext=c
33539 ac_cpp='$CPP $CPPFLAGS'
33540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
33549 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
33551 if test x$glibcxx_cv_func__expl_use = x"yes"; then
33552 for ac_func in _expl
33553 do :
33554 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
33555 if test "x$ac_cv_func__expl" = xyes; then :
33556 cat >>confdefs.h <<_ACEOF
33557 #define HAVE__EXPL 1
33558 _ACEOF
33561 done
33570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
33571 $as_echo_n "checking for fabsl declaration... " >&6; }
33572 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
33573 if ${glibcxx_cv_func_fabsl_use+:} false; then :
33574 $as_echo_n "(cached) " >&6
33575 else
33578 ac_ext=cpp
33579 ac_cpp='$CXXCPP $CPPFLAGS'
33580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33585 /* end confdefs.h. */
33586 #include <math.h>
33587 #ifdef HAVE_IEEEFP_H
33588 #include <ieeefp.h>
33589 #endif
33592 main ()
33594 fabsl(0);
33596 return 0;
33598 _ACEOF
33599 if ac_fn_cxx_try_compile "$LINENO"; then :
33600 glibcxx_cv_func_fabsl_use=yes
33601 else
33602 glibcxx_cv_func_fabsl_use=no
33604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33605 ac_ext=c
33606 ac_cpp='$CPP $CPPFLAGS'
33607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
33616 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
33618 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
33619 for ac_func in fabsl
33620 do :
33621 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
33622 if test "x$ac_cv_func_fabsl" = xyes; then :
33623 cat >>confdefs.h <<_ACEOF
33624 #define HAVE_FABSL 1
33625 _ACEOF
33628 done
33630 else
33632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
33633 $as_echo_n "checking for _fabsl declaration... " >&6; }
33634 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
33635 if ${glibcxx_cv_func__fabsl_use+:} false; then :
33636 $as_echo_n "(cached) " >&6
33637 else
33640 ac_ext=cpp
33641 ac_cpp='$CXXCPP $CPPFLAGS'
33642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33647 /* end confdefs.h. */
33648 #include <math.h>
33649 #ifdef HAVE_IEEEFP_H
33650 #include <ieeefp.h>
33651 #endif
33654 main ()
33656 _fabsl(0);
33658 return 0;
33660 _ACEOF
33661 if ac_fn_cxx_try_compile "$LINENO"; then :
33662 glibcxx_cv_func__fabsl_use=yes
33663 else
33664 glibcxx_cv_func__fabsl_use=no
33666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33667 ac_ext=c
33668 ac_cpp='$CPP $CPPFLAGS'
33669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
33678 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
33680 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
33681 for ac_func in _fabsl
33682 do :
33683 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
33684 if test "x$ac_cv_func__fabsl" = xyes; then :
33685 cat >>confdefs.h <<_ACEOF
33686 #define HAVE__FABSL 1
33687 _ACEOF
33690 done
33699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
33700 $as_echo_n "checking for fmodl declaration... " >&6; }
33701 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
33702 if ${glibcxx_cv_func_fmodl_use+:} false; then :
33703 $as_echo_n "(cached) " >&6
33704 else
33707 ac_ext=cpp
33708 ac_cpp='$CXXCPP $CPPFLAGS'
33709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33714 /* end confdefs.h. */
33715 #include <math.h>
33717 main ()
33719 fmodl(0, 0);
33721 return 0;
33723 _ACEOF
33724 if ac_fn_cxx_try_compile "$LINENO"; then :
33725 glibcxx_cv_func_fmodl_use=yes
33726 else
33727 glibcxx_cv_func_fmodl_use=no
33729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33730 ac_ext=c
33731 ac_cpp='$CPP $CPPFLAGS'
33732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
33741 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
33743 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
33744 for ac_func in fmodl
33745 do :
33746 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
33747 if test "x$ac_cv_func_fmodl" = xyes; then :
33748 cat >>confdefs.h <<_ACEOF
33749 #define HAVE_FMODL 1
33750 _ACEOF
33753 done
33755 else
33757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
33758 $as_echo_n "checking for _fmodl declaration... " >&6; }
33759 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
33760 if ${glibcxx_cv_func__fmodl_use+:} false; then :
33761 $as_echo_n "(cached) " >&6
33762 else
33765 ac_ext=cpp
33766 ac_cpp='$CXXCPP $CPPFLAGS'
33767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33768 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33772 /* end confdefs.h. */
33773 #include <math.h>
33775 main ()
33777 _fmodl(0, 0);
33779 return 0;
33781 _ACEOF
33782 if ac_fn_cxx_try_compile "$LINENO"; then :
33783 glibcxx_cv_func__fmodl_use=yes
33784 else
33785 glibcxx_cv_func__fmodl_use=no
33787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33788 ac_ext=c
33789 ac_cpp='$CPP $CPPFLAGS'
33790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
33799 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
33801 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
33802 for ac_func in _fmodl
33803 do :
33804 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
33805 if test "x$ac_cv_func__fmodl" = xyes; then :
33806 cat >>confdefs.h <<_ACEOF
33807 #define HAVE__FMODL 1
33808 _ACEOF
33811 done
33820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
33821 $as_echo_n "checking for frexpl declaration... " >&6; }
33822 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
33823 if ${glibcxx_cv_func_frexpl_use+:} false; then :
33824 $as_echo_n "(cached) " >&6
33825 else
33828 ac_ext=cpp
33829 ac_cpp='$CXXCPP $CPPFLAGS'
33830 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33831 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33832 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33835 /* end confdefs.h. */
33836 #include <math.h>
33838 main ()
33840 frexpl(0, 0);
33842 return 0;
33844 _ACEOF
33845 if ac_fn_cxx_try_compile "$LINENO"; then :
33846 glibcxx_cv_func_frexpl_use=yes
33847 else
33848 glibcxx_cv_func_frexpl_use=no
33850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33851 ac_ext=c
33852 ac_cpp='$CPP $CPPFLAGS'
33853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
33862 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
33864 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
33865 for ac_func in frexpl
33866 do :
33867 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
33868 if test "x$ac_cv_func_frexpl" = xyes; then :
33869 cat >>confdefs.h <<_ACEOF
33870 #define HAVE_FREXPL 1
33871 _ACEOF
33874 done
33876 else
33878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
33879 $as_echo_n "checking for _frexpl declaration... " >&6; }
33880 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
33881 if ${glibcxx_cv_func__frexpl_use+:} false; then :
33882 $as_echo_n "(cached) " >&6
33883 else
33886 ac_ext=cpp
33887 ac_cpp='$CXXCPP $CPPFLAGS'
33888 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33889 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33890 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33893 /* end confdefs.h. */
33894 #include <math.h>
33896 main ()
33898 _frexpl(0, 0);
33900 return 0;
33902 _ACEOF
33903 if ac_fn_cxx_try_compile "$LINENO"; then :
33904 glibcxx_cv_func__frexpl_use=yes
33905 else
33906 glibcxx_cv_func__frexpl_use=no
33908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33909 ac_ext=c
33910 ac_cpp='$CPP $CPPFLAGS'
33911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
33920 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
33922 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
33923 for ac_func in _frexpl
33924 do :
33925 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
33926 if test "x$ac_cv_func__frexpl" = xyes; then :
33927 cat >>confdefs.h <<_ACEOF
33928 #define HAVE__FREXPL 1
33929 _ACEOF
33932 done
33941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
33942 $as_echo_n "checking for hypotl declaration... " >&6; }
33943 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
33944 if ${glibcxx_cv_func_hypotl_use+:} false; then :
33945 $as_echo_n "(cached) " >&6
33946 else
33949 ac_ext=cpp
33950 ac_cpp='$CXXCPP $CPPFLAGS'
33951 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33952 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33953 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33956 /* end confdefs.h. */
33957 #include <math.h>
33959 main ()
33961 hypotl(0, 0);
33963 return 0;
33965 _ACEOF
33966 if ac_fn_cxx_try_compile "$LINENO"; then :
33967 glibcxx_cv_func_hypotl_use=yes
33968 else
33969 glibcxx_cv_func_hypotl_use=no
33971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33972 ac_ext=c
33973 ac_cpp='$CPP $CPPFLAGS'
33974 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33975 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33976 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
33983 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
33985 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
33986 for ac_func in hypotl
33987 do :
33988 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
33989 if test "x$ac_cv_func_hypotl" = xyes; then :
33990 cat >>confdefs.h <<_ACEOF
33991 #define HAVE_HYPOTL 1
33992 _ACEOF
33995 done
33997 else
33999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
34000 $as_echo_n "checking for _hypotl declaration... " >&6; }
34001 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
34002 if ${glibcxx_cv_func__hypotl_use+:} false; then :
34003 $as_echo_n "(cached) " >&6
34004 else
34007 ac_ext=cpp
34008 ac_cpp='$CXXCPP $CPPFLAGS'
34009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34014 /* end confdefs.h. */
34015 #include <math.h>
34017 main ()
34019 _hypotl(0, 0);
34021 return 0;
34023 _ACEOF
34024 if ac_fn_cxx_try_compile "$LINENO"; then :
34025 glibcxx_cv_func__hypotl_use=yes
34026 else
34027 glibcxx_cv_func__hypotl_use=no
34029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34030 ac_ext=c
34031 ac_cpp='$CPP $CPPFLAGS'
34032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
34041 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
34043 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
34044 for ac_func in _hypotl
34045 do :
34046 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
34047 if test "x$ac_cv_func__hypotl" = xyes; then :
34048 cat >>confdefs.h <<_ACEOF
34049 #define HAVE__HYPOTL 1
34050 _ACEOF
34053 done
34062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
34063 $as_echo_n "checking for ldexpl declaration... " >&6; }
34064 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
34065 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
34066 $as_echo_n "(cached) " >&6
34067 else
34070 ac_ext=cpp
34071 ac_cpp='$CXXCPP $CPPFLAGS'
34072 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34073 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34074 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34077 /* end confdefs.h. */
34078 #include <math.h>
34080 main ()
34082 ldexpl(0, 0);
34084 return 0;
34086 _ACEOF
34087 if ac_fn_cxx_try_compile "$LINENO"; then :
34088 glibcxx_cv_func_ldexpl_use=yes
34089 else
34090 glibcxx_cv_func_ldexpl_use=no
34092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34093 ac_ext=c
34094 ac_cpp='$CPP $CPPFLAGS'
34095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
34104 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
34106 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
34107 for ac_func in ldexpl
34108 do :
34109 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
34110 if test "x$ac_cv_func_ldexpl" = xyes; then :
34111 cat >>confdefs.h <<_ACEOF
34112 #define HAVE_LDEXPL 1
34113 _ACEOF
34116 done
34118 else
34120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
34121 $as_echo_n "checking for _ldexpl declaration... " >&6; }
34122 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
34123 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
34124 $as_echo_n "(cached) " >&6
34125 else
34128 ac_ext=cpp
34129 ac_cpp='$CXXCPP $CPPFLAGS'
34130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34135 /* end confdefs.h. */
34136 #include <math.h>
34138 main ()
34140 _ldexpl(0, 0);
34142 return 0;
34144 _ACEOF
34145 if ac_fn_cxx_try_compile "$LINENO"; then :
34146 glibcxx_cv_func__ldexpl_use=yes
34147 else
34148 glibcxx_cv_func__ldexpl_use=no
34150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34151 ac_ext=c
34152 ac_cpp='$CPP $CPPFLAGS'
34153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
34162 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
34164 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
34165 for ac_func in _ldexpl
34166 do :
34167 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
34168 if test "x$ac_cv_func__ldexpl" = xyes; then :
34169 cat >>confdefs.h <<_ACEOF
34170 #define HAVE__LDEXPL 1
34171 _ACEOF
34174 done
34183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
34184 $as_echo_n "checking for logl declaration... " >&6; }
34185 if test x${glibcxx_cv_func_logl_use+set} != xset; then
34186 if ${glibcxx_cv_func_logl_use+:} false; then :
34187 $as_echo_n "(cached) " >&6
34188 else
34191 ac_ext=cpp
34192 ac_cpp='$CXXCPP $CPPFLAGS'
34193 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34194 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34195 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34198 /* end confdefs.h. */
34199 #include <math.h>
34200 #ifdef HAVE_IEEEFP_H
34201 #include <ieeefp.h>
34202 #endif
34205 main ()
34207 logl(0);
34209 return 0;
34211 _ACEOF
34212 if ac_fn_cxx_try_compile "$LINENO"; then :
34213 glibcxx_cv_func_logl_use=yes
34214 else
34215 glibcxx_cv_func_logl_use=no
34217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34218 ac_ext=c
34219 ac_cpp='$CPP $CPPFLAGS'
34220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
34229 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
34231 if test x$glibcxx_cv_func_logl_use = x"yes"; then
34232 for ac_func in logl
34233 do :
34234 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
34235 if test "x$ac_cv_func_logl" = xyes; then :
34236 cat >>confdefs.h <<_ACEOF
34237 #define HAVE_LOGL 1
34238 _ACEOF
34241 done
34243 else
34245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
34246 $as_echo_n "checking for _logl declaration... " >&6; }
34247 if test x${glibcxx_cv_func__logl_use+set} != xset; then
34248 if ${glibcxx_cv_func__logl_use+:} false; then :
34249 $as_echo_n "(cached) " >&6
34250 else
34253 ac_ext=cpp
34254 ac_cpp='$CXXCPP $CPPFLAGS'
34255 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34256 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34257 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34260 /* end confdefs.h. */
34261 #include <math.h>
34262 #ifdef HAVE_IEEEFP_H
34263 #include <ieeefp.h>
34264 #endif
34267 main ()
34269 _logl(0);
34271 return 0;
34273 _ACEOF
34274 if ac_fn_cxx_try_compile "$LINENO"; then :
34275 glibcxx_cv_func__logl_use=yes
34276 else
34277 glibcxx_cv_func__logl_use=no
34279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34280 ac_ext=c
34281 ac_cpp='$CPP $CPPFLAGS'
34282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
34291 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
34293 if test x$glibcxx_cv_func__logl_use = x"yes"; then
34294 for ac_func in _logl
34295 do :
34296 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
34297 if test "x$ac_cv_func__logl" = xyes; then :
34298 cat >>confdefs.h <<_ACEOF
34299 #define HAVE__LOGL 1
34300 _ACEOF
34303 done
34312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
34313 $as_echo_n "checking for log10l declaration... " >&6; }
34314 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
34315 if ${glibcxx_cv_func_log10l_use+:} false; then :
34316 $as_echo_n "(cached) " >&6
34317 else
34320 ac_ext=cpp
34321 ac_cpp='$CXXCPP $CPPFLAGS'
34322 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34323 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34324 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34327 /* end confdefs.h. */
34328 #include <math.h>
34329 #ifdef HAVE_IEEEFP_H
34330 #include <ieeefp.h>
34331 #endif
34334 main ()
34336 log10l(0);
34338 return 0;
34340 _ACEOF
34341 if ac_fn_cxx_try_compile "$LINENO"; then :
34342 glibcxx_cv_func_log10l_use=yes
34343 else
34344 glibcxx_cv_func_log10l_use=no
34346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34347 ac_ext=c
34348 ac_cpp='$CPP $CPPFLAGS'
34349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
34358 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
34360 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
34361 for ac_func in log10l
34362 do :
34363 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
34364 if test "x$ac_cv_func_log10l" = xyes; then :
34365 cat >>confdefs.h <<_ACEOF
34366 #define HAVE_LOG10L 1
34367 _ACEOF
34370 done
34372 else
34374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
34375 $as_echo_n "checking for _log10l declaration... " >&6; }
34376 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
34377 if ${glibcxx_cv_func__log10l_use+:} false; then :
34378 $as_echo_n "(cached) " >&6
34379 else
34382 ac_ext=cpp
34383 ac_cpp='$CXXCPP $CPPFLAGS'
34384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34389 /* end confdefs.h. */
34390 #include <math.h>
34391 #ifdef HAVE_IEEEFP_H
34392 #include <ieeefp.h>
34393 #endif
34396 main ()
34398 _log10l(0);
34400 return 0;
34402 _ACEOF
34403 if ac_fn_cxx_try_compile "$LINENO"; then :
34404 glibcxx_cv_func__log10l_use=yes
34405 else
34406 glibcxx_cv_func__log10l_use=no
34408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34409 ac_ext=c
34410 ac_cpp='$CPP $CPPFLAGS'
34411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
34420 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
34422 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
34423 for ac_func in _log10l
34424 do :
34425 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
34426 if test "x$ac_cv_func__log10l" = xyes; then :
34427 cat >>confdefs.h <<_ACEOF
34428 #define HAVE__LOG10L 1
34429 _ACEOF
34432 done
34441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
34442 $as_echo_n "checking for modfl declaration... " >&6; }
34443 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
34444 if ${glibcxx_cv_func_modfl_use+:} false; then :
34445 $as_echo_n "(cached) " >&6
34446 else
34449 ac_ext=cpp
34450 ac_cpp='$CXXCPP $CPPFLAGS'
34451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34456 /* end confdefs.h. */
34457 #include <math.h>
34459 main ()
34461 modfl(0, 0);
34463 return 0;
34465 _ACEOF
34466 if ac_fn_cxx_try_compile "$LINENO"; then :
34467 glibcxx_cv_func_modfl_use=yes
34468 else
34469 glibcxx_cv_func_modfl_use=no
34471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34472 ac_ext=c
34473 ac_cpp='$CPP $CPPFLAGS'
34474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
34483 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
34485 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
34486 for ac_func in modfl
34487 do :
34488 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
34489 if test "x$ac_cv_func_modfl" = xyes; then :
34490 cat >>confdefs.h <<_ACEOF
34491 #define HAVE_MODFL 1
34492 _ACEOF
34495 done
34497 else
34499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
34500 $as_echo_n "checking for _modfl declaration... " >&6; }
34501 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
34502 if ${glibcxx_cv_func__modfl_use+:} false; then :
34503 $as_echo_n "(cached) " >&6
34504 else
34507 ac_ext=cpp
34508 ac_cpp='$CXXCPP $CPPFLAGS'
34509 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34510 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34511 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34514 /* end confdefs.h. */
34515 #include <math.h>
34517 main ()
34519 _modfl(0, 0);
34521 return 0;
34523 _ACEOF
34524 if ac_fn_cxx_try_compile "$LINENO"; then :
34525 glibcxx_cv_func__modfl_use=yes
34526 else
34527 glibcxx_cv_func__modfl_use=no
34529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34530 ac_ext=c
34531 ac_cpp='$CPP $CPPFLAGS'
34532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
34541 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
34543 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
34544 for ac_func in _modfl
34545 do :
34546 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
34547 if test "x$ac_cv_func__modfl" = xyes; then :
34548 cat >>confdefs.h <<_ACEOF
34549 #define HAVE__MODFL 1
34550 _ACEOF
34553 done
34562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
34563 $as_echo_n "checking for powl declaration... " >&6; }
34564 if test x${glibcxx_cv_func_powl_use+set} != xset; then
34565 if ${glibcxx_cv_func_powl_use+:} false; then :
34566 $as_echo_n "(cached) " >&6
34567 else
34570 ac_ext=cpp
34571 ac_cpp='$CXXCPP $CPPFLAGS'
34572 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34573 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34574 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34577 /* end confdefs.h. */
34578 #include <math.h>
34580 main ()
34582 powl(0, 0);
34584 return 0;
34586 _ACEOF
34587 if ac_fn_cxx_try_compile "$LINENO"; then :
34588 glibcxx_cv_func_powl_use=yes
34589 else
34590 glibcxx_cv_func_powl_use=no
34592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34593 ac_ext=c
34594 ac_cpp='$CPP $CPPFLAGS'
34595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
34604 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
34606 if test x$glibcxx_cv_func_powl_use = x"yes"; then
34607 for ac_func in powl
34608 do :
34609 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
34610 if test "x$ac_cv_func_powl" = xyes; then :
34611 cat >>confdefs.h <<_ACEOF
34612 #define HAVE_POWL 1
34613 _ACEOF
34616 done
34618 else
34620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
34621 $as_echo_n "checking for _powl declaration... " >&6; }
34622 if test x${glibcxx_cv_func__powl_use+set} != xset; then
34623 if ${glibcxx_cv_func__powl_use+:} false; then :
34624 $as_echo_n "(cached) " >&6
34625 else
34628 ac_ext=cpp
34629 ac_cpp='$CXXCPP $CPPFLAGS'
34630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34635 /* end confdefs.h. */
34636 #include <math.h>
34638 main ()
34640 _powl(0, 0);
34642 return 0;
34644 _ACEOF
34645 if ac_fn_cxx_try_compile "$LINENO"; then :
34646 glibcxx_cv_func__powl_use=yes
34647 else
34648 glibcxx_cv_func__powl_use=no
34650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34651 ac_ext=c
34652 ac_cpp='$CPP $CPPFLAGS'
34653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
34662 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
34664 if test x$glibcxx_cv_func__powl_use = x"yes"; then
34665 for ac_func in _powl
34666 do :
34667 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
34668 if test "x$ac_cv_func__powl" = xyes; then :
34669 cat >>confdefs.h <<_ACEOF
34670 #define HAVE__POWL 1
34671 _ACEOF
34674 done
34683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
34684 $as_echo_n "checking for sqrtl declaration... " >&6; }
34685 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
34686 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
34687 $as_echo_n "(cached) " >&6
34688 else
34691 ac_ext=cpp
34692 ac_cpp='$CXXCPP $CPPFLAGS'
34693 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34694 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34695 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34698 /* end confdefs.h. */
34699 #include <math.h>
34700 #ifdef HAVE_IEEEFP_H
34701 #include <ieeefp.h>
34702 #endif
34705 main ()
34707 sqrtl(0);
34709 return 0;
34711 _ACEOF
34712 if ac_fn_cxx_try_compile "$LINENO"; then :
34713 glibcxx_cv_func_sqrtl_use=yes
34714 else
34715 glibcxx_cv_func_sqrtl_use=no
34717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34718 ac_ext=c
34719 ac_cpp='$CPP $CPPFLAGS'
34720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
34729 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
34731 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
34732 for ac_func in sqrtl
34733 do :
34734 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
34735 if test "x$ac_cv_func_sqrtl" = xyes; then :
34736 cat >>confdefs.h <<_ACEOF
34737 #define HAVE_SQRTL 1
34738 _ACEOF
34741 done
34743 else
34745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
34746 $as_echo_n "checking for _sqrtl declaration... " >&6; }
34747 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
34748 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
34749 $as_echo_n "(cached) " >&6
34750 else
34753 ac_ext=cpp
34754 ac_cpp='$CXXCPP $CPPFLAGS'
34755 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34756 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34757 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34760 /* end confdefs.h. */
34761 #include <math.h>
34762 #ifdef HAVE_IEEEFP_H
34763 #include <ieeefp.h>
34764 #endif
34767 main ()
34769 _sqrtl(0);
34771 return 0;
34773 _ACEOF
34774 if ac_fn_cxx_try_compile "$LINENO"; then :
34775 glibcxx_cv_func__sqrtl_use=yes
34776 else
34777 glibcxx_cv_func__sqrtl_use=no
34779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34780 ac_ext=c
34781 ac_cpp='$CPP $CPPFLAGS'
34782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
34791 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
34793 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
34794 for ac_func in _sqrtl
34795 do :
34796 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
34797 if test "x$ac_cv_func__sqrtl" = xyes; then :
34798 cat >>confdefs.h <<_ACEOF
34799 #define HAVE__SQRTL 1
34800 _ACEOF
34803 done
34812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
34813 $as_echo_n "checking for sincosl declaration... " >&6; }
34814 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
34815 if ${glibcxx_cv_func_sincosl_use+:} false; then :
34816 $as_echo_n "(cached) " >&6
34817 else
34820 ac_ext=cpp
34821 ac_cpp='$CXXCPP $CPPFLAGS'
34822 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34823 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34824 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34827 /* end confdefs.h. */
34828 #include <math.h>
34830 main ()
34832 sincosl(0, 0, 0);
34834 return 0;
34836 _ACEOF
34837 if ac_fn_cxx_try_compile "$LINENO"; then :
34838 glibcxx_cv_func_sincosl_use=yes
34839 else
34840 glibcxx_cv_func_sincosl_use=no
34842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34843 ac_ext=c
34844 ac_cpp='$CPP $CPPFLAGS'
34845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
34854 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
34856 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
34857 for ac_func in sincosl
34858 do :
34859 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
34860 if test "x$ac_cv_func_sincosl" = xyes; then :
34861 cat >>confdefs.h <<_ACEOF
34862 #define HAVE_SINCOSL 1
34863 _ACEOF
34866 done
34868 else
34870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
34871 $as_echo_n "checking for _sincosl declaration... " >&6; }
34872 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
34873 if ${glibcxx_cv_func__sincosl_use+:} false; then :
34874 $as_echo_n "(cached) " >&6
34875 else
34878 ac_ext=cpp
34879 ac_cpp='$CXXCPP $CPPFLAGS'
34880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34885 /* end confdefs.h. */
34886 #include <math.h>
34888 main ()
34890 _sincosl(0, 0, 0);
34892 return 0;
34894 _ACEOF
34895 if ac_fn_cxx_try_compile "$LINENO"; then :
34896 glibcxx_cv_func__sincosl_use=yes
34897 else
34898 glibcxx_cv_func__sincosl_use=no
34900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34901 ac_ext=c
34902 ac_cpp='$CPP $CPPFLAGS'
34903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
34912 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
34914 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
34915 for ac_func in _sincosl
34916 do :
34917 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
34918 if test "x$ac_cv_func__sincosl" = xyes; then :
34919 cat >>confdefs.h <<_ACEOF
34920 #define HAVE__SINCOSL 1
34921 _ACEOF
34924 done
34933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
34934 $as_echo_n "checking for finitel declaration... " >&6; }
34935 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
34936 if ${glibcxx_cv_func_finitel_use+:} false; then :
34937 $as_echo_n "(cached) " >&6
34938 else
34941 ac_ext=cpp
34942 ac_cpp='$CXXCPP $CPPFLAGS'
34943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34948 /* end confdefs.h. */
34949 #include <math.h>
34950 #ifdef HAVE_IEEEFP_H
34951 #include <ieeefp.h>
34952 #endif
34955 main ()
34957 finitel(0);
34959 return 0;
34961 _ACEOF
34962 if ac_fn_cxx_try_compile "$LINENO"; then :
34963 glibcxx_cv_func_finitel_use=yes
34964 else
34965 glibcxx_cv_func_finitel_use=no
34967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34968 ac_ext=c
34969 ac_cpp='$CPP $CPPFLAGS'
34970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
34979 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
34981 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
34982 for ac_func in finitel
34983 do :
34984 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
34985 if test "x$ac_cv_func_finitel" = xyes; then :
34986 cat >>confdefs.h <<_ACEOF
34987 #define HAVE_FINITEL 1
34988 _ACEOF
34991 done
34993 else
34995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
34996 $as_echo_n "checking for _finitel declaration... " >&6; }
34997 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
34998 if ${glibcxx_cv_func__finitel_use+:} false; then :
34999 $as_echo_n "(cached) " >&6
35000 else
35003 ac_ext=cpp
35004 ac_cpp='$CXXCPP $CPPFLAGS'
35005 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35006 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35007 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35010 /* end confdefs.h. */
35011 #include <math.h>
35012 #ifdef HAVE_IEEEFP_H
35013 #include <ieeefp.h>
35014 #endif
35017 main ()
35019 _finitel(0);
35021 return 0;
35023 _ACEOF
35024 if ac_fn_cxx_try_compile "$LINENO"; then :
35025 glibcxx_cv_func__finitel_use=yes
35026 else
35027 glibcxx_cv_func__finitel_use=no
35029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35030 ac_ext=c
35031 ac_cpp='$CPP $CPPFLAGS'
35032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
35041 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
35043 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
35044 for ac_func in _finitel
35045 do :
35046 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
35047 if test "x$ac_cv_func__finitel" = xyes; then :
35048 cat >>confdefs.h <<_ACEOF
35049 #define HAVE__FINITEL 1
35050 _ACEOF
35053 done
35061 LIBS="$ac_save_LIBS"
35062 CXXFLAGS="$ac_save_CXXFLAGS"
35065 ac_test_CXXFLAGS="${CXXFLAGS+set}"
35066 ac_save_CXXFLAGS="$CXXFLAGS"
35067 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
35070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
35071 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
35072 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
35073 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
35074 $as_echo_n "(cached) " >&6
35075 else
35078 ac_ext=cpp
35079 ac_cpp='$CXXCPP $CPPFLAGS'
35080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35085 /* end confdefs.h. */
35086 #include <stdlib.h>
35088 main ()
35090 at_quick_exit(0);
35092 return 0;
35094 _ACEOF
35095 if ac_fn_cxx_try_compile "$LINENO"; then :
35096 glibcxx_cv_func_at_quick_exit_use=yes
35097 else
35098 glibcxx_cv_func_at_quick_exit_use=no
35100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35101 ac_ext=c
35102 ac_cpp='$CPP $CPPFLAGS'
35103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
35112 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
35113 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
35114 for ac_func in at_quick_exit
35115 do :
35116 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
35117 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
35118 cat >>confdefs.h <<_ACEOF
35119 #define HAVE_AT_QUICK_EXIT 1
35120 _ACEOF
35123 done
35128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
35129 $as_echo_n "checking for quick_exit declaration... " >&6; }
35130 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
35131 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
35132 $as_echo_n "(cached) " >&6
35133 else
35136 ac_ext=cpp
35137 ac_cpp='$CXXCPP $CPPFLAGS'
35138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35143 /* end confdefs.h. */
35144 #include <stdlib.h>
35146 main ()
35148 quick_exit(0);
35150 return 0;
35152 _ACEOF
35153 if ac_fn_cxx_try_compile "$LINENO"; then :
35154 glibcxx_cv_func_quick_exit_use=yes
35155 else
35156 glibcxx_cv_func_quick_exit_use=no
35158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35159 ac_ext=c
35160 ac_cpp='$CPP $CPPFLAGS'
35161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
35170 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
35171 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
35172 for ac_func in quick_exit
35173 do :
35174 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
35175 if test "x$ac_cv_func_quick_exit" = xyes; then :
35176 cat >>confdefs.h <<_ACEOF
35177 #define HAVE_QUICK_EXIT 1
35178 _ACEOF
35181 done
35186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
35187 $as_echo_n "checking for strtold declaration... " >&6; }
35188 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
35189 if ${glibcxx_cv_func_strtold_use+:} false; then :
35190 $as_echo_n "(cached) " >&6
35191 else
35194 ac_ext=cpp
35195 ac_cpp='$CXXCPP $CPPFLAGS'
35196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35201 /* end confdefs.h. */
35202 #include <stdlib.h>
35204 main ()
35206 strtold(0, 0);
35208 return 0;
35210 _ACEOF
35211 if ac_fn_cxx_try_compile "$LINENO"; then :
35212 glibcxx_cv_func_strtold_use=yes
35213 else
35214 glibcxx_cv_func_strtold_use=no
35216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35217 ac_ext=c
35218 ac_cpp='$CPP $CPPFLAGS'
35219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
35228 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
35229 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
35230 for ac_func in strtold
35231 do :
35232 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
35233 if test "x$ac_cv_func_strtold" = xyes; then :
35234 cat >>confdefs.h <<_ACEOF
35235 #define HAVE_STRTOLD 1
35236 _ACEOF
35239 done
35246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
35247 $as_echo_n "checking for strtof declaration... " >&6; }
35248 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
35249 if ${glibcxx_cv_func_strtof_use+:} false; then :
35250 $as_echo_n "(cached) " >&6
35251 else
35254 ac_ext=cpp
35255 ac_cpp='$CXXCPP $CPPFLAGS'
35256 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35257 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35258 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35261 /* end confdefs.h. */
35262 #include <stdlib.h>
35264 main ()
35266 strtof(0, 0);
35268 return 0;
35270 _ACEOF
35271 if ac_fn_cxx_try_compile "$LINENO"; then :
35272 glibcxx_cv_func_strtof_use=yes
35273 else
35274 glibcxx_cv_func_strtof_use=no
35276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35277 ac_ext=c
35278 ac_cpp='$CPP $CPPFLAGS'
35279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
35288 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
35289 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
35290 for ac_func in strtof
35291 do :
35292 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
35293 if test "x$ac_cv_func_strtof" = xyes; then :
35294 cat >>confdefs.h <<_ACEOF
35295 #define HAVE_STRTOF 1
35296 _ACEOF
35299 done
35306 CXXFLAGS="$ac_save_CXXFLAGS"
35309 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
35311 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
35313 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
35315 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
35318 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
35320 $as_echo "#define HAVE_MODF 1" >>confdefs.h
35322 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
35326 *-aix*)
35328 # If we're not using GNU ld, then there's no point in even trying these
35329 # tests. Check for that first. We should have already tested for gld
35330 # by now (in libtool), but require it now just to be safe...
35331 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
35332 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
35336 # The name set by libtool depends on the version of libtool. Shame on us
35337 # for depending on an impl detail, but c'est la vie. Older versions used
35338 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
35339 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
35340 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
35341 # set (hence we're using an older libtool), then set it.
35342 if test x${with_gnu_ld+set} != xset; then
35343 if test x${ac_cv_prog_gnu_ld+set} != xset; then
35344 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
35345 with_gnu_ld=no
35346 else
35347 with_gnu_ld=$ac_cv_prog_gnu_ld
35351 # Start by getting the version number. I think the libtool test already
35352 # does some of this, but throws away the result.
35353 glibcxx_ld_is_gold=no
35354 if test x"$with_gnu_ld" = x"yes"; then
35355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
35356 $as_echo_n "checking for ld version... " >&6; }
35358 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
35359 glibcxx_ld_is_gold=yes
35361 ldver=`$LD --version 2>/dev/null |
35362 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
35364 glibcxx_gnu_ld_version=`echo $ldver | \
35365 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
35366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
35367 $as_echo "$glibcxx_gnu_ld_version" >&6; }
35370 # Set --gc-sections.
35371 glibcxx_have_gc_sections=no
35372 if test "$glibcxx_ld_is_gold" = "yes"; then
35373 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
35374 glibcxx_have_gc_sections=yes
35376 else
35377 glibcxx_gcsections_min_ld=21602
35378 if test x"$with_gnu_ld" = x"yes" &&
35379 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
35380 glibcxx_have_gc_sections=yes
35383 if test "$glibcxx_have_gc_sections" = "yes"; then
35384 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
35385 # NB: This flag only works reliably after 2.16.1. Configure tests
35386 # for this are difficult, so hard wire a value that should work.
35388 ac_test_CFLAGS="${CFLAGS+set}"
35389 ac_save_CFLAGS="$CFLAGS"
35390 CFLAGS='-Wl,--gc-sections'
35392 # Check for -Wl,--gc-sections
35393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
35394 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
35395 if test x$gcc_no_link = xyes; then
35396 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
35398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35399 /* end confdefs.h. */
35400 int one(void) { return 1; }
35401 int two(void) { return 2; }
35404 main ()
35406 two();
35408 return 0;
35410 _ACEOF
35411 if ac_fn_c_try_link "$LINENO"; then :
35412 ac_gcsections=yes
35413 else
35414 ac_gcsections=no
35416 rm -f core conftest.err conftest.$ac_objext \
35417 conftest$ac_exeext conftest.$ac_ext
35418 if test "$ac_gcsections" = "yes"; then
35419 rm -f conftest.c
35420 touch conftest.c
35421 if $CC -c conftest.c; then
35422 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
35423 grep "Warning: gc-sections option ignored" > /dev/null; then
35424 ac_gcsections=no
35427 rm -f conftest.c conftest.o conftest
35429 if test "$ac_gcsections" = "yes"; then
35430 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
35432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
35433 $as_echo "$ac_gcsections" >&6; }
35435 if test "$ac_test_CFLAGS" = set; then
35436 CFLAGS="$ac_save_CFLAGS"
35437 else
35438 # this is the suspicious part
35439 CFLAGS=''
35443 # Set -z,relro.
35444 # Note this is only for shared objects.
35445 ac_ld_relro=no
35446 if test x"$with_gnu_ld" = x"yes"; then
35447 # cygwin and mingw uses PE, which has no ELF relro support,
35448 # multi target ld may confuse configure machinery
35449 case "$host" in
35450 *-*-cygwin*)
35452 *-*-mingw*)
35455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
35456 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
35457 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
35458 if test -n "$cxx_z_relo"; then
35459 OPT_LDFLAGS="-Wl,-z,relro"
35460 ac_ld_relro=yes
35462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
35463 $as_echo "$ac_ld_relro" >&6; }
35464 esac
35467 # Set linker optimization flags.
35468 if test x"$with_gnu_ld" = x"yes"; then
35469 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
35476 ac_test_CXXFLAGS="${CXXFLAGS+set}"
35477 ac_save_CXXFLAGS="$CXXFLAGS"
35478 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
35480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
35481 $as_echo_n "checking for sin in -lm... " >&6; }
35482 if ${ac_cv_lib_m_sin+:} false; then :
35483 $as_echo_n "(cached) " >&6
35484 else
35485 ac_check_lib_save_LIBS=$LIBS
35486 LIBS="-lm $LIBS"
35487 if test x$gcc_no_link = xyes; then
35488 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
35490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35491 /* end confdefs.h. */
35493 /* Override any GCC internal prototype to avoid an error.
35494 Use char because int might match the return type of a GCC
35495 builtin and then its argument prototype would still apply. */
35496 #ifdef __cplusplus
35497 extern "C"
35498 #endif
35499 char sin ();
35501 main ()
35503 return sin ();
35505 return 0;
35507 _ACEOF
35508 if ac_fn_c_try_link "$LINENO"; then :
35509 ac_cv_lib_m_sin=yes
35510 else
35511 ac_cv_lib_m_sin=no
35513 rm -f core conftest.err conftest.$ac_objext \
35514 conftest$ac_exeext conftest.$ac_ext
35515 LIBS=$ac_check_lib_save_LIBS
35517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
35518 $as_echo "$ac_cv_lib_m_sin" >&6; }
35519 if test "x$ac_cv_lib_m_sin" = xyes; then :
35520 libm="-lm"
35523 ac_save_LIBS="$LIBS"
35524 LIBS="$LIBS $libm"
35528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
35529 $as_echo_n "checking for isinf declaration... " >&6; }
35530 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
35531 if ${glibcxx_cv_func_isinf_use+:} false; then :
35532 $as_echo_n "(cached) " >&6
35533 else
35536 ac_ext=cpp
35537 ac_cpp='$CXXCPP $CPPFLAGS'
35538 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35539 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35540 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35543 /* end confdefs.h. */
35544 #include <math.h>
35545 #ifdef HAVE_IEEEFP_H
35546 #include <ieeefp.h>
35547 #endif
35550 main ()
35552 isinf(0);
35554 return 0;
35556 _ACEOF
35557 if ac_fn_cxx_try_compile "$LINENO"; then :
35558 glibcxx_cv_func_isinf_use=yes
35559 else
35560 glibcxx_cv_func_isinf_use=no
35562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35563 ac_ext=c
35564 ac_cpp='$CPP $CPPFLAGS'
35565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
35574 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
35576 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
35577 for ac_func in isinf
35578 do :
35579 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
35580 if test "x$ac_cv_func_isinf" = xyes; then :
35581 cat >>confdefs.h <<_ACEOF
35582 #define HAVE_ISINF 1
35583 _ACEOF
35586 done
35588 else
35590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
35591 $as_echo_n "checking for _isinf declaration... " >&6; }
35592 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
35593 if ${glibcxx_cv_func__isinf_use+:} false; then :
35594 $as_echo_n "(cached) " >&6
35595 else
35598 ac_ext=cpp
35599 ac_cpp='$CXXCPP $CPPFLAGS'
35600 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35601 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35602 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35605 /* end confdefs.h. */
35606 #include <math.h>
35607 #ifdef HAVE_IEEEFP_H
35608 #include <ieeefp.h>
35609 #endif
35612 main ()
35614 _isinf(0);
35616 return 0;
35618 _ACEOF
35619 if ac_fn_cxx_try_compile "$LINENO"; then :
35620 glibcxx_cv_func__isinf_use=yes
35621 else
35622 glibcxx_cv_func__isinf_use=no
35624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35625 ac_ext=c
35626 ac_cpp='$CPP $CPPFLAGS'
35627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
35636 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
35638 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
35639 for ac_func in _isinf
35640 do :
35641 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
35642 if test "x$ac_cv_func__isinf" = xyes; then :
35643 cat >>confdefs.h <<_ACEOF
35644 #define HAVE__ISINF 1
35645 _ACEOF
35648 done
35657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
35658 $as_echo_n "checking for isnan declaration... " >&6; }
35659 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
35660 if ${glibcxx_cv_func_isnan_use+:} false; then :
35661 $as_echo_n "(cached) " >&6
35662 else
35665 ac_ext=cpp
35666 ac_cpp='$CXXCPP $CPPFLAGS'
35667 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35668 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35669 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35672 /* end confdefs.h. */
35673 #include <math.h>
35674 #ifdef HAVE_IEEEFP_H
35675 #include <ieeefp.h>
35676 #endif
35679 main ()
35681 isnan(0);
35683 return 0;
35685 _ACEOF
35686 if ac_fn_cxx_try_compile "$LINENO"; then :
35687 glibcxx_cv_func_isnan_use=yes
35688 else
35689 glibcxx_cv_func_isnan_use=no
35691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35692 ac_ext=c
35693 ac_cpp='$CPP $CPPFLAGS'
35694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
35703 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
35705 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
35706 for ac_func in isnan
35707 do :
35708 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
35709 if test "x$ac_cv_func_isnan" = xyes; then :
35710 cat >>confdefs.h <<_ACEOF
35711 #define HAVE_ISNAN 1
35712 _ACEOF
35715 done
35717 else
35719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
35720 $as_echo_n "checking for _isnan declaration... " >&6; }
35721 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
35722 if ${glibcxx_cv_func__isnan_use+:} false; then :
35723 $as_echo_n "(cached) " >&6
35724 else
35727 ac_ext=cpp
35728 ac_cpp='$CXXCPP $CPPFLAGS'
35729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35734 /* end confdefs.h. */
35735 #include <math.h>
35736 #ifdef HAVE_IEEEFP_H
35737 #include <ieeefp.h>
35738 #endif
35741 main ()
35743 _isnan(0);
35745 return 0;
35747 _ACEOF
35748 if ac_fn_cxx_try_compile "$LINENO"; then :
35749 glibcxx_cv_func__isnan_use=yes
35750 else
35751 glibcxx_cv_func__isnan_use=no
35753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35754 ac_ext=c
35755 ac_cpp='$CPP $CPPFLAGS'
35756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
35765 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
35767 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
35768 for ac_func in _isnan
35769 do :
35770 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
35771 if test "x$ac_cv_func__isnan" = xyes; then :
35772 cat >>confdefs.h <<_ACEOF
35773 #define HAVE__ISNAN 1
35774 _ACEOF
35777 done
35786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
35787 $as_echo_n "checking for finite declaration... " >&6; }
35788 if test x${glibcxx_cv_func_finite_use+set} != xset; then
35789 if ${glibcxx_cv_func_finite_use+:} false; then :
35790 $as_echo_n "(cached) " >&6
35791 else
35794 ac_ext=cpp
35795 ac_cpp='$CXXCPP $CPPFLAGS'
35796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35801 /* end confdefs.h. */
35802 #include <math.h>
35803 #ifdef HAVE_IEEEFP_H
35804 #include <ieeefp.h>
35805 #endif
35808 main ()
35810 finite(0);
35812 return 0;
35814 _ACEOF
35815 if ac_fn_cxx_try_compile "$LINENO"; then :
35816 glibcxx_cv_func_finite_use=yes
35817 else
35818 glibcxx_cv_func_finite_use=no
35820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35821 ac_ext=c
35822 ac_cpp='$CPP $CPPFLAGS'
35823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
35832 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
35834 if test x$glibcxx_cv_func_finite_use = x"yes"; then
35835 for ac_func in finite
35836 do :
35837 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
35838 if test "x$ac_cv_func_finite" = xyes; then :
35839 cat >>confdefs.h <<_ACEOF
35840 #define HAVE_FINITE 1
35841 _ACEOF
35844 done
35846 else
35848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
35849 $as_echo_n "checking for _finite declaration... " >&6; }
35850 if test x${glibcxx_cv_func__finite_use+set} != xset; then
35851 if ${glibcxx_cv_func__finite_use+:} false; then :
35852 $as_echo_n "(cached) " >&6
35853 else
35856 ac_ext=cpp
35857 ac_cpp='$CXXCPP $CPPFLAGS'
35858 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35859 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35860 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35863 /* end confdefs.h. */
35864 #include <math.h>
35865 #ifdef HAVE_IEEEFP_H
35866 #include <ieeefp.h>
35867 #endif
35870 main ()
35872 _finite(0);
35874 return 0;
35876 _ACEOF
35877 if ac_fn_cxx_try_compile "$LINENO"; then :
35878 glibcxx_cv_func__finite_use=yes
35879 else
35880 glibcxx_cv_func__finite_use=no
35882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35883 ac_ext=c
35884 ac_cpp='$CPP $CPPFLAGS'
35885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
35894 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
35896 if test x$glibcxx_cv_func__finite_use = x"yes"; then
35897 for ac_func in _finite
35898 do :
35899 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
35900 if test "x$ac_cv_func__finite" = xyes; then :
35901 cat >>confdefs.h <<_ACEOF
35902 #define HAVE__FINITE 1
35903 _ACEOF
35906 done
35915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
35916 $as_echo_n "checking for sincos declaration... " >&6; }
35917 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
35918 if ${glibcxx_cv_func_sincos_use+:} false; then :
35919 $as_echo_n "(cached) " >&6
35920 else
35923 ac_ext=cpp
35924 ac_cpp='$CXXCPP $CPPFLAGS'
35925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35930 /* end confdefs.h. */
35931 #include <math.h>
35933 main ()
35935 sincos(0, 0, 0);
35937 return 0;
35939 _ACEOF
35940 if ac_fn_cxx_try_compile "$LINENO"; then :
35941 glibcxx_cv_func_sincos_use=yes
35942 else
35943 glibcxx_cv_func_sincos_use=no
35945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35946 ac_ext=c
35947 ac_cpp='$CPP $CPPFLAGS'
35948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
35957 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
35959 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
35960 for ac_func in sincos
35961 do :
35962 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
35963 if test "x$ac_cv_func_sincos" = xyes; then :
35964 cat >>confdefs.h <<_ACEOF
35965 #define HAVE_SINCOS 1
35966 _ACEOF
35969 done
35971 else
35973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
35974 $as_echo_n "checking for _sincos declaration... " >&6; }
35975 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
35976 if ${glibcxx_cv_func__sincos_use+:} false; then :
35977 $as_echo_n "(cached) " >&6
35978 else
35981 ac_ext=cpp
35982 ac_cpp='$CXXCPP $CPPFLAGS'
35983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35988 /* end confdefs.h. */
35989 #include <math.h>
35991 main ()
35993 _sincos(0, 0, 0);
35995 return 0;
35997 _ACEOF
35998 if ac_fn_cxx_try_compile "$LINENO"; then :
35999 glibcxx_cv_func__sincos_use=yes
36000 else
36001 glibcxx_cv_func__sincos_use=no
36003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36004 ac_ext=c
36005 ac_cpp='$CPP $CPPFLAGS'
36006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
36015 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
36017 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
36018 for ac_func in _sincos
36019 do :
36020 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
36021 if test "x$ac_cv_func__sincos" = xyes; then :
36022 cat >>confdefs.h <<_ACEOF
36023 #define HAVE__SINCOS 1
36024 _ACEOF
36027 done
36036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
36037 $as_echo_n "checking for fpclass declaration... " >&6; }
36038 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
36039 if ${glibcxx_cv_func_fpclass_use+:} false; then :
36040 $as_echo_n "(cached) " >&6
36041 else
36044 ac_ext=cpp
36045 ac_cpp='$CXXCPP $CPPFLAGS'
36046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36051 /* end confdefs.h. */
36052 #include <math.h>
36053 #ifdef HAVE_IEEEFP_H
36054 #include <ieeefp.h>
36055 #endif
36058 main ()
36060 fpclass(0);
36062 return 0;
36064 _ACEOF
36065 if ac_fn_cxx_try_compile "$LINENO"; then :
36066 glibcxx_cv_func_fpclass_use=yes
36067 else
36068 glibcxx_cv_func_fpclass_use=no
36070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36071 ac_ext=c
36072 ac_cpp='$CPP $CPPFLAGS'
36073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
36082 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
36084 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
36085 for ac_func in fpclass
36086 do :
36087 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
36088 if test "x$ac_cv_func_fpclass" = xyes; then :
36089 cat >>confdefs.h <<_ACEOF
36090 #define HAVE_FPCLASS 1
36091 _ACEOF
36094 done
36096 else
36098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
36099 $as_echo_n "checking for _fpclass declaration... " >&6; }
36100 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
36101 if ${glibcxx_cv_func__fpclass_use+:} false; then :
36102 $as_echo_n "(cached) " >&6
36103 else
36106 ac_ext=cpp
36107 ac_cpp='$CXXCPP $CPPFLAGS'
36108 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36109 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36110 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36113 /* end confdefs.h. */
36114 #include <math.h>
36115 #ifdef HAVE_IEEEFP_H
36116 #include <ieeefp.h>
36117 #endif
36120 main ()
36122 _fpclass(0);
36124 return 0;
36126 _ACEOF
36127 if ac_fn_cxx_try_compile "$LINENO"; then :
36128 glibcxx_cv_func__fpclass_use=yes
36129 else
36130 glibcxx_cv_func__fpclass_use=no
36132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36133 ac_ext=c
36134 ac_cpp='$CPP $CPPFLAGS'
36135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
36144 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
36146 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
36147 for ac_func in _fpclass
36148 do :
36149 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
36150 if test "x$ac_cv_func__fpclass" = xyes; then :
36151 cat >>confdefs.h <<_ACEOF
36152 #define HAVE__FPCLASS 1
36153 _ACEOF
36156 done
36165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
36166 $as_echo_n "checking for qfpclass declaration... " >&6; }
36167 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
36168 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
36169 $as_echo_n "(cached) " >&6
36170 else
36173 ac_ext=cpp
36174 ac_cpp='$CXXCPP $CPPFLAGS'
36175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36180 /* end confdefs.h. */
36181 #include <math.h>
36182 #ifdef HAVE_IEEEFP_H
36183 #include <ieeefp.h>
36184 #endif
36187 main ()
36189 qfpclass(0);
36191 return 0;
36193 _ACEOF
36194 if ac_fn_cxx_try_compile "$LINENO"; then :
36195 glibcxx_cv_func_qfpclass_use=yes
36196 else
36197 glibcxx_cv_func_qfpclass_use=no
36199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36200 ac_ext=c
36201 ac_cpp='$CPP $CPPFLAGS'
36202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
36211 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
36213 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
36214 for ac_func in qfpclass
36215 do :
36216 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
36217 if test "x$ac_cv_func_qfpclass" = xyes; then :
36218 cat >>confdefs.h <<_ACEOF
36219 #define HAVE_QFPCLASS 1
36220 _ACEOF
36223 done
36225 else
36227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
36228 $as_echo_n "checking for _qfpclass declaration... " >&6; }
36229 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
36230 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
36231 $as_echo_n "(cached) " >&6
36232 else
36235 ac_ext=cpp
36236 ac_cpp='$CXXCPP $CPPFLAGS'
36237 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36238 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36239 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36242 /* end confdefs.h. */
36243 #include <math.h>
36244 #ifdef HAVE_IEEEFP_H
36245 #include <ieeefp.h>
36246 #endif
36249 main ()
36251 _qfpclass(0);
36253 return 0;
36255 _ACEOF
36256 if ac_fn_cxx_try_compile "$LINENO"; then :
36257 glibcxx_cv_func__qfpclass_use=yes
36258 else
36259 glibcxx_cv_func__qfpclass_use=no
36261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36262 ac_ext=c
36263 ac_cpp='$CPP $CPPFLAGS'
36264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
36273 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
36275 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
36276 for ac_func in _qfpclass
36277 do :
36278 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
36279 if test "x$ac_cv_func__qfpclass" = xyes; then :
36280 cat >>confdefs.h <<_ACEOF
36281 #define HAVE__QFPCLASS 1
36282 _ACEOF
36285 done
36294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
36295 $as_echo_n "checking for hypot declaration... " >&6; }
36296 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
36297 if ${glibcxx_cv_func_hypot_use+:} false; then :
36298 $as_echo_n "(cached) " >&6
36299 else
36302 ac_ext=cpp
36303 ac_cpp='$CXXCPP $CPPFLAGS'
36304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36309 /* end confdefs.h. */
36310 #include <math.h>
36312 main ()
36314 hypot(0, 0);
36316 return 0;
36318 _ACEOF
36319 if ac_fn_cxx_try_compile "$LINENO"; then :
36320 glibcxx_cv_func_hypot_use=yes
36321 else
36322 glibcxx_cv_func_hypot_use=no
36324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36325 ac_ext=c
36326 ac_cpp='$CPP $CPPFLAGS'
36327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
36336 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
36338 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
36339 for ac_func in hypot
36340 do :
36341 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
36342 if test "x$ac_cv_func_hypot" = xyes; then :
36343 cat >>confdefs.h <<_ACEOF
36344 #define HAVE_HYPOT 1
36345 _ACEOF
36348 done
36350 else
36352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
36353 $as_echo_n "checking for _hypot declaration... " >&6; }
36354 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
36355 if ${glibcxx_cv_func__hypot_use+:} false; then :
36356 $as_echo_n "(cached) " >&6
36357 else
36360 ac_ext=cpp
36361 ac_cpp='$CXXCPP $CPPFLAGS'
36362 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36363 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36364 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36367 /* end confdefs.h. */
36368 #include <math.h>
36370 main ()
36372 _hypot(0, 0);
36374 return 0;
36376 _ACEOF
36377 if ac_fn_cxx_try_compile "$LINENO"; then :
36378 glibcxx_cv_func__hypot_use=yes
36379 else
36380 glibcxx_cv_func__hypot_use=no
36382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36383 ac_ext=c
36384 ac_cpp='$CPP $CPPFLAGS'
36385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
36394 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
36396 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
36397 for ac_func in _hypot
36398 do :
36399 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
36400 if test "x$ac_cv_func__hypot" = xyes; then :
36401 cat >>confdefs.h <<_ACEOF
36402 #define HAVE__HYPOT 1
36403 _ACEOF
36406 done
36415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
36416 $as_echo_n "checking for float trig functions... " >&6; }
36417 if ${glibcxx_cv_func_float_trig_use+:} false; then :
36418 $as_echo_n "(cached) " >&6
36419 else
36422 ac_ext=cpp
36423 ac_cpp='$CXXCPP $CPPFLAGS'
36424 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36425 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36426 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36429 /* end confdefs.h. */
36430 #include <math.h>
36432 main ()
36434 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
36436 return 0;
36438 _ACEOF
36439 if ac_fn_cxx_try_compile "$LINENO"; then :
36440 glibcxx_cv_func_float_trig_use=yes
36441 else
36442 glibcxx_cv_func_float_trig_use=no
36444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36445 ac_ext=c
36446 ac_cpp='$CPP $CPPFLAGS'
36447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
36454 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
36455 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
36456 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
36457 do :
36458 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36459 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36460 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
36461 cat >>confdefs.h <<_ACEOF
36462 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36463 _ACEOF
36466 done
36468 else
36469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
36470 $as_echo_n "checking for _float trig functions... " >&6; }
36471 if ${glibcxx_cv_func__float_trig_use+:} false; then :
36472 $as_echo_n "(cached) " >&6
36473 else
36476 ac_ext=cpp
36477 ac_cpp='$CXXCPP $CPPFLAGS'
36478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36483 /* end confdefs.h. */
36484 #include <math.h>
36486 main ()
36488 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
36490 return 0;
36492 _ACEOF
36493 if ac_fn_cxx_try_compile "$LINENO"; then :
36494 glibcxx_cv_func__float_trig_use=yes
36495 else
36496 glibcxx_cv_func__float_trig_use=no
36498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36499 ac_ext=c
36500 ac_cpp='$CPP $CPPFLAGS'
36501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
36508 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
36509 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
36510 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
36511 do :
36512 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36513 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36514 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
36515 cat >>confdefs.h <<_ACEOF
36516 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36517 _ACEOF
36520 done
36529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
36530 $as_echo_n "checking for float round functions... " >&6; }
36531 if ${glibcxx_cv_func_float_round_use+:} false; then :
36532 $as_echo_n "(cached) " >&6
36533 else
36536 ac_ext=cpp
36537 ac_cpp='$CXXCPP $CPPFLAGS'
36538 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36539 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36540 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36543 /* end confdefs.h. */
36544 #include <math.h>
36546 main ()
36548 ceilf (0); floorf (0);
36550 return 0;
36552 _ACEOF
36553 if ac_fn_cxx_try_compile "$LINENO"; then :
36554 glibcxx_cv_func_float_round_use=yes
36555 else
36556 glibcxx_cv_func_float_round_use=no
36558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36559 ac_ext=c
36560 ac_cpp='$CPP $CPPFLAGS'
36561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
36568 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
36569 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
36570 for ac_func in ceilf floorf
36571 do :
36572 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36573 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36574 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
36575 cat >>confdefs.h <<_ACEOF
36576 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36577 _ACEOF
36580 done
36582 else
36583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
36584 $as_echo_n "checking for _float round functions... " >&6; }
36585 if ${glibcxx_cv_func__float_round_use+:} false; then :
36586 $as_echo_n "(cached) " >&6
36587 else
36590 ac_ext=cpp
36591 ac_cpp='$CXXCPP $CPPFLAGS'
36592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36597 /* end confdefs.h. */
36598 #include <math.h>
36600 main ()
36602 _ceilf (0); _floorf (0);
36604 return 0;
36606 _ACEOF
36607 if ac_fn_cxx_try_compile "$LINENO"; then :
36608 glibcxx_cv_func__float_round_use=yes
36609 else
36610 glibcxx_cv_func__float_round_use=no
36612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36613 ac_ext=c
36614 ac_cpp='$CPP $CPPFLAGS'
36615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
36622 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
36623 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
36624 for ac_func in _ceilf _floorf
36625 do :
36626 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36627 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36628 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
36629 cat >>confdefs.h <<_ACEOF
36630 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36631 _ACEOF
36634 done
36644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
36645 $as_echo_n "checking for expf declaration... " >&6; }
36646 if test x${glibcxx_cv_func_expf_use+set} != xset; then
36647 if ${glibcxx_cv_func_expf_use+:} false; then :
36648 $as_echo_n "(cached) " >&6
36649 else
36652 ac_ext=cpp
36653 ac_cpp='$CXXCPP $CPPFLAGS'
36654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36659 /* end confdefs.h. */
36660 #include <math.h>
36661 #ifdef HAVE_IEEEFP_H
36662 #include <ieeefp.h>
36663 #endif
36666 main ()
36668 expf(0);
36670 return 0;
36672 _ACEOF
36673 if ac_fn_cxx_try_compile "$LINENO"; then :
36674 glibcxx_cv_func_expf_use=yes
36675 else
36676 glibcxx_cv_func_expf_use=no
36678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36679 ac_ext=c
36680 ac_cpp='$CPP $CPPFLAGS'
36681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
36690 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
36692 if test x$glibcxx_cv_func_expf_use = x"yes"; then
36693 for ac_func in expf
36694 do :
36695 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
36696 if test "x$ac_cv_func_expf" = xyes; then :
36697 cat >>confdefs.h <<_ACEOF
36698 #define HAVE_EXPF 1
36699 _ACEOF
36702 done
36704 else
36706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
36707 $as_echo_n "checking for _expf declaration... " >&6; }
36708 if test x${glibcxx_cv_func__expf_use+set} != xset; then
36709 if ${glibcxx_cv_func__expf_use+:} false; then :
36710 $as_echo_n "(cached) " >&6
36711 else
36714 ac_ext=cpp
36715 ac_cpp='$CXXCPP $CPPFLAGS'
36716 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36717 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36718 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36721 /* end confdefs.h. */
36722 #include <math.h>
36723 #ifdef HAVE_IEEEFP_H
36724 #include <ieeefp.h>
36725 #endif
36728 main ()
36730 _expf(0);
36732 return 0;
36734 _ACEOF
36735 if ac_fn_cxx_try_compile "$LINENO"; then :
36736 glibcxx_cv_func__expf_use=yes
36737 else
36738 glibcxx_cv_func__expf_use=no
36740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36741 ac_ext=c
36742 ac_cpp='$CPP $CPPFLAGS'
36743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36744 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
36752 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
36754 if test x$glibcxx_cv_func__expf_use = x"yes"; then
36755 for ac_func in _expf
36756 do :
36757 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
36758 if test "x$ac_cv_func__expf" = xyes; then :
36759 cat >>confdefs.h <<_ACEOF
36760 #define HAVE__EXPF 1
36761 _ACEOF
36764 done
36773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
36774 $as_echo_n "checking for isnanf declaration... " >&6; }
36775 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
36776 if ${glibcxx_cv_func_isnanf_use+:} false; then :
36777 $as_echo_n "(cached) " >&6
36778 else
36781 ac_ext=cpp
36782 ac_cpp='$CXXCPP $CPPFLAGS'
36783 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36784 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36785 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36788 /* end confdefs.h. */
36789 #include <math.h>
36790 #ifdef HAVE_IEEEFP_H
36791 #include <ieeefp.h>
36792 #endif
36795 main ()
36797 isnanf(0);
36799 return 0;
36801 _ACEOF
36802 if ac_fn_cxx_try_compile "$LINENO"; then :
36803 glibcxx_cv_func_isnanf_use=yes
36804 else
36805 glibcxx_cv_func_isnanf_use=no
36807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36808 ac_ext=c
36809 ac_cpp='$CPP $CPPFLAGS'
36810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
36819 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
36821 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
36822 for ac_func in isnanf
36823 do :
36824 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
36825 if test "x$ac_cv_func_isnanf" = xyes; then :
36826 cat >>confdefs.h <<_ACEOF
36827 #define HAVE_ISNANF 1
36828 _ACEOF
36831 done
36833 else
36835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
36836 $as_echo_n "checking for _isnanf declaration... " >&6; }
36837 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
36838 if ${glibcxx_cv_func__isnanf_use+:} false; then :
36839 $as_echo_n "(cached) " >&6
36840 else
36843 ac_ext=cpp
36844 ac_cpp='$CXXCPP $CPPFLAGS'
36845 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36846 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36847 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36850 /* end confdefs.h. */
36851 #include <math.h>
36852 #ifdef HAVE_IEEEFP_H
36853 #include <ieeefp.h>
36854 #endif
36857 main ()
36859 _isnanf(0);
36861 return 0;
36863 _ACEOF
36864 if ac_fn_cxx_try_compile "$LINENO"; then :
36865 glibcxx_cv_func__isnanf_use=yes
36866 else
36867 glibcxx_cv_func__isnanf_use=no
36869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36870 ac_ext=c
36871 ac_cpp='$CPP $CPPFLAGS'
36872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
36881 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
36883 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
36884 for ac_func in _isnanf
36885 do :
36886 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
36887 if test "x$ac_cv_func__isnanf" = xyes; then :
36888 cat >>confdefs.h <<_ACEOF
36889 #define HAVE__ISNANF 1
36890 _ACEOF
36893 done
36902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
36903 $as_echo_n "checking for isinff declaration... " >&6; }
36904 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
36905 if ${glibcxx_cv_func_isinff_use+:} false; then :
36906 $as_echo_n "(cached) " >&6
36907 else
36910 ac_ext=cpp
36911 ac_cpp='$CXXCPP $CPPFLAGS'
36912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36917 /* end confdefs.h. */
36918 #include <math.h>
36919 #ifdef HAVE_IEEEFP_H
36920 #include <ieeefp.h>
36921 #endif
36924 main ()
36926 isinff(0);
36928 return 0;
36930 _ACEOF
36931 if ac_fn_cxx_try_compile "$LINENO"; then :
36932 glibcxx_cv_func_isinff_use=yes
36933 else
36934 glibcxx_cv_func_isinff_use=no
36936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36937 ac_ext=c
36938 ac_cpp='$CPP $CPPFLAGS'
36939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
36948 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
36950 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
36951 for ac_func in isinff
36952 do :
36953 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
36954 if test "x$ac_cv_func_isinff" = xyes; then :
36955 cat >>confdefs.h <<_ACEOF
36956 #define HAVE_ISINFF 1
36957 _ACEOF
36960 done
36962 else
36964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
36965 $as_echo_n "checking for _isinff declaration... " >&6; }
36966 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
36967 if ${glibcxx_cv_func__isinff_use+:} false; then :
36968 $as_echo_n "(cached) " >&6
36969 else
36972 ac_ext=cpp
36973 ac_cpp='$CXXCPP $CPPFLAGS'
36974 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36975 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36976 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36979 /* end confdefs.h. */
36980 #include <math.h>
36981 #ifdef HAVE_IEEEFP_H
36982 #include <ieeefp.h>
36983 #endif
36986 main ()
36988 _isinff(0);
36990 return 0;
36992 _ACEOF
36993 if ac_fn_cxx_try_compile "$LINENO"; then :
36994 glibcxx_cv_func__isinff_use=yes
36995 else
36996 glibcxx_cv_func__isinff_use=no
36998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36999 ac_ext=c
37000 ac_cpp='$CPP $CPPFLAGS'
37001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
37010 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
37012 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
37013 for ac_func in _isinff
37014 do :
37015 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
37016 if test "x$ac_cv_func__isinff" = xyes; then :
37017 cat >>confdefs.h <<_ACEOF
37018 #define HAVE__ISINFF 1
37019 _ACEOF
37022 done
37031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
37032 $as_echo_n "checking for atan2f declaration... " >&6; }
37033 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
37034 if ${glibcxx_cv_func_atan2f_use+:} false; then :
37035 $as_echo_n "(cached) " >&6
37036 else
37039 ac_ext=cpp
37040 ac_cpp='$CXXCPP $CPPFLAGS'
37041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37046 /* end confdefs.h. */
37047 #include <math.h>
37049 main ()
37051 atan2f(0, 0);
37053 return 0;
37055 _ACEOF
37056 if ac_fn_cxx_try_compile "$LINENO"; then :
37057 glibcxx_cv_func_atan2f_use=yes
37058 else
37059 glibcxx_cv_func_atan2f_use=no
37061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37062 ac_ext=c
37063 ac_cpp='$CPP $CPPFLAGS'
37064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
37073 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
37075 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
37076 for ac_func in atan2f
37077 do :
37078 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
37079 if test "x$ac_cv_func_atan2f" = xyes; then :
37080 cat >>confdefs.h <<_ACEOF
37081 #define HAVE_ATAN2F 1
37082 _ACEOF
37085 done
37087 else
37089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
37090 $as_echo_n "checking for _atan2f declaration... " >&6; }
37091 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
37092 if ${glibcxx_cv_func__atan2f_use+:} false; then :
37093 $as_echo_n "(cached) " >&6
37094 else
37097 ac_ext=cpp
37098 ac_cpp='$CXXCPP $CPPFLAGS'
37099 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37100 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37101 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37104 /* end confdefs.h. */
37105 #include <math.h>
37107 main ()
37109 _atan2f(0, 0);
37111 return 0;
37113 _ACEOF
37114 if ac_fn_cxx_try_compile "$LINENO"; then :
37115 glibcxx_cv_func__atan2f_use=yes
37116 else
37117 glibcxx_cv_func__atan2f_use=no
37119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37120 ac_ext=c
37121 ac_cpp='$CPP $CPPFLAGS'
37122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
37131 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
37133 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
37134 for ac_func in _atan2f
37135 do :
37136 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
37137 if test "x$ac_cv_func__atan2f" = xyes; then :
37138 cat >>confdefs.h <<_ACEOF
37139 #define HAVE__ATAN2F 1
37140 _ACEOF
37143 done
37152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
37153 $as_echo_n "checking for fabsf declaration... " >&6; }
37154 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
37155 if ${glibcxx_cv_func_fabsf_use+:} false; then :
37156 $as_echo_n "(cached) " >&6
37157 else
37160 ac_ext=cpp
37161 ac_cpp='$CXXCPP $CPPFLAGS'
37162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37167 /* end confdefs.h. */
37168 #include <math.h>
37169 #ifdef HAVE_IEEEFP_H
37170 #include <ieeefp.h>
37171 #endif
37174 main ()
37176 fabsf(0);
37178 return 0;
37180 _ACEOF
37181 if ac_fn_cxx_try_compile "$LINENO"; then :
37182 glibcxx_cv_func_fabsf_use=yes
37183 else
37184 glibcxx_cv_func_fabsf_use=no
37186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37187 ac_ext=c
37188 ac_cpp='$CPP $CPPFLAGS'
37189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
37198 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
37200 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
37201 for ac_func in fabsf
37202 do :
37203 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
37204 if test "x$ac_cv_func_fabsf" = xyes; then :
37205 cat >>confdefs.h <<_ACEOF
37206 #define HAVE_FABSF 1
37207 _ACEOF
37210 done
37212 else
37214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
37215 $as_echo_n "checking for _fabsf declaration... " >&6; }
37216 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
37217 if ${glibcxx_cv_func__fabsf_use+:} false; then :
37218 $as_echo_n "(cached) " >&6
37219 else
37222 ac_ext=cpp
37223 ac_cpp='$CXXCPP $CPPFLAGS'
37224 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37225 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37226 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37229 /* end confdefs.h. */
37230 #include <math.h>
37231 #ifdef HAVE_IEEEFP_H
37232 #include <ieeefp.h>
37233 #endif
37236 main ()
37238 _fabsf(0);
37240 return 0;
37242 _ACEOF
37243 if ac_fn_cxx_try_compile "$LINENO"; then :
37244 glibcxx_cv_func__fabsf_use=yes
37245 else
37246 glibcxx_cv_func__fabsf_use=no
37248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37249 ac_ext=c
37250 ac_cpp='$CPP $CPPFLAGS'
37251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
37260 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
37262 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
37263 for ac_func in _fabsf
37264 do :
37265 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
37266 if test "x$ac_cv_func__fabsf" = xyes; then :
37267 cat >>confdefs.h <<_ACEOF
37268 #define HAVE__FABSF 1
37269 _ACEOF
37272 done
37281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
37282 $as_echo_n "checking for fmodf declaration... " >&6; }
37283 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
37284 if ${glibcxx_cv_func_fmodf_use+:} false; then :
37285 $as_echo_n "(cached) " >&6
37286 else
37289 ac_ext=cpp
37290 ac_cpp='$CXXCPP $CPPFLAGS'
37291 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37292 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37293 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37296 /* end confdefs.h. */
37297 #include <math.h>
37299 main ()
37301 fmodf(0, 0);
37303 return 0;
37305 _ACEOF
37306 if ac_fn_cxx_try_compile "$LINENO"; then :
37307 glibcxx_cv_func_fmodf_use=yes
37308 else
37309 glibcxx_cv_func_fmodf_use=no
37311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37312 ac_ext=c
37313 ac_cpp='$CPP $CPPFLAGS'
37314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
37323 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
37325 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
37326 for ac_func in fmodf
37327 do :
37328 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
37329 if test "x$ac_cv_func_fmodf" = xyes; then :
37330 cat >>confdefs.h <<_ACEOF
37331 #define HAVE_FMODF 1
37332 _ACEOF
37335 done
37337 else
37339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
37340 $as_echo_n "checking for _fmodf declaration... " >&6; }
37341 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
37342 if ${glibcxx_cv_func__fmodf_use+:} false; then :
37343 $as_echo_n "(cached) " >&6
37344 else
37347 ac_ext=cpp
37348 ac_cpp='$CXXCPP $CPPFLAGS'
37349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37354 /* end confdefs.h. */
37355 #include <math.h>
37357 main ()
37359 _fmodf(0, 0);
37361 return 0;
37363 _ACEOF
37364 if ac_fn_cxx_try_compile "$LINENO"; then :
37365 glibcxx_cv_func__fmodf_use=yes
37366 else
37367 glibcxx_cv_func__fmodf_use=no
37369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37370 ac_ext=c
37371 ac_cpp='$CPP $CPPFLAGS'
37372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
37381 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
37383 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
37384 for ac_func in _fmodf
37385 do :
37386 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
37387 if test "x$ac_cv_func__fmodf" = xyes; then :
37388 cat >>confdefs.h <<_ACEOF
37389 #define HAVE__FMODF 1
37390 _ACEOF
37393 done
37402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
37403 $as_echo_n "checking for frexpf declaration... " >&6; }
37404 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
37405 if ${glibcxx_cv_func_frexpf_use+:} false; then :
37406 $as_echo_n "(cached) " >&6
37407 else
37410 ac_ext=cpp
37411 ac_cpp='$CXXCPP $CPPFLAGS'
37412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37417 /* end confdefs.h. */
37418 #include <math.h>
37420 main ()
37422 frexpf(0, 0);
37424 return 0;
37426 _ACEOF
37427 if ac_fn_cxx_try_compile "$LINENO"; then :
37428 glibcxx_cv_func_frexpf_use=yes
37429 else
37430 glibcxx_cv_func_frexpf_use=no
37432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37433 ac_ext=c
37434 ac_cpp='$CPP $CPPFLAGS'
37435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
37444 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
37446 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
37447 for ac_func in frexpf
37448 do :
37449 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
37450 if test "x$ac_cv_func_frexpf" = xyes; then :
37451 cat >>confdefs.h <<_ACEOF
37452 #define HAVE_FREXPF 1
37453 _ACEOF
37456 done
37458 else
37460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
37461 $as_echo_n "checking for _frexpf declaration... " >&6; }
37462 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
37463 if ${glibcxx_cv_func__frexpf_use+:} false; then :
37464 $as_echo_n "(cached) " >&6
37465 else
37468 ac_ext=cpp
37469 ac_cpp='$CXXCPP $CPPFLAGS'
37470 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37471 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37472 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37475 /* end confdefs.h. */
37476 #include <math.h>
37478 main ()
37480 _frexpf(0, 0);
37482 return 0;
37484 _ACEOF
37485 if ac_fn_cxx_try_compile "$LINENO"; then :
37486 glibcxx_cv_func__frexpf_use=yes
37487 else
37488 glibcxx_cv_func__frexpf_use=no
37490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37491 ac_ext=c
37492 ac_cpp='$CPP $CPPFLAGS'
37493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
37502 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
37504 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
37505 for ac_func in _frexpf
37506 do :
37507 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
37508 if test "x$ac_cv_func__frexpf" = xyes; then :
37509 cat >>confdefs.h <<_ACEOF
37510 #define HAVE__FREXPF 1
37511 _ACEOF
37514 done
37523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
37524 $as_echo_n "checking for hypotf declaration... " >&6; }
37525 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
37526 if ${glibcxx_cv_func_hypotf_use+:} false; then :
37527 $as_echo_n "(cached) " >&6
37528 else
37531 ac_ext=cpp
37532 ac_cpp='$CXXCPP $CPPFLAGS'
37533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37538 /* end confdefs.h. */
37539 #include <math.h>
37541 main ()
37543 hypotf(0, 0);
37545 return 0;
37547 _ACEOF
37548 if ac_fn_cxx_try_compile "$LINENO"; then :
37549 glibcxx_cv_func_hypotf_use=yes
37550 else
37551 glibcxx_cv_func_hypotf_use=no
37553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37554 ac_ext=c
37555 ac_cpp='$CPP $CPPFLAGS'
37556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
37565 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
37567 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
37568 for ac_func in hypotf
37569 do :
37570 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
37571 if test "x$ac_cv_func_hypotf" = xyes; then :
37572 cat >>confdefs.h <<_ACEOF
37573 #define HAVE_HYPOTF 1
37574 _ACEOF
37577 done
37579 else
37581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
37582 $as_echo_n "checking for _hypotf declaration... " >&6; }
37583 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
37584 if ${glibcxx_cv_func__hypotf_use+:} false; then :
37585 $as_echo_n "(cached) " >&6
37586 else
37589 ac_ext=cpp
37590 ac_cpp='$CXXCPP $CPPFLAGS'
37591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37596 /* end confdefs.h. */
37597 #include <math.h>
37599 main ()
37601 _hypotf(0, 0);
37603 return 0;
37605 _ACEOF
37606 if ac_fn_cxx_try_compile "$LINENO"; then :
37607 glibcxx_cv_func__hypotf_use=yes
37608 else
37609 glibcxx_cv_func__hypotf_use=no
37611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37612 ac_ext=c
37613 ac_cpp='$CPP $CPPFLAGS'
37614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
37623 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
37625 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
37626 for ac_func in _hypotf
37627 do :
37628 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
37629 if test "x$ac_cv_func__hypotf" = xyes; then :
37630 cat >>confdefs.h <<_ACEOF
37631 #define HAVE__HYPOTF 1
37632 _ACEOF
37635 done
37644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
37645 $as_echo_n "checking for ldexpf declaration... " >&6; }
37646 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
37647 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
37648 $as_echo_n "(cached) " >&6
37649 else
37652 ac_ext=cpp
37653 ac_cpp='$CXXCPP $CPPFLAGS'
37654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37659 /* end confdefs.h. */
37660 #include <math.h>
37662 main ()
37664 ldexpf(0, 0);
37666 return 0;
37668 _ACEOF
37669 if ac_fn_cxx_try_compile "$LINENO"; then :
37670 glibcxx_cv_func_ldexpf_use=yes
37671 else
37672 glibcxx_cv_func_ldexpf_use=no
37674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37675 ac_ext=c
37676 ac_cpp='$CPP $CPPFLAGS'
37677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
37686 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
37688 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
37689 for ac_func in ldexpf
37690 do :
37691 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
37692 if test "x$ac_cv_func_ldexpf" = xyes; then :
37693 cat >>confdefs.h <<_ACEOF
37694 #define HAVE_LDEXPF 1
37695 _ACEOF
37698 done
37700 else
37702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
37703 $as_echo_n "checking for _ldexpf declaration... " >&6; }
37704 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
37705 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
37706 $as_echo_n "(cached) " >&6
37707 else
37710 ac_ext=cpp
37711 ac_cpp='$CXXCPP $CPPFLAGS'
37712 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37713 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37714 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37717 /* end confdefs.h. */
37718 #include <math.h>
37720 main ()
37722 _ldexpf(0, 0);
37724 return 0;
37726 _ACEOF
37727 if ac_fn_cxx_try_compile "$LINENO"; then :
37728 glibcxx_cv_func__ldexpf_use=yes
37729 else
37730 glibcxx_cv_func__ldexpf_use=no
37732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37733 ac_ext=c
37734 ac_cpp='$CPP $CPPFLAGS'
37735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
37744 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
37746 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
37747 for ac_func in _ldexpf
37748 do :
37749 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
37750 if test "x$ac_cv_func__ldexpf" = xyes; then :
37751 cat >>confdefs.h <<_ACEOF
37752 #define HAVE__LDEXPF 1
37753 _ACEOF
37756 done
37765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
37766 $as_echo_n "checking for logf declaration... " >&6; }
37767 if test x${glibcxx_cv_func_logf_use+set} != xset; then
37768 if ${glibcxx_cv_func_logf_use+:} false; then :
37769 $as_echo_n "(cached) " >&6
37770 else
37773 ac_ext=cpp
37774 ac_cpp='$CXXCPP $CPPFLAGS'
37775 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37776 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37777 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37780 /* end confdefs.h. */
37781 #include <math.h>
37782 #ifdef HAVE_IEEEFP_H
37783 #include <ieeefp.h>
37784 #endif
37787 main ()
37789 logf(0);
37791 return 0;
37793 _ACEOF
37794 if ac_fn_cxx_try_compile "$LINENO"; then :
37795 glibcxx_cv_func_logf_use=yes
37796 else
37797 glibcxx_cv_func_logf_use=no
37799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37800 ac_ext=c
37801 ac_cpp='$CPP $CPPFLAGS'
37802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
37811 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
37813 if test x$glibcxx_cv_func_logf_use = x"yes"; then
37814 for ac_func in logf
37815 do :
37816 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
37817 if test "x$ac_cv_func_logf" = xyes; then :
37818 cat >>confdefs.h <<_ACEOF
37819 #define HAVE_LOGF 1
37820 _ACEOF
37823 done
37825 else
37827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
37828 $as_echo_n "checking for _logf declaration... " >&6; }
37829 if test x${glibcxx_cv_func__logf_use+set} != xset; then
37830 if ${glibcxx_cv_func__logf_use+:} false; then :
37831 $as_echo_n "(cached) " >&6
37832 else
37835 ac_ext=cpp
37836 ac_cpp='$CXXCPP $CPPFLAGS'
37837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37842 /* end confdefs.h. */
37843 #include <math.h>
37844 #ifdef HAVE_IEEEFP_H
37845 #include <ieeefp.h>
37846 #endif
37849 main ()
37851 _logf(0);
37853 return 0;
37855 _ACEOF
37856 if ac_fn_cxx_try_compile "$LINENO"; then :
37857 glibcxx_cv_func__logf_use=yes
37858 else
37859 glibcxx_cv_func__logf_use=no
37861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37862 ac_ext=c
37863 ac_cpp='$CPP $CPPFLAGS'
37864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
37873 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
37875 if test x$glibcxx_cv_func__logf_use = x"yes"; then
37876 for ac_func in _logf
37877 do :
37878 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
37879 if test "x$ac_cv_func__logf" = xyes; then :
37880 cat >>confdefs.h <<_ACEOF
37881 #define HAVE__LOGF 1
37882 _ACEOF
37885 done
37894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
37895 $as_echo_n "checking for log10f declaration... " >&6; }
37896 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
37897 if ${glibcxx_cv_func_log10f_use+:} false; then :
37898 $as_echo_n "(cached) " >&6
37899 else
37902 ac_ext=cpp
37903 ac_cpp='$CXXCPP $CPPFLAGS'
37904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37909 /* end confdefs.h. */
37910 #include <math.h>
37911 #ifdef HAVE_IEEEFP_H
37912 #include <ieeefp.h>
37913 #endif
37916 main ()
37918 log10f(0);
37920 return 0;
37922 _ACEOF
37923 if ac_fn_cxx_try_compile "$LINENO"; then :
37924 glibcxx_cv_func_log10f_use=yes
37925 else
37926 glibcxx_cv_func_log10f_use=no
37928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37929 ac_ext=c
37930 ac_cpp='$CPP $CPPFLAGS'
37931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
37940 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
37942 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
37943 for ac_func in log10f
37944 do :
37945 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
37946 if test "x$ac_cv_func_log10f" = xyes; then :
37947 cat >>confdefs.h <<_ACEOF
37948 #define HAVE_LOG10F 1
37949 _ACEOF
37952 done
37954 else
37956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
37957 $as_echo_n "checking for _log10f declaration... " >&6; }
37958 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
37959 if ${glibcxx_cv_func__log10f_use+:} false; then :
37960 $as_echo_n "(cached) " >&6
37961 else
37964 ac_ext=cpp
37965 ac_cpp='$CXXCPP $CPPFLAGS'
37966 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37967 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37968 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37971 /* end confdefs.h. */
37972 #include <math.h>
37973 #ifdef HAVE_IEEEFP_H
37974 #include <ieeefp.h>
37975 #endif
37978 main ()
37980 _log10f(0);
37982 return 0;
37984 _ACEOF
37985 if ac_fn_cxx_try_compile "$LINENO"; then :
37986 glibcxx_cv_func__log10f_use=yes
37987 else
37988 glibcxx_cv_func__log10f_use=no
37990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37991 ac_ext=c
37992 ac_cpp='$CPP $CPPFLAGS'
37993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
38002 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
38004 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
38005 for ac_func in _log10f
38006 do :
38007 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
38008 if test "x$ac_cv_func__log10f" = xyes; then :
38009 cat >>confdefs.h <<_ACEOF
38010 #define HAVE__LOG10F 1
38011 _ACEOF
38014 done
38023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
38024 $as_echo_n "checking for modff declaration... " >&6; }
38025 if test x${glibcxx_cv_func_modff_use+set} != xset; then
38026 if ${glibcxx_cv_func_modff_use+:} false; then :
38027 $as_echo_n "(cached) " >&6
38028 else
38031 ac_ext=cpp
38032 ac_cpp='$CXXCPP $CPPFLAGS'
38033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38038 /* end confdefs.h. */
38039 #include <math.h>
38041 main ()
38043 modff(0, 0);
38045 return 0;
38047 _ACEOF
38048 if ac_fn_cxx_try_compile "$LINENO"; then :
38049 glibcxx_cv_func_modff_use=yes
38050 else
38051 glibcxx_cv_func_modff_use=no
38053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38054 ac_ext=c
38055 ac_cpp='$CPP $CPPFLAGS'
38056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
38065 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
38067 if test x$glibcxx_cv_func_modff_use = x"yes"; then
38068 for ac_func in modff
38069 do :
38070 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
38071 if test "x$ac_cv_func_modff" = xyes; then :
38072 cat >>confdefs.h <<_ACEOF
38073 #define HAVE_MODFF 1
38074 _ACEOF
38077 done
38079 else
38081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
38082 $as_echo_n "checking for _modff declaration... " >&6; }
38083 if test x${glibcxx_cv_func__modff_use+set} != xset; then
38084 if ${glibcxx_cv_func__modff_use+:} false; then :
38085 $as_echo_n "(cached) " >&6
38086 else
38089 ac_ext=cpp
38090 ac_cpp='$CXXCPP $CPPFLAGS'
38091 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38092 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38093 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38096 /* end confdefs.h. */
38097 #include <math.h>
38099 main ()
38101 _modff(0, 0);
38103 return 0;
38105 _ACEOF
38106 if ac_fn_cxx_try_compile "$LINENO"; then :
38107 glibcxx_cv_func__modff_use=yes
38108 else
38109 glibcxx_cv_func__modff_use=no
38111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38112 ac_ext=c
38113 ac_cpp='$CPP $CPPFLAGS'
38114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
38123 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
38125 if test x$glibcxx_cv_func__modff_use = x"yes"; then
38126 for ac_func in _modff
38127 do :
38128 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
38129 if test "x$ac_cv_func__modff" = xyes; then :
38130 cat >>confdefs.h <<_ACEOF
38131 #define HAVE__MODFF 1
38132 _ACEOF
38135 done
38144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
38145 $as_echo_n "checking for modf declaration... " >&6; }
38146 if test x${glibcxx_cv_func_modf_use+set} != xset; then
38147 if ${glibcxx_cv_func_modf_use+:} false; then :
38148 $as_echo_n "(cached) " >&6
38149 else
38152 ac_ext=cpp
38153 ac_cpp='$CXXCPP $CPPFLAGS'
38154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38159 /* end confdefs.h. */
38160 #include <math.h>
38162 main ()
38164 modf(0, 0);
38166 return 0;
38168 _ACEOF
38169 if ac_fn_cxx_try_compile "$LINENO"; then :
38170 glibcxx_cv_func_modf_use=yes
38171 else
38172 glibcxx_cv_func_modf_use=no
38174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38175 ac_ext=c
38176 ac_cpp='$CPP $CPPFLAGS'
38177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
38186 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
38188 if test x$glibcxx_cv_func_modf_use = x"yes"; then
38189 for ac_func in modf
38190 do :
38191 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
38192 if test "x$ac_cv_func_modf" = xyes; then :
38193 cat >>confdefs.h <<_ACEOF
38194 #define HAVE_MODF 1
38195 _ACEOF
38198 done
38200 else
38202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
38203 $as_echo_n "checking for _modf declaration... " >&6; }
38204 if test x${glibcxx_cv_func__modf_use+set} != xset; then
38205 if ${glibcxx_cv_func__modf_use+:} false; then :
38206 $as_echo_n "(cached) " >&6
38207 else
38210 ac_ext=cpp
38211 ac_cpp='$CXXCPP $CPPFLAGS'
38212 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38213 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38214 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38217 /* end confdefs.h. */
38218 #include <math.h>
38220 main ()
38222 _modf(0, 0);
38224 return 0;
38226 _ACEOF
38227 if ac_fn_cxx_try_compile "$LINENO"; then :
38228 glibcxx_cv_func__modf_use=yes
38229 else
38230 glibcxx_cv_func__modf_use=no
38232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38233 ac_ext=c
38234 ac_cpp='$CPP $CPPFLAGS'
38235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
38244 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
38246 if test x$glibcxx_cv_func__modf_use = x"yes"; then
38247 for ac_func in _modf
38248 do :
38249 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
38250 if test "x$ac_cv_func__modf" = xyes; then :
38251 cat >>confdefs.h <<_ACEOF
38252 #define HAVE__MODF 1
38253 _ACEOF
38256 done
38265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
38266 $as_echo_n "checking for powf declaration... " >&6; }
38267 if test x${glibcxx_cv_func_powf_use+set} != xset; then
38268 if ${glibcxx_cv_func_powf_use+:} false; then :
38269 $as_echo_n "(cached) " >&6
38270 else
38273 ac_ext=cpp
38274 ac_cpp='$CXXCPP $CPPFLAGS'
38275 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38276 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38277 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38280 /* end confdefs.h. */
38281 #include <math.h>
38283 main ()
38285 powf(0, 0);
38287 return 0;
38289 _ACEOF
38290 if ac_fn_cxx_try_compile "$LINENO"; then :
38291 glibcxx_cv_func_powf_use=yes
38292 else
38293 glibcxx_cv_func_powf_use=no
38295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38296 ac_ext=c
38297 ac_cpp='$CPP $CPPFLAGS'
38298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
38307 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
38309 if test x$glibcxx_cv_func_powf_use = x"yes"; then
38310 for ac_func in powf
38311 do :
38312 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
38313 if test "x$ac_cv_func_powf" = xyes; then :
38314 cat >>confdefs.h <<_ACEOF
38315 #define HAVE_POWF 1
38316 _ACEOF
38319 done
38321 else
38323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
38324 $as_echo_n "checking for _powf declaration... " >&6; }
38325 if test x${glibcxx_cv_func__powf_use+set} != xset; then
38326 if ${glibcxx_cv_func__powf_use+:} false; then :
38327 $as_echo_n "(cached) " >&6
38328 else
38331 ac_ext=cpp
38332 ac_cpp='$CXXCPP $CPPFLAGS'
38333 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38334 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38335 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38338 /* end confdefs.h. */
38339 #include <math.h>
38341 main ()
38343 _powf(0, 0);
38345 return 0;
38347 _ACEOF
38348 if ac_fn_cxx_try_compile "$LINENO"; then :
38349 glibcxx_cv_func__powf_use=yes
38350 else
38351 glibcxx_cv_func__powf_use=no
38353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38354 ac_ext=c
38355 ac_cpp='$CPP $CPPFLAGS'
38356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
38365 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
38367 if test x$glibcxx_cv_func__powf_use = x"yes"; then
38368 for ac_func in _powf
38369 do :
38370 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
38371 if test "x$ac_cv_func__powf" = xyes; then :
38372 cat >>confdefs.h <<_ACEOF
38373 #define HAVE__POWF 1
38374 _ACEOF
38377 done
38386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
38387 $as_echo_n "checking for sqrtf declaration... " >&6; }
38388 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
38389 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
38390 $as_echo_n "(cached) " >&6
38391 else
38394 ac_ext=cpp
38395 ac_cpp='$CXXCPP $CPPFLAGS'
38396 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38397 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38398 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38401 /* end confdefs.h. */
38402 #include <math.h>
38403 #ifdef HAVE_IEEEFP_H
38404 #include <ieeefp.h>
38405 #endif
38408 main ()
38410 sqrtf(0);
38412 return 0;
38414 _ACEOF
38415 if ac_fn_cxx_try_compile "$LINENO"; then :
38416 glibcxx_cv_func_sqrtf_use=yes
38417 else
38418 glibcxx_cv_func_sqrtf_use=no
38420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38421 ac_ext=c
38422 ac_cpp='$CPP $CPPFLAGS'
38423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
38432 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
38434 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
38435 for ac_func in sqrtf
38436 do :
38437 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
38438 if test "x$ac_cv_func_sqrtf" = xyes; then :
38439 cat >>confdefs.h <<_ACEOF
38440 #define HAVE_SQRTF 1
38441 _ACEOF
38444 done
38446 else
38448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
38449 $as_echo_n "checking for _sqrtf declaration... " >&6; }
38450 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
38451 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
38452 $as_echo_n "(cached) " >&6
38453 else
38456 ac_ext=cpp
38457 ac_cpp='$CXXCPP $CPPFLAGS'
38458 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38459 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38460 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38463 /* end confdefs.h. */
38464 #include <math.h>
38465 #ifdef HAVE_IEEEFP_H
38466 #include <ieeefp.h>
38467 #endif
38470 main ()
38472 _sqrtf(0);
38474 return 0;
38476 _ACEOF
38477 if ac_fn_cxx_try_compile "$LINENO"; then :
38478 glibcxx_cv_func__sqrtf_use=yes
38479 else
38480 glibcxx_cv_func__sqrtf_use=no
38482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38483 ac_ext=c
38484 ac_cpp='$CPP $CPPFLAGS'
38485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
38494 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
38496 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
38497 for ac_func in _sqrtf
38498 do :
38499 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
38500 if test "x$ac_cv_func__sqrtf" = xyes; then :
38501 cat >>confdefs.h <<_ACEOF
38502 #define HAVE__SQRTF 1
38503 _ACEOF
38506 done
38515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
38516 $as_echo_n "checking for sincosf declaration... " >&6; }
38517 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
38518 if ${glibcxx_cv_func_sincosf_use+:} false; then :
38519 $as_echo_n "(cached) " >&6
38520 else
38523 ac_ext=cpp
38524 ac_cpp='$CXXCPP $CPPFLAGS'
38525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38530 /* end confdefs.h. */
38531 #include <math.h>
38533 main ()
38535 sincosf(0, 0, 0);
38537 return 0;
38539 _ACEOF
38540 if ac_fn_cxx_try_compile "$LINENO"; then :
38541 glibcxx_cv_func_sincosf_use=yes
38542 else
38543 glibcxx_cv_func_sincosf_use=no
38545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38546 ac_ext=c
38547 ac_cpp='$CPP $CPPFLAGS'
38548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
38557 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
38559 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
38560 for ac_func in sincosf
38561 do :
38562 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
38563 if test "x$ac_cv_func_sincosf" = xyes; then :
38564 cat >>confdefs.h <<_ACEOF
38565 #define HAVE_SINCOSF 1
38566 _ACEOF
38569 done
38571 else
38573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
38574 $as_echo_n "checking for _sincosf declaration... " >&6; }
38575 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
38576 if ${glibcxx_cv_func__sincosf_use+:} false; then :
38577 $as_echo_n "(cached) " >&6
38578 else
38581 ac_ext=cpp
38582 ac_cpp='$CXXCPP $CPPFLAGS'
38583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38588 /* end confdefs.h. */
38589 #include <math.h>
38591 main ()
38593 _sincosf(0, 0, 0);
38595 return 0;
38597 _ACEOF
38598 if ac_fn_cxx_try_compile "$LINENO"; then :
38599 glibcxx_cv_func__sincosf_use=yes
38600 else
38601 glibcxx_cv_func__sincosf_use=no
38603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38604 ac_ext=c
38605 ac_cpp='$CPP $CPPFLAGS'
38606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
38615 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
38617 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
38618 for ac_func in _sincosf
38619 do :
38620 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
38621 if test "x$ac_cv_func__sincosf" = xyes; then :
38622 cat >>confdefs.h <<_ACEOF
38623 #define HAVE__SINCOSF 1
38624 _ACEOF
38627 done
38636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
38637 $as_echo_n "checking for finitef declaration... " >&6; }
38638 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
38639 if ${glibcxx_cv_func_finitef_use+:} false; then :
38640 $as_echo_n "(cached) " >&6
38641 else
38644 ac_ext=cpp
38645 ac_cpp='$CXXCPP $CPPFLAGS'
38646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38651 /* end confdefs.h. */
38652 #include <math.h>
38653 #ifdef HAVE_IEEEFP_H
38654 #include <ieeefp.h>
38655 #endif
38658 main ()
38660 finitef(0);
38662 return 0;
38664 _ACEOF
38665 if ac_fn_cxx_try_compile "$LINENO"; then :
38666 glibcxx_cv_func_finitef_use=yes
38667 else
38668 glibcxx_cv_func_finitef_use=no
38670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38671 ac_ext=c
38672 ac_cpp='$CPP $CPPFLAGS'
38673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
38682 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
38684 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
38685 for ac_func in finitef
38686 do :
38687 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
38688 if test "x$ac_cv_func_finitef" = xyes; then :
38689 cat >>confdefs.h <<_ACEOF
38690 #define HAVE_FINITEF 1
38691 _ACEOF
38694 done
38696 else
38698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
38699 $as_echo_n "checking for _finitef declaration... " >&6; }
38700 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
38701 if ${glibcxx_cv_func__finitef_use+:} false; then :
38702 $as_echo_n "(cached) " >&6
38703 else
38706 ac_ext=cpp
38707 ac_cpp='$CXXCPP $CPPFLAGS'
38708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38713 /* end confdefs.h. */
38714 #include <math.h>
38715 #ifdef HAVE_IEEEFP_H
38716 #include <ieeefp.h>
38717 #endif
38720 main ()
38722 _finitef(0);
38724 return 0;
38726 _ACEOF
38727 if ac_fn_cxx_try_compile "$LINENO"; then :
38728 glibcxx_cv_func__finitef_use=yes
38729 else
38730 glibcxx_cv_func__finitef_use=no
38732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38733 ac_ext=c
38734 ac_cpp='$CPP $CPPFLAGS'
38735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
38744 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
38746 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
38747 for ac_func in _finitef
38748 do :
38749 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
38750 if test "x$ac_cv_func__finitef" = xyes; then :
38751 cat >>confdefs.h <<_ACEOF
38752 #define HAVE__FINITEF 1
38753 _ACEOF
38756 done
38765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
38766 $as_echo_n "checking for long double trig functions... " >&6; }
38767 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
38768 $as_echo_n "(cached) " >&6
38769 else
38772 ac_ext=cpp
38773 ac_cpp='$CXXCPP $CPPFLAGS'
38774 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38775 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38776 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38779 /* end confdefs.h. */
38780 #include <math.h>
38782 main ()
38784 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
38786 return 0;
38788 _ACEOF
38789 if ac_fn_cxx_try_compile "$LINENO"; then :
38790 glibcxx_cv_func_long_double_trig_use=yes
38791 else
38792 glibcxx_cv_func_long_double_trig_use=no
38794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38795 ac_ext=c
38796 ac_cpp='$CPP $CPPFLAGS'
38797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
38804 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
38805 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
38806 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
38807 do :
38808 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38809 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38810 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
38811 cat >>confdefs.h <<_ACEOF
38812 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38813 _ACEOF
38816 done
38818 else
38819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
38820 $as_echo_n "checking for _long double trig functions... " >&6; }
38821 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
38822 $as_echo_n "(cached) " >&6
38823 else
38826 ac_ext=cpp
38827 ac_cpp='$CXXCPP $CPPFLAGS'
38828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38833 /* end confdefs.h. */
38834 #include <math.h>
38836 main ()
38838 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
38840 return 0;
38842 _ACEOF
38843 if ac_fn_cxx_try_compile "$LINENO"; then :
38844 glibcxx_cv_func__long_double_trig_use=yes
38845 else
38846 glibcxx_cv_func__long_double_trig_use=no
38848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38849 ac_ext=c
38850 ac_cpp='$CPP $CPPFLAGS'
38851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38852 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38853 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
38858 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
38859 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
38860 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
38861 do :
38862 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38863 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38864 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
38865 cat >>confdefs.h <<_ACEOF
38866 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38867 _ACEOF
38870 done
38879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
38880 $as_echo_n "checking for long double round functions... " >&6; }
38881 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
38882 $as_echo_n "(cached) " >&6
38883 else
38886 ac_ext=cpp
38887 ac_cpp='$CXXCPP $CPPFLAGS'
38888 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38889 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38890 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38893 /* end confdefs.h. */
38894 #include <math.h>
38896 main ()
38898 ceill (0); floorl (0);
38900 return 0;
38902 _ACEOF
38903 if ac_fn_cxx_try_compile "$LINENO"; then :
38904 glibcxx_cv_func_long_double_round_use=yes
38905 else
38906 glibcxx_cv_func_long_double_round_use=no
38908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38909 ac_ext=c
38910 ac_cpp='$CPP $CPPFLAGS'
38911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
38918 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
38919 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
38920 for ac_func in ceill floorl
38921 do :
38922 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38923 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38924 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
38925 cat >>confdefs.h <<_ACEOF
38926 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38927 _ACEOF
38930 done
38932 else
38933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
38934 $as_echo_n "checking for _long double round functions... " >&6; }
38935 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
38936 $as_echo_n "(cached) " >&6
38937 else
38940 ac_ext=cpp
38941 ac_cpp='$CXXCPP $CPPFLAGS'
38942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38947 /* end confdefs.h. */
38948 #include <math.h>
38950 main ()
38952 _ceill (0); _floorl (0);
38954 return 0;
38956 _ACEOF
38957 if ac_fn_cxx_try_compile "$LINENO"; then :
38958 glibcxx_cv_func__long_double_round_use=yes
38959 else
38960 glibcxx_cv_func__long_double_round_use=no
38962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38963 ac_ext=c
38964 ac_cpp='$CPP $CPPFLAGS'
38965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
38972 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
38973 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
38974 for ac_func in _ceill _floorl
38975 do :
38976 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38977 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38978 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
38979 cat >>confdefs.h <<_ACEOF
38980 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38981 _ACEOF
38984 done
38994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
38995 $as_echo_n "checking for isnanl declaration... " >&6; }
38996 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
38997 if ${glibcxx_cv_func_isnanl_use+:} false; then :
38998 $as_echo_n "(cached) " >&6
38999 else
39002 ac_ext=cpp
39003 ac_cpp='$CXXCPP $CPPFLAGS'
39004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39009 /* end confdefs.h. */
39010 #include <math.h>
39011 #ifdef HAVE_IEEEFP_H
39012 #include <ieeefp.h>
39013 #endif
39016 main ()
39018 isnanl(0);
39020 return 0;
39022 _ACEOF
39023 if ac_fn_cxx_try_compile "$LINENO"; then :
39024 glibcxx_cv_func_isnanl_use=yes
39025 else
39026 glibcxx_cv_func_isnanl_use=no
39028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39029 ac_ext=c
39030 ac_cpp='$CPP $CPPFLAGS'
39031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
39040 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
39042 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
39043 for ac_func in isnanl
39044 do :
39045 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
39046 if test "x$ac_cv_func_isnanl" = xyes; then :
39047 cat >>confdefs.h <<_ACEOF
39048 #define HAVE_ISNANL 1
39049 _ACEOF
39052 done
39054 else
39056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
39057 $as_echo_n "checking for _isnanl declaration... " >&6; }
39058 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
39059 if ${glibcxx_cv_func__isnanl_use+:} false; then :
39060 $as_echo_n "(cached) " >&6
39061 else
39064 ac_ext=cpp
39065 ac_cpp='$CXXCPP $CPPFLAGS'
39066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39071 /* end confdefs.h. */
39072 #include <math.h>
39073 #ifdef HAVE_IEEEFP_H
39074 #include <ieeefp.h>
39075 #endif
39078 main ()
39080 _isnanl(0);
39082 return 0;
39084 _ACEOF
39085 if ac_fn_cxx_try_compile "$LINENO"; then :
39086 glibcxx_cv_func__isnanl_use=yes
39087 else
39088 glibcxx_cv_func__isnanl_use=no
39090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39091 ac_ext=c
39092 ac_cpp='$CPP $CPPFLAGS'
39093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
39102 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
39104 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
39105 for ac_func in _isnanl
39106 do :
39107 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
39108 if test "x$ac_cv_func__isnanl" = xyes; then :
39109 cat >>confdefs.h <<_ACEOF
39110 #define HAVE__ISNANL 1
39111 _ACEOF
39114 done
39123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
39124 $as_echo_n "checking for isinfl declaration... " >&6; }
39125 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
39126 if ${glibcxx_cv_func_isinfl_use+:} false; then :
39127 $as_echo_n "(cached) " >&6
39128 else
39131 ac_ext=cpp
39132 ac_cpp='$CXXCPP $CPPFLAGS'
39133 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39134 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39135 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39138 /* end confdefs.h. */
39139 #include <math.h>
39140 #ifdef HAVE_IEEEFP_H
39141 #include <ieeefp.h>
39142 #endif
39145 main ()
39147 isinfl(0);
39149 return 0;
39151 _ACEOF
39152 if ac_fn_cxx_try_compile "$LINENO"; then :
39153 glibcxx_cv_func_isinfl_use=yes
39154 else
39155 glibcxx_cv_func_isinfl_use=no
39157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39158 ac_ext=c
39159 ac_cpp='$CPP $CPPFLAGS'
39160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
39169 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
39171 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
39172 for ac_func in isinfl
39173 do :
39174 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
39175 if test "x$ac_cv_func_isinfl" = xyes; then :
39176 cat >>confdefs.h <<_ACEOF
39177 #define HAVE_ISINFL 1
39178 _ACEOF
39181 done
39183 else
39185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
39186 $as_echo_n "checking for _isinfl declaration... " >&6; }
39187 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
39188 if ${glibcxx_cv_func__isinfl_use+:} false; then :
39189 $as_echo_n "(cached) " >&6
39190 else
39193 ac_ext=cpp
39194 ac_cpp='$CXXCPP $CPPFLAGS'
39195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39200 /* end confdefs.h. */
39201 #include <math.h>
39202 #ifdef HAVE_IEEEFP_H
39203 #include <ieeefp.h>
39204 #endif
39207 main ()
39209 _isinfl(0);
39211 return 0;
39213 _ACEOF
39214 if ac_fn_cxx_try_compile "$LINENO"; then :
39215 glibcxx_cv_func__isinfl_use=yes
39216 else
39217 glibcxx_cv_func__isinfl_use=no
39219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39220 ac_ext=c
39221 ac_cpp='$CPP $CPPFLAGS'
39222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
39231 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
39233 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
39234 for ac_func in _isinfl
39235 do :
39236 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
39237 if test "x$ac_cv_func__isinfl" = xyes; then :
39238 cat >>confdefs.h <<_ACEOF
39239 #define HAVE__ISINFL 1
39240 _ACEOF
39243 done
39252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
39253 $as_echo_n "checking for atan2l declaration... " >&6; }
39254 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
39255 if ${glibcxx_cv_func_atan2l_use+:} false; then :
39256 $as_echo_n "(cached) " >&6
39257 else
39260 ac_ext=cpp
39261 ac_cpp='$CXXCPP $CPPFLAGS'
39262 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39263 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39264 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39267 /* end confdefs.h. */
39268 #include <math.h>
39270 main ()
39272 atan2l(0, 0);
39274 return 0;
39276 _ACEOF
39277 if ac_fn_cxx_try_compile "$LINENO"; then :
39278 glibcxx_cv_func_atan2l_use=yes
39279 else
39280 glibcxx_cv_func_atan2l_use=no
39282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39283 ac_ext=c
39284 ac_cpp='$CPP $CPPFLAGS'
39285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39286 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
39294 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
39296 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
39297 for ac_func in atan2l
39298 do :
39299 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
39300 if test "x$ac_cv_func_atan2l" = xyes; then :
39301 cat >>confdefs.h <<_ACEOF
39302 #define HAVE_ATAN2L 1
39303 _ACEOF
39306 done
39308 else
39310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
39311 $as_echo_n "checking for _atan2l declaration... " >&6; }
39312 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
39313 if ${glibcxx_cv_func__atan2l_use+:} false; then :
39314 $as_echo_n "(cached) " >&6
39315 else
39318 ac_ext=cpp
39319 ac_cpp='$CXXCPP $CPPFLAGS'
39320 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39321 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39322 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39325 /* end confdefs.h. */
39326 #include <math.h>
39328 main ()
39330 _atan2l(0, 0);
39332 return 0;
39334 _ACEOF
39335 if ac_fn_cxx_try_compile "$LINENO"; then :
39336 glibcxx_cv_func__atan2l_use=yes
39337 else
39338 glibcxx_cv_func__atan2l_use=no
39340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39341 ac_ext=c
39342 ac_cpp='$CPP $CPPFLAGS'
39343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
39352 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
39354 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
39355 for ac_func in _atan2l
39356 do :
39357 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
39358 if test "x$ac_cv_func__atan2l" = xyes; then :
39359 cat >>confdefs.h <<_ACEOF
39360 #define HAVE__ATAN2L 1
39361 _ACEOF
39364 done
39373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
39374 $as_echo_n "checking for expl declaration... " >&6; }
39375 if test x${glibcxx_cv_func_expl_use+set} != xset; then
39376 if ${glibcxx_cv_func_expl_use+:} false; then :
39377 $as_echo_n "(cached) " >&6
39378 else
39381 ac_ext=cpp
39382 ac_cpp='$CXXCPP $CPPFLAGS'
39383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39388 /* end confdefs.h. */
39389 #include <math.h>
39390 #ifdef HAVE_IEEEFP_H
39391 #include <ieeefp.h>
39392 #endif
39395 main ()
39397 expl(0);
39399 return 0;
39401 _ACEOF
39402 if ac_fn_cxx_try_compile "$LINENO"; then :
39403 glibcxx_cv_func_expl_use=yes
39404 else
39405 glibcxx_cv_func_expl_use=no
39407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39408 ac_ext=c
39409 ac_cpp='$CPP $CPPFLAGS'
39410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
39419 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
39421 if test x$glibcxx_cv_func_expl_use = x"yes"; then
39422 for ac_func in expl
39423 do :
39424 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
39425 if test "x$ac_cv_func_expl" = xyes; then :
39426 cat >>confdefs.h <<_ACEOF
39427 #define HAVE_EXPL 1
39428 _ACEOF
39431 done
39433 else
39435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
39436 $as_echo_n "checking for _expl declaration... " >&6; }
39437 if test x${glibcxx_cv_func__expl_use+set} != xset; then
39438 if ${glibcxx_cv_func__expl_use+:} false; then :
39439 $as_echo_n "(cached) " >&6
39440 else
39443 ac_ext=cpp
39444 ac_cpp='$CXXCPP $CPPFLAGS'
39445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39450 /* end confdefs.h. */
39451 #include <math.h>
39452 #ifdef HAVE_IEEEFP_H
39453 #include <ieeefp.h>
39454 #endif
39457 main ()
39459 _expl(0);
39461 return 0;
39463 _ACEOF
39464 if ac_fn_cxx_try_compile "$LINENO"; then :
39465 glibcxx_cv_func__expl_use=yes
39466 else
39467 glibcxx_cv_func__expl_use=no
39469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39470 ac_ext=c
39471 ac_cpp='$CPP $CPPFLAGS'
39472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
39481 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
39483 if test x$glibcxx_cv_func__expl_use = x"yes"; then
39484 for ac_func in _expl
39485 do :
39486 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
39487 if test "x$ac_cv_func__expl" = xyes; then :
39488 cat >>confdefs.h <<_ACEOF
39489 #define HAVE__EXPL 1
39490 _ACEOF
39493 done
39502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
39503 $as_echo_n "checking for fabsl declaration... " >&6; }
39504 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
39505 if ${glibcxx_cv_func_fabsl_use+:} false; then :
39506 $as_echo_n "(cached) " >&6
39507 else
39510 ac_ext=cpp
39511 ac_cpp='$CXXCPP $CPPFLAGS'
39512 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39513 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39514 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39517 /* end confdefs.h. */
39518 #include <math.h>
39519 #ifdef HAVE_IEEEFP_H
39520 #include <ieeefp.h>
39521 #endif
39524 main ()
39526 fabsl(0);
39528 return 0;
39530 _ACEOF
39531 if ac_fn_cxx_try_compile "$LINENO"; then :
39532 glibcxx_cv_func_fabsl_use=yes
39533 else
39534 glibcxx_cv_func_fabsl_use=no
39536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39537 ac_ext=c
39538 ac_cpp='$CPP $CPPFLAGS'
39539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
39548 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
39550 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
39551 for ac_func in fabsl
39552 do :
39553 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
39554 if test "x$ac_cv_func_fabsl" = xyes; then :
39555 cat >>confdefs.h <<_ACEOF
39556 #define HAVE_FABSL 1
39557 _ACEOF
39560 done
39562 else
39564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
39565 $as_echo_n "checking for _fabsl declaration... " >&6; }
39566 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
39567 if ${glibcxx_cv_func__fabsl_use+:} false; then :
39568 $as_echo_n "(cached) " >&6
39569 else
39572 ac_ext=cpp
39573 ac_cpp='$CXXCPP $CPPFLAGS'
39574 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39575 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39576 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39579 /* end confdefs.h. */
39580 #include <math.h>
39581 #ifdef HAVE_IEEEFP_H
39582 #include <ieeefp.h>
39583 #endif
39586 main ()
39588 _fabsl(0);
39590 return 0;
39592 _ACEOF
39593 if ac_fn_cxx_try_compile "$LINENO"; then :
39594 glibcxx_cv_func__fabsl_use=yes
39595 else
39596 glibcxx_cv_func__fabsl_use=no
39598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39599 ac_ext=c
39600 ac_cpp='$CPP $CPPFLAGS'
39601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
39610 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
39612 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
39613 for ac_func in _fabsl
39614 do :
39615 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
39616 if test "x$ac_cv_func__fabsl" = xyes; then :
39617 cat >>confdefs.h <<_ACEOF
39618 #define HAVE__FABSL 1
39619 _ACEOF
39622 done
39631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
39632 $as_echo_n "checking for fmodl declaration... " >&6; }
39633 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
39634 if ${glibcxx_cv_func_fmodl_use+:} false; then :
39635 $as_echo_n "(cached) " >&6
39636 else
39639 ac_ext=cpp
39640 ac_cpp='$CXXCPP $CPPFLAGS'
39641 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39642 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39643 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39646 /* end confdefs.h. */
39647 #include <math.h>
39649 main ()
39651 fmodl(0, 0);
39653 return 0;
39655 _ACEOF
39656 if ac_fn_cxx_try_compile "$LINENO"; then :
39657 glibcxx_cv_func_fmodl_use=yes
39658 else
39659 glibcxx_cv_func_fmodl_use=no
39661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39662 ac_ext=c
39663 ac_cpp='$CPP $CPPFLAGS'
39664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
39673 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
39675 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
39676 for ac_func in fmodl
39677 do :
39678 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
39679 if test "x$ac_cv_func_fmodl" = xyes; then :
39680 cat >>confdefs.h <<_ACEOF
39681 #define HAVE_FMODL 1
39682 _ACEOF
39685 done
39687 else
39689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
39690 $as_echo_n "checking for _fmodl declaration... " >&6; }
39691 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
39692 if ${glibcxx_cv_func__fmodl_use+:} false; then :
39693 $as_echo_n "(cached) " >&6
39694 else
39697 ac_ext=cpp
39698 ac_cpp='$CXXCPP $CPPFLAGS'
39699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39704 /* end confdefs.h. */
39705 #include <math.h>
39707 main ()
39709 _fmodl(0, 0);
39711 return 0;
39713 _ACEOF
39714 if ac_fn_cxx_try_compile "$LINENO"; then :
39715 glibcxx_cv_func__fmodl_use=yes
39716 else
39717 glibcxx_cv_func__fmodl_use=no
39719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39720 ac_ext=c
39721 ac_cpp='$CPP $CPPFLAGS'
39722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
39731 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
39733 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
39734 for ac_func in _fmodl
39735 do :
39736 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
39737 if test "x$ac_cv_func__fmodl" = xyes; then :
39738 cat >>confdefs.h <<_ACEOF
39739 #define HAVE__FMODL 1
39740 _ACEOF
39743 done
39752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
39753 $as_echo_n "checking for frexpl declaration... " >&6; }
39754 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
39755 if ${glibcxx_cv_func_frexpl_use+:} false; then :
39756 $as_echo_n "(cached) " >&6
39757 else
39760 ac_ext=cpp
39761 ac_cpp='$CXXCPP $CPPFLAGS'
39762 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39763 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39764 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39767 /* end confdefs.h. */
39768 #include <math.h>
39770 main ()
39772 frexpl(0, 0);
39774 return 0;
39776 _ACEOF
39777 if ac_fn_cxx_try_compile "$LINENO"; then :
39778 glibcxx_cv_func_frexpl_use=yes
39779 else
39780 glibcxx_cv_func_frexpl_use=no
39782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39783 ac_ext=c
39784 ac_cpp='$CPP $CPPFLAGS'
39785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
39794 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
39796 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
39797 for ac_func in frexpl
39798 do :
39799 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
39800 if test "x$ac_cv_func_frexpl" = xyes; then :
39801 cat >>confdefs.h <<_ACEOF
39802 #define HAVE_FREXPL 1
39803 _ACEOF
39806 done
39808 else
39810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
39811 $as_echo_n "checking for _frexpl declaration... " >&6; }
39812 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
39813 if ${glibcxx_cv_func__frexpl_use+:} false; then :
39814 $as_echo_n "(cached) " >&6
39815 else
39818 ac_ext=cpp
39819 ac_cpp='$CXXCPP $CPPFLAGS'
39820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39825 /* end confdefs.h. */
39826 #include <math.h>
39828 main ()
39830 _frexpl(0, 0);
39832 return 0;
39834 _ACEOF
39835 if ac_fn_cxx_try_compile "$LINENO"; then :
39836 glibcxx_cv_func__frexpl_use=yes
39837 else
39838 glibcxx_cv_func__frexpl_use=no
39840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39841 ac_ext=c
39842 ac_cpp='$CPP $CPPFLAGS'
39843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
39852 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
39854 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
39855 for ac_func in _frexpl
39856 do :
39857 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
39858 if test "x$ac_cv_func__frexpl" = xyes; then :
39859 cat >>confdefs.h <<_ACEOF
39860 #define HAVE__FREXPL 1
39861 _ACEOF
39864 done
39873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
39874 $as_echo_n "checking for hypotl declaration... " >&6; }
39875 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
39876 if ${glibcxx_cv_func_hypotl_use+:} false; then :
39877 $as_echo_n "(cached) " >&6
39878 else
39881 ac_ext=cpp
39882 ac_cpp='$CXXCPP $CPPFLAGS'
39883 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39884 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39885 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39888 /* end confdefs.h. */
39889 #include <math.h>
39891 main ()
39893 hypotl(0, 0);
39895 return 0;
39897 _ACEOF
39898 if ac_fn_cxx_try_compile "$LINENO"; then :
39899 glibcxx_cv_func_hypotl_use=yes
39900 else
39901 glibcxx_cv_func_hypotl_use=no
39903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39904 ac_ext=c
39905 ac_cpp='$CPP $CPPFLAGS'
39906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
39915 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
39917 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
39918 for ac_func in hypotl
39919 do :
39920 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
39921 if test "x$ac_cv_func_hypotl" = xyes; then :
39922 cat >>confdefs.h <<_ACEOF
39923 #define HAVE_HYPOTL 1
39924 _ACEOF
39927 done
39929 else
39931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
39932 $as_echo_n "checking for _hypotl declaration... " >&6; }
39933 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
39934 if ${glibcxx_cv_func__hypotl_use+:} false; then :
39935 $as_echo_n "(cached) " >&6
39936 else
39939 ac_ext=cpp
39940 ac_cpp='$CXXCPP $CPPFLAGS'
39941 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39942 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39943 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39946 /* end confdefs.h. */
39947 #include <math.h>
39949 main ()
39951 _hypotl(0, 0);
39953 return 0;
39955 _ACEOF
39956 if ac_fn_cxx_try_compile "$LINENO"; then :
39957 glibcxx_cv_func__hypotl_use=yes
39958 else
39959 glibcxx_cv_func__hypotl_use=no
39961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39962 ac_ext=c
39963 ac_cpp='$CPP $CPPFLAGS'
39964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
39973 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
39975 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
39976 for ac_func in _hypotl
39977 do :
39978 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
39979 if test "x$ac_cv_func__hypotl" = xyes; then :
39980 cat >>confdefs.h <<_ACEOF
39981 #define HAVE__HYPOTL 1
39982 _ACEOF
39985 done
39994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
39995 $as_echo_n "checking for ldexpl declaration... " >&6; }
39996 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
39997 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
39998 $as_echo_n "(cached) " >&6
39999 else
40002 ac_ext=cpp
40003 ac_cpp='$CXXCPP $CPPFLAGS'
40004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40009 /* end confdefs.h. */
40010 #include <math.h>
40012 main ()
40014 ldexpl(0, 0);
40016 return 0;
40018 _ACEOF
40019 if ac_fn_cxx_try_compile "$LINENO"; then :
40020 glibcxx_cv_func_ldexpl_use=yes
40021 else
40022 glibcxx_cv_func_ldexpl_use=no
40024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40025 ac_ext=c
40026 ac_cpp='$CPP $CPPFLAGS'
40027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
40036 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
40038 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
40039 for ac_func in ldexpl
40040 do :
40041 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
40042 if test "x$ac_cv_func_ldexpl" = xyes; then :
40043 cat >>confdefs.h <<_ACEOF
40044 #define HAVE_LDEXPL 1
40045 _ACEOF
40048 done
40050 else
40052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
40053 $as_echo_n "checking for _ldexpl declaration... " >&6; }
40054 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
40055 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
40056 $as_echo_n "(cached) " >&6
40057 else
40060 ac_ext=cpp
40061 ac_cpp='$CXXCPP $CPPFLAGS'
40062 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40063 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40064 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40067 /* end confdefs.h. */
40068 #include <math.h>
40070 main ()
40072 _ldexpl(0, 0);
40074 return 0;
40076 _ACEOF
40077 if ac_fn_cxx_try_compile "$LINENO"; then :
40078 glibcxx_cv_func__ldexpl_use=yes
40079 else
40080 glibcxx_cv_func__ldexpl_use=no
40082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40083 ac_ext=c
40084 ac_cpp='$CPP $CPPFLAGS'
40085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
40094 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
40096 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
40097 for ac_func in _ldexpl
40098 do :
40099 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
40100 if test "x$ac_cv_func__ldexpl" = xyes; then :
40101 cat >>confdefs.h <<_ACEOF
40102 #define HAVE__LDEXPL 1
40103 _ACEOF
40106 done
40115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
40116 $as_echo_n "checking for logl declaration... " >&6; }
40117 if test x${glibcxx_cv_func_logl_use+set} != xset; then
40118 if ${glibcxx_cv_func_logl_use+:} false; then :
40119 $as_echo_n "(cached) " >&6
40120 else
40123 ac_ext=cpp
40124 ac_cpp='$CXXCPP $CPPFLAGS'
40125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40130 /* end confdefs.h. */
40131 #include <math.h>
40132 #ifdef HAVE_IEEEFP_H
40133 #include <ieeefp.h>
40134 #endif
40137 main ()
40139 logl(0);
40141 return 0;
40143 _ACEOF
40144 if ac_fn_cxx_try_compile "$LINENO"; then :
40145 glibcxx_cv_func_logl_use=yes
40146 else
40147 glibcxx_cv_func_logl_use=no
40149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40150 ac_ext=c
40151 ac_cpp='$CPP $CPPFLAGS'
40152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
40161 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
40163 if test x$glibcxx_cv_func_logl_use = x"yes"; then
40164 for ac_func in logl
40165 do :
40166 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
40167 if test "x$ac_cv_func_logl" = xyes; then :
40168 cat >>confdefs.h <<_ACEOF
40169 #define HAVE_LOGL 1
40170 _ACEOF
40173 done
40175 else
40177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
40178 $as_echo_n "checking for _logl declaration... " >&6; }
40179 if test x${glibcxx_cv_func__logl_use+set} != xset; then
40180 if ${glibcxx_cv_func__logl_use+:} false; then :
40181 $as_echo_n "(cached) " >&6
40182 else
40185 ac_ext=cpp
40186 ac_cpp='$CXXCPP $CPPFLAGS'
40187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40192 /* end confdefs.h. */
40193 #include <math.h>
40194 #ifdef HAVE_IEEEFP_H
40195 #include <ieeefp.h>
40196 #endif
40199 main ()
40201 _logl(0);
40203 return 0;
40205 _ACEOF
40206 if ac_fn_cxx_try_compile "$LINENO"; then :
40207 glibcxx_cv_func__logl_use=yes
40208 else
40209 glibcxx_cv_func__logl_use=no
40211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40212 ac_ext=c
40213 ac_cpp='$CPP $CPPFLAGS'
40214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
40223 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
40225 if test x$glibcxx_cv_func__logl_use = x"yes"; then
40226 for ac_func in _logl
40227 do :
40228 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
40229 if test "x$ac_cv_func__logl" = xyes; then :
40230 cat >>confdefs.h <<_ACEOF
40231 #define HAVE__LOGL 1
40232 _ACEOF
40235 done
40244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
40245 $as_echo_n "checking for log10l declaration... " >&6; }
40246 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
40247 if ${glibcxx_cv_func_log10l_use+:} false; then :
40248 $as_echo_n "(cached) " >&6
40249 else
40252 ac_ext=cpp
40253 ac_cpp='$CXXCPP $CPPFLAGS'
40254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40259 /* end confdefs.h. */
40260 #include <math.h>
40261 #ifdef HAVE_IEEEFP_H
40262 #include <ieeefp.h>
40263 #endif
40266 main ()
40268 log10l(0);
40270 return 0;
40272 _ACEOF
40273 if ac_fn_cxx_try_compile "$LINENO"; then :
40274 glibcxx_cv_func_log10l_use=yes
40275 else
40276 glibcxx_cv_func_log10l_use=no
40278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40279 ac_ext=c
40280 ac_cpp='$CPP $CPPFLAGS'
40281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
40290 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
40292 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
40293 for ac_func in log10l
40294 do :
40295 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
40296 if test "x$ac_cv_func_log10l" = xyes; then :
40297 cat >>confdefs.h <<_ACEOF
40298 #define HAVE_LOG10L 1
40299 _ACEOF
40302 done
40304 else
40306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
40307 $as_echo_n "checking for _log10l declaration... " >&6; }
40308 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
40309 if ${glibcxx_cv_func__log10l_use+:} false; then :
40310 $as_echo_n "(cached) " >&6
40311 else
40314 ac_ext=cpp
40315 ac_cpp='$CXXCPP $CPPFLAGS'
40316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40321 /* end confdefs.h. */
40322 #include <math.h>
40323 #ifdef HAVE_IEEEFP_H
40324 #include <ieeefp.h>
40325 #endif
40328 main ()
40330 _log10l(0);
40332 return 0;
40334 _ACEOF
40335 if ac_fn_cxx_try_compile "$LINENO"; then :
40336 glibcxx_cv_func__log10l_use=yes
40337 else
40338 glibcxx_cv_func__log10l_use=no
40340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40341 ac_ext=c
40342 ac_cpp='$CPP $CPPFLAGS'
40343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
40352 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
40354 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
40355 for ac_func in _log10l
40356 do :
40357 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
40358 if test "x$ac_cv_func__log10l" = xyes; then :
40359 cat >>confdefs.h <<_ACEOF
40360 #define HAVE__LOG10L 1
40361 _ACEOF
40364 done
40373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
40374 $as_echo_n "checking for modfl declaration... " >&6; }
40375 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
40376 if ${glibcxx_cv_func_modfl_use+:} false; then :
40377 $as_echo_n "(cached) " >&6
40378 else
40381 ac_ext=cpp
40382 ac_cpp='$CXXCPP $CPPFLAGS'
40383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40388 /* end confdefs.h. */
40389 #include <math.h>
40391 main ()
40393 modfl(0, 0);
40395 return 0;
40397 _ACEOF
40398 if ac_fn_cxx_try_compile "$LINENO"; then :
40399 glibcxx_cv_func_modfl_use=yes
40400 else
40401 glibcxx_cv_func_modfl_use=no
40403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40404 ac_ext=c
40405 ac_cpp='$CPP $CPPFLAGS'
40406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
40415 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
40417 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
40418 for ac_func in modfl
40419 do :
40420 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
40421 if test "x$ac_cv_func_modfl" = xyes; then :
40422 cat >>confdefs.h <<_ACEOF
40423 #define HAVE_MODFL 1
40424 _ACEOF
40427 done
40429 else
40431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
40432 $as_echo_n "checking for _modfl declaration... " >&6; }
40433 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
40434 if ${glibcxx_cv_func__modfl_use+:} false; then :
40435 $as_echo_n "(cached) " >&6
40436 else
40439 ac_ext=cpp
40440 ac_cpp='$CXXCPP $CPPFLAGS'
40441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40446 /* end confdefs.h. */
40447 #include <math.h>
40449 main ()
40451 _modfl(0, 0);
40453 return 0;
40455 _ACEOF
40456 if ac_fn_cxx_try_compile "$LINENO"; then :
40457 glibcxx_cv_func__modfl_use=yes
40458 else
40459 glibcxx_cv_func__modfl_use=no
40461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40462 ac_ext=c
40463 ac_cpp='$CPP $CPPFLAGS'
40464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
40473 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
40475 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
40476 for ac_func in _modfl
40477 do :
40478 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
40479 if test "x$ac_cv_func__modfl" = xyes; then :
40480 cat >>confdefs.h <<_ACEOF
40481 #define HAVE__MODFL 1
40482 _ACEOF
40485 done
40494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
40495 $as_echo_n "checking for powl declaration... " >&6; }
40496 if test x${glibcxx_cv_func_powl_use+set} != xset; then
40497 if ${glibcxx_cv_func_powl_use+:} false; then :
40498 $as_echo_n "(cached) " >&6
40499 else
40502 ac_ext=cpp
40503 ac_cpp='$CXXCPP $CPPFLAGS'
40504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40509 /* end confdefs.h. */
40510 #include <math.h>
40512 main ()
40514 powl(0, 0);
40516 return 0;
40518 _ACEOF
40519 if ac_fn_cxx_try_compile "$LINENO"; then :
40520 glibcxx_cv_func_powl_use=yes
40521 else
40522 glibcxx_cv_func_powl_use=no
40524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40525 ac_ext=c
40526 ac_cpp='$CPP $CPPFLAGS'
40527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
40536 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
40538 if test x$glibcxx_cv_func_powl_use = x"yes"; then
40539 for ac_func in powl
40540 do :
40541 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
40542 if test "x$ac_cv_func_powl" = xyes; then :
40543 cat >>confdefs.h <<_ACEOF
40544 #define HAVE_POWL 1
40545 _ACEOF
40548 done
40550 else
40552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
40553 $as_echo_n "checking for _powl declaration... " >&6; }
40554 if test x${glibcxx_cv_func__powl_use+set} != xset; then
40555 if ${glibcxx_cv_func__powl_use+:} false; then :
40556 $as_echo_n "(cached) " >&6
40557 else
40560 ac_ext=cpp
40561 ac_cpp='$CXXCPP $CPPFLAGS'
40562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40567 /* end confdefs.h. */
40568 #include <math.h>
40570 main ()
40572 _powl(0, 0);
40574 return 0;
40576 _ACEOF
40577 if ac_fn_cxx_try_compile "$LINENO"; then :
40578 glibcxx_cv_func__powl_use=yes
40579 else
40580 glibcxx_cv_func__powl_use=no
40582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40583 ac_ext=c
40584 ac_cpp='$CPP $CPPFLAGS'
40585 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40586 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40587 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
40594 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
40596 if test x$glibcxx_cv_func__powl_use = x"yes"; then
40597 for ac_func in _powl
40598 do :
40599 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
40600 if test "x$ac_cv_func__powl" = xyes; then :
40601 cat >>confdefs.h <<_ACEOF
40602 #define HAVE__POWL 1
40603 _ACEOF
40606 done
40615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
40616 $as_echo_n "checking for sqrtl declaration... " >&6; }
40617 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
40618 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
40619 $as_echo_n "(cached) " >&6
40620 else
40623 ac_ext=cpp
40624 ac_cpp='$CXXCPP $CPPFLAGS'
40625 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40626 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40627 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40630 /* end confdefs.h. */
40631 #include <math.h>
40632 #ifdef HAVE_IEEEFP_H
40633 #include <ieeefp.h>
40634 #endif
40637 main ()
40639 sqrtl(0);
40641 return 0;
40643 _ACEOF
40644 if ac_fn_cxx_try_compile "$LINENO"; then :
40645 glibcxx_cv_func_sqrtl_use=yes
40646 else
40647 glibcxx_cv_func_sqrtl_use=no
40649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40650 ac_ext=c
40651 ac_cpp='$CPP $CPPFLAGS'
40652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
40661 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
40663 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
40664 for ac_func in sqrtl
40665 do :
40666 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
40667 if test "x$ac_cv_func_sqrtl" = xyes; then :
40668 cat >>confdefs.h <<_ACEOF
40669 #define HAVE_SQRTL 1
40670 _ACEOF
40673 done
40675 else
40677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
40678 $as_echo_n "checking for _sqrtl declaration... " >&6; }
40679 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
40680 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
40681 $as_echo_n "(cached) " >&6
40682 else
40685 ac_ext=cpp
40686 ac_cpp='$CXXCPP $CPPFLAGS'
40687 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40688 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40689 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40692 /* end confdefs.h. */
40693 #include <math.h>
40694 #ifdef HAVE_IEEEFP_H
40695 #include <ieeefp.h>
40696 #endif
40699 main ()
40701 _sqrtl(0);
40703 return 0;
40705 _ACEOF
40706 if ac_fn_cxx_try_compile "$LINENO"; then :
40707 glibcxx_cv_func__sqrtl_use=yes
40708 else
40709 glibcxx_cv_func__sqrtl_use=no
40711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40712 ac_ext=c
40713 ac_cpp='$CPP $CPPFLAGS'
40714 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40715 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40716 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
40723 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
40725 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
40726 for ac_func in _sqrtl
40727 do :
40728 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
40729 if test "x$ac_cv_func__sqrtl" = xyes; then :
40730 cat >>confdefs.h <<_ACEOF
40731 #define HAVE__SQRTL 1
40732 _ACEOF
40735 done
40744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
40745 $as_echo_n "checking for sincosl declaration... " >&6; }
40746 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
40747 if ${glibcxx_cv_func_sincosl_use+:} false; then :
40748 $as_echo_n "(cached) " >&6
40749 else
40752 ac_ext=cpp
40753 ac_cpp='$CXXCPP $CPPFLAGS'
40754 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40755 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40756 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40759 /* end confdefs.h. */
40760 #include <math.h>
40762 main ()
40764 sincosl(0, 0, 0);
40766 return 0;
40768 _ACEOF
40769 if ac_fn_cxx_try_compile "$LINENO"; then :
40770 glibcxx_cv_func_sincosl_use=yes
40771 else
40772 glibcxx_cv_func_sincosl_use=no
40774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40775 ac_ext=c
40776 ac_cpp='$CPP $CPPFLAGS'
40777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
40786 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
40788 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
40789 for ac_func in sincosl
40790 do :
40791 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
40792 if test "x$ac_cv_func_sincosl" = xyes; then :
40793 cat >>confdefs.h <<_ACEOF
40794 #define HAVE_SINCOSL 1
40795 _ACEOF
40798 done
40800 else
40802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
40803 $as_echo_n "checking for _sincosl declaration... " >&6; }
40804 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
40805 if ${glibcxx_cv_func__sincosl_use+:} false; then :
40806 $as_echo_n "(cached) " >&6
40807 else
40810 ac_ext=cpp
40811 ac_cpp='$CXXCPP $CPPFLAGS'
40812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40817 /* end confdefs.h. */
40818 #include <math.h>
40820 main ()
40822 _sincosl(0, 0, 0);
40824 return 0;
40826 _ACEOF
40827 if ac_fn_cxx_try_compile "$LINENO"; then :
40828 glibcxx_cv_func__sincosl_use=yes
40829 else
40830 glibcxx_cv_func__sincosl_use=no
40832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40833 ac_ext=c
40834 ac_cpp='$CPP $CPPFLAGS'
40835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
40844 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
40846 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
40847 for ac_func in _sincosl
40848 do :
40849 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
40850 if test "x$ac_cv_func__sincosl" = xyes; then :
40851 cat >>confdefs.h <<_ACEOF
40852 #define HAVE__SINCOSL 1
40853 _ACEOF
40856 done
40865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
40866 $as_echo_n "checking for finitel declaration... " >&6; }
40867 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
40868 if ${glibcxx_cv_func_finitel_use+:} false; then :
40869 $as_echo_n "(cached) " >&6
40870 else
40873 ac_ext=cpp
40874 ac_cpp='$CXXCPP $CPPFLAGS'
40875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40880 /* end confdefs.h. */
40881 #include <math.h>
40882 #ifdef HAVE_IEEEFP_H
40883 #include <ieeefp.h>
40884 #endif
40887 main ()
40889 finitel(0);
40891 return 0;
40893 _ACEOF
40894 if ac_fn_cxx_try_compile "$LINENO"; then :
40895 glibcxx_cv_func_finitel_use=yes
40896 else
40897 glibcxx_cv_func_finitel_use=no
40899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40900 ac_ext=c
40901 ac_cpp='$CPP $CPPFLAGS'
40902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
40911 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
40913 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
40914 for ac_func in finitel
40915 do :
40916 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
40917 if test "x$ac_cv_func_finitel" = xyes; then :
40918 cat >>confdefs.h <<_ACEOF
40919 #define HAVE_FINITEL 1
40920 _ACEOF
40923 done
40925 else
40927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
40928 $as_echo_n "checking for _finitel declaration... " >&6; }
40929 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
40930 if ${glibcxx_cv_func__finitel_use+:} false; then :
40931 $as_echo_n "(cached) " >&6
40932 else
40935 ac_ext=cpp
40936 ac_cpp='$CXXCPP $CPPFLAGS'
40937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40942 /* end confdefs.h. */
40943 #include <math.h>
40944 #ifdef HAVE_IEEEFP_H
40945 #include <ieeefp.h>
40946 #endif
40949 main ()
40951 _finitel(0);
40953 return 0;
40955 _ACEOF
40956 if ac_fn_cxx_try_compile "$LINENO"; then :
40957 glibcxx_cv_func__finitel_use=yes
40958 else
40959 glibcxx_cv_func__finitel_use=no
40961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40962 ac_ext=c
40963 ac_cpp='$CPP $CPPFLAGS'
40964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
40973 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
40975 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
40976 for ac_func in _finitel
40977 do :
40978 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
40979 if test "x$ac_cv_func__finitel" = xyes; then :
40980 cat >>confdefs.h <<_ACEOF
40981 #define HAVE__FINITEL 1
40982 _ACEOF
40985 done
40993 LIBS="$ac_save_LIBS"
40994 CXXFLAGS="$ac_save_CXXFLAGS"
40997 ac_test_CXXFLAGS="${CXXFLAGS+set}"
40998 ac_save_CXXFLAGS="$CXXFLAGS"
40999 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
41002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
41003 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
41004 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
41005 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
41006 $as_echo_n "(cached) " >&6
41007 else
41010 ac_ext=cpp
41011 ac_cpp='$CXXCPP $CPPFLAGS'
41012 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41013 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41014 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41017 /* end confdefs.h. */
41018 #include <stdlib.h>
41020 main ()
41022 at_quick_exit(0);
41024 return 0;
41026 _ACEOF
41027 if ac_fn_cxx_try_compile "$LINENO"; then :
41028 glibcxx_cv_func_at_quick_exit_use=yes
41029 else
41030 glibcxx_cv_func_at_quick_exit_use=no
41032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41033 ac_ext=c
41034 ac_cpp='$CPP $CPPFLAGS'
41035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
41044 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
41045 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
41046 for ac_func in at_quick_exit
41047 do :
41048 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
41049 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
41050 cat >>confdefs.h <<_ACEOF
41051 #define HAVE_AT_QUICK_EXIT 1
41052 _ACEOF
41055 done
41060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
41061 $as_echo_n "checking for quick_exit declaration... " >&6; }
41062 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
41063 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
41064 $as_echo_n "(cached) " >&6
41065 else
41068 ac_ext=cpp
41069 ac_cpp='$CXXCPP $CPPFLAGS'
41070 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41071 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41072 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41075 /* end confdefs.h. */
41076 #include <stdlib.h>
41078 main ()
41080 quick_exit(0);
41082 return 0;
41084 _ACEOF
41085 if ac_fn_cxx_try_compile "$LINENO"; then :
41086 glibcxx_cv_func_quick_exit_use=yes
41087 else
41088 glibcxx_cv_func_quick_exit_use=no
41090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41091 ac_ext=c
41092 ac_cpp='$CPP $CPPFLAGS'
41093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
41102 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
41103 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
41104 for ac_func in quick_exit
41105 do :
41106 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
41107 if test "x$ac_cv_func_quick_exit" = xyes; then :
41108 cat >>confdefs.h <<_ACEOF
41109 #define HAVE_QUICK_EXIT 1
41110 _ACEOF
41113 done
41118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
41119 $as_echo_n "checking for strtold declaration... " >&6; }
41120 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
41121 if ${glibcxx_cv_func_strtold_use+:} false; then :
41122 $as_echo_n "(cached) " >&6
41123 else
41126 ac_ext=cpp
41127 ac_cpp='$CXXCPP $CPPFLAGS'
41128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41133 /* end confdefs.h. */
41134 #include <stdlib.h>
41136 main ()
41138 strtold(0, 0);
41140 return 0;
41142 _ACEOF
41143 if ac_fn_cxx_try_compile "$LINENO"; then :
41144 glibcxx_cv_func_strtold_use=yes
41145 else
41146 glibcxx_cv_func_strtold_use=no
41148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41149 ac_ext=c
41150 ac_cpp='$CPP $CPPFLAGS'
41151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
41160 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
41161 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
41162 for ac_func in strtold
41163 do :
41164 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
41165 if test "x$ac_cv_func_strtold" = xyes; then :
41166 cat >>confdefs.h <<_ACEOF
41167 #define HAVE_STRTOLD 1
41168 _ACEOF
41171 done
41178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
41179 $as_echo_n "checking for strtof declaration... " >&6; }
41180 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
41181 if ${glibcxx_cv_func_strtof_use+:} false; then :
41182 $as_echo_n "(cached) " >&6
41183 else
41186 ac_ext=cpp
41187 ac_cpp='$CXXCPP $CPPFLAGS'
41188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41193 /* end confdefs.h. */
41194 #include <stdlib.h>
41196 main ()
41198 strtof(0, 0);
41200 return 0;
41202 _ACEOF
41203 if ac_fn_cxx_try_compile "$LINENO"; then :
41204 glibcxx_cv_func_strtof_use=yes
41205 else
41206 glibcxx_cv_func_strtof_use=no
41208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41209 ac_ext=c
41210 ac_cpp='$CPP $CPPFLAGS'
41211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
41220 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
41221 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
41222 for ac_func in strtof
41223 do :
41224 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
41225 if test "x$ac_cv_func_strtof" = xyes; then :
41226 cat >>confdefs.h <<_ACEOF
41227 #define HAVE_STRTOF 1
41228 _ACEOF
41231 done
41238 CXXFLAGS="$ac_save_CXXFLAGS"
41240 $as_echo "#define _GLIBCXX_USE_DEV_RANDOM 1" >>confdefs.h
41242 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
41244 # We don't yet support AIX's TLS ABI.
41245 #GCC_CHECK_TLS
41251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
41252 $as_echo_n "checking for iconv... " >&6; }
41253 if ${am_cv_func_iconv+:} false; then :
41254 $as_echo_n "(cached) " >&6
41255 else
41257 am_cv_func_iconv="no, consider installing GNU libiconv"
41258 am_cv_lib_iconv=no
41259 am_save_CPPFLAGS="$CPPFLAGS"
41260 CPPFLAGS="$CPPFLAGS $INCICONV"
41261 if test x$gcc_no_link = xyes; then
41262 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41265 /* end confdefs.h. */
41266 #include <stdlib.h>
41267 #include <iconv.h>
41269 main ()
41271 iconv_t cd = iconv_open("","");
41272 iconv(cd,NULL,NULL,NULL,NULL);
41273 iconv_close(cd);
41275 return 0;
41277 _ACEOF
41278 if ac_fn_c_try_link "$LINENO"; then :
41279 am_cv_func_iconv=yes
41281 rm -f core conftest.err conftest.$ac_objext \
41282 conftest$ac_exeext conftest.$ac_ext
41283 CPPFLAGS="$am_save_CPPFLAGS"
41285 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
41286 for _libs in .libs _libs; do
41287 am_save_CPPFLAGS="$CPPFLAGS"
41288 am_save_LIBS="$LIBS"
41289 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
41290 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
41291 if test x$gcc_no_link = xyes; then
41292 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41295 /* end confdefs.h. */
41296 #include <stdlib.h>
41297 #include <iconv.h>
41299 main ()
41301 iconv_t cd = iconv_open("","");
41302 iconv(cd,NULL,NULL,NULL,NULL);
41303 iconv_close(cd);
41305 return 0;
41307 _ACEOF
41308 if ac_fn_c_try_link "$LINENO"; then :
41309 INCICONV="-I../libiconv/include"
41310 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
41311 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
41312 am_cv_lib_iconv=yes
41313 am_cv_func_iconv=yes
41315 rm -f core conftest.err conftest.$ac_objext \
41316 conftest$ac_exeext conftest.$ac_ext
41317 CPPFLAGS="$am_save_CPPFLAGS"
41318 LIBS="$am_save_LIBS"
41319 if test "$am_cv_func_iconv" = "yes"; then
41320 break
41322 done
41325 if test "$am_cv_func_iconv" != yes; then
41326 am_save_CPPFLAGS="$CPPFLAGS"
41327 am_save_LIBS="$LIBS"
41328 CPPFLAGS="$CPPFLAGS $INCICONV"
41329 LIBS="$LIBS $LIBICONV"
41330 if test x$gcc_no_link = xyes; then
41331 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41334 /* end confdefs.h. */
41335 #include <stdlib.h>
41336 #include <iconv.h>
41338 main ()
41340 iconv_t cd = iconv_open("","");
41341 iconv(cd,NULL,NULL,NULL,NULL);
41342 iconv_close(cd);
41344 return 0;
41346 _ACEOF
41347 if ac_fn_c_try_link "$LINENO"; then :
41348 am_cv_lib_iconv=yes
41349 am_cv_func_iconv=yes
41351 rm -f core conftest.err conftest.$ac_objext \
41352 conftest$ac_exeext conftest.$ac_ext
41353 CPPFLAGS="$am_save_CPPFLAGS"
41354 LIBS="$am_save_LIBS"
41358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
41359 $as_echo "$am_cv_func_iconv" >&6; }
41360 if test "$am_cv_func_iconv" = yes; then
41362 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
41365 if test "$am_cv_lib_iconv" = yes; then
41367 for element in $INCICONV; do
41368 haveit=
41369 for x in $CPPFLAGS; do
41371 acl_save_prefix="$prefix"
41372 prefix="$acl_final_prefix"
41373 acl_save_exec_prefix="$exec_prefix"
41374 exec_prefix="$acl_final_exec_prefix"
41375 eval x=\"$x\"
41376 exec_prefix="$acl_save_exec_prefix"
41377 prefix="$acl_save_prefix"
41379 if test "X$x" = "X$element"; then
41380 haveit=yes
41381 break
41383 done
41384 if test -z "$haveit"; then
41385 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
41387 done
41389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
41390 $as_echo_n "checking how to link with libiconv... " >&6; }
41391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
41392 $as_echo "$LIBICONV" >&6; }
41393 else
41394 LIBICONV=
41395 LTLIBICONV=
41400 if test "$am_cv_func_iconv" = yes; then
41401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
41402 $as_echo_n "checking for iconv declaration... " >&6; }
41403 if ${am_cv_proto_iconv+:} false; then :
41404 $as_echo_n "(cached) " >&6
41405 else
41407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41408 /* end confdefs.h. */
41410 #include <stdlib.h>
41411 #include <iconv.h>
41412 extern
41413 #ifdef __cplusplus
41415 #endif
41416 #if defined(__STDC__) || defined(__cplusplus)
41417 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
41418 #else
41419 size_t iconv();
41420 #endif
41423 main ()
41427 return 0;
41429 _ACEOF
41430 if ac_fn_c_try_compile "$LINENO"; then :
41431 am_cv_proto_iconv_arg1=""
41432 else
41433 am_cv_proto_iconv_arg1="const"
41435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41436 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);"
41439 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
41440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
41441 }$am_cv_proto_iconv" >&5
41442 $as_echo "${ac_t:-
41443 }$am_cv_proto_iconv" >&6; }
41445 cat >>confdefs.h <<_ACEOF
41446 #define ICONV_CONST $am_cv_proto_iconv_arg1
41447 _ACEOF
41452 $as_echo "#define HAVE_USELOCALE 1" >>confdefs.h
41456 *-darwin*)
41457 # Darwin versions vary, but the linker should work in a cross environment,
41458 # so we just check for all the features here.
41459 # Check for available headers.
41461 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
41463 ac_test_CXXFLAGS="${CXXFLAGS+set}"
41464 ac_save_CXXFLAGS="$CXXFLAGS"
41465 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
41467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
41468 $as_echo_n "checking for sin in -lm... " >&6; }
41469 if ${ac_cv_lib_m_sin+:} false; then :
41470 $as_echo_n "(cached) " >&6
41471 else
41472 ac_check_lib_save_LIBS=$LIBS
41473 LIBS="-lm $LIBS"
41474 if test x$gcc_no_link = xyes; then
41475 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41478 /* end confdefs.h. */
41480 /* Override any GCC internal prototype to avoid an error.
41481 Use char because int might match the return type of a GCC
41482 builtin and then its argument prototype would still apply. */
41483 #ifdef __cplusplus
41484 extern "C"
41485 #endif
41486 char sin ();
41488 main ()
41490 return sin ();
41492 return 0;
41494 _ACEOF
41495 if ac_fn_c_try_link "$LINENO"; then :
41496 ac_cv_lib_m_sin=yes
41497 else
41498 ac_cv_lib_m_sin=no
41500 rm -f core conftest.err conftest.$ac_objext \
41501 conftest$ac_exeext conftest.$ac_ext
41502 LIBS=$ac_check_lib_save_LIBS
41504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
41505 $as_echo "$ac_cv_lib_m_sin" >&6; }
41506 if test "x$ac_cv_lib_m_sin" = xyes; then :
41507 libm="-lm"
41510 ac_save_LIBS="$LIBS"
41511 LIBS="$LIBS $libm"
41515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
41516 $as_echo_n "checking for isinf declaration... " >&6; }
41517 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
41518 if ${glibcxx_cv_func_isinf_use+:} false; then :
41519 $as_echo_n "(cached) " >&6
41520 else
41523 ac_ext=cpp
41524 ac_cpp='$CXXCPP $CPPFLAGS'
41525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41530 /* end confdefs.h. */
41531 #include <math.h>
41532 #ifdef HAVE_IEEEFP_H
41533 #include <ieeefp.h>
41534 #endif
41537 main ()
41539 isinf(0);
41541 return 0;
41543 _ACEOF
41544 if ac_fn_cxx_try_compile "$LINENO"; then :
41545 glibcxx_cv_func_isinf_use=yes
41546 else
41547 glibcxx_cv_func_isinf_use=no
41549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41550 ac_ext=c
41551 ac_cpp='$CPP $CPPFLAGS'
41552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
41561 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
41563 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
41564 for ac_func in isinf
41565 do :
41566 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
41567 if test "x$ac_cv_func_isinf" = xyes; then :
41568 cat >>confdefs.h <<_ACEOF
41569 #define HAVE_ISINF 1
41570 _ACEOF
41573 done
41575 else
41577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
41578 $as_echo_n "checking for _isinf declaration... " >&6; }
41579 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
41580 if ${glibcxx_cv_func__isinf_use+:} false; then :
41581 $as_echo_n "(cached) " >&6
41582 else
41585 ac_ext=cpp
41586 ac_cpp='$CXXCPP $CPPFLAGS'
41587 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41588 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41589 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41592 /* end confdefs.h. */
41593 #include <math.h>
41594 #ifdef HAVE_IEEEFP_H
41595 #include <ieeefp.h>
41596 #endif
41599 main ()
41601 _isinf(0);
41603 return 0;
41605 _ACEOF
41606 if ac_fn_cxx_try_compile "$LINENO"; then :
41607 glibcxx_cv_func__isinf_use=yes
41608 else
41609 glibcxx_cv_func__isinf_use=no
41611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41612 ac_ext=c
41613 ac_cpp='$CPP $CPPFLAGS'
41614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
41623 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
41625 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
41626 for ac_func in _isinf
41627 do :
41628 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
41629 if test "x$ac_cv_func__isinf" = xyes; then :
41630 cat >>confdefs.h <<_ACEOF
41631 #define HAVE__ISINF 1
41632 _ACEOF
41635 done
41644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
41645 $as_echo_n "checking for isnan declaration... " >&6; }
41646 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
41647 if ${glibcxx_cv_func_isnan_use+:} false; then :
41648 $as_echo_n "(cached) " >&6
41649 else
41652 ac_ext=cpp
41653 ac_cpp='$CXXCPP $CPPFLAGS'
41654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41659 /* end confdefs.h. */
41660 #include <math.h>
41661 #ifdef HAVE_IEEEFP_H
41662 #include <ieeefp.h>
41663 #endif
41666 main ()
41668 isnan(0);
41670 return 0;
41672 _ACEOF
41673 if ac_fn_cxx_try_compile "$LINENO"; then :
41674 glibcxx_cv_func_isnan_use=yes
41675 else
41676 glibcxx_cv_func_isnan_use=no
41678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41679 ac_ext=c
41680 ac_cpp='$CPP $CPPFLAGS'
41681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
41690 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
41692 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
41693 for ac_func in isnan
41694 do :
41695 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
41696 if test "x$ac_cv_func_isnan" = xyes; then :
41697 cat >>confdefs.h <<_ACEOF
41698 #define HAVE_ISNAN 1
41699 _ACEOF
41702 done
41704 else
41706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
41707 $as_echo_n "checking for _isnan declaration... " >&6; }
41708 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
41709 if ${glibcxx_cv_func__isnan_use+:} false; then :
41710 $as_echo_n "(cached) " >&6
41711 else
41714 ac_ext=cpp
41715 ac_cpp='$CXXCPP $CPPFLAGS'
41716 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41717 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41718 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41721 /* end confdefs.h. */
41722 #include <math.h>
41723 #ifdef HAVE_IEEEFP_H
41724 #include <ieeefp.h>
41725 #endif
41728 main ()
41730 _isnan(0);
41732 return 0;
41734 _ACEOF
41735 if ac_fn_cxx_try_compile "$LINENO"; then :
41736 glibcxx_cv_func__isnan_use=yes
41737 else
41738 glibcxx_cv_func__isnan_use=no
41740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41741 ac_ext=c
41742 ac_cpp='$CPP $CPPFLAGS'
41743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41744 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
41752 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
41754 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
41755 for ac_func in _isnan
41756 do :
41757 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
41758 if test "x$ac_cv_func__isnan" = xyes; then :
41759 cat >>confdefs.h <<_ACEOF
41760 #define HAVE__ISNAN 1
41761 _ACEOF
41764 done
41773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
41774 $as_echo_n "checking for finite declaration... " >&6; }
41775 if test x${glibcxx_cv_func_finite_use+set} != xset; then
41776 if ${glibcxx_cv_func_finite_use+:} false; then :
41777 $as_echo_n "(cached) " >&6
41778 else
41781 ac_ext=cpp
41782 ac_cpp='$CXXCPP $CPPFLAGS'
41783 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41784 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41785 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41788 /* end confdefs.h. */
41789 #include <math.h>
41790 #ifdef HAVE_IEEEFP_H
41791 #include <ieeefp.h>
41792 #endif
41795 main ()
41797 finite(0);
41799 return 0;
41801 _ACEOF
41802 if ac_fn_cxx_try_compile "$LINENO"; then :
41803 glibcxx_cv_func_finite_use=yes
41804 else
41805 glibcxx_cv_func_finite_use=no
41807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41808 ac_ext=c
41809 ac_cpp='$CPP $CPPFLAGS'
41810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
41819 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
41821 if test x$glibcxx_cv_func_finite_use = x"yes"; then
41822 for ac_func in finite
41823 do :
41824 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
41825 if test "x$ac_cv_func_finite" = xyes; then :
41826 cat >>confdefs.h <<_ACEOF
41827 #define HAVE_FINITE 1
41828 _ACEOF
41831 done
41833 else
41835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
41836 $as_echo_n "checking for _finite declaration... " >&6; }
41837 if test x${glibcxx_cv_func__finite_use+set} != xset; then
41838 if ${glibcxx_cv_func__finite_use+:} false; then :
41839 $as_echo_n "(cached) " >&6
41840 else
41843 ac_ext=cpp
41844 ac_cpp='$CXXCPP $CPPFLAGS'
41845 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41846 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41847 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41850 /* end confdefs.h. */
41851 #include <math.h>
41852 #ifdef HAVE_IEEEFP_H
41853 #include <ieeefp.h>
41854 #endif
41857 main ()
41859 _finite(0);
41861 return 0;
41863 _ACEOF
41864 if ac_fn_cxx_try_compile "$LINENO"; then :
41865 glibcxx_cv_func__finite_use=yes
41866 else
41867 glibcxx_cv_func__finite_use=no
41869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41870 ac_ext=c
41871 ac_cpp='$CPP $CPPFLAGS'
41872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
41881 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
41883 if test x$glibcxx_cv_func__finite_use = x"yes"; then
41884 for ac_func in _finite
41885 do :
41886 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
41887 if test "x$ac_cv_func__finite" = xyes; then :
41888 cat >>confdefs.h <<_ACEOF
41889 #define HAVE__FINITE 1
41890 _ACEOF
41893 done
41902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
41903 $as_echo_n "checking for sincos declaration... " >&6; }
41904 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
41905 if ${glibcxx_cv_func_sincos_use+:} false; then :
41906 $as_echo_n "(cached) " >&6
41907 else
41910 ac_ext=cpp
41911 ac_cpp='$CXXCPP $CPPFLAGS'
41912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41917 /* end confdefs.h. */
41918 #include <math.h>
41920 main ()
41922 sincos(0, 0, 0);
41924 return 0;
41926 _ACEOF
41927 if ac_fn_cxx_try_compile "$LINENO"; then :
41928 glibcxx_cv_func_sincos_use=yes
41929 else
41930 glibcxx_cv_func_sincos_use=no
41932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41933 ac_ext=c
41934 ac_cpp='$CPP $CPPFLAGS'
41935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
41944 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
41946 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
41947 for ac_func in sincos
41948 do :
41949 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
41950 if test "x$ac_cv_func_sincos" = xyes; then :
41951 cat >>confdefs.h <<_ACEOF
41952 #define HAVE_SINCOS 1
41953 _ACEOF
41956 done
41958 else
41960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
41961 $as_echo_n "checking for _sincos declaration... " >&6; }
41962 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
41963 if ${glibcxx_cv_func__sincos_use+:} false; then :
41964 $as_echo_n "(cached) " >&6
41965 else
41968 ac_ext=cpp
41969 ac_cpp='$CXXCPP $CPPFLAGS'
41970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41975 /* end confdefs.h. */
41976 #include <math.h>
41978 main ()
41980 _sincos(0, 0, 0);
41982 return 0;
41984 _ACEOF
41985 if ac_fn_cxx_try_compile "$LINENO"; then :
41986 glibcxx_cv_func__sincos_use=yes
41987 else
41988 glibcxx_cv_func__sincos_use=no
41990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41991 ac_ext=c
41992 ac_cpp='$CPP $CPPFLAGS'
41993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
42002 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
42004 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
42005 for ac_func in _sincos
42006 do :
42007 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
42008 if test "x$ac_cv_func__sincos" = xyes; then :
42009 cat >>confdefs.h <<_ACEOF
42010 #define HAVE__SINCOS 1
42011 _ACEOF
42014 done
42023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
42024 $as_echo_n "checking for fpclass declaration... " >&6; }
42025 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
42026 if ${glibcxx_cv_func_fpclass_use+:} false; then :
42027 $as_echo_n "(cached) " >&6
42028 else
42031 ac_ext=cpp
42032 ac_cpp='$CXXCPP $CPPFLAGS'
42033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42038 /* end confdefs.h. */
42039 #include <math.h>
42040 #ifdef HAVE_IEEEFP_H
42041 #include <ieeefp.h>
42042 #endif
42045 main ()
42047 fpclass(0);
42049 return 0;
42051 _ACEOF
42052 if ac_fn_cxx_try_compile "$LINENO"; then :
42053 glibcxx_cv_func_fpclass_use=yes
42054 else
42055 glibcxx_cv_func_fpclass_use=no
42057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42058 ac_ext=c
42059 ac_cpp='$CPP $CPPFLAGS'
42060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
42069 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
42071 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
42072 for ac_func in fpclass
42073 do :
42074 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
42075 if test "x$ac_cv_func_fpclass" = xyes; then :
42076 cat >>confdefs.h <<_ACEOF
42077 #define HAVE_FPCLASS 1
42078 _ACEOF
42081 done
42083 else
42085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
42086 $as_echo_n "checking for _fpclass declaration... " >&6; }
42087 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
42088 if ${glibcxx_cv_func__fpclass_use+:} false; then :
42089 $as_echo_n "(cached) " >&6
42090 else
42093 ac_ext=cpp
42094 ac_cpp='$CXXCPP $CPPFLAGS'
42095 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42096 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42097 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42100 /* end confdefs.h. */
42101 #include <math.h>
42102 #ifdef HAVE_IEEEFP_H
42103 #include <ieeefp.h>
42104 #endif
42107 main ()
42109 _fpclass(0);
42111 return 0;
42113 _ACEOF
42114 if ac_fn_cxx_try_compile "$LINENO"; then :
42115 glibcxx_cv_func__fpclass_use=yes
42116 else
42117 glibcxx_cv_func__fpclass_use=no
42119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42120 ac_ext=c
42121 ac_cpp='$CPP $CPPFLAGS'
42122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
42131 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
42133 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
42134 for ac_func in _fpclass
42135 do :
42136 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
42137 if test "x$ac_cv_func__fpclass" = xyes; then :
42138 cat >>confdefs.h <<_ACEOF
42139 #define HAVE__FPCLASS 1
42140 _ACEOF
42143 done
42152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
42153 $as_echo_n "checking for qfpclass declaration... " >&6; }
42154 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
42155 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
42156 $as_echo_n "(cached) " >&6
42157 else
42160 ac_ext=cpp
42161 ac_cpp='$CXXCPP $CPPFLAGS'
42162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42167 /* end confdefs.h. */
42168 #include <math.h>
42169 #ifdef HAVE_IEEEFP_H
42170 #include <ieeefp.h>
42171 #endif
42174 main ()
42176 qfpclass(0);
42178 return 0;
42180 _ACEOF
42181 if ac_fn_cxx_try_compile "$LINENO"; then :
42182 glibcxx_cv_func_qfpclass_use=yes
42183 else
42184 glibcxx_cv_func_qfpclass_use=no
42186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42187 ac_ext=c
42188 ac_cpp='$CPP $CPPFLAGS'
42189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
42198 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
42200 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
42201 for ac_func in qfpclass
42202 do :
42203 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
42204 if test "x$ac_cv_func_qfpclass" = xyes; then :
42205 cat >>confdefs.h <<_ACEOF
42206 #define HAVE_QFPCLASS 1
42207 _ACEOF
42210 done
42212 else
42214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
42215 $as_echo_n "checking for _qfpclass declaration... " >&6; }
42216 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
42217 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
42218 $as_echo_n "(cached) " >&6
42219 else
42222 ac_ext=cpp
42223 ac_cpp='$CXXCPP $CPPFLAGS'
42224 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42225 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42226 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42229 /* end confdefs.h. */
42230 #include <math.h>
42231 #ifdef HAVE_IEEEFP_H
42232 #include <ieeefp.h>
42233 #endif
42236 main ()
42238 _qfpclass(0);
42240 return 0;
42242 _ACEOF
42243 if ac_fn_cxx_try_compile "$LINENO"; then :
42244 glibcxx_cv_func__qfpclass_use=yes
42245 else
42246 glibcxx_cv_func__qfpclass_use=no
42248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42249 ac_ext=c
42250 ac_cpp='$CPP $CPPFLAGS'
42251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
42260 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
42262 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
42263 for ac_func in _qfpclass
42264 do :
42265 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
42266 if test "x$ac_cv_func__qfpclass" = xyes; then :
42267 cat >>confdefs.h <<_ACEOF
42268 #define HAVE__QFPCLASS 1
42269 _ACEOF
42272 done
42281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
42282 $as_echo_n "checking for hypot declaration... " >&6; }
42283 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
42284 if ${glibcxx_cv_func_hypot_use+:} false; then :
42285 $as_echo_n "(cached) " >&6
42286 else
42289 ac_ext=cpp
42290 ac_cpp='$CXXCPP $CPPFLAGS'
42291 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42292 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42293 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42296 /* end confdefs.h. */
42297 #include <math.h>
42299 main ()
42301 hypot(0, 0);
42303 return 0;
42305 _ACEOF
42306 if ac_fn_cxx_try_compile "$LINENO"; then :
42307 glibcxx_cv_func_hypot_use=yes
42308 else
42309 glibcxx_cv_func_hypot_use=no
42311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42312 ac_ext=c
42313 ac_cpp='$CPP $CPPFLAGS'
42314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
42323 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
42325 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
42326 for ac_func in hypot
42327 do :
42328 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
42329 if test "x$ac_cv_func_hypot" = xyes; then :
42330 cat >>confdefs.h <<_ACEOF
42331 #define HAVE_HYPOT 1
42332 _ACEOF
42335 done
42337 else
42339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
42340 $as_echo_n "checking for _hypot declaration... " >&6; }
42341 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
42342 if ${glibcxx_cv_func__hypot_use+:} false; then :
42343 $as_echo_n "(cached) " >&6
42344 else
42347 ac_ext=cpp
42348 ac_cpp='$CXXCPP $CPPFLAGS'
42349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42354 /* end confdefs.h. */
42355 #include <math.h>
42357 main ()
42359 _hypot(0, 0);
42361 return 0;
42363 _ACEOF
42364 if ac_fn_cxx_try_compile "$LINENO"; then :
42365 glibcxx_cv_func__hypot_use=yes
42366 else
42367 glibcxx_cv_func__hypot_use=no
42369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42370 ac_ext=c
42371 ac_cpp='$CPP $CPPFLAGS'
42372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
42381 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
42383 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
42384 for ac_func in _hypot
42385 do :
42386 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
42387 if test "x$ac_cv_func__hypot" = xyes; then :
42388 cat >>confdefs.h <<_ACEOF
42389 #define HAVE__HYPOT 1
42390 _ACEOF
42393 done
42402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
42403 $as_echo_n "checking for float trig functions... " >&6; }
42404 if ${glibcxx_cv_func_float_trig_use+:} false; then :
42405 $as_echo_n "(cached) " >&6
42406 else
42409 ac_ext=cpp
42410 ac_cpp='$CXXCPP $CPPFLAGS'
42411 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42412 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42413 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42416 /* end confdefs.h. */
42417 #include <math.h>
42419 main ()
42421 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
42423 return 0;
42425 _ACEOF
42426 if ac_fn_cxx_try_compile "$LINENO"; then :
42427 glibcxx_cv_func_float_trig_use=yes
42428 else
42429 glibcxx_cv_func_float_trig_use=no
42431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42432 ac_ext=c
42433 ac_cpp='$CPP $CPPFLAGS'
42434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
42441 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
42442 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
42443 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
42444 do :
42445 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42446 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42447 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
42448 cat >>confdefs.h <<_ACEOF
42449 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42450 _ACEOF
42453 done
42455 else
42456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
42457 $as_echo_n "checking for _float trig functions... " >&6; }
42458 if ${glibcxx_cv_func__float_trig_use+:} false; then :
42459 $as_echo_n "(cached) " >&6
42460 else
42463 ac_ext=cpp
42464 ac_cpp='$CXXCPP $CPPFLAGS'
42465 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42466 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42467 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42470 /* end confdefs.h. */
42471 #include <math.h>
42473 main ()
42475 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
42477 return 0;
42479 _ACEOF
42480 if ac_fn_cxx_try_compile "$LINENO"; then :
42481 glibcxx_cv_func__float_trig_use=yes
42482 else
42483 glibcxx_cv_func__float_trig_use=no
42485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42486 ac_ext=c
42487 ac_cpp='$CPP $CPPFLAGS'
42488 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42489 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42490 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
42495 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
42496 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
42497 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
42498 do :
42499 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42500 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42501 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
42502 cat >>confdefs.h <<_ACEOF
42503 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42504 _ACEOF
42507 done
42516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
42517 $as_echo_n "checking for float round functions... " >&6; }
42518 if ${glibcxx_cv_func_float_round_use+:} false; then :
42519 $as_echo_n "(cached) " >&6
42520 else
42523 ac_ext=cpp
42524 ac_cpp='$CXXCPP $CPPFLAGS'
42525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42530 /* end confdefs.h. */
42531 #include <math.h>
42533 main ()
42535 ceilf (0); floorf (0);
42537 return 0;
42539 _ACEOF
42540 if ac_fn_cxx_try_compile "$LINENO"; then :
42541 glibcxx_cv_func_float_round_use=yes
42542 else
42543 glibcxx_cv_func_float_round_use=no
42545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42546 ac_ext=c
42547 ac_cpp='$CPP $CPPFLAGS'
42548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
42555 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
42556 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
42557 for ac_func in ceilf floorf
42558 do :
42559 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42560 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42561 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
42562 cat >>confdefs.h <<_ACEOF
42563 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42564 _ACEOF
42567 done
42569 else
42570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
42571 $as_echo_n "checking for _float round functions... " >&6; }
42572 if ${glibcxx_cv_func__float_round_use+:} false; then :
42573 $as_echo_n "(cached) " >&6
42574 else
42577 ac_ext=cpp
42578 ac_cpp='$CXXCPP $CPPFLAGS'
42579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42584 /* end confdefs.h. */
42585 #include <math.h>
42587 main ()
42589 _ceilf (0); _floorf (0);
42591 return 0;
42593 _ACEOF
42594 if ac_fn_cxx_try_compile "$LINENO"; then :
42595 glibcxx_cv_func__float_round_use=yes
42596 else
42597 glibcxx_cv_func__float_round_use=no
42599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42600 ac_ext=c
42601 ac_cpp='$CPP $CPPFLAGS'
42602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
42609 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
42610 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
42611 for ac_func in _ceilf _floorf
42612 do :
42613 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42614 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42615 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
42616 cat >>confdefs.h <<_ACEOF
42617 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42618 _ACEOF
42621 done
42631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
42632 $as_echo_n "checking for expf declaration... " >&6; }
42633 if test x${glibcxx_cv_func_expf_use+set} != xset; then
42634 if ${glibcxx_cv_func_expf_use+:} false; then :
42635 $as_echo_n "(cached) " >&6
42636 else
42639 ac_ext=cpp
42640 ac_cpp='$CXXCPP $CPPFLAGS'
42641 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42642 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42643 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42646 /* end confdefs.h. */
42647 #include <math.h>
42648 #ifdef HAVE_IEEEFP_H
42649 #include <ieeefp.h>
42650 #endif
42653 main ()
42655 expf(0);
42657 return 0;
42659 _ACEOF
42660 if ac_fn_cxx_try_compile "$LINENO"; then :
42661 glibcxx_cv_func_expf_use=yes
42662 else
42663 glibcxx_cv_func_expf_use=no
42665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42666 ac_ext=c
42667 ac_cpp='$CPP $CPPFLAGS'
42668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
42677 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
42679 if test x$glibcxx_cv_func_expf_use = x"yes"; then
42680 for ac_func in expf
42681 do :
42682 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
42683 if test "x$ac_cv_func_expf" = xyes; then :
42684 cat >>confdefs.h <<_ACEOF
42685 #define HAVE_EXPF 1
42686 _ACEOF
42689 done
42691 else
42693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
42694 $as_echo_n "checking for _expf declaration... " >&6; }
42695 if test x${glibcxx_cv_func__expf_use+set} != xset; then
42696 if ${glibcxx_cv_func__expf_use+:} false; then :
42697 $as_echo_n "(cached) " >&6
42698 else
42701 ac_ext=cpp
42702 ac_cpp='$CXXCPP $CPPFLAGS'
42703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42708 /* end confdefs.h. */
42709 #include <math.h>
42710 #ifdef HAVE_IEEEFP_H
42711 #include <ieeefp.h>
42712 #endif
42715 main ()
42717 _expf(0);
42719 return 0;
42721 _ACEOF
42722 if ac_fn_cxx_try_compile "$LINENO"; then :
42723 glibcxx_cv_func__expf_use=yes
42724 else
42725 glibcxx_cv_func__expf_use=no
42727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42728 ac_ext=c
42729 ac_cpp='$CPP $CPPFLAGS'
42730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42732 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
42739 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
42741 if test x$glibcxx_cv_func__expf_use = x"yes"; then
42742 for ac_func in _expf
42743 do :
42744 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
42745 if test "x$ac_cv_func__expf" = xyes; then :
42746 cat >>confdefs.h <<_ACEOF
42747 #define HAVE__EXPF 1
42748 _ACEOF
42751 done
42760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
42761 $as_echo_n "checking for isnanf declaration... " >&6; }
42762 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
42763 if ${glibcxx_cv_func_isnanf_use+:} false; then :
42764 $as_echo_n "(cached) " >&6
42765 else
42768 ac_ext=cpp
42769 ac_cpp='$CXXCPP $CPPFLAGS'
42770 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42771 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42772 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42775 /* end confdefs.h. */
42776 #include <math.h>
42777 #ifdef HAVE_IEEEFP_H
42778 #include <ieeefp.h>
42779 #endif
42782 main ()
42784 isnanf(0);
42786 return 0;
42788 _ACEOF
42789 if ac_fn_cxx_try_compile "$LINENO"; then :
42790 glibcxx_cv_func_isnanf_use=yes
42791 else
42792 glibcxx_cv_func_isnanf_use=no
42794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42795 ac_ext=c
42796 ac_cpp='$CPP $CPPFLAGS'
42797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
42806 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
42808 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
42809 for ac_func in isnanf
42810 do :
42811 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
42812 if test "x$ac_cv_func_isnanf" = xyes; then :
42813 cat >>confdefs.h <<_ACEOF
42814 #define HAVE_ISNANF 1
42815 _ACEOF
42818 done
42820 else
42822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
42823 $as_echo_n "checking for _isnanf declaration... " >&6; }
42824 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
42825 if ${glibcxx_cv_func__isnanf_use+:} false; then :
42826 $as_echo_n "(cached) " >&6
42827 else
42830 ac_ext=cpp
42831 ac_cpp='$CXXCPP $CPPFLAGS'
42832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42837 /* end confdefs.h. */
42838 #include <math.h>
42839 #ifdef HAVE_IEEEFP_H
42840 #include <ieeefp.h>
42841 #endif
42844 main ()
42846 _isnanf(0);
42848 return 0;
42850 _ACEOF
42851 if ac_fn_cxx_try_compile "$LINENO"; then :
42852 glibcxx_cv_func__isnanf_use=yes
42853 else
42854 glibcxx_cv_func__isnanf_use=no
42856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42857 ac_ext=c
42858 ac_cpp='$CPP $CPPFLAGS'
42859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
42868 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
42870 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
42871 for ac_func in _isnanf
42872 do :
42873 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
42874 if test "x$ac_cv_func__isnanf" = xyes; then :
42875 cat >>confdefs.h <<_ACEOF
42876 #define HAVE__ISNANF 1
42877 _ACEOF
42880 done
42889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
42890 $as_echo_n "checking for isinff declaration... " >&6; }
42891 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
42892 if ${glibcxx_cv_func_isinff_use+:} false; then :
42893 $as_echo_n "(cached) " >&6
42894 else
42897 ac_ext=cpp
42898 ac_cpp='$CXXCPP $CPPFLAGS'
42899 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42900 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42901 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42904 /* end confdefs.h. */
42905 #include <math.h>
42906 #ifdef HAVE_IEEEFP_H
42907 #include <ieeefp.h>
42908 #endif
42911 main ()
42913 isinff(0);
42915 return 0;
42917 _ACEOF
42918 if ac_fn_cxx_try_compile "$LINENO"; then :
42919 glibcxx_cv_func_isinff_use=yes
42920 else
42921 glibcxx_cv_func_isinff_use=no
42923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42924 ac_ext=c
42925 ac_cpp='$CPP $CPPFLAGS'
42926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
42935 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
42937 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
42938 for ac_func in isinff
42939 do :
42940 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
42941 if test "x$ac_cv_func_isinff" = xyes; then :
42942 cat >>confdefs.h <<_ACEOF
42943 #define HAVE_ISINFF 1
42944 _ACEOF
42947 done
42949 else
42951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
42952 $as_echo_n "checking for _isinff declaration... " >&6; }
42953 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
42954 if ${glibcxx_cv_func__isinff_use+:} false; then :
42955 $as_echo_n "(cached) " >&6
42956 else
42959 ac_ext=cpp
42960 ac_cpp='$CXXCPP $CPPFLAGS'
42961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42966 /* end confdefs.h. */
42967 #include <math.h>
42968 #ifdef HAVE_IEEEFP_H
42969 #include <ieeefp.h>
42970 #endif
42973 main ()
42975 _isinff(0);
42977 return 0;
42979 _ACEOF
42980 if ac_fn_cxx_try_compile "$LINENO"; then :
42981 glibcxx_cv_func__isinff_use=yes
42982 else
42983 glibcxx_cv_func__isinff_use=no
42985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42986 ac_ext=c
42987 ac_cpp='$CPP $CPPFLAGS'
42988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
42997 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
42999 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
43000 for ac_func in _isinff
43001 do :
43002 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
43003 if test "x$ac_cv_func__isinff" = xyes; then :
43004 cat >>confdefs.h <<_ACEOF
43005 #define HAVE__ISINFF 1
43006 _ACEOF
43009 done
43018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
43019 $as_echo_n "checking for atan2f declaration... " >&6; }
43020 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
43021 if ${glibcxx_cv_func_atan2f_use+:} false; then :
43022 $as_echo_n "(cached) " >&6
43023 else
43026 ac_ext=cpp
43027 ac_cpp='$CXXCPP $CPPFLAGS'
43028 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43029 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43030 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43033 /* end confdefs.h. */
43034 #include <math.h>
43036 main ()
43038 atan2f(0, 0);
43040 return 0;
43042 _ACEOF
43043 if ac_fn_cxx_try_compile "$LINENO"; then :
43044 glibcxx_cv_func_atan2f_use=yes
43045 else
43046 glibcxx_cv_func_atan2f_use=no
43048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43049 ac_ext=c
43050 ac_cpp='$CPP $CPPFLAGS'
43051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
43060 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
43062 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
43063 for ac_func in atan2f
43064 do :
43065 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
43066 if test "x$ac_cv_func_atan2f" = xyes; then :
43067 cat >>confdefs.h <<_ACEOF
43068 #define HAVE_ATAN2F 1
43069 _ACEOF
43072 done
43074 else
43076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
43077 $as_echo_n "checking for _atan2f declaration... " >&6; }
43078 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
43079 if ${glibcxx_cv_func__atan2f_use+:} false; then :
43080 $as_echo_n "(cached) " >&6
43081 else
43084 ac_ext=cpp
43085 ac_cpp='$CXXCPP $CPPFLAGS'
43086 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43087 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43088 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43091 /* end confdefs.h. */
43092 #include <math.h>
43094 main ()
43096 _atan2f(0, 0);
43098 return 0;
43100 _ACEOF
43101 if ac_fn_cxx_try_compile "$LINENO"; then :
43102 glibcxx_cv_func__atan2f_use=yes
43103 else
43104 glibcxx_cv_func__atan2f_use=no
43106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43107 ac_ext=c
43108 ac_cpp='$CPP $CPPFLAGS'
43109 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43110 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43111 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
43118 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
43120 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
43121 for ac_func in _atan2f
43122 do :
43123 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
43124 if test "x$ac_cv_func__atan2f" = xyes; then :
43125 cat >>confdefs.h <<_ACEOF
43126 #define HAVE__ATAN2F 1
43127 _ACEOF
43130 done
43139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
43140 $as_echo_n "checking for fabsf declaration... " >&6; }
43141 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
43142 if ${glibcxx_cv_func_fabsf_use+:} false; then :
43143 $as_echo_n "(cached) " >&6
43144 else
43147 ac_ext=cpp
43148 ac_cpp='$CXXCPP $CPPFLAGS'
43149 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43150 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43151 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43154 /* end confdefs.h. */
43155 #include <math.h>
43156 #ifdef HAVE_IEEEFP_H
43157 #include <ieeefp.h>
43158 #endif
43161 main ()
43163 fabsf(0);
43165 return 0;
43167 _ACEOF
43168 if ac_fn_cxx_try_compile "$LINENO"; then :
43169 glibcxx_cv_func_fabsf_use=yes
43170 else
43171 glibcxx_cv_func_fabsf_use=no
43173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43174 ac_ext=c
43175 ac_cpp='$CPP $CPPFLAGS'
43176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
43185 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
43187 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
43188 for ac_func in fabsf
43189 do :
43190 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
43191 if test "x$ac_cv_func_fabsf" = xyes; then :
43192 cat >>confdefs.h <<_ACEOF
43193 #define HAVE_FABSF 1
43194 _ACEOF
43197 done
43199 else
43201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
43202 $as_echo_n "checking for _fabsf declaration... " >&6; }
43203 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
43204 if ${glibcxx_cv_func__fabsf_use+:} false; then :
43205 $as_echo_n "(cached) " >&6
43206 else
43209 ac_ext=cpp
43210 ac_cpp='$CXXCPP $CPPFLAGS'
43211 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43212 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43213 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43216 /* end confdefs.h. */
43217 #include <math.h>
43218 #ifdef HAVE_IEEEFP_H
43219 #include <ieeefp.h>
43220 #endif
43223 main ()
43225 _fabsf(0);
43227 return 0;
43229 _ACEOF
43230 if ac_fn_cxx_try_compile "$LINENO"; then :
43231 glibcxx_cv_func__fabsf_use=yes
43232 else
43233 glibcxx_cv_func__fabsf_use=no
43235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43236 ac_ext=c
43237 ac_cpp='$CPP $CPPFLAGS'
43238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
43247 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
43249 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
43250 for ac_func in _fabsf
43251 do :
43252 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
43253 if test "x$ac_cv_func__fabsf" = xyes; then :
43254 cat >>confdefs.h <<_ACEOF
43255 #define HAVE__FABSF 1
43256 _ACEOF
43259 done
43268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
43269 $as_echo_n "checking for fmodf declaration... " >&6; }
43270 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
43271 if ${glibcxx_cv_func_fmodf_use+:} false; then :
43272 $as_echo_n "(cached) " >&6
43273 else
43276 ac_ext=cpp
43277 ac_cpp='$CXXCPP $CPPFLAGS'
43278 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43279 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43280 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43283 /* end confdefs.h. */
43284 #include <math.h>
43286 main ()
43288 fmodf(0, 0);
43290 return 0;
43292 _ACEOF
43293 if ac_fn_cxx_try_compile "$LINENO"; then :
43294 glibcxx_cv_func_fmodf_use=yes
43295 else
43296 glibcxx_cv_func_fmodf_use=no
43298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43299 ac_ext=c
43300 ac_cpp='$CPP $CPPFLAGS'
43301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43302 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
43310 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
43312 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
43313 for ac_func in fmodf
43314 do :
43315 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
43316 if test "x$ac_cv_func_fmodf" = xyes; then :
43317 cat >>confdefs.h <<_ACEOF
43318 #define HAVE_FMODF 1
43319 _ACEOF
43322 done
43324 else
43326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
43327 $as_echo_n "checking for _fmodf declaration... " >&6; }
43328 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
43329 if ${glibcxx_cv_func__fmodf_use+:} false; then :
43330 $as_echo_n "(cached) " >&6
43331 else
43334 ac_ext=cpp
43335 ac_cpp='$CXXCPP $CPPFLAGS'
43336 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43337 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43338 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43341 /* end confdefs.h. */
43342 #include <math.h>
43344 main ()
43346 _fmodf(0, 0);
43348 return 0;
43350 _ACEOF
43351 if ac_fn_cxx_try_compile "$LINENO"; then :
43352 glibcxx_cv_func__fmodf_use=yes
43353 else
43354 glibcxx_cv_func__fmodf_use=no
43356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43357 ac_ext=c
43358 ac_cpp='$CPP $CPPFLAGS'
43359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
43368 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
43370 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
43371 for ac_func in _fmodf
43372 do :
43373 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
43374 if test "x$ac_cv_func__fmodf" = xyes; then :
43375 cat >>confdefs.h <<_ACEOF
43376 #define HAVE__FMODF 1
43377 _ACEOF
43380 done
43389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
43390 $as_echo_n "checking for frexpf declaration... " >&6; }
43391 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
43392 if ${glibcxx_cv_func_frexpf_use+:} false; then :
43393 $as_echo_n "(cached) " >&6
43394 else
43397 ac_ext=cpp
43398 ac_cpp='$CXXCPP $CPPFLAGS'
43399 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43400 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43401 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43404 /* end confdefs.h. */
43405 #include <math.h>
43407 main ()
43409 frexpf(0, 0);
43411 return 0;
43413 _ACEOF
43414 if ac_fn_cxx_try_compile "$LINENO"; then :
43415 glibcxx_cv_func_frexpf_use=yes
43416 else
43417 glibcxx_cv_func_frexpf_use=no
43419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43420 ac_ext=c
43421 ac_cpp='$CPP $CPPFLAGS'
43422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
43431 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
43433 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
43434 for ac_func in frexpf
43435 do :
43436 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
43437 if test "x$ac_cv_func_frexpf" = xyes; then :
43438 cat >>confdefs.h <<_ACEOF
43439 #define HAVE_FREXPF 1
43440 _ACEOF
43443 done
43445 else
43447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
43448 $as_echo_n "checking for _frexpf declaration... " >&6; }
43449 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
43450 if ${glibcxx_cv_func__frexpf_use+:} false; then :
43451 $as_echo_n "(cached) " >&6
43452 else
43455 ac_ext=cpp
43456 ac_cpp='$CXXCPP $CPPFLAGS'
43457 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43458 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43459 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43462 /* end confdefs.h. */
43463 #include <math.h>
43465 main ()
43467 _frexpf(0, 0);
43469 return 0;
43471 _ACEOF
43472 if ac_fn_cxx_try_compile "$LINENO"; then :
43473 glibcxx_cv_func__frexpf_use=yes
43474 else
43475 glibcxx_cv_func__frexpf_use=no
43477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43478 ac_ext=c
43479 ac_cpp='$CPP $CPPFLAGS'
43480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
43489 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
43491 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
43492 for ac_func in _frexpf
43493 do :
43494 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
43495 if test "x$ac_cv_func__frexpf" = xyes; then :
43496 cat >>confdefs.h <<_ACEOF
43497 #define HAVE__FREXPF 1
43498 _ACEOF
43501 done
43510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
43511 $as_echo_n "checking for hypotf declaration... " >&6; }
43512 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
43513 if ${glibcxx_cv_func_hypotf_use+:} false; then :
43514 $as_echo_n "(cached) " >&6
43515 else
43518 ac_ext=cpp
43519 ac_cpp='$CXXCPP $CPPFLAGS'
43520 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43521 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43522 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43525 /* end confdefs.h. */
43526 #include <math.h>
43528 main ()
43530 hypotf(0, 0);
43532 return 0;
43534 _ACEOF
43535 if ac_fn_cxx_try_compile "$LINENO"; then :
43536 glibcxx_cv_func_hypotf_use=yes
43537 else
43538 glibcxx_cv_func_hypotf_use=no
43540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43541 ac_ext=c
43542 ac_cpp='$CPP $CPPFLAGS'
43543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
43552 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
43554 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
43555 for ac_func in hypotf
43556 do :
43557 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
43558 if test "x$ac_cv_func_hypotf" = xyes; then :
43559 cat >>confdefs.h <<_ACEOF
43560 #define HAVE_HYPOTF 1
43561 _ACEOF
43564 done
43566 else
43568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
43569 $as_echo_n "checking for _hypotf declaration... " >&6; }
43570 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
43571 if ${glibcxx_cv_func__hypotf_use+:} false; then :
43572 $as_echo_n "(cached) " >&6
43573 else
43576 ac_ext=cpp
43577 ac_cpp='$CXXCPP $CPPFLAGS'
43578 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43579 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43580 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43583 /* end confdefs.h. */
43584 #include <math.h>
43586 main ()
43588 _hypotf(0, 0);
43590 return 0;
43592 _ACEOF
43593 if ac_fn_cxx_try_compile "$LINENO"; then :
43594 glibcxx_cv_func__hypotf_use=yes
43595 else
43596 glibcxx_cv_func__hypotf_use=no
43598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43599 ac_ext=c
43600 ac_cpp='$CPP $CPPFLAGS'
43601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
43610 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
43612 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
43613 for ac_func in _hypotf
43614 do :
43615 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
43616 if test "x$ac_cv_func__hypotf" = xyes; then :
43617 cat >>confdefs.h <<_ACEOF
43618 #define HAVE__HYPOTF 1
43619 _ACEOF
43622 done
43631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
43632 $as_echo_n "checking for ldexpf declaration... " >&6; }
43633 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
43634 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
43635 $as_echo_n "(cached) " >&6
43636 else
43639 ac_ext=cpp
43640 ac_cpp='$CXXCPP $CPPFLAGS'
43641 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43642 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43643 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43646 /* end confdefs.h. */
43647 #include <math.h>
43649 main ()
43651 ldexpf(0, 0);
43653 return 0;
43655 _ACEOF
43656 if ac_fn_cxx_try_compile "$LINENO"; then :
43657 glibcxx_cv_func_ldexpf_use=yes
43658 else
43659 glibcxx_cv_func_ldexpf_use=no
43661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43662 ac_ext=c
43663 ac_cpp='$CPP $CPPFLAGS'
43664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
43673 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
43675 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
43676 for ac_func in ldexpf
43677 do :
43678 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
43679 if test "x$ac_cv_func_ldexpf" = xyes; then :
43680 cat >>confdefs.h <<_ACEOF
43681 #define HAVE_LDEXPF 1
43682 _ACEOF
43685 done
43687 else
43689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
43690 $as_echo_n "checking for _ldexpf declaration... " >&6; }
43691 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
43692 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
43693 $as_echo_n "(cached) " >&6
43694 else
43697 ac_ext=cpp
43698 ac_cpp='$CXXCPP $CPPFLAGS'
43699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43704 /* end confdefs.h. */
43705 #include <math.h>
43707 main ()
43709 _ldexpf(0, 0);
43711 return 0;
43713 _ACEOF
43714 if ac_fn_cxx_try_compile "$LINENO"; then :
43715 glibcxx_cv_func__ldexpf_use=yes
43716 else
43717 glibcxx_cv_func__ldexpf_use=no
43719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43720 ac_ext=c
43721 ac_cpp='$CPP $CPPFLAGS'
43722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
43731 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
43733 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
43734 for ac_func in _ldexpf
43735 do :
43736 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
43737 if test "x$ac_cv_func__ldexpf" = xyes; then :
43738 cat >>confdefs.h <<_ACEOF
43739 #define HAVE__LDEXPF 1
43740 _ACEOF
43743 done
43752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
43753 $as_echo_n "checking for logf declaration... " >&6; }
43754 if test x${glibcxx_cv_func_logf_use+set} != xset; then
43755 if ${glibcxx_cv_func_logf_use+:} false; then :
43756 $as_echo_n "(cached) " >&6
43757 else
43760 ac_ext=cpp
43761 ac_cpp='$CXXCPP $CPPFLAGS'
43762 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43763 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43764 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43767 /* end confdefs.h. */
43768 #include <math.h>
43769 #ifdef HAVE_IEEEFP_H
43770 #include <ieeefp.h>
43771 #endif
43774 main ()
43776 logf(0);
43778 return 0;
43780 _ACEOF
43781 if ac_fn_cxx_try_compile "$LINENO"; then :
43782 glibcxx_cv_func_logf_use=yes
43783 else
43784 glibcxx_cv_func_logf_use=no
43786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43787 ac_ext=c
43788 ac_cpp='$CPP $CPPFLAGS'
43789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
43798 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
43800 if test x$glibcxx_cv_func_logf_use = x"yes"; then
43801 for ac_func in logf
43802 do :
43803 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
43804 if test "x$ac_cv_func_logf" = xyes; then :
43805 cat >>confdefs.h <<_ACEOF
43806 #define HAVE_LOGF 1
43807 _ACEOF
43810 done
43812 else
43814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
43815 $as_echo_n "checking for _logf declaration... " >&6; }
43816 if test x${glibcxx_cv_func__logf_use+set} != xset; then
43817 if ${glibcxx_cv_func__logf_use+:} false; then :
43818 $as_echo_n "(cached) " >&6
43819 else
43822 ac_ext=cpp
43823 ac_cpp='$CXXCPP $CPPFLAGS'
43824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43829 /* end confdefs.h. */
43830 #include <math.h>
43831 #ifdef HAVE_IEEEFP_H
43832 #include <ieeefp.h>
43833 #endif
43836 main ()
43838 _logf(0);
43840 return 0;
43842 _ACEOF
43843 if ac_fn_cxx_try_compile "$LINENO"; then :
43844 glibcxx_cv_func__logf_use=yes
43845 else
43846 glibcxx_cv_func__logf_use=no
43848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43849 ac_ext=c
43850 ac_cpp='$CPP $CPPFLAGS'
43851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43852 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43853 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
43860 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
43862 if test x$glibcxx_cv_func__logf_use = x"yes"; then
43863 for ac_func in _logf
43864 do :
43865 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
43866 if test "x$ac_cv_func__logf" = xyes; then :
43867 cat >>confdefs.h <<_ACEOF
43868 #define HAVE__LOGF 1
43869 _ACEOF
43872 done
43881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
43882 $as_echo_n "checking for log10f declaration... " >&6; }
43883 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
43884 if ${glibcxx_cv_func_log10f_use+:} false; then :
43885 $as_echo_n "(cached) " >&6
43886 else
43889 ac_ext=cpp
43890 ac_cpp='$CXXCPP $CPPFLAGS'
43891 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43892 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43893 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43896 /* end confdefs.h. */
43897 #include <math.h>
43898 #ifdef HAVE_IEEEFP_H
43899 #include <ieeefp.h>
43900 #endif
43903 main ()
43905 log10f(0);
43907 return 0;
43909 _ACEOF
43910 if ac_fn_cxx_try_compile "$LINENO"; then :
43911 glibcxx_cv_func_log10f_use=yes
43912 else
43913 glibcxx_cv_func_log10f_use=no
43915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43916 ac_ext=c
43917 ac_cpp='$CPP $CPPFLAGS'
43918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
43927 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
43929 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
43930 for ac_func in log10f
43931 do :
43932 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
43933 if test "x$ac_cv_func_log10f" = xyes; then :
43934 cat >>confdefs.h <<_ACEOF
43935 #define HAVE_LOG10F 1
43936 _ACEOF
43939 done
43941 else
43943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
43944 $as_echo_n "checking for _log10f declaration... " >&6; }
43945 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
43946 if ${glibcxx_cv_func__log10f_use+:} false; then :
43947 $as_echo_n "(cached) " >&6
43948 else
43951 ac_ext=cpp
43952 ac_cpp='$CXXCPP $CPPFLAGS'
43953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43958 /* end confdefs.h. */
43959 #include <math.h>
43960 #ifdef HAVE_IEEEFP_H
43961 #include <ieeefp.h>
43962 #endif
43965 main ()
43967 _log10f(0);
43969 return 0;
43971 _ACEOF
43972 if ac_fn_cxx_try_compile "$LINENO"; then :
43973 glibcxx_cv_func__log10f_use=yes
43974 else
43975 glibcxx_cv_func__log10f_use=no
43977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43978 ac_ext=c
43979 ac_cpp='$CPP $CPPFLAGS'
43980 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43981 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43982 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
43989 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
43991 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
43992 for ac_func in _log10f
43993 do :
43994 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
43995 if test "x$ac_cv_func__log10f" = xyes; then :
43996 cat >>confdefs.h <<_ACEOF
43997 #define HAVE__LOG10F 1
43998 _ACEOF
44001 done
44010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
44011 $as_echo_n "checking for modff declaration... " >&6; }
44012 if test x${glibcxx_cv_func_modff_use+set} != xset; then
44013 if ${glibcxx_cv_func_modff_use+:} false; then :
44014 $as_echo_n "(cached) " >&6
44015 else
44018 ac_ext=cpp
44019 ac_cpp='$CXXCPP $CPPFLAGS'
44020 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44021 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44022 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44025 /* end confdefs.h. */
44026 #include <math.h>
44028 main ()
44030 modff(0, 0);
44032 return 0;
44034 _ACEOF
44035 if ac_fn_cxx_try_compile "$LINENO"; then :
44036 glibcxx_cv_func_modff_use=yes
44037 else
44038 glibcxx_cv_func_modff_use=no
44040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44041 ac_ext=c
44042 ac_cpp='$CPP $CPPFLAGS'
44043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
44052 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
44054 if test x$glibcxx_cv_func_modff_use = x"yes"; then
44055 for ac_func in modff
44056 do :
44057 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
44058 if test "x$ac_cv_func_modff" = xyes; then :
44059 cat >>confdefs.h <<_ACEOF
44060 #define HAVE_MODFF 1
44061 _ACEOF
44064 done
44066 else
44068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
44069 $as_echo_n "checking for _modff declaration... " >&6; }
44070 if test x${glibcxx_cv_func__modff_use+set} != xset; then
44071 if ${glibcxx_cv_func__modff_use+:} false; then :
44072 $as_echo_n "(cached) " >&6
44073 else
44076 ac_ext=cpp
44077 ac_cpp='$CXXCPP $CPPFLAGS'
44078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44083 /* end confdefs.h. */
44084 #include <math.h>
44086 main ()
44088 _modff(0, 0);
44090 return 0;
44092 _ACEOF
44093 if ac_fn_cxx_try_compile "$LINENO"; then :
44094 glibcxx_cv_func__modff_use=yes
44095 else
44096 glibcxx_cv_func__modff_use=no
44098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44099 ac_ext=c
44100 ac_cpp='$CPP $CPPFLAGS'
44101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
44110 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
44112 if test x$glibcxx_cv_func__modff_use = x"yes"; then
44113 for ac_func in _modff
44114 do :
44115 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
44116 if test "x$ac_cv_func__modff" = xyes; then :
44117 cat >>confdefs.h <<_ACEOF
44118 #define HAVE__MODFF 1
44119 _ACEOF
44122 done
44131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
44132 $as_echo_n "checking for modf declaration... " >&6; }
44133 if test x${glibcxx_cv_func_modf_use+set} != xset; then
44134 if ${glibcxx_cv_func_modf_use+:} false; then :
44135 $as_echo_n "(cached) " >&6
44136 else
44139 ac_ext=cpp
44140 ac_cpp='$CXXCPP $CPPFLAGS'
44141 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44142 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44143 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44146 /* end confdefs.h. */
44147 #include <math.h>
44149 main ()
44151 modf(0, 0);
44153 return 0;
44155 _ACEOF
44156 if ac_fn_cxx_try_compile "$LINENO"; then :
44157 glibcxx_cv_func_modf_use=yes
44158 else
44159 glibcxx_cv_func_modf_use=no
44161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44162 ac_ext=c
44163 ac_cpp='$CPP $CPPFLAGS'
44164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
44173 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
44175 if test x$glibcxx_cv_func_modf_use = x"yes"; then
44176 for ac_func in modf
44177 do :
44178 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
44179 if test "x$ac_cv_func_modf" = xyes; then :
44180 cat >>confdefs.h <<_ACEOF
44181 #define HAVE_MODF 1
44182 _ACEOF
44185 done
44187 else
44189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
44190 $as_echo_n "checking for _modf declaration... " >&6; }
44191 if test x${glibcxx_cv_func__modf_use+set} != xset; then
44192 if ${glibcxx_cv_func__modf_use+:} false; then :
44193 $as_echo_n "(cached) " >&6
44194 else
44197 ac_ext=cpp
44198 ac_cpp='$CXXCPP $CPPFLAGS'
44199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44204 /* end confdefs.h. */
44205 #include <math.h>
44207 main ()
44209 _modf(0, 0);
44211 return 0;
44213 _ACEOF
44214 if ac_fn_cxx_try_compile "$LINENO"; then :
44215 glibcxx_cv_func__modf_use=yes
44216 else
44217 glibcxx_cv_func__modf_use=no
44219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44220 ac_ext=c
44221 ac_cpp='$CPP $CPPFLAGS'
44222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
44231 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
44233 if test x$glibcxx_cv_func__modf_use = x"yes"; then
44234 for ac_func in _modf
44235 do :
44236 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
44237 if test "x$ac_cv_func__modf" = xyes; then :
44238 cat >>confdefs.h <<_ACEOF
44239 #define HAVE__MODF 1
44240 _ACEOF
44243 done
44252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
44253 $as_echo_n "checking for powf declaration... " >&6; }
44254 if test x${glibcxx_cv_func_powf_use+set} != xset; then
44255 if ${glibcxx_cv_func_powf_use+:} false; then :
44256 $as_echo_n "(cached) " >&6
44257 else
44260 ac_ext=cpp
44261 ac_cpp='$CXXCPP $CPPFLAGS'
44262 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44263 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44264 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44267 /* end confdefs.h. */
44268 #include <math.h>
44270 main ()
44272 powf(0, 0);
44274 return 0;
44276 _ACEOF
44277 if ac_fn_cxx_try_compile "$LINENO"; then :
44278 glibcxx_cv_func_powf_use=yes
44279 else
44280 glibcxx_cv_func_powf_use=no
44282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44283 ac_ext=c
44284 ac_cpp='$CPP $CPPFLAGS'
44285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44286 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
44294 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
44296 if test x$glibcxx_cv_func_powf_use = x"yes"; then
44297 for ac_func in powf
44298 do :
44299 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
44300 if test "x$ac_cv_func_powf" = xyes; then :
44301 cat >>confdefs.h <<_ACEOF
44302 #define HAVE_POWF 1
44303 _ACEOF
44306 done
44308 else
44310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
44311 $as_echo_n "checking for _powf declaration... " >&6; }
44312 if test x${glibcxx_cv_func__powf_use+set} != xset; then
44313 if ${glibcxx_cv_func__powf_use+:} false; then :
44314 $as_echo_n "(cached) " >&6
44315 else
44318 ac_ext=cpp
44319 ac_cpp='$CXXCPP $CPPFLAGS'
44320 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44321 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44322 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44325 /* end confdefs.h. */
44326 #include <math.h>
44328 main ()
44330 _powf(0, 0);
44332 return 0;
44334 _ACEOF
44335 if ac_fn_cxx_try_compile "$LINENO"; then :
44336 glibcxx_cv_func__powf_use=yes
44337 else
44338 glibcxx_cv_func__powf_use=no
44340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44341 ac_ext=c
44342 ac_cpp='$CPP $CPPFLAGS'
44343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
44352 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
44354 if test x$glibcxx_cv_func__powf_use = x"yes"; then
44355 for ac_func in _powf
44356 do :
44357 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
44358 if test "x$ac_cv_func__powf" = xyes; then :
44359 cat >>confdefs.h <<_ACEOF
44360 #define HAVE__POWF 1
44361 _ACEOF
44364 done
44373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
44374 $as_echo_n "checking for sqrtf declaration... " >&6; }
44375 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
44376 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
44377 $as_echo_n "(cached) " >&6
44378 else
44381 ac_ext=cpp
44382 ac_cpp='$CXXCPP $CPPFLAGS'
44383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44388 /* end confdefs.h. */
44389 #include <math.h>
44390 #ifdef HAVE_IEEEFP_H
44391 #include <ieeefp.h>
44392 #endif
44395 main ()
44397 sqrtf(0);
44399 return 0;
44401 _ACEOF
44402 if ac_fn_cxx_try_compile "$LINENO"; then :
44403 glibcxx_cv_func_sqrtf_use=yes
44404 else
44405 glibcxx_cv_func_sqrtf_use=no
44407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44408 ac_ext=c
44409 ac_cpp='$CPP $CPPFLAGS'
44410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
44419 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
44421 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
44422 for ac_func in sqrtf
44423 do :
44424 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
44425 if test "x$ac_cv_func_sqrtf" = xyes; then :
44426 cat >>confdefs.h <<_ACEOF
44427 #define HAVE_SQRTF 1
44428 _ACEOF
44431 done
44433 else
44435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
44436 $as_echo_n "checking for _sqrtf declaration... " >&6; }
44437 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
44438 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
44439 $as_echo_n "(cached) " >&6
44440 else
44443 ac_ext=cpp
44444 ac_cpp='$CXXCPP $CPPFLAGS'
44445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44450 /* end confdefs.h. */
44451 #include <math.h>
44452 #ifdef HAVE_IEEEFP_H
44453 #include <ieeefp.h>
44454 #endif
44457 main ()
44459 _sqrtf(0);
44461 return 0;
44463 _ACEOF
44464 if ac_fn_cxx_try_compile "$LINENO"; then :
44465 glibcxx_cv_func__sqrtf_use=yes
44466 else
44467 glibcxx_cv_func__sqrtf_use=no
44469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44470 ac_ext=c
44471 ac_cpp='$CPP $CPPFLAGS'
44472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
44481 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
44483 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
44484 for ac_func in _sqrtf
44485 do :
44486 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
44487 if test "x$ac_cv_func__sqrtf" = xyes; then :
44488 cat >>confdefs.h <<_ACEOF
44489 #define HAVE__SQRTF 1
44490 _ACEOF
44493 done
44502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
44503 $as_echo_n "checking for sincosf declaration... " >&6; }
44504 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
44505 if ${glibcxx_cv_func_sincosf_use+:} false; then :
44506 $as_echo_n "(cached) " >&6
44507 else
44510 ac_ext=cpp
44511 ac_cpp='$CXXCPP $CPPFLAGS'
44512 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44513 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44514 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44517 /* end confdefs.h. */
44518 #include <math.h>
44520 main ()
44522 sincosf(0, 0, 0);
44524 return 0;
44526 _ACEOF
44527 if ac_fn_cxx_try_compile "$LINENO"; then :
44528 glibcxx_cv_func_sincosf_use=yes
44529 else
44530 glibcxx_cv_func_sincosf_use=no
44532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44533 ac_ext=c
44534 ac_cpp='$CPP $CPPFLAGS'
44535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
44544 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
44546 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
44547 for ac_func in sincosf
44548 do :
44549 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
44550 if test "x$ac_cv_func_sincosf" = xyes; then :
44551 cat >>confdefs.h <<_ACEOF
44552 #define HAVE_SINCOSF 1
44553 _ACEOF
44556 done
44558 else
44560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
44561 $as_echo_n "checking for _sincosf declaration... " >&6; }
44562 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
44563 if ${glibcxx_cv_func__sincosf_use+:} false; then :
44564 $as_echo_n "(cached) " >&6
44565 else
44568 ac_ext=cpp
44569 ac_cpp='$CXXCPP $CPPFLAGS'
44570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44575 /* end confdefs.h. */
44576 #include <math.h>
44578 main ()
44580 _sincosf(0, 0, 0);
44582 return 0;
44584 _ACEOF
44585 if ac_fn_cxx_try_compile "$LINENO"; then :
44586 glibcxx_cv_func__sincosf_use=yes
44587 else
44588 glibcxx_cv_func__sincosf_use=no
44590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44591 ac_ext=c
44592 ac_cpp='$CPP $CPPFLAGS'
44593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
44602 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
44604 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
44605 for ac_func in _sincosf
44606 do :
44607 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
44608 if test "x$ac_cv_func__sincosf" = xyes; then :
44609 cat >>confdefs.h <<_ACEOF
44610 #define HAVE__SINCOSF 1
44611 _ACEOF
44614 done
44623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
44624 $as_echo_n "checking for finitef declaration... " >&6; }
44625 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
44626 if ${glibcxx_cv_func_finitef_use+:} false; then :
44627 $as_echo_n "(cached) " >&6
44628 else
44631 ac_ext=cpp
44632 ac_cpp='$CXXCPP $CPPFLAGS'
44633 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44634 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44635 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44638 /* end confdefs.h. */
44639 #include <math.h>
44640 #ifdef HAVE_IEEEFP_H
44641 #include <ieeefp.h>
44642 #endif
44645 main ()
44647 finitef(0);
44649 return 0;
44651 _ACEOF
44652 if ac_fn_cxx_try_compile "$LINENO"; then :
44653 glibcxx_cv_func_finitef_use=yes
44654 else
44655 glibcxx_cv_func_finitef_use=no
44657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44658 ac_ext=c
44659 ac_cpp='$CPP $CPPFLAGS'
44660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
44669 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
44671 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
44672 for ac_func in finitef
44673 do :
44674 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
44675 if test "x$ac_cv_func_finitef" = xyes; then :
44676 cat >>confdefs.h <<_ACEOF
44677 #define HAVE_FINITEF 1
44678 _ACEOF
44681 done
44683 else
44685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
44686 $as_echo_n "checking for _finitef declaration... " >&6; }
44687 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
44688 if ${glibcxx_cv_func__finitef_use+:} false; then :
44689 $as_echo_n "(cached) " >&6
44690 else
44693 ac_ext=cpp
44694 ac_cpp='$CXXCPP $CPPFLAGS'
44695 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44696 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44697 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44700 /* end confdefs.h. */
44701 #include <math.h>
44702 #ifdef HAVE_IEEEFP_H
44703 #include <ieeefp.h>
44704 #endif
44707 main ()
44709 _finitef(0);
44711 return 0;
44713 _ACEOF
44714 if ac_fn_cxx_try_compile "$LINENO"; then :
44715 glibcxx_cv_func__finitef_use=yes
44716 else
44717 glibcxx_cv_func__finitef_use=no
44719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44720 ac_ext=c
44721 ac_cpp='$CPP $CPPFLAGS'
44722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
44731 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
44733 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
44734 for ac_func in _finitef
44735 do :
44736 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
44737 if test "x$ac_cv_func__finitef" = xyes; then :
44738 cat >>confdefs.h <<_ACEOF
44739 #define HAVE__FINITEF 1
44740 _ACEOF
44743 done
44752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
44753 $as_echo_n "checking for long double trig functions... " >&6; }
44754 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
44755 $as_echo_n "(cached) " >&6
44756 else
44759 ac_ext=cpp
44760 ac_cpp='$CXXCPP $CPPFLAGS'
44761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44766 /* end confdefs.h. */
44767 #include <math.h>
44769 main ()
44771 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
44773 return 0;
44775 _ACEOF
44776 if ac_fn_cxx_try_compile "$LINENO"; then :
44777 glibcxx_cv_func_long_double_trig_use=yes
44778 else
44779 glibcxx_cv_func_long_double_trig_use=no
44781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44782 ac_ext=c
44783 ac_cpp='$CPP $CPPFLAGS'
44784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
44791 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
44792 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
44793 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
44794 do :
44795 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44796 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44797 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
44798 cat >>confdefs.h <<_ACEOF
44799 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44800 _ACEOF
44803 done
44805 else
44806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
44807 $as_echo_n "checking for _long double trig functions... " >&6; }
44808 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
44809 $as_echo_n "(cached) " >&6
44810 else
44813 ac_ext=cpp
44814 ac_cpp='$CXXCPP $CPPFLAGS'
44815 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44816 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44817 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44820 /* end confdefs.h. */
44821 #include <math.h>
44823 main ()
44825 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
44827 return 0;
44829 _ACEOF
44830 if ac_fn_cxx_try_compile "$LINENO"; then :
44831 glibcxx_cv_func__long_double_trig_use=yes
44832 else
44833 glibcxx_cv_func__long_double_trig_use=no
44835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44836 ac_ext=c
44837 ac_cpp='$CPP $CPPFLAGS'
44838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
44845 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
44846 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
44847 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
44848 do :
44849 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44850 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44851 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
44852 cat >>confdefs.h <<_ACEOF
44853 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44854 _ACEOF
44857 done
44866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
44867 $as_echo_n "checking for long double round functions... " >&6; }
44868 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
44869 $as_echo_n "(cached) " >&6
44870 else
44873 ac_ext=cpp
44874 ac_cpp='$CXXCPP $CPPFLAGS'
44875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44880 /* end confdefs.h. */
44881 #include <math.h>
44883 main ()
44885 ceill (0); floorl (0);
44887 return 0;
44889 _ACEOF
44890 if ac_fn_cxx_try_compile "$LINENO"; then :
44891 glibcxx_cv_func_long_double_round_use=yes
44892 else
44893 glibcxx_cv_func_long_double_round_use=no
44895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44896 ac_ext=c
44897 ac_cpp='$CPP $CPPFLAGS'
44898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
44905 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
44906 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
44907 for ac_func in ceill floorl
44908 do :
44909 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44910 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44911 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
44912 cat >>confdefs.h <<_ACEOF
44913 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44914 _ACEOF
44917 done
44919 else
44920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
44921 $as_echo_n "checking for _long double round functions... " >&6; }
44922 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
44923 $as_echo_n "(cached) " >&6
44924 else
44927 ac_ext=cpp
44928 ac_cpp='$CXXCPP $CPPFLAGS'
44929 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44930 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44931 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44934 /* end confdefs.h. */
44935 #include <math.h>
44937 main ()
44939 _ceill (0); _floorl (0);
44941 return 0;
44943 _ACEOF
44944 if ac_fn_cxx_try_compile "$LINENO"; then :
44945 glibcxx_cv_func__long_double_round_use=yes
44946 else
44947 glibcxx_cv_func__long_double_round_use=no
44949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44950 ac_ext=c
44951 ac_cpp='$CPP $CPPFLAGS'
44952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
44959 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
44960 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
44961 for ac_func in _ceill _floorl
44962 do :
44963 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44964 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44965 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
44966 cat >>confdefs.h <<_ACEOF
44967 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44968 _ACEOF
44971 done
44981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
44982 $as_echo_n "checking for isnanl declaration... " >&6; }
44983 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
44984 if ${glibcxx_cv_func_isnanl_use+:} false; then :
44985 $as_echo_n "(cached) " >&6
44986 else
44989 ac_ext=cpp
44990 ac_cpp='$CXXCPP $CPPFLAGS'
44991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44992 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44996 /* end confdefs.h. */
44997 #include <math.h>
44998 #ifdef HAVE_IEEEFP_H
44999 #include <ieeefp.h>
45000 #endif
45003 main ()
45005 isnanl(0);
45007 return 0;
45009 _ACEOF
45010 if ac_fn_cxx_try_compile "$LINENO"; then :
45011 glibcxx_cv_func_isnanl_use=yes
45012 else
45013 glibcxx_cv_func_isnanl_use=no
45015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45016 ac_ext=c
45017 ac_cpp='$CPP $CPPFLAGS'
45018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
45027 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
45029 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
45030 for ac_func in isnanl
45031 do :
45032 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
45033 if test "x$ac_cv_func_isnanl" = xyes; then :
45034 cat >>confdefs.h <<_ACEOF
45035 #define HAVE_ISNANL 1
45036 _ACEOF
45039 done
45041 else
45043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
45044 $as_echo_n "checking for _isnanl declaration... " >&6; }
45045 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
45046 if ${glibcxx_cv_func__isnanl_use+:} false; then :
45047 $as_echo_n "(cached) " >&6
45048 else
45051 ac_ext=cpp
45052 ac_cpp='$CXXCPP $CPPFLAGS'
45053 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45054 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45055 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45058 /* end confdefs.h. */
45059 #include <math.h>
45060 #ifdef HAVE_IEEEFP_H
45061 #include <ieeefp.h>
45062 #endif
45065 main ()
45067 _isnanl(0);
45069 return 0;
45071 _ACEOF
45072 if ac_fn_cxx_try_compile "$LINENO"; then :
45073 glibcxx_cv_func__isnanl_use=yes
45074 else
45075 glibcxx_cv_func__isnanl_use=no
45077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45078 ac_ext=c
45079 ac_cpp='$CPP $CPPFLAGS'
45080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
45089 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
45091 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
45092 for ac_func in _isnanl
45093 do :
45094 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
45095 if test "x$ac_cv_func__isnanl" = xyes; then :
45096 cat >>confdefs.h <<_ACEOF
45097 #define HAVE__ISNANL 1
45098 _ACEOF
45101 done
45110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
45111 $as_echo_n "checking for isinfl declaration... " >&6; }
45112 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
45113 if ${glibcxx_cv_func_isinfl_use+:} false; then :
45114 $as_echo_n "(cached) " >&6
45115 else
45118 ac_ext=cpp
45119 ac_cpp='$CXXCPP $CPPFLAGS'
45120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45125 /* end confdefs.h. */
45126 #include <math.h>
45127 #ifdef HAVE_IEEEFP_H
45128 #include <ieeefp.h>
45129 #endif
45132 main ()
45134 isinfl(0);
45136 return 0;
45138 _ACEOF
45139 if ac_fn_cxx_try_compile "$LINENO"; then :
45140 glibcxx_cv_func_isinfl_use=yes
45141 else
45142 glibcxx_cv_func_isinfl_use=no
45144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45145 ac_ext=c
45146 ac_cpp='$CPP $CPPFLAGS'
45147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
45156 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
45158 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
45159 for ac_func in isinfl
45160 do :
45161 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
45162 if test "x$ac_cv_func_isinfl" = xyes; then :
45163 cat >>confdefs.h <<_ACEOF
45164 #define HAVE_ISINFL 1
45165 _ACEOF
45168 done
45170 else
45172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
45173 $as_echo_n "checking for _isinfl declaration... " >&6; }
45174 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
45175 if ${glibcxx_cv_func__isinfl_use+:} false; then :
45176 $as_echo_n "(cached) " >&6
45177 else
45180 ac_ext=cpp
45181 ac_cpp='$CXXCPP $CPPFLAGS'
45182 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45183 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45184 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45187 /* end confdefs.h. */
45188 #include <math.h>
45189 #ifdef HAVE_IEEEFP_H
45190 #include <ieeefp.h>
45191 #endif
45194 main ()
45196 _isinfl(0);
45198 return 0;
45200 _ACEOF
45201 if ac_fn_cxx_try_compile "$LINENO"; then :
45202 glibcxx_cv_func__isinfl_use=yes
45203 else
45204 glibcxx_cv_func__isinfl_use=no
45206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45207 ac_ext=c
45208 ac_cpp='$CPP $CPPFLAGS'
45209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
45218 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
45220 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
45221 for ac_func in _isinfl
45222 do :
45223 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
45224 if test "x$ac_cv_func__isinfl" = xyes; then :
45225 cat >>confdefs.h <<_ACEOF
45226 #define HAVE__ISINFL 1
45227 _ACEOF
45230 done
45239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
45240 $as_echo_n "checking for atan2l declaration... " >&6; }
45241 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
45242 if ${glibcxx_cv_func_atan2l_use+:} false; then :
45243 $as_echo_n "(cached) " >&6
45244 else
45247 ac_ext=cpp
45248 ac_cpp='$CXXCPP $CPPFLAGS'
45249 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45250 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45251 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45254 /* end confdefs.h. */
45255 #include <math.h>
45257 main ()
45259 atan2l(0, 0);
45261 return 0;
45263 _ACEOF
45264 if ac_fn_cxx_try_compile "$LINENO"; then :
45265 glibcxx_cv_func_atan2l_use=yes
45266 else
45267 glibcxx_cv_func_atan2l_use=no
45269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45270 ac_ext=c
45271 ac_cpp='$CPP $CPPFLAGS'
45272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
45281 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
45283 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
45284 for ac_func in atan2l
45285 do :
45286 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
45287 if test "x$ac_cv_func_atan2l" = xyes; then :
45288 cat >>confdefs.h <<_ACEOF
45289 #define HAVE_ATAN2L 1
45290 _ACEOF
45293 done
45295 else
45297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
45298 $as_echo_n "checking for _atan2l declaration... " >&6; }
45299 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
45300 if ${glibcxx_cv_func__atan2l_use+:} false; then :
45301 $as_echo_n "(cached) " >&6
45302 else
45305 ac_ext=cpp
45306 ac_cpp='$CXXCPP $CPPFLAGS'
45307 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45308 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45309 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45312 /* end confdefs.h. */
45313 #include <math.h>
45315 main ()
45317 _atan2l(0, 0);
45319 return 0;
45321 _ACEOF
45322 if ac_fn_cxx_try_compile "$LINENO"; then :
45323 glibcxx_cv_func__atan2l_use=yes
45324 else
45325 glibcxx_cv_func__atan2l_use=no
45327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45328 ac_ext=c
45329 ac_cpp='$CPP $CPPFLAGS'
45330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
45339 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
45341 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
45342 for ac_func in _atan2l
45343 do :
45344 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
45345 if test "x$ac_cv_func__atan2l" = xyes; then :
45346 cat >>confdefs.h <<_ACEOF
45347 #define HAVE__ATAN2L 1
45348 _ACEOF
45351 done
45360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
45361 $as_echo_n "checking for expl declaration... " >&6; }
45362 if test x${glibcxx_cv_func_expl_use+set} != xset; then
45363 if ${glibcxx_cv_func_expl_use+:} false; then :
45364 $as_echo_n "(cached) " >&6
45365 else
45368 ac_ext=cpp
45369 ac_cpp='$CXXCPP $CPPFLAGS'
45370 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45371 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45372 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45375 /* end confdefs.h. */
45376 #include <math.h>
45377 #ifdef HAVE_IEEEFP_H
45378 #include <ieeefp.h>
45379 #endif
45382 main ()
45384 expl(0);
45386 return 0;
45388 _ACEOF
45389 if ac_fn_cxx_try_compile "$LINENO"; then :
45390 glibcxx_cv_func_expl_use=yes
45391 else
45392 glibcxx_cv_func_expl_use=no
45394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45395 ac_ext=c
45396 ac_cpp='$CPP $CPPFLAGS'
45397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
45406 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
45408 if test x$glibcxx_cv_func_expl_use = x"yes"; then
45409 for ac_func in expl
45410 do :
45411 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
45412 if test "x$ac_cv_func_expl" = xyes; then :
45413 cat >>confdefs.h <<_ACEOF
45414 #define HAVE_EXPL 1
45415 _ACEOF
45418 done
45420 else
45422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
45423 $as_echo_n "checking for _expl declaration... " >&6; }
45424 if test x${glibcxx_cv_func__expl_use+set} != xset; then
45425 if ${glibcxx_cv_func__expl_use+:} false; then :
45426 $as_echo_n "(cached) " >&6
45427 else
45430 ac_ext=cpp
45431 ac_cpp='$CXXCPP $CPPFLAGS'
45432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45437 /* end confdefs.h. */
45438 #include <math.h>
45439 #ifdef HAVE_IEEEFP_H
45440 #include <ieeefp.h>
45441 #endif
45444 main ()
45446 _expl(0);
45448 return 0;
45450 _ACEOF
45451 if ac_fn_cxx_try_compile "$LINENO"; then :
45452 glibcxx_cv_func__expl_use=yes
45453 else
45454 glibcxx_cv_func__expl_use=no
45456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45457 ac_ext=c
45458 ac_cpp='$CPP $CPPFLAGS'
45459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
45468 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
45470 if test x$glibcxx_cv_func__expl_use = x"yes"; then
45471 for ac_func in _expl
45472 do :
45473 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
45474 if test "x$ac_cv_func__expl" = xyes; then :
45475 cat >>confdefs.h <<_ACEOF
45476 #define HAVE__EXPL 1
45477 _ACEOF
45480 done
45489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
45490 $as_echo_n "checking for fabsl declaration... " >&6; }
45491 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
45492 if ${glibcxx_cv_func_fabsl_use+:} false; then :
45493 $as_echo_n "(cached) " >&6
45494 else
45497 ac_ext=cpp
45498 ac_cpp='$CXXCPP $CPPFLAGS'
45499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45504 /* end confdefs.h. */
45505 #include <math.h>
45506 #ifdef HAVE_IEEEFP_H
45507 #include <ieeefp.h>
45508 #endif
45511 main ()
45513 fabsl(0);
45515 return 0;
45517 _ACEOF
45518 if ac_fn_cxx_try_compile "$LINENO"; then :
45519 glibcxx_cv_func_fabsl_use=yes
45520 else
45521 glibcxx_cv_func_fabsl_use=no
45523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45524 ac_ext=c
45525 ac_cpp='$CPP $CPPFLAGS'
45526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
45535 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
45537 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
45538 for ac_func in fabsl
45539 do :
45540 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
45541 if test "x$ac_cv_func_fabsl" = xyes; then :
45542 cat >>confdefs.h <<_ACEOF
45543 #define HAVE_FABSL 1
45544 _ACEOF
45547 done
45549 else
45551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
45552 $as_echo_n "checking for _fabsl declaration... " >&6; }
45553 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
45554 if ${glibcxx_cv_func__fabsl_use+:} false; then :
45555 $as_echo_n "(cached) " >&6
45556 else
45559 ac_ext=cpp
45560 ac_cpp='$CXXCPP $CPPFLAGS'
45561 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45562 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45563 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45566 /* end confdefs.h. */
45567 #include <math.h>
45568 #ifdef HAVE_IEEEFP_H
45569 #include <ieeefp.h>
45570 #endif
45573 main ()
45575 _fabsl(0);
45577 return 0;
45579 _ACEOF
45580 if ac_fn_cxx_try_compile "$LINENO"; then :
45581 glibcxx_cv_func__fabsl_use=yes
45582 else
45583 glibcxx_cv_func__fabsl_use=no
45585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45586 ac_ext=c
45587 ac_cpp='$CPP $CPPFLAGS'
45588 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45589 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45590 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
45597 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
45599 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
45600 for ac_func in _fabsl
45601 do :
45602 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
45603 if test "x$ac_cv_func__fabsl" = xyes; then :
45604 cat >>confdefs.h <<_ACEOF
45605 #define HAVE__FABSL 1
45606 _ACEOF
45609 done
45618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
45619 $as_echo_n "checking for fmodl declaration... " >&6; }
45620 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
45621 if ${glibcxx_cv_func_fmodl_use+:} false; then :
45622 $as_echo_n "(cached) " >&6
45623 else
45626 ac_ext=cpp
45627 ac_cpp='$CXXCPP $CPPFLAGS'
45628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45633 /* end confdefs.h. */
45634 #include <math.h>
45636 main ()
45638 fmodl(0, 0);
45640 return 0;
45642 _ACEOF
45643 if ac_fn_cxx_try_compile "$LINENO"; then :
45644 glibcxx_cv_func_fmodl_use=yes
45645 else
45646 glibcxx_cv_func_fmodl_use=no
45648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45649 ac_ext=c
45650 ac_cpp='$CPP $CPPFLAGS'
45651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
45660 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
45662 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
45663 for ac_func in fmodl
45664 do :
45665 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
45666 if test "x$ac_cv_func_fmodl" = xyes; then :
45667 cat >>confdefs.h <<_ACEOF
45668 #define HAVE_FMODL 1
45669 _ACEOF
45672 done
45674 else
45676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
45677 $as_echo_n "checking for _fmodl declaration... " >&6; }
45678 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
45679 if ${glibcxx_cv_func__fmodl_use+:} false; then :
45680 $as_echo_n "(cached) " >&6
45681 else
45684 ac_ext=cpp
45685 ac_cpp='$CXXCPP $CPPFLAGS'
45686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45691 /* end confdefs.h. */
45692 #include <math.h>
45694 main ()
45696 _fmodl(0, 0);
45698 return 0;
45700 _ACEOF
45701 if ac_fn_cxx_try_compile "$LINENO"; then :
45702 glibcxx_cv_func__fmodl_use=yes
45703 else
45704 glibcxx_cv_func__fmodl_use=no
45706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45707 ac_ext=c
45708 ac_cpp='$CPP $CPPFLAGS'
45709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
45718 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
45720 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
45721 for ac_func in _fmodl
45722 do :
45723 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
45724 if test "x$ac_cv_func__fmodl" = xyes; then :
45725 cat >>confdefs.h <<_ACEOF
45726 #define HAVE__FMODL 1
45727 _ACEOF
45730 done
45739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
45740 $as_echo_n "checking for frexpl declaration... " >&6; }
45741 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
45742 if ${glibcxx_cv_func_frexpl_use+:} false; then :
45743 $as_echo_n "(cached) " >&6
45744 else
45747 ac_ext=cpp
45748 ac_cpp='$CXXCPP $CPPFLAGS'
45749 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45750 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45751 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45754 /* end confdefs.h. */
45755 #include <math.h>
45757 main ()
45759 frexpl(0, 0);
45761 return 0;
45763 _ACEOF
45764 if ac_fn_cxx_try_compile "$LINENO"; then :
45765 glibcxx_cv_func_frexpl_use=yes
45766 else
45767 glibcxx_cv_func_frexpl_use=no
45769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45770 ac_ext=c
45771 ac_cpp='$CPP $CPPFLAGS'
45772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
45781 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
45783 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
45784 for ac_func in frexpl
45785 do :
45786 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
45787 if test "x$ac_cv_func_frexpl" = xyes; then :
45788 cat >>confdefs.h <<_ACEOF
45789 #define HAVE_FREXPL 1
45790 _ACEOF
45793 done
45795 else
45797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
45798 $as_echo_n "checking for _frexpl declaration... " >&6; }
45799 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
45800 if ${glibcxx_cv_func__frexpl_use+:} false; then :
45801 $as_echo_n "(cached) " >&6
45802 else
45805 ac_ext=cpp
45806 ac_cpp='$CXXCPP $CPPFLAGS'
45807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45812 /* end confdefs.h. */
45813 #include <math.h>
45815 main ()
45817 _frexpl(0, 0);
45819 return 0;
45821 _ACEOF
45822 if ac_fn_cxx_try_compile "$LINENO"; then :
45823 glibcxx_cv_func__frexpl_use=yes
45824 else
45825 glibcxx_cv_func__frexpl_use=no
45827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45828 ac_ext=c
45829 ac_cpp='$CPP $CPPFLAGS'
45830 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45831 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45832 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
45839 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
45841 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
45842 for ac_func in _frexpl
45843 do :
45844 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
45845 if test "x$ac_cv_func__frexpl" = xyes; then :
45846 cat >>confdefs.h <<_ACEOF
45847 #define HAVE__FREXPL 1
45848 _ACEOF
45851 done
45860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
45861 $as_echo_n "checking for hypotl declaration... " >&6; }
45862 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
45863 if ${glibcxx_cv_func_hypotl_use+:} false; then :
45864 $as_echo_n "(cached) " >&6
45865 else
45868 ac_ext=cpp
45869 ac_cpp='$CXXCPP $CPPFLAGS'
45870 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45871 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45872 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45875 /* end confdefs.h. */
45876 #include <math.h>
45878 main ()
45880 hypotl(0, 0);
45882 return 0;
45884 _ACEOF
45885 if ac_fn_cxx_try_compile "$LINENO"; then :
45886 glibcxx_cv_func_hypotl_use=yes
45887 else
45888 glibcxx_cv_func_hypotl_use=no
45890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45891 ac_ext=c
45892 ac_cpp='$CPP $CPPFLAGS'
45893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
45902 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
45904 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
45905 for ac_func in hypotl
45906 do :
45907 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
45908 if test "x$ac_cv_func_hypotl" = xyes; then :
45909 cat >>confdefs.h <<_ACEOF
45910 #define HAVE_HYPOTL 1
45911 _ACEOF
45914 done
45916 else
45918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
45919 $as_echo_n "checking for _hypotl declaration... " >&6; }
45920 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
45921 if ${glibcxx_cv_func__hypotl_use+:} false; then :
45922 $as_echo_n "(cached) " >&6
45923 else
45926 ac_ext=cpp
45927 ac_cpp='$CXXCPP $CPPFLAGS'
45928 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45929 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45930 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45933 /* end confdefs.h. */
45934 #include <math.h>
45936 main ()
45938 _hypotl(0, 0);
45940 return 0;
45942 _ACEOF
45943 if ac_fn_cxx_try_compile "$LINENO"; then :
45944 glibcxx_cv_func__hypotl_use=yes
45945 else
45946 glibcxx_cv_func__hypotl_use=no
45948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45949 ac_ext=c
45950 ac_cpp='$CPP $CPPFLAGS'
45951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
45960 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
45962 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
45963 for ac_func in _hypotl
45964 do :
45965 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
45966 if test "x$ac_cv_func__hypotl" = xyes; then :
45967 cat >>confdefs.h <<_ACEOF
45968 #define HAVE__HYPOTL 1
45969 _ACEOF
45972 done
45981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
45982 $as_echo_n "checking for ldexpl declaration... " >&6; }
45983 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
45984 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
45985 $as_echo_n "(cached) " >&6
45986 else
45989 ac_ext=cpp
45990 ac_cpp='$CXXCPP $CPPFLAGS'
45991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45992 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45996 /* end confdefs.h. */
45997 #include <math.h>
45999 main ()
46001 ldexpl(0, 0);
46003 return 0;
46005 _ACEOF
46006 if ac_fn_cxx_try_compile "$LINENO"; then :
46007 glibcxx_cv_func_ldexpl_use=yes
46008 else
46009 glibcxx_cv_func_ldexpl_use=no
46011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46012 ac_ext=c
46013 ac_cpp='$CPP $CPPFLAGS'
46014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
46023 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
46025 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
46026 for ac_func in ldexpl
46027 do :
46028 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
46029 if test "x$ac_cv_func_ldexpl" = xyes; then :
46030 cat >>confdefs.h <<_ACEOF
46031 #define HAVE_LDEXPL 1
46032 _ACEOF
46035 done
46037 else
46039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
46040 $as_echo_n "checking for _ldexpl declaration... " >&6; }
46041 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
46042 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
46043 $as_echo_n "(cached) " >&6
46044 else
46047 ac_ext=cpp
46048 ac_cpp='$CXXCPP $CPPFLAGS'
46049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46054 /* end confdefs.h. */
46055 #include <math.h>
46057 main ()
46059 _ldexpl(0, 0);
46061 return 0;
46063 _ACEOF
46064 if ac_fn_cxx_try_compile "$LINENO"; then :
46065 glibcxx_cv_func__ldexpl_use=yes
46066 else
46067 glibcxx_cv_func__ldexpl_use=no
46069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46070 ac_ext=c
46071 ac_cpp='$CPP $CPPFLAGS'
46072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
46081 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
46083 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
46084 for ac_func in _ldexpl
46085 do :
46086 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
46087 if test "x$ac_cv_func__ldexpl" = xyes; then :
46088 cat >>confdefs.h <<_ACEOF
46089 #define HAVE__LDEXPL 1
46090 _ACEOF
46093 done
46102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
46103 $as_echo_n "checking for logl declaration... " >&6; }
46104 if test x${glibcxx_cv_func_logl_use+set} != xset; then
46105 if ${glibcxx_cv_func_logl_use+:} false; then :
46106 $as_echo_n "(cached) " >&6
46107 else
46110 ac_ext=cpp
46111 ac_cpp='$CXXCPP $CPPFLAGS'
46112 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46113 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46114 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46117 /* end confdefs.h. */
46118 #include <math.h>
46119 #ifdef HAVE_IEEEFP_H
46120 #include <ieeefp.h>
46121 #endif
46124 main ()
46126 logl(0);
46128 return 0;
46130 _ACEOF
46131 if ac_fn_cxx_try_compile "$LINENO"; then :
46132 glibcxx_cv_func_logl_use=yes
46133 else
46134 glibcxx_cv_func_logl_use=no
46136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46137 ac_ext=c
46138 ac_cpp='$CPP $CPPFLAGS'
46139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
46148 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
46150 if test x$glibcxx_cv_func_logl_use = x"yes"; then
46151 for ac_func in logl
46152 do :
46153 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
46154 if test "x$ac_cv_func_logl" = xyes; then :
46155 cat >>confdefs.h <<_ACEOF
46156 #define HAVE_LOGL 1
46157 _ACEOF
46160 done
46162 else
46164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
46165 $as_echo_n "checking for _logl declaration... " >&6; }
46166 if test x${glibcxx_cv_func__logl_use+set} != xset; then
46167 if ${glibcxx_cv_func__logl_use+:} false; then :
46168 $as_echo_n "(cached) " >&6
46169 else
46172 ac_ext=cpp
46173 ac_cpp='$CXXCPP $CPPFLAGS'
46174 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46175 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46176 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46179 /* end confdefs.h. */
46180 #include <math.h>
46181 #ifdef HAVE_IEEEFP_H
46182 #include <ieeefp.h>
46183 #endif
46186 main ()
46188 _logl(0);
46190 return 0;
46192 _ACEOF
46193 if ac_fn_cxx_try_compile "$LINENO"; then :
46194 glibcxx_cv_func__logl_use=yes
46195 else
46196 glibcxx_cv_func__logl_use=no
46198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46199 ac_ext=c
46200 ac_cpp='$CPP $CPPFLAGS'
46201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
46210 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
46212 if test x$glibcxx_cv_func__logl_use = x"yes"; then
46213 for ac_func in _logl
46214 do :
46215 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
46216 if test "x$ac_cv_func__logl" = xyes; then :
46217 cat >>confdefs.h <<_ACEOF
46218 #define HAVE__LOGL 1
46219 _ACEOF
46222 done
46231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
46232 $as_echo_n "checking for log10l declaration... " >&6; }
46233 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
46234 if ${glibcxx_cv_func_log10l_use+:} false; then :
46235 $as_echo_n "(cached) " >&6
46236 else
46239 ac_ext=cpp
46240 ac_cpp='$CXXCPP $CPPFLAGS'
46241 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46242 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46243 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46246 /* end confdefs.h. */
46247 #include <math.h>
46248 #ifdef HAVE_IEEEFP_H
46249 #include <ieeefp.h>
46250 #endif
46253 main ()
46255 log10l(0);
46257 return 0;
46259 _ACEOF
46260 if ac_fn_cxx_try_compile "$LINENO"; then :
46261 glibcxx_cv_func_log10l_use=yes
46262 else
46263 glibcxx_cv_func_log10l_use=no
46265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46266 ac_ext=c
46267 ac_cpp='$CPP $CPPFLAGS'
46268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
46277 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
46279 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
46280 for ac_func in log10l
46281 do :
46282 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
46283 if test "x$ac_cv_func_log10l" = xyes; then :
46284 cat >>confdefs.h <<_ACEOF
46285 #define HAVE_LOG10L 1
46286 _ACEOF
46289 done
46291 else
46293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
46294 $as_echo_n "checking for _log10l declaration... " >&6; }
46295 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
46296 if ${glibcxx_cv_func__log10l_use+:} false; then :
46297 $as_echo_n "(cached) " >&6
46298 else
46301 ac_ext=cpp
46302 ac_cpp='$CXXCPP $CPPFLAGS'
46303 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46304 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46305 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46308 /* end confdefs.h. */
46309 #include <math.h>
46310 #ifdef HAVE_IEEEFP_H
46311 #include <ieeefp.h>
46312 #endif
46315 main ()
46317 _log10l(0);
46319 return 0;
46321 _ACEOF
46322 if ac_fn_cxx_try_compile "$LINENO"; then :
46323 glibcxx_cv_func__log10l_use=yes
46324 else
46325 glibcxx_cv_func__log10l_use=no
46327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46328 ac_ext=c
46329 ac_cpp='$CPP $CPPFLAGS'
46330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
46339 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
46341 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
46342 for ac_func in _log10l
46343 do :
46344 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
46345 if test "x$ac_cv_func__log10l" = xyes; then :
46346 cat >>confdefs.h <<_ACEOF
46347 #define HAVE__LOG10L 1
46348 _ACEOF
46351 done
46360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
46361 $as_echo_n "checking for modfl declaration... " >&6; }
46362 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
46363 if ${glibcxx_cv_func_modfl_use+:} false; then :
46364 $as_echo_n "(cached) " >&6
46365 else
46368 ac_ext=cpp
46369 ac_cpp='$CXXCPP $CPPFLAGS'
46370 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46371 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46372 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46375 /* end confdefs.h. */
46376 #include <math.h>
46378 main ()
46380 modfl(0, 0);
46382 return 0;
46384 _ACEOF
46385 if ac_fn_cxx_try_compile "$LINENO"; then :
46386 glibcxx_cv_func_modfl_use=yes
46387 else
46388 glibcxx_cv_func_modfl_use=no
46390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46391 ac_ext=c
46392 ac_cpp='$CPP $CPPFLAGS'
46393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
46402 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
46404 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
46405 for ac_func in modfl
46406 do :
46407 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
46408 if test "x$ac_cv_func_modfl" = xyes; then :
46409 cat >>confdefs.h <<_ACEOF
46410 #define HAVE_MODFL 1
46411 _ACEOF
46414 done
46416 else
46418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
46419 $as_echo_n "checking for _modfl declaration... " >&6; }
46420 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
46421 if ${glibcxx_cv_func__modfl_use+:} false; then :
46422 $as_echo_n "(cached) " >&6
46423 else
46426 ac_ext=cpp
46427 ac_cpp='$CXXCPP $CPPFLAGS'
46428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46433 /* end confdefs.h. */
46434 #include <math.h>
46436 main ()
46438 _modfl(0, 0);
46440 return 0;
46442 _ACEOF
46443 if ac_fn_cxx_try_compile "$LINENO"; then :
46444 glibcxx_cv_func__modfl_use=yes
46445 else
46446 glibcxx_cv_func__modfl_use=no
46448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46449 ac_ext=c
46450 ac_cpp='$CPP $CPPFLAGS'
46451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
46460 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
46462 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
46463 for ac_func in _modfl
46464 do :
46465 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
46466 if test "x$ac_cv_func__modfl" = xyes; then :
46467 cat >>confdefs.h <<_ACEOF
46468 #define HAVE__MODFL 1
46469 _ACEOF
46472 done
46481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
46482 $as_echo_n "checking for powl declaration... " >&6; }
46483 if test x${glibcxx_cv_func_powl_use+set} != xset; then
46484 if ${glibcxx_cv_func_powl_use+:} false; then :
46485 $as_echo_n "(cached) " >&6
46486 else
46489 ac_ext=cpp
46490 ac_cpp='$CXXCPP $CPPFLAGS'
46491 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46492 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46493 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46496 /* end confdefs.h. */
46497 #include <math.h>
46499 main ()
46501 powl(0, 0);
46503 return 0;
46505 _ACEOF
46506 if ac_fn_cxx_try_compile "$LINENO"; then :
46507 glibcxx_cv_func_powl_use=yes
46508 else
46509 glibcxx_cv_func_powl_use=no
46511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46512 ac_ext=c
46513 ac_cpp='$CPP $CPPFLAGS'
46514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
46523 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
46525 if test x$glibcxx_cv_func_powl_use = x"yes"; then
46526 for ac_func in powl
46527 do :
46528 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
46529 if test "x$ac_cv_func_powl" = xyes; then :
46530 cat >>confdefs.h <<_ACEOF
46531 #define HAVE_POWL 1
46532 _ACEOF
46535 done
46537 else
46539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
46540 $as_echo_n "checking for _powl declaration... " >&6; }
46541 if test x${glibcxx_cv_func__powl_use+set} != xset; then
46542 if ${glibcxx_cv_func__powl_use+:} false; then :
46543 $as_echo_n "(cached) " >&6
46544 else
46547 ac_ext=cpp
46548 ac_cpp='$CXXCPP $CPPFLAGS'
46549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46554 /* end confdefs.h. */
46555 #include <math.h>
46557 main ()
46559 _powl(0, 0);
46561 return 0;
46563 _ACEOF
46564 if ac_fn_cxx_try_compile "$LINENO"; then :
46565 glibcxx_cv_func__powl_use=yes
46566 else
46567 glibcxx_cv_func__powl_use=no
46569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46570 ac_ext=c
46571 ac_cpp='$CPP $CPPFLAGS'
46572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
46581 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
46583 if test x$glibcxx_cv_func__powl_use = x"yes"; then
46584 for ac_func in _powl
46585 do :
46586 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
46587 if test "x$ac_cv_func__powl" = xyes; then :
46588 cat >>confdefs.h <<_ACEOF
46589 #define HAVE__POWL 1
46590 _ACEOF
46593 done
46602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
46603 $as_echo_n "checking for sqrtl declaration... " >&6; }
46604 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
46605 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
46606 $as_echo_n "(cached) " >&6
46607 else
46610 ac_ext=cpp
46611 ac_cpp='$CXXCPP $CPPFLAGS'
46612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46617 /* end confdefs.h. */
46618 #include <math.h>
46619 #ifdef HAVE_IEEEFP_H
46620 #include <ieeefp.h>
46621 #endif
46624 main ()
46626 sqrtl(0);
46628 return 0;
46630 _ACEOF
46631 if ac_fn_cxx_try_compile "$LINENO"; then :
46632 glibcxx_cv_func_sqrtl_use=yes
46633 else
46634 glibcxx_cv_func_sqrtl_use=no
46636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46637 ac_ext=c
46638 ac_cpp='$CPP $CPPFLAGS'
46639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46640 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46641 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
46648 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
46650 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
46651 for ac_func in sqrtl
46652 do :
46653 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
46654 if test "x$ac_cv_func_sqrtl" = xyes; then :
46655 cat >>confdefs.h <<_ACEOF
46656 #define HAVE_SQRTL 1
46657 _ACEOF
46660 done
46662 else
46664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
46665 $as_echo_n "checking for _sqrtl declaration... " >&6; }
46666 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
46667 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
46668 $as_echo_n "(cached) " >&6
46669 else
46672 ac_ext=cpp
46673 ac_cpp='$CXXCPP $CPPFLAGS'
46674 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46675 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46676 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46679 /* end confdefs.h. */
46680 #include <math.h>
46681 #ifdef HAVE_IEEEFP_H
46682 #include <ieeefp.h>
46683 #endif
46686 main ()
46688 _sqrtl(0);
46690 return 0;
46692 _ACEOF
46693 if ac_fn_cxx_try_compile "$LINENO"; then :
46694 glibcxx_cv_func__sqrtl_use=yes
46695 else
46696 glibcxx_cv_func__sqrtl_use=no
46698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46699 ac_ext=c
46700 ac_cpp='$CPP $CPPFLAGS'
46701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
46710 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
46712 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
46713 for ac_func in _sqrtl
46714 do :
46715 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
46716 if test "x$ac_cv_func__sqrtl" = xyes; then :
46717 cat >>confdefs.h <<_ACEOF
46718 #define HAVE__SQRTL 1
46719 _ACEOF
46722 done
46731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
46732 $as_echo_n "checking for sincosl declaration... " >&6; }
46733 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
46734 if ${glibcxx_cv_func_sincosl_use+:} false; then :
46735 $as_echo_n "(cached) " >&6
46736 else
46739 ac_ext=cpp
46740 ac_cpp='$CXXCPP $CPPFLAGS'
46741 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46742 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46743 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46746 /* end confdefs.h. */
46747 #include <math.h>
46749 main ()
46751 sincosl(0, 0, 0);
46753 return 0;
46755 _ACEOF
46756 if ac_fn_cxx_try_compile "$LINENO"; then :
46757 glibcxx_cv_func_sincosl_use=yes
46758 else
46759 glibcxx_cv_func_sincosl_use=no
46761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46762 ac_ext=c
46763 ac_cpp='$CPP $CPPFLAGS'
46764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
46773 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
46775 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
46776 for ac_func in sincosl
46777 do :
46778 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
46779 if test "x$ac_cv_func_sincosl" = xyes; then :
46780 cat >>confdefs.h <<_ACEOF
46781 #define HAVE_SINCOSL 1
46782 _ACEOF
46785 done
46787 else
46789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
46790 $as_echo_n "checking for _sincosl declaration... " >&6; }
46791 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
46792 if ${glibcxx_cv_func__sincosl_use+:} false; then :
46793 $as_echo_n "(cached) " >&6
46794 else
46797 ac_ext=cpp
46798 ac_cpp='$CXXCPP $CPPFLAGS'
46799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46800 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46804 /* end confdefs.h. */
46805 #include <math.h>
46807 main ()
46809 _sincosl(0, 0, 0);
46811 return 0;
46813 _ACEOF
46814 if ac_fn_cxx_try_compile "$LINENO"; then :
46815 glibcxx_cv_func__sincosl_use=yes
46816 else
46817 glibcxx_cv_func__sincosl_use=no
46819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46820 ac_ext=c
46821 ac_cpp='$CPP $CPPFLAGS'
46822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
46831 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
46833 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
46834 for ac_func in _sincosl
46835 do :
46836 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
46837 if test "x$ac_cv_func__sincosl" = xyes; then :
46838 cat >>confdefs.h <<_ACEOF
46839 #define HAVE__SINCOSL 1
46840 _ACEOF
46843 done
46852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
46853 $as_echo_n "checking for finitel declaration... " >&6; }
46854 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
46855 if ${glibcxx_cv_func_finitel_use+:} false; then :
46856 $as_echo_n "(cached) " >&6
46857 else
46860 ac_ext=cpp
46861 ac_cpp='$CXXCPP $CPPFLAGS'
46862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46867 /* end confdefs.h. */
46868 #include <math.h>
46869 #ifdef HAVE_IEEEFP_H
46870 #include <ieeefp.h>
46871 #endif
46874 main ()
46876 finitel(0);
46878 return 0;
46880 _ACEOF
46881 if ac_fn_cxx_try_compile "$LINENO"; then :
46882 glibcxx_cv_func_finitel_use=yes
46883 else
46884 glibcxx_cv_func_finitel_use=no
46886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46887 ac_ext=c
46888 ac_cpp='$CPP $CPPFLAGS'
46889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
46898 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
46900 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
46901 for ac_func in finitel
46902 do :
46903 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
46904 if test "x$ac_cv_func_finitel" = xyes; then :
46905 cat >>confdefs.h <<_ACEOF
46906 #define HAVE_FINITEL 1
46907 _ACEOF
46910 done
46912 else
46914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
46915 $as_echo_n "checking for _finitel declaration... " >&6; }
46916 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
46917 if ${glibcxx_cv_func__finitel_use+:} false; then :
46918 $as_echo_n "(cached) " >&6
46919 else
46922 ac_ext=cpp
46923 ac_cpp='$CXXCPP $CPPFLAGS'
46924 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46925 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46926 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46929 /* end confdefs.h. */
46930 #include <math.h>
46931 #ifdef HAVE_IEEEFP_H
46932 #include <ieeefp.h>
46933 #endif
46936 main ()
46938 _finitel(0);
46940 return 0;
46942 _ACEOF
46943 if ac_fn_cxx_try_compile "$LINENO"; then :
46944 glibcxx_cv_func__finitel_use=yes
46945 else
46946 glibcxx_cv_func__finitel_use=no
46948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46949 ac_ext=c
46950 ac_cpp='$CPP $CPPFLAGS'
46951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
46960 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
46962 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
46963 for ac_func in _finitel
46964 do :
46965 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
46966 if test "x$ac_cv_func__finitel" = xyes; then :
46967 cat >>confdefs.h <<_ACEOF
46968 #define HAVE__FINITEL 1
46969 _ACEOF
46972 done
46980 LIBS="$ac_save_LIBS"
46981 CXXFLAGS="$ac_save_CXXFLAGS"
46984 ac_test_CXXFLAGS="${CXXFLAGS+set}"
46985 ac_save_CXXFLAGS="$CXXFLAGS"
46986 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
46989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
46990 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
46991 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
46992 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
46993 $as_echo_n "(cached) " >&6
46994 else
46997 ac_ext=cpp
46998 ac_cpp='$CXXCPP $CPPFLAGS'
46999 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47000 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47001 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47004 /* end confdefs.h. */
47005 #include <stdlib.h>
47007 main ()
47009 at_quick_exit(0);
47011 return 0;
47013 _ACEOF
47014 if ac_fn_cxx_try_compile "$LINENO"; then :
47015 glibcxx_cv_func_at_quick_exit_use=yes
47016 else
47017 glibcxx_cv_func_at_quick_exit_use=no
47019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47020 ac_ext=c
47021 ac_cpp='$CPP $CPPFLAGS'
47022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
47031 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
47032 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
47033 for ac_func in at_quick_exit
47034 do :
47035 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
47036 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
47037 cat >>confdefs.h <<_ACEOF
47038 #define HAVE_AT_QUICK_EXIT 1
47039 _ACEOF
47042 done
47047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
47048 $as_echo_n "checking for quick_exit declaration... " >&6; }
47049 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
47050 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
47051 $as_echo_n "(cached) " >&6
47052 else
47055 ac_ext=cpp
47056 ac_cpp='$CXXCPP $CPPFLAGS'
47057 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47058 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47059 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47062 /* end confdefs.h. */
47063 #include <stdlib.h>
47065 main ()
47067 quick_exit(0);
47069 return 0;
47071 _ACEOF
47072 if ac_fn_cxx_try_compile "$LINENO"; then :
47073 glibcxx_cv_func_quick_exit_use=yes
47074 else
47075 glibcxx_cv_func_quick_exit_use=no
47077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47078 ac_ext=c
47079 ac_cpp='$CPP $CPPFLAGS'
47080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
47089 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
47090 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
47091 for ac_func in quick_exit
47092 do :
47093 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
47094 if test "x$ac_cv_func_quick_exit" = xyes; then :
47095 cat >>confdefs.h <<_ACEOF
47096 #define HAVE_QUICK_EXIT 1
47097 _ACEOF
47100 done
47105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
47106 $as_echo_n "checking for strtold declaration... " >&6; }
47107 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
47108 if ${glibcxx_cv_func_strtold_use+:} false; then :
47109 $as_echo_n "(cached) " >&6
47110 else
47113 ac_ext=cpp
47114 ac_cpp='$CXXCPP $CPPFLAGS'
47115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47120 /* end confdefs.h. */
47121 #include <stdlib.h>
47123 main ()
47125 strtold(0, 0);
47127 return 0;
47129 _ACEOF
47130 if ac_fn_cxx_try_compile "$LINENO"; then :
47131 glibcxx_cv_func_strtold_use=yes
47132 else
47133 glibcxx_cv_func_strtold_use=no
47135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47136 ac_ext=c
47137 ac_cpp='$CPP $CPPFLAGS'
47138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
47147 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
47148 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
47149 for ac_func in strtold
47150 do :
47151 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
47152 if test "x$ac_cv_func_strtold" = xyes; then :
47153 cat >>confdefs.h <<_ACEOF
47154 #define HAVE_STRTOLD 1
47155 _ACEOF
47158 done
47165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
47166 $as_echo_n "checking for strtof declaration... " >&6; }
47167 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
47168 if ${glibcxx_cv_func_strtof_use+:} false; then :
47169 $as_echo_n "(cached) " >&6
47170 else
47173 ac_ext=cpp
47174 ac_cpp='$CXXCPP $CPPFLAGS'
47175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47180 /* end confdefs.h. */
47181 #include <stdlib.h>
47183 main ()
47185 strtof(0, 0);
47187 return 0;
47189 _ACEOF
47190 if ac_fn_cxx_try_compile "$LINENO"; then :
47191 glibcxx_cv_func_strtof_use=yes
47192 else
47193 glibcxx_cv_func_strtof_use=no
47195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47196 ac_ext=c
47197 ac_cpp='$CPP $CPPFLAGS'
47198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
47207 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
47208 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
47209 for ac_func in strtof
47210 do :
47211 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
47212 if test "x$ac_cv_func_strtof" = xyes; then :
47213 cat >>confdefs.h <<_ACEOF
47214 #define HAVE_STRTOF 1
47215 _ACEOF
47218 done
47225 CXXFLAGS="$ac_save_CXXFLAGS"
47228 for ac_func in uselocale
47229 do :
47230 ac_fn_c_check_func "$LINENO" "uselocale" "ac_cv_func_uselocale"
47231 if test "x$ac_cv_func_uselocale" = xyes; then :
47232 cat >>confdefs.h <<_ACEOF
47233 #define HAVE_USELOCALE 1
47234 _ACEOF
47237 done
47241 *djgpp)
47242 # GLIBCXX_CHECK_MATH_SUPPORT
47243 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
47245 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
47247 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
47249 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
47251 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
47255 *-freebsd*)
47256 SECTION_FLAGS='-ffunction-sections -fdata-sections'
47259 # If we're not using GNU ld, then there's no point in even trying these
47260 # tests. Check for that first. We should have already tested for gld
47261 # by now (in libtool), but require it now just to be safe...
47262 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
47263 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
47267 # The name set by libtool depends on the version of libtool. Shame on us
47268 # for depending on an impl detail, but c'est la vie. Older versions used
47269 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
47270 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
47271 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
47272 # set (hence we're using an older libtool), then set it.
47273 if test x${with_gnu_ld+set} != xset; then
47274 if test x${ac_cv_prog_gnu_ld+set} != xset; then
47275 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
47276 with_gnu_ld=no
47277 else
47278 with_gnu_ld=$ac_cv_prog_gnu_ld
47282 # Start by getting the version number. I think the libtool test already
47283 # does some of this, but throws away the result.
47284 glibcxx_ld_is_gold=no
47285 if test x"$with_gnu_ld" = x"yes"; then
47286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
47287 $as_echo_n "checking for ld version... " >&6; }
47289 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
47290 glibcxx_ld_is_gold=yes
47292 ldver=`$LD --version 2>/dev/null |
47293 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
47295 glibcxx_gnu_ld_version=`echo $ldver | \
47296 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
47297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
47298 $as_echo "$glibcxx_gnu_ld_version" >&6; }
47301 # Set --gc-sections.
47302 glibcxx_have_gc_sections=no
47303 if test "$glibcxx_ld_is_gold" = "yes"; then
47304 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
47305 glibcxx_have_gc_sections=yes
47307 else
47308 glibcxx_gcsections_min_ld=21602
47309 if test x"$with_gnu_ld" = x"yes" &&
47310 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
47311 glibcxx_have_gc_sections=yes
47314 if test "$glibcxx_have_gc_sections" = "yes"; then
47315 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
47316 # NB: This flag only works reliably after 2.16.1. Configure tests
47317 # for this are difficult, so hard wire a value that should work.
47319 ac_test_CFLAGS="${CFLAGS+set}"
47320 ac_save_CFLAGS="$CFLAGS"
47321 CFLAGS='-Wl,--gc-sections'
47323 # Check for -Wl,--gc-sections
47324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
47325 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
47326 if test x$gcc_no_link = xyes; then
47327 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47330 /* end confdefs.h. */
47331 int one(void) { return 1; }
47332 int two(void) { return 2; }
47335 main ()
47337 two();
47339 return 0;
47341 _ACEOF
47342 if ac_fn_c_try_link "$LINENO"; then :
47343 ac_gcsections=yes
47344 else
47345 ac_gcsections=no
47347 rm -f core conftest.err conftest.$ac_objext \
47348 conftest$ac_exeext conftest.$ac_ext
47349 if test "$ac_gcsections" = "yes"; then
47350 rm -f conftest.c
47351 touch conftest.c
47352 if $CC -c conftest.c; then
47353 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
47354 grep "Warning: gc-sections option ignored" > /dev/null; then
47355 ac_gcsections=no
47358 rm -f conftest.c conftest.o conftest
47360 if test "$ac_gcsections" = "yes"; then
47361 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
47363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
47364 $as_echo "$ac_gcsections" >&6; }
47366 if test "$ac_test_CFLAGS" = set; then
47367 CFLAGS="$ac_save_CFLAGS"
47368 else
47369 # this is the suspicious part
47370 CFLAGS=''
47374 # Set -z,relro.
47375 # Note this is only for shared objects.
47376 ac_ld_relro=no
47377 if test x"$with_gnu_ld" = x"yes"; then
47378 # cygwin and mingw uses PE, which has no ELF relro support,
47379 # multi target ld may confuse configure machinery
47380 case "$host" in
47381 *-*-cygwin*)
47383 *-*-mingw*)
47386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
47387 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
47388 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
47389 if test -n "$cxx_z_relo"; then
47390 OPT_LDFLAGS="-Wl,-z,relro"
47391 ac_ld_relro=yes
47393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
47394 $as_echo "$ac_ld_relro" >&6; }
47395 esac
47398 # Set linker optimization flags.
47399 if test x"$with_gnu_ld" = x"yes"; then
47400 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
47406 $as_echo "#define HAVE_SETENV 1" >>confdefs.h
47408 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
47410 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
47412 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
47414 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
47416 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
47418 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
47420 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
47422 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
47425 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
47427 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
47429 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
47431 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
47433 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
47435 $as_echo "#define HAVE_COSF 1" >>confdefs.h
47437 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
47439 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
47441 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
47443 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
47445 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
47447 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
47449 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
47451 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
47453 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
47455 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
47457 $as_echo "#define HAVE_POWF 1" >>confdefs.h
47459 $as_echo "#define HAVE_SINF 1" >>confdefs.h
47461 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
47463 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
47465 $as_echo "#define HAVE_TANF 1" >>confdefs.h
47467 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
47469 if test x"long_double_math_on_this_cpu" = x"yes"; then
47470 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
47472 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
47474 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
47477 for ac_func in __cxa_thread_atexit
47478 do :
47479 ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit" "ac_cv_func___cxa_thread_atexit"
47480 if test "x$ac_cv_func___cxa_thread_atexit" = xyes; then :
47481 cat >>confdefs.h <<_ACEOF
47482 #define HAVE___CXA_THREAD_ATEXIT 1
47483 _ACEOF
47486 done
47488 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
47489 do :
47490 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47491 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47492 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
47493 cat >>confdefs.h <<_ACEOF
47494 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47495 _ACEOF
47498 done
47500 for ac_func in timespec_get
47501 do :
47502 ac_fn_c_check_func "$LINENO" "timespec_get" "ac_cv_func_timespec_get"
47503 if test "x$ac_cv_func_timespec_get" = xyes; then :
47504 cat >>confdefs.h <<_ACEOF
47505 #define HAVE_TIMESPEC_GET 1
47506 _ACEOF
47509 done
47511 for ac_func in sockatmark
47512 do :
47513 ac_fn_c_check_func "$LINENO" "sockatmark" "ac_cv_func_sockatmark"
47514 if test "x$ac_cv_func_sockatmark" = xyes; then :
47515 cat >>confdefs.h <<_ACEOF
47516 #define HAVE_SOCKATMARK 1
47517 _ACEOF
47520 done
47522 for ac_func in uselocale
47523 do :
47524 ac_fn_c_check_func "$LINENO" "uselocale" "ac_cv_func_uselocale"
47525 if test "x$ac_cv_func_uselocale" = xyes; then :
47526 cat >>confdefs.h <<_ACEOF
47527 #define HAVE_USELOCALE 1
47528 _ACEOF
47531 done
47535 *-fuchsia*)
47536 SECTION_FLAGS='-ffunction-sections -fdata-sections'
47540 *-hpux*)
47541 SECTION_FLAGS='-ffunction-sections -fdata-sections'
47544 # If we're not using GNU ld, then there's no point in even trying these
47545 # tests. Check for that first. We should have already tested for gld
47546 # by now (in libtool), but require it now just to be safe...
47547 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
47548 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
47552 # The name set by libtool depends on the version of libtool. Shame on us
47553 # for depending on an impl detail, but c'est la vie. Older versions used
47554 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
47555 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
47556 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
47557 # set (hence we're using an older libtool), then set it.
47558 if test x${with_gnu_ld+set} != xset; then
47559 if test x${ac_cv_prog_gnu_ld+set} != xset; then
47560 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
47561 with_gnu_ld=no
47562 else
47563 with_gnu_ld=$ac_cv_prog_gnu_ld
47567 # Start by getting the version number. I think the libtool test already
47568 # does some of this, but throws away the result.
47569 glibcxx_ld_is_gold=no
47570 if test x"$with_gnu_ld" = x"yes"; then
47571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
47572 $as_echo_n "checking for ld version... " >&6; }
47574 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
47575 glibcxx_ld_is_gold=yes
47577 ldver=`$LD --version 2>/dev/null |
47578 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
47580 glibcxx_gnu_ld_version=`echo $ldver | \
47581 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
47582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
47583 $as_echo "$glibcxx_gnu_ld_version" >&6; }
47586 # Set --gc-sections.
47587 glibcxx_have_gc_sections=no
47588 if test "$glibcxx_ld_is_gold" = "yes"; then
47589 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
47590 glibcxx_have_gc_sections=yes
47592 else
47593 glibcxx_gcsections_min_ld=21602
47594 if test x"$with_gnu_ld" = x"yes" &&
47595 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
47596 glibcxx_have_gc_sections=yes
47599 if test "$glibcxx_have_gc_sections" = "yes"; then
47600 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
47601 # NB: This flag only works reliably after 2.16.1. Configure tests
47602 # for this are difficult, so hard wire a value that should work.
47604 ac_test_CFLAGS="${CFLAGS+set}"
47605 ac_save_CFLAGS="$CFLAGS"
47606 CFLAGS='-Wl,--gc-sections'
47608 # Check for -Wl,--gc-sections
47609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
47610 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
47611 if test x$gcc_no_link = xyes; then
47612 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47615 /* end confdefs.h. */
47616 int one(void) { return 1; }
47617 int two(void) { return 2; }
47620 main ()
47622 two();
47624 return 0;
47626 _ACEOF
47627 if ac_fn_c_try_link "$LINENO"; then :
47628 ac_gcsections=yes
47629 else
47630 ac_gcsections=no
47632 rm -f core conftest.err conftest.$ac_objext \
47633 conftest$ac_exeext conftest.$ac_ext
47634 if test "$ac_gcsections" = "yes"; then
47635 rm -f conftest.c
47636 touch conftest.c
47637 if $CC -c conftest.c; then
47638 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
47639 grep "Warning: gc-sections option ignored" > /dev/null; then
47640 ac_gcsections=no
47643 rm -f conftest.c conftest.o conftest
47645 if test "$ac_gcsections" = "yes"; then
47646 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
47648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
47649 $as_echo "$ac_gcsections" >&6; }
47651 if test "$ac_test_CFLAGS" = set; then
47652 CFLAGS="$ac_save_CFLAGS"
47653 else
47654 # this is the suspicious part
47655 CFLAGS=''
47659 # Set -z,relro.
47660 # Note this is only for shared objects.
47661 ac_ld_relro=no
47662 if test x"$with_gnu_ld" = x"yes"; then
47663 # cygwin and mingw uses PE, which has no ELF relro support,
47664 # multi target ld may confuse configure machinery
47665 case "$host" in
47666 *-*-cygwin*)
47668 *-*-mingw*)
47671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
47672 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
47673 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
47674 if test -n "$cxx_z_relo"; then
47675 OPT_LDFLAGS="-Wl,-z,relro"
47676 ac_ld_relro=yes
47678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
47679 $as_echo "$ac_ld_relro" >&6; }
47680 esac
47683 # Set linker optimization flags.
47684 if test x"$with_gnu_ld" = x"yes"; then
47685 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
47692 # GLIBCXX_CHECK_MATH_SUPPORT
47693 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
47695 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
47697 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
47699 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
47701 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
47703 $as_echo "#define HAVE_COSF 1" >>confdefs.h
47705 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
47707 $as_echo "#define HAVE_SINF 1" >>confdefs.h
47709 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
47711 $as_echo "#define HAVE_TANF 1" >>confdefs.h
47713 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
47715 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
47717 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
47719 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
47721 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
47723 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
47725 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
47727 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
47729 $as_echo "#define HAVE_MODF 1" >>confdefs.h
47731 $as_echo "#define HAVE_POWF 1" >>confdefs.h
47733 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
47736 # GLIBCXX_CHECK_STDLIB_SUPPORT
47737 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
47742 # Check whether --enable-tls was given.
47743 if test "${enable_tls+set}" = set; then :
47744 enableval=$enable_tls;
47745 case "$enableval" in
47746 yes|no) ;;
47747 *) as_fn_error $? "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
47748 esac
47750 else
47751 enable_tls=yes
47755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
47756 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
47757 if ${gcc_cv_have_tls+:} false; then :
47758 $as_echo_n "(cached) " >&6
47759 else
47761 if test "$cross_compiling" = yes; then :
47762 if test x$gcc_no_link = xyes; then
47763 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47766 /* end confdefs.h. */
47767 __thread int a; int b; int main() { return a = b; }
47768 _ACEOF
47769 if ac_fn_c_try_link "$LINENO"; then :
47770 chktls_save_LDFLAGS="$LDFLAGS"
47771 case $host in
47772 *-*-linux* | -*-uclinuxfdpic*)
47773 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
47775 esac
47776 chktls_save_CFLAGS="$CFLAGS"
47777 CFLAGS="-fPIC $CFLAGS"
47778 if test x$gcc_no_link = xyes; then
47779 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47782 /* end confdefs.h. */
47783 int f() { return 0; }
47784 _ACEOF
47785 if ac_fn_c_try_link "$LINENO"; then :
47786 if test x$gcc_no_link = xyes; then
47787 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47790 /* end confdefs.h. */
47791 __thread int a; int b; int f() { return a = b; }
47792 _ACEOF
47793 if ac_fn_c_try_link "$LINENO"; then :
47794 gcc_cv_have_tls=yes
47795 else
47796 gcc_cv_have_tls=no
47798 rm -f core conftest.err conftest.$ac_objext \
47799 conftest$ac_exeext conftest.$ac_ext
47800 else
47801 gcc_cv_have_tls=yes
47803 rm -f core conftest.err conftest.$ac_objext \
47804 conftest$ac_exeext conftest.$ac_ext
47805 CFLAGS="$chktls_save_CFLAGS"
47806 LDFLAGS="$chktls_save_LDFLAGS"
47807 else
47808 gcc_cv_have_tls=no
47810 rm -f core conftest.err conftest.$ac_objext \
47811 conftest$ac_exeext conftest.$ac_ext
47814 else
47815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47816 /* end confdefs.h. */
47817 __thread int a; int b; int main() { return a = b; }
47818 _ACEOF
47819 if ac_fn_c_try_run "$LINENO"; then :
47820 chktls_save_LDFLAGS="$LDFLAGS"
47821 LDFLAGS="-static $LDFLAGS"
47822 if test x$gcc_no_link = xyes; then
47823 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47826 /* end confdefs.h. */
47827 int main() { return 0; }
47828 _ACEOF
47829 if ac_fn_c_try_link "$LINENO"; then :
47830 if test "$cross_compiling" = yes; then :
47831 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
47832 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
47833 as_fn_error $? "cannot run test program while cross compiling
47834 See \`config.log' for more details" "$LINENO" 5; }
47835 else
47836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47837 /* end confdefs.h. */
47838 __thread int a; int b; int main() { return a = b; }
47839 _ACEOF
47840 if ac_fn_c_try_run "$LINENO"; then :
47841 gcc_cv_have_tls=yes
47842 else
47843 gcc_cv_have_tls=no
47845 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
47846 conftest.$ac_objext conftest.beam conftest.$ac_ext
47849 else
47850 gcc_cv_have_tls=yes
47852 rm -f core conftest.err conftest.$ac_objext \
47853 conftest$ac_exeext conftest.$ac_ext
47854 LDFLAGS="$chktls_save_LDFLAGS"
47855 if test $gcc_cv_have_tls = yes; then
47856 chktls_save_CFLAGS="$CFLAGS"
47857 thread_CFLAGS=failed
47858 for flag in '' '-pthread' '-lpthread'; do
47859 CFLAGS="$flag $chktls_save_CFLAGS"
47860 if test x$gcc_no_link = xyes; then
47861 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47864 /* end confdefs.h. */
47865 #include <pthread.h>
47866 void *g(void *d) { return NULL; }
47868 main ()
47870 pthread_t t; pthread_create(&t,NULL,g,NULL);
47872 return 0;
47874 _ACEOF
47875 if ac_fn_c_try_link "$LINENO"; then :
47876 thread_CFLAGS="$flag"
47878 rm -f core conftest.err conftest.$ac_objext \
47879 conftest$ac_exeext conftest.$ac_ext
47880 if test "X$thread_CFLAGS" != Xfailed; then
47881 break
47883 done
47884 CFLAGS="$chktls_save_CFLAGS"
47885 if test "X$thread_CFLAGS" != Xfailed; then
47886 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
47887 if test "$cross_compiling" = yes; then :
47888 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
47889 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
47890 as_fn_error $? "cannot run test program while cross compiling
47891 See \`config.log' for more details" "$LINENO" 5; }
47892 else
47893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47894 /* end confdefs.h. */
47895 #include <pthread.h>
47896 __thread int a;
47897 static int *volatile a_in_other_thread;
47898 static void *
47899 thread_func (void *arg)
47901 a_in_other_thread = &a;
47902 return (void *)0;
47905 main ()
47907 pthread_t thread;
47908 void *thread_retval;
47909 int *volatile a_in_main_thread;
47910 a_in_main_thread = &a;
47911 if (pthread_create (&thread, (pthread_attr_t *)0,
47912 thread_func, (void *)0))
47913 return 0;
47914 if (pthread_join (thread, &thread_retval))
47915 return 0;
47916 return (a_in_other_thread == a_in_main_thread);
47918 return 0;
47920 _ACEOF
47921 if ac_fn_c_try_run "$LINENO"; then :
47922 gcc_cv_have_tls=yes
47923 else
47924 gcc_cv_have_tls=no
47926 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
47927 conftest.$ac_objext conftest.beam conftest.$ac_ext
47930 CFLAGS="$chktls_save_CFLAGS"
47933 else
47934 gcc_cv_have_tls=no
47936 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
47937 conftest.$ac_objext conftest.beam conftest.$ac_ext
47941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
47942 $as_echo "$gcc_cv_have_tls" >&6; }
47943 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
47945 $as_echo "#define HAVE_TLS 1" >>confdefs.h
47948 case "$target" in
47949 *-hpux10*)
47950 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
47952 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
47954 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
47956 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
47958 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
47961 esac
47963 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-cygwin* | *-solaris*)
47965 # All these tests are for C++; save the language and the compiler flags.
47966 # The CXXFLAGS thing is suspicious, but based on similar bits previously
47967 # found in GLIBCXX_CONFIGURE.
47969 ac_ext=cpp
47970 ac_cpp='$CXXCPP $CPPFLAGS'
47971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47975 ac_test_CXXFLAGS="${CXXFLAGS+set}"
47976 ac_save_CXXFLAGS="$CXXFLAGS"
47978 # Check for -ffunction-sections -fdata-sections
47979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
47980 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
47981 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
47982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47983 /* end confdefs.h. */
47984 int foo; void bar() { };
47986 main ()
47990 return 0;
47992 _ACEOF
47993 if ac_fn_cxx_try_compile "$LINENO"; then :
47994 ac_fdsections=yes
47995 else
47996 ac_fdsections=no
47998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47999 if test "$ac_test_CXXFLAGS" = set; then
48000 CXXFLAGS="$ac_save_CXXFLAGS"
48001 else
48002 # this is the suspicious part
48003 CXXFLAGS=''
48005 if test x"$ac_fdsections" = x"yes"; then
48006 SECTION_FLAGS='-ffunction-sections -fdata-sections'
48008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
48009 $as_echo "$ac_fdsections" >&6; }
48011 ac_ext=c
48012 ac_cpp='$CPP $CPPFLAGS'
48013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48020 # If we're not using GNU ld, then there's no point in even trying these
48021 # tests. Check for that first. We should have already tested for gld
48022 # by now (in libtool), but require it now just to be safe...
48023 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
48024 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
48028 # The name set by libtool depends on the version of libtool. Shame on us
48029 # for depending on an impl detail, but c'est la vie. Older versions used
48030 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
48031 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
48032 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
48033 # set (hence we're using an older libtool), then set it.
48034 if test x${with_gnu_ld+set} != xset; then
48035 if test x${ac_cv_prog_gnu_ld+set} != xset; then
48036 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
48037 with_gnu_ld=no
48038 else
48039 with_gnu_ld=$ac_cv_prog_gnu_ld
48043 # Start by getting the version number. I think the libtool test already
48044 # does some of this, but throws away the result.
48045 glibcxx_ld_is_gold=no
48046 if test x"$with_gnu_ld" = x"yes"; then
48047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
48048 $as_echo_n "checking for ld version... " >&6; }
48050 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
48051 glibcxx_ld_is_gold=yes
48053 ldver=`$LD --version 2>/dev/null |
48054 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
48056 glibcxx_gnu_ld_version=`echo $ldver | \
48057 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
48058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
48059 $as_echo "$glibcxx_gnu_ld_version" >&6; }
48062 # Set --gc-sections.
48063 glibcxx_have_gc_sections=no
48064 if test "$glibcxx_ld_is_gold" = "yes"; then
48065 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
48066 glibcxx_have_gc_sections=yes
48068 else
48069 glibcxx_gcsections_min_ld=21602
48070 if test x"$with_gnu_ld" = x"yes" &&
48071 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
48072 glibcxx_have_gc_sections=yes
48075 if test "$glibcxx_have_gc_sections" = "yes"; then
48076 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
48077 # NB: This flag only works reliably after 2.16.1. Configure tests
48078 # for this are difficult, so hard wire a value that should work.
48080 ac_test_CFLAGS="${CFLAGS+set}"
48081 ac_save_CFLAGS="$CFLAGS"
48082 CFLAGS='-Wl,--gc-sections'
48084 # Check for -Wl,--gc-sections
48085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
48086 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
48087 if test x$gcc_no_link = xyes; then
48088 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
48090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48091 /* end confdefs.h. */
48092 int one(void) { return 1; }
48093 int two(void) { return 2; }
48096 main ()
48098 two();
48100 return 0;
48102 _ACEOF
48103 if ac_fn_c_try_link "$LINENO"; then :
48104 ac_gcsections=yes
48105 else
48106 ac_gcsections=no
48108 rm -f core conftest.err conftest.$ac_objext \
48109 conftest$ac_exeext conftest.$ac_ext
48110 if test "$ac_gcsections" = "yes"; then
48111 rm -f conftest.c
48112 touch conftest.c
48113 if $CC -c conftest.c; then
48114 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
48115 grep "Warning: gc-sections option ignored" > /dev/null; then
48116 ac_gcsections=no
48119 rm -f conftest.c conftest.o conftest
48121 if test "$ac_gcsections" = "yes"; then
48122 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
48124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
48125 $as_echo "$ac_gcsections" >&6; }
48127 if test "$ac_test_CFLAGS" = set; then
48128 CFLAGS="$ac_save_CFLAGS"
48129 else
48130 # this is the suspicious part
48131 CFLAGS=''
48135 # Set -z,relro.
48136 # Note this is only for shared objects.
48137 ac_ld_relro=no
48138 if test x"$with_gnu_ld" = x"yes"; then
48139 # cygwin and mingw uses PE, which has no ELF relro support,
48140 # multi target ld may confuse configure machinery
48141 case "$host" in
48142 *-*-cygwin*)
48144 *-*-mingw*)
48147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
48148 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
48149 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
48150 if test -n "$cxx_z_relo"; then
48151 OPT_LDFLAGS="-Wl,-z,relro"
48152 ac_ld_relro=yes
48154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
48155 $as_echo "$ac_ld_relro" >&6; }
48156 esac
48159 # Set linker optimization flags.
48160 if test x"$with_gnu_ld" = x"yes"; then
48161 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
48168 ac_test_CXXFLAGS="${CXXFLAGS+set}"
48169 ac_save_CXXFLAGS="$CXXFLAGS"
48170 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
48172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
48173 $as_echo_n "checking for sin in -lm... " >&6; }
48174 if ${ac_cv_lib_m_sin+:} false; then :
48175 $as_echo_n "(cached) " >&6
48176 else
48177 ac_check_lib_save_LIBS=$LIBS
48178 LIBS="-lm $LIBS"
48179 if test x$gcc_no_link = xyes; then
48180 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
48182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48183 /* end confdefs.h. */
48185 /* Override any GCC internal prototype to avoid an error.
48186 Use char because int might match the return type of a GCC
48187 builtin and then its argument prototype would still apply. */
48188 #ifdef __cplusplus
48189 extern "C"
48190 #endif
48191 char sin ();
48193 main ()
48195 return sin ();
48197 return 0;
48199 _ACEOF
48200 if ac_fn_c_try_link "$LINENO"; then :
48201 ac_cv_lib_m_sin=yes
48202 else
48203 ac_cv_lib_m_sin=no
48205 rm -f core conftest.err conftest.$ac_objext \
48206 conftest$ac_exeext conftest.$ac_ext
48207 LIBS=$ac_check_lib_save_LIBS
48209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
48210 $as_echo "$ac_cv_lib_m_sin" >&6; }
48211 if test "x$ac_cv_lib_m_sin" = xyes; then :
48212 libm="-lm"
48215 ac_save_LIBS="$LIBS"
48216 LIBS="$LIBS $libm"
48220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
48221 $as_echo_n "checking for isinf declaration... " >&6; }
48222 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
48223 if ${glibcxx_cv_func_isinf_use+:} false; then :
48224 $as_echo_n "(cached) " >&6
48225 else
48228 ac_ext=cpp
48229 ac_cpp='$CXXCPP $CPPFLAGS'
48230 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48231 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48232 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48235 /* end confdefs.h. */
48236 #include <math.h>
48237 #ifdef HAVE_IEEEFP_H
48238 #include <ieeefp.h>
48239 #endif
48242 main ()
48244 isinf(0);
48246 return 0;
48248 _ACEOF
48249 if ac_fn_cxx_try_compile "$LINENO"; then :
48250 glibcxx_cv_func_isinf_use=yes
48251 else
48252 glibcxx_cv_func_isinf_use=no
48254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48255 ac_ext=c
48256 ac_cpp='$CPP $CPPFLAGS'
48257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
48266 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
48268 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
48269 for ac_func in isinf
48270 do :
48271 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
48272 if test "x$ac_cv_func_isinf" = xyes; then :
48273 cat >>confdefs.h <<_ACEOF
48274 #define HAVE_ISINF 1
48275 _ACEOF
48278 done
48280 else
48282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
48283 $as_echo_n "checking for _isinf declaration... " >&6; }
48284 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
48285 if ${glibcxx_cv_func__isinf_use+:} false; then :
48286 $as_echo_n "(cached) " >&6
48287 else
48290 ac_ext=cpp
48291 ac_cpp='$CXXCPP $CPPFLAGS'
48292 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48293 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48294 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48297 /* end confdefs.h. */
48298 #include <math.h>
48299 #ifdef HAVE_IEEEFP_H
48300 #include <ieeefp.h>
48301 #endif
48304 main ()
48306 _isinf(0);
48308 return 0;
48310 _ACEOF
48311 if ac_fn_cxx_try_compile "$LINENO"; then :
48312 glibcxx_cv_func__isinf_use=yes
48313 else
48314 glibcxx_cv_func__isinf_use=no
48316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48317 ac_ext=c
48318 ac_cpp='$CPP $CPPFLAGS'
48319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
48328 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
48330 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
48331 for ac_func in _isinf
48332 do :
48333 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
48334 if test "x$ac_cv_func__isinf" = xyes; then :
48335 cat >>confdefs.h <<_ACEOF
48336 #define HAVE__ISINF 1
48337 _ACEOF
48340 done
48349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
48350 $as_echo_n "checking for isnan declaration... " >&6; }
48351 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
48352 if ${glibcxx_cv_func_isnan_use+:} false; then :
48353 $as_echo_n "(cached) " >&6
48354 else
48357 ac_ext=cpp
48358 ac_cpp='$CXXCPP $CPPFLAGS'
48359 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48360 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48361 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48364 /* end confdefs.h. */
48365 #include <math.h>
48366 #ifdef HAVE_IEEEFP_H
48367 #include <ieeefp.h>
48368 #endif
48371 main ()
48373 isnan(0);
48375 return 0;
48377 _ACEOF
48378 if ac_fn_cxx_try_compile "$LINENO"; then :
48379 glibcxx_cv_func_isnan_use=yes
48380 else
48381 glibcxx_cv_func_isnan_use=no
48383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48384 ac_ext=c
48385 ac_cpp='$CPP $CPPFLAGS'
48386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
48395 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
48397 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
48398 for ac_func in isnan
48399 do :
48400 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
48401 if test "x$ac_cv_func_isnan" = xyes; then :
48402 cat >>confdefs.h <<_ACEOF
48403 #define HAVE_ISNAN 1
48404 _ACEOF
48407 done
48409 else
48411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
48412 $as_echo_n "checking for _isnan declaration... " >&6; }
48413 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
48414 if ${glibcxx_cv_func__isnan_use+:} false; then :
48415 $as_echo_n "(cached) " >&6
48416 else
48419 ac_ext=cpp
48420 ac_cpp='$CXXCPP $CPPFLAGS'
48421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48422 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48426 /* end confdefs.h. */
48427 #include <math.h>
48428 #ifdef HAVE_IEEEFP_H
48429 #include <ieeefp.h>
48430 #endif
48433 main ()
48435 _isnan(0);
48437 return 0;
48439 _ACEOF
48440 if ac_fn_cxx_try_compile "$LINENO"; then :
48441 glibcxx_cv_func__isnan_use=yes
48442 else
48443 glibcxx_cv_func__isnan_use=no
48445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48446 ac_ext=c
48447 ac_cpp='$CPP $CPPFLAGS'
48448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
48457 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
48459 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
48460 for ac_func in _isnan
48461 do :
48462 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
48463 if test "x$ac_cv_func__isnan" = xyes; then :
48464 cat >>confdefs.h <<_ACEOF
48465 #define HAVE__ISNAN 1
48466 _ACEOF
48469 done
48478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
48479 $as_echo_n "checking for finite declaration... " >&6; }
48480 if test x${glibcxx_cv_func_finite_use+set} != xset; then
48481 if ${glibcxx_cv_func_finite_use+:} false; then :
48482 $as_echo_n "(cached) " >&6
48483 else
48486 ac_ext=cpp
48487 ac_cpp='$CXXCPP $CPPFLAGS'
48488 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48489 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48490 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48493 /* end confdefs.h. */
48494 #include <math.h>
48495 #ifdef HAVE_IEEEFP_H
48496 #include <ieeefp.h>
48497 #endif
48500 main ()
48502 finite(0);
48504 return 0;
48506 _ACEOF
48507 if ac_fn_cxx_try_compile "$LINENO"; then :
48508 glibcxx_cv_func_finite_use=yes
48509 else
48510 glibcxx_cv_func_finite_use=no
48512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48513 ac_ext=c
48514 ac_cpp='$CPP $CPPFLAGS'
48515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
48524 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
48526 if test x$glibcxx_cv_func_finite_use = x"yes"; then
48527 for ac_func in finite
48528 do :
48529 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
48530 if test "x$ac_cv_func_finite" = xyes; then :
48531 cat >>confdefs.h <<_ACEOF
48532 #define HAVE_FINITE 1
48533 _ACEOF
48536 done
48538 else
48540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
48541 $as_echo_n "checking for _finite declaration... " >&6; }
48542 if test x${glibcxx_cv_func__finite_use+set} != xset; then
48543 if ${glibcxx_cv_func__finite_use+:} false; then :
48544 $as_echo_n "(cached) " >&6
48545 else
48548 ac_ext=cpp
48549 ac_cpp='$CXXCPP $CPPFLAGS'
48550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48555 /* end confdefs.h. */
48556 #include <math.h>
48557 #ifdef HAVE_IEEEFP_H
48558 #include <ieeefp.h>
48559 #endif
48562 main ()
48564 _finite(0);
48566 return 0;
48568 _ACEOF
48569 if ac_fn_cxx_try_compile "$LINENO"; then :
48570 glibcxx_cv_func__finite_use=yes
48571 else
48572 glibcxx_cv_func__finite_use=no
48574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48575 ac_ext=c
48576 ac_cpp='$CPP $CPPFLAGS'
48577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
48586 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
48588 if test x$glibcxx_cv_func__finite_use = x"yes"; then
48589 for ac_func in _finite
48590 do :
48591 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
48592 if test "x$ac_cv_func__finite" = xyes; then :
48593 cat >>confdefs.h <<_ACEOF
48594 #define HAVE__FINITE 1
48595 _ACEOF
48598 done
48607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
48608 $as_echo_n "checking for sincos declaration... " >&6; }
48609 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
48610 if ${glibcxx_cv_func_sincos_use+:} false; then :
48611 $as_echo_n "(cached) " >&6
48612 else
48615 ac_ext=cpp
48616 ac_cpp='$CXXCPP $CPPFLAGS'
48617 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48618 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48619 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48622 /* end confdefs.h. */
48623 #include <math.h>
48625 main ()
48627 sincos(0, 0, 0);
48629 return 0;
48631 _ACEOF
48632 if ac_fn_cxx_try_compile "$LINENO"; then :
48633 glibcxx_cv_func_sincos_use=yes
48634 else
48635 glibcxx_cv_func_sincos_use=no
48637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48638 ac_ext=c
48639 ac_cpp='$CPP $CPPFLAGS'
48640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
48649 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
48651 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
48652 for ac_func in sincos
48653 do :
48654 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
48655 if test "x$ac_cv_func_sincos" = xyes; then :
48656 cat >>confdefs.h <<_ACEOF
48657 #define HAVE_SINCOS 1
48658 _ACEOF
48661 done
48663 else
48665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
48666 $as_echo_n "checking for _sincos declaration... " >&6; }
48667 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
48668 if ${glibcxx_cv_func__sincos_use+:} false; then :
48669 $as_echo_n "(cached) " >&6
48670 else
48673 ac_ext=cpp
48674 ac_cpp='$CXXCPP $CPPFLAGS'
48675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48680 /* end confdefs.h. */
48681 #include <math.h>
48683 main ()
48685 _sincos(0, 0, 0);
48687 return 0;
48689 _ACEOF
48690 if ac_fn_cxx_try_compile "$LINENO"; then :
48691 glibcxx_cv_func__sincos_use=yes
48692 else
48693 glibcxx_cv_func__sincos_use=no
48695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48696 ac_ext=c
48697 ac_cpp='$CPP $CPPFLAGS'
48698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
48707 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
48709 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
48710 for ac_func in _sincos
48711 do :
48712 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
48713 if test "x$ac_cv_func__sincos" = xyes; then :
48714 cat >>confdefs.h <<_ACEOF
48715 #define HAVE__SINCOS 1
48716 _ACEOF
48719 done
48728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
48729 $as_echo_n "checking for fpclass declaration... " >&6; }
48730 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
48731 if ${glibcxx_cv_func_fpclass_use+:} false; then :
48732 $as_echo_n "(cached) " >&6
48733 else
48736 ac_ext=cpp
48737 ac_cpp='$CXXCPP $CPPFLAGS'
48738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48743 /* end confdefs.h. */
48744 #include <math.h>
48745 #ifdef HAVE_IEEEFP_H
48746 #include <ieeefp.h>
48747 #endif
48750 main ()
48752 fpclass(0);
48754 return 0;
48756 _ACEOF
48757 if ac_fn_cxx_try_compile "$LINENO"; then :
48758 glibcxx_cv_func_fpclass_use=yes
48759 else
48760 glibcxx_cv_func_fpclass_use=no
48762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48763 ac_ext=c
48764 ac_cpp='$CPP $CPPFLAGS'
48765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
48774 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
48776 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
48777 for ac_func in fpclass
48778 do :
48779 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
48780 if test "x$ac_cv_func_fpclass" = xyes; then :
48781 cat >>confdefs.h <<_ACEOF
48782 #define HAVE_FPCLASS 1
48783 _ACEOF
48786 done
48788 else
48790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
48791 $as_echo_n "checking for _fpclass declaration... " >&6; }
48792 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
48793 if ${glibcxx_cv_func__fpclass_use+:} false; then :
48794 $as_echo_n "(cached) " >&6
48795 else
48798 ac_ext=cpp
48799 ac_cpp='$CXXCPP $CPPFLAGS'
48800 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48801 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48802 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48805 /* end confdefs.h. */
48806 #include <math.h>
48807 #ifdef HAVE_IEEEFP_H
48808 #include <ieeefp.h>
48809 #endif
48812 main ()
48814 _fpclass(0);
48816 return 0;
48818 _ACEOF
48819 if ac_fn_cxx_try_compile "$LINENO"; then :
48820 glibcxx_cv_func__fpclass_use=yes
48821 else
48822 glibcxx_cv_func__fpclass_use=no
48824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48825 ac_ext=c
48826 ac_cpp='$CPP $CPPFLAGS'
48827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
48836 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
48838 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
48839 for ac_func in _fpclass
48840 do :
48841 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
48842 if test "x$ac_cv_func__fpclass" = xyes; then :
48843 cat >>confdefs.h <<_ACEOF
48844 #define HAVE__FPCLASS 1
48845 _ACEOF
48848 done
48857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
48858 $as_echo_n "checking for qfpclass declaration... " >&6; }
48859 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
48860 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
48861 $as_echo_n "(cached) " >&6
48862 else
48865 ac_ext=cpp
48866 ac_cpp='$CXXCPP $CPPFLAGS'
48867 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48868 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48869 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48872 /* end confdefs.h. */
48873 #include <math.h>
48874 #ifdef HAVE_IEEEFP_H
48875 #include <ieeefp.h>
48876 #endif
48879 main ()
48881 qfpclass(0);
48883 return 0;
48885 _ACEOF
48886 if ac_fn_cxx_try_compile "$LINENO"; then :
48887 glibcxx_cv_func_qfpclass_use=yes
48888 else
48889 glibcxx_cv_func_qfpclass_use=no
48891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48892 ac_ext=c
48893 ac_cpp='$CPP $CPPFLAGS'
48894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
48903 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
48905 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
48906 for ac_func in qfpclass
48907 do :
48908 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
48909 if test "x$ac_cv_func_qfpclass" = xyes; then :
48910 cat >>confdefs.h <<_ACEOF
48911 #define HAVE_QFPCLASS 1
48912 _ACEOF
48915 done
48917 else
48919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
48920 $as_echo_n "checking for _qfpclass declaration... " >&6; }
48921 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
48922 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
48923 $as_echo_n "(cached) " >&6
48924 else
48927 ac_ext=cpp
48928 ac_cpp='$CXXCPP $CPPFLAGS'
48929 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48930 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48931 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48934 /* end confdefs.h. */
48935 #include <math.h>
48936 #ifdef HAVE_IEEEFP_H
48937 #include <ieeefp.h>
48938 #endif
48941 main ()
48943 _qfpclass(0);
48945 return 0;
48947 _ACEOF
48948 if ac_fn_cxx_try_compile "$LINENO"; then :
48949 glibcxx_cv_func__qfpclass_use=yes
48950 else
48951 glibcxx_cv_func__qfpclass_use=no
48953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48954 ac_ext=c
48955 ac_cpp='$CPP $CPPFLAGS'
48956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
48965 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
48967 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
48968 for ac_func in _qfpclass
48969 do :
48970 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
48971 if test "x$ac_cv_func__qfpclass" = xyes; then :
48972 cat >>confdefs.h <<_ACEOF
48973 #define HAVE__QFPCLASS 1
48974 _ACEOF
48977 done
48986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
48987 $as_echo_n "checking for hypot declaration... " >&6; }
48988 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
48989 if ${glibcxx_cv_func_hypot_use+:} false; then :
48990 $as_echo_n "(cached) " >&6
48991 else
48994 ac_ext=cpp
48995 ac_cpp='$CXXCPP $CPPFLAGS'
48996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49001 /* end confdefs.h. */
49002 #include <math.h>
49004 main ()
49006 hypot(0, 0);
49008 return 0;
49010 _ACEOF
49011 if ac_fn_cxx_try_compile "$LINENO"; then :
49012 glibcxx_cv_func_hypot_use=yes
49013 else
49014 glibcxx_cv_func_hypot_use=no
49016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49017 ac_ext=c
49018 ac_cpp='$CPP $CPPFLAGS'
49019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
49028 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
49030 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
49031 for ac_func in hypot
49032 do :
49033 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
49034 if test "x$ac_cv_func_hypot" = xyes; then :
49035 cat >>confdefs.h <<_ACEOF
49036 #define HAVE_HYPOT 1
49037 _ACEOF
49040 done
49042 else
49044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
49045 $as_echo_n "checking for _hypot declaration... " >&6; }
49046 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
49047 if ${glibcxx_cv_func__hypot_use+:} false; then :
49048 $as_echo_n "(cached) " >&6
49049 else
49052 ac_ext=cpp
49053 ac_cpp='$CXXCPP $CPPFLAGS'
49054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49059 /* end confdefs.h. */
49060 #include <math.h>
49062 main ()
49064 _hypot(0, 0);
49066 return 0;
49068 _ACEOF
49069 if ac_fn_cxx_try_compile "$LINENO"; then :
49070 glibcxx_cv_func__hypot_use=yes
49071 else
49072 glibcxx_cv_func__hypot_use=no
49074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49075 ac_ext=c
49076 ac_cpp='$CPP $CPPFLAGS'
49077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
49086 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
49088 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
49089 for ac_func in _hypot
49090 do :
49091 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
49092 if test "x$ac_cv_func__hypot" = xyes; then :
49093 cat >>confdefs.h <<_ACEOF
49094 #define HAVE__HYPOT 1
49095 _ACEOF
49098 done
49107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
49108 $as_echo_n "checking for float trig functions... " >&6; }
49109 if ${glibcxx_cv_func_float_trig_use+:} false; then :
49110 $as_echo_n "(cached) " >&6
49111 else
49114 ac_ext=cpp
49115 ac_cpp='$CXXCPP $CPPFLAGS'
49116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49121 /* end confdefs.h. */
49122 #include <math.h>
49124 main ()
49126 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
49128 return 0;
49130 _ACEOF
49131 if ac_fn_cxx_try_compile "$LINENO"; then :
49132 glibcxx_cv_func_float_trig_use=yes
49133 else
49134 glibcxx_cv_func_float_trig_use=no
49136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49137 ac_ext=c
49138 ac_cpp='$CPP $CPPFLAGS'
49139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
49146 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
49147 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
49148 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
49149 do :
49150 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49151 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49152 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
49153 cat >>confdefs.h <<_ACEOF
49154 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49155 _ACEOF
49158 done
49160 else
49161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
49162 $as_echo_n "checking for _float trig functions... " >&6; }
49163 if ${glibcxx_cv_func__float_trig_use+:} false; then :
49164 $as_echo_n "(cached) " >&6
49165 else
49168 ac_ext=cpp
49169 ac_cpp='$CXXCPP $CPPFLAGS'
49170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49175 /* end confdefs.h. */
49176 #include <math.h>
49178 main ()
49180 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
49182 return 0;
49184 _ACEOF
49185 if ac_fn_cxx_try_compile "$LINENO"; then :
49186 glibcxx_cv_func__float_trig_use=yes
49187 else
49188 glibcxx_cv_func__float_trig_use=no
49190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49191 ac_ext=c
49192 ac_cpp='$CPP $CPPFLAGS'
49193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
49200 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
49201 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
49202 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
49203 do :
49204 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49205 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49206 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
49207 cat >>confdefs.h <<_ACEOF
49208 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49209 _ACEOF
49212 done
49221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
49222 $as_echo_n "checking for float round functions... " >&6; }
49223 if ${glibcxx_cv_func_float_round_use+:} false; then :
49224 $as_echo_n "(cached) " >&6
49225 else
49228 ac_ext=cpp
49229 ac_cpp='$CXXCPP $CPPFLAGS'
49230 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49231 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49232 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49235 /* end confdefs.h. */
49236 #include <math.h>
49238 main ()
49240 ceilf (0); floorf (0);
49242 return 0;
49244 _ACEOF
49245 if ac_fn_cxx_try_compile "$LINENO"; then :
49246 glibcxx_cv_func_float_round_use=yes
49247 else
49248 glibcxx_cv_func_float_round_use=no
49250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49251 ac_ext=c
49252 ac_cpp='$CPP $CPPFLAGS'
49253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
49260 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
49261 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
49262 for ac_func in ceilf floorf
49263 do :
49264 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49265 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49266 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
49267 cat >>confdefs.h <<_ACEOF
49268 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49269 _ACEOF
49272 done
49274 else
49275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
49276 $as_echo_n "checking for _float round functions... " >&6; }
49277 if ${glibcxx_cv_func__float_round_use+:} false; then :
49278 $as_echo_n "(cached) " >&6
49279 else
49282 ac_ext=cpp
49283 ac_cpp='$CXXCPP $CPPFLAGS'
49284 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49285 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49286 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49289 /* end confdefs.h. */
49290 #include <math.h>
49292 main ()
49294 _ceilf (0); _floorf (0);
49296 return 0;
49298 _ACEOF
49299 if ac_fn_cxx_try_compile "$LINENO"; then :
49300 glibcxx_cv_func__float_round_use=yes
49301 else
49302 glibcxx_cv_func__float_round_use=no
49304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49305 ac_ext=c
49306 ac_cpp='$CPP $CPPFLAGS'
49307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
49314 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
49315 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
49316 for ac_func in _ceilf _floorf
49317 do :
49318 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49319 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49320 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
49321 cat >>confdefs.h <<_ACEOF
49322 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49323 _ACEOF
49326 done
49336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
49337 $as_echo_n "checking for expf declaration... " >&6; }
49338 if test x${glibcxx_cv_func_expf_use+set} != xset; then
49339 if ${glibcxx_cv_func_expf_use+:} false; then :
49340 $as_echo_n "(cached) " >&6
49341 else
49344 ac_ext=cpp
49345 ac_cpp='$CXXCPP $CPPFLAGS'
49346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49351 /* end confdefs.h. */
49352 #include <math.h>
49353 #ifdef HAVE_IEEEFP_H
49354 #include <ieeefp.h>
49355 #endif
49358 main ()
49360 expf(0);
49362 return 0;
49364 _ACEOF
49365 if ac_fn_cxx_try_compile "$LINENO"; then :
49366 glibcxx_cv_func_expf_use=yes
49367 else
49368 glibcxx_cv_func_expf_use=no
49370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49371 ac_ext=c
49372 ac_cpp='$CPP $CPPFLAGS'
49373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
49382 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
49384 if test x$glibcxx_cv_func_expf_use = x"yes"; then
49385 for ac_func in expf
49386 do :
49387 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
49388 if test "x$ac_cv_func_expf" = xyes; then :
49389 cat >>confdefs.h <<_ACEOF
49390 #define HAVE_EXPF 1
49391 _ACEOF
49394 done
49396 else
49398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
49399 $as_echo_n "checking for _expf declaration... " >&6; }
49400 if test x${glibcxx_cv_func__expf_use+set} != xset; then
49401 if ${glibcxx_cv_func__expf_use+:} false; then :
49402 $as_echo_n "(cached) " >&6
49403 else
49406 ac_ext=cpp
49407 ac_cpp='$CXXCPP $CPPFLAGS'
49408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49413 /* end confdefs.h. */
49414 #include <math.h>
49415 #ifdef HAVE_IEEEFP_H
49416 #include <ieeefp.h>
49417 #endif
49420 main ()
49422 _expf(0);
49424 return 0;
49426 _ACEOF
49427 if ac_fn_cxx_try_compile "$LINENO"; then :
49428 glibcxx_cv_func__expf_use=yes
49429 else
49430 glibcxx_cv_func__expf_use=no
49432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49433 ac_ext=c
49434 ac_cpp='$CPP $CPPFLAGS'
49435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
49444 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
49446 if test x$glibcxx_cv_func__expf_use = x"yes"; then
49447 for ac_func in _expf
49448 do :
49449 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
49450 if test "x$ac_cv_func__expf" = xyes; then :
49451 cat >>confdefs.h <<_ACEOF
49452 #define HAVE__EXPF 1
49453 _ACEOF
49456 done
49465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
49466 $as_echo_n "checking for isnanf declaration... " >&6; }
49467 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
49468 if ${glibcxx_cv_func_isnanf_use+:} false; then :
49469 $as_echo_n "(cached) " >&6
49470 else
49473 ac_ext=cpp
49474 ac_cpp='$CXXCPP $CPPFLAGS'
49475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49480 /* end confdefs.h. */
49481 #include <math.h>
49482 #ifdef HAVE_IEEEFP_H
49483 #include <ieeefp.h>
49484 #endif
49487 main ()
49489 isnanf(0);
49491 return 0;
49493 _ACEOF
49494 if ac_fn_cxx_try_compile "$LINENO"; then :
49495 glibcxx_cv_func_isnanf_use=yes
49496 else
49497 glibcxx_cv_func_isnanf_use=no
49499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49500 ac_ext=c
49501 ac_cpp='$CPP $CPPFLAGS'
49502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
49511 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
49513 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
49514 for ac_func in isnanf
49515 do :
49516 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
49517 if test "x$ac_cv_func_isnanf" = xyes; then :
49518 cat >>confdefs.h <<_ACEOF
49519 #define HAVE_ISNANF 1
49520 _ACEOF
49523 done
49525 else
49527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
49528 $as_echo_n "checking for _isnanf declaration... " >&6; }
49529 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
49530 if ${glibcxx_cv_func__isnanf_use+:} false; then :
49531 $as_echo_n "(cached) " >&6
49532 else
49535 ac_ext=cpp
49536 ac_cpp='$CXXCPP $CPPFLAGS'
49537 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49538 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49539 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49542 /* end confdefs.h. */
49543 #include <math.h>
49544 #ifdef HAVE_IEEEFP_H
49545 #include <ieeefp.h>
49546 #endif
49549 main ()
49551 _isnanf(0);
49553 return 0;
49555 _ACEOF
49556 if ac_fn_cxx_try_compile "$LINENO"; then :
49557 glibcxx_cv_func__isnanf_use=yes
49558 else
49559 glibcxx_cv_func__isnanf_use=no
49561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49562 ac_ext=c
49563 ac_cpp='$CPP $CPPFLAGS'
49564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
49573 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
49575 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
49576 for ac_func in _isnanf
49577 do :
49578 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
49579 if test "x$ac_cv_func__isnanf" = xyes; then :
49580 cat >>confdefs.h <<_ACEOF
49581 #define HAVE__ISNANF 1
49582 _ACEOF
49585 done
49594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
49595 $as_echo_n "checking for isinff declaration... " >&6; }
49596 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
49597 if ${glibcxx_cv_func_isinff_use+:} false; then :
49598 $as_echo_n "(cached) " >&6
49599 else
49602 ac_ext=cpp
49603 ac_cpp='$CXXCPP $CPPFLAGS'
49604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49609 /* end confdefs.h. */
49610 #include <math.h>
49611 #ifdef HAVE_IEEEFP_H
49612 #include <ieeefp.h>
49613 #endif
49616 main ()
49618 isinff(0);
49620 return 0;
49622 _ACEOF
49623 if ac_fn_cxx_try_compile "$LINENO"; then :
49624 glibcxx_cv_func_isinff_use=yes
49625 else
49626 glibcxx_cv_func_isinff_use=no
49628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49629 ac_ext=c
49630 ac_cpp='$CPP $CPPFLAGS'
49631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
49640 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
49642 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
49643 for ac_func in isinff
49644 do :
49645 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
49646 if test "x$ac_cv_func_isinff" = xyes; then :
49647 cat >>confdefs.h <<_ACEOF
49648 #define HAVE_ISINFF 1
49649 _ACEOF
49652 done
49654 else
49656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
49657 $as_echo_n "checking for _isinff declaration... " >&6; }
49658 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
49659 if ${glibcxx_cv_func__isinff_use+:} false; then :
49660 $as_echo_n "(cached) " >&6
49661 else
49664 ac_ext=cpp
49665 ac_cpp='$CXXCPP $CPPFLAGS'
49666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49671 /* end confdefs.h. */
49672 #include <math.h>
49673 #ifdef HAVE_IEEEFP_H
49674 #include <ieeefp.h>
49675 #endif
49678 main ()
49680 _isinff(0);
49682 return 0;
49684 _ACEOF
49685 if ac_fn_cxx_try_compile "$LINENO"; then :
49686 glibcxx_cv_func__isinff_use=yes
49687 else
49688 glibcxx_cv_func__isinff_use=no
49690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49691 ac_ext=c
49692 ac_cpp='$CPP $CPPFLAGS'
49693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
49702 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
49704 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
49705 for ac_func in _isinff
49706 do :
49707 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
49708 if test "x$ac_cv_func__isinff" = xyes; then :
49709 cat >>confdefs.h <<_ACEOF
49710 #define HAVE__ISINFF 1
49711 _ACEOF
49714 done
49723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
49724 $as_echo_n "checking for atan2f declaration... " >&6; }
49725 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
49726 if ${glibcxx_cv_func_atan2f_use+:} false; then :
49727 $as_echo_n "(cached) " >&6
49728 else
49731 ac_ext=cpp
49732 ac_cpp='$CXXCPP $CPPFLAGS'
49733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49738 /* end confdefs.h. */
49739 #include <math.h>
49741 main ()
49743 atan2f(0, 0);
49745 return 0;
49747 _ACEOF
49748 if ac_fn_cxx_try_compile "$LINENO"; then :
49749 glibcxx_cv_func_atan2f_use=yes
49750 else
49751 glibcxx_cv_func_atan2f_use=no
49753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49754 ac_ext=c
49755 ac_cpp='$CPP $CPPFLAGS'
49756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
49765 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
49767 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
49768 for ac_func in atan2f
49769 do :
49770 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
49771 if test "x$ac_cv_func_atan2f" = xyes; then :
49772 cat >>confdefs.h <<_ACEOF
49773 #define HAVE_ATAN2F 1
49774 _ACEOF
49777 done
49779 else
49781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
49782 $as_echo_n "checking for _atan2f declaration... " >&6; }
49783 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
49784 if ${glibcxx_cv_func__atan2f_use+:} false; then :
49785 $as_echo_n "(cached) " >&6
49786 else
49789 ac_ext=cpp
49790 ac_cpp='$CXXCPP $CPPFLAGS'
49791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49796 /* end confdefs.h. */
49797 #include <math.h>
49799 main ()
49801 _atan2f(0, 0);
49803 return 0;
49805 _ACEOF
49806 if ac_fn_cxx_try_compile "$LINENO"; then :
49807 glibcxx_cv_func__atan2f_use=yes
49808 else
49809 glibcxx_cv_func__atan2f_use=no
49811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49812 ac_ext=c
49813 ac_cpp='$CPP $CPPFLAGS'
49814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
49823 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
49825 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
49826 for ac_func in _atan2f
49827 do :
49828 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
49829 if test "x$ac_cv_func__atan2f" = xyes; then :
49830 cat >>confdefs.h <<_ACEOF
49831 #define HAVE__ATAN2F 1
49832 _ACEOF
49835 done
49844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
49845 $as_echo_n "checking for fabsf declaration... " >&6; }
49846 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
49847 if ${glibcxx_cv_func_fabsf_use+:} false; then :
49848 $as_echo_n "(cached) " >&6
49849 else
49852 ac_ext=cpp
49853 ac_cpp='$CXXCPP $CPPFLAGS'
49854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49859 /* end confdefs.h. */
49860 #include <math.h>
49861 #ifdef HAVE_IEEEFP_H
49862 #include <ieeefp.h>
49863 #endif
49866 main ()
49868 fabsf(0);
49870 return 0;
49872 _ACEOF
49873 if ac_fn_cxx_try_compile "$LINENO"; then :
49874 glibcxx_cv_func_fabsf_use=yes
49875 else
49876 glibcxx_cv_func_fabsf_use=no
49878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49879 ac_ext=c
49880 ac_cpp='$CPP $CPPFLAGS'
49881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
49890 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
49892 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
49893 for ac_func in fabsf
49894 do :
49895 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
49896 if test "x$ac_cv_func_fabsf" = xyes; then :
49897 cat >>confdefs.h <<_ACEOF
49898 #define HAVE_FABSF 1
49899 _ACEOF
49902 done
49904 else
49906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
49907 $as_echo_n "checking for _fabsf declaration... " >&6; }
49908 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
49909 if ${glibcxx_cv_func__fabsf_use+:} false; then :
49910 $as_echo_n "(cached) " >&6
49911 else
49914 ac_ext=cpp
49915 ac_cpp='$CXXCPP $CPPFLAGS'
49916 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49917 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49918 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49921 /* end confdefs.h. */
49922 #include <math.h>
49923 #ifdef HAVE_IEEEFP_H
49924 #include <ieeefp.h>
49925 #endif
49928 main ()
49930 _fabsf(0);
49932 return 0;
49934 _ACEOF
49935 if ac_fn_cxx_try_compile "$LINENO"; then :
49936 glibcxx_cv_func__fabsf_use=yes
49937 else
49938 glibcxx_cv_func__fabsf_use=no
49940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49941 ac_ext=c
49942 ac_cpp='$CPP $CPPFLAGS'
49943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
49952 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
49954 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
49955 for ac_func in _fabsf
49956 do :
49957 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
49958 if test "x$ac_cv_func__fabsf" = xyes; then :
49959 cat >>confdefs.h <<_ACEOF
49960 #define HAVE__FABSF 1
49961 _ACEOF
49964 done
49973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
49974 $as_echo_n "checking for fmodf declaration... " >&6; }
49975 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
49976 if ${glibcxx_cv_func_fmodf_use+:} false; then :
49977 $as_echo_n "(cached) " >&6
49978 else
49981 ac_ext=cpp
49982 ac_cpp='$CXXCPP $CPPFLAGS'
49983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49988 /* end confdefs.h. */
49989 #include <math.h>
49991 main ()
49993 fmodf(0, 0);
49995 return 0;
49997 _ACEOF
49998 if ac_fn_cxx_try_compile "$LINENO"; then :
49999 glibcxx_cv_func_fmodf_use=yes
50000 else
50001 glibcxx_cv_func_fmodf_use=no
50003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50004 ac_ext=c
50005 ac_cpp='$CPP $CPPFLAGS'
50006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
50015 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
50017 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
50018 for ac_func in fmodf
50019 do :
50020 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
50021 if test "x$ac_cv_func_fmodf" = xyes; then :
50022 cat >>confdefs.h <<_ACEOF
50023 #define HAVE_FMODF 1
50024 _ACEOF
50027 done
50029 else
50031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
50032 $as_echo_n "checking for _fmodf declaration... " >&6; }
50033 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
50034 if ${glibcxx_cv_func__fmodf_use+:} false; then :
50035 $as_echo_n "(cached) " >&6
50036 else
50039 ac_ext=cpp
50040 ac_cpp='$CXXCPP $CPPFLAGS'
50041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50046 /* end confdefs.h. */
50047 #include <math.h>
50049 main ()
50051 _fmodf(0, 0);
50053 return 0;
50055 _ACEOF
50056 if ac_fn_cxx_try_compile "$LINENO"; then :
50057 glibcxx_cv_func__fmodf_use=yes
50058 else
50059 glibcxx_cv_func__fmodf_use=no
50061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50062 ac_ext=c
50063 ac_cpp='$CPP $CPPFLAGS'
50064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
50073 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
50075 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
50076 for ac_func in _fmodf
50077 do :
50078 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
50079 if test "x$ac_cv_func__fmodf" = xyes; then :
50080 cat >>confdefs.h <<_ACEOF
50081 #define HAVE__FMODF 1
50082 _ACEOF
50085 done
50094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
50095 $as_echo_n "checking for frexpf declaration... " >&6; }
50096 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
50097 if ${glibcxx_cv_func_frexpf_use+:} false; then :
50098 $as_echo_n "(cached) " >&6
50099 else
50102 ac_ext=cpp
50103 ac_cpp='$CXXCPP $CPPFLAGS'
50104 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50105 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50106 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50109 /* end confdefs.h. */
50110 #include <math.h>
50112 main ()
50114 frexpf(0, 0);
50116 return 0;
50118 _ACEOF
50119 if ac_fn_cxx_try_compile "$LINENO"; then :
50120 glibcxx_cv_func_frexpf_use=yes
50121 else
50122 glibcxx_cv_func_frexpf_use=no
50124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50125 ac_ext=c
50126 ac_cpp='$CPP $CPPFLAGS'
50127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
50136 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
50138 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
50139 for ac_func in frexpf
50140 do :
50141 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
50142 if test "x$ac_cv_func_frexpf" = xyes; then :
50143 cat >>confdefs.h <<_ACEOF
50144 #define HAVE_FREXPF 1
50145 _ACEOF
50148 done
50150 else
50152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
50153 $as_echo_n "checking for _frexpf declaration... " >&6; }
50154 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
50155 if ${glibcxx_cv_func__frexpf_use+:} false; then :
50156 $as_echo_n "(cached) " >&6
50157 else
50160 ac_ext=cpp
50161 ac_cpp='$CXXCPP $CPPFLAGS'
50162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50167 /* end confdefs.h. */
50168 #include <math.h>
50170 main ()
50172 _frexpf(0, 0);
50174 return 0;
50176 _ACEOF
50177 if ac_fn_cxx_try_compile "$LINENO"; then :
50178 glibcxx_cv_func__frexpf_use=yes
50179 else
50180 glibcxx_cv_func__frexpf_use=no
50182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50183 ac_ext=c
50184 ac_cpp='$CPP $CPPFLAGS'
50185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
50194 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
50196 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
50197 for ac_func in _frexpf
50198 do :
50199 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
50200 if test "x$ac_cv_func__frexpf" = xyes; then :
50201 cat >>confdefs.h <<_ACEOF
50202 #define HAVE__FREXPF 1
50203 _ACEOF
50206 done
50215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
50216 $as_echo_n "checking for hypotf declaration... " >&6; }
50217 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
50218 if ${glibcxx_cv_func_hypotf_use+:} false; then :
50219 $as_echo_n "(cached) " >&6
50220 else
50223 ac_ext=cpp
50224 ac_cpp='$CXXCPP $CPPFLAGS'
50225 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50226 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50227 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50230 /* end confdefs.h. */
50231 #include <math.h>
50233 main ()
50235 hypotf(0, 0);
50237 return 0;
50239 _ACEOF
50240 if ac_fn_cxx_try_compile "$LINENO"; then :
50241 glibcxx_cv_func_hypotf_use=yes
50242 else
50243 glibcxx_cv_func_hypotf_use=no
50245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50246 ac_ext=c
50247 ac_cpp='$CPP $CPPFLAGS'
50248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
50257 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
50259 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
50260 for ac_func in hypotf
50261 do :
50262 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
50263 if test "x$ac_cv_func_hypotf" = xyes; then :
50264 cat >>confdefs.h <<_ACEOF
50265 #define HAVE_HYPOTF 1
50266 _ACEOF
50269 done
50271 else
50273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
50274 $as_echo_n "checking for _hypotf declaration... " >&6; }
50275 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
50276 if ${glibcxx_cv_func__hypotf_use+:} false; then :
50277 $as_echo_n "(cached) " >&6
50278 else
50281 ac_ext=cpp
50282 ac_cpp='$CXXCPP $CPPFLAGS'
50283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50288 /* end confdefs.h. */
50289 #include <math.h>
50291 main ()
50293 _hypotf(0, 0);
50295 return 0;
50297 _ACEOF
50298 if ac_fn_cxx_try_compile "$LINENO"; then :
50299 glibcxx_cv_func__hypotf_use=yes
50300 else
50301 glibcxx_cv_func__hypotf_use=no
50303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50304 ac_ext=c
50305 ac_cpp='$CPP $CPPFLAGS'
50306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
50315 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
50317 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
50318 for ac_func in _hypotf
50319 do :
50320 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
50321 if test "x$ac_cv_func__hypotf" = xyes; then :
50322 cat >>confdefs.h <<_ACEOF
50323 #define HAVE__HYPOTF 1
50324 _ACEOF
50327 done
50336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
50337 $as_echo_n "checking for ldexpf declaration... " >&6; }
50338 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
50339 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
50340 $as_echo_n "(cached) " >&6
50341 else
50344 ac_ext=cpp
50345 ac_cpp='$CXXCPP $CPPFLAGS'
50346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50351 /* end confdefs.h. */
50352 #include <math.h>
50354 main ()
50356 ldexpf(0, 0);
50358 return 0;
50360 _ACEOF
50361 if ac_fn_cxx_try_compile "$LINENO"; then :
50362 glibcxx_cv_func_ldexpf_use=yes
50363 else
50364 glibcxx_cv_func_ldexpf_use=no
50366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50367 ac_ext=c
50368 ac_cpp='$CPP $CPPFLAGS'
50369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
50378 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
50380 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
50381 for ac_func in ldexpf
50382 do :
50383 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
50384 if test "x$ac_cv_func_ldexpf" = xyes; then :
50385 cat >>confdefs.h <<_ACEOF
50386 #define HAVE_LDEXPF 1
50387 _ACEOF
50390 done
50392 else
50394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
50395 $as_echo_n "checking for _ldexpf declaration... " >&6; }
50396 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
50397 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
50398 $as_echo_n "(cached) " >&6
50399 else
50402 ac_ext=cpp
50403 ac_cpp='$CXXCPP $CPPFLAGS'
50404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50405 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50409 /* end confdefs.h. */
50410 #include <math.h>
50412 main ()
50414 _ldexpf(0, 0);
50416 return 0;
50418 _ACEOF
50419 if ac_fn_cxx_try_compile "$LINENO"; then :
50420 glibcxx_cv_func__ldexpf_use=yes
50421 else
50422 glibcxx_cv_func__ldexpf_use=no
50424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50425 ac_ext=c
50426 ac_cpp='$CPP $CPPFLAGS'
50427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
50436 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
50438 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
50439 for ac_func in _ldexpf
50440 do :
50441 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
50442 if test "x$ac_cv_func__ldexpf" = xyes; then :
50443 cat >>confdefs.h <<_ACEOF
50444 #define HAVE__LDEXPF 1
50445 _ACEOF
50448 done
50457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
50458 $as_echo_n "checking for logf declaration... " >&6; }
50459 if test x${glibcxx_cv_func_logf_use+set} != xset; then
50460 if ${glibcxx_cv_func_logf_use+:} false; then :
50461 $as_echo_n "(cached) " >&6
50462 else
50465 ac_ext=cpp
50466 ac_cpp='$CXXCPP $CPPFLAGS'
50467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50472 /* end confdefs.h. */
50473 #include <math.h>
50474 #ifdef HAVE_IEEEFP_H
50475 #include <ieeefp.h>
50476 #endif
50479 main ()
50481 logf(0);
50483 return 0;
50485 _ACEOF
50486 if ac_fn_cxx_try_compile "$LINENO"; then :
50487 glibcxx_cv_func_logf_use=yes
50488 else
50489 glibcxx_cv_func_logf_use=no
50491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50492 ac_ext=c
50493 ac_cpp='$CPP $CPPFLAGS'
50494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
50503 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
50505 if test x$glibcxx_cv_func_logf_use = x"yes"; then
50506 for ac_func in logf
50507 do :
50508 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
50509 if test "x$ac_cv_func_logf" = xyes; then :
50510 cat >>confdefs.h <<_ACEOF
50511 #define HAVE_LOGF 1
50512 _ACEOF
50515 done
50517 else
50519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
50520 $as_echo_n "checking for _logf declaration... " >&6; }
50521 if test x${glibcxx_cv_func__logf_use+set} != xset; then
50522 if ${glibcxx_cv_func__logf_use+:} false; then :
50523 $as_echo_n "(cached) " >&6
50524 else
50527 ac_ext=cpp
50528 ac_cpp='$CXXCPP $CPPFLAGS'
50529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50534 /* end confdefs.h. */
50535 #include <math.h>
50536 #ifdef HAVE_IEEEFP_H
50537 #include <ieeefp.h>
50538 #endif
50541 main ()
50543 _logf(0);
50545 return 0;
50547 _ACEOF
50548 if ac_fn_cxx_try_compile "$LINENO"; then :
50549 glibcxx_cv_func__logf_use=yes
50550 else
50551 glibcxx_cv_func__logf_use=no
50553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50554 ac_ext=c
50555 ac_cpp='$CPP $CPPFLAGS'
50556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
50565 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
50567 if test x$glibcxx_cv_func__logf_use = x"yes"; then
50568 for ac_func in _logf
50569 do :
50570 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
50571 if test "x$ac_cv_func__logf" = xyes; then :
50572 cat >>confdefs.h <<_ACEOF
50573 #define HAVE__LOGF 1
50574 _ACEOF
50577 done
50586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
50587 $as_echo_n "checking for log10f declaration... " >&6; }
50588 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
50589 if ${glibcxx_cv_func_log10f_use+:} false; then :
50590 $as_echo_n "(cached) " >&6
50591 else
50594 ac_ext=cpp
50595 ac_cpp='$CXXCPP $CPPFLAGS'
50596 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50597 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50598 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50601 /* end confdefs.h. */
50602 #include <math.h>
50603 #ifdef HAVE_IEEEFP_H
50604 #include <ieeefp.h>
50605 #endif
50608 main ()
50610 log10f(0);
50612 return 0;
50614 _ACEOF
50615 if ac_fn_cxx_try_compile "$LINENO"; then :
50616 glibcxx_cv_func_log10f_use=yes
50617 else
50618 glibcxx_cv_func_log10f_use=no
50620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50621 ac_ext=c
50622 ac_cpp='$CPP $CPPFLAGS'
50623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
50632 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
50634 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
50635 for ac_func in log10f
50636 do :
50637 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
50638 if test "x$ac_cv_func_log10f" = xyes; then :
50639 cat >>confdefs.h <<_ACEOF
50640 #define HAVE_LOG10F 1
50641 _ACEOF
50644 done
50646 else
50648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
50649 $as_echo_n "checking for _log10f declaration... " >&6; }
50650 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
50651 if ${glibcxx_cv_func__log10f_use+:} false; then :
50652 $as_echo_n "(cached) " >&6
50653 else
50656 ac_ext=cpp
50657 ac_cpp='$CXXCPP $CPPFLAGS'
50658 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50659 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50660 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50663 /* end confdefs.h. */
50664 #include <math.h>
50665 #ifdef HAVE_IEEEFP_H
50666 #include <ieeefp.h>
50667 #endif
50670 main ()
50672 _log10f(0);
50674 return 0;
50676 _ACEOF
50677 if ac_fn_cxx_try_compile "$LINENO"; then :
50678 glibcxx_cv_func__log10f_use=yes
50679 else
50680 glibcxx_cv_func__log10f_use=no
50682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50683 ac_ext=c
50684 ac_cpp='$CPP $CPPFLAGS'
50685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
50694 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
50696 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
50697 for ac_func in _log10f
50698 do :
50699 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
50700 if test "x$ac_cv_func__log10f" = xyes; then :
50701 cat >>confdefs.h <<_ACEOF
50702 #define HAVE__LOG10F 1
50703 _ACEOF
50706 done
50715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
50716 $as_echo_n "checking for modff declaration... " >&6; }
50717 if test x${glibcxx_cv_func_modff_use+set} != xset; then
50718 if ${glibcxx_cv_func_modff_use+:} false; then :
50719 $as_echo_n "(cached) " >&6
50720 else
50723 ac_ext=cpp
50724 ac_cpp='$CXXCPP $CPPFLAGS'
50725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50730 /* end confdefs.h. */
50731 #include <math.h>
50733 main ()
50735 modff(0, 0);
50737 return 0;
50739 _ACEOF
50740 if ac_fn_cxx_try_compile "$LINENO"; then :
50741 glibcxx_cv_func_modff_use=yes
50742 else
50743 glibcxx_cv_func_modff_use=no
50745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50746 ac_ext=c
50747 ac_cpp='$CPP $CPPFLAGS'
50748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
50757 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
50759 if test x$glibcxx_cv_func_modff_use = x"yes"; then
50760 for ac_func in modff
50761 do :
50762 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
50763 if test "x$ac_cv_func_modff" = xyes; then :
50764 cat >>confdefs.h <<_ACEOF
50765 #define HAVE_MODFF 1
50766 _ACEOF
50769 done
50771 else
50773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
50774 $as_echo_n "checking for _modff declaration... " >&6; }
50775 if test x${glibcxx_cv_func__modff_use+set} != xset; then
50776 if ${glibcxx_cv_func__modff_use+:} false; then :
50777 $as_echo_n "(cached) " >&6
50778 else
50781 ac_ext=cpp
50782 ac_cpp='$CXXCPP $CPPFLAGS'
50783 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50784 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50785 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50788 /* end confdefs.h. */
50789 #include <math.h>
50791 main ()
50793 _modff(0, 0);
50795 return 0;
50797 _ACEOF
50798 if ac_fn_cxx_try_compile "$LINENO"; then :
50799 glibcxx_cv_func__modff_use=yes
50800 else
50801 glibcxx_cv_func__modff_use=no
50803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50804 ac_ext=c
50805 ac_cpp='$CPP $CPPFLAGS'
50806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
50815 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
50817 if test x$glibcxx_cv_func__modff_use = x"yes"; then
50818 for ac_func in _modff
50819 do :
50820 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
50821 if test "x$ac_cv_func__modff" = xyes; then :
50822 cat >>confdefs.h <<_ACEOF
50823 #define HAVE__MODFF 1
50824 _ACEOF
50827 done
50836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
50837 $as_echo_n "checking for modf declaration... " >&6; }
50838 if test x${glibcxx_cv_func_modf_use+set} != xset; then
50839 if ${glibcxx_cv_func_modf_use+:} false; then :
50840 $as_echo_n "(cached) " >&6
50841 else
50844 ac_ext=cpp
50845 ac_cpp='$CXXCPP $CPPFLAGS'
50846 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50847 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50848 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50851 /* end confdefs.h. */
50852 #include <math.h>
50854 main ()
50856 modf(0, 0);
50858 return 0;
50860 _ACEOF
50861 if ac_fn_cxx_try_compile "$LINENO"; then :
50862 glibcxx_cv_func_modf_use=yes
50863 else
50864 glibcxx_cv_func_modf_use=no
50866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50867 ac_ext=c
50868 ac_cpp='$CPP $CPPFLAGS'
50869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
50878 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
50880 if test x$glibcxx_cv_func_modf_use = x"yes"; then
50881 for ac_func in modf
50882 do :
50883 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
50884 if test "x$ac_cv_func_modf" = xyes; then :
50885 cat >>confdefs.h <<_ACEOF
50886 #define HAVE_MODF 1
50887 _ACEOF
50890 done
50892 else
50894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
50895 $as_echo_n "checking for _modf declaration... " >&6; }
50896 if test x${glibcxx_cv_func__modf_use+set} != xset; then
50897 if ${glibcxx_cv_func__modf_use+:} false; then :
50898 $as_echo_n "(cached) " >&6
50899 else
50902 ac_ext=cpp
50903 ac_cpp='$CXXCPP $CPPFLAGS'
50904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50909 /* end confdefs.h. */
50910 #include <math.h>
50912 main ()
50914 _modf(0, 0);
50916 return 0;
50918 _ACEOF
50919 if ac_fn_cxx_try_compile "$LINENO"; then :
50920 glibcxx_cv_func__modf_use=yes
50921 else
50922 glibcxx_cv_func__modf_use=no
50924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50925 ac_ext=c
50926 ac_cpp='$CPP $CPPFLAGS'
50927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
50936 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
50938 if test x$glibcxx_cv_func__modf_use = x"yes"; then
50939 for ac_func in _modf
50940 do :
50941 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
50942 if test "x$ac_cv_func__modf" = xyes; then :
50943 cat >>confdefs.h <<_ACEOF
50944 #define HAVE__MODF 1
50945 _ACEOF
50948 done
50957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
50958 $as_echo_n "checking for powf declaration... " >&6; }
50959 if test x${glibcxx_cv_func_powf_use+set} != xset; then
50960 if ${glibcxx_cv_func_powf_use+:} false; then :
50961 $as_echo_n "(cached) " >&6
50962 else
50965 ac_ext=cpp
50966 ac_cpp='$CXXCPP $CPPFLAGS'
50967 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50968 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50969 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50972 /* end confdefs.h. */
50973 #include <math.h>
50975 main ()
50977 powf(0, 0);
50979 return 0;
50981 _ACEOF
50982 if ac_fn_cxx_try_compile "$LINENO"; then :
50983 glibcxx_cv_func_powf_use=yes
50984 else
50985 glibcxx_cv_func_powf_use=no
50987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50988 ac_ext=c
50989 ac_cpp='$CPP $CPPFLAGS'
50990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
50999 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
51001 if test x$glibcxx_cv_func_powf_use = x"yes"; then
51002 for ac_func in powf
51003 do :
51004 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
51005 if test "x$ac_cv_func_powf" = xyes; then :
51006 cat >>confdefs.h <<_ACEOF
51007 #define HAVE_POWF 1
51008 _ACEOF
51011 done
51013 else
51015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
51016 $as_echo_n "checking for _powf declaration... " >&6; }
51017 if test x${glibcxx_cv_func__powf_use+set} != xset; then
51018 if ${glibcxx_cv_func__powf_use+:} false; then :
51019 $as_echo_n "(cached) " >&6
51020 else
51023 ac_ext=cpp
51024 ac_cpp='$CXXCPP $CPPFLAGS'
51025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51030 /* end confdefs.h. */
51031 #include <math.h>
51033 main ()
51035 _powf(0, 0);
51037 return 0;
51039 _ACEOF
51040 if ac_fn_cxx_try_compile "$LINENO"; then :
51041 glibcxx_cv_func__powf_use=yes
51042 else
51043 glibcxx_cv_func__powf_use=no
51045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51046 ac_ext=c
51047 ac_cpp='$CPP $CPPFLAGS'
51048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
51057 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
51059 if test x$glibcxx_cv_func__powf_use = x"yes"; then
51060 for ac_func in _powf
51061 do :
51062 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
51063 if test "x$ac_cv_func__powf" = xyes; then :
51064 cat >>confdefs.h <<_ACEOF
51065 #define HAVE__POWF 1
51066 _ACEOF
51069 done
51078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
51079 $as_echo_n "checking for sqrtf declaration... " >&6; }
51080 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
51081 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
51082 $as_echo_n "(cached) " >&6
51083 else
51086 ac_ext=cpp
51087 ac_cpp='$CXXCPP $CPPFLAGS'
51088 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51089 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51090 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51093 /* end confdefs.h. */
51094 #include <math.h>
51095 #ifdef HAVE_IEEEFP_H
51096 #include <ieeefp.h>
51097 #endif
51100 main ()
51102 sqrtf(0);
51104 return 0;
51106 _ACEOF
51107 if ac_fn_cxx_try_compile "$LINENO"; then :
51108 glibcxx_cv_func_sqrtf_use=yes
51109 else
51110 glibcxx_cv_func_sqrtf_use=no
51112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51113 ac_ext=c
51114 ac_cpp='$CPP $CPPFLAGS'
51115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
51124 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
51126 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
51127 for ac_func in sqrtf
51128 do :
51129 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
51130 if test "x$ac_cv_func_sqrtf" = xyes; then :
51131 cat >>confdefs.h <<_ACEOF
51132 #define HAVE_SQRTF 1
51133 _ACEOF
51136 done
51138 else
51140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
51141 $as_echo_n "checking for _sqrtf declaration... " >&6; }
51142 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
51143 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
51144 $as_echo_n "(cached) " >&6
51145 else
51148 ac_ext=cpp
51149 ac_cpp='$CXXCPP $CPPFLAGS'
51150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51155 /* end confdefs.h. */
51156 #include <math.h>
51157 #ifdef HAVE_IEEEFP_H
51158 #include <ieeefp.h>
51159 #endif
51162 main ()
51164 _sqrtf(0);
51166 return 0;
51168 _ACEOF
51169 if ac_fn_cxx_try_compile "$LINENO"; then :
51170 glibcxx_cv_func__sqrtf_use=yes
51171 else
51172 glibcxx_cv_func__sqrtf_use=no
51174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51175 ac_ext=c
51176 ac_cpp='$CPP $CPPFLAGS'
51177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
51186 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
51188 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
51189 for ac_func in _sqrtf
51190 do :
51191 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
51192 if test "x$ac_cv_func__sqrtf" = xyes; then :
51193 cat >>confdefs.h <<_ACEOF
51194 #define HAVE__SQRTF 1
51195 _ACEOF
51198 done
51207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
51208 $as_echo_n "checking for sincosf declaration... " >&6; }
51209 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
51210 if ${glibcxx_cv_func_sincosf_use+:} false; then :
51211 $as_echo_n "(cached) " >&6
51212 else
51215 ac_ext=cpp
51216 ac_cpp='$CXXCPP $CPPFLAGS'
51217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51222 /* end confdefs.h. */
51223 #include <math.h>
51225 main ()
51227 sincosf(0, 0, 0);
51229 return 0;
51231 _ACEOF
51232 if ac_fn_cxx_try_compile "$LINENO"; then :
51233 glibcxx_cv_func_sincosf_use=yes
51234 else
51235 glibcxx_cv_func_sincosf_use=no
51237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51238 ac_ext=c
51239 ac_cpp='$CPP $CPPFLAGS'
51240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
51249 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
51251 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
51252 for ac_func in sincosf
51253 do :
51254 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
51255 if test "x$ac_cv_func_sincosf" = xyes; then :
51256 cat >>confdefs.h <<_ACEOF
51257 #define HAVE_SINCOSF 1
51258 _ACEOF
51261 done
51263 else
51265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
51266 $as_echo_n "checking for _sincosf declaration... " >&6; }
51267 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
51268 if ${glibcxx_cv_func__sincosf_use+:} false; then :
51269 $as_echo_n "(cached) " >&6
51270 else
51273 ac_ext=cpp
51274 ac_cpp='$CXXCPP $CPPFLAGS'
51275 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51276 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51277 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51280 /* end confdefs.h. */
51281 #include <math.h>
51283 main ()
51285 _sincosf(0, 0, 0);
51287 return 0;
51289 _ACEOF
51290 if ac_fn_cxx_try_compile "$LINENO"; then :
51291 glibcxx_cv_func__sincosf_use=yes
51292 else
51293 glibcxx_cv_func__sincosf_use=no
51295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51296 ac_ext=c
51297 ac_cpp='$CPP $CPPFLAGS'
51298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
51307 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
51309 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
51310 for ac_func in _sincosf
51311 do :
51312 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
51313 if test "x$ac_cv_func__sincosf" = xyes; then :
51314 cat >>confdefs.h <<_ACEOF
51315 #define HAVE__SINCOSF 1
51316 _ACEOF
51319 done
51328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
51329 $as_echo_n "checking for finitef declaration... " >&6; }
51330 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
51331 if ${glibcxx_cv_func_finitef_use+:} false; then :
51332 $as_echo_n "(cached) " >&6
51333 else
51336 ac_ext=cpp
51337 ac_cpp='$CXXCPP $CPPFLAGS'
51338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51343 /* end confdefs.h. */
51344 #include <math.h>
51345 #ifdef HAVE_IEEEFP_H
51346 #include <ieeefp.h>
51347 #endif
51350 main ()
51352 finitef(0);
51354 return 0;
51356 _ACEOF
51357 if ac_fn_cxx_try_compile "$LINENO"; then :
51358 glibcxx_cv_func_finitef_use=yes
51359 else
51360 glibcxx_cv_func_finitef_use=no
51362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51363 ac_ext=c
51364 ac_cpp='$CPP $CPPFLAGS'
51365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
51374 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
51376 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
51377 for ac_func in finitef
51378 do :
51379 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
51380 if test "x$ac_cv_func_finitef" = xyes; then :
51381 cat >>confdefs.h <<_ACEOF
51382 #define HAVE_FINITEF 1
51383 _ACEOF
51386 done
51388 else
51390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
51391 $as_echo_n "checking for _finitef declaration... " >&6; }
51392 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
51393 if ${glibcxx_cv_func__finitef_use+:} false; then :
51394 $as_echo_n "(cached) " >&6
51395 else
51398 ac_ext=cpp
51399 ac_cpp='$CXXCPP $CPPFLAGS'
51400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51405 /* end confdefs.h. */
51406 #include <math.h>
51407 #ifdef HAVE_IEEEFP_H
51408 #include <ieeefp.h>
51409 #endif
51412 main ()
51414 _finitef(0);
51416 return 0;
51418 _ACEOF
51419 if ac_fn_cxx_try_compile "$LINENO"; then :
51420 glibcxx_cv_func__finitef_use=yes
51421 else
51422 glibcxx_cv_func__finitef_use=no
51424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51425 ac_ext=c
51426 ac_cpp='$CPP $CPPFLAGS'
51427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
51436 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
51438 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
51439 for ac_func in _finitef
51440 do :
51441 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
51442 if test "x$ac_cv_func__finitef" = xyes; then :
51443 cat >>confdefs.h <<_ACEOF
51444 #define HAVE__FINITEF 1
51445 _ACEOF
51448 done
51457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
51458 $as_echo_n "checking for long double trig functions... " >&6; }
51459 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
51460 $as_echo_n "(cached) " >&6
51461 else
51464 ac_ext=cpp
51465 ac_cpp='$CXXCPP $CPPFLAGS'
51466 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51467 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51468 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51471 /* end confdefs.h. */
51472 #include <math.h>
51474 main ()
51476 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
51478 return 0;
51480 _ACEOF
51481 if ac_fn_cxx_try_compile "$LINENO"; then :
51482 glibcxx_cv_func_long_double_trig_use=yes
51483 else
51484 glibcxx_cv_func_long_double_trig_use=no
51486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51487 ac_ext=c
51488 ac_cpp='$CPP $CPPFLAGS'
51489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
51496 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
51497 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
51498 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
51499 do :
51500 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
51501 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
51502 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
51503 cat >>confdefs.h <<_ACEOF
51504 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
51505 _ACEOF
51508 done
51510 else
51511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
51512 $as_echo_n "checking for _long double trig functions... " >&6; }
51513 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
51514 $as_echo_n "(cached) " >&6
51515 else
51518 ac_ext=cpp
51519 ac_cpp='$CXXCPP $CPPFLAGS'
51520 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51521 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51522 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51525 /* end confdefs.h. */
51526 #include <math.h>
51528 main ()
51530 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
51532 return 0;
51534 _ACEOF
51535 if ac_fn_cxx_try_compile "$LINENO"; then :
51536 glibcxx_cv_func__long_double_trig_use=yes
51537 else
51538 glibcxx_cv_func__long_double_trig_use=no
51540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51541 ac_ext=c
51542 ac_cpp='$CPP $CPPFLAGS'
51543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
51550 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
51551 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
51552 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
51553 do :
51554 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
51555 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
51556 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
51557 cat >>confdefs.h <<_ACEOF
51558 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
51559 _ACEOF
51562 done
51571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
51572 $as_echo_n "checking for long double round functions... " >&6; }
51573 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
51574 $as_echo_n "(cached) " >&6
51575 else
51578 ac_ext=cpp
51579 ac_cpp='$CXXCPP $CPPFLAGS'
51580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51585 /* end confdefs.h. */
51586 #include <math.h>
51588 main ()
51590 ceill (0); floorl (0);
51592 return 0;
51594 _ACEOF
51595 if ac_fn_cxx_try_compile "$LINENO"; then :
51596 glibcxx_cv_func_long_double_round_use=yes
51597 else
51598 glibcxx_cv_func_long_double_round_use=no
51600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51601 ac_ext=c
51602 ac_cpp='$CPP $CPPFLAGS'
51603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
51610 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
51611 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
51612 for ac_func in ceill floorl
51613 do :
51614 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
51615 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
51616 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
51617 cat >>confdefs.h <<_ACEOF
51618 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
51619 _ACEOF
51622 done
51624 else
51625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
51626 $as_echo_n "checking for _long double round functions... " >&6; }
51627 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
51628 $as_echo_n "(cached) " >&6
51629 else
51632 ac_ext=cpp
51633 ac_cpp='$CXXCPP $CPPFLAGS'
51634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51639 /* end confdefs.h. */
51640 #include <math.h>
51642 main ()
51644 _ceill (0); _floorl (0);
51646 return 0;
51648 _ACEOF
51649 if ac_fn_cxx_try_compile "$LINENO"; then :
51650 glibcxx_cv_func__long_double_round_use=yes
51651 else
51652 glibcxx_cv_func__long_double_round_use=no
51654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51655 ac_ext=c
51656 ac_cpp='$CPP $CPPFLAGS'
51657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
51664 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
51665 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
51666 for ac_func in _ceill _floorl
51667 do :
51668 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
51669 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
51670 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
51671 cat >>confdefs.h <<_ACEOF
51672 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
51673 _ACEOF
51676 done
51686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
51687 $as_echo_n "checking for isnanl declaration... " >&6; }
51688 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
51689 if ${glibcxx_cv_func_isnanl_use+:} false; then :
51690 $as_echo_n "(cached) " >&6
51691 else
51694 ac_ext=cpp
51695 ac_cpp='$CXXCPP $CPPFLAGS'
51696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51701 /* end confdefs.h. */
51702 #include <math.h>
51703 #ifdef HAVE_IEEEFP_H
51704 #include <ieeefp.h>
51705 #endif
51708 main ()
51710 isnanl(0);
51712 return 0;
51714 _ACEOF
51715 if ac_fn_cxx_try_compile "$LINENO"; then :
51716 glibcxx_cv_func_isnanl_use=yes
51717 else
51718 glibcxx_cv_func_isnanl_use=no
51720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51721 ac_ext=c
51722 ac_cpp='$CPP $CPPFLAGS'
51723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
51732 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
51734 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
51735 for ac_func in isnanl
51736 do :
51737 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
51738 if test "x$ac_cv_func_isnanl" = xyes; then :
51739 cat >>confdefs.h <<_ACEOF
51740 #define HAVE_ISNANL 1
51741 _ACEOF
51744 done
51746 else
51748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
51749 $as_echo_n "checking for _isnanl declaration... " >&6; }
51750 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
51751 if ${glibcxx_cv_func__isnanl_use+:} false; then :
51752 $as_echo_n "(cached) " >&6
51753 else
51756 ac_ext=cpp
51757 ac_cpp='$CXXCPP $CPPFLAGS'
51758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51763 /* end confdefs.h. */
51764 #include <math.h>
51765 #ifdef HAVE_IEEEFP_H
51766 #include <ieeefp.h>
51767 #endif
51770 main ()
51772 _isnanl(0);
51774 return 0;
51776 _ACEOF
51777 if ac_fn_cxx_try_compile "$LINENO"; then :
51778 glibcxx_cv_func__isnanl_use=yes
51779 else
51780 glibcxx_cv_func__isnanl_use=no
51782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51783 ac_ext=c
51784 ac_cpp='$CPP $CPPFLAGS'
51785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
51794 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
51796 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
51797 for ac_func in _isnanl
51798 do :
51799 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
51800 if test "x$ac_cv_func__isnanl" = xyes; then :
51801 cat >>confdefs.h <<_ACEOF
51802 #define HAVE__ISNANL 1
51803 _ACEOF
51806 done
51815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
51816 $as_echo_n "checking for isinfl declaration... " >&6; }
51817 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
51818 if ${glibcxx_cv_func_isinfl_use+:} false; then :
51819 $as_echo_n "(cached) " >&6
51820 else
51823 ac_ext=cpp
51824 ac_cpp='$CXXCPP $CPPFLAGS'
51825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51830 /* end confdefs.h. */
51831 #include <math.h>
51832 #ifdef HAVE_IEEEFP_H
51833 #include <ieeefp.h>
51834 #endif
51837 main ()
51839 isinfl(0);
51841 return 0;
51843 _ACEOF
51844 if ac_fn_cxx_try_compile "$LINENO"; then :
51845 glibcxx_cv_func_isinfl_use=yes
51846 else
51847 glibcxx_cv_func_isinfl_use=no
51849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51850 ac_ext=c
51851 ac_cpp='$CPP $CPPFLAGS'
51852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
51861 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
51863 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
51864 for ac_func in isinfl
51865 do :
51866 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
51867 if test "x$ac_cv_func_isinfl" = xyes; then :
51868 cat >>confdefs.h <<_ACEOF
51869 #define HAVE_ISINFL 1
51870 _ACEOF
51873 done
51875 else
51877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
51878 $as_echo_n "checking for _isinfl declaration... " >&6; }
51879 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
51880 if ${glibcxx_cv_func__isinfl_use+:} false; then :
51881 $as_echo_n "(cached) " >&6
51882 else
51885 ac_ext=cpp
51886 ac_cpp='$CXXCPP $CPPFLAGS'
51887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51892 /* end confdefs.h. */
51893 #include <math.h>
51894 #ifdef HAVE_IEEEFP_H
51895 #include <ieeefp.h>
51896 #endif
51899 main ()
51901 _isinfl(0);
51903 return 0;
51905 _ACEOF
51906 if ac_fn_cxx_try_compile "$LINENO"; then :
51907 glibcxx_cv_func__isinfl_use=yes
51908 else
51909 glibcxx_cv_func__isinfl_use=no
51911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51912 ac_ext=c
51913 ac_cpp='$CPP $CPPFLAGS'
51914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
51923 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
51925 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
51926 for ac_func in _isinfl
51927 do :
51928 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
51929 if test "x$ac_cv_func__isinfl" = xyes; then :
51930 cat >>confdefs.h <<_ACEOF
51931 #define HAVE__ISINFL 1
51932 _ACEOF
51935 done
51944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
51945 $as_echo_n "checking for atan2l declaration... " >&6; }
51946 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
51947 if ${glibcxx_cv_func_atan2l_use+:} false; then :
51948 $as_echo_n "(cached) " >&6
51949 else
51952 ac_ext=cpp
51953 ac_cpp='$CXXCPP $CPPFLAGS'
51954 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51955 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51956 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51959 /* end confdefs.h. */
51960 #include <math.h>
51962 main ()
51964 atan2l(0, 0);
51966 return 0;
51968 _ACEOF
51969 if ac_fn_cxx_try_compile "$LINENO"; then :
51970 glibcxx_cv_func_atan2l_use=yes
51971 else
51972 glibcxx_cv_func_atan2l_use=no
51974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51975 ac_ext=c
51976 ac_cpp='$CPP $CPPFLAGS'
51977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
51986 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
51988 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
51989 for ac_func in atan2l
51990 do :
51991 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
51992 if test "x$ac_cv_func_atan2l" = xyes; then :
51993 cat >>confdefs.h <<_ACEOF
51994 #define HAVE_ATAN2L 1
51995 _ACEOF
51998 done
52000 else
52002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
52003 $as_echo_n "checking for _atan2l declaration... " >&6; }
52004 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
52005 if ${glibcxx_cv_func__atan2l_use+:} false; then :
52006 $as_echo_n "(cached) " >&6
52007 else
52010 ac_ext=cpp
52011 ac_cpp='$CXXCPP $CPPFLAGS'
52012 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52013 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52014 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52017 /* end confdefs.h. */
52018 #include <math.h>
52020 main ()
52022 _atan2l(0, 0);
52024 return 0;
52026 _ACEOF
52027 if ac_fn_cxx_try_compile "$LINENO"; then :
52028 glibcxx_cv_func__atan2l_use=yes
52029 else
52030 glibcxx_cv_func__atan2l_use=no
52032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52033 ac_ext=c
52034 ac_cpp='$CPP $CPPFLAGS'
52035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
52044 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
52046 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
52047 for ac_func in _atan2l
52048 do :
52049 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
52050 if test "x$ac_cv_func__atan2l" = xyes; then :
52051 cat >>confdefs.h <<_ACEOF
52052 #define HAVE__ATAN2L 1
52053 _ACEOF
52056 done
52065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
52066 $as_echo_n "checking for expl declaration... " >&6; }
52067 if test x${glibcxx_cv_func_expl_use+set} != xset; then
52068 if ${glibcxx_cv_func_expl_use+:} false; then :
52069 $as_echo_n "(cached) " >&6
52070 else
52073 ac_ext=cpp
52074 ac_cpp='$CXXCPP $CPPFLAGS'
52075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52080 /* end confdefs.h. */
52081 #include <math.h>
52082 #ifdef HAVE_IEEEFP_H
52083 #include <ieeefp.h>
52084 #endif
52087 main ()
52089 expl(0);
52091 return 0;
52093 _ACEOF
52094 if ac_fn_cxx_try_compile "$LINENO"; then :
52095 glibcxx_cv_func_expl_use=yes
52096 else
52097 glibcxx_cv_func_expl_use=no
52099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52100 ac_ext=c
52101 ac_cpp='$CPP $CPPFLAGS'
52102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
52111 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
52113 if test x$glibcxx_cv_func_expl_use = x"yes"; then
52114 for ac_func in expl
52115 do :
52116 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
52117 if test "x$ac_cv_func_expl" = xyes; then :
52118 cat >>confdefs.h <<_ACEOF
52119 #define HAVE_EXPL 1
52120 _ACEOF
52123 done
52125 else
52127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
52128 $as_echo_n "checking for _expl declaration... " >&6; }
52129 if test x${glibcxx_cv_func__expl_use+set} != xset; then
52130 if ${glibcxx_cv_func__expl_use+:} false; then :
52131 $as_echo_n "(cached) " >&6
52132 else
52135 ac_ext=cpp
52136 ac_cpp='$CXXCPP $CPPFLAGS'
52137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52142 /* end confdefs.h. */
52143 #include <math.h>
52144 #ifdef HAVE_IEEEFP_H
52145 #include <ieeefp.h>
52146 #endif
52149 main ()
52151 _expl(0);
52153 return 0;
52155 _ACEOF
52156 if ac_fn_cxx_try_compile "$LINENO"; then :
52157 glibcxx_cv_func__expl_use=yes
52158 else
52159 glibcxx_cv_func__expl_use=no
52161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52162 ac_ext=c
52163 ac_cpp='$CPP $CPPFLAGS'
52164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
52173 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
52175 if test x$glibcxx_cv_func__expl_use = x"yes"; then
52176 for ac_func in _expl
52177 do :
52178 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
52179 if test "x$ac_cv_func__expl" = xyes; then :
52180 cat >>confdefs.h <<_ACEOF
52181 #define HAVE__EXPL 1
52182 _ACEOF
52185 done
52194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
52195 $as_echo_n "checking for fabsl declaration... " >&6; }
52196 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
52197 if ${glibcxx_cv_func_fabsl_use+:} false; then :
52198 $as_echo_n "(cached) " >&6
52199 else
52202 ac_ext=cpp
52203 ac_cpp='$CXXCPP $CPPFLAGS'
52204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52209 /* end confdefs.h. */
52210 #include <math.h>
52211 #ifdef HAVE_IEEEFP_H
52212 #include <ieeefp.h>
52213 #endif
52216 main ()
52218 fabsl(0);
52220 return 0;
52222 _ACEOF
52223 if ac_fn_cxx_try_compile "$LINENO"; then :
52224 glibcxx_cv_func_fabsl_use=yes
52225 else
52226 glibcxx_cv_func_fabsl_use=no
52228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52229 ac_ext=c
52230 ac_cpp='$CPP $CPPFLAGS'
52231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
52240 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
52242 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
52243 for ac_func in fabsl
52244 do :
52245 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
52246 if test "x$ac_cv_func_fabsl" = xyes; then :
52247 cat >>confdefs.h <<_ACEOF
52248 #define HAVE_FABSL 1
52249 _ACEOF
52252 done
52254 else
52256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
52257 $as_echo_n "checking for _fabsl declaration... " >&6; }
52258 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
52259 if ${glibcxx_cv_func__fabsl_use+:} false; then :
52260 $as_echo_n "(cached) " >&6
52261 else
52264 ac_ext=cpp
52265 ac_cpp='$CXXCPP $CPPFLAGS'
52266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52271 /* end confdefs.h. */
52272 #include <math.h>
52273 #ifdef HAVE_IEEEFP_H
52274 #include <ieeefp.h>
52275 #endif
52278 main ()
52280 _fabsl(0);
52282 return 0;
52284 _ACEOF
52285 if ac_fn_cxx_try_compile "$LINENO"; then :
52286 glibcxx_cv_func__fabsl_use=yes
52287 else
52288 glibcxx_cv_func__fabsl_use=no
52290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52291 ac_ext=c
52292 ac_cpp='$CPP $CPPFLAGS'
52293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
52302 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
52304 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
52305 for ac_func in _fabsl
52306 do :
52307 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
52308 if test "x$ac_cv_func__fabsl" = xyes; then :
52309 cat >>confdefs.h <<_ACEOF
52310 #define HAVE__FABSL 1
52311 _ACEOF
52314 done
52323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
52324 $as_echo_n "checking for fmodl declaration... " >&6; }
52325 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
52326 if ${glibcxx_cv_func_fmodl_use+:} false; then :
52327 $as_echo_n "(cached) " >&6
52328 else
52331 ac_ext=cpp
52332 ac_cpp='$CXXCPP $CPPFLAGS'
52333 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52334 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52335 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52338 /* end confdefs.h. */
52339 #include <math.h>
52341 main ()
52343 fmodl(0, 0);
52345 return 0;
52347 _ACEOF
52348 if ac_fn_cxx_try_compile "$LINENO"; then :
52349 glibcxx_cv_func_fmodl_use=yes
52350 else
52351 glibcxx_cv_func_fmodl_use=no
52353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52354 ac_ext=c
52355 ac_cpp='$CPP $CPPFLAGS'
52356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
52365 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
52367 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
52368 for ac_func in fmodl
52369 do :
52370 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
52371 if test "x$ac_cv_func_fmodl" = xyes; then :
52372 cat >>confdefs.h <<_ACEOF
52373 #define HAVE_FMODL 1
52374 _ACEOF
52377 done
52379 else
52381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
52382 $as_echo_n "checking for _fmodl declaration... " >&6; }
52383 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
52384 if ${glibcxx_cv_func__fmodl_use+:} false; then :
52385 $as_echo_n "(cached) " >&6
52386 else
52389 ac_ext=cpp
52390 ac_cpp='$CXXCPP $CPPFLAGS'
52391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52396 /* end confdefs.h. */
52397 #include <math.h>
52399 main ()
52401 _fmodl(0, 0);
52403 return 0;
52405 _ACEOF
52406 if ac_fn_cxx_try_compile "$LINENO"; then :
52407 glibcxx_cv_func__fmodl_use=yes
52408 else
52409 glibcxx_cv_func__fmodl_use=no
52411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52412 ac_ext=c
52413 ac_cpp='$CPP $CPPFLAGS'
52414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
52423 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
52425 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
52426 for ac_func in _fmodl
52427 do :
52428 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
52429 if test "x$ac_cv_func__fmodl" = xyes; then :
52430 cat >>confdefs.h <<_ACEOF
52431 #define HAVE__FMODL 1
52432 _ACEOF
52435 done
52444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
52445 $as_echo_n "checking for frexpl declaration... " >&6; }
52446 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
52447 if ${glibcxx_cv_func_frexpl_use+:} false; then :
52448 $as_echo_n "(cached) " >&6
52449 else
52452 ac_ext=cpp
52453 ac_cpp='$CXXCPP $CPPFLAGS'
52454 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52455 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52456 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52459 /* end confdefs.h. */
52460 #include <math.h>
52462 main ()
52464 frexpl(0, 0);
52466 return 0;
52468 _ACEOF
52469 if ac_fn_cxx_try_compile "$LINENO"; then :
52470 glibcxx_cv_func_frexpl_use=yes
52471 else
52472 glibcxx_cv_func_frexpl_use=no
52474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52475 ac_ext=c
52476 ac_cpp='$CPP $CPPFLAGS'
52477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
52486 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
52488 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
52489 for ac_func in frexpl
52490 do :
52491 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
52492 if test "x$ac_cv_func_frexpl" = xyes; then :
52493 cat >>confdefs.h <<_ACEOF
52494 #define HAVE_FREXPL 1
52495 _ACEOF
52498 done
52500 else
52502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
52503 $as_echo_n "checking for _frexpl declaration... " >&6; }
52504 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
52505 if ${glibcxx_cv_func__frexpl_use+:} false; then :
52506 $as_echo_n "(cached) " >&6
52507 else
52510 ac_ext=cpp
52511 ac_cpp='$CXXCPP $CPPFLAGS'
52512 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52513 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52514 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52517 /* end confdefs.h. */
52518 #include <math.h>
52520 main ()
52522 _frexpl(0, 0);
52524 return 0;
52526 _ACEOF
52527 if ac_fn_cxx_try_compile "$LINENO"; then :
52528 glibcxx_cv_func__frexpl_use=yes
52529 else
52530 glibcxx_cv_func__frexpl_use=no
52532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52533 ac_ext=c
52534 ac_cpp='$CPP $CPPFLAGS'
52535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
52544 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
52546 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
52547 for ac_func in _frexpl
52548 do :
52549 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
52550 if test "x$ac_cv_func__frexpl" = xyes; then :
52551 cat >>confdefs.h <<_ACEOF
52552 #define HAVE__FREXPL 1
52553 _ACEOF
52556 done
52565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
52566 $as_echo_n "checking for hypotl declaration... " >&6; }
52567 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
52568 if ${glibcxx_cv_func_hypotl_use+:} false; then :
52569 $as_echo_n "(cached) " >&6
52570 else
52573 ac_ext=cpp
52574 ac_cpp='$CXXCPP $CPPFLAGS'
52575 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52576 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52577 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52580 /* end confdefs.h. */
52581 #include <math.h>
52583 main ()
52585 hypotl(0, 0);
52587 return 0;
52589 _ACEOF
52590 if ac_fn_cxx_try_compile "$LINENO"; then :
52591 glibcxx_cv_func_hypotl_use=yes
52592 else
52593 glibcxx_cv_func_hypotl_use=no
52595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52596 ac_ext=c
52597 ac_cpp='$CPP $CPPFLAGS'
52598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
52607 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
52609 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
52610 for ac_func in hypotl
52611 do :
52612 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
52613 if test "x$ac_cv_func_hypotl" = xyes; then :
52614 cat >>confdefs.h <<_ACEOF
52615 #define HAVE_HYPOTL 1
52616 _ACEOF
52619 done
52621 else
52623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
52624 $as_echo_n "checking for _hypotl declaration... " >&6; }
52625 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
52626 if ${glibcxx_cv_func__hypotl_use+:} false; then :
52627 $as_echo_n "(cached) " >&6
52628 else
52631 ac_ext=cpp
52632 ac_cpp='$CXXCPP $CPPFLAGS'
52633 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52634 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52635 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52638 /* end confdefs.h. */
52639 #include <math.h>
52641 main ()
52643 _hypotl(0, 0);
52645 return 0;
52647 _ACEOF
52648 if ac_fn_cxx_try_compile "$LINENO"; then :
52649 glibcxx_cv_func__hypotl_use=yes
52650 else
52651 glibcxx_cv_func__hypotl_use=no
52653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52654 ac_ext=c
52655 ac_cpp='$CPP $CPPFLAGS'
52656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
52665 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
52667 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
52668 for ac_func in _hypotl
52669 do :
52670 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
52671 if test "x$ac_cv_func__hypotl" = xyes; then :
52672 cat >>confdefs.h <<_ACEOF
52673 #define HAVE__HYPOTL 1
52674 _ACEOF
52677 done
52686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
52687 $as_echo_n "checking for ldexpl declaration... " >&6; }
52688 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
52689 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
52690 $as_echo_n "(cached) " >&6
52691 else
52694 ac_ext=cpp
52695 ac_cpp='$CXXCPP $CPPFLAGS'
52696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52701 /* end confdefs.h. */
52702 #include <math.h>
52704 main ()
52706 ldexpl(0, 0);
52708 return 0;
52710 _ACEOF
52711 if ac_fn_cxx_try_compile "$LINENO"; then :
52712 glibcxx_cv_func_ldexpl_use=yes
52713 else
52714 glibcxx_cv_func_ldexpl_use=no
52716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52717 ac_ext=c
52718 ac_cpp='$CPP $CPPFLAGS'
52719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
52728 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
52730 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
52731 for ac_func in ldexpl
52732 do :
52733 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
52734 if test "x$ac_cv_func_ldexpl" = xyes; then :
52735 cat >>confdefs.h <<_ACEOF
52736 #define HAVE_LDEXPL 1
52737 _ACEOF
52740 done
52742 else
52744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
52745 $as_echo_n "checking for _ldexpl declaration... " >&6; }
52746 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
52747 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
52748 $as_echo_n "(cached) " >&6
52749 else
52752 ac_ext=cpp
52753 ac_cpp='$CXXCPP $CPPFLAGS'
52754 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52755 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52756 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52759 /* end confdefs.h. */
52760 #include <math.h>
52762 main ()
52764 _ldexpl(0, 0);
52766 return 0;
52768 _ACEOF
52769 if ac_fn_cxx_try_compile "$LINENO"; then :
52770 glibcxx_cv_func__ldexpl_use=yes
52771 else
52772 glibcxx_cv_func__ldexpl_use=no
52774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52775 ac_ext=c
52776 ac_cpp='$CPP $CPPFLAGS'
52777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
52786 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
52788 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
52789 for ac_func in _ldexpl
52790 do :
52791 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
52792 if test "x$ac_cv_func__ldexpl" = xyes; then :
52793 cat >>confdefs.h <<_ACEOF
52794 #define HAVE__LDEXPL 1
52795 _ACEOF
52798 done
52807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
52808 $as_echo_n "checking for logl declaration... " >&6; }
52809 if test x${glibcxx_cv_func_logl_use+set} != xset; then
52810 if ${glibcxx_cv_func_logl_use+:} false; then :
52811 $as_echo_n "(cached) " >&6
52812 else
52815 ac_ext=cpp
52816 ac_cpp='$CXXCPP $CPPFLAGS'
52817 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52818 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52819 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52822 /* end confdefs.h. */
52823 #include <math.h>
52824 #ifdef HAVE_IEEEFP_H
52825 #include <ieeefp.h>
52826 #endif
52829 main ()
52831 logl(0);
52833 return 0;
52835 _ACEOF
52836 if ac_fn_cxx_try_compile "$LINENO"; then :
52837 glibcxx_cv_func_logl_use=yes
52838 else
52839 glibcxx_cv_func_logl_use=no
52841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52842 ac_ext=c
52843 ac_cpp='$CPP $CPPFLAGS'
52844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
52853 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
52855 if test x$glibcxx_cv_func_logl_use = x"yes"; then
52856 for ac_func in logl
52857 do :
52858 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
52859 if test "x$ac_cv_func_logl" = xyes; then :
52860 cat >>confdefs.h <<_ACEOF
52861 #define HAVE_LOGL 1
52862 _ACEOF
52865 done
52867 else
52869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
52870 $as_echo_n "checking for _logl declaration... " >&6; }
52871 if test x${glibcxx_cv_func__logl_use+set} != xset; then
52872 if ${glibcxx_cv_func__logl_use+:} false; then :
52873 $as_echo_n "(cached) " >&6
52874 else
52877 ac_ext=cpp
52878 ac_cpp='$CXXCPP $CPPFLAGS'
52879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52884 /* end confdefs.h. */
52885 #include <math.h>
52886 #ifdef HAVE_IEEEFP_H
52887 #include <ieeefp.h>
52888 #endif
52891 main ()
52893 _logl(0);
52895 return 0;
52897 _ACEOF
52898 if ac_fn_cxx_try_compile "$LINENO"; then :
52899 glibcxx_cv_func__logl_use=yes
52900 else
52901 glibcxx_cv_func__logl_use=no
52903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52904 ac_ext=c
52905 ac_cpp='$CPP $CPPFLAGS'
52906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
52915 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
52917 if test x$glibcxx_cv_func__logl_use = x"yes"; then
52918 for ac_func in _logl
52919 do :
52920 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
52921 if test "x$ac_cv_func__logl" = xyes; then :
52922 cat >>confdefs.h <<_ACEOF
52923 #define HAVE__LOGL 1
52924 _ACEOF
52927 done
52936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
52937 $as_echo_n "checking for log10l declaration... " >&6; }
52938 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
52939 if ${glibcxx_cv_func_log10l_use+:} false; then :
52940 $as_echo_n "(cached) " >&6
52941 else
52944 ac_ext=cpp
52945 ac_cpp='$CXXCPP $CPPFLAGS'
52946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52951 /* end confdefs.h. */
52952 #include <math.h>
52953 #ifdef HAVE_IEEEFP_H
52954 #include <ieeefp.h>
52955 #endif
52958 main ()
52960 log10l(0);
52962 return 0;
52964 _ACEOF
52965 if ac_fn_cxx_try_compile "$LINENO"; then :
52966 glibcxx_cv_func_log10l_use=yes
52967 else
52968 glibcxx_cv_func_log10l_use=no
52970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52971 ac_ext=c
52972 ac_cpp='$CPP $CPPFLAGS'
52973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
52982 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
52984 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
52985 for ac_func in log10l
52986 do :
52987 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
52988 if test "x$ac_cv_func_log10l" = xyes; then :
52989 cat >>confdefs.h <<_ACEOF
52990 #define HAVE_LOG10L 1
52991 _ACEOF
52994 done
52996 else
52998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
52999 $as_echo_n "checking for _log10l declaration... " >&6; }
53000 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
53001 if ${glibcxx_cv_func__log10l_use+:} false; then :
53002 $as_echo_n "(cached) " >&6
53003 else
53006 ac_ext=cpp
53007 ac_cpp='$CXXCPP $CPPFLAGS'
53008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53013 /* end confdefs.h. */
53014 #include <math.h>
53015 #ifdef HAVE_IEEEFP_H
53016 #include <ieeefp.h>
53017 #endif
53020 main ()
53022 _log10l(0);
53024 return 0;
53026 _ACEOF
53027 if ac_fn_cxx_try_compile "$LINENO"; then :
53028 glibcxx_cv_func__log10l_use=yes
53029 else
53030 glibcxx_cv_func__log10l_use=no
53032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53033 ac_ext=c
53034 ac_cpp='$CPP $CPPFLAGS'
53035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
53044 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
53046 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
53047 for ac_func in _log10l
53048 do :
53049 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
53050 if test "x$ac_cv_func__log10l" = xyes; then :
53051 cat >>confdefs.h <<_ACEOF
53052 #define HAVE__LOG10L 1
53053 _ACEOF
53056 done
53065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
53066 $as_echo_n "checking for modfl declaration... " >&6; }
53067 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
53068 if ${glibcxx_cv_func_modfl_use+:} false; then :
53069 $as_echo_n "(cached) " >&6
53070 else
53073 ac_ext=cpp
53074 ac_cpp='$CXXCPP $CPPFLAGS'
53075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53080 /* end confdefs.h. */
53081 #include <math.h>
53083 main ()
53085 modfl(0, 0);
53087 return 0;
53089 _ACEOF
53090 if ac_fn_cxx_try_compile "$LINENO"; then :
53091 glibcxx_cv_func_modfl_use=yes
53092 else
53093 glibcxx_cv_func_modfl_use=no
53095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53096 ac_ext=c
53097 ac_cpp='$CPP $CPPFLAGS'
53098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
53107 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
53109 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
53110 for ac_func in modfl
53111 do :
53112 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
53113 if test "x$ac_cv_func_modfl" = xyes; then :
53114 cat >>confdefs.h <<_ACEOF
53115 #define HAVE_MODFL 1
53116 _ACEOF
53119 done
53121 else
53123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
53124 $as_echo_n "checking for _modfl declaration... " >&6; }
53125 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
53126 if ${glibcxx_cv_func__modfl_use+:} false; then :
53127 $as_echo_n "(cached) " >&6
53128 else
53131 ac_ext=cpp
53132 ac_cpp='$CXXCPP $CPPFLAGS'
53133 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53134 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53135 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53138 /* end confdefs.h. */
53139 #include <math.h>
53141 main ()
53143 _modfl(0, 0);
53145 return 0;
53147 _ACEOF
53148 if ac_fn_cxx_try_compile "$LINENO"; then :
53149 glibcxx_cv_func__modfl_use=yes
53150 else
53151 glibcxx_cv_func__modfl_use=no
53153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53154 ac_ext=c
53155 ac_cpp='$CPP $CPPFLAGS'
53156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
53165 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
53167 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
53168 for ac_func in _modfl
53169 do :
53170 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
53171 if test "x$ac_cv_func__modfl" = xyes; then :
53172 cat >>confdefs.h <<_ACEOF
53173 #define HAVE__MODFL 1
53174 _ACEOF
53177 done
53186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
53187 $as_echo_n "checking for powl declaration... " >&6; }
53188 if test x${glibcxx_cv_func_powl_use+set} != xset; then
53189 if ${glibcxx_cv_func_powl_use+:} false; then :
53190 $as_echo_n "(cached) " >&6
53191 else
53194 ac_ext=cpp
53195 ac_cpp='$CXXCPP $CPPFLAGS'
53196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53201 /* end confdefs.h. */
53202 #include <math.h>
53204 main ()
53206 powl(0, 0);
53208 return 0;
53210 _ACEOF
53211 if ac_fn_cxx_try_compile "$LINENO"; then :
53212 glibcxx_cv_func_powl_use=yes
53213 else
53214 glibcxx_cv_func_powl_use=no
53216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53217 ac_ext=c
53218 ac_cpp='$CPP $CPPFLAGS'
53219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
53228 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
53230 if test x$glibcxx_cv_func_powl_use = x"yes"; then
53231 for ac_func in powl
53232 do :
53233 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
53234 if test "x$ac_cv_func_powl" = xyes; then :
53235 cat >>confdefs.h <<_ACEOF
53236 #define HAVE_POWL 1
53237 _ACEOF
53240 done
53242 else
53244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
53245 $as_echo_n "checking for _powl declaration... " >&6; }
53246 if test x${glibcxx_cv_func__powl_use+set} != xset; then
53247 if ${glibcxx_cv_func__powl_use+:} false; then :
53248 $as_echo_n "(cached) " >&6
53249 else
53252 ac_ext=cpp
53253 ac_cpp='$CXXCPP $CPPFLAGS'
53254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53259 /* end confdefs.h. */
53260 #include <math.h>
53262 main ()
53264 _powl(0, 0);
53266 return 0;
53268 _ACEOF
53269 if ac_fn_cxx_try_compile "$LINENO"; then :
53270 glibcxx_cv_func__powl_use=yes
53271 else
53272 glibcxx_cv_func__powl_use=no
53274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53275 ac_ext=c
53276 ac_cpp='$CPP $CPPFLAGS'
53277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
53286 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
53288 if test x$glibcxx_cv_func__powl_use = x"yes"; then
53289 for ac_func in _powl
53290 do :
53291 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
53292 if test "x$ac_cv_func__powl" = xyes; then :
53293 cat >>confdefs.h <<_ACEOF
53294 #define HAVE__POWL 1
53295 _ACEOF
53298 done
53307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
53308 $as_echo_n "checking for sqrtl declaration... " >&6; }
53309 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
53310 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
53311 $as_echo_n "(cached) " >&6
53312 else
53315 ac_ext=cpp
53316 ac_cpp='$CXXCPP $CPPFLAGS'
53317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53322 /* end confdefs.h. */
53323 #include <math.h>
53324 #ifdef HAVE_IEEEFP_H
53325 #include <ieeefp.h>
53326 #endif
53329 main ()
53331 sqrtl(0);
53333 return 0;
53335 _ACEOF
53336 if ac_fn_cxx_try_compile "$LINENO"; then :
53337 glibcxx_cv_func_sqrtl_use=yes
53338 else
53339 glibcxx_cv_func_sqrtl_use=no
53341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53342 ac_ext=c
53343 ac_cpp='$CPP $CPPFLAGS'
53344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
53353 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
53355 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
53356 for ac_func in sqrtl
53357 do :
53358 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
53359 if test "x$ac_cv_func_sqrtl" = xyes; then :
53360 cat >>confdefs.h <<_ACEOF
53361 #define HAVE_SQRTL 1
53362 _ACEOF
53365 done
53367 else
53369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
53370 $as_echo_n "checking for _sqrtl declaration... " >&6; }
53371 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
53372 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
53373 $as_echo_n "(cached) " >&6
53374 else
53377 ac_ext=cpp
53378 ac_cpp='$CXXCPP $CPPFLAGS'
53379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53384 /* end confdefs.h. */
53385 #include <math.h>
53386 #ifdef HAVE_IEEEFP_H
53387 #include <ieeefp.h>
53388 #endif
53391 main ()
53393 _sqrtl(0);
53395 return 0;
53397 _ACEOF
53398 if ac_fn_cxx_try_compile "$LINENO"; then :
53399 glibcxx_cv_func__sqrtl_use=yes
53400 else
53401 glibcxx_cv_func__sqrtl_use=no
53403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53404 ac_ext=c
53405 ac_cpp='$CPP $CPPFLAGS'
53406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
53415 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
53417 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
53418 for ac_func in _sqrtl
53419 do :
53420 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
53421 if test "x$ac_cv_func__sqrtl" = xyes; then :
53422 cat >>confdefs.h <<_ACEOF
53423 #define HAVE__SQRTL 1
53424 _ACEOF
53427 done
53436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
53437 $as_echo_n "checking for sincosl declaration... " >&6; }
53438 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
53439 if ${glibcxx_cv_func_sincosl_use+:} false; then :
53440 $as_echo_n "(cached) " >&6
53441 else
53444 ac_ext=cpp
53445 ac_cpp='$CXXCPP $CPPFLAGS'
53446 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53447 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53448 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53451 /* end confdefs.h. */
53452 #include <math.h>
53454 main ()
53456 sincosl(0, 0, 0);
53458 return 0;
53460 _ACEOF
53461 if ac_fn_cxx_try_compile "$LINENO"; then :
53462 glibcxx_cv_func_sincosl_use=yes
53463 else
53464 glibcxx_cv_func_sincosl_use=no
53466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53467 ac_ext=c
53468 ac_cpp='$CPP $CPPFLAGS'
53469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
53478 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
53480 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
53481 for ac_func in sincosl
53482 do :
53483 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
53484 if test "x$ac_cv_func_sincosl" = xyes; then :
53485 cat >>confdefs.h <<_ACEOF
53486 #define HAVE_SINCOSL 1
53487 _ACEOF
53490 done
53492 else
53494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
53495 $as_echo_n "checking for _sincosl declaration... " >&6; }
53496 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
53497 if ${glibcxx_cv_func__sincosl_use+:} false; then :
53498 $as_echo_n "(cached) " >&6
53499 else
53502 ac_ext=cpp
53503 ac_cpp='$CXXCPP $CPPFLAGS'
53504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53509 /* end confdefs.h. */
53510 #include <math.h>
53512 main ()
53514 _sincosl(0, 0, 0);
53516 return 0;
53518 _ACEOF
53519 if ac_fn_cxx_try_compile "$LINENO"; then :
53520 glibcxx_cv_func__sincosl_use=yes
53521 else
53522 glibcxx_cv_func__sincosl_use=no
53524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53525 ac_ext=c
53526 ac_cpp='$CPP $CPPFLAGS'
53527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
53536 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
53538 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
53539 for ac_func in _sincosl
53540 do :
53541 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
53542 if test "x$ac_cv_func__sincosl" = xyes; then :
53543 cat >>confdefs.h <<_ACEOF
53544 #define HAVE__SINCOSL 1
53545 _ACEOF
53548 done
53557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
53558 $as_echo_n "checking for finitel declaration... " >&6; }
53559 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
53560 if ${glibcxx_cv_func_finitel_use+:} false; then :
53561 $as_echo_n "(cached) " >&6
53562 else
53565 ac_ext=cpp
53566 ac_cpp='$CXXCPP $CPPFLAGS'
53567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53572 /* end confdefs.h. */
53573 #include <math.h>
53574 #ifdef HAVE_IEEEFP_H
53575 #include <ieeefp.h>
53576 #endif
53579 main ()
53581 finitel(0);
53583 return 0;
53585 _ACEOF
53586 if ac_fn_cxx_try_compile "$LINENO"; then :
53587 glibcxx_cv_func_finitel_use=yes
53588 else
53589 glibcxx_cv_func_finitel_use=no
53591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53592 ac_ext=c
53593 ac_cpp='$CPP $CPPFLAGS'
53594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
53603 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
53605 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
53606 for ac_func in finitel
53607 do :
53608 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
53609 if test "x$ac_cv_func_finitel" = xyes; then :
53610 cat >>confdefs.h <<_ACEOF
53611 #define HAVE_FINITEL 1
53612 _ACEOF
53615 done
53617 else
53619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
53620 $as_echo_n "checking for _finitel declaration... " >&6; }
53621 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
53622 if ${glibcxx_cv_func__finitel_use+:} false; then :
53623 $as_echo_n "(cached) " >&6
53624 else
53627 ac_ext=cpp
53628 ac_cpp='$CXXCPP $CPPFLAGS'
53629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53634 /* end confdefs.h. */
53635 #include <math.h>
53636 #ifdef HAVE_IEEEFP_H
53637 #include <ieeefp.h>
53638 #endif
53641 main ()
53643 _finitel(0);
53645 return 0;
53647 _ACEOF
53648 if ac_fn_cxx_try_compile "$LINENO"; then :
53649 glibcxx_cv_func__finitel_use=yes
53650 else
53651 glibcxx_cv_func__finitel_use=no
53653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53654 ac_ext=c
53655 ac_cpp='$CPP $CPPFLAGS'
53656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
53665 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
53667 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
53668 for ac_func in _finitel
53669 do :
53670 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
53671 if test "x$ac_cv_func__finitel" = xyes; then :
53672 cat >>confdefs.h <<_ACEOF
53673 #define HAVE__FINITEL 1
53674 _ACEOF
53677 done
53685 LIBS="$ac_save_LIBS"
53686 CXXFLAGS="$ac_save_CXXFLAGS"
53689 ac_test_CXXFLAGS="${CXXFLAGS+set}"
53690 ac_save_CXXFLAGS="$CXXFLAGS"
53691 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
53694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
53695 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
53696 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
53697 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
53698 $as_echo_n "(cached) " >&6
53699 else
53702 ac_ext=cpp
53703 ac_cpp='$CXXCPP $CPPFLAGS'
53704 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53705 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53706 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53709 /* end confdefs.h. */
53710 #include <stdlib.h>
53712 main ()
53714 at_quick_exit(0);
53716 return 0;
53718 _ACEOF
53719 if ac_fn_cxx_try_compile "$LINENO"; then :
53720 glibcxx_cv_func_at_quick_exit_use=yes
53721 else
53722 glibcxx_cv_func_at_quick_exit_use=no
53724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53725 ac_ext=c
53726 ac_cpp='$CPP $CPPFLAGS'
53727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
53736 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
53737 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
53738 for ac_func in at_quick_exit
53739 do :
53740 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
53741 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
53742 cat >>confdefs.h <<_ACEOF
53743 #define HAVE_AT_QUICK_EXIT 1
53744 _ACEOF
53747 done
53752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
53753 $as_echo_n "checking for quick_exit declaration... " >&6; }
53754 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
53755 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
53756 $as_echo_n "(cached) " >&6
53757 else
53760 ac_ext=cpp
53761 ac_cpp='$CXXCPP $CPPFLAGS'
53762 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53763 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53764 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53767 /* end confdefs.h. */
53768 #include <stdlib.h>
53770 main ()
53772 quick_exit(0);
53774 return 0;
53776 _ACEOF
53777 if ac_fn_cxx_try_compile "$LINENO"; then :
53778 glibcxx_cv_func_quick_exit_use=yes
53779 else
53780 glibcxx_cv_func_quick_exit_use=no
53782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53783 ac_ext=c
53784 ac_cpp='$CPP $CPPFLAGS'
53785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
53794 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
53795 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
53796 for ac_func in quick_exit
53797 do :
53798 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
53799 if test "x$ac_cv_func_quick_exit" = xyes; then :
53800 cat >>confdefs.h <<_ACEOF
53801 #define HAVE_QUICK_EXIT 1
53802 _ACEOF
53805 done
53810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
53811 $as_echo_n "checking for strtold declaration... " >&6; }
53812 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
53813 if ${glibcxx_cv_func_strtold_use+:} false; then :
53814 $as_echo_n "(cached) " >&6
53815 else
53818 ac_ext=cpp
53819 ac_cpp='$CXXCPP $CPPFLAGS'
53820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53825 /* end confdefs.h. */
53826 #include <stdlib.h>
53828 main ()
53830 strtold(0, 0);
53832 return 0;
53834 _ACEOF
53835 if ac_fn_cxx_try_compile "$LINENO"; then :
53836 glibcxx_cv_func_strtold_use=yes
53837 else
53838 glibcxx_cv_func_strtold_use=no
53840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53841 ac_ext=c
53842 ac_cpp='$CPP $CPPFLAGS'
53843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
53852 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
53853 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
53854 for ac_func in strtold
53855 do :
53856 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
53857 if test "x$ac_cv_func_strtold" = xyes; then :
53858 cat >>confdefs.h <<_ACEOF
53859 #define HAVE_STRTOLD 1
53860 _ACEOF
53863 done
53870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
53871 $as_echo_n "checking for strtof declaration... " >&6; }
53872 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
53873 if ${glibcxx_cv_func_strtof_use+:} false; then :
53874 $as_echo_n "(cached) " >&6
53875 else
53878 ac_ext=cpp
53879 ac_cpp='$CXXCPP $CPPFLAGS'
53880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53885 /* end confdefs.h. */
53886 #include <stdlib.h>
53888 main ()
53890 strtof(0, 0);
53892 return 0;
53894 _ACEOF
53895 if ac_fn_cxx_try_compile "$LINENO"; then :
53896 glibcxx_cv_func_strtof_use=yes
53897 else
53898 glibcxx_cv_func_strtof_use=no
53900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53901 ac_ext=c
53902 ac_cpp='$CPP $CPPFLAGS'
53903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
53912 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
53913 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
53914 for ac_func in strtof
53915 do :
53916 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
53917 if test "x$ac_cv_func_strtof" = xyes; then :
53918 cat >>confdefs.h <<_ACEOF
53919 #define HAVE_STRTOF 1
53920 _ACEOF
53923 done
53930 CXXFLAGS="$ac_save_CXXFLAGS"
53932 $as_echo "#define _GLIBCXX_USE_DEV_RANDOM 1" >>confdefs.h
53934 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
53938 # Check whether --enable-tls was given.
53939 if test "${enable_tls+set}" = set; then :
53940 enableval=$enable_tls;
53941 case "$enableval" in
53942 yes|no) ;;
53943 *) as_fn_error $? "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
53944 esac
53946 else
53947 enable_tls=yes
53951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
53952 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
53953 if ${gcc_cv_have_tls+:} false; then :
53954 $as_echo_n "(cached) " >&6
53955 else
53957 if test "$cross_compiling" = yes; then :
53958 if test x$gcc_no_link = xyes; then
53959 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53962 /* end confdefs.h. */
53963 __thread int a; int b; int main() { return a = b; }
53964 _ACEOF
53965 if ac_fn_c_try_link "$LINENO"; then :
53966 chktls_save_LDFLAGS="$LDFLAGS"
53967 case $host in
53968 *-*-linux* | -*-uclinuxfdpic*)
53969 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
53971 esac
53972 chktls_save_CFLAGS="$CFLAGS"
53973 CFLAGS="-fPIC $CFLAGS"
53974 if test x$gcc_no_link = xyes; then
53975 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53978 /* end confdefs.h. */
53979 int f() { return 0; }
53980 _ACEOF
53981 if ac_fn_c_try_link "$LINENO"; then :
53982 if test x$gcc_no_link = xyes; then
53983 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53986 /* end confdefs.h. */
53987 __thread int a; int b; int f() { return a = b; }
53988 _ACEOF
53989 if ac_fn_c_try_link "$LINENO"; then :
53990 gcc_cv_have_tls=yes
53991 else
53992 gcc_cv_have_tls=no
53994 rm -f core conftest.err conftest.$ac_objext \
53995 conftest$ac_exeext conftest.$ac_ext
53996 else
53997 gcc_cv_have_tls=yes
53999 rm -f core conftest.err conftest.$ac_objext \
54000 conftest$ac_exeext conftest.$ac_ext
54001 CFLAGS="$chktls_save_CFLAGS"
54002 LDFLAGS="$chktls_save_LDFLAGS"
54003 else
54004 gcc_cv_have_tls=no
54006 rm -f core conftest.err conftest.$ac_objext \
54007 conftest$ac_exeext conftest.$ac_ext
54010 else
54011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54012 /* end confdefs.h. */
54013 __thread int a; int b; int main() { return a = b; }
54014 _ACEOF
54015 if ac_fn_c_try_run "$LINENO"; then :
54016 chktls_save_LDFLAGS="$LDFLAGS"
54017 LDFLAGS="-static $LDFLAGS"
54018 if test x$gcc_no_link = xyes; then
54019 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54022 /* end confdefs.h. */
54023 int main() { return 0; }
54024 _ACEOF
54025 if ac_fn_c_try_link "$LINENO"; then :
54026 if test "$cross_compiling" = yes; then :
54027 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
54028 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
54029 as_fn_error $? "cannot run test program while cross compiling
54030 See \`config.log' for more details" "$LINENO" 5; }
54031 else
54032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54033 /* end confdefs.h. */
54034 __thread int a; int b; int main() { return a = b; }
54035 _ACEOF
54036 if ac_fn_c_try_run "$LINENO"; then :
54037 gcc_cv_have_tls=yes
54038 else
54039 gcc_cv_have_tls=no
54041 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
54042 conftest.$ac_objext conftest.beam conftest.$ac_ext
54045 else
54046 gcc_cv_have_tls=yes
54048 rm -f core conftest.err conftest.$ac_objext \
54049 conftest$ac_exeext conftest.$ac_ext
54050 LDFLAGS="$chktls_save_LDFLAGS"
54051 if test $gcc_cv_have_tls = yes; then
54052 chktls_save_CFLAGS="$CFLAGS"
54053 thread_CFLAGS=failed
54054 for flag in '' '-pthread' '-lpthread'; do
54055 CFLAGS="$flag $chktls_save_CFLAGS"
54056 if test x$gcc_no_link = xyes; then
54057 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54060 /* end confdefs.h. */
54061 #include <pthread.h>
54062 void *g(void *d) { return NULL; }
54064 main ()
54066 pthread_t t; pthread_create(&t,NULL,g,NULL);
54068 return 0;
54070 _ACEOF
54071 if ac_fn_c_try_link "$LINENO"; then :
54072 thread_CFLAGS="$flag"
54074 rm -f core conftest.err conftest.$ac_objext \
54075 conftest$ac_exeext conftest.$ac_ext
54076 if test "X$thread_CFLAGS" != Xfailed; then
54077 break
54079 done
54080 CFLAGS="$chktls_save_CFLAGS"
54081 if test "X$thread_CFLAGS" != Xfailed; then
54082 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
54083 if test "$cross_compiling" = yes; then :
54084 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
54085 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
54086 as_fn_error $? "cannot run test program while cross compiling
54087 See \`config.log' for more details" "$LINENO" 5; }
54088 else
54089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54090 /* end confdefs.h. */
54091 #include <pthread.h>
54092 __thread int a;
54093 static int *volatile a_in_other_thread;
54094 static void *
54095 thread_func (void *arg)
54097 a_in_other_thread = &a;
54098 return (void *)0;
54101 main ()
54103 pthread_t thread;
54104 void *thread_retval;
54105 int *volatile a_in_main_thread;
54106 a_in_main_thread = &a;
54107 if (pthread_create (&thread, (pthread_attr_t *)0,
54108 thread_func, (void *)0))
54109 return 0;
54110 if (pthread_join (thread, &thread_retval))
54111 return 0;
54112 return (a_in_other_thread == a_in_main_thread);
54114 return 0;
54116 _ACEOF
54117 if ac_fn_c_try_run "$LINENO"; then :
54118 gcc_cv_have_tls=yes
54119 else
54120 gcc_cv_have_tls=no
54122 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
54123 conftest.$ac_objext conftest.beam conftest.$ac_ext
54126 CFLAGS="$chktls_save_CFLAGS"
54129 else
54130 gcc_cv_have_tls=no
54132 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
54133 conftest.$ac_objext conftest.beam conftest.$ac_ext
54137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
54138 $as_echo "$gcc_cv_have_tls" >&6; }
54139 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
54141 $as_echo "#define HAVE_TLS 1" >>confdefs.h
54144 for ac_func in __cxa_thread_atexit_impl
54145 do :
54146 ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit_impl" "ac_cv_func___cxa_thread_atexit_impl"
54147 if test "x$ac_cv_func___cxa_thread_atexit_impl" = xyes; then :
54148 cat >>confdefs.h <<_ACEOF
54149 #define HAVE___CXA_THREAD_ATEXIT_IMPL 1
54150 _ACEOF
54153 done
54155 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
54156 do :
54157 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54158 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54159 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
54160 cat >>confdefs.h <<_ACEOF
54161 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54162 _ACEOF
54165 done
54167 for ac_func in timespec_get
54168 do :
54169 ac_fn_c_check_func "$LINENO" "timespec_get" "ac_cv_func_timespec_get"
54170 if test "x$ac_cv_func_timespec_get" = xyes; then :
54171 cat >>confdefs.h <<_ACEOF
54172 #define HAVE_TIMESPEC_GET 1
54173 _ACEOF
54176 done
54178 for ac_func in sockatmark
54179 do :
54180 ac_fn_c_check_func "$LINENO" "sockatmark" "ac_cv_func_sockatmark"
54181 if test "x$ac_cv_func_sockatmark" = xyes; then :
54182 cat >>confdefs.h <<_ACEOF
54183 #define HAVE_SOCKATMARK 1
54184 _ACEOF
54187 done
54189 for ac_func in uselocale
54190 do :
54191 ac_fn_c_check_func "$LINENO" "uselocale" "ac_cv_func_uselocale"
54192 if test "x$ac_cv_func_uselocale" = xyes; then :
54193 cat >>confdefs.h <<_ACEOF
54194 #define HAVE_USELOCALE 1
54195 _ACEOF
54198 done
54205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
54206 $as_echo_n "checking for iconv... " >&6; }
54207 if ${am_cv_func_iconv+:} false; then :
54208 $as_echo_n "(cached) " >&6
54209 else
54211 am_cv_func_iconv="no, consider installing GNU libiconv"
54212 am_cv_lib_iconv=no
54213 am_save_CPPFLAGS="$CPPFLAGS"
54214 CPPFLAGS="$CPPFLAGS $INCICONV"
54215 if test x$gcc_no_link = xyes; then
54216 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54219 /* end confdefs.h. */
54220 #include <stdlib.h>
54221 #include <iconv.h>
54223 main ()
54225 iconv_t cd = iconv_open("","");
54226 iconv(cd,NULL,NULL,NULL,NULL);
54227 iconv_close(cd);
54229 return 0;
54231 _ACEOF
54232 if ac_fn_c_try_link "$LINENO"; then :
54233 am_cv_func_iconv=yes
54235 rm -f core conftest.err conftest.$ac_objext \
54236 conftest$ac_exeext conftest.$ac_ext
54237 CPPFLAGS="$am_save_CPPFLAGS"
54239 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
54240 for _libs in .libs _libs; do
54241 am_save_CPPFLAGS="$CPPFLAGS"
54242 am_save_LIBS="$LIBS"
54243 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
54244 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
54245 if test x$gcc_no_link = xyes; then
54246 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54249 /* end confdefs.h. */
54250 #include <stdlib.h>
54251 #include <iconv.h>
54253 main ()
54255 iconv_t cd = iconv_open("","");
54256 iconv(cd,NULL,NULL,NULL,NULL);
54257 iconv_close(cd);
54259 return 0;
54261 _ACEOF
54262 if ac_fn_c_try_link "$LINENO"; then :
54263 INCICONV="-I../libiconv/include"
54264 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
54265 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
54266 am_cv_lib_iconv=yes
54267 am_cv_func_iconv=yes
54269 rm -f core conftest.err conftest.$ac_objext \
54270 conftest$ac_exeext conftest.$ac_ext
54271 CPPFLAGS="$am_save_CPPFLAGS"
54272 LIBS="$am_save_LIBS"
54273 if test "$am_cv_func_iconv" = "yes"; then
54274 break
54276 done
54279 if test "$am_cv_func_iconv" != yes; then
54280 am_save_CPPFLAGS="$CPPFLAGS"
54281 am_save_LIBS="$LIBS"
54282 CPPFLAGS="$CPPFLAGS $INCICONV"
54283 LIBS="$LIBS $LIBICONV"
54284 if test x$gcc_no_link = xyes; then
54285 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54288 /* end confdefs.h. */
54289 #include <stdlib.h>
54290 #include <iconv.h>
54292 main ()
54294 iconv_t cd = iconv_open("","");
54295 iconv(cd,NULL,NULL,NULL,NULL);
54296 iconv_close(cd);
54298 return 0;
54300 _ACEOF
54301 if ac_fn_c_try_link "$LINENO"; then :
54302 am_cv_lib_iconv=yes
54303 am_cv_func_iconv=yes
54305 rm -f core conftest.err conftest.$ac_objext \
54306 conftest$ac_exeext conftest.$ac_ext
54307 CPPFLAGS="$am_save_CPPFLAGS"
54308 LIBS="$am_save_LIBS"
54312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
54313 $as_echo "$am_cv_func_iconv" >&6; }
54314 if test "$am_cv_func_iconv" = yes; then
54316 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
54319 if test "$am_cv_lib_iconv" = yes; then
54321 for element in $INCICONV; do
54322 haveit=
54323 for x in $CPPFLAGS; do
54325 acl_save_prefix="$prefix"
54326 prefix="$acl_final_prefix"
54327 acl_save_exec_prefix="$exec_prefix"
54328 exec_prefix="$acl_final_exec_prefix"
54329 eval x=\"$x\"
54330 exec_prefix="$acl_save_exec_prefix"
54331 prefix="$acl_save_prefix"
54333 if test "X$x" = "X$element"; then
54334 haveit=yes
54335 break
54337 done
54338 if test -z "$haveit"; then
54339 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
54341 done
54343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
54344 $as_echo_n "checking how to link with libiconv... " >&6; }
54345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
54346 $as_echo "$LIBICONV" >&6; }
54347 else
54348 LIBICONV=
54349 LTLIBICONV=
54354 if test "$am_cv_func_iconv" = yes; then
54355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
54356 $as_echo_n "checking for iconv declaration... " >&6; }
54357 if ${am_cv_proto_iconv+:} false; then :
54358 $as_echo_n "(cached) " >&6
54359 else
54361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54362 /* end confdefs.h. */
54364 #include <stdlib.h>
54365 #include <iconv.h>
54366 extern
54367 #ifdef __cplusplus
54369 #endif
54370 #if defined(__STDC__) || defined(__cplusplus)
54371 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
54372 #else
54373 size_t iconv();
54374 #endif
54377 main ()
54381 return 0;
54383 _ACEOF
54384 if ac_fn_c_try_compile "$LINENO"; then :
54385 am_cv_proto_iconv_arg1=""
54386 else
54387 am_cv_proto_iconv_arg1="const"
54389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54390 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);"
54393 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
54394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
54395 }$am_cv_proto_iconv" >&5
54396 $as_echo "${ac_t:-
54397 }$am_cv_proto_iconv" >&6; }
54399 cat >>confdefs.h <<_ACEOF
54400 #define ICONV_CONST $am_cv_proto_iconv_arg1
54401 _ACEOF
54406 *-mingw32*)
54408 # If we're not using GNU ld, then there's no point in even trying these
54409 # tests. Check for that first. We should have already tested for gld
54410 # by now (in libtool), but require it now just to be safe...
54411 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
54412 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
54416 # The name set by libtool depends on the version of libtool. Shame on us
54417 # for depending on an impl detail, but c'est la vie. Older versions used
54418 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
54419 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
54420 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
54421 # set (hence we're using an older libtool), then set it.
54422 if test x${with_gnu_ld+set} != xset; then
54423 if test x${ac_cv_prog_gnu_ld+set} != xset; then
54424 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
54425 with_gnu_ld=no
54426 else
54427 with_gnu_ld=$ac_cv_prog_gnu_ld
54431 # Start by getting the version number. I think the libtool test already
54432 # does some of this, but throws away the result.
54433 glibcxx_ld_is_gold=no
54434 if test x"$with_gnu_ld" = x"yes"; then
54435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
54436 $as_echo_n "checking for ld version... " >&6; }
54438 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
54439 glibcxx_ld_is_gold=yes
54441 ldver=`$LD --version 2>/dev/null |
54442 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
54444 glibcxx_gnu_ld_version=`echo $ldver | \
54445 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
54446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
54447 $as_echo "$glibcxx_gnu_ld_version" >&6; }
54450 # Set --gc-sections.
54451 glibcxx_have_gc_sections=no
54452 if test "$glibcxx_ld_is_gold" = "yes"; then
54453 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
54454 glibcxx_have_gc_sections=yes
54456 else
54457 glibcxx_gcsections_min_ld=21602
54458 if test x"$with_gnu_ld" = x"yes" &&
54459 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
54460 glibcxx_have_gc_sections=yes
54463 if test "$glibcxx_have_gc_sections" = "yes"; then
54464 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
54465 # NB: This flag only works reliably after 2.16.1. Configure tests
54466 # for this are difficult, so hard wire a value that should work.
54468 ac_test_CFLAGS="${CFLAGS+set}"
54469 ac_save_CFLAGS="$CFLAGS"
54470 CFLAGS='-Wl,--gc-sections'
54472 # Check for -Wl,--gc-sections
54473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
54474 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
54475 if test x$gcc_no_link = xyes; then
54476 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54479 /* end confdefs.h. */
54480 int one(void) { return 1; }
54481 int two(void) { return 2; }
54484 main ()
54486 two();
54488 return 0;
54490 _ACEOF
54491 if ac_fn_c_try_link "$LINENO"; then :
54492 ac_gcsections=yes
54493 else
54494 ac_gcsections=no
54496 rm -f core conftest.err conftest.$ac_objext \
54497 conftest$ac_exeext conftest.$ac_ext
54498 if test "$ac_gcsections" = "yes"; then
54499 rm -f conftest.c
54500 touch conftest.c
54501 if $CC -c conftest.c; then
54502 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
54503 grep "Warning: gc-sections option ignored" > /dev/null; then
54504 ac_gcsections=no
54507 rm -f conftest.c conftest.o conftest
54509 if test "$ac_gcsections" = "yes"; then
54510 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
54512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
54513 $as_echo "$ac_gcsections" >&6; }
54515 if test "$ac_test_CFLAGS" = set; then
54516 CFLAGS="$ac_save_CFLAGS"
54517 else
54518 # this is the suspicious part
54519 CFLAGS=''
54523 # Set -z,relro.
54524 # Note this is only for shared objects.
54525 ac_ld_relro=no
54526 if test x"$with_gnu_ld" = x"yes"; then
54527 # cygwin and mingw uses PE, which has no ELF relro support,
54528 # multi target ld may confuse configure machinery
54529 case "$host" in
54530 *-*-cygwin*)
54532 *-*-mingw*)
54535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
54536 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
54537 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
54538 if test -n "$cxx_z_relo"; then
54539 OPT_LDFLAGS="-Wl,-z,relro"
54540 ac_ld_relro=yes
54542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
54543 $as_echo "$ac_ld_relro" >&6; }
54544 esac
54547 # Set linker optimization flags.
54548 if test x"$with_gnu_ld" = x"yes"; then
54549 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
54556 ac_test_CXXFLAGS="${CXXFLAGS+set}"
54557 ac_save_CXXFLAGS="$CXXFLAGS"
54558 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
54560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
54561 $as_echo_n "checking for sin in -lm... " >&6; }
54562 if ${ac_cv_lib_m_sin+:} false; then :
54563 $as_echo_n "(cached) " >&6
54564 else
54565 ac_check_lib_save_LIBS=$LIBS
54566 LIBS="-lm $LIBS"
54567 if test x$gcc_no_link = xyes; then
54568 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54571 /* end confdefs.h. */
54573 /* Override any GCC internal prototype to avoid an error.
54574 Use char because int might match the return type of a GCC
54575 builtin and then its argument prototype would still apply. */
54576 #ifdef __cplusplus
54577 extern "C"
54578 #endif
54579 char sin ();
54581 main ()
54583 return sin ();
54585 return 0;
54587 _ACEOF
54588 if ac_fn_c_try_link "$LINENO"; then :
54589 ac_cv_lib_m_sin=yes
54590 else
54591 ac_cv_lib_m_sin=no
54593 rm -f core conftest.err conftest.$ac_objext \
54594 conftest$ac_exeext conftest.$ac_ext
54595 LIBS=$ac_check_lib_save_LIBS
54597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
54598 $as_echo "$ac_cv_lib_m_sin" >&6; }
54599 if test "x$ac_cv_lib_m_sin" = xyes; then :
54600 libm="-lm"
54603 ac_save_LIBS="$LIBS"
54604 LIBS="$LIBS $libm"
54608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
54609 $as_echo_n "checking for isinf declaration... " >&6; }
54610 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
54611 if ${glibcxx_cv_func_isinf_use+:} false; then :
54612 $as_echo_n "(cached) " >&6
54613 else
54616 ac_ext=cpp
54617 ac_cpp='$CXXCPP $CPPFLAGS'
54618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54623 /* end confdefs.h. */
54624 #include <math.h>
54625 #ifdef HAVE_IEEEFP_H
54626 #include <ieeefp.h>
54627 #endif
54630 main ()
54632 isinf(0);
54634 return 0;
54636 _ACEOF
54637 if ac_fn_cxx_try_compile "$LINENO"; then :
54638 glibcxx_cv_func_isinf_use=yes
54639 else
54640 glibcxx_cv_func_isinf_use=no
54642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54643 ac_ext=c
54644 ac_cpp='$CPP $CPPFLAGS'
54645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
54654 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
54656 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
54657 for ac_func in isinf
54658 do :
54659 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
54660 if test "x$ac_cv_func_isinf" = xyes; then :
54661 cat >>confdefs.h <<_ACEOF
54662 #define HAVE_ISINF 1
54663 _ACEOF
54666 done
54668 else
54670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
54671 $as_echo_n "checking for _isinf declaration... " >&6; }
54672 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
54673 if ${glibcxx_cv_func__isinf_use+:} false; then :
54674 $as_echo_n "(cached) " >&6
54675 else
54678 ac_ext=cpp
54679 ac_cpp='$CXXCPP $CPPFLAGS'
54680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54685 /* end confdefs.h. */
54686 #include <math.h>
54687 #ifdef HAVE_IEEEFP_H
54688 #include <ieeefp.h>
54689 #endif
54692 main ()
54694 _isinf(0);
54696 return 0;
54698 _ACEOF
54699 if ac_fn_cxx_try_compile "$LINENO"; then :
54700 glibcxx_cv_func__isinf_use=yes
54701 else
54702 glibcxx_cv_func__isinf_use=no
54704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54705 ac_ext=c
54706 ac_cpp='$CPP $CPPFLAGS'
54707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
54716 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
54718 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
54719 for ac_func in _isinf
54720 do :
54721 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
54722 if test "x$ac_cv_func__isinf" = xyes; then :
54723 cat >>confdefs.h <<_ACEOF
54724 #define HAVE__ISINF 1
54725 _ACEOF
54728 done
54737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
54738 $as_echo_n "checking for isnan declaration... " >&6; }
54739 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
54740 if ${glibcxx_cv_func_isnan_use+:} false; then :
54741 $as_echo_n "(cached) " >&6
54742 else
54745 ac_ext=cpp
54746 ac_cpp='$CXXCPP $CPPFLAGS'
54747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54752 /* end confdefs.h. */
54753 #include <math.h>
54754 #ifdef HAVE_IEEEFP_H
54755 #include <ieeefp.h>
54756 #endif
54759 main ()
54761 isnan(0);
54763 return 0;
54765 _ACEOF
54766 if ac_fn_cxx_try_compile "$LINENO"; then :
54767 glibcxx_cv_func_isnan_use=yes
54768 else
54769 glibcxx_cv_func_isnan_use=no
54771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54772 ac_ext=c
54773 ac_cpp='$CPP $CPPFLAGS'
54774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
54783 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
54785 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
54786 for ac_func in isnan
54787 do :
54788 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
54789 if test "x$ac_cv_func_isnan" = xyes; then :
54790 cat >>confdefs.h <<_ACEOF
54791 #define HAVE_ISNAN 1
54792 _ACEOF
54795 done
54797 else
54799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
54800 $as_echo_n "checking for _isnan declaration... " >&6; }
54801 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
54802 if ${glibcxx_cv_func__isnan_use+:} false; then :
54803 $as_echo_n "(cached) " >&6
54804 else
54807 ac_ext=cpp
54808 ac_cpp='$CXXCPP $CPPFLAGS'
54809 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54810 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54811 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54814 /* end confdefs.h. */
54815 #include <math.h>
54816 #ifdef HAVE_IEEEFP_H
54817 #include <ieeefp.h>
54818 #endif
54821 main ()
54823 _isnan(0);
54825 return 0;
54827 _ACEOF
54828 if ac_fn_cxx_try_compile "$LINENO"; then :
54829 glibcxx_cv_func__isnan_use=yes
54830 else
54831 glibcxx_cv_func__isnan_use=no
54833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54834 ac_ext=c
54835 ac_cpp='$CPP $CPPFLAGS'
54836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
54845 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
54847 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
54848 for ac_func in _isnan
54849 do :
54850 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
54851 if test "x$ac_cv_func__isnan" = xyes; then :
54852 cat >>confdefs.h <<_ACEOF
54853 #define HAVE__ISNAN 1
54854 _ACEOF
54857 done
54866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
54867 $as_echo_n "checking for finite declaration... " >&6; }
54868 if test x${glibcxx_cv_func_finite_use+set} != xset; then
54869 if ${glibcxx_cv_func_finite_use+:} false; then :
54870 $as_echo_n "(cached) " >&6
54871 else
54874 ac_ext=cpp
54875 ac_cpp='$CXXCPP $CPPFLAGS'
54876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54881 /* end confdefs.h. */
54882 #include <math.h>
54883 #ifdef HAVE_IEEEFP_H
54884 #include <ieeefp.h>
54885 #endif
54888 main ()
54890 finite(0);
54892 return 0;
54894 _ACEOF
54895 if ac_fn_cxx_try_compile "$LINENO"; then :
54896 glibcxx_cv_func_finite_use=yes
54897 else
54898 glibcxx_cv_func_finite_use=no
54900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54901 ac_ext=c
54902 ac_cpp='$CPP $CPPFLAGS'
54903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
54912 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
54914 if test x$glibcxx_cv_func_finite_use = x"yes"; then
54915 for ac_func in finite
54916 do :
54917 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
54918 if test "x$ac_cv_func_finite" = xyes; then :
54919 cat >>confdefs.h <<_ACEOF
54920 #define HAVE_FINITE 1
54921 _ACEOF
54924 done
54926 else
54928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
54929 $as_echo_n "checking for _finite declaration... " >&6; }
54930 if test x${glibcxx_cv_func__finite_use+set} != xset; then
54931 if ${glibcxx_cv_func__finite_use+:} false; then :
54932 $as_echo_n "(cached) " >&6
54933 else
54936 ac_ext=cpp
54937 ac_cpp='$CXXCPP $CPPFLAGS'
54938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54943 /* end confdefs.h. */
54944 #include <math.h>
54945 #ifdef HAVE_IEEEFP_H
54946 #include <ieeefp.h>
54947 #endif
54950 main ()
54952 _finite(0);
54954 return 0;
54956 _ACEOF
54957 if ac_fn_cxx_try_compile "$LINENO"; then :
54958 glibcxx_cv_func__finite_use=yes
54959 else
54960 glibcxx_cv_func__finite_use=no
54962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54963 ac_ext=c
54964 ac_cpp='$CPP $CPPFLAGS'
54965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
54974 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
54976 if test x$glibcxx_cv_func__finite_use = x"yes"; then
54977 for ac_func in _finite
54978 do :
54979 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
54980 if test "x$ac_cv_func__finite" = xyes; then :
54981 cat >>confdefs.h <<_ACEOF
54982 #define HAVE__FINITE 1
54983 _ACEOF
54986 done
54995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
54996 $as_echo_n "checking for sincos declaration... " >&6; }
54997 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
54998 if ${glibcxx_cv_func_sincos_use+:} false; then :
54999 $as_echo_n "(cached) " >&6
55000 else
55003 ac_ext=cpp
55004 ac_cpp='$CXXCPP $CPPFLAGS'
55005 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55006 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55007 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55010 /* end confdefs.h. */
55011 #include <math.h>
55013 main ()
55015 sincos(0, 0, 0);
55017 return 0;
55019 _ACEOF
55020 if ac_fn_cxx_try_compile "$LINENO"; then :
55021 glibcxx_cv_func_sincos_use=yes
55022 else
55023 glibcxx_cv_func_sincos_use=no
55025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55026 ac_ext=c
55027 ac_cpp='$CPP $CPPFLAGS'
55028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
55037 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
55039 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
55040 for ac_func in sincos
55041 do :
55042 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
55043 if test "x$ac_cv_func_sincos" = xyes; then :
55044 cat >>confdefs.h <<_ACEOF
55045 #define HAVE_SINCOS 1
55046 _ACEOF
55049 done
55051 else
55053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
55054 $as_echo_n "checking for _sincos declaration... " >&6; }
55055 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
55056 if ${glibcxx_cv_func__sincos_use+:} false; then :
55057 $as_echo_n "(cached) " >&6
55058 else
55061 ac_ext=cpp
55062 ac_cpp='$CXXCPP $CPPFLAGS'
55063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55068 /* end confdefs.h. */
55069 #include <math.h>
55071 main ()
55073 _sincos(0, 0, 0);
55075 return 0;
55077 _ACEOF
55078 if ac_fn_cxx_try_compile "$LINENO"; then :
55079 glibcxx_cv_func__sincos_use=yes
55080 else
55081 glibcxx_cv_func__sincos_use=no
55083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55084 ac_ext=c
55085 ac_cpp='$CPP $CPPFLAGS'
55086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
55095 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
55097 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
55098 for ac_func in _sincos
55099 do :
55100 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
55101 if test "x$ac_cv_func__sincos" = xyes; then :
55102 cat >>confdefs.h <<_ACEOF
55103 #define HAVE__SINCOS 1
55104 _ACEOF
55107 done
55116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
55117 $as_echo_n "checking for fpclass declaration... " >&6; }
55118 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
55119 if ${glibcxx_cv_func_fpclass_use+:} false; then :
55120 $as_echo_n "(cached) " >&6
55121 else
55124 ac_ext=cpp
55125 ac_cpp='$CXXCPP $CPPFLAGS'
55126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55131 /* end confdefs.h. */
55132 #include <math.h>
55133 #ifdef HAVE_IEEEFP_H
55134 #include <ieeefp.h>
55135 #endif
55138 main ()
55140 fpclass(0);
55142 return 0;
55144 _ACEOF
55145 if ac_fn_cxx_try_compile "$LINENO"; then :
55146 glibcxx_cv_func_fpclass_use=yes
55147 else
55148 glibcxx_cv_func_fpclass_use=no
55150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55151 ac_ext=c
55152 ac_cpp='$CPP $CPPFLAGS'
55153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
55162 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
55164 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
55165 for ac_func in fpclass
55166 do :
55167 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
55168 if test "x$ac_cv_func_fpclass" = xyes; then :
55169 cat >>confdefs.h <<_ACEOF
55170 #define HAVE_FPCLASS 1
55171 _ACEOF
55174 done
55176 else
55178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
55179 $as_echo_n "checking for _fpclass declaration... " >&6; }
55180 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
55181 if ${glibcxx_cv_func__fpclass_use+:} false; then :
55182 $as_echo_n "(cached) " >&6
55183 else
55186 ac_ext=cpp
55187 ac_cpp='$CXXCPP $CPPFLAGS'
55188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55193 /* end confdefs.h. */
55194 #include <math.h>
55195 #ifdef HAVE_IEEEFP_H
55196 #include <ieeefp.h>
55197 #endif
55200 main ()
55202 _fpclass(0);
55204 return 0;
55206 _ACEOF
55207 if ac_fn_cxx_try_compile "$LINENO"; then :
55208 glibcxx_cv_func__fpclass_use=yes
55209 else
55210 glibcxx_cv_func__fpclass_use=no
55212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55213 ac_ext=c
55214 ac_cpp='$CPP $CPPFLAGS'
55215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
55224 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
55226 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
55227 for ac_func in _fpclass
55228 do :
55229 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
55230 if test "x$ac_cv_func__fpclass" = xyes; then :
55231 cat >>confdefs.h <<_ACEOF
55232 #define HAVE__FPCLASS 1
55233 _ACEOF
55236 done
55245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
55246 $as_echo_n "checking for qfpclass declaration... " >&6; }
55247 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
55248 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
55249 $as_echo_n "(cached) " >&6
55250 else
55253 ac_ext=cpp
55254 ac_cpp='$CXXCPP $CPPFLAGS'
55255 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55256 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55257 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55260 /* end confdefs.h. */
55261 #include <math.h>
55262 #ifdef HAVE_IEEEFP_H
55263 #include <ieeefp.h>
55264 #endif
55267 main ()
55269 qfpclass(0);
55271 return 0;
55273 _ACEOF
55274 if ac_fn_cxx_try_compile "$LINENO"; then :
55275 glibcxx_cv_func_qfpclass_use=yes
55276 else
55277 glibcxx_cv_func_qfpclass_use=no
55279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55280 ac_ext=c
55281 ac_cpp='$CPP $CPPFLAGS'
55282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
55291 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
55293 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
55294 for ac_func in qfpclass
55295 do :
55296 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
55297 if test "x$ac_cv_func_qfpclass" = xyes; then :
55298 cat >>confdefs.h <<_ACEOF
55299 #define HAVE_QFPCLASS 1
55300 _ACEOF
55303 done
55305 else
55307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
55308 $as_echo_n "checking for _qfpclass declaration... " >&6; }
55309 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
55310 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
55311 $as_echo_n "(cached) " >&6
55312 else
55315 ac_ext=cpp
55316 ac_cpp='$CXXCPP $CPPFLAGS'
55317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55322 /* end confdefs.h. */
55323 #include <math.h>
55324 #ifdef HAVE_IEEEFP_H
55325 #include <ieeefp.h>
55326 #endif
55329 main ()
55331 _qfpclass(0);
55333 return 0;
55335 _ACEOF
55336 if ac_fn_cxx_try_compile "$LINENO"; then :
55337 glibcxx_cv_func__qfpclass_use=yes
55338 else
55339 glibcxx_cv_func__qfpclass_use=no
55341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55342 ac_ext=c
55343 ac_cpp='$CPP $CPPFLAGS'
55344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
55353 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
55355 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
55356 for ac_func in _qfpclass
55357 do :
55358 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
55359 if test "x$ac_cv_func__qfpclass" = xyes; then :
55360 cat >>confdefs.h <<_ACEOF
55361 #define HAVE__QFPCLASS 1
55362 _ACEOF
55365 done
55374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
55375 $as_echo_n "checking for hypot declaration... " >&6; }
55376 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
55377 if ${glibcxx_cv_func_hypot_use+:} false; then :
55378 $as_echo_n "(cached) " >&6
55379 else
55382 ac_ext=cpp
55383 ac_cpp='$CXXCPP $CPPFLAGS'
55384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55389 /* end confdefs.h. */
55390 #include <math.h>
55392 main ()
55394 hypot(0, 0);
55396 return 0;
55398 _ACEOF
55399 if ac_fn_cxx_try_compile "$LINENO"; then :
55400 glibcxx_cv_func_hypot_use=yes
55401 else
55402 glibcxx_cv_func_hypot_use=no
55404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55405 ac_ext=c
55406 ac_cpp='$CPP $CPPFLAGS'
55407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
55416 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
55418 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
55419 for ac_func in hypot
55420 do :
55421 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
55422 if test "x$ac_cv_func_hypot" = xyes; then :
55423 cat >>confdefs.h <<_ACEOF
55424 #define HAVE_HYPOT 1
55425 _ACEOF
55428 done
55430 else
55432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
55433 $as_echo_n "checking for _hypot declaration... " >&6; }
55434 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
55435 if ${glibcxx_cv_func__hypot_use+:} false; then :
55436 $as_echo_n "(cached) " >&6
55437 else
55440 ac_ext=cpp
55441 ac_cpp='$CXXCPP $CPPFLAGS'
55442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55447 /* end confdefs.h. */
55448 #include <math.h>
55450 main ()
55452 _hypot(0, 0);
55454 return 0;
55456 _ACEOF
55457 if ac_fn_cxx_try_compile "$LINENO"; then :
55458 glibcxx_cv_func__hypot_use=yes
55459 else
55460 glibcxx_cv_func__hypot_use=no
55462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55463 ac_ext=c
55464 ac_cpp='$CPP $CPPFLAGS'
55465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
55474 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
55476 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
55477 for ac_func in _hypot
55478 do :
55479 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
55480 if test "x$ac_cv_func__hypot" = xyes; then :
55481 cat >>confdefs.h <<_ACEOF
55482 #define HAVE__HYPOT 1
55483 _ACEOF
55486 done
55495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
55496 $as_echo_n "checking for float trig functions... " >&6; }
55497 if ${glibcxx_cv_func_float_trig_use+:} false; then :
55498 $as_echo_n "(cached) " >&6
55499 else
55502 ac_ext=cpp
55503 ac_cpp='$CXXCPP $CPPFLAGS'
55504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55509 /* end confdefs.h. */
55510 #include <math.h>
55512 main ()
55514 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
55516 return 0;
55518 _ACEOF
55519 if ac_fn_cxx_try_compile "$LINENO"; then :
55520 glibcxx_cv_func_float_trig_use=yes
55521 else
55522 glibcxx_cv_func_float_trig_use=no
55524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55525 ac_ext=c
55526 ac_cpp='$CPP $CPPFLAGS'
55527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
55534 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
55535 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
55536 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
55537 do :
55538 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55539 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55540 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
55541 cat >>confdefs.h <<_ACEOF
55542 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55543 _ACEOF
55546 done
55548 else
55549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
55550 $as_echo_n "checking for _float trig functions... " >&6; }
55551 if ${glibcxx_cv_func__float_trig_use+:} false; then :
55552 $as_echo_n "(cached) " >&6
55553 else
55556 ac_ext=cpp
55557 ac_cpp='$CXXCPP $CPPFLAGS'
55558 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55559 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55560 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55563 /* end confdefs.h. */
55564 #include <math.h>
55566 main ()
55568 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
55570 return 0;
55572 _ACEOF
55573 if ac_fn_cxx_try_compile "$LINENO"; then :
55574 glibcxx_cv_func__float_trig_use=yes
55575 else
55576 glibcxx_cv_func__float_trig_use=no
55578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55579 ac_ext=c
55580 ac_cpp='$CPP $CPPFLAGS'
55581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
55588 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
55589 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
55590 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
55591 do :
55592 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55593 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55594 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
55595 cat >>confdefs.h <<_ACEOF
55596 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55597 _ACEOF
55600 done
55609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
55610 $as_echo_n "checking for float round functions... " >&6; }
55611 if ${glibcxx_cv_func_float_round_use+:} false; then :
55612 $as_echo_n "(cached) " >&6
55613 else
55616 ac_ext=cpp
55617 ac_cpp='$CXXCPP $CPPFLAGS'
55618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55623 /* end confdefs.h. */
55624 #include <math.h>
55626 main ()
55628 ceilf (0); floorf (0);
55630 return 0;
55632 _ACEOF
55633 if ac_fn_cxx_try_compile "$LINENO"; then :
55634 glibcxx_cv_func_float_round_use=yes
55635 else
55636 glibcxx_cv_func_float_round_use=no
55638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55639 ac_ext=c
55640 ac_cpp='$CPP $CPPFLAGS'
55641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
55648 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
55649 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
55650 for ac_func in ceilf floorf
55651 do :
55652 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55653 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55654 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
55655 cat >>confdefs.h <<_ACEOF
55656 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55657 _ACEOF
55660 done
55662 else
55663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
55664 $as_echo_n "checking for _float round functions... " >&6; }
55665 if ${glibcxx_cv_func__float_round_use+:} false; then :
55666 $as_echo_n "(cached) " >&6
55667 else
55670 ac_ext=cpp
55671 ac_cpp='$CXXCPP $CPPFLAGS'
55672 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55673 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55674 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55677 /* end confdefs.h. */
55678 #include <math.h>
55680 main ()
55682 _ceilf (0); _floorf (0);
55684 return 0;
55686 _ACEOF
55687 if ac_fn_cxx_try_compile "$LINENO"; then :
55688 glibcxx_cv_func__float_round_use=yes
55689 else
55690 glibcxx_cv_func__float_round_use=no
55692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55693 ac_ext=c
55694 ac_cpp='$CPP $CPPFLAGS'
55695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
55702 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
55703 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
55704 for ac_func in _ceilf _floorf
55705 do :
55706 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55707 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55708 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
55709 cat >>confdefs.h <<_ACEOF
55710 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55711 _ACEOF
55714 done
55724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
55725 $as_echo_n "checking for expf declaration... " >&6; }
55726 if test x${glibcxx_cv_func_expf_use+set} != xset; then
55727 if ${glibcxx_cv_func_expf_use+:} false; then :
55728 $as_echo_n "(cached) " >&6
55729 else
55732 ac_ext=cpp
55733 ac_cpp='$CXXCPP $CPPFLAGS'
55734 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55735 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55736 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55739 /* end confdefs.h. */
55740 #include <math.h>
55741 #ifdef HAVE_IEEEFP_H
55742 #include <ieeefp.h>
55743 #endif
55746 main ()
55748 expf(0);
55750 return 0;
55752 _ACEOF
55753 if ac_fn_cxx_try_compile "$LINENO"; then :
55754 glibcxx_cv_func_expf_use=yes
55755 else
55756 glibcxx_cv_func_expf_use=no
55758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55759 ac_ext=c
55760 ac_cpp='$CPP $CPPFLAGS'
55761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
55770 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
55772 if test x$glibcxx_cv_func_expf_use = x"yes"; then
55773 for ac_func in expf
55774 do :
55775 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
55776 if test "x$ac_cv_func_expf" = xyes; then :
55777 cat >>confdefs.h <<_ACEOF
55778 #define HAVE_EXPF 1
55779 _ACEOF
55782 done
55784 else
55786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
55787 $as_echo_n "checking for _expf declaration... " >&6; }
55788 if test x${glibcxx_cv_func__expf_use+set} != xset; then
55789 if ${glibcxx_cv_func__expf_use+:} false; then :
55790 $as_echo_n "(cached) " >&6
55791 else
55794 ac_ext=cpp
55795 ac_cpp='$CXXCPP $CPPFLAGS'
55796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55801 /* end confdefs.h. */
55802 #include <math.h>
55803 #ifdef HAVE_IEEEFP_H
55804 #include <ieeefp.h>
55805 #endif
55808 main ()
55810 _expf(0);
55812 return 0;
55814 _ACEOF
55815 if ac_fn_cxx_try_compile "$LINENO"; then :
55816 glibcxx_cv_func__expf_use=yes
55817 else
55818 glibcxx_cv_func__expf_use=no
55820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55821 ac_ext=c
55822 ac_cpp='$CPP $CPPFLAGS'
55823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
55832 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
55834 if test x$glibcxx_cv_func__expf_use = x"yes"; then
55835 for ac_func in _expf
55836 do :
55837 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
55838 if test "x$ac_cv_func__expf" = xyes; then :
55839 cat >>confdefs.h <<_ACEOF
55840 #define HAVE__EXPF 1
55841 _ACEOF
55844 done
55853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
55854 $as_echo_n "checking for isnanf declaration... " >&6; }
55855 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
55856 if ${glibcxx_cv_func_isnanf_use+:} false; then :
55857 $as_echo_n "(cached) " >&6
55858 else
55861 ac_ext=cpp
55862 ac_cpp='$CXXCPP $CPPFLAGS'
55863 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55864 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55865 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55868 /* end confdefs.h. */
55869 #include <math.h>
55870 #ifdef HAVE_IEEEFP_H
55871 #include <ieeefp.h>
55872 #endif
55875 main ()
55877 isnanf(0);
55879 return 0;
55881 _ACEOF
55882 if ac_fn_cxx_try_compile "$LINENO"; then :
55883 glibcxx_cv_func_isnanf_use=yes
55884 else
55885 glibcxx_cv_func_isnanf_use=no
55887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55888 ac_ext=c
55889 ac_cpp='$CPP $CPPFLAGS'
55890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
55899 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
55901 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
55902 for ac_func in isnanf
55903 do :
55904 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
55905 if test "x$ac_cv_func_isnanf" = xyes; then :
55906 cat >>confdefs.h <<_ACEOF
55907 #define HAVE_ISNANF 1
55908 _ACEOF
55911 done
55913 else
55915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
55916 $as_echo_n "checking for _isnanf declaration... " >&6; }
55917 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
55918 if ${glibcxx_cv_func__isnanf_use+:} false; then :
55919 $as_echo_n "(cached) " >&6
55920 else
55923 ac_ext=cpp
55924 ac_cpp='$CXXCPP $CPPFLAGS'
55925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55930 /* end confdefs.h. */
55931 #include <math.h>
55932 #ifdef HAVE_IEEEFP_H
55933 #include <ieeefp.h>
55934 #endif
55937 main ()
55939 _isnanf(0);
55941 return 0;
55943 _ACEOF
55944 if ac_fn_cxx_try_compile "$LINENO"; then :
55945 glibcxx_cv_func__isnanf_use=yes
55946 else
55947 glibcxx_cv_func__isnanf_use=no
55949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55950 ac_ext=c
55951 ac_cpp='$CPP $CPPFLAGS'
55952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
55961 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
55963 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
55964 for ac_func in _isnanf
55965 do :
55966 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
55967 if test "x$ac_cv_func__isnanf" = xyes; then :
55968 cat >>confdefs.h <<_ACEOF
55969 #define HAVE__ISNANF 1
55970 _ACEOF
55973 done
55982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
55983 $as_echo_n "checking for isinff declaration... " >&6; }
55984 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
55985 if ${glibcxx_cv_func_isinff_use+:} false; then :
55986 $as_echo_n "(cached) " >&6
55987 else
55990 ac_ext=cpp
55991 ac_cpp='$CXXCPP $CPPFLAGS'
55992 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55993 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55994 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55997 /* end confdefs.h. */
55998 #include <math.h>
55999 #ifdef HAVE_IEEEFP_H
56000 #include <ieeefp.h>
56001 #endif
56004 main ()
56006 isinff(0);
56008 return 0;
56010 _ACEOF
56011 if ac_fn_cxx_try_compile "$LINENO"; then :
56012 glibcxx_cv_func_isinff_use=yes
56013 else
56014 glibcxx_cv_func_isinff_use=no
56016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56017 ac_ext=c
56018 ac_cpp='$CPP $CPPFLAGS'
56019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
56028 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
56030 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
56031 for ac_func in isinff
56032 do :
56033 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
56034 if test "x$ac_cv_func_isinff" = xyes; then :
56035 cat >>confdefs.h <<_ACEOF
56036 #define HAVE_ISINFF 1
56037 _ACEOF
56040 done
56042 else
56044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
56045 $as_echo_n "checking for _isinff declaration... " >&6; }
56046 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
56047 if ${glibcxx_cv_func__isinff_use+:} false; then :
56048 $as_echo_n "(cached) " >&6
56049 else
56052 ac_ext=cpp
56053 ac_cpp='$CXXCPP $CPPFLAGS'
56054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56059 /* end confdefs.h. */
56060 #include <math.h>
56061 #ifdef HAVE_IEEEFP_H
56062 #include <ieeefp.h>
56063 #endif
56066 main ()
56068 _isinff(0);
56070 return 0;
56072 _ACEOF
56073 if ac_fn_cxx_try_compile "$LINENO"; then :
56074 glibcxx_cv_func__isinff_use=yes
56075 else
56076 glibcxx_cv_func__isinff_use=no
56078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56079 ac_ext=c
56080 ac_cpp='$CPP $CPPFLAGS'
56081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
56090 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
56092 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
56093 for ac_func in _isinff
56094 do :
56095 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
56096 if test "x$ac_cv_func__isinff" = xyes; then :
56097 cat >>confdefs.h <<_ACEOF
56098 #define HAVE__ISINFF 1
56099 _ACEOF
56102 done
56111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
56112 $as_echo_n "checking for atan2f declaration... " >&6; }
56113 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
56114 if ${glibcxx_cv_func_atan2f_use+:} false; then :
56115 $as_echo_n "(cached) " >&6
56116 else
56119 ac_ext=cpp
56120 ac_cpp='$CXXCPP $CPPFLAGS'
56121 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56122 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56123 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56126 /* end confdefs.h. */
56127 #include <math.h>
56129 main ()
56131 atan2f(0, 0);
56133 return 0;
56135 _ACEOF
56136 if ac_fn_cxx_try_compile "$LINENO"; then :
56137 glibcxx_cv_func_atan2f_use=yes
56138 else
56139 glibcxx_cv_func_atan2f_use=no
56141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56142 ac_ext=c
56143 ac_cpp='$CPP $CPPFLAGS'
56144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
56153 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
56155 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
56156 for ac_func in atan2f
56157 do :
56158 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
56159 if test "x$ac_cv_func_atan2f" = xyes; then :
56160 cat >>confdefs.h <<_ACEOF
56161 #define HAVE_ATAN2F 1
56162 _ACEOF
56165 done
56167 else
56169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
56170 $as_echo_n "checking for _atan2f declaration... " >&6; }
56171 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
56172 if ${glibcxx_cv_func__atan2f_use+:} false; then :
56173 $as_echo_n "(cached) " >&6
56174 else
56177 ac_ext=cpp
56178 ac_cpp='$CXXCPP $CPPFLAGS'
56179 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56180 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56181 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56184 /* end confdefs.h. */
56185 #include <math.h>
56187 main ()
56189 _atan2f(0, 0);
56191 return 0;
56193 _ACEOF
56194 if ac_fn_cxx_try_compile "$LINENO"; then :
56195 glibcxx_cv_func__atan2f_use=yes
56196 else
56197 glibcxx_cv_func__atan2f_use=no
56199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56200 ac_ext=c
56201 ac_cpp='$CPP $CPPFLAGS'
56202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
56211 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
56213 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
56214 for ac_func in _atan2f
56215 do :
56216 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
56217 if test "x$ac_cv_func__atan2f" = xyes; then :
56218 cat >>confdefs.h <<_ACEOF
56219 #define HAVE__ATAN2F 1
56220 _ACEOF
56223 done
56232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
56233 $as_echo_n "checking for fabsf declaration... " >&6; }
56234 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
56235 if ${glibcxx_cv_func_fabsf_use+:} false; then :
56236 $as_echo_n "(cached) " >&6
56237 else
56240 ac_ext=cpp
56241 ac_cpp='$CXXCPP $CPPFLAGS'
56242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56247 /* end confdefs.h. */
56248 #include <math.h>
56249 #ifdef HAVE_IEEEFP_H
56250 #include <ieeefp.h>
56251 #endif
56254 main ()
56256 fabsf(0);
56258 return 0;
56260 _ACEOF
56261 if ac_fn_cxx_try_compile "$LINENO"; then :
56262 glibcxx_cv_func_fabsf_use=yes
56263 else
56264 glibcxx_cv_func_fabsf_use=no
56266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56267 ac_ext=c
56268 ac_cpp='$CPP $CPPFLAGS'
56269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
56278 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
56280 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
56281 for ac_func in fabsf
56282 do :
56283 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
56284 if test "x$ac_cv_func_fabsf" = xyes; then :
56285 cat >>confdefs.h <<_ACEOF
56286 #define HAVE_FABSF 1
56287 _ACEOF
56290 done
56292 else
56294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
56295 $as_echo_n "checking for _fabsf declaration... " >&6; }
56296 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
56297 if ${glibcxx_cv_func__fabsf_use+:} false; then :
56298 $as_echo_n "(cached) " >&6
56299 else
56302 ac_ext=cpp
56303 ac_cpp='$CXXCPP $CPPFLAGS'
56304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56309 /* end confdefs.h. */
56310 #include <math.h>
56311 #ifdef HAVE_IEEEFP_H
56312 #include <ieeefp.h>
56313 #endif
56316 main ()
56318 _fabsf(0);
56320 return 0;
56322 _ACEOF
56323 if ac_fn_cxx_try_compile "$LINENO"; then :
56324 glibcxx_cv_func__fabsf_use=yes
56325 else
56326 glibcxx_cv_func__fabsf_use=no
56328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56329 ac_ext=c
56330 ac_cpp='$CPP $CPPFLAGS'
56331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
56340 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
56342 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
56343 for ac_func in _fabsf
56344 do :
56345 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
56346 if test "x$ac_cv_func__fabsf" = xyes; then :
56347 cat >>confdefs.h <<_ACEOF
56348 #define HAVE__FABSF 1
56349 _ACEOF
56352 done
56361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
56362 $as_echo_n "checking for fmodf declaration... " >&6; }
56363 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
56364 if ${glibcxx_cv_func_fmodf_use+:} false; then :
56365 $as_echo_n "(cached) " >&6
56366 else
56369 ac_ext=cpp
56370 ac_cpp='$CXXCPP $CPPFLAGS'
56371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56376 /* end confdefs.h. */
56377 #include <math.h>
56379 main ()
56381 fmodf(0, 0);
56383 return 0;
56385 _ACEOF
56386 if ac_fn_cxx_try_compile "$LINENO"; then :
56387 glibcxx_cv_func_fmodf_use=yes
56388 else
56389 glibcxx_cv_func_fmodf_use=no
56391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56392 ac_ext=c
56393 ac_cpp='$CPP $CPPFLAGS'
56394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
56403 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
56405 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
56406 for ac_func in fmodf
56407 do :
56408 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
56409 if test "x$ac_cv_func_fmodf" = xyes; then :
56410 cat >>confdefs.h <<_ACEOF
56411 #define HAVE_FMODF 1
56412 _ACEOF
56415 done
56417 else
56419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
56420 $as_echo_n "checking for _fmodf declaration... " >&6; }
56421 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
56422 if ${glibcxx_cv_func__fmodf_use+:} false; then :
56423 $as_echo_n "(cached) " >&6
56424 else
56427 ac_ext=cpp
56428 ac_cpp='$CXXCPP $CPPFLAGS'
56429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56434 /* end confdefs.h. */
56435 #include <math.h>
56437 main ()
56439 _fmodf(0, 0);
56441 return 0;
56443 _ACEOF
56444 if ac_fn_cxx_try_compile "$LINENO"; then :
56445 glibcxx_cv_func__fmodf_use=yes
56446 else
56447 glibcxx_cv_func__fmodf_use=no
56449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56450 ac_ext=c
56451 ac_cpp='$CPP $CPPFLAGS'
56452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
56461 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
56463 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
56464 for ac_func in _fmodf
56465 do :
56466 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
56467 if test "x$ac_cv_func__fmodf" = xyes; then :
56468 cat >>confdefs.h <<_ACEOF
56469 #define HAVE__FMODF 1
56470 _ACEOF
56473 done
56482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
56483 $as_echo_n "checking for frexpf declaration... " >&6; }
56484 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
56485 if ${glibcxx_cv_func_frexpf_use+:} false; then :
56486 $as_echo_n "(cached) " >&6
56487 else
56490 ac_ext=cpp
56491 ac_cpp='$CXXCPP $CPPFLAGS'
56492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56497 /* end confdefs.h. */
56498 #include <math.h>
56500 main ()
56502 frexpf(0, 0);
56504 return 0;
56506 _ACEOF
56507 if ac_fn_cxx_try_compile "$LINENO"; then :
56508 glibcxx_cv_func_frexpf_use=yes
56509 else
56510 glibcxx_cv_func_frexpf_use=no
56512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56513 ac_ext=c
56514 ac_cpp='$CPP $CPPFLAGS'
56515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
56524 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
56526 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
56527 for ac_func in frexpf
56528 do :
56529 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
56530 if test "x$ac_cv_func_frexpf" = xyes; then :
56531 cat >>confdefs.h <<_ACEOF
56532 #define HAVE_FREXPF 1
56533 _ACEOF
56536 done
56538 else
56540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
56541 $as_echo_n "checking for _frexpf declaration... " >&6; }
56542 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
56543 if ${glibcxx_cv_func__frexpf_use+:} false; then :
56544 $as_echo_n "(cached) " >&6
56545 else
56548 ac_ext=cpp
56549 ac_cpp='$CXXCPP $CPPFLAGS'
56550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56555 /* end confdefs.h. */
56556 #include <math.h>
56558 main ()
56560 _frexpf(0, 0);
56562 return 0;
56564 _ACEOF
56565 if ac_fn_cxx_try_compile "$LINENO"; then :
56566 glibcxx_cv_func__frexpf_use=yes
56567 else
56568 glibcxx_cv_func__frexpf_use=no
56570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56571 ac_ext=c
56572 ac_cpp='$CPP $CPPFLAGS'
56573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
56582 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
56584 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
56585 for ac_func in _frexpf
56586 do :
56587 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
56588 if test "x$ac_cv_func__frexpf" = xyes; then :
56589 cat >>confdefs.h <<_ACEOF
56590 #define HAVE__FREXPF 1
56591 _ACEOF
56594 done
56603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
56604 $as_echo_n "checking for hypotf declaration... " >&6; }
56605 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
56606 if ${glibcxx_cv_func_hypotf_use+:} false; then :
56607 $as_echo_n "(cached) " >&6
56608 else
56611 ac_ext=cpp
56612 ac_cpp='$CXXCPP $CPPFLAGS'
56613 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56614 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56615 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56618 /* end confdefs.h. */
56619 #include <math.h>
56621 main ()
56623 hypotf(0, 0);
56625 return 0;
56627 _ACEOF
56628 if ac_fn_cxx_try_compile "$LINENO"; then :
56629 glibcxx_cv_func_hypotf_use=yes
56630 else
56631 glibcxx_cv_func_hypotf_use=no
56633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56634 ac_ext=c
56635 ac_cpp='$CPP $CPPFLAGS'
56636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
56645 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
56647 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
56648 for ac_func in hypotf
56649 do :
56650 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
56651 if test "x$ac_cv_func_hypotf" = xyes; then :
56652 cat >>confdefs.h <<_ACEOF
56653 #define HAVE_HYPOTF 1
56654 _ACEOF
56657 done
56659 else
56661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
56662 $as_echo_n "checking for _hypotf declaration... " >&6; }
56663 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
56664 if ${glibcxx_cv_func__hypotf_use+:} false; then :
56665 $as_echo_n "(cached) " >&6
56666 else
56669 ac_ext=cpp
56670 ac_cpp='$CXXCPP $CPPFLAGS'
56671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56676 /* end confdefs.h. */
56677 #include <math.h>
56679 main ()
56681 _hypotf(0, 0);
56683 return 0;
56685 _ACEOF
56686 if ac_fn_cxx_try_compile "$LINENO"; then :
56687 glibcxx_cv_func__hypotf_use=yes
56688 else
56689 glibcxx_cv_func__hypotf_use=no
56691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56692 ac_ext=c
56693 ac_cpp='$CPP $CPPFLAGS'
56694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
56703 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
56705 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
56706 for ac_func in _hypotf
56707 do :
56708 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
56709 if test "x$ac_cv_func__hypotf" = xyes; then :
56710 cat >>confdefs.h <<_ACEOF
56711 #define HAVE__HYPOTF 1
56712 _ACEOF
56715 done
56724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
56725 $as_echo_n "checking for ldexpf declaration... " >&6; }
56726 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
56727 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
56728 $as_echo_n "(cached) " >&6
56729 else
56732 ac_ext=cpp
56733 ac_cpp='$CXXCPP $CPPFLAGS'
56734 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56735 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56736 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56739 /* end confdefs.h. */
56740 #include <math.h>
56742 main ()
56744 ldexpf(0, 0);
56746 return 0;
56748 _ACEOF
56749 if ac_fn_cxx_try_compile "$LINENO"; then :
56750 glibcxx_cv_func_ldexpf_use=yes
56751 else
56752 glibcxx_cv_func_ldexpf_use=no
56754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56755 ac_ext=c
56756 ac_cpp='$CPP $CPPFLAGS'
56757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
56766 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
56768 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
56769 for ac_func in ldexpf
56770 do :
56771 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
56772 if test "x$ac_cv_func_ldexpf" = xyes; then :
56773 cat >>confdefs.h <<_ACEOF
56774 #define HAVE_LDEXPF 1
56775 _ACEOF
56778 done
56780 else
56782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
56783 $as_echo_n "checking for _ldexpf declaration... " >&6; }
56784 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
56785 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
56786 $as_echo_n "(cached) " >&6
56787 else
56790 ac_ext=cpp
56791 ac_cpp='$CXXCPP $CPPFLAGS'
56792 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56793 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56794 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56797 /* end confdefs.h. */
56798 #include <math.h>
56800 main ()
56802 _ldexpf(0, 0);
56804 return 0;
56806 _ACEOF
56807 if ac_fn_cxx_try_compile "$LINENO"; then :
56808 glibcxx_cv_func__ldexpf_use=yes
56809 else
56810 glibcxx_cv_func__ldexpf_use=no
56812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56813 ac_ext=c
56814 ac_cpp='$CPP $CPPFLAGS'
56815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
56824 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
56826 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
56827 for ac_func in _ldexpf
56828 do :
56829 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
56830 if test "x$ac_cv_func__ldexpf" = xyes; then :
56831 cat >>confdefs.h <<_ACEOF
56832 #define HAVE__LDEXPF 1
56833 _ACEOF
56836 done
56845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
56846 $as_echo_n "checking for logf declaration... " >&6; }
56847 if test x${glibcxx_cv_func_logf_use+set} != xset; then
56848 if ${glibcxx_cv_func_logf_use+:} false; then :
56849 $as_echo_n "(cached) " >&6
56850 else
56853 ac_ext=cpp
56854 ac_cpp='$CXXCPP $CPPFLAGS'
56855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56860 /* end confdefs.h. */
56861 #include <math.h>
56862 #ifdef HAVE_IEEEFP_H
56863 #include <ieeefp.h>
56864 #endif
56867 main ()
56869 logf(0);
56871 return 0;
56873 _ACEOF
56874 if ac_fn_cxx_try_compile "$LINENO"; then :
56875 glibcxx_cv_func_logf_use=yes
56876 else
56877 glibcxx_cv_func_logf_use=no
56879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56880 ac_ext=c
56881 ac_cpp='$CPP $CPPFLAGS'
56882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
56891 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
56893 if test x$glibcxx_cv_func_logf_use = x"yes"; then
56894 for ac_func in logf
56895 do :
56896 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
56897 if test "x$ac_cv_func_logf" = xyes; then :
56898 cat >>confdefs.h <<_ACEOF
56899 #define HAVE_LOGF 1
56900 _ACEOF
56903 done
56905 else
56907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
56908 $as_echo_n "checking for _logf declaration... " >&6; }
56909 if test x${glibcxx_cv_func__logf_use+set} != xset; then
56910 if ${glibcxx_cv_func__logf_use+:} false; then :
56911 $as_echo_n "(cached) " >&6
56912 else
56915 ac_ext=cpp
56916 ac_cpp='$CXXCPP $CPPFLAGS'
56917 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56918 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56919 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56922 /* end confdefs.h. */
56923 #include <math.h>
56924 #ifdef HAVE_IEEEFP_H
56925 #include <ieeefp.h>
56926 #endif
56929 main ()
56931 _logf(0);
56933 return 0;
56935 _ACEOF
56936 if ac_fn_cxx_try_compile "$LINENO"; then :
56937 glibcxx_cv_func__logf_use=yes
56938 else
56939 glibcxx_cv_func__logf_use=no
56941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56942 ac_ext=c
56943 ac_cpp='$CPP $CPPFLAGS'
56944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
56953 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
56955 if test x$glibcxx_cv_func__logf_use = x"yes"; then
56956 for ac_func in _logf
56957 do :
56958 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
56959 if test "x$ac_cv_func__logf" = xyes; then :
56960 cat >>confdefs.h <<_ACEOF
56961 #define HAVE__LOGF 1
56962 _ACEOF
56965 done
56974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
56975 $as_echo_n "checking for log10f declaration... " >&6; }
56976 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
56977 if ${glibcxx_cv_func_log10f_use+:} false; then :
56978 $as_echo_n "(cached) " >&6
56979 else
56982 ac_ext=cpp
56983 ac_cpp='$CXXCPP $CPPFLAGS'
56984 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56985 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56986 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56989 /* end confdefs.h. */
56990 #include <math.h>
56991 #ifdef HAVE_IEEEFP_H
56992 #include <ieeefp.h>
56993 #endif
56996 main ()
56998 log10f(0);
57000 return 0;
57002 _ACEOF
57003 if ac_fn_cxx_try_compile "$LINENO"; then :
57004 glibcxx_cv_func_log10f_use=yes
57005 else
57006 glibcxx_cv_func_log10f_use=no
57008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57009 ac_ext=c
57010 ac_cpp='$CPP $CPPFLAGS'
57011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
57020 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
57022 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
57023 for ac_func in log10f
57024 do :
57025 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
57026 if test "x$ac_cv_func_log10f" = xyes; then :
57027 cat >>confdefs.h <<_ACEOF
57028 #define HAVE_LOG10F 1
57029 _ACEOF
57032 done
57034 else
57036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
57037 $as_echo_n "checking for _log10f declaration... " >&6; }
57038 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
57039 if ${glibcxx_cv_func__log10f_use+:} false; then :
57040 $as_echo_n "(cached) " >&6
57041 else
57044 ac_ext=cpp
57045 ac_cpp='$CXXCPP $CPPFLAGS'
57046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57051 /* end confdefs.h. */
57052 #include <math.h>
57053 #ifdef HAVE_IEEEFP_H
57054 #include <ieeefp.h>
57055 #endif
57058 main ()
57060 _log10f(0);
57062 return 0;
57064 _ACEOF
57065 if ac_fn_cxx_try_compile "$LINENO"; then :
57066 glibcxx_cv_func__log10f_use=yes
57067 else
57068 glibcxx_cv_func__log10f_use=no
57070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57071 ac_ext=c
57072 ac_cpp='$CPP $CPPFLAGS'
57073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
57082 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
57084 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
57085 for ac_func in _log10f
57086 do :
57087 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
57088 if test "x$ac_cv_func__log10f" = xyes; then :
57089 cat >>confdefs.h <<_ACEOF
57090 #define HAVE__LOG10F 1
57091 _ACEOF
57094 done
57103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
57104 $as_echo_n "checking for modff declaration... " >&6; }
57105 if test x${glibcxx_cv_func_modff_use+set} != xset; then
57106 if ${glibcxx_cv_func_modff_use+:} false; then :
57107 $as_echo_n "(cached) " >&6
57108 else
57111 ac_ext=cpp
57112 ac_cpp='$CXXCPP $CPPFLAGS'
57113 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57114 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57115 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57118 /* end confdefs.h. */
57119 #include <math.h>
57121 main ()
57123 modff(0, 0);
57125 return 0;
57127 _ACEOF
57128 if ac_fn_cxx_try_compile "$LINENO"; then :
57129 glibcxx_cv_func_modff_use=yes
57130 else
57131 glibcxx_cv_func_modff_use=no
57133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57134 ac_ext=c
57135 ac_cpp='$CPP $CPPFLAGS'
57136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
57145 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
57147 if test x$glibcxx_cv_func_modff_use = x"yes"; then
57148 for ac_func in modff
57149 do :
57150 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
57151 if test "x$ac_cv_func_modff" = xyes; then :
57152 cat >>confdefs.h <<_ACEOF
57153 #define HAVE_MODFF 1
57154 _ACEOF
57157 done
57159 else
57161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
57162 $as_echo_n "checking for _modff declaration... " >&6; }
57163 if test x${glibcxx_cv_func__modff_use+set} != xset; then
57164 if ${glibcxx_cv_func__modff_use+:} false; then :
57165 $as_echo_n "(cached) " >&6
57166 else
57169 ac_ext=cpp
57170 ac_cpp='$CXXCPP $CPPFLAGS'
57171 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57172 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57173 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57176 /* end confdefs.h. */
57177 #include <math.h>
57179 main ()
57181 _modff(0, 0);
57183 return 0;
57185 _ACEOF
57186 if ac_fn_cxx_try_compile "$LINENO"; then :
57187 glibcxx_cv_func__modff_use=yes
57188 else
57189 glibcxx_cv_func__modff_use=no
57191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57192 ac_ext=c
57193 ac_cpp='$CPP $CPPFLAGS'
57194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
57203 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
57205 if test x$glibcxx_cv_func__modff_use = x"yes"; then
57206 for ac_func in _modff
57207 do :
57208 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
57209 if test "x$ac_cv_func__modff" = xyes; then :
57210 cat >>confdefs.h <<_ACEOF
57211 #define HAVE__MODFF 1
57212 _ACEOF
57215 done
57224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
57225 $as_echo_n "checking for modf declaration... " >&6; }
57226 if test x${glibcxx_cv_func_modf_use+set} != xset; then
57227 if ${glibcxx_cv_func_modf_use+:} false; then :
57228 $as_echo_n "(cached) " >&6
57229 else
57232 ac_ext=cpp
57233 ac_cpp='$CXXCPP $CPPFLAGS'
57234 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57235 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57236 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57239 /* end confdefs.h. */
57240 #include <math.h>
57242 main ()
57244 modf(0, 0);
57246 return 0;
57248 _ACEOF
57249 if ac_fn_cxx_try_compile "$LINENO"; then :
57250 glibcxx_cv_func_modf_use=yes
57251 else
57252 glibcxx_cv_func_modf_use=no
57254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57255 ac_ext=c
57256 ac_cpp='$CPP $CPPFLAGS'
57257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
57266 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
57268 if test x$glibcxx_cv_func_modf_use = x"yes"; then
57269 for ac_func in modf
57270 do :
57271 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
57272 if test "x$ac_cv_func_modf" = xyes; then :
57273 cat >>confdefs.h <<_ACEOF
57274 #define HAVE_MODF 1
57275 _ACEOF
57278 done
57280 else
57282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
57283 $as_echo_n "checking for _modf declaration... " >&6; }
57284 if test x${glibcxx_cv_func__modf_use+set} != xset; then
57285 if ${glibcxx_cv_func__modf_use+:} false; then :
57286 $as_echo_n "(cached) " >&6
57287 else
57290 ac_ext=cpp
57291 ac_cpp='$CXXCPP $CPPFLAGS'
57292 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57293 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57294 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57297 /* end confdefs.h. */
57298 #include <math.h>
57300 main ()
57302 _modf(0, 0);
57304 return 0;
57306 _ACEOF
57307 if ac_fn_cxx_try_compile "$LINENO"; then :
57308 glibcxx_cv_func__modf_use=yes
57309 else
57310 glibcxx_cv_func__modf_use=no
57312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57313 ac_ext=c
57314 ac_cpp='$CPP $CPPFLAGS'
57315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
57324 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
57326 if test x$glibcxx_cv_func__modf_use = x"yes"; then
57327 for ac_func in _modf
57328 do :
57329 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
57330 if test "x$ac_cv_func__modf" = xyes; then :
57331 cat >>confdefs.h <<_ACEOF
57332 #define HAVE__MODF 1
57333 _ACEOF
57336 done
57345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
57346 $as_echo_n "checking for powf declaration... " >&6; }
57347 if test x${glibcxx_cv_func_powf_use+set} != xset; then
57348 if ${glibcxx_cv_func_powf_use+:} false; then :
57349 $as_echo_n "(cached) " >&6
57350 else
57353 ac_ext=cpp
57354 ac_cpp='$CXXCPP $CPPFLAGS'
57355 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57356 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57357 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57360 /* end confdefs.h. */
57361 #include <math.h>
57363 main ()
57365 powf(0, 0);
57367 return 0;
57369 _ACEOF
57370 if ac_fn_cxx_try_compile "$LINENO"; then :
57371 glibcxx_cv_func_powf_use=yes
57372 else
57373 glibcxx_cv_func_powf_use=no
57375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57376 ac_ext=c
57377 ac_cpp='$CPP $CPPFLAGS'
57378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
57387 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
57389 if test x$glibcxx_cv_func_powf_use = x"yes"; then
57390 for ac_func in powf
57391 do :
57392 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
57393 if test "x$ac_cv_func_powf" = xyes; then :
57394 cat >>confdefs.h <<_ACEOF
57395 #define HAVE_POWF 1
57396 _ACEOF
57399 done
57401 else
57403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
57404 $as_echo_n "checking for _powf declaration... " >&6; }
57405 if test x${glibcxx_cv_func__powf_use+set} != xset; then
57406 if ${glibcxx_cv_func__powf_use+:} false; then :
57407 $as_echo_n "(cached) " >&6
57408 else
57411 ac_ext=cpp
57412 ac_cpp='$CXXCPP $CPPFLAGS'
57413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57418 /* end confdefs.h. */
57419 #include <math.h>
57421 main ()
57423 _powf(0, 0);
57425 return 0;
57427 _ACEOF
57428 if ac_fn_cxx_try_compile "$LINENO"; then :
57429 glibcxx_cv_func__powf_use=yes
57430 else
57431 glibcxx_cv_func__powf_use=no
57433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57434 ac_ext=c
57435 ac_cpp='$CPP $CPPFLAGS'
57436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
57445 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
57447 if test x$glibcxx_cv_func__powf_use = x"yes"; then
57448 for ac_func in _powf
57449 do :
57450 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
57451 if test "x$ac_cv_func__powf" = xyes; then :
57452 cat >>confdefs.h <<_ACEOF
57453 #define HAVE__POWF 1
57454 _ACEOF
57457 done
57466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
57467 $as_echo_n "checking for sqrtf declaration... " >&6; }
57468 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
57469 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
57470 $as_echo_n "(cached) " >&6
57471 else
57474 ac_ext=cpp
57475 ac_cpp='$CXXCPP $CPPFLAGS'
57476 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57477 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57478 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57481 /* end confdefs.h. */
57482 #include <math.h>
57483 #ifdef HAVE_IEEEFP_H
57484 #include <ieeefp.h>
57485 #endif
57488 main ()
57490 sqrtf(0);
57492 return 0;
57494 _ACEOF
57495 if ac_fn_cxx_try_compile "$LINENO"; then :
57496 glibcxx_cv_func_sqrtf_use=yes
57497 else
57498 glibcxx_cv_func_sqrtf_use=no
57500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57501 ac_ext=c
57502 ac_cpp='$CPP $CPPFLAGS'
57503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
57512 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
57514 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
57515 for ac_func in sqrtf
57516 do :
57517 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
57518 if test "x$ac_cv_func_sqrtf" = xyes; then :
57519 cat >>confdefs.h <<_ACEOF
57520 #define HAVE_SQRTF 1
57521 _ACEOF
57524 done
57526 else
57528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
57529 $as_echo_n "checking for _sqrtf declaration... " >&6; }
57530 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
57531 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
57532 $as_echo_n "(cached) " >&6
57533 else
57536 ac_ext=cpp
57537 ac_cpp='$CXXCPP $CPPFLAGS'
57538 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57539 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57540 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57543 /* end confdefs.h. */
57544 #include <math.h>
57545 #ifdef HAVE_IEEEFP_H
57546 #include <ieeefp.h>
57547 #endif
57550 main ()
57552 _sqrtf(0);
57554 return 0;
57556 _ACEOF
57557 if ac_fn_cxx_try_compile "$LINENO"; then :
57558 glibcxx_cv_func__sqrtf_use=yes
57559 else
57560 glibcxx_cv_func__sqrtf_use=no
57562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57563 ac_ext=c
57564 ac_cpp='$CPP $CPPFLAGS'
57565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
57574 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
57576 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
57577 for ac_func in _sqrtf
57578 do :
57579 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
57580 if test "x$ac_cv_func__sqrtf" = xyes; then :
57581 cat >>confdefs.h <<_ACEOF
57582 #define HAVE__SQRTF 1
57583 _ACEOF
57586 done
57595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
57596 $as_echo_n "checking for sincosf declaration... " >&6; }
57597 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
57598 if ${glibcxx_cv_func_sincosf_use+:} false; then :
57599 $as_echo_n "(cached) " >&6
57600 else
57603 ac_ext=cpp
57604 ac_cpp='$CXXCPP $CPPFLAGS'
57605 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57606 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57607 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57610 /* end confdefs.h. */
57611 #include <math.h>
57613 main ()
57615 sincosf(0, 0, 0);
57617 return 0;
57619 _ACEOF
57620 if ac_fn_cxx_try_compile "$LINENO"; then :
57621 glibcxx_cv_func_sincosf_use=yes
57622 else
57623 glibcxx_cv_func_sincosf_use=no
57625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57626 ac_ext=c
57627 ac_cpp='$CPP $CPPFLAGS'
57628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
57637 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
57639 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
57640 for ac_func in sincosf
57641 do :
57642 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
57643 if test "x$ac_cv_func_sincosf" = xyes; then :
57644 cat >>confdefs.h <<_ACEOF
57645 #define HAVE_SINCOSF 1
57646 _ACEOF
57649 done
57651 else
57653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
57654 $as_echo_n "checking for _sincosf declaration... " >&6; }
57655 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
57656 if ${glibcxx_cv_func__sincosf_use+:} false; then :
57657 $as_echo_n "(cached) " >&6
57658 else
57661 ac_ext=cpp
57662 ac_cpp='$CXXCPP $CPPFLAGS'
57663 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57664 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57665 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57668 /* end confdefs.h. */
57669 #include <math.h>
57671 main ()
57673 _sincosf(0, 0, 0);
57675 return 0;
57677 _ACEOF
57678 if ac_fn_cxx_try_compile "$LINENO"; then :
57679 glibcxx_cv_func__sincosf_use=yes
57680 else
57681 glibcxx_cv_func__sincosf_use=no
57683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57684 ac_ext=c
57685 ac_cpp='$CPP $CPPFLAGS'
57686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
57695 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
57697 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
57698 for ac_func in _sincosf
57699 do :
57700 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
57701 if test "x$ac_cv_func__sincosf" = xyes; then :
57702 cat >>confdefs.h <<_ACEOF
57703 #define HAVE__SINCOSF 1
57704 _ACEOF
57707 done
57716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
57717 $as_echo_n "checking for finitef declaration... " >&6; }
57718 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
57719 if ${glibcxx_cv_func_finitef_use+:} false; then :
57720 $as_echo_n "(cached) " >&6
57721 else
57724 ac_ext=cpp
57725 ac_cpp='$CXXCPP $CPPFLAGS'
57726 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57727 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57728 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57731 /* end confdefs.h. */
57732 #include <math.h>
57733 #ifdef HAVE_IEEEFP_H
57734 #include <ieeefp.h>
57735 #endif
57738 main ()
57740 finitef(0);
57742 return 0;
57744 _ACEOF
57745 if ac_fn_cxx_try_compile "$LINENO"; then :
57746 glibcxx_cv_func_finitef_use=yes
57747 else
57748 glibcxx_cv_func_finitef_use=no
57750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57751 ac_ext=c
57752 ac_cpp='$CPP $CPPFLAGS'
57753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
57762 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
57764 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
57765 for ac_func in finitef
57766 do :
57767 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
57768 if test "x$ac_cv_func_finitef" = xyes; then :
57769 cat >>confdefs.h <<_ACEOF
57770 #define HAVE_FINITEF 1
57771 _ACEOF
57774 done
57776 else
57778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
57779 $as_echo_n "checking for _finitef declaration... " >&6; }
57780 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
57781 if ${glibcxx_cv_func__finitef_use+:} false; then :
57782 $as_echo_n "(cached) " >&6
57783 else
57786 ac_ext=cpp
57787 ac_cpp='$CXXCPP $CPPFLAGS'
57788 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57789 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57790 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57793 /* end confdefs.h. */
57794 #include <math.h>
57795 #ifdef HAVE_IEEEFP_H
57796 #include <ieeefp.h>
57797 #endif
57800 main ()
57802 _finitef(0);
57804 return 0;
57806 _ACEOF
57807 if ac_fn_cxx_try_compile "$LINENO"; then :
57808 glibcxx_cv_func__finitef_use=yes
57809 else
57810 glibcxx_cv_func__finitef_use=no
57812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57813 ac_ext=c
57814 ac_cpp='$CPP $CPPFLAGS'
57815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
57824 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
57826 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
57827 for ac_func in _finitef
57828 do :
57829 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
57830 if test "x$ac_cv_func__finitef" = xyes; then :
57831 cat >>confdefs.h <<_ACEOF
57832 #define HAVE__FINITEF 1
57833 _ACEOF
57836 done
57845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
57846 $as_echo_n "checking for long double trig functions... " >&6; }
57847 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
57848 $as_echo_n "(cached) " >&6
57849 else
57852 ac_ext=cpp
57853 ac_cpp='$CXXCPP $CPPFLAGS'
57854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57859 /* end confdefs.h. */
57860 #include <math.h>
57862 main ()
57864 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
57866 return 0;
57868 _ACEOF
57869 if ac_fn_cxx_try_compile "$LINENO"; then :
57870 glibcxx_cv_func_long_double_trig_use=yes
57871 else
57872 glibcxx_cv_func_long_double_trig_use=no
57874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57875 ac_ext=c
57876 ac_cpp='$CPP $CPPFLAGS'
57877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
57884 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
57885 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
57886 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
57887 do :
57888 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57889 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57890 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
57891 cat >>confdefs.h <<_ACEOF
57892 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57893 _ACEOF
57896 done
57898 else
57899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
57900 $as_echo_n "checking for _long double trig functions... " >&6; }
57901 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
57902 $as_echo_n "(cached) " >&6
57903 else
57906 ac_ext=cpp
57907 ac_cpp='$CXXCPP $CPPFLAGS'
57908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57913 /* end confdefs.h. */
57914 #include <math.h>
57916 main ()
57918 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
57920 return 0;
57922 _ACEOF
57923 if ac_fn_cxx_try_compile "$LINENO"; then :
57924 glibcxx_cv_func__long_double_trig_use=yes
57925 else
57926 glibcxx_cv_func__long_double_trig_use=no
57928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57929 ac_ext=c
57930 ac_cpp='$CPP $CPPFLAGS'
57931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
57938 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
57939 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
57940 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
57941 do :
57942 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57943 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57944 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
57945 cat >>confdefs.h <<_ACEOF
57946 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57947 _ACEOF
57950 done
57959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
57960 $as_echo_n "checking for long double round functions... " >&6; }
57961 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
57962 $as_echo_n "(cached) " >&6
57963 else
57966 ac_ext=cpp
57967 ac_cpp='$CXXCPP $CPPFLAGS'
57968 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57969 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57970 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57973 /* end confdefs.h. */
57974 #include <math.h>
57976 main ()
57978 ceill (0); floorl (0);
57980 return 0;
57982 _ACEOF
57983 if ac_fn_cxx_try_compile "$LINENO"; then :
57984 glibcxx_cv_func_long_double_round_use=yes
57985 else
57986 glibcxx_cv_func_long_double_round_use=no
57988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57989 ac_ext=c
57990 ac_cpp='$CPP $CPPFLAGS'
57991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
57998 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
57999 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
58000 for ac_func in ceill floorl
58001 do :
58002 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
58003 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
58004 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
58005 cat >>confdefs.h <<_ACEOF
58006 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
58007 _ACEOF
58010 done
58012 else
58013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
58014 $as_echo_n "checking for _long double round functions... " >&6; }
58015 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
58016 $as_echo_n "(cached) " >&6
58017 else
58020 ac_ext=cpp
58021 ac_cpp='$CXXCPP $CPPFLAGS'
58022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58027 /* end confdefs.h. */
58028 #include <math.h>
58030 main ()
58032 _ceill (0); _floorl (0);
58034 return 0;
58036 _ACEOF
58037 if ac_fn_cxx_try_compile "$LINENO"; then :
58038 glibcxx_cv_func__long_double_round_use=yes
58039 else
58040 glibcxx_cv_func__long_double_round_use=no
58042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58043 ac_ext=c
58044 ac_cpp='$CPP $CPPFLAGS'
58045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
58052 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
58053 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
58054 for ac_func in _ceill _floorl
58055 do :
58056 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
58057 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
58058 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
58059 cat >>confdefs.h <<_ACEOF
58060 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
58061 _ACEOF
58064 done
58074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
58075 $as_echo_n "checking for isnanl declaration... " >&6; }
58076 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
58077 if ${glibcxx_cv_func_isnanl_use+:} false; then :
58078 $as_echo_n "(cached) " >&6
58079 else
58082 ac_ext=cpp
58083 ac_cpp='$CXXCPP $CPPFLAGS'
58084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58089 /* end confdefs.h. */
58090 #include <math.h>
58091 #ifdef HAVE_IEEEFP_H
58092 #include <ieeefp.h>
58093 #endif
58096 main ()
58098 isnanl(0);
58100 return 0;
58102 _ACEOF
58103 if ac_fn_cxx_try_compile "$LINENO"; then :
58104 glibcxx_cv_func_isnanl_use=yes
58105 else
58106 glibcxx_cv_func_isnanl_use=no
58108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58109 ac_ext=c
58110 ac_cpp='$CPP $CPPFLAGS'
58111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
58120 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
58122 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
58123 for ac_func in isnanl
58124 do :
58125 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
58126 if test "x$ac_cv_func_isnanl" = xyes; then :
58127 cat >>confdefs.h <<_ACEOF
58128 #define HAVE_ISNANL 1
58129 _ACEOF
58132 done
58134 else
58136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
58137 $as_echo_n "checking for _isnanl declaration... " >&6; }
58138 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
58139 if ${glibcxx_cv_func__isnanl_use+:} false; then :
58140 $as_echo_n "(cached) " >&6
58141 else
58144 ac_ext=cpp
58145 ac_cpp='$CXXCPP $CPPFLAGS'
58146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58147 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58151 /* end confdefs.h. */
58152 #include <math.h>
58153 #ifdef HAVE_IEEEFP_H
58154 #include <ieeefp.h>
58155 #endif
58158 main ()
58160 _isnanl(0);
58162 return 0;
58164 _ACEOF
58165 if ac_fn_cxx_try_compile "$LINENO"; then :
58166 glibcxx_cv_func__isnanl_use=yes
58167 else
58168 glibcxx_cv_func__isnanl_use=no
58170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58171 ac_ext=c
58172 ac_cpp='$CPP $CPPFLAGS'
58173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
58182 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
58184 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
58185 for ac_func in _isnanl
58186 do :
58187 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
58188 if test "x$ac_cv_func__isnanl" = xyes; then :
58189 cat >>confdefs.h <<_ACEOF
58190 #define HAVE__ISNANL 1
58191 _ACEOF
58194 done
58203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
58204 $as_echo_n "checking for isinfl declaration... " >&6; }
58205 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
58206 if ${glibcxx_cv_func_isinfl_use+:} false; then :
58207 $as_echo_n "(cached) " >&6
58208 else
58211 ac_ext=cpp
58212 ac_cpp='$CXXCPP $CPPFLAGS'
58213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58218 /* end confdefs.h. */
58219 #include <math.h>
58220 #ifdef HAVE_IEEEFP_H
58221 #include <ieeefp.h>
58222 #endif
58225 main ()
58227 isinfl(0);
58229 return 0;
58231 _ACEOF
58232 if ac_fn_cxx_try_compile "$LINENO"; then :
58233 glibcxx_cv_func_isinfl_use=yes
58234 else
58235 glibcxx_cv_func_isinfl_use=no
58237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58238 ac_ext=c
58239 ac_cpp='$CPP $CPPFLAGS'
58240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
58249 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
58251 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
58252 for ac_func in isinfl
58253 do :
58254 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
58255 if test "x$ac_cv_func_isinfl" = xyes; then :
58256 cat >>confdefs.h <<_ACEOF
58257 #define HAVE_ISINFL 1
58258 _ACEOF
58261 done
58263 else
58265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
58266 $as_echo_n "checking for _isinfl declaration... " >&6; }
58267 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
58268 if ${glibcxx_cv_func__isinfl_use+:} false; then :
58269 $as_echo_n "(cached) " >&6
58270 else
58273 ac_ext=cpp
58274 ac_cpp='$CXXCPP $CPPFLAGS'
58275 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58276 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58277 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58280 /* end confdefs.h. */
58281 #include <math.h>
58282 #ifdef HAVE_IEEEFP_H
58283 #include <ieeefp.h>
58284 #endif
58287 main ()
58289 _isinfl(0);
58291 return 0;
58293 _ACEOF
58294 if ac_fn_cxx_try_compile "$LINENO"; then :
58295 glibcxx_cv_func__isinfl_use=yes
58296 else
58297 glibcxx_cv_func__isinfl_use=no
58299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58300 ac_ext=c
58301 ac_cpp='$CPP $CPPFLAGS'
58302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
58311 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
58313 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
58314 for ac_func in _isinfl
58315 do :
58316 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
58317 if test "x$ac_cv_func__isinfl" = xyes; then :
58318 cat >>confdefs.h <<_ACEOF
58319 #define HAVE__ISINFL 1
58320 _ACEOF
58323 done
58332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
58333 $as_echo_n "checking for atan2l declaration... " >&6; }
58334 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
58335 if ${glibcxx_cv_func_atan2l_use+:} false; then :
58336 $as_echo_n "(cached) " >&6
58337 else
58340 ac_ext=cpp
58341 ac_cpp='$CXXCPP $CPPFLAGS'
58342 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58343 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58344 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58347 /* end confdefs.h. */
58348 #include <math.h>
58350 main ()
58352 atan2l(0, 0);
58354 return 0;
58356 _ACEOF
58357 if ac_fn_cxx_try_compile "$LINENO"; then :
58358 glibcxx_cv_func_atan2l_use=yes
58359 else
58360 glibcxx_cv_func_atan2l_use=no
58362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58363 ac_ext=c
58364 ac_cpp='$CPP $CPPFLAGS'
58365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
58374 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
58376 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
58377 for ac_func in atan2l
58378 do :
58379 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
58380 if test "x$ac_cv_func_atan2l" = xyes; then :
58381 cat >>confdefs.h <<_ACEOF
58382 #define HAVE_ATAN2L 1
58383 _ACEOF
58386 done
58388 else
58390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
58391 $as_echo_n "checking for _atan2l declaration... " >&6; }
58392 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
58393 if ${glibcxx_cv_func__atan2l_use+:} false; then :
58394 $as_echo_n "(cached) " >&6
58395 else
58398 ac_ext=cpp
58399 ac_cpp='$CXXCPP $CPPFLAGS'
58400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58405 /* end confdefs.h. */
58406 #include <math.h>
58408 main ()
58410 _atan2l(0, 0);
58412 return 0;
58414 _ACEOF
58415 if ac_fn_cxx_try_compile "$LINENO"; then :
58416 glibcxx_cv_func__atan2l_use=yes
58417 else
58418 glibcxx_cv_func__atan2l_use=no
58420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58421 ac_ext=c
58422 ac_cpp='$CPP $CPPFLAGS'
58423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
58432 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
58434 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
58435 for ac_func in _atan2l
58436 do :
58437 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
58438 if test "x$ac_cv_func__atan2l" = xyes; then :
58439 cat >>confdefs.h <<_ACEOF
58440 #define HAVE__ATAN2L 1
58441 _ACEOF
58444 done
58453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
58454 $as_echo_n "checking for expl declaration... " >&6; }
58455 if test x${glibcxx_cv_func_expl_use+set} != xset; then
58456 if ${glibcxx_cv_func_expl_use+:} false; then :
58457 $as_echo_n "(cached) " >&6
58458 else
58461 ac_ext=cpp
58462 ac_cpp='$CXXCPP $CPPFLAGS'
58463 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58464 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58465 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58468 /* end confdefs.h. */
58469 #include <math.h>
58470 #ifdef HAVE_IEEEFP_H
58471 #include <ieeefp.h>
58472 #endif
58475 main ()
58477 expl(0);
58479 return 0;
58481 _ACEOF
58482 if ac_fn_cxx_try_compile "$LINENO"; then :
58483 glibcxx_cv_func_expl_use=yes
58484 else
58485 glibcxx_cv_func_expl_use=no
58487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58488 ac_ext=c
58489 ac_cpp='$CPP $CPPFLAGS'
58490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
58499 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
58501 if test x$glibcxx_cv_func_expl_use = x"yes"; then
58502 for ac_func in expl
58503 do :
58504 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
58505 if test "x$ac_cv_func_expl" = xyes; then :
58506 cat >>confdefs.h <<_ACEOF
58507 #define HAVE_EXPL 1
58508 _ACEOF
58511 done
58513 else
58515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
58516 $as_echo_n "checking for _expl declaration... " >&6; }
58517 if test x${glibcxx_cv_func__expl_use+set} != xset; then
58518 if ${glibcxx_cv_func__expl_use+:} false; then :
58519 $as_echo_n "(cached) " >&6
58520 else
58523 ac_ext=cpp
58524 ac_cpp='$CXXCPP $CPPFLAGS'
58525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58530 /* end confdefs.h. */
58531 #include <math.h>
58532 #ifdef HAVE_IEEEFP_H
58533 #include <ieeefp.h>
58534 #endif
58537 main ()
58539 _expl(0);
58541 return 0;
58543 _ACEOF
58544 if ac_fn_cxx_try_compile "$LINENO"; then :
58545 glibcxx_cv_func__expl_use=yes
58546 else
58547 glibcxx_cv_func__expl_use=no
58549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58550 ac_ext=c
58551 ac_cpp='$CPP $CPPFLAGS'
58552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
58561 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
58563 if test x$glibcxx_cv_func__expl_use = x"yes"; then
58564 for ac_func in _expl
58565 do :
58566 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
58567 if test "x$ac_cv_func__expl" = xyes; then :
58568 cat >>confdefs.h <<_ACEOF
58569 #define HAVE__EXPL 1
58570 _ACEOF
58573 done
58582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
58583 $as_echo_n "checking for fabsl declaration... " >&6; }
58584 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
58585 if ${glibcxx_cv_func_fabsl_use+:} false; then :
58586 $as_echo_n "(cached) " >&6
58587 else
58590 ac_ext=cpp
58591 ac_cpp='$CXXCPP $CPPFLAGS'
58592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58597 /* end confdefs.h. */
58598 #include <math.h>
58599 #ifdef HAVE_IEEEFP_H
58600 #include <ieeefp.h>
58601 #endif
58604 main ()
58606 fabsl(0);
58608 return 0;
58610 _ACEOF
58611 if ac_fn_cxx_try_compile "$LINENO"; then :
58612 glibcxx_cv_func_fabsl_use=yes
58613 else
58614 glibcxx_cv_func_fabsl_use=no
58616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58617 ac_ext=c
58618 ac_cpp='$CPP $CPPFLAGS'
58619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
58628 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
58630 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
58631 for ac_func in fabsl
58632 do :
58633 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
58634 if test "x$ac_cv_func_fabsl" = xyes; then :
58635 cat >>confdefs.h <<_ACEOF
58636 #define HAVE_FABSL 1
58637 _ACEOF
58640 done
58642 else
58644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
58645 $as_echo_n "checking for _fabsl declaration... " >&6; }
58646 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
58647 if ${glibcxx_cv_func__fabsl_use+:} false; then :
58648 $as_echo_n "(cached) " >&6
58649 else
58652 ac_ext=cpp
58653 ac_cpp='$CXXCPP $CPPFLAGS'
58654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58659 /* end confdefs.h. */
58660 #include <math.h>
58661 #ifdef HAVE_IEEEFP_H
58662 #include <ieeefp.h>
58663 #endif
58666 main ()
58668 _fabsl(0);
58670 return 0;
58672 _ACEOF
58673 if ac_fn_cxx_try_compile "$LINENO"; then :
58674 glibcxx_cv_func__fabsl_use=yes
58675 else
58676 glibcxx_cv_func__fabsl_use=no
58678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58679 ac_ext=c
58680 ac_cpp='$CPP $CPPFLAGS'
58681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
58690 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
58692 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
58693 for ac_func in _fabsl
58694 do :
58695 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
58696 if test "x$ac_cv_func__fabsl" = xyes; then :
58697 cat >>confdefs.h <<_ACEOF
58698 #define HAVE__FABSL 1
58699 _ACEOF
58702 done
58711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
58712 $as_echo_n "checking for fmodl declaration... " >&6; }
58713 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
58714 if ${glibcxx_cv_func_fmodl_use+:} false; then :
58715 $as_echo_n "(cached) " >&6
58716 else
58719 ac_ext=cpp
58720 ac_cpp='$CXXCPP $CPPFLAGS'
58721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58726 /* end confdefs.h. */
58727 #include <math.h>
58729 main ()
58731 fmodl(0, 0);
58733 return 0;
58735 _ACEOF
58736 if ac_fn_cxx_try_compile "$LINENO"; then :
58737 glibcxx_cv_func_fmodl_use=yes
58738 else
58739 glibcxx_cv_func_fmodl_use=no
58741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58742 ac_ext=c
58743 ac_cpp='$CPP $CPPFLAGS'
58744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
58753 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
58755 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
58756 for ac_func in fmodl
58757 do :
58758 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
58759 if test "x$ac_cv_func_fmodl" = xyes; then :
58760 cat >>confdefs.h <<_ACEOF
58761 #define HAVE_FMODL 1
58762 _ACEOF
58765 done
58767 else
58769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
58770 $as_echo_n "checking for _fmodl declaration... " >&6; }
58771 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
58772 if ${glibcxx_cv_func__fmodl_use+:} false; then :
58773 $as_echo_n "(cached) " >&6
58774 else
58777 ac_ext=cpp
58778 ac_cpp='$CXXCPP $CPPFLAGS'
58779 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58780 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58781 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58784 /* end confdefs.h. */
58785 #include <math.h>
58787 main ()
58789 _fmodl(0, 0);
58791 return 0;
58793 _ACEOF
58794 if ac_fn_cxx_try_compile "$LINENO"; then :
58795 glibcxx_cv_func__fmodl_use=yes
58796 else
58797 glibcxx_cv_func__fmodl_use=no
58799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58800 ac_ext=c
58801 ac_cpp='$CPP $CPPFLAGS'
58802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
58811 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
58813 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
58814 for ac_func in _fmodl
58815 do :
58816 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
58817 if test "x$ac_cv_func__fmodl" = xyes; then :
58818 cat >>confdefs.h <<_ACEOF
58819 #define HAVE__FMODL 1
58820 _ACEOF
58823 done
58832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
58833 $as_echo_n "checking for frexpl declaration... " >&6; }
58834 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
58835 if ${glibcxx_cv_func_frexpl_use+:} false; then :
58836 $as_echo_n "(cached) " >&6
58837 else
58840 ac_ext=cpp
58841 ac_cpp='$CXXCPP $CPPFLAGS'
58842 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58843 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58844 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58847 /* end confdefs.h. */
58848 #include <math.h>
58850 main ()
58852 frexpl(0, 0);
58854 return 0;
58856 _ACEOF
58857 if ac_fn_cxx_try_compile "$LINENO"; then :
58858 glibcxx_cv_func_frexpl_use=yes
58859 else
58860 glibcxx_cv_func_frexpl_use=no
58862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58863 ac_ext=c
58864 ac_cpp='$CPP $CPPFLAGS'
58865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
58874 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
58876 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
58877 for ac_func in frexpl
58878 do :
58879 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
58880 if test "x$ac_cv_func_frexpl" = xyes; then :
58881 cat >>confdefs.h <<_ACEOF
58882 #define HAVE_FREXPL 1
58883 _ACEOF
58886 done
58888 else
58890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
58891 $as_echo_n "checking for _frexpl declaration... " >&6; }
58892 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
58893 if ${glibcxx_cv_func__frexpl_use+:} false; then :
58894 $as_echo_n "(cached) " >&6
58895 else
58898 ac_ext=cpp
58899 ac_cpp='$CXXCPP $CPPFLAGS'
58900 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58901 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58902 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58905 /* end confdefs.h. */
58906 #include <math.h>
58908 main ()
58910 _frexpl(0, 0);
58912 return 0;
58914 _ACEOF
58915 if ac_fn_cxx_try_compile "$LINENO"; then :
58916 glibcxx_cv_func__frexpl_use=yes
58917 else
58918 glibcxx_cv_func__frexpl_use=no
58920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58921 ac_ext=c
58922 ac_cpp='$CPP $CPPFLAGS'
58923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
58932 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
58934 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
58935 for ac_func in _frexpl
58936 do :
58937 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
58938 if test "x$ac_cv_func__frexpl" = xyes; then :
58939 cat >>confdefs.h <<_ACEOF
58940 #define HAVE__FREXPL 1
58941 _ACEOF
58944 done
58953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
58954 $as_echo_n "checking for hypotl declaration... " >&6; }
58955 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
58956 if ${glibcxx_cv_func_hypotl_use+:} false; then :
58957 $as_echo_n "(cached) " >&6
58958 else
58961 ac_ext=cpp
58962 ac_cpp='$CXXCPP $CPPFLAGS'
58963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58968 /* end confdefs.h. */
58969 #include <math.h>
58971 main ()
58973 hypotl(0, 0);
58975 return 0;
58977 _ACEOF
58978 if ac_fn_cxx_try_compile "$LINENO"; then :
58979 glibcxx_cv_func_hypotl_use=yes
58980 else
58981 glibcxx_cv_func_hypotl_use=no
58983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58984 ac_ext=c
58985 ac_cpp='$CPP $CPPFLAGS'
58986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
58995 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
58997 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
58998 for ac_func in hypotl
58999 do :
59000 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
59001 if test "x$ac_cv_func_hypotl" = xyes; then :
59002 cat >>confdefs.h <<_ACEOF
59003 #define HAVE_HYPOTL 1
59004 _ACEOF
59007 done
59009 else
59011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
59012 $as_echo_n "checking for _hypotl declaration... " >&6; }
59013 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
59014 if ${glibcxx_cv_func__hypotl_use+:} false; then :
59015 $as_echo_n "(cached) " >&6
59016 else
59019 ac_ext=cpp
59020 ac_cpp='$CXXCPP $CPPFLAGS'
59021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59026 /* end confdefs.h. */
59027 #include <math.h>
59029 main ()
59031 _hypotl(0, 0);
59033 return 0;
59035 _ACEOF
59036 if ac_fn_cxx_try_compile "$LINENO"; then :
59037 glibcxx_cv_func__hypotl_use=yes
59038 else
59039 glibcxx_cv_func__hypotl_use=no
59041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59042 ac_ext=c
59043 ac_cpp='$CPP $CPPFLAGS'
59044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
59053 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
59055 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
59056 for ac_func in _hypotl
59057 do :
59058 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
59059 if test "x$ac_cv_func__hypotl" = xyes; then :
59060 cat >>confdefs.h <<_ACEOF
59061 #define HAVE__HYPOTL 1
59062 _ACEOF
59065 done
59074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
59075 $as_echo_n "checking for ldexpl declaration... " >&6; }
59076 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
59077 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
59078 $as_echo_n "(cached) " >&6
59079 else
59082 ac_ext=cpp
59083 ac_cpp='$CXXCPP $CPPFLAGS'
59084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59089 /* end confdefs.h. */
59090 #include <math.h>
59092 main ()
59094 ldexpl(0, 0);
59096 return 0;
59098 _ACEOF
59099 if ac_fn_cxx_try_compile "$LINENO"; then :
59100 glibcxx_cv_func_ldexpl_use=yes
59101 else
59102 glibcxx_cv_func_ldexpl_use=no
59104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59105 ac_ext=c
59106 ac_cpp='$CPP $CPPFLAGS'
59107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
59116 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
59118 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
59119 for ac_func in ldexpl
59120 do :
59121 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
59122 if test "x$ac_cv_func_ldexpl" = xyes; then :
59123 cat >>confdefs.h <<_ACEOF
59124 #define HAVE_LDEXPL 1
59125 _ACEOF
59128 done
59130 else
59132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
59133 $as_echo_n "checking for _ldexpl declaration... " >&6; }
59134 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
59135 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
59136 $as_echo_n "(cached) " >&6
59137 else
59140 ac_ext=cpp
59141 ac_cpp='$CXXCPP $CPPFLAGS'
59142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59147 /* end confdefs.h. */
59148 #include <math.h>
59150 main ()
59152 _ldexpl(0, 0);
59154 return 0;
59156 _ACEOF
59157 if ac_fn_cxx_try_compile "$LINENO"; then :
59158 glibcxx_cv_func__ldexpl_use=yes
59159 else
59160 glibcxx_cv_func__ldexpl_use=no
59162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59163 ac_ext=c
59164 ac_cpp='$CPP $CPPFLAGS'
59165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
59174 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
59176 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
59177 for ac_func in _ldexpl
59178 do :
59179 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
59180 if test "x$ac_cv_func__ldexpl" = xyes; then :
59181 cat >>confdefs.h <<_ACEOF
59182 #define HAVE__LDEXPL 1
59183 _ACEOF
59186 done
59195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
59196 $as_echo_n "checking for logl declaration... " >&6; }
59197 if test x${glibcxx_cv_func_logl_use+set} != xset; then
59198 if ${glibcxx_cv_func_logl_use+:} false; then :
59199 $as_echo_n "(cached) " >&6
59200 else
59203 ac_ext=cpp
59204 ac_cpp='$CXXCPP $CPPFLAGS'
59205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59210 /* end confdefs.h. */
59211 #include <math.h>
59212 #ifdef HAVE_IEEEFP_H
59213 #include <ieeefp.h>
59214 #endif
59217 main ()
59219 logl(0);
59221 return 0;
59223 _ACEOF
59224 if ac_fn_cxx_try_compile "$LINENO"; then :
59225 glibcxx_cv_func_logl_use=yes
59226 else
59227 glibcxx_cv_func_logl_use=no
59229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59230 ac_ext=c
59231 ac_cpp='$CPP $CPPFLAGS'
59232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
59241 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
59243 if test x$glibcxx_cv_func_logl_use = x"yes"; then
59244 for ac_func in logl
59245 do :
59246 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
59247 if test "x$ac_cv_func_logl" = xyes; then :
59248 cat >>confdefs.h <<_ACEOF
59249 #define HAVE_LOGL 1
59250 _ACEOF
59253 done
59255 else
59257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
59258 $as_echo_n "checking for _logl declaration... " >&6; }
59259 if test x${glibcxx_cv_func__logl_use+set} != xset; then
59260 if ${glibcxx_cv_func__logl_use+:} false; then :
59261 $as_echo_n "(cached) " >&6
59262 else
59265 ac_ext=cpp
59266 ac_cpp='$CXXCPP $CPPFLAGS'
59267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59272 /* end confdefs.h. */
59273 #include <math.h>
59274 #ifdef HAVE_IEEEFP_H
59275 #include <ieeefp.h>
59276 #endif
59279 main ()
59281 _logl(0);
59283 return 0;
59285 _ACEOF
59286 if ac_fn_cxx_try_compile "$LINENO"; then :
59287 glibcxx_cv_func__logl_use=yes
59288 else
59289 glibcxx_cv_func__logl_use=no
59291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59292 ac_ext=c
59293 ac_cpp='$CPP $CPPFLAGS'
59294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
59303 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
59305 if test x$glibcxx_cv_func__logl_use = x"yes"; then
59306 for ac_func in _logl
59307 do :
59308 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
59309 if test "x$ac_cv_func__logl" = xyes; then :
59310 cat >>confdefs.h <<_ACEOF
59311 #define HAVE__LOGL 1
59312 _ACEOF
59315 done
59324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
59325 $as_echo_n "checking for log10l declaration... " >&6; }
59326 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
59327 if ${glibcxx_cv_func_log10l_use+:} false; then :
59328 $as_echo_n "(cached) " >&6
59329 else
59332 ac_ext=cpp
59333 ac_cpp='$CXXCPP $CPPFLAGS'
59334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59339 /* end confdefs.h. */
59340 #include <math.h>
59341 #ifdef HAVE_IEEEFP_H
59342 #include <ieeefp.h>
59343 #endif
59346 main ()
59348 log10l(0);
59350 return 0;
59352 _ACEOF
59353 if ac_fn_cxx_try_compile "$LINENO"; then :
59354 glibcxx_cv_func_log10l_use=yes
59355 else
59356 glibcxx_cv_func_log10l_use=no
59358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59359 ac_ext=c
59360 ac_cpp='$CPP $CPPFLAGS'
59361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
59370 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
59372 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
59373 for ac_func in log10l
59374 do :
59375 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
59376 if test "x$ac_cv_func_log10l" = xyes; then :
59377 cat >>confdefs.h <<_ACEOF
59378 #define HAVE_LOG10L 1
59379 _ACEOF
59382 done
59384 else
59386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
59387 $as_echo_n "checking for _log10l declaration... " >&6; }
59388 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
59389 if ${glibcxx_cv_func__log10l_use+:} false; then :
59390 $as_echo_n "(cached) " >&6
59391 else
59394 ac_ext=cpp
59395 ac_cpp='$CXXCPP $CPPFLAGS'
59396 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59397 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59398 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59401 /* end confdefs.h. */
59402 #include <math.h>
59403 #ifdef HAVE_IEEEFP_H
59404 #include <ieeefp.h>
59405 #endif
59408 main ()
59410 _log10l(0);
59412 return 0;
59414 _ACEOF
59415 if ac_fn_cxx_try_compile "$LINENO"; then :
59416 glibcxx_cv_func__log10l_use=yes
59417 else
59418 glibcxx_cv_func__log10l_use=no
59420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59421 ac_ext=c
59422 ac_cpp='$CPP $CPPFLAGS'
59423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
59432 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
59434 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
59435 for ac_func in _log10l
59436 do :
59437 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
59438 if test "x$ac_cv_func__log10l" = xyes; then :
59439 cat >>confdefs.h <<_ACEOF
59440 #define HAVE__LOG10L 1
59441 _ACEOF
59444 done
59453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
59454 $as_echo_n "checking for modfl declaration... " >&6; }
59455 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
59456 if ${glibcxx_cv_func_modfl_use+:} false; then :
59457 $as_echo_n "(cached) " >&6
59458 else
59461 ac_ext=cpp
59462 ac_cpp='$CXXCPP $CPPFLAGS'
59463 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59464 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59465 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59468 /* end confdefs.h. */
59469 #include <math.h>
59471 main ()
59473 modfl(0, 0);
59475 return 0;
59477 _ACEOF
59478 if ac_fn_cxx_try_compile "$LINENO"; then :
59479 glibcxx_cv_func_modfl_use=yes
59480 else
59481 glibcxx_cv_func_modfl_use=no
59483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59484 ac_ext=c
59485 ac_cpp='$CPP $CPPFLAGS'
59486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
59495 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
59497 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
59498 for ac_func in modfl
59499 do :
59500 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
59501 if test "x$ac_cv_func_modfl" = xyes; then :
59502 cat >>confdefs.h <<_ACEOF
59503 #define HAVE_MODFL 1
59504 _ACEOF
59507 done
59509 else
59511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
59512 $as_echo_n "checking for _modfl declaration... " >&6; }
59513 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
59514 if ${glibcxx_cv_func__modfl_use+:} false; then :
59515 $as_echo_n "(cached) " >&6
59516 else
59519 ac_ext=cpp
59520 ac_cpp='$CXXCPP $CPPFLAGS'
59521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59526 /* end confdefs.h. */
59527 #include <math.h>
59529 main ()
59531 _modfl(0, 0);
59533 return 0;
59535 _ACEOF
59536 if ac_fn_cxx_try_compile "$LINENO"; then :
59537 glibcxx_cv_func__modfl_use=yes
59538 else
59539 glibcxx_cv_func__modfl_use=no
59541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59542 ac_ext=c
59543 ac_cpp='$CPP $CPPFLAGS'
59544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
59553 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
59555 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
59556 for ac_func in _modfl
59557 do :
59558 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
59559 if test "x$ac_cv_func__modfl" = xyes; then :
59560 cat >>confdefs.h <<_ACEOF
59561 #define HAVE__MODFL 1
59562 _ACEOF
59565 done
59574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
59575 $as_echo_n "checking for powl declaration... " >&6; }
59576 if test x${glibcxx_cv_func_powl_use+set} != xset; then
59577 if ${glibcxx_cv_func_powl_use+:} false; then :
59578 $as_echo_n "(cached) " >&6
59579 else
59582 ac_ext=cpp
59583 ac_cpp='$CXXCPP $CPPFLAGS'
59584 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59585 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59586 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59589 /* end confdefs.h. */
59590 #include <math.h>
59592 main ()
59594 powl(0, 0);
59596 return 0;
59598 _ACEOF
59599 if ac_fn_cxx_try_compile "$LINENO"; then :
59600 glibcxx_cv_func_powl_use=yes
59601 else
59602 glibcxx_cv_func_powl_use=no
59604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59605 ac_ext=c
59606 ac_cpp='$CPP $CPPFLAGS'
59607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
59616 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
59618 if test x$glibcxx_cv_func_powl_use = x"yes"; then
59619 for ac_func in powl
59620 do :
59621 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
59622 if test "x$ac_cv_func_powl" = xyes; then :
59623 cat >>confdefs.h <<_ACEOF
59624 #define HAVE_POWL 1
59625 _ACEOF
59628 done
59630 else
59632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
59633 $as_echo_n "checking for _powl declaration... " >&6; }
59634 if test x${glibcxx_cv_func__powl_use+set} != xset; then
59635 if ${glibcxx_cv_func__powl_use+:} false; then :
59636 $as_echo_n "(cached) " >&6
59637 else
59640 ac_ext=cpp
59641 ac_cpp='$CXXCPP $CPPFLAGS'
59642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59647 /* end confdefs.h. */
59648 #include <math.h>
59650 main ()
59652 _powl(0, 0);
59654 return 0;
59656 _ACEOF
59657 if ac_fn_cxx_try_compile "$LINENO"; then :
59658 glibcxx_cv_func__powl_use=yes
59659 else
59660 glibcxx_cv_func__powl_use=no
59662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59663 ac_ext=c
59664 ac_cpp='$CPP $CPPFLAGS'
59665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
59674 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
59676 if test x$glibcxx_cv_func__powl_use = x"yes"; then
59677 for ac_func in _powl
59678 do :
59679 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
59680 if test "x$ac_cv_func__powl" = xyes; then :
59681 cat >>confdefs.h <<_ACEOF
59682 #define HAVE__POWL 1
59683 _ACEOF
59686 done
59695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
59696 $as_echo_n "checking for sqrtl declaration... " >&6; }
59697 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
59698 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
59699 $as_echo_n "(cached) " >&6
59700 else
59703 ac_ext=cpp
59704 ac_cpp='$CXXCPP $CPPFLAGS'
59705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59710 /* end confdefs.h. */
59711 #include <math.h>
59712 #ifdef HAVE_IEEEFP_H
59713 #include <ieeefp.h>
59714 #endif
59717 main ()
59719 sqrtl(0);
59721 return 0;
59723 _ACEOF
59724 if ac_fn_cxx_try_compile "$LINENO"; then :
59725 glibcxx_cv_func_sqrtl_use=yes
59726 else
59727 glibcxx_cv_func_sqrtl_use=no
59729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59730 ac_ext=c
59731 ac_cpp='$CPP $CPPFLAGS'
59732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
59741 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
59743 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
59744 for ac_func in sqrtl
59745 do :
59746 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
59747 if test "x$ac_cv_func_sqrtl" = xyes; then :
59748 cat >>confdefs.h <<_ACEOF
59749 #define HAVE_SQRTL 1
59750 _ACEOF
59753 done
59755 else
59757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
59758 $as_echo_n "checking for _sqrtl declaration... " >&6; }
59759 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
59760 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
59761 $as_echo_n "(cached) " >&6
59762 else
59765 ac_ext=cpp
59766 ac_cpp='$CXXCPP $CPPFLAGS'
59767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59768 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59772 /* end confdefs.h. */
59773 #include <math.h>
59774 #ifdef HAVE_IEEEFP_H
59775 #include <ieeefp.h>
59776 #endif
59779 main ()
59781 _sqrtl(0);
59783 return 0;
59785 _ACEOF
59786 if ac_fn_cxx_try_compile "$LINENO"; then :
59787 glibcxx_cv_func__sqrtl_use=yes
59788 else
59789 glibcxx_cv_func__sqrtl_use=no
59791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59792 ac_ext=c
59793 ac_cpp='$CPP $CPPFLAGS'
59794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
59803 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
59805 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
59806 for ac_func in _sqrtl
59807 do :
59808 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
59809 if test "x$ac_cv_func__sqrtl" = xyes; then :
59810 cat >>confdefs.h <<_ACEOF
59811 #define HAVE__SQRTL 1
59812 _ACEOF
59815 done
59824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
59825 $as_echo_n "checking for sincosl declaration... " >&6; }
59826 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
59827 if ${glibcxx_cv_func_sincosl_use+:} false; then :
59828 $as_echo_n "(cached) " >&6
59829 else
59832 ac_ext=cpp
59833 ac_cpp='$CXXCPP $CPPFLAGS'
59834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59839 /* end confdefs.h. */
59840 #include <math.h>
59842 main ()
59844 sincosl(0, 0, 0);
59846 return 0;
59848 _ACEOF
59849 if ac_fn_cxx_try_compile "$LINENO"; then :
59850 glibcxx_cv_func_sincosl_use=yes
59851 else
59852 glibcxx_cv_func_sincosl_use=no
59854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59855 ac_ext=c
59856 ac_cpp='$CPP $CPPFLAGS'
59857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
59866 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
59868 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
59869 for ac_func in sincosl
59870 do :
59871 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
59872 if test "x$ac_cv_func_sincosl" = xyes; then :
59873 cat >>confdefs.h <<_ACEOF
59874 #define HAVE_SINCOSL 1
59875 _ACEOF
59878 done
59880 else
59882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
59883 $as_echo_n "checking for _sincosl declaration... " >&6; }
59884 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
59885 if ${glibcxx_cv_func__sincosl_use+:} false; then :
59886 $as_echo_n "(cached) " >&6
59887 else
59890 ac_ext=cpp
59891 ac_cpp='$CXXCPP $CPPFLAGS'
59892 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59893 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59894 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59897 /* end confdefs.h. */
59898 #include <math.h>
59900 main ()
59902 _sincosl(0, 0, 0);
59904 return 0;
59906 _ACEOF
59907 if ac_fn_cxx_try_compile "$LINENO"; then :
59908 glibcxx_cv_func__sincosl_use=yes
59909 else
59910 glibcxx_cv_func__sincosl_use=no
59912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59913 ac_ext=c
59914 ac_cpp='$CPP $CPPFLAGS'
59915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
59924 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
59926 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
59927 for ac_func in _sincosl
59928 do :
59929 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
59930 if test "x$ac_cv_func__sincosl" = xyes; then :
59931 cat >>confdefs.h <<_ACEOF
59932 #define HAVE__SINCOSL 1
59933 _ACEOF
59936 done
59945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
59946 $as_echo_n "checking for finitel declaration... " >&6; }
59947 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
59948 if ${glibcxx_cv_func_finitel_use+:} false; then :
59949 $as_echo_n "(cached) " >&6
59950 else
59953 ac_ext=cpp
59954 ac_cpp='$CXXCPP $CPPFLAGS'
59955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59960 /* end confdefs.h. */
59961 #include <math.h>
59962 #ifdef HAVE_IEEEFP_H
59963 #include <ieeefp.h>
59964 #endif
59967 main ()
59969 finitel(0);
59971 return 0;
59973 _ACEOF
59974 if ac_fn_cxx_try_compile "$LINENO"; then :
59975 glibcxx_cv_func_finitel_use=yes
59976 else
59977 glibcxx_cv_func_finitel_use=no
59979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59980 ac_ext=c
59981 ac_cpp='$CPP $CPPFLAGS'
59982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
59991 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
59993 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
59994 for ac_func in finitel
59995 do :
59996 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
59997 if test "x$ac_cv_func_finitel" = xyes; then :
59998 cat >>confdefs.h <<_ACEOF
59999 #define HAVE_FINITEL 1
60000 _ACEOF
60003 done
60005 else
60007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
60008 $as_echo_n "checking for _finitel declaration... " >&6; }
60009 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
60010 if ${glibcxx_cv_func__finitel_use+:} false; then :
60011 $as_echo_n "(cached) " >&6
60012 else
60015 ac_ext=cpp
60016 ac_cpp='$CXXCPP $CPPFLAGS'
60017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60022 /* end confdefs.h. */
60023 #include <math.h>
60024 #ifdef HAVE_IEEEFP_H
60025 #include <ieeefp.h>
60026 #endif
60029 main ()
60031 _finitel(0);
60033 return 0;
60035 _ACEOF
60036 if ac_fn_cxx_try_compile "$LINENO"; then :
60037 glibcxx_cv_func__finitel_use=yes
60038 else
60039 glibcxx_cv_func__finitel_use=no
60041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60042 ac_ext=c
60043 ac_cpp='$CPP $CPPFLAGS'
60044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
60053 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
60055 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
60056 for ac_func in _finitel
60057 do :
60058 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
60059 if test "x$ac_cv_func__finitel" = xyes; then :
60060 cat >>confdefs.h <<_ACEOF
60061 #define HAVE__FINITEL 1
60062 _ACEOF
60065 done
60073 LIBS="$ac_save_LIBS"
60074 CXXFLAGS="$ac_save_CXXFLAGS"
60077 ac_test_CXXFLAGS="${CXXFLAGS+set}"
60078 ac_save_CXXFLAGS="$CXXFLAGS"
60079 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
60082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
60083 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
60084 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
60085 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
60086 $as_echo_n "(cached) " >&6
60087 else
60090 ac_ext=cpp
60091 ac_cpp='$CXXCPP $CPPFLAGS'
60092 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60093 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60094 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60097 /* end confdefs.h. */
60098 #include <stdlib.h>
60100 main ()
60102 at_quick_exit(0);
60104 return 0;
60106 _ACEOF
60107 if ac_fn_cxx_try_compile "$LINENO"; then :
60108 glibcxx_cv_func_at_quick_exit_use=yes
60109 else
60110 glibcxx_cv_func_at_quick_exit_use=no
60112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60113 ac_ext=c
60114 ac_cpp='$CPP $CPPFLAGS'
60115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
60124 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
60125 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
60126 for ac_func in at_quick_exit
60127 do :
60128 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
60129 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
60130 cat >>confdefs.h <<_ACEOF
60131 #define HAVE_AT_QUICK_EXIT 1
60132 _ACEOF
60135 done
60140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
60141 $as_echo_n "checking for quick_exit declaration... " >&6; }
60142 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
60143 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
60144 $as_echo_n "(cached) " >&6
60145 else
60148 ac_ext=cpp
60149 ac_cpp='$CXXCPP $CPPFLAGS'
60150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60155 /* end confdefs.h. */
60156 #include <stdlib.h>
60158 main ()
60160 quick_exit(0);
60162 return 0;
60164 _ACEOF
60165 if ac_fn_cxx_try_compile "$LINENO"; then :
60166 glibcxx_cv_func_quick_exit_use=yes
60167 else
60168 glibcxx_cv_func_quick_exit_use=no
60170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60171 ac_ext=c
60172 ac_cpp='$CPP $CPPFLAGS'
60173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
60182 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
60183 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
60184 for ac_func in quick_exit
60185 do :
60186 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
60187 if test "x$ac_cv_func_quick_exit" = xyes; then :
60188 cat >>confdefs.h <<_ACEOF
60189 #define HAVE_QUICK_EXIT 1
60190 _ACEOF
60193 done
60198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
60199 $as_echo_n "checking for strtold declaration... " >&6; }
60200 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
60201 if ${glibcxx_cv_func_strtold_use+:} false; then :
60202 $as_echo_n "(cached) " >&6
60203 else
60206 ac_ext=cpp
60207 ac_cpp='$CXXCPP $CPPFLAGS'
60208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60213 /* end confdefs.h. */
60214 #include <stdlib.h>
60216 main ()
60218 strtold(0, 0);
60220 return 0;
60222 _ACEOF
60223 if ac_fn_cxx_try_compile "$LINENO"; then :
60224 glibcxx_cv_func_strtold_use=yes
60225 else
60226 glibcxx_cv_func_strtold_use=no
60228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60229 ac_ext=c
60230 ac_cpp='$CPP $CPPFLAGS'
60231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
60240 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
60241 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
60242 for ac_func in strtold
60243 do :
60244 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
60245 if test "x$ac_cv_func_strtold" = xyes; then :
60246 cat >>confdefs.h <<_ACEOF
60247 #define HAVE_STRTOLD 1
60248 _ACEOF
60251 done
60258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
60259 $as_echo_n "checking for strtof declaration... " >&6; }
60260 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
60261 if ${glibcxx_cv_func_strtof_use+:} false; then :
60262 $as_echo_n "(cached) " >&6
60263 else
60266 ac_ext=cpp
60267 ac_cpp='$CXXCPP $CPPFLAGS'
60268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60273 /* end confdefs.h. */
60274 #include <stdlib.h>
60276 main ()
60278 strtof(0, 0);
60280 return 0;
60282 _ACEOF
60283 if ac_fn_cxx_try_compile "$LINENO"; then :
60284 glibcxx_cv_func_strtof_use=yes
60285 else
60286 glibcxx_cv_func_strtof_use=no
60288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60289 ac_ext=c
60290 ac_cpp='$CPP $CPPFLAGS'
60291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
60300 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
60301 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
60302 for ac_func in strtof
60303 do :
60304 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
60305 if test "x$ac_cv_func_strtof" = xyes; then :
60306 cat >>confdefs.h <<_ACEOF
60307 #define HAVE_STRTOF 1
60308 _ACEOF
60311 done
60318 CXXFLAGS="$ac_save_CXXFLAGS"
60320 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
60321 do :
60322 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60323 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60324 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
60325 cat >>confdefs.h <<_ACEOF
60326 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60327 _ACEOF
60330 done
60332 for ac_func in _wfopen
60333 do :
60334 ac_fn_c_check_func "$LINENO" "_wfopen" "ac_cv_func__wfopen"
60335 if test "x$ac_cv_func__wfopen" = xyes; then :
60336 cat >>confdefs.h <<_ACEOF
60337 #define HAVE__WFOPEN 1
60338 _ACEOF
60341 done
60344 *-netbsd* | *-openbsd*)
60345 SECTION_FLAGS='-ffunction-sections -fdata-sections'
60348 # If we're not using GNU ld, then there's no point in even trying these
60349 # tests. Check for that first. We should have already tested for gld
60350 # by now (in libtool), but require it now just to be safe...
60351 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
60352 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
60356 # The name set by libtool depends on the version of libtool. Shame on us
60357 # for depending on an impl detail, but c'est la vie. Older versions used
60358 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
60359 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
60360 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
60361 # set (hence we're using an older libtool), then set it.
60362 if test x${with_gnu_ld+set} != xset; then
60363 if test x${ac_cv_prog_gnu_ld+set} != xset; then
60364 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
60365 with_gnu_ld=no
60366 else
60367 with_gnu_ld=$ac_cv_prog_gnu_ld
60371 # Start by getting the version number. I think the libtool test already
60372 # does some of this, but throws away the result.
60373 glibcxx_ld_is_gold=no
60374 if test x"$with_gnu_ld" = x"yes"; then
60375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
60376 $as_echo_n "checking for ld version... " >&6; }
60378 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
60379 glibcxx_ld_is_gold=yes
60381 ldver=`$LD --version 2>/dev/null |
60382 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
60384 glibcxx_gnu_ld_version=`echo $ldver | \
60385 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
60386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
60387 $as_echo "$glibcxx_gnu_ld_version" >&6; }
60390 # Set --gc-sections.
60391 glibcxx_have_gc_sections=no
60392 if test "$glibcxx_ld_is_gold" = "yes"; then
60393 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
60394 glibcxx_have_gc_sections=yes
60396 else
60397 glibcxx_gcsections_min_ld=21602
60398 if test x"$with_gnu_ld" = x"yes" &&
60399 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
60400 glibcxx_have_gc_sections=yes
60403 if test "$glibcxx_have_gc_sections" = "yes"; then
60404 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
60405 # NB: This flag only works reliably after 2.16.1. Configure tests
60406 # for this are difficult, so hard wire a value that should work.
60408 ac_test_CFLAGS="${CFLAGS+set}"
60409 ac_save_CFLAGS="$CFLAGS"
60410 CFLAGS='-Wl,--gc-sections'
60412 # Check for -Wl,--gc-sections
60413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
60414 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
60415 if test x$gcc_no_link = xyes; then
60416 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60419 /* end confdefs.h. */
60420 int one(void) { return 1; }
60421 int two(void) { return 2; }
60424 main ()
60426 two();
60428 return 0;
60430 _ACEOF
60431 if ac_fn_c_try_link "$LINENO"; then :
60432 ac_gcsections=yes
60433 else
60434 ac_gcsections=no
60436 rm -f core conftest.err conftest.$ac_objext \
60437 conftest$ac_exeext conftest.$ac_ext
60438 if test "$ac_gcsections" = "yes"; then
60439 rm -f conftest.c
60440 touch conftest.c
60441 if $CC -c conftest.c; then
60442 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
60443 grep "Warning: gc-sections option ignored" > /dev/null; then
60444 ac_gcsections=no
60447 rm -f conftest.c conftest.o conftest
60449 if test "$ac_gcsections" = "yes"; then
60450 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
60452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
60453 $as_echo "$ac_gcsections" >&6; }
60455 if test "$ac_test_CFLAGS" = set; then
60456 CFLAGS="$ac_save_CFLAGS"
60457 else
60458 # this is the suspicious part
60459 CFLAGS=''
60463 # Set -z,relro.
60464 # Note this is only for shared objects.
60465 ac_ld_relro=no
60466 if test x"$with_gnu_ld" = x"yes"; then
60467 # cygwin and mingw uses PE, which has no ELF relro support,
60468 # multi target ld may confuse configure machinery
60469 case "$host" in
60470 *-*-cygwin*)
60472 *-*-mingw*)
60475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
60476 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
60477 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
60478 if test -n "$cxx_z_relo"; then
60479 OPT_LDFLAGS="-Wl,-z,relro"
60480 ac_ld_relro=yes
60482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
60483 $as_echo "$ac_ld_relro" >&6; }
60484 esac
60487 # Set linker optimization flags.
60488 if test x"$with_gnu_ld" = x"yes"; then
60489 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
60495 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
60497 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
60499 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
60501 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
60503 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
60505 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
60507 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
60509 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
60511 if test x"long_double_math_on_this_cpu" = x"yes"; then
60512 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
60514 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
60516 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
60519 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
60520 do :
60521 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60522 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60523 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
60524 cat >>confdefs.h <<_ACEOF
60525 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60526 _ACEOF
60529 done
60531 for ac_func in timespec_get
60532 do :
60533 ac_fn_c_check_func "$LINENO" "timespec_get" "ac_cv_func_timespec_get"
60534 if test "x$ac_cv_func_timespec_get" = xyes; then :
60535 cat >>confdefs.h <<_ACEOF
60536 #define HAVE_TIMESPEC_GET 1
60537 _ACEOF
60540 done
60542 for ac_func in sockatmark
60543 do :
60544 ac_fn_c_check_func "$LINENO" "sockatmark" "ac_cv_func_sockatmark"
60545 if test "x$ac_cv_func_sockatmark" = xyes; then :
60546 cat >>confdefs.h <<_ACEOF
60547 #define HAVE_SOCKATMARK 1
60548 _ACEOF
60551 done
60554 *-qnx6.1* | *-qnx6.2*)
60555 SECTION_FLAGS='-ffunction-sections -fdata-sections'
60558 # If we're not using GNU ld, then there's no point in even trying these
60559 # tests. Check for that first. We should have already tested for gld
60560 # by now (in libtool), but require it now just to be safe...
60561 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
60562 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
60566 # The name set by libtool depends on the version of libtool. Shame on us
60567 # for depending on an impl detail, but c'est la vie. Older versions used
60568 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
60569 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
60570 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
60571 # set (hence we're using an older libtool), then set it.
60572 if test x${with_gnu_ld+set} != xset; then
60573 if test x${ac_cv_prog_gnu_ld+set} != xset; then
60574 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
60575 with_gnu_ld=no
60576 else
60577 with_gnu_ld=$ac_cv_prog_gnu_ld
60581 # Start by getting the version number. I think the libtool test already
60582 # does some of this, but throws away the result.
60583 glibcxx_ld_is_gold=no
60584 if test x"$with_gnu_ld" = x"yes"; then
60585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
60586 $as_echo_n "checking for ld version... " >&6; }
60588 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
60589 glibcxx_ld_is_gold=yes
60591 ldver=`$LD --version 2>/dev/null |
60592 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
60594 glibcxx_gnu_ld_version=`echo $ldver | \
60595 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
60596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
60597 $as_echo "$glibcxx_gnu_ld_version" >&6; }
60600 # Set --gc-sections.
60601 glibcxx_have_gc_sections=no
60602 if test "$glibcxx_ld_is_gold" = "yes"; then
60603 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
60604 glibcxx_have_gc_sections=yes
60606 else
60607 glibcxx_gcsections_min_ld=21602
60608 if test x"$with_gnu_ld" = x"yes" &&
60609 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
60610 glibcxx_have_gc_sections=yes
60613 if test "$glibcxx_have_gc_sections" = "yes"; then
60614 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
60615 # NB: This flag only works reliably after 2.16.1. Configure tests
60616 # for this are difficult, so hard wire a value that should work.
60618 ac_test_CFLAGS="${CFLAGS+set}"
60619 ac_save_CFLAGS="$CFLAGS"
60620 CFLAGS='-Wl,--gc-sections'
60622 # Check for -Wl,--gc-sections
60623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
60624 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
60625 if test x$gcc_no_link = xyes; then
60626 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60629 /* end confdefs.h. */
60630 int one(void) { return 1; }
60631 int two(void) { return 2; }
60634 main ()
60636 two();
60638 return 0;
60640 _ACEOF
60641 if ac_fn_c_try_link "$LINENO"; then :
60642 ac_gcsections=yes
60643 else
60644 ac_gcsections=no
60646 rm -f core conftest.err conftest.$ac_objext \
60647 conftest$ac_exeext conftest.$ac_ext
60648 if test "$ac_gcsections" = "yes"; then
60649 rm -f conftest.c
60650 touch conftest.c
60651 if $CC -c conftest.c; then
60652 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
60653 grep "Warning: gc-sections option ignored" > /dev/null; then
60654 ac_gcsections=no
60657 rm -f conftest.c conftest.o conftest
60659 if test "$ac_gcsections" = "yes"; then
60660 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
60662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
60663 $as_echo "$ac_gcsections" >&6; }
60665 if test "$ac_test_CFLAGS" = set; then
60666 CFLAGS="$ac_save_CFLAGS"
60667 else
60668 # this is the suspicious part
60669 CFLAGS=''
60673 # Set -z,relro.
60674 # Note this is only for shared objects.
60675 ac_ld_relro=no
60676 if test x"$with_gnu_ld" = x"yes"; then
60677 # cygwin and mingw uses PE, which has no ELF relro support,
60678 # multi target ld may confuse configure machinery
60679 case "$host" in
60680 *-*-cygwin*)
60682 *-*-mingw*)
60685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
60686 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
60687 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
60688 if test -n "$cxx_z_relo"; then
60689 OPT_LDFLAGS="-Wl,-z,relro"
60690 ac_ld_relro=yes
60692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
60693 $as_echo "$ac_ld_relro" >&6; }
60694 esac
60697 # Set linker optimization flags.
60698 if test x"$with_gnu_ld" = x"yes"; then
60699 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
60705 $as_echo "#define HAVE_COSF 1" >>confdefs.h
60707 $as_echo "#define HAVE_COSL 1" >>confdefs.h
60709 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
60711 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
60713 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
60715 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
60717 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
60719 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
60721 $as_echo "#define HAVE_SINF 1" >>confdefs.h
60723 $as_echo "#define HAVE_SINL 1" >>confdefs.h
60725 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
60727 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
60730 *-rtems*)
60732 # All these tests are for C++; save the language and the compiler flags.
60733 # The CXXFLAGS thing is suspicious, but based on similar bits previously
60734 # found in GLIBCXX_CONFIGURE.
60736 ac_ext=cpp
60737 ac_cpp='$CXXCPP $CPPFLAGS'
60738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60742 ac_test_CXXFLAGS="${CXXFLAGS+set}"
60743 ac_save_CXXFLAGS="$CXXFLAGS"
60745 # Check for -ffunction-sections -fdata-sections
60746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
60747 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
60748 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
60749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60750 /* end confdefs.h. */
60751 int foo; void bar() { };
60753 main ()
60757 return 0;
60759 _ACEOF
60760 if ac_fn_cxx_try_compile "$LINENO"; then :
60761 ac_fdsections=yes
60762 else
60763 ac_fdsections=no
60765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60766 if test "$ac_test_CXXFLAGS" = set; then
60767 CXXFLAGS="$ac_save_CXXFLAGS"
60768 else
60769 # this is the suspicious part
60770 CXXFLAGS=''
60772 if test x"$ac_fdsections" = x"yes"; then
60773 SECTION_FLAGS='-ffunction-sections -fdata-sections'
60775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
60776 $as_echo "$ac_fdsections" >&6; }
60778 ac_ext=c
60779 ac_cpp='$CPP $CPPFLAGS'
60780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60787 # If we're not using GNU ld, then there's no point in even trying these
60788 # tests. Check for that first. We should have already tested for gld
60789 # by now (in libtool), but require it now just to be safe...
60790 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
60791 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
60795 # The name set by libtool depends on the version of libtool. Shame on us
60796 # for depending on an impl detail, but c'est la vie. Older versions used
60797 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
60798 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
60799 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
60800 # set (hence we're using an older libtool), then set it.
60801 if test x${with_gnu_ld+set} != xset; then
60802 if test x${ac_cv_prog_gnu_ld+set} != xset; then
60803 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
60804 with_gnu_ld=no
60805 else
60806 with_gnu_ld=$ac_cv_prog_gnu_ld
60810 # Start by getting the version number. I think the libtool test already
60811 # does some of this, but throws away the result.
60812 glibcxx_ld_is_gold=no
60813 if test x"$with_gnu_ld" = x"yes"; then
60814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
60815 $as_echo_n "checking for ld version... " >&6; }
60817 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
60818 glibcxx_ld_is_gold=yes
60820 ldver=`$LD --version 2>/dev/null |
60821 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
60823 glibcxx_gnu_ld_version=`echo $ldver | \
60824 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
60825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
60826 $as_echo "$glibcxx_gnu_ld_version" >&6; }
60829 # Set --gc-sections.
60830 glibcxx_have_gc_sections=no
60831 if test "$glibcxx_ld_is_gold" = "yes"; then
60832 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
60833 glibcxx_have_gc_sections=yes
60835 else
60836 glibcxx_gcsections_min_ld=21602
60837 if test x"$with_gnu_ld" = x"yes" &&
60838 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
60839 glibcxx_have_gc_sections=yes
60842 if test "$glibcxx_have_gc_sections" = "yes"; then
60843 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
60844 # NB: This flag only works reliably after 2.16.1. Configure tests
60845 # for this are difficult, so hard wire a value that should work.
60847 ac_test_CFLAGS="${CFLAGS+set}"
60848 ac_save_CFLAGS="$CFLAGS"
60849 CFLAGS='-Wl,--gc-sections'
60851 # Check for -Wl,--gc-sections
60852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
60853 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
60854 if test x$gcc_no_link = xyes; then
60855 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60858 /* end confdefs.h. */
60859 int one(void) { return 1; }
60860 int two(void) { return 2; }
60863 main ()
60865 two();
60867 return 0;
60869 _ACEOF
60870 if ac_fn_c_try_link "$LINENO"; then :
60871 ac_gcsections=yes
60872 else
60873 ac_gcsections=no
60875 rm -f core conftest.err conftest.$ac_objext \
60876 conftest$ac_exeext conftest.$ac_ext
60877 if test "$ac_gcsections" = "yes"; then
60878 rm -f conftest.c
60879 touch conftest.c
60880 if $CC -c conftest.c; then
60881 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
60882 grep "Warning: gc-sections option ignored" > /dev/null; then
60883 ac_gcsections=no
60886 rm -f conftest.c conftest.o conftest
60888 if test "$ac_gcsections" = "yes"; then
60889 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
60891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
60892 $as_echo "$ac_gcsections" >&6; }
60894 if test "$ac_test_CFLAGS" = set; then
60895 CFLAGS="$ac_save_CFLAGS"
60896 else
60897 # this is the suspicious part
60898 CFLAGS=''
60902 # Set -z,relro.
60903 # Note this is only for shared objects.
60904 ac_ld_relro=no
60905 if test x"$with_gnu_ld" = x"yes"; then
60906 # cygwin and mingw uses PE, which has no ELF relro support,
60907 # multi target ld may confuse configure machinery
60908 case "$host" in
60909 *-*-cygwin*)
60911 *-*-mingw*)
60914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
60915 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
60916 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
60917 if test -n "$cxx_z_relo"; then
60918 OPT_LDFLAGS="-Wl,-z,relro"
60919 ac_ld_relro=yes
60921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
60922 $as_echo "$ac_ld_relro" >&6; }
60923 esac
60926 # Set linker optimization flags.
60927 if test x"$with_gnu_ld" = x"yes"; then
60928 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
60935 ac_test_CXXFLAGS="${CXXFLAGS+set}"
60936 ac_save_CXXFLAGS="$CXXFLAGS"
60937 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
60939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
60940 $as_echo_n "checking for sin in -lm... " >&6; }
60941 if ${ac_cv_lib_m_sin+:} false; then :
60942 $as_echo_n "(cached) " >&6
60943 else
60944 ac_check_lib_save_LIBS=$LIBS
60945 LIBS="-lm $LIBS"
60946 if test x$gcc_no_link = xyes; then
60947 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60950 /* end confdefs.h. */
60952 /* Override any GCC internal prototype to avoid an error.
60953 Use char because int might match the return type of a GCC
60954 builtin and then its argument prototype would still apply. */
60955 #ifdef __cplusplus
60956 extern "C"
60957 #endif
60958 char sin ();
60960 main ()
60962 return sin ();
60964 return 0;
60966 _ACEOF
60967 if ac_fn_c_try_link "$LINENO"; then :
60968 ac_cv_lib_m_sin=yes
60969 else
60970 ac_cv_lib_m_sin=no
60972 rm -f core conftest.err conftest.$ac_objext \
60973 conftest$ac_exeext conftest.$ac_ext
60974 LIBS=$ac_check_lib_save_LIBS
60976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
60977 $as_echo "$ac_cv_lib_m_sin" >&6; }
60978 if test "x$ac_cv_lib_m_sin" = xyes; then :
60979 libm="-lm"
60982 ac_save_LIBS="$LIBS"
60983 LIBS="$LIBS $libm"
60987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
60988 $as_echo_n "checking for isinf declaration... " >&6; }
60989 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
60990 if ${glibcxx_cv_func_isinf_use+:} false; then :
60991 $as_echo_n "(cached) " >&6
60992 else
60995 ac_ext=cpp
60996 ac_cpp='$CXXCPP $CPPFLAGS'
60997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61002 /* end confdefs.h. */
61003 #include <math.h>
61004 #ifdef HAVE_IEEEFP_H
61005 #include <ieeefp.h>
61006 #endif
61009 main ()
61011 isinf(0);
61013 return 0;
61015 _ACEOF
61016 if ac_fn_cxx_try_compile "$LINENO"; then :
61017 glibcxx_cv_func_isinf_use=yes
61018 else
61019 glibcxx_cv_func_isinf_use=no
61021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61022 ac_ext=c
61023 ac_cpp='$CPP $CPPFLAGS'
61024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
61033 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
61035 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
61036 for ac_func in isinf
61037 do :
61038 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
61039 if test "x$ac_cv_func_isinf" = xyes; then :
61040 cat >>confdefs.h <<_ACEOF
61041 #define HAVE_ISINF 1
61042 _ACEOF
61045 done
61047 else
61049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
61050 $as_echo_n "checking for _isinf declaration... " >&6; }
61051 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
61052 if ${glibcxx_cv_func__isinf_use+:} false; then :
61053 $as_echo_n "(cached) " >&6
61054 else
61057 ac_ext=cpp
61058 ac_cpp='$CXXCPP $CPPFLAGS'
61059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61064 /* end confdefs.h. */
61065 #include <math.h>
61066 #ifdef HAVE_IEEEFP_H
61067 #include <ieeefp.h>
61068 #endif
61071 main ()
61073 _isinf(0);
61075 return 0;
61077 _ACEOF
61078 if ac_fn_cxx_try_compile "$LINENO"; then :
61079 glibcxx_cv_func__isinf_use=yes
61080 else
61081 glibcxx_cv_func__isinf_use=no
61083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61084 ac_ext=c
61085 ac_cpp='$CPP $CPPFLAGS'
61086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
61095 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
61097 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
61098 for ac_func in _isinf
61099 do :
61100 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
61101 if test "x$ac_cv_func__isinf" = xyes; then :
61102 cat >>confdefs.h <<_ACEOF
61103 #define HAVE__ISINF 1
61104 _ACEOF
61107 done
61116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
61117 $as_echo_n "checking for isnan declaration... " >&6; }
61118 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
61119 if ${glibcxx_cv_func_isnan_use+:} false; then :
61120 $as_echo_n "(cached) " >&6
61121 else
61124 ac_ext=cpp
61125 ac_cpp='$CXXCPP $CPPFLAGS'
61126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61131 /* end confdefs.h. */
61132 #include <math.h>
61133 #ifdef HAVE_IEEEFP_H
61134 #include <ieeefp.h>
61135 #endif
61138 main ()
61140 isnan(0);
61142 return 0;
61144 _ACEOF
61145 if ac_fn_cxx_try_compile "$LINENO"; then :
61146 glibcxx_cv_func_isnan_use=yes
61147 else
61148 glibcxx_cv_func_isnan_use=no
61150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61151 ac_ext=c
61152 ac_cpp='$CPP $CPPFLAGS'
61153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
61162 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
61164 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
61165 for ac_func in isnan
61166 do :
61167 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
61168 if test "x$ac_cv_func_isnan" = xyes; then :
61169 cat >>confdefs.h <<_ACEOF
61170 #define HAVE_ISNAN 1
61171 _ACEOF
61174 done
61176 else
61178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
61179 $as_echo_n "checking for _isnan declaration... " >&6; }
61180 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
61181 if ${glibcxx_cv_func__isnan_use+:} false; then :
61182 $as_echo_n "(cached) " >&6
61183 else
61186 ac_ext=cpp
61187 ac_cpp='$CXXCPP $CPPFLAGS'
61188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61193 /* end confdefs.h. */
61194 #include <math.h>
61195 #ifdef HAVE_IEEEFP_H
61196 #include <ieeefp.h>
61197 #endif
61200 main ()
61202 _isnan(0);
61204 return 0;
61206 _ACEOF
61207 if ac_fn_cxx_try_compile "$LINENO"; then :
61208 glibcxx_cv_func__isnan_use=yes
61209 else
61210 glibcxx_cv_func__isnan_use=no
61212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61213 ac_ext=c
61214 ac_cpp='$CPP $CPPFLAGS'
61215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
61224 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
61226 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
61227 for ac_func in _isnan
61228 do :
61229 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
61230 if test "x$ac_cv_func__isnan" = xyes; then :
61231 cat >>confdefs.h <<_ACEOF
61232 #define HAVE__ISNAN 1
61233 _ACEOF
61236 done
61245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
61246 $as_echo_n "checking for finite declaration... " >&6; }
61247 if test x${glibcxx_cv_func_finite_use+set} != xset; then
61248 if ${glibcxx_cv_func_finite_use+:} false; then :
61249 $as_echo_n "(cached) " >&6
61250 else
61253 ac_ext=cpp
61254 ac_cpp='$CXXCPP $CPPFLAGS'
61255 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61256 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61257 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61260 /* end confdefs.h. */
61261 #include <math.h>
61262 #ifdef HAVE_IEEEFP_H
61263 #include <ieeefp.h>
61264 #endif
61267 main ()
61269 finite(0);
61271 return 0;
61273 _ACEOF
61274 if ac_fn_cxx_try_compile "$LINENO"; then :
61275 glibcxx_cv_func_finite_use=yes
61276 else
61277 glibcxx_cv_func_finite_use=no
61279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61280 ac_ext=c
61281 ac_cpp='$CPP $CPPFLAGS'
61282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
61291 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
61293 if test x$glibcxx_cv_func_finite_use = x"yes"; then
61294 for ac_func in finite
61295 do :
61296 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
61297 if test "x$ac_cv_func_finite" = xyes; then :
61298 cat >>confdefs.h <<_ACEOF
61299 #define HAVE_FINITE 1
61300 _ACEOF
61303 done
61305 else
61307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
61308 $as_echo_n "checking for _finite declaration... " >&6; }
61309 if test x${glibcxx_cv_func__finite_use+set} != xset; then
61310 if ${glibcxx_cv_func__finite_use+:} false; then :
61311 $as_echo_n "(cached) " >&6
61312 else
61315 ac_ext=cpp
61316 ac_cpp='$CXXCPP $CPPFLAGS'
61317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61322 /* end confdefs.h. */
61323 #include <math.h>
61324 #ifdef HAVE_IEEEFP_H
61325 #include <ieeefp.h>
61326 #endif
61329 main ()
61331 _finite(0);
61333 return 0;
61335 _ACEOF
61336 if ac_fn_cxx_try_compile "$LINENO"; then :
61337 glibcxx_cv_func__finite_use=yes
61338 else
61339 glibcxx_cv_func__finite_use=no
61341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61342 ac_ext=c
61343 ac_cpp='$CPP $CPPFLAGS'
61344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
61353 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
61355 if test x$glibcxx_cv_func__finite_use = x"yes"; then
61356 for ac_func in _finite
61357 do :
61358 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
61359 if test "x$ac_cv_func__finite" = xyes; then :
61360 cat >>confdefs.h <<_ACEOF
61361 #define HAVE__FINITE 1
61362 _ACEOF
61365 done
61374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
61375 $as_echo_n "checking for sincos declaration... " >&6; }
61376 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
61377 if ${glibcxx_cv_func_sincos_use+:} false; then :
61378 $as_echo_n "(cached) " >&6
61379 else
61382 ac_ext=cpp
61383 ac_cpp='$CXXCPP $CPPFLAGS'
61384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61389 /* end confdefs.h. */
61390 #include <math.h>
61392 main ()
61394 sincos(0, 0, 0);
61396 return 0;
61398 _ACEOF
61399 if ac_fn_cxx_try_compile "$LINENO"; then :
61400 glibcxx_cv_func_sincos_use=yes
61401 else
61402 glibcxx_cv_func_sincos_use=no
61404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61405 ac_ext=c
61406 ac_cpp='$CPP $CPPFLAGS'
61407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
61416 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
61418 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
61419 for ac_func in sincos
61420 do :
61421 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
61422 if test "x$ac_cv_func_sincos" = xyes; then :
61423 cat >>confdefs.h <<_ACEOF
61424 #define HAVE_SINCOS 1
61425 _ACEOF
61428 done
61430 else
61432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
61433 $as_echo_n "checking for _sincos declaration... " >&6; }
61434 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
61435 if ${glibcxx_cv_func__sincos_use+:} false; then :
61436 $as_echo_n "(cached) " >&6
61437 else
61440 ac_ext=cpp
61441 ac_cpp='$CXXCPP $CPPFLAGS'
61442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61447 /* end confdefs.h. */
61448 #include <math.h>
61450 main ()
61452 _sincos(0, 0, 0);
61454 return 0;
61456 _ACEOF
61457 if ac_fn_cxx_try_compile "$LINENO"; then :
61458 glibcxx_cv_func__sincos_use=yes
61459 else
61460 glibcxx_cv_func__sincos_use=no
61462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61463 ac_ext=c
61464 ac_cpp='$CPP $CPPFLAGS'
61465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
61474 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
61476 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
61477 for ac_func in _sincos
61478 do :
61479 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
61480 if test "x$ac_cv_func__sincos" = xyes; then :
61481 cat >>confdefs.h <<_ACEOF
61482 #define HAVE__SINCOS 1
61483 _ACEOF
61486 done
61495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
61496 $as_echo_n "checking for fpclass declaration... " >&6; }
61497 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
61498 if ${glibcxx_cv_func_fpclass_use+:} false; then :
61499 $as_echo_n "(cached) " >&6
61500 else
61503 ac_ext=cpp
61504 ac_cpp='$CXXCPP $CPPFLAGS'
61505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61510 /* end confdefs.h. */
61511 #include <math.h>
61512 #ifdef HAVE_IEEEFP_H
61513 #include <ieeefp.h>
61514 #endif
61517 main ()
61519 fpclass(0);
61521 return 0;
61523 _ACEOF
61524 if ac_fn_cxx_try_compile "$LINENO"; then :
61525 glibcxx_cv_func_fpclass_use=yes
61526 else
61527 glibcxx_cv_func_fpclass_use=no
61529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61530 ac_ext=c
61531 ac_cpp='$CPP $CPPFLAGS'
61532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
61541 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
61543 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
61544 for ac_func in fpclass
61545 do :
61546 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
61547 if test "x$ac_cv_func_fpclass" = xyes; then :
61548 cat >>confdefs.h <<_ACEOF
61549 #define HAVE_FPCLASS 1
61550 _ACEOF
61553 done
61555 else
61557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
61558 $as_echo_n "checking for _fpclass declaration... " >&6; }
61559 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
61560 if ${glibcxx_cv_func__fpclass_use+:} false; then :
61561 $as_echo_n "(cached) " >&6
61562 else
61565 ac_ext=cpp
61566 ac_cpp='$CXXCPP $CPPFLAGS'
61567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61572 /* end confdefs.h. */
61573 #include <math.h>
61574 #ifdef HAVE_IEEEFP_H
61575 #include <ieeefp.h>
61576 #endif
61579 main ()
61581 _fpclass(0);
61583 return 0;
61585 _ACEOF
61586 if ac_fn_cxx_try_compile "$LINENO"; then :
61587 glibcxx_cv_func__fpclass_use=yes
61588 else
61589 glibcxx_cv_func__fpclass_use=no
61591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61592 ac_ext=c
61593 ac_cpp='$CPP $CPPFLAGS'
61594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
61603 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
61605 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
61606 for ac_func in _fpclass
61607 do :
61608 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
61609 if test "x$ac_cv_func__fpclass" = xyes; then :
61610 cat >>confdefs.h <<_ACEOF
61611 #define HAVE__FPCLASS 1
61612 _ACEOF
61615 done
61624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
61625 $as_echo_n "checking for qfpclass declaration... " >&6; }
61626 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
61627 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
61628 $as_echo_n "(cached) " >&6
61629 else
61632 ac_ext=cpp
61633 ac_cpp='$CXXCPP $CPPFLAGS'
61634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61639 /* end confdefs.h. */
61640 #include <math.h>
61641 #ifdef HAVE_IEEEFP_H
61642 #include <ieeefp.h>
61643 #endif
61646 main ()
61648 qfpclass(0);
61650 return 0;
61652 _ACEOF
61653 if ac_fn_cxx_try_compile "$LINENO"; then :
61654 glibcxx_cv_func_qfpclass_use=yes
61655 else
61656 glibcxx_cv_func_qfpclass_use=no
61658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61659 ac_ext=c
61660 ac_cpp='$CPP $CPPFLAGS'
61661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
61670 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
61672 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
61673 for ac_func in qfpclass
61674 do :
61675 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
61676 if test "x$ac_cv_func_qfpclass" = xyes; then :
61677 cat >>confdefs.h <<_ACEOF
61678 #define HAVE_QFPCLASS 1
61679 _ACEOF
61682 done
61684 else
61686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
61687 $as_echo_n "checking for _qfpclass declaration... " >&6; }
61688 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
61689 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
61690 $as_echo_n "(cached) " >&6
61691 else
61694 ac_ext=cpp
61695 ac_cpp='$CXXCPP $CPPFLAGS'
61696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61701 /* end confdefs.h. */
61702 #include <math.h>
61703 #ifdef HAVE_IEEEFP_H
61704 #include <ieeefp.h>
61705 #endif
61708 main ()
61710 _qfpclass(0);
61712 return 0;
61714 _ACEOF
61715 if ac_fn_cxx_try_compile "$LINENO"; then :
61716 glibcxx_cv_func__qfpclass_use=yes
61717 else
61718 glibcxx_cv_func__qfpclass_use=no
61720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61721 ac_ext=c
61722 ac_cpp='$CPP $CPPFLAGS'
61723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
61732 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
61734 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
61735 for ac_func in _qfpclass
61736 do :
61737 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
61738 if test "x$ac_cv_func__qfpclass" = xyes; then :
61739 cat >>confdefs.h <<_ACEOF
61740 #define HAVE__QFPCLASS 1
61741 _ACEOF
61744 done
61753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
61754 $as_echo_n "checking for hypot declaration... " >&6; }
61755 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
61756 if ${glibcxx_cv_func_hypot_use+:} false; then :
61757 $as_echo_n "(cached) " >&6
61758 else
61761 ac_ext=cpp
61762 ac_cpp='$CXXCPP $CPPFLAGS'
61763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61768 /* end confdefs.h. */
61769 #include <math.h>
61771 main ()
61773 hypot(0, 0);
61775 return 0;
61777 _ACEOF
61778 if ac_fn_cxx_try_compile "$LINENO"; then :
61779 glibcxx_cv_func_hypot_use=yes
61780 else
61781 glibcxx_cv_func_hypot_use=no
61783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61784 ac_ext=c
61785 ac_cpp='$CPP $CPPFLAGS'
61786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
61795 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
61797 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
61798 for ac_func in hypot
61799 do :
61800 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
61801 if test "x$ac_cv_func_hypot" = xyes; then :
61802 cat >>confdefs.h <<_ACEOF
61803 #define HAVE_HYPOT 1
61804 _ACEOF
61807 done
61809 else
61811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
61812 $as_echo_n "checking for _hypot declaration... " >&6; }
61813 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
61814 if ${glibcxx_cv_func__hypot_use+:} false; then :
61815 $as_echo_n "(cached) " >&6
61816 else
61819 ac_ext=cpp
61820 ac_cpp='$CXXCPP $CPPFLAGS'
61821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61826 /* end confdefs.h. */
61827 #include <math.h>
61829 main ()
61831 _hypot(0, 0);
61833 return 0;
61835 _ACEOF
61836 if ac_fn_cxx_try_compile "$LINENO"; then :
61837 glibcxx_cv_func__hypot_use=yes
61838 else
61839 glibcxx_cv_func__hypot_use=no
61841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61842 ac_ext=c
61843 ac_cpp='$CPP $CPPFLAGS'
61844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
61853 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
61855 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
61856 for ac_func in _hypot
61857 do :
61858 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
61859 if test "x$ac_cv_func__hypot" = xyes; then :
61860 cat >>confdefs.h <<_ACEOF
61861 #define HAVE__HYPOT 1
61862 _ACEOF
61865 done
61874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
61875 $as_echo_n "checking for float trig functions... " >&6; }
61876 if ${glibcxx_cv_func_float_trig_use+:} false; then :
61877 $as_echo_n "(cached) " >&6
61878 else
61881 ac_ext=cpp
61882 ac_cpp='$CXXCPP $CPPFLAGS'
61883 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61884 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61885 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61888 /* end confdefs.h. */
61889 #include <math.h>
61891 main ()
61893 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
61895 return 0;
61897 _ACEOF
61898 if ac_fn_cxx_try_compile "$LINENO"; then :
61899 glibcxx_cv_func_float_trig_use=yes
61900 else
61901 glibcxx_cv_func_float_trig_use=no
61903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61904 ac_ext=c
61905 ac_cpp='$CPP $CPPFLAGS'
61906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
61913 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
61914 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
61915 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
61916 do :
61917 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61918 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61919 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
61920 cat >>confdefs.h <<_ACEOF
61921 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61922 _ACEOF
61925 done
61927 else
61928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
61929 $as_echo_n "checking for _float trig functions... " >&6; }
61930 if ${glibcxx_cv_func__float_trig_use+:} false; then :
61931 $as_echo_n "(cached) " >&6
61932 else
61935 ac_ext=cpp
61936 ac_cpp='$CXXCPP $CPPFLAGS'
61937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61942 /* end confdefs.h. */
61943 #include <math.h>
61945 main ()
61947 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
61949 return 0;
61951 _ACEOF
61952 if ac_fn_cxx_try_compile "$LINENO"; then :
61953 glibcxx_cv_func__float_trig_use=yes
61954 else
61955 glibcxx_cv_func__float_trig_use=no
61957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61958 ac_ext=c
61959 ac_cpp='$CPP $CPPFLAGS'
61960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
61967 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
61968 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
61969 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
61970 do :
61971 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61972 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61973 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
61974 cat >>confdefs.h <<_ACEOF
61975 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61976 _ACEOF
61979 done
61988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
61989 $as_echo_n "checking for float round functions... " >&6; }
61990 if ${glibcxx_cv_func_float_round_use+:} false; then :
61991 $as_echo_n "(cached) " >&6
61992 else
61995 ac_ext=cpp
61996 ac_cpp='$CXXCPP $CPPFLAGS'
61997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62002 /* end confdefs.h. */
62003 #include <math.h>
62005 main ()
62007 ceilf (0); floorf (0);
62009 return 0;
62011 _ACEOF
62012 if ac_fn_cxx_try_compile "$LINENO"; then :
62013 glibcxx_cv_func_float_round_use=yes
62014 else
62015 glibcxx_cv_func_float_round_use=no
62017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62018 ac_ext=c
62019 ac_cpp='$CPP $CPPFLAGS'
62020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
62027 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
62028 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
62029 for ac_func in ceilf floorf
62030 do :
62031 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62032 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62033 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
62034 cat >>confdefs.h <<_ACEOF
62035 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62036 _ACEOF
62039 done
62041 else
62042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
62043 $as_echo_n "checking for _float round functions... " >&6; }
62044 if ${glibcxx_cv_func__float_round_use+:} false; then :
62045 $as_echo_n "(cached) " >&6
62046 else
62049 ac_ext=cpp
62050 ac_cpp='$CXXCPP $CPPFLAGS'
62051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62052 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62056 /* end confdefs.h. */
62057 #include <math.h>
62059 main ()
62061 _ceilf (0); _floorf (0);
62063 return 0;
62065 _ACEOF
62066 if ac_fn_cxx_try_compile "$LINENO"; then :
62067 glibcxx_cv_func__float_round_use=yes
62068 else
62069 glibcxx_cv_func__float_round_use=no
62071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62072 ac_ext=c
62073 ac_cpp='$CPP $CPPFLAGS'
62074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
62081 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
62082 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
62083 for ac_func in _ceilf _floorf
62084 do :
62085 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62086 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62087 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
62088 cat >>confdefs.h <<_ACEOF
62089 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62090 _ACEOF
62093 done
62103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
62104 $as_echo_n "checking for expf declaration... " >&6; }
62105 if test x${glibcxx_cv_func_expf_use+set} != xset; then
62106 if ${glibcxx_cv_func_expf_use+:} false; then :
62107 $as_echo_n "(cached) " >&6
62108 else
62111 ac_ext=cpp
62112 ac_cpp='$CXXCPP $CPPFLAGS'
62113 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62114 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62115 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62118 /* end confdefs.h. */
62119 #include <math.h>
62120 #ifdef HAVE_IEEEFP_H
62121 #include <ieeefp.h>
62122 #endif
62125 main ()
62127 expf(0);
62129 return 0;
62131 _ACEOF
62132 if ac_fn_cxx_try_compile "$LINENO"; then :
62133 glibcxx_cv_func_expf_use=yes
62134 else
62135 glibcxx_cv_func_expf_use=no
62137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62138 ac_ext=c
62139 ac_cpp='$CPP $CPPFLAGS'
62140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
62149 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
62151 if test x$glibcxx_cv_func_expf_use = x"yes"; then
62152 for ac_func in expf
62153 do :
62154 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
62155 if test "x$ac_cv_func_expf" = xyes; then :
62156 cat >>confdefs.h <<_ACEOF
62157 #define HAVE_EXPF 1
62158 _ACEOF
62161 done
62163 else
62165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
62166 $as_echo_n "checking for _expf declaration... " >&6; }
62167 if test x${glibcxx_cv_func__expf_use+set} != xset; then
62168 if ${glibcxx_cv_func__expf_use+:} false; then :
62169 $as_echo_n "(cached) " >&6
62170 else
62173 ac_ext=cpp
62174 ac_cpp='$CXXCPP $CPPFLAGS'
62175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62180 /* end confdefs.h. */
62181 #include <math.h>
62182 #ifdef HAVE_IEEEFP_H
62183 #include <ieeefp.h>
62184 #endif
62187 main ()
62189 _expf(0);
62191 return 0;
62193 _ACEOF
62194 if ac_fn_cxx_try_compile "$LINENO"; then :
62195 glibcxx_cv_func__expf_use=yes
62196 else
62197 glibcxx_cv_func__expf_use=no
62199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62200 ac_ext=c
62201 ac_cpp='$CPP $CPPFLAGS'
62202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
62211 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
62213 if test x$glibcxx_cv_func__expf_use = x"yes"; then
62214 for ac_func in _expf
62215 do :
62216 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
62217 if test "x$ac_cv_func__expf" = xyes; then :
62218 cat >>confdefs.h <<_ACEOF
62219 #define HAVE__EXPF 1
62220 _ACEOF
62223 done
62232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
62233 $as_echo_n "checking for isnanf declaration... " >&6; }
62234 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
62235 if ${glibcxx_cv_func_isnanf_use+:} false; then :
62236 $as_echo_n "(cached) " >&6
62237 else
62240 ac_ext=cpp
62241 ac_cpp='$CXXCPP $CPPFLAGS'
62242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62247 /* end confdefs.h. */
62248 #include <math.h>
62249 #ifdef HAVE_IEEEFP_H
62250 #include <ieeefp.h>
62251 #endif
62254 main ()
62256 isnanf(0);
62258 return 0;
62260 _ACEOF
62261 if ac_fn_cxx_try_compile "$LINENO"; then :
62262 glibcxx_cv_func_isnanf_use=yes
62263 else
62264 glibcxx_cv_func_isnanf_use=no
62266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62267 ac_ext=c
62268 ac_cpp='$CPP $CPPFLAGS'
62269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
62278 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
62280 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
62281 for ac_func in isnanf
62282 do :
62283 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
62284 if test "x$ac_cv_func_isnanf" = xyes; then :
62285 cat >>confdefs.h <<_ACEOF
62286 #define HAVE_ISNANF 1
62287 _ACEOF
62290 done
62292 else
62294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
62295 $as_echo_n "checking for _isnanf declaration... " >&6; }
62296 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
62297 if ${glibcxx_cv_func__isnanf_use+:} false; then :
62298 $as_echo_n "(cached) " >&6
62299 else
62302 ac_ext=cpp
62303 ac_cpp='$CXXCPP $CPPFLAGS'
62304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62309 /* end confdefs.h. */
62310 #include <math.h>
62311 #ifdef HAVE_IEEEFP_H
62312 #include <ieeefp.h>
62313 #endif
62316 main ()
62318 _isnanf(0);
62320 return 0;
62322 _ACEOF
62323 if ac_fn_cxx_try_compile "$LINENO"; then :
62324 glibcxx_cv_func__isnanf_use=yes
62325 else
62326 glibcxx_cv_func__isnanf_use=no
62328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62329 ac_ext=c
62330 ac_cpp='$CPP $CPPFLAGS'
62331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
62340 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
62342 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
62343 for ac_func in _isnanf
62344 do :
62345 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
62346 if test "x$ac_cv_func__isnanf" = xyes; then :
62347 cat >>confdefs.h <<_ACEOF
62348 #define HAVE__ISNANF 1
62349 _ACEOF
62352 done
62361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
62362 $as_echo_n "checking for isinff declaration... " >&6; }
62363 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
62364 if ${glibcxx_cv_func_isinff_use+:} false; then :
62365 $as_echo_n "(cached) " >&6
62366 else
62369 ac_ext=cpp
62370 ac_cpp='$CXXCPP $CPPFLAGS'
62371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62376 /* end confdefs.h. */
62377 #include <math.h>
62378 #ifdef HAVE_IEEEFP_H
62379 #include <ieeefp.h>
62380 #endif
62383 main ()
62385 isinff(0);
62387 return 0;
62389 _ACEOF
62390 if ac_fn_cxx_try_compile "$LINENO"; then :
62391 glibcxx_cv_func_isinff_use=yes
62392 else
62393 glibcxx_cv_func_isinff_use=no
62395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62396 ac_ext=c
62397 ac_cpp='$CPP $CPPFLAGS'
62398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
62407 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
62409 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
62410 for ac_func in isinff
62411 do :
62412 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
62413 if test "x$ac_cv_func_isinff" = xyes; then :
62414 cat >>confdefs.h <<_ACEOF
62415 #define HAVE_ISINFF 1
62416 _ACEOF
62419 done
62421 else
62423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
62424 $as_echo_n "checking for _isinff declaration... " >&6; }
62425 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
62426 if ${glibcxx_cv_func__isinff_use+:} false; then :
62427 $as_echo_n "(cached) " >&6
62428 else
62431 ac_ext=cpp
62432 ac_cpp='$CXXCPP $CPPFLAGS'
62433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62438 /* end confdefs.h. */
62439 #include <math.h>
62440 #ifdef HAVE_IEEEFP_H
62441 #include <ieeefp.h>
62442 #endif
62445 main ()
62447 _isinff(0);
62449 return 0;
62451 _ACEOF
62452 if ac_fn_cxx_try_compile "$LINENO"; then :
62453 glibcxx_cv_func__isinff_use=yes
62454 else
62455 glibcxx_cv_func__isinff_use=no
62457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62458 ac_ext=c
62459 ac_cpp='$CPP $CPPFLAGS'
62460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
62469 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
62471 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
62472 for ac_func in _isinff
62473 do :
62474 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
62475 if test "x$ac_cv_func__isinff" = xyes; then :
62476 cat >>confdefs.h <<_ACEOF
62477 #define HAVE__ISINFF 1
62478 _ACEOF
62481 done
62490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
62491 $as_echo_n "checking for atan2f declaration... " >&6; }
62492 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
62493 if ${glibcxx_cv_func_atan2f_use+:} false; then :
62494 $as_echo_n "(cached) " >&6
62495 else
62498 ac_ext=cpp
62499 ac_cpp='$CXXCPP $CPPFLAGS'
62500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62505 /* end confdefs.h. */
62506 #include <math.h>
62508 main ()
62510 atan2f(0, 0);
62512 return 0;
62514 _ACEOF
62515 if ac_fn_cxx_try_compile "$LINENO"; then :
62516 glibcxx_cv_func_atan2f_use=yes
62517 else
62518 glibcxx_cv_func_atan2f_use=no
62520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62521 ac_ext=c
62522 ac_cpp='$CPP $CPPFLAGS'
62523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
62532 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
62534 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
62535 for ac_func in atan2f
62536 do :
62537 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
62538 if test "x$ac_cv_func_atan2f" = xyes; then :
62539 cat >>confdefs.h <<_ACEOF
62540 #define HAVE_ATAN2F 1
62541 _ACEOF
62544 done
62546 else
62548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
62549 $as_echo_n "checking for _atan2f declaration... " >&6; }
62550 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
62551 if ${glibcxx_cv_func__atan2f_use+:} false; then :
62552 $as_echo_n "(cached) " >&6
62553 else
62556 ac_ext=cpp
62557 ac_cpp='$CXXCPP $CPPFLAGS'
62558 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62559 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62560 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62563 /* end confdefs.h. */
62564 #include <math.h>
62566 main ()
62568 _atan2f(0, 0);
62570 return 0;
62572 _ACEOF
62573 if ac_fn_cxx_try_compile "$LINENO"; then :
62574 glibcxx_cv_func__atan2f_use=yes
62575 else
62576 glibcxx_cv_func__atan2f_use=no
62578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62579 ac_ext=c
62580 ac_cpp='$CPP $CPPFLAGS'
62581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
62590 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
62592 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
62593 for ac_func in _atan2f
62594 do :
62595 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
62596 if test "x$ac_cv_func__atan2f" = xyes; then :
62597 cat >>confdefs.h <<_ACEOF
62598 #define HAVE__ATAN2F 1
62599 _ACEOF
62602 done
62611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
62612 $as_echo_n "checking for fabsf declaration... " >&6; }
62613 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
62614 if ${glibcxx_cv_func_fabsf_use+:} false; then :
62615 $as_echo_n "(cached) " >&6
62616 else
62619 ac_ext=cpp
62620 ac_cpp='$CXXCPP $CPPFLAGS'
62621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62626 /* end confdefs.h. */
62627 #include <math.h>
62628 #ifdef HAVE_IEEEFP_H
62629 #include <ieeefp.h>
62630 #endif
62633 main ()
62635 fabsf(0);
62637 return 0;
62639 _ACEOF
62640 if ac_fn_cxx_try_compile "$LINENO"; then :
62641 glibcxx_cv_func_fabsf_use=yes
62642 else
62643 glibcxx_cv_func_fabsf_use=no
62645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62646 ac_ext=c
62647 ac_cpp='$CPP $CPPFLAGS'
62648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
62657 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
62659 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
62660 for ac_func in fabsf
62661 do :
62662 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
62663 if test "x$ac_cv_func_fabsf" = xyes; then :
62664 cat >>confdefs.h <<_ACEOF
62665 #define HAVE_FABSF 1
62666 _ACEOF
62669 done
62671 else
62673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
62674 $as_echo_n "checking for _fabsf declaration... " >&6; }
62675 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
62676 if ${glibcxx_cv_func__fabsf_use+:} false; then :
62677 $as_echo_n "(cached) " >&6
62678 else
62681 ac_ext=cpp
62682 ac_cpp='$CXXCPP $CPPFLAGS'
62683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62688 /* end confdefs.h. */
62689 #include <math.h>
62690 #ifdef HAVE_IEEEFP_H
62691 #include <ieeefp.h>
62692 #endif
62695 main ()
62697 _fabsf(0);
62699 return 0;
62701 _ACEOF
62702 if ac_fn_cxx_try_compile "$LINENO"; then :
62703 glibcxx_cv_func__fabsf_use=yes
62704 else
62705 glibcxx_cv_func__fabsf_use=no
62707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62708 ac_ext=c
62709 ac_cpp='$CPP $CPPFLAGS'
62710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
62719 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
62721 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
62722 for ac_func in _fabsf
62723 do :
62724 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
62725 if test "x$ac_cv_func__fabsf" = xyes; then :
62726 cat >>confdefs.h <<_ACEOF
62727 #define HAVE__FABSF 1
62728 _ACEOF
62731 done
62740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
62741 $as_echo_n "checking for fmodf declaration... " >&6; }
62742 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
62743 if ${glibcxx_cv_func_fmodf_use+:} false; then :
62744 $as_echo_n "(cached) " >&6
62745 else
62748 ac_ext=cpp
62749 ac_cpp='$CXXCPP $CPPFLAGS'
62750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62755 /* end confdefs.h. */
62756 #include <math.h>
62758 main ()
62760 fmodf(0, 0);
62762 return 0;
62764 _ACEOF
62765 if ac_fn_cxx_try_compile "$LINENO"; then :
62766 glibcxx_cv_func_fmodf_use=yes
62767 else
62768 glibcxx_cv_func_fmodf_use=no
62770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62771 ac_ext=c
62772 ac_cpp='$CPP $CPPFLAGS'
62773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
62782 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
62784 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
62785 for ac_func in fmodf
62786 do :
62787 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
62788 if test "x$ac_cv_func_fmodf" = xyes; then :
62789 cat >>confdefs.h <<_ACEOF
62790 #define HAVE_FMODF 1
62791 _ACEOF
62794 done
62796 else
62798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
62799 $as_echo_n "checking for _fmodf declaration... " >&6; }
62800 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
62801 if ${glibcxx_cv_func__fmodf_use+:} false; then :
62802 $as_echo_n "(cached) " >&6
62803 else
62806 ac_ext=cpp
62807 ac_cpp='$CXXCPP $CPPFLAGS'
62808 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62809 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62810 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62813 /* end confdefs.h. */
62814 #include <math.h>
62816 main ()
62818 _fmodf(0, 0);
62820 return 0;
62822 _ACEOF
62823 if ac_fn_cxx_try_compile "$LINENO"; then :
62824 glibcxx_cv_func__fmodf_use=yes
62825 else
62826 glibcxx_cv_func__fmodf_use=no
62828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62829 ac_ext=c
62830 ac_cpp='$CPP $CPPFLAGS'
62831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
62840 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
62842 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
62843 for ac_func in _fmodf
62844 do :
62845 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
62846 if test "x$ac_cv_func__fmodf" = xyes; then :
62847 cat >>confdefs.h <<_ACEOF
62848 #define HAVE__FMODF 1
62849 _ACEOF
62852 done
62861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
62862 $as_echo_n "checking for frexpf declaration... " >&6; }
62863 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
62864 if ${glibcxx_cv_func_frexpf_use+:} false; then :
62865 $as_echo_n "(cached) " >&6
62866 else
62869 ac_ext=cpp
62870 ac_cpp='$CXXCPP $CPPFLAGS'
62871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62876 /* end confdefs.h. */
62877 #include <math.h>
62879 main ()
62881 frexpf(0, 0);
62883 return 0;
62885 _ACEOF
62886 if ac_fn_cxx_try_compile "$LINENO"; then :
62887 glibcxx_cv_func_frexpf_use=yes
62888 else
62889 glibcxx_cv_func_frexpf_use=no
62891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62892 ac_ext=c
62893 ac_cpp='$CPP $CPPFLAGS'
62894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
62903 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
62905 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
62906 for ac_func in frexpf
62907 do :
62908 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
62909 if test "x$ac_cv_func_frexpf" = xyes; then :
62910 cat >>confdefs.h <<_ACEOF
62911 #define HAVE_FREXPF 1
62912 _ACEOF
62915 done
62917 else
62919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
62920 $as_echo_n "checking for _frexpf declaration... " >&6; }
62921 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
62922 if ${glibcxx_cv_func__frexpf_use+:} false; then :
62923 $as_echo_n "(cached) " >&6
62924 else
62927 ac_ext=cpp
62928 ac_cpp='$CXXCPP $CPPFLAGS'
62929 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62930 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62931 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62934 /* end confdefs.h. */
62935 #include <math.h>
62937 main ()
62939 _frexpf(0, 0);
62941 return 0;
62943 _ACEOF
62944 if ac_fn_cxx_try_compile "$LINENO"; then :
62945 glibcxx_cv_func__frexpf_use=yes
62946 else
62947 glibcxx_cv_func__frexpf_use=no
62949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62950 ac_ext=c
62951 ac_cpp='$CPP $CPPFLAGS'
62952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
62961 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
62963 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
62964 for ac_func in _frexpf
62965 do :
62966 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
62967 if test "x$ac_cv_func__frexpf" = xyes; then :
62968 cat >>confdefs.h <<_ACEOF
62969 #define HAVE__FREXPF 1
62970 _ACEOF
62973 done
62982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
62983 $as_echo_n "checking for hypotf declaration... " >&6; }
62984 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
62985 if ${glibcxx_cv_func_hypotf_use+:} false; then :
62986 $as_echo_n "(cached) " >&6
62987 else
62990 ac_ext=cpp
62991 ac_cpp='$CXXCPP $CPPFLAGS'
62992 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62993 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62994 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62997 /* end confdefs.h. */
62998 #include <math.h>
63000 main ()
63002 hypotf(0, 0);
63004 return 0;
63006 _ACEOF
63007 if ac_fn_cxx_try_compile "$LINENO"; then :
63008 glibcxx_cv_func_hypotf_use=yes
63009 else
63010 glibcxx_cv_func_hypotf_use=no
63012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63013 ac_ext=c
63014 ac_cpp='$CPP $CPPFLAGS'
63015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
63024 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
63026 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
63027 for ac_func in hypotf
63028 do :
63029 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
63030 if test "x$ac_cv_func_hypotf" = xyes; then :
63031 cat >>confdefs.h <<_ACEOF
63032 #define HAVE_HYPOTF 1
63033 _ACEOF
63036 done
63038 else
63040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
63041 $as_echo_n "checking for _hypotf declaration... " >&6; }
63042 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
63043 if ${glibcxx_cv_func__hypotf_use+:} false; then :
63044 $as_echo_n "(cached) " >&6
63045 else
63048 ac_ext=cpp
63049 ac_cpp='$CXXCPP $CPPFLAGS'
63050 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63051 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63052 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63055 /* end confdefs.h. */
63056 #include <math.h>
63058 main ()
63060 _hypotf(0, 0);
63062 return 0;
63064 _ACEOF
63065 if ac_fn_cxx_try_compile "$LINENO"; then :
63066 glibcxx_cv_func__hypotf_use=yes
63067 else
63068 glibcxx_cv_func__hypotf_use=no
63070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63071 ac_ext=c
63072 ac_cpp='$CPP $CPPFLAGS'
63073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
63082 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
63084 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
63085 for ac_func in _hypotf
63086 do :
63087 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
63088 if test "x$ac_cv_func__hypotf" = xyes; then :
63089 cat >>confdefs.h <<_ACEOF
63090 #define HAVE__HYPOTF 1
63091 _ACEOF
63094 done
63103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
63104 $as_echo_n "checking for ldexpf declaration... " >&6; }
63105 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
63106 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
63107 $as_echo_n "(cached) " >&6
63108 else
63111 ac_ext=cpp
63112 ac_cpp='$CXXCPP $CPPFLAGS'
63113 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63114 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63115 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63118 /* end confdefs.h. */
63119 #include <math.h>
63121 main ()
63123 ldexpf(0, 0);
63125 return 0;
63127 _ACEOF
63128 if ac_fn_cxx_try_compile "$LINENO"; then :
63129 glibcxx_cv_func_ldexpf_use=yes
63130 else
63131 glibcxx_cv_func_ldexpf_use=no
63133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63134 ac_ext=c
63135 ac_cpp='$CPP $CPPFLAGS'
63136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
63145 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
63147 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
63148 for ac_func in ldexpf
63149 do :
63150 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
63151 if test "x$ac_cv_func_ldexpf" = xyes; then :
63152 cat >>confdefs.h <<_ACEOF
63153 #define HAVE_LDEXPF 1
63154 _ACEOF
63157 done
63159 else
63161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
63162 $as_echo_n "checking for _ldexpf declaration... " >&6; }
63163 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
63164 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
63165 $as_echo_n "(cached) " >&6
63166 else
63169 ac_ext=cpp
63170 ac_cpp='$CXXCPP $CPPFLAGS'
63171 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63172 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63173 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63176 /* end confdefs.h. */
63177 #include <math.h>
63179 main ()
63181 _ldexpf(0, 0);
63183 return 0;
63185 _ACEOF
63186 if ac_fn_cxx_try_compile "$LINENO"; then :
63187 glibcxx_cv_func__ldexpf_use=yes
63188 else
63189 glibcxx_cv_func__ldexpf_use=no
63191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63192 ac_ext=c
63193 ac_cpp='$CPP $CPPFLAGS'
63194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
63203 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
63205 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
63206 for ac_func in _ldexpf
63207 do :
63208 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
63209 if test "x$ac_cv_func__ldexpf" = xyes; then :
63210 cat >>confdefs.h <<_ACEOF
63211 #define HAVE__LDEXPF 1
63212 _ACEOF
63215 done
63224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
63225 $as_echo_n "checking for logf declaration... " >&6; }
63226 if test x${glibcxx_cv_func_logf_use+set} != xset; then
63227 if ${glibcxx_cv_func_logf_use+:} false; then :
63228 $as_echo_n "(cached) " >&6
63229 else
63232 ac_ext=cpp
63233 ac_cpp='$CXXCPP $CPPFLAGS'
63234 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63235 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63236 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63239 /* end confdefs.h. */
63240 #include <math.h>
63241 #ifdef HAVE_IEEEFP_H
63242 #include <ieeefp.h>
63243 #endif
63246 main ()
63248 logf(0);
63250 return 0;
63252 _ACEOF
63253 if ac_fn_cxx_try_compile "$LINENO"; then :
63254 glibcxx_cv_func_logf_use=yes
63255 else
63256 glibcxx_cv_func_logf_use=no
63258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63259 ac_ext=c
63260 ac_cpp='$CPP $CPPFLAGS'
63261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
63270 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
63272 if test x$glibcxx_cv_func_logf_use = x"yes"; then
63273 for ac_func in logf
63274 do :
63275 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
63276 if test "x$ac_cv_func_logf" = xyes; then :
63277 cat >>confdefs.h <<_ACEOF
63278 #define HAVE_LOGF 1
63279 _ACEOF
63282 done
63284 else
63286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
63287 $as_echo_n "checking for _logf declaration... " >&6; }
63288 if test x${glibcxx_cv_func__logf_use+set} != xset; then
63289 if ${glibcxx_cv_func__logf_use+:} false; then :
63290 $as_echo_n "(cached) " >&6
63291 else
63294 ac_ext=cpp
63295 ac_cpp='$CXXCPP $CPPFLAGS'
63296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63301 /* end confdefs.h. */
63302 #include <math.h>
63303 #ifdef HAVE_IEEEFP_H
63304 #include <ieeefp.h>
63305 #endif
63308 main ()
63310 _logf(0);
63312 return 0;
63314 _ACEOF
63315 if ac_fn_cxx_try_compile "$LINENO"; then :
63316 glibcxx_cv_func__logf_use=yes
63317 else
63318 glibcxx_cv_func__logf_use=no
63320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63321 ac_ext=c
63322 ac_cpp='$CPP $CPPFLAGS'
63323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
63332 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
63334 if test x$glibcxx_cv_func__logf_use = x"yes"; then
63335 for ac_func in _logf
63336 do :
63337 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
63338 if test "x$ac_cv_func__logf" = xyes; then :
63339 cat >>confdefs.h <<_ACEOF
63340 #define HAVE__LOGF 1
63341 _ACEOF
63344 done
63353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
63354 $as_echo_n "checking for log10f declaration... " >&6; }
63355 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
63356 if ${glibcxx_cv_func_log10f_use+:} false; then :
63357 $as_echo_n "(cached) " >&6
63358 else
63361 ac_ext=cpp
63362 ac_cpp='$CXXCPP $CPPFLAGS'
63363 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63364 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63365 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63368 /* end confdefs.h. */
63369 #include <math.h>
63370 #ifdef HAVE_IEEEFP_H
63371 #include <ieeefp.h>
63372 #endif
63375 main ()
63377 log10f(0);
63379 return 0;
63381 _ACEOF
63382 if ac_fn_cxx_try_compile "$LINENO"; then :
63383 glibcxx_cv_func_log10f_use=yes
63384 else
63385 glibcxx_cv_func_log10f_use=no
63387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63388 ac_ext=c
63389 ac_cpp='$CPP $CPPFLAGS'
63390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
63399 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
63401 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
63402 for ac_func in log10f
63403 do :
63404 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
63405 if test "x$ac_cv_func_log10f" = xyes; then :
63406 cat >>confdefs.h <<_ACEOF
63407 #define HAVE_LOG10F 1
63408 _ACEOF
63411 done
63413 else
63415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
63416 $as_echo_n "checking for _log10f declaration... " >&6; }
63417 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
63418 if ${glibcxx_cv_func__log10f_use+:} false; then :
63419 $as_echo_n "(cached) " >&6
63420 else
63423 ac_ext=cpp
63424 ac_cpp='$CXXCPP $CPPFLAGS'
63425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63430 /* end confdefs.h. */
63431 #include <math.h>
63432 #ifdef HAVE_IEEEFP_H
63433 #include <ieeefp.h>
63434 #endif
63437 main ()
63439 _log10f(0);
63441 return 0;
63443 _ACEOF
63444 if ac_fn_cxx_try_compile "$LINENO"; then :
63445 glibcxx_cv_func__log10f_use=yes
63446 else
63447 glibcxx_cv_func__log10f_use=no
63449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63450 ac_ext=c
63451 ac_cpp='$CPP $CPPFLAGS'
63452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
63461 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
63463 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
63464 for ac_func in _log10f
63465 do :
63466 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
63467 if test "x$ac_cv_func__log10f" = xyes; then :
63468 cat >>confdefs.h <<_ACEOF
63469 #define HAVE__LOG10F 1
63470 _ACEOF
63473 done
63482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
63483 $as_echo_n "checking for modff declaration... " >&6; }
63484 if test x${glibcxx_cv_func_modff_use+set} != xset; then
63485 if ${glibcxx_cv_func_modff_use+:} false; then :
63486 $as_echo_n "(cached) " >&6
63487 else
63490 ac_ext=cpp
63491 ac_cpp='$CXXCPP $CPPFLAGS'
63492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63497 /* end confdefs.h. */
63498 #include <math.h>
63500 main ()
63502 modff(0, 0);
63504 return 0;
63506 _ACEOF
63507 if ac_fn_cxx_try_compile "$LINENO"; then :
63508 glibcxx_cv_func_modff_use=yes
63509 else
63510 glibcxx_cv_func_modff_use=no
63512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63513 ac_ext=c
63514 ac_cpp='$CPP $CPPFLAGS'
63515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
63524 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
63526 if test x$glibcxx_cv_func_modff_use = x"yes"; then
63527 for ac_func in modff
63528 do :
63529 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
63530 if test "x$ac_cv_func_modff" = xyes; then :
63531 cat >>confdefs.h <<_ACEOF
63532 #define HAVE_MODFF 1
63533 _ACEOF
63536 done
63538 else
63540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
63541 $as_echo_n "checking for _modff declaration... " >&6; }
63542 if test x${glibcxx_cv_func__modff_use+set} != xset; then
63543 if ${glibcxx_cv_func__modff_use+:} false; then :
63544 $as_echo_n "(cached) " >&6
63545 else
63548 ac_ext=cpp
63549 ac_cpp='$CXXCPP $CPPFLAGS'
63550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63555 /* end confdefs.h. */
63556 #include <math.h>
63558 main ()
63560 _modff(0, 0);
63562 return 0;
63564 _ACEOF
63565 if ac_fn_cxx_try_compile "$LINENO"; then :
63566 glibcxx_cv_func__modff_use=yes
63567 else
63568 glibcxx_cv_func__modff_use=no
63570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63571 ac_ext=c
63572 ac_cpp='$CPP $CPPFLAGS'
63573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
63582 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
63584 if test x$glibcxx_cv_func__modff_use = x"yes"; then
63585 for ac_func in _modff
63586 do :
63587 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
63588 if test "x$ac_cv_func__modff" = xyes; then :
63589 cat >>confdefs.h <<_ACEOF
63590 #define HAVE__MODFF 1
63591 _ACEOF
63594 done
63603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
63604 $as_echo_n "checking for modf declaration... " >&6; }
63605 if test x${glibcxx_cv_func_modf_use+set} != xset; then
63606 if ${glibcxx_cv_func_modf_use+:} false; then :
63607 $as_echo_n "(cached) " >&6
63608 else
63611 ac_ext=cpp
63612 ac_cpp='$CXXCPP $CPPFLAGS'
63613 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63614 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63615 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63618 /* end confdefs.h. */
63619 #include <math.h>
63621 main ()
63623 modf(0, 0);
63625 return 0;
63627 _ACEOF
63628 if ac_fn_cxx_try_compile "$LINENO"; then :
63629 glibcxx_cv_func_modf_use=yes
63630 else
63631 glibcxx_cv_func_modf_use=no
63633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63634 ac_ext=c
63635 ac_cpp='$CPP $CPPFLAGS'
63636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
63645 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
63647 if test x$glibcxx_cv_func_modf_use = x"yes"; then
63648 for ac_func in modf
63649 do :
63650 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
63651 if test "x$ac_cv_func_modf" = xyes; then :
63652 cat >>confdefs.h <<_ACEOF
63653 #define HAVE_MODF 1
63654 _ACEOF
63657 done
63659 else
63661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
63662 $as_echo_n "checking for _modf declaration... " >&6; }
63663 if test x${glibcxx_cv_func__modf_use+set} != xset; then
63664 if ${glibcxx_cv_func__modf_use+:} false; then :
63665 $as_echo_n "(cached) " >&6
63666 else
63669 ac_ext=cpp
63670 ac_cpp='$CXXCPP $CPPFLAGS'
63671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63676 /* end confdefs.h. */
63677 #include <math.h>
63679 main ()
63681 _modf(0, 0);
63683 return 0;
63685 _ACEOF
63686 if ac_fn_cxx_try_compile "$LINENO"; then :
63687 glibcxx_cv_func__modf_use=yes
63688 else
63689 glibcxx_cv_func__modf_use=no
63691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63692 ac_ext=c
63693 ac_cpp='$CPP $CPPFLAGS'
63694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
63703 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
63705 if test x$glibcxx_cv_func__modf_use = x"yes"; then
63706 for ac_func in _modf
63707 do :
63708 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
63709 if test "x$ac_cv_func__modf" = xyes; then :
63710 cat >>confdefs.h <<_ACEOF
63711 #define HAVE__MODF 1
63712 _ACEOF
63715 done
63724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
63725 $as_echo_n "checking for powf declaration... " >&6; }
63726 if test x${glibcxx_cv_func_powf_use+set} != xset; then
63727 if ${glibcxx_cv_func_powf_use+:} false; then :
63728 $as_echo_n "(cached) " >&6
63729 else
63732 ac_ext=cpp
63733 ac_cpp='$CXXCPP $CPPFLAGS'
63734 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63735 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63736 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63739 /* end confdefs.h. */
63740 #include <math.h>
63742 main ()
63744 powf(0, 0);
63746 return 0;
63748 _ACEOF
63749 if ac_fn_cxx_try_compile "$LINENO"; then :
63750 glibcxx_cv_func_powf_use=yes
63751 else
63752 glibcxx_cv_func_powf_use=no
63754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63755 ac_ext=c
63756 ac_cpp='$CPP $CPPFLAGS'
63757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
63766 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
63768 if test x$glibcxx_cv_func_powf_use = x"yes"; then
63769 for ac_func in powf
63770 do :
63771 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
63772 if test "x$ac_cv_func_powf" = xyes; then :
63773 cat >>confdefs.h <<_ACEOF
63774 #define HAVE_POWF 1
63775 _ACEOF
63778 done
63780 else
63782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
63783 $as_echo_n "checking for _powf declaration... " >&6; }
63784 if test x${glibcxx_cv_func__powf_use+set} != xset; then
63785 if ${glibcxx_cv_func__powf_use+:} false; then :
63786 $as_echo_n "(cached) " >&6
63787 else
63790 ac_ext=cpp
63791 ac_cpp='$CXXCPP $CPPFLAGS'
63792 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63793 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63794 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63797 /* end confdefs.h. */
63798 #include <math.h>
63800 main ()
63802 _powf(0, 0);
63804 return 0;
63806 _ACEOF
63807 if ac_fn_cxx_try_compile "$LINENO"; then :
63808 glibcxx_cv_func__powf_use=yes
63809 else
63810 glibcxx_cv_func__powf_use=no
63812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63813 ac_ext=c
63814 ac_cpp='$CPP $CPPFLAGS'
63815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
63824 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
63826 if test x$glibcxx_cv_func__powf_use = x"yes"; then
63827 for ac_func in _powf
63828 do :
63829 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
63830 if test "x$ac_cv_func__powf" = xyes; then :
63831 cat >>confdefs.h <<_ACEOF
63832 #define HAVE__POWF 1
63833 _ACEOF
63836 done
63845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
63846 $as_echo_n "checking for sqrtf declaration... " >&6; }
63847 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
63848 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
63849 $as_echo_n "(cached) " >&6
63850 else
63853 ac_ext=cpp
63854 ac_cpp='$CXXCPP $CPPFLAGS'
63855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63860 /* end confdefs.h. */
63861 #include <math.h>
63862 #ifdef HAVE_IEEEFP_H
63863 #include <ieeefp.h>
63864 #endif
63867 main ()
63869 sqrtf(0);
63871 return 0;
63873 _ACEOF
63874 if ac_fn_cxx_try_compile "$LINENO"; then :
63875 glibcxx_cv_func_sqrtf_use=yes
63876 else
63877 glibcxx_cv_func_sqrtf_use=no
63879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63880 ac_ext=c
63881 ac_cpp='$CPP $CPPFLAGS'
63882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
63891 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
63893 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
63894 for ac_func in sqrtf
63895 do :
63896 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
63897 if test "x$ac_cv_func_sqrtf" = xyes; then :
63898 cat >>confdefs.h <<_ACEOF
63899 #define HAVE_SQRTF 1
63900 _ACEOF
63903 done
63905 else
63907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
63908 $as_echo_n "checking for _sqrtf declaration... " >&6; }
63909 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
63910 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
63911 $as_echo_n "(cached) " >&6
63912 else
63915 ac_ext=cpp
63916 ac_cpp='$CXXCPP $CPPFLAGS'
63917 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63918 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63919 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63922 /* end confdefs.h. */
63923 #include <math.h>
63924 #ifdef HAVE_IEEEFP_H
63925 #include <ieeefp.h>
63926 #endif
63929 main ()
63931 _sqrtf(0);
63933 return 0;
63935 _ACEOF
63936 if ac_fn_cxx_try_compile "$LINENO"; then :
63937 glibcxx_cv_func__sqrtf_use=yes
63938 else
63939 glibcxx_cv_func__sqrtf_use=no
63941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63942 ac_ext=c
63943 ac_cpp='$CPP $CPPFLAGS'
63944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
63953 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
63955 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
63956 for ac_func in _sqrtf
63957 do :
63958 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
63959 if test "x$ac_cv_func__sqrtf" = xyes; then :
63960 cat >>confdefs.h <<_ACEOF
63961 #define HAVE__SQRTF 1
63962 _ACEOF
63965 done
63974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
63975 $as_echo_n "checking for sincosf declaration... " >&6; }
63976 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
63977 if ${glibcxx_cv_func_sincosf_use+:} false; then :
63978 $as_echo_n "(cached) " >&6
63979 else
63982 ac_ext=cpp
63983 ac_cpp='$CXXCPP $CPPFLAGS'
63984 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63985 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63986 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63989 /* end confdefs.h. */
63990 #include <math.h>
63992 main ()
63994 sincosf(0, 0, 0);
63996 return 0;
63998 _ACEOF
63999 if ac_fn_cxx_try_compile "$LINENO"; then :
64000 glibcxx_cv_func_sincosf_use=yes
64001 else
64002 glibcxx_cv_func_sincosf_use=no
64004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64005 ac_ext=c
64006 ac_cpp='$CPP $CPPFLAGS'
64007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
64016 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
64018 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
64019 for ac_func in sincosf
64020 do :
64021 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
64022 if test "x$ac_cv_func_sincosf" = xyes; then :
64023 cat >>confdefs.h <<_ACEOF
64024 #define HAVE_SINCOSF 1
64025 _ACEOF
64028 done
64030 else
64032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
64033 $as_echo_n "checking for _sincosf declaration... " >&6; }
64034 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
64035 if ${glibcxx_cv_func__sincosf_use+:} false; then :
64036 $as_echo_n "(cached) " >&6
64037 else
64040 ac_ext=cpp
64041 ac_cpp='$CXXCPP $CPPFLAGS'
64042 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64043 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64044 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64047 /* end confdefs.h. */
64048 #include <math.h>
64050 main ()
64052 _sincosf(0, 0, 0);
64054 return 0;
64056 _ACEOF
64057 if ac_fn_cxx_try_compile "$LINENO"; then :
64058 glibcxx_cv_func__sincosf_use=yes
64059 else
64060 glibcxx_cv_func__sincosf_use=no
64062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64063 ac_ext=c
64064 ac_cpp='$CPP $CPPFLAGS'
64065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
64074 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
64076 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
64077 for ac_func in _sincosf
64078 do :
64079 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
64080 if test "x$ac_cv_func__sincosf" = xyes; then :
64081 cat >>confdefs.h <<_ACEOF
64082 #define HAVE__SINCOSF 1
64083 _ACEOF
64086 done
64095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
64096 $as_echo_n "checking for finitef declaration... " >&6; }
64097 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
64098 if ${glibcxx_cv_func_finitef_use+:} false; then :
64099 $as_echo_n "(cached) " >&6
64100 else
64103 ac_ext=cpp
64104 ac_cpp='$CXXCPP $CPPFLAGS'
64105 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64106 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64107 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64110 /* end confdefs.h. */
64111 #include <math.h>
64112 #ifdef HAVE_IEEEFP_H
64113 #include <ieeefp.h>
64114 #endif
64117 main ()
64119 finitef(0);
64121 return 0;
64123 _ACEOF
64124 if ac_fn_cxx_try_compile "$LINENO"; then :
64125 glibcxx_cv_func_finitef_use=yes
64126 else
64127 glibcxx_cv_func_finitef_use=no
64129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64130 ac_ext=c
64131 ac_cpp='$CPP $CPPFLAGS'
64132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
64141 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
64143 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
64144 for ac_func in finitef
64145 do :
64146 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
64147 if test "x$ac_cv_func_finitef" = xyes; then :
64148 cat >>confdefs.h <<_ACEOF
64149 #define HAVE_FINITEF 1
64150 _ACEOF
64153 done
64155 else
64157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
64158 $as_echo_n "checking for _finitef declaration... " >&6; }
64159 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
64160 if ${glibcxx_cv_func__finitef_use+:} false; then :
64161 $as_echo_n "(cached) " >&6
64162 else
64165 ac_ext=cpp
64166 ac_cpp='$CXXCPP $CPPFLAGS'
64167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64172 /* end confdefs.h. */
64173 #include <math.h>
64174 #ifdef HAVE_IEEEFP_H
64175 #include <ieeefp.h>
64176 #endif
64179 main ()
64181 _finitef(0);
64183 return 0;
64185 _ACEOF
64186 if ac_fn_cxx_try_compile "$LINENO"; then :
64187 glibcxx_cv_func__finitef_use=yes
64188 else
64189 glibcxx_cv_func__finitef_use=no
64191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64192 ac_ext=c
64193 ac_cpp='$CPP $CPPFLAGS'
64194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
64203 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
64205 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
64206 for ac_func in _finitef
64207 do :
64208 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
64209 if test "x$ac_cv_func__finitef" = xyes; then :
64210 cat >>confdefs.h <<_ACEOF
64211 #define HAVE__FINITEF 1
64212 _ACEOF
64215 done
64224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
64225 $as_echo_n "checking for long double trig functions... " >&6; }
64226 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
64227 $as_echo_n "(cached) " >&6
64228 else
64231 ac_ext=cpp
64232 ac_cpp='$CXXCPP $CPPFLAGS'
64233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64238 /* end confdefs.h. */
64239 #include <math.h>
64241 main ()
64243 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
64245 return 0;
64247 _ACEOF
64248 if ac_fn_cxx_try_compile "$LINENO"; then :
64249 glibcxx_cv_func_long_double_trig_use=yes
64250 else
64251 glibcxx_cv_func_long_double_trig_use=no
64253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64254 ac_ext=c
64255 ac_cpp='$CPP $CPPFLAGS'
64256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
64263 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
64264 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
64265 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
64266 do :
64267 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
64268 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
64269 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
64270 cat >>confdefs.h <<_ACEOF
64271 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
64272 _ACEOF
64275 done
64277 else
64278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
64279 $as_echo_n "checking for _long double trig functions... " >&6; }
64280 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
64281 $as_echo_n "(cached) " >&6
64282 else
64285 ac_ext=cpp
64286 ac_cpp='$CXXCPP $CPPFLAGS'
64287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64292 /* end confdefs.h. */
64293 #include <math.h>
64295 main ()
64297 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
64299 return 0;
64301 _ACEOF
64302 if ac_fn_cxx_try_compile "$LINENO"; then :
64303 glibcxx_cv_func__long_double_trig_use=yes
64304 else
64305 glibcxx_cv_func__long_double_trig_use=no
64307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64308 ac_ext=c
64309 ac_cpp='$CPP $CPPFLAGS'
64310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
64317 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
64318 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
64319 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
64320 do :
64321 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
64322 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
64323 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
64324 cat >>confdefs.h <<_ACEOF
64325 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
64326 _ACEOF
64329 done
64338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
64339 $as_echo_n "checking for long double round functions... " >&6; }
64340 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
64341 $as_echo_n "(cached) " >&6
64342 else
64345 ac_ext=cpp
64346 ac_cpp='$CXXCPP $CPPFLAGS'
64347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64352 /* end confdefs.h. */
64353 #include <math.h>
64355 main ()
64357 ceill (0); floorl (0);
64359 return 0;
64361 _ACEOF
64362 if ac_fn_cxx_try_compile "$LINENO"; then :
64363 glibcxx_cv_func_long_double_round_use=yes
64364 else
64365 glibcxx_cv_func_long_double_round_use=no
64367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64368 ac_ext=c
64369 ac_cpp='$CPP $CPPFLAGS'
64370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
64377 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
64378 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
64379 for ac_func in ceill floorl
64380 do :
64381 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
64382 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
64383 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
64384 cat >>confdefs.h <<_ACEOF
64385 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
64386 _ACEOF
64389 done
64391 else
64392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
64393 $as_echo_n "checking for _long double round functions... " >&6; }
64394 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
64395 $as_echo_n "(cached) " >&6
64396 else
64399 ac_ext=cpp
64400 ac_cpp='$CXXCPP $CPPFLAGS'
64401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64402 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64406 /* end confdefs.h. */
64407 #include <math.h>
64409 main ()
64411 _ceill (0); _floorl (0);
64413 return 0;
64415 _ACEOF
64416 if ac_fn_cxx_try_compile "$LINENO"; then :
64417 glibcxx_cv_func__long_double_round_use=yes
64418 else
64419 glibcxx_cv_func__long_double_round_use=no
64421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64422 ac_ext=c
64423 ac_cpp='$CPP $CPPFLAGS'
64424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
64431 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
64432 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
64433 for ac_func in _ceill _floorl
64434 do :
64435 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
64436 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
64437 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
64438 cat >>confdefs.h <<_ACEOF
64439 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
64440 _ACEOF
64443 done
64453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
64454 $as_echo_n "checking for isnanl declaration... " >&6; }
64455 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
64456 if ${glibcxx_cv_func_isnanl_use+:} false; then :
64457 $as_echo_n "(cached) " >&6
64458 else
64461 ac_ext=cpp
64462 ac_cpp='$CXXCPP $CPPFLAGS'
64463 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64464 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64465 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64468 /* end confdefs.h. */
64469 #include <math.h>
64470 #ifdef HAVE_IEEEFP_H
64471 #include <ieeefp.h>
64472 #endif
64475 main ()
64477 isnanl(0);
64479 return 0;
64481 _ACEOF
64482 if ac_fn_cxx_try_compile "$LINENO"; then :
64483 glibcxx_cv_func_isnanl_use=yes
64484 else
64485 glibcxx_cv_func_isnanl_use=no
64487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64488 ac_ext=c
64489 ac_cpp='$CPP $CPPFLAGS'
64490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
64499 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
64501 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
64502 for ac_func in isnanl
64503 do :
64504 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
64505 if test "x$ac_cv_func_isnanl" = xyes; then :
64506 cat >>confdefs.h <<_ACEOF
64507 #define HAVE_ISNANL 1
64508 _ACEOF
64511 done
64513 else
64515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
64516 $as_echo_n "checking for _isnanl declaration... " >&6; }
64517 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
64518 if ${glibcxx_cv_func__isnanl_use+:} false; then :
64519 $as_echo_n "(cached) " >&6
64520 else
64523 ac_ext=cpp
64524 ac_cpp='$CXXCPP $CPPFLAGS'
64525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64530 /* end confdefs.h. */
64531 #include <math.h>
64532 #ifdef HAVE_IEEEFP_H
64533 #include <ieeefp.h>
64534 #endif
64537 main ()
64539 _isnanl(0);
64541 return 0;
64543 _ACEOF
64544 if ac_fn_cxx_try_compile "$LINENO"; then :
64545 glibcxx_cv_func__isnanl_use=yes
64546 else
64547 glibcxx_cv_func__isnanl_use=no
64549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64550 ac_ext=c
64551 ac_cpp='$CPP $CPPFLAGS'
64552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
64561 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
64563 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
64564 for ac_func in _isnanl
64565 do :
64566 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
64567 if test "x$ac_cv_func__isnanl" = xyes; then :
64568 cat >>confdefs.h <<_ACEOF
64569 #define HAVE__ISNANL 1
64570 _ACEOF
64573 done
64582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
64583 $as_echo_n "checking for isinfl declaration... " >&6; }
64584 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
64585 if ${glibcxx_cv_func_isinfl_use+:} false; then :
64586 $as_echo_n "(cached) " >&6
64587 else
64590 ac_ext=cpp
64591 ac_cpp='$CXXCPP $CPPFLAGS'
64592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64597 /* end confdefs.h. */
64598 #include <math.h>
64599 #ifdef HAVE_IEEEFP_H
64600 #include <ieeefp.h>
64601 #endif
64604 main ()
64606 isinfl(0);
64608 return 0;
64610 _ACEOF
64611 if ac_fn_cxx_try_compile "$LINENO"; then :
64612 glibcxx_cv_func_isinfl_use=yes
64613 else
64614 glibcxx_cv_func_isinfl_use=no
64616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64617 ac_ext=c
64618 ac_cpp='$CPP $CPPFLAGS'
64619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
64628 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
64630 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
64631 for ac_func in isinfl
64632 do :
64633 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
64634 if test "x$ac_cv_func_isinfl" = xyes; then :
64635 cat >>confdefs.h <<_ACEOF
64636 #define HAVE_ISINFL 1
64637 _ACEOF
64640 done
64642 else
64644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
64645 $as_echo_n "checking for _isinfl declaration... " >&6; }
64646 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
64647 if ${glibcxx_cv_func__isinfl_use+:} false; then :
64648 $as_echo_n "(cached) " >&6
64649 else
64652 ac_ext=cpp
64653 ac_cpp='$CXXCPP $CPPFLAGS'
64654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64659 /* end confdefs.h. */
64660 #include <math.h>
64661 #ifdef HAVE_IEEEFP_H
64662 #include <ieeefp.h>
64663 #endif
64666 main ()
64668 _isinfl(0);
64670 return 0;
64672 _ACEOF
64673 if ac_fn_cxx_try_compile "$LINENO"; then :
64674 glibcxx_cv_func__isinfl_use=yes
64675 else
64676 glibcxx_cv_func__isinfl_use=no
64678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64679 ac_ext=c
64680 ac_cpp='$CPP $CPPFLAGS'
64681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
64690 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
64692 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
64693 for ac_func in _isinfl
64694 do :
64695 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
64696 if test "x$ac_cv_func__isinfl" = xyes; then :
64697 cat >>confdefs.h <<_ACEOF
64698 #define HAVE__ISINFL 1
64699 _ACEOF
64702 done
64711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
64712 $as_echo_n "checking for atan2l declaration... " >&6; }
64713 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
64714 if ${glibcxx_cv_func_atan2l_use+:} false; then :
64715 $as_echo_n "(cached) " >&6
64716 else
64719 ac_ext=cpp
64720 ac_cpp='$CXXCPP $CPPFLAGS'
64721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64726 /* end confdefs.h. */
64727 #include <math.h>
64729 main ()
64731 atan2l(0, 0);
64733 return 0;
64735 _ACEOF
64736 if ac_fn_cxx_try_compile "$LINENO"; then :
64737 glibcxx_cv_func_atan2l_use=yes
64738 else
64739 glibcxx_cv_func_atan2l_use=no
64741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64742 ac_ext=c
64743 ac_cpp='$CPP $CPPFLAGS'
64744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
64753 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
64755 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
64756 for ac_func in atan2l
64757 do :
64758 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
64759 if test "x$ac_cv_func_atan2l" = xyes; then :
64760 cat >>confdefs.h <<_ACEOF
64761 #define HAVE_ATAN2L 1
64762 _ACEOF
64765 done
64767 else
64769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
64770 $as_echo_n "checking for _atan2l declaration... " >&6; }
64771 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
64772 if ${glibcxx_cv_func__atan2l_use+:} false; then :
64773 $as_echo_n "(cached) " >&6
64774 else
64777 ac_ext=cpp
64778 ac_cpp='$CXXCPP $CPPFLAGS'
64779 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64780 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64781 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64784 /* end confdefs.h. */
64785 #include <math.h>
64787 main ()
64789 _atan2l(0, 0);
64791 return 0;
64793 _ACEOF
64794 if ac_fn_cxx_try_compile "$LINENO"; then :
64795 glibcxx_cv_func__atan2l_use=yes
64796 else
64797 glibcxx_cv_func__atan2l_use=no
64799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64800 ac_ext=c
64801 ac_cpp='$CPP $CPPFLAGS'
64802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
64811 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
64813 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
64814 for ac_func in _atan2l
64815 do :
64816 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
64817 if test "x$ac_cv_func__atan2l" = xyes; then :
64818 cat >>confdefs.h <<_ACEOF
64819 #define HAVE__ATAN2L 1
64820 _ACEOF
64823 done
64832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
64833 $as_echo_n "checking for expl declaration... " >&6; }
64834 if test x${glibcxx_cv_func_expl_use+set} != xset; then
64835 if ${glibcxx_cv_func_expl_use+:} false; then :
64836 $as_echo_n "(cached) " >&6
64837 else
64840 ac_ext=cpp
64841 ac_cpp='$CXXCPP $CPPFLAGS'
64842 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64843 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64844 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64847 /* end confdefs.h. */
64848 #include <math.h>
64849 #ifdef HAVE_IEEEFP_H
64850 #include <ieeefp.h>
64851 #endif
64854 main ()
64856 expl(0);
64858 return 0;
64860 _ACEOF
64861 if ac_fn_cxx_try_compile "$LINENO"; then :
64862 glibcxx_cv_func_expl_use=yes
64863 else
64864 glibcxx_cv_func_expl_use=no
64866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64867 ac_ext=c
64868 ac_cpp='$CPP $CPPFLAGS'
64869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
64878 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
64880 if test x$glibcxx_cv_func_expl_use = x"yes"; then
64881 for ac_func in expl
64882 do :
64883 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
64884 if test "x$ac_cv_func_expl" = xyes; then :
64885 cat >>confdefs.h <<_ACEOF
64886 #define HAVE_EXPL 1
64887 _ACEOF
64890 done
64892 else
64894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
64895 $as_echo_n "checking for _expl declaration... " >&6; }
64896 if test x${glibcxx_cv_func__expl_use+set} != xset; then
64897 if ${glibcxx_cv_func__expl_use+:} false; then :
64898 $as_echo_n "(cached) " >&6
64899 else
64902 ac_ext=cpp
64903 ac_cpp='$CXXCPP $CPPFLAGS'
64904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64909 /* end confdefs.h. */
64910 #include <math.h>
64911 #ifdef HAVE_IEEEFP_H
64912 #include <ieeefp.h>
64913 #endif
64916 main ()
64918 _expl(0);
64920 return 0;
64922 _ACEOF
64923 if ac_fn_cxx_try_compile "$LINENO"; then :
64924 glibcxx_cv_func__expl_use=yes
64925 else
64926 glibcxx_cv_func__expl_use=no
64928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64929 ac_ext=c
64930 ac_cpp='$CPP $CPPFLAGS'
64931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
64940 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
64942 if test x$glibcxx_cv_func__expl_use = x"yes"; then
64943 for ac_func in _expl
64944 do :
64945 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
64946 if test "x$ac_cv_func__expl" = xyes; then :
64947 cat >>confdefs.h <<_ACEOF
64948 #define HAVE__EXPL 1
64949 _ACEOF
64952 done
64961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
64962 $as_echo_n "checking for fabsl declaration... " >&6; }
64963 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
64964 if ${glibcxx_cv_func_fabsl_use+:} false; then :
64965 $as_echo_n "(cached) " >&6
64966 else
64969 ac_ext=cpp
64970 ac_cpp='$CXXCPP $CPPFLAGS'
64971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64976 /* end confdefs.h. */
64977 #include <math.h>
64978 #ifdef HAVE_IEEEFP_H
64979 #include <ieeefp.h>
64980 #endif
64983 main ()
64985 fabsl(0);
64987 return 0;
64989 _ACEOF
64990 if ac_fn_cxx_try_compile "$LINENO"; then :
64991 glibcxx_cv_func_fabsl_use=yes
64992 else
64993 glibcxx_cv_func_fabsl_use=no
64995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64996 ac_ext=c
64997 ac_cpp='$CPP $CPPFLAGS'
64998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
65007 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
65009 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
65010 for ac_func in fabsl
65011 do :
65012 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
65013 if test "x$ac_cv_func_fabsl" = xyes; then :
65014 cat >>confdefs.h <<_ACEOF
65015 #define HAVE_FABSL 1
65016 _ACEOF
65019 done
65021 else
65023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
65024 $as_echo_n "checking for _fabsl declaration... " >&6; }
65025 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
65026 if ${glibcxx_cv_func__fabsl_use+:} false; then :
65027 $as_echo_n "(cached) " >&6
65028 else
65031 ac_ext=cpp
65032 ac_cpp='$CXXCPP $CPPFLAGS'
65033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65038 /* end confdefs.h. */
65039 #include <math.h>
65040 #ifdef HAVE_IEEEFP_H
65041 #include <ieeefp.h>
65042 #endif
65045 main ()
65047 _fabsl(0);
65049 return 0;
65051 _ACEOF
65052 if ac_fn_cxx_try_compile "$LINENO"; then :
65053 glibcxx_cv_func__fabsl_use=yes
65054 else
65055 glibcxx_cv_func__fabsl_use=no
65057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65058 ac_ext=c
65059 ac_cpp='$CPP $CPPFLAGS'
65060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
65069 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
65071 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
65072 for ac_func in _fabsl
65073 do :
65074 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
65075 if test "x$ac_cv_func__fabsl" = xyes; then :
65076 cat >>confdefs.h <<_ACEOF
65077 #define HAVE__FABSL 1
65078 _ACEOF
65081 done
65090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
65091 $as_echo_n "checking for fmodl declaration... " >&6; }
65092 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
65093 if ${glibcxx_cv_func_fmodl_use+:} false; then :
65094 $as_echo_n "(cached) " >&6
65095 else
65098 ac_ext=cpp
65099 ac_cpp='$CXXCPP $CPPFLAGS'
65100 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65101 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65102 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65105 /* end confdefs.h. */
65106 #include <math.h>
65108 main ()
65110 fmodl(0, 0);
65112 return 0;
65114 _ACEOF
65115 if ac_fn_cxx_try_compile "$LINENO"; then :
65116 glibcxx_cv_func_fmodl_use=yes
65117 else
65118 glibcxx_cv_func_fmodl_use=no
65120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65121 ac_ext=c
65122 ac_cpp='$CPP $CPPFLAGS'
65123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
65132 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
65134 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
65135 for ac_func in fmodl
65136 do :
65137 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
65138 if test "x$ac_cv_func_fmodl" = xyes; then :
65139 cat >>confdefs.h <<_ACEOF
65140 #define HAVE_FMODL 1
65141 _ACEOF
65144 done
65146 else
65148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
65149 $as_echo_n "checking for _fmodl declaration... " >&6; }
65150 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
65151 if ${glibcxx_cv_func__fmodl_use+:} false; then :
65152 $as_echo_n "(cached) " >&6
65153 else
65156 ac_ext=cpp
65157 ac_cpp='$CXXCPP $CPPFLAGS'
65158 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65159 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65160 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65163 /* end confdefs.h. */
65164 #include <math.h>
65166 main ()
65168 _fmodl(0, 0);
65170 return 0;
65172 _ACEOF
65173 if ac_fn_cxx_try_compile "$LINENO"; then :
65174 glibcxx_cv_func__fmodl_use=yes
65175 else
65176 glibcxx_cv_func__fmodl_use=no
65178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65179 ac_ext=c
65180 ac_cpp='$CPP $CPPFLAGS'
65181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
65190 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
65192 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
65193 for ac_func in _fmodl
65194 do :
65195 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
65196 if test "x$ac_cv_func__fmodl" = xyes; then :
65197 cat >>confdefs.h <<_ACEOF
65198 #define HAVE__FMODL 1
65199 _ACEOF
65202 done
65211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
65212 $as_echo_n "checking for frexpl declaration... " >&6; }
65213 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
65214 if ${glibcxx_cv_func_frexpl_use+:} false; then :
65215 $as_echo_n "(cached) " >&6
65216 else
65219 ac_ext=cpp
65220 ac_cpp='$CXXCPP $CPPFLAGS'
65221 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65222 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65223 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65226 /* end confdefs.h. */
65227 #include <math.h>
65229 main ()
65231 frexpl(0, 0);
65233 return 0;
65235 _ACEOF
65236 if ac_fn_cxx_try_compile "$LINENO"; then :
65237 glibcxx_cv_func_frexpl_use=yes
65238 else
65239 glibcxx_cv_func_frexpl_use=no
65241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65242 ac_ext=c
65243 ac_cpp='$CPP $CPPFLAGS'
65244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
65253 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
65255 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
65256 for ac_func in frexpl
65257 do :
65258 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
65259 if test "x$ac_cv_func_frexpl" = xyes; then :
65260 cat >>confdefs.h <<_ACEOF
65261 #define HAVE_FREXPL 1
65262 _ACEOF
65265 done
65267 else
65269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
65270 $as_echo_n "checking for _frexpl declaration... " >&6; }
65271 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
65272 if ${glibcxx_cv_func__frexpl_use+:} false; then :
65273 $as_echo_n "(cached) " >&6
65274 else
65277 ac_ext=cpp
65278 ac_cpp='$CXXCPP $CPPFLAGS'
65279 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65280 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65281 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65284 /* end confdefs.h. */
65285 #include <math.h>
65287 main ()
65289 _frexpl(0, 0);
65291 return 0;
65293 _ACEOF
65294 if ac_fn_cxx_try_compile "$LINENO"; then :
65295 glibcxx_cv_func__frexpl_use=yes
65296 else
65297 glibcxx_cv_func__frexpl_use=no
65299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65300 ac_ext=c
65301 ac_cpp='$CPP $CPPFLAGS'
65302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
65311 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
65313 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
65314 for ac_func in _frexpl
65315 do :
65316 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
65317 if test "x$ac_cv_func__frexpl" = xyes; then :
65318 cat >>confdefs.h <<_ACEOF
65319 #define HAVE__FREXPL 1
65320 _ACEOF
65323 done
65332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
65333 $as_echo_n "checking for hypotl declaration... " >&6; }
65334 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
65335 if ${glibcxx_cv_func_hypotl_use+:} false; then :
65336 $as_echo_n "(cached) " >&6
65337 else
65340 ac_ext=cpp
65341 ac_cpp='$CXXCPP $CPPFLAGS'
65342 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65343 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65344 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65347 /* end confdefs.h. */
65348 #include <math.h>
65350 main ()
65352 hypotl(0, 0);
65354 return 0;
65356 _ACEOF
65357 if ac_fn_cxx_try_compile "$LINENO"; then :
65358 glibcxx_cv_func_hypotl_use=yes
65359 else
65360 glibcxx_cv_func_hypotl_use=no
65362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65363 ac_ext=c
65364 ac_cpp='$CPP $CPPFLAGS'
65365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
65374 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
65376 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
65377 for ac_func in hypotl
65378 do :
65379 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
65380 if test "x$ac_cv_func_hypotl" = xyes; then :
65381 cat >>confdefs.h <<_ACEOF
65382 #define HAVE_HYPOTL 1
65383 _ACEOF
65386 done
65388 else
65390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
65391 $as_echo_n "checking for _hypotl declaration... " >&6; }
65392 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
65393 if ${glibcxx_cv_func__hypotl_use+:} false; then :
65394 $as_echo_n "(cached) " >&6
65395 else
65398 ac_ext=cpp
65399 ac_cpp='$CXXCPP $CPPFLAGS'
65400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65405 /* end confdefs.h. */
65406 #include <math.h>
65408 main ()
65410 _hypotl(0, 0);
65412 return 0;
65414 _ACEOF
65415 if ac_fn_cxx_try_compile "$LINENO"; then :
65416 glibcxx_cv_func__hypotl_use=yes
65417 else
65418 glibcxx_cv_func__hypotl_use=no
65420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65421 ac_ext=c
65422 ac_cpp='$CPP $CPPFLAGS'
65423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
65432 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
65434 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
65435 for ac_func in _hypotl
65436 do :
65437 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
65438 if test "x$ac_cv_func__hypotl" = xyes; then :
65439 cat >>confdefs.h <<_ACEOF
65440 #define HAVE__HYPOTL 1
65441 _ACEOF
65444 done
65453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
65454 $as_echo_n "checking for ldexpl declaration... " >&6; }
65455 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
65456 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
65457 $as_echo_n "(cached) " >&6
65458 else
65461 ac_ext=cpp
65462 ac_cpp='$CXXCPP $CPPFLAGS'
65463 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65464 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65465 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65468 /* end confdefs.h. */
65469 #include <math.h>
65471 main ()
65473 ldexpl(0, 0);
65475 return 0;
65477 _ACEOF
65478 if ac_fn_cxx_try_compile "$LINENO"; then :
65479 glibcxx_cv_func_ldexpl_use=yes
65480 else
65481 glibcxx_cv_func_ldexpl_use=no
65483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65484 ac_ext=c
65485 ac_cpp='$CPP $CPPFLAGS'
65486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
65495 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
65497 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
65498 for ac_func in ldexpl
65499 do :
65500 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
65501 if test "x$ac_cv_func_ldexpl" = xyes; then :
65502 cat >>confdefs.h <<_ACEOF
65503 #define HAVE_LDEXPL 1
65504 _ACEOF
65507 done
65509 else
65511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
65512 $as_echo_n "checking for _ldexpl declaration... " >&6; }
65513 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
65514 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
65515 $as_echo_n "(cached) " >&6
65516 else
65519 ac_ext=cpp
65520 ac_cpp='$CXXCPP $CPPFLAGS'
65521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65526 /* end confdefs.h. */
65527 #include <math.h>
65529 main ()
65531 _ldexpl(0, 0);
65533 return 0;
65535 _ACEOF
65536 if ac_fn_cxx_try_compile "$LINENO"; then :
65537 glibcxx_cv_func__ldexpl_use=yes
65538 else
65539 glibcxx_cv_func__ldexpl_use=no
65541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65542 ac_ext=c
65543 ac_cpp='$CPP $CPPFLAGS'
65544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
65553 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
65555 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
65556 for ac_func in _ldexpl
65557 do :
65558 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
65559 if test "x$ac_cv_func__ldexpl" = xyes; then :
65560 cat >>confdefs.h <<_ACEOF
65561 #define HAVE__LDEXPL 1
65562 _ACEOF
65565 done
65574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
65575 $as_echo_n "checking for logl declaration... " >&6; }
65576 if test x${glibcxx_cv_func_logl_use+set} != xset; then
65577 if ${glibcxx_cv_func_logl_use+:} false; then :
65578 $as_echo_n "(cached) " >&6
65579 else
65582 ac_ext=cpp
65583 ac_cpp='$CXXCPP $CPPFLAGS'
65584 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65585 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65586 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65589 /* end confdefs.h. */
65590 #include <math.h>
65591 #ifdef HAVE_IEEEFP_H
65592 #include <ieeefp.h>
65593 #endif
65596 main ()
65598 logl(0);
65600 return 0;
65602 _ACEOF
65603 if ac_fn_cxx_try_compile "$LINENO"; then :
65604 glibcxx_cv_func_logl_use=yes
65605 else
65606 glibcxx_cv_func_logl_use=no
65608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65609 ac_ext=c
65610 ac_cpp='$CPP $CPPFLAGS'
65611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
65620 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
65622 if test x$glibcxx_cv_func_logl_use = x"yes"; then
65623 for ac_func in logl
65624 do :
65625 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
65626 if test "x$ac_cv_func_logl" = xyes; then :
65627 cat >>confdefs.h <<_ACEOF
65628 #define HAVE_LOGL 1
65629 _ACEOF
65632 done
65634 else
65636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
65637 $as_echo_n "checking for _logl declaration... " >&6; }
65638 if test x${glibcxx_cv_func__logl_use+set} != xset; then
65639 if ${glibcxx_cv_func__logl_use+:} false; then :
65640 $as_echo_n "(cached) " >&6
65641 else
65644 ac_ext=cpp
65645 ac_cpp='$CXXCPP $CPPFLAGS'
65646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65651 /* end confdefs.h. */
65652 #include <math.h>
65653 #ifdef HAVE_IEEEFP_H
65654 #include <ieeefp.h>
65655 #endif
65658 main ()
65660 _logl(0);
65662 return 0;
65664 _ACEOF
65665 if ac_fn_cxx_try_compile "$LINENO"; then :
65666 glibcxx_cv_func__logl_use=yes
65667 else
65668 glibcxx_cv_func__logl_use=no
65670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65671 ac_ext=c
65672 ac_cpp='$CPP $CPPFLAGS'
65673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
65682 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
65684 if test x$glibcxx_cv_func__logl_use = x"yes"; then
65685 for ac_func in _logl
65686 do :
65687 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
65688 if test "x$ac_cv_func__logl" = xyes; then :
65689 cat >>confdefs.h <<_ACEOF
65690 #define HAVE__LOGL 1
65691 _ACEOF
65694 done
65703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
65704 $as_echo_n "checking for log10l declaration... " >&6; }
65705 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
65706 if ${glibcxx_cv_func_log10l_use+:} false; then :
65707 $as_echo_n "(cached) " >&6
65708 else
65711 ac_ext=cpp
65712 ac_cpp='$CXXCPP $CPPFLAGS'
65713 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65714 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65715 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65718 /* end confdefs.h. */
65719 #include <math.h>
65720 #ifdef HAVE_IEEEFP_H
65721 #include <ieeefp.h>
65722 #endif
65725 main ()
65727 log10l(0);
65729 return 0;
65731 _ACEOF
65732 if ac_fn_cxx_try_compile "$LINENO"; then :
65733 glibcxx_cv_func_log10l_use=yes
65734 else
65735 glibcxx_cv_func_log10l_use=no
65737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65738 ac_ext=c
65739 ac_cpp='$CPP $CPPFLAGS'
65740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
65749 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
65751 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
65752 for ac_func in log10l
65753 do :
65754 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
65755 if test "x$ac_cv_func_log10l" = xyes; then :
65756 cat >>confdefs.h <<_ACEOF
65757 #define HAVE_LOG10L 1
65758 _ACEOF
65761 done
65763 else
65765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
65766 $as_echo_n "checking for _log10l declaration... " >&6; }
65767 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
65768 if ${glibcxx_cv_func__log10l_use+:} false; then :
65769 $as_echo_n "(cached) " >&6
65770 else
65773 ac_ext=cpp
65774 ac_cpp='$CXXCPP $CPPFLAGS'
65775 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65776 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65777 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65780 /* end confdefs.h. */
65781 #include <math.h>
65782 #ifdef HAVE_IEEEFP_H
65783 #include <ieeefp.h>
65784 #endif
65787 main ()
65789 _log10l(0);
65791 return 0;
65793 _ACEOF
65794 if ac_fn_cxx_try_compile "$LINENO"; then :
65795 glibcxx_cv_func__log10l_use=yes
65796 else
65797 glibcxx_cv_func__log10l_use=no
65799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65800 ac_ext=c
65801 ac_cpp='$CPP $CPPFLAGS'
65802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
65811 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
65813 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
65814 for ac_func in _log10l
65815 do :
65816 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
65817 if test "x$ac_cv_func__log10l" = xyes; then :
65818 cat >>confdefs.h <<_ACEOF
65819 #define HAVE__LOG10L 1
65820 _ACEOF
65823 done
65832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
65833 $as_echo_n "checking for modfl declaration... " >&6; }
65834 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
65835 if ${glibcxx_cv_func_modfl_use+:} false; then :
65836 $as_echo_n "(cached) " >&6
65837 else
65840 ac_ext=cpp
65841 ac_cpp='$CXXCPP $CPPFLAGS'
65842 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65843 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65844 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65847 /* end confdefs.h. */
65848 #include <math.h>
65850 main ()
65852 modfl(0, 0);
65854 return 0;
65856 _ACEOF
65857 if ac_fn_cxx_try_compile "$LINENO"; then :
65858 glibcxx_cv_func_modfl_use=yes
65859 else
65860 glibcxx_cv_func_modfl_use=no
65862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65863 ac_ext=c
65864 ac_cpp='$CPP $CPPFLAGS'
65865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
65874 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
65876 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
65877 for ac_func in modfl
65878 do :
65879 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
65880 if test "x$ac_cv_func_modfl" = xyes; then :
65881 cat >>confdefs.h <<_ACEOF
65882 #define HAVE_MODFL 1
65883 _ACEOF
65886 done
65888 else
65890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
65891 $as_echo_n "checking for _modfl declaration... " >&6; }
65892 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
65893 if ${glibcxx_cv_func__modfl_use+:} false; then :
65894 $as_echo_n "(cached) " >&6
65895 else
65898 ac_ext=cpp
65899 ac_cpp='$CXXCPP $CPPFLAGS'
65900 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65901 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65902 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65905 /* end confdefs.h. */
65906 #include <math.h>
65908 main ()
65910 _modfl(0, 0);
65912 return 0;
65914 _ACEOF
65915 if ac_fn_cxx_try_compile "$LINENO"; then :
65916 glibcxx_cv_func__modfl_use=yes
65917 else
65918 glibcxx_cv_func__modfl_use=no
65920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65921 ac_ext=c
65922 ac_cpp='$CPP $CPPFLAGS'
65923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
65932 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
65934 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
65935 for ac_func in _modfl
65936 do :
65937 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
65938 if test "x$ac_cv_func__modfl" = xyes; then :
65939 cat >>confdefs.h <<_ACEOF
65940 #define HAVE__MODFL 1
65941 _ACEOF
65944 done
65953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
65954 $as_echo_n "checking for powl declaration... " >&6; }
65955 if test x${glibcxx_cv_func_powl_use+set} != xset; then
65956 if ${glibcxx_cv_func_powl_use+:} false; then :
65957 $as_echo_n "(cached) " >&6
65958 else
65961 ac_ext=cpp
65962 ac_cpp='$CXXCPP $CPPFLAGS'
65963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65968 /* end confdefs.h. */
65969 #include <math.h>
65971 main ()
65973 powl(0, 0);
65975 return 0;
65977 _ACEOF
65978 if ac_fn_cxx_try_compile "$LINENO"; then :
65979 glibcxx_cv_func_powl_use=yes
65980 else
65981 glibcxx_cv_func_powl_use=no
65983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65984 ac_ext=c
65985 ac_cpp='$CPP $CPPFLAGS'
65986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
65995 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
65997 if test x$glibcxx_cv_func_powl_use = x"yes"; then
65998 for ac_func in powl
65999 do :
66000 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
66001 if test "x$ac_cv_func_powl" = xyes; then :
66002 cat >>confdefs.h <<_ACEOF
66003 #define HAVE_POWL 1
66004 _ACEOF
66007 done
66009 else
66011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
66012 $as_echo_n "checking for _powl declaration... " >&6; }
66013 if test x${glibcxx_cv_func__powl_use+set} != xset; then
66014 if ${glibcxx_cv_func__powl_use+:} false; then :
66015 $as_echo_n "(cached) " >&6
66016 else
66019 ac_ext=cpp
66020 ac_cpp='$CXXCPP $CPPFLAGS'
66021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66026 /* end confdefs.h. */
66027 #include <math.h>
66029 main ()
66031 _powl(0, 0);
66033 return 0;
66035 _ACEOF
66036 if ac_fn_cxx_try_compile "$LINENO"; then :
66037 glibcxx_cv_func__powl_use=yes
66038 else
66039 glibcxx_cv_func__powl_use=no
66041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66042 ac_ext=c
66043 ac_cpp='$CPP $CPPFLAGS'
66044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
66053 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
66055 if test x$glibcxx_cv_func__powl_use = x"yes"; then
66056 for ac_func in _powl
66057 do :
66058 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
66059 if test "x$ac_cv_func__powl" = xyes; then :
66060 cat >>confdefs.h <<_ACEOF
66061 #define HAVE__POWL 1
66062 _ACEOF
66065 done
66074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
66075 $as_echo_n "checking for sqrtl declaration... " >&6; }
66076 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
66077 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
66078 $as_echo_n "(cached) " >&6
66079 else
66082 ac_ext=cpp
66083 ac_cpp='$CXXCPP $CPPFLAGS'
66084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66089 /* end confdefs.h. */
66090 #include <math.h>
66091 #ifdef HAVE_IEEEFP_H
66092 #include <ieeefp.h>
66093 #endif
66096 main ()
66098 sqrtl(0);
66100 return 0;
66102 _ACEOF
66103 if ac_fn_cxx_try_compile "$LINENO"; then :
66104 glibcxx_cv_func_sqrtl_use=yes
66105 else
66106 glibcxx_cv_func_sqrtl_use=no
66108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66109 ac_ext=c
66110 ac_cpp='$CPP $CPPFLAGS'
66111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
66120 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
66122 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
66123 for ac_func in sqrtl
66124 do :
66125 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
66126 if test "x$ac_cv_func_sqrtl" = xyes; then :
66127 cat >>confdefs.h <<_ACEOF
66128 #define HAVE_SQRTL 1
66129 _ACEOF
66132 done
66134 else
66136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
66137 $as_echo_n "checking for _sqrtl declaration... " >&6; }
66138 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
66139 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
66140 $as_echo_n "(cached) " >&6
66141 else
66144 ac_ext=cpp
66145 ac_cpp='$CXXCPP $CPPFLAGS'
66146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66147 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66151 /* end confdefs.h. */
66152 #include <math.h>
66153 #ifdef HAVE_IEEEFP_H
66154 #include <ieeefp.h>
66155 #endif
66158 main ()
66160 _sqrtl(0);
66162 return 0;
66164 _ACEOF
66165 if ac_fn_cxx_try_compile "$LINENO"; then :
66166 glibcxx_cv_func__sqrtl_use=yes
66167 else
66168 glibcxx_cv_func__sqrtl_use=no
66170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66171 ac_ext=c
66172 ac_cpp='$CPP $CPPFLAGS'
66173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
66182 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
66184 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
66185 for ac_func in _sqrtl
66186 do :
66187 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
66188 if test "x$ac_cv_func__sqrtl" = xyes; then :
66189 cat >>confdefs.h <<_ACEOF
66190 #define HAVE__SQRTL 1
66191 _ACEOF
66194 done
66203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
66204 $as_echo_n "checking for sincosl declaration... " >&6; }
66205 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
66206 if ${glibcxx_cv_func_sincosl_use+:} false; then :
66207 $as_echo_n "(cached) " >&6
66208 else
66211 ac_ext=cpp
66212 ac_cpp='$CXXCPP $CPPFLAGS'
66213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66218 /* end confdefs.h. */
66219 #include <math.h>
66221 main ()
66223 sincosl(0, 0, 0);
66225 return 0;
66227 _ACEOF
66228 if ac_fn_cxx_try_compile "$LINENO"; then :
66229 glibcxx_cv_func_sincosl_use=yes
66230 else
66231 glibcxx_cv_func_sincosl_use=no
66233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66234 ac_ext=c
66235 ac_cpp='$CPP $CPPFLAGS'
66236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
66245 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
66247 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
66248 for ac_func in sincosl
66249 do :
66250 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
66251 if test "x$ac_cv_func_sincosl" = xyes; then :
66252 cat >>confdefs.h <<_ACEOF
66253 #define HAVE_SINCOSL 1
66254 _ACEOF
66257 done
66259 else
66261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
66262 $as_echo_n "checking for _sincosl declaration... " >&6; }
66263 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
66264 if ${glibcxx_cv_func__sincosl_use+:} false; then :
66265 $as_echo_n "(cached) " >&6
66266 else
66269 ac_ext=cpp
66270 ac_cpp='$CXXCPP $CPPFLAGS'
66271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66272 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66276 /* end confdefs.h. */
66277 #include <math.h>
66279 main ()
66281 _sincosl(0, 0, 0);
66283 return 0;
66285 _ACEOF
66286 if ac_fn_cxx_try_compile "$LINENO"; then :
66287 glibcxx_cv_func__sincosl_use=yes
66288 else
66289 glibcxx_cv_func__sincosl_use=no
66291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66292 ac_ext=c
66293 ac_cpp='$CPP $CPPFLAGS'
66294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
66303 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
66305 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
66306 for ac_func in _sincosl
66307 do :
66308 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
66309 if test "x$ac_cv_func__sincosl" = xyes; then :
66310 cat >>confdefs.h <<_ACEOF
66311 #define HAVE__SINCOSL 1
66312 _ACEOF
66315 done
66324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
66325 $as_echo_n "checking for finitel declaration... " >&6; }
66326 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
66327 if ${glibcxx_cv_func_finitel_use+:} false; then :
66328 $as_echo_n "(cached) " >&6
66329 else
66332 ac_ext=cpp
66333 ac_cpp='$CXXCPP $CPPFLAGS'
66334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66339 /* end confdefs.h. */
66340 #include <math.h>
66341 #ifdef HAVE_IEEEFP_H
66342 #include <ieeefp.h>
66343 #endif
66346 main ()
66348 finitel(0);
66350 return 0;
66352 _ACEOF
66353 if ac_fn_cxx_try_compile "$LINENO"; then :
66354 glibcxx_cv_func_finitel_use=yes
66355 else
66356 glibcxx_cv_func_finitel_use=no
66358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66359 ac_ext=c
66360 ac_cpp='$CPP $CPPFLAGS'
66361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
66370 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
66372 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
66373 for ac_func in finitel
66374 do :
66375 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
66376 if test "x$ac_cv_func_finitel" = xyes; then :
66377 cat >>confdefs.h <<_ACEOF
66378 #define HAVE_FINITEL 1
66379 _ACEOF
66382 done
66384 else
66386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
66387 $as_echo_n "checking for _finitel declaration... " >&6; }
66388 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
66389 if ${glibcxx_cv_func__finitel_use+:} false; then :
66390 $as_echo_n "(cached) " >&6
66391 else
66394 ac_ext=cpp
66395 ac_cpp='$CXXCPP $CPPFLAGS'
66396 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66397 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66398 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66401 /* end confdefs.h. */
66402 #include <math.h>
66403 #ifdef HAVE_IEEEFP_H
66404 #include <ieeefp.h>
66405 #endif
66408 main ()
66410 _finitel(0);
66412 return 0;
66414 _ACEOF
66415 if ac_fn_cxx_try_compile "$LINENO"; then :
66416 glibcxx_cv_func__finitel_use=yes
66417 else
66418 glibcxx_cv_func__finitel_use=no
66420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66421 ac_ext=c
66422 ac_cpp='$CPP $CPPFLAGS'
66423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
66432 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
66434 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
66435 for ac_func in _finitel
66436 do :
66437 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
66438 if test "x$ac_cv_func__finitel" = xyes; then :
66439 cat >>confdefs.h <<_ACEOF
66440 #define HAVE__FINITEL 1
66441 _ACEOF
66444 done
66452 LIBS="$ac_save_LIBS"
66453 CXXFLAGS="$ac_save_CXXFLAGS"
66456 ac_test_CXXFLAGS="${CXXFLAGS+set}"
66457 ac_save_CXXFLAGS="$CXXFLAGS"
66458 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
66461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
66462 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
66463 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
66464 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
66465 $as_echo_n "(cached) " >&6
66466 else
66469 ac_ext=cpp
66470 ac_cpp='$CXXCPP $CPPFLAGS'
66471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66476 /* end confdefs.h. */
66477 #include <stdlib.h>
66479 main ()
66481 at_quick_exit(0);
66483 return 0;
66485 _ACEOF
66486 if ac_fn_cxx_try_compile "$LINENO"; then :
66487 glibcxx_cv_func_at_quick_exit_use=yes
66488 else
66489 glibcxx_cv_func_at_quick_exit_use=no
66491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66492 ac_ext=c
66493 ac_cpp='$CPP $CPPFLAGS'
66494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
66503 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
66504 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
66505 for ac_func in at_quick_exit
66506 do :
66507 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
66508 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
66509 cat >>confdefs.h <<_ACEOF
66510 #define HAVE_AT_QUICK_EXIT 1
66511 _ACEOF
66514 done
66519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
66520 $as_echo_n "checking for quick_exit declaration... " >&6; }
66521 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
66522 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
66523 $as_echo_n "(cached) " >&6
66524 else
66527 ac_ext=cpp
66528 ac_cpp='$CXXCPP $CPPFLAGS'
66529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66534 /* end confdefs.h. */
66535 #include <stdlib.h>
66537 main ()
66539 quick_exit(0);
66541 return 0;
66543 _ACEOF
66544 if ac_fn_cxx_try_compile "$LINENO"; then :
66545 glibcxx_cv_func_quick_exit_use=yes
66546 else
66547 glibcxx_cv_func_quick_exit_use=no
66549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66550 ac_ext=c
66551 ac_cpp='$CPP $CPPFLAGS'
66552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
66561 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
66562 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
66563 for ac_func in quick_exit
66564 do :
66565 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
66566 if test "x$ac_cv_func_quick_exit" = xyes; then :
66567 cat >>confdefs.h <<_ACEOF
66568 #define HAVE_QUICK_EXIT 1
66569 _ACEOF
66572 done
66577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
66578 $as_echo_n "checking for strtold declaration... " >&6; }
66579 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
66580 if ${glibcxx_cv_func_strtold_use+:} false; then :
66581 $as_echo_n "(cached) " >&6
66582 else
66585 ac_ext=cpp
66586 ac_cpp='$CXXCPP $CPPFLAGS'
66587 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66588 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66589 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66592 /* end confdefs.h. */
66593 #include <stdlib.h>
66595 main ()
66597 strtold(0, 0);
66599 return 0;
66601 _ACEOF
66602 if ac_fn_cxx_try_compile "$LINENO"; then :
66603 glibcxx_cv_func_strtold_use=yes
66604 else
66605 glibcxx_cv_func_strtold_use=no
66607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66608 ac_ext=c
66609 ac_cpp='$CPP $CPPFLAGS'
66610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
66619 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
66620 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
66621 for ac_func in strtold
66622 do :
66623 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
66624 if test "x$ac_cv_func_strtold" = xyes; then :
66625 cat >>confdefs.h <<_ACEOF
66626 #define HAVE_STRTOLD 1
66627 _ACEOF
66630 done
66637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
66638 $as_echo_n "checking for strtof declaration... " >&6; }
66639 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
66640 if ${glibcxx_cv_func_strtof_use+:} false; then :
66641 $as_echo_n "(cached) " >&6
66642 else
66645 ac_ext=cpp
66646 ac_cpp='$CXXCPP $CPPFLAGS'
66647 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66648 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66649 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66652 /* end confdefs.h. */
66653 #include <stdlib.h>
66655 main ()
66657 strtof(0, 0);
66659 return 0;
66661 _ACEOF
66662 if ac_fn_cxx_try_compile "$LINENO"; then :
66663 glibcxx_cv_func_strtof_use=yes
66664 else
66665 glibcxx_cv_func_strtof_use=no
66667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66668 ac_ext=c
66669 ac_cpp='$CPP $CPPFLAGS'
66670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
66679 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
66680 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
66681 for ac_func in strtof
66682 do :
66683 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
66684 if test "x$ac_cv_func_strtof" = xyes; then :
66685 cat >>confdefs.h <<_ACEOF
66686 #define HAVE_STRTOF 1
66687 _ACEOF
66690 done
66697 CXXFLAGS="$ac_save_CXXFLAGS"
66700 *-tpf)
66701 SECTION_FLAGS='-ffunction-sections -fdata-sections'
66702 SECTION_LDFLAGS='-Wl,--gc-sections $SECTION_LDFLAGS'
66704 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
66706 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
66708 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
66710 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
66712 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
66714 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
66716 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
66718 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
66720 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
66722 $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h
66724 if test x"long_double_math_on_this_cpu" = x"yes"; then
66725 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
66727 $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
66729 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
66731 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
66735 *-*vms*)
66736 # Check for available headers.
66737 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, VMS doesn't have a GNU ld
66739 ac_test_CXXFLAGS="${CXXFLAGS+set}"
66740 ac_save_CXXFLAGS="$CXXFLAGS"
66741 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
66743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
66744 $as_echo_n "checking for sin in -lm... " >&6; }
66745 if ${ac_cv_lib_m_sin+:} false; then :
66746 $as_echo_n "(cached) " >&6
66747 else
66748 ac_check_lib_save_LIBS=$LIBS
66749 LIBS="-lm $LIBS"
66750 if test x$gcc_no_link = xyes; then
66751 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
66753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66754 /* end confdefs.h. */
66756 /* Override any GCC internal prototype to avoid an error.
66757 Use char because int might match the return type of a GCC
66758 builtin and then its argument prototype would still apply. */
66759 #ifdef __cplusplus
66760 extern "C"
66761 #endif
66762 char sin ();
66764 main ()
66766 return sin ();
66768 return 0;
66770 _ACEOF
66771 if ac_fn_c_try_link "$LINENO"; then :
66772 ac_cv_lib_m_sin=yes
66773 else
66774 ac_cv_lib_m_sin=no
66776 rm -f core conftest.err conftest.$ac_objext \
66777 conftest$ac_exeext conftest.$ac_ext
66778 LIBS=$ac_check_lib_save_LIBS
66780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
66781 $as_echo "$ac_cv_lib_m_sin" >&6; }
66782 if test "x$ac_cv_lib_m_sin" = xyes; then :
66783 libm="-lm"
66786 ac_save_LIBS="$LIBS"
66787 LIBS="$LIBS $libm"
66791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
66792 $as_echo_n "checking for isinf declaration... " >&6; }
66793 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
66794 if ${glibcxx_cv_func_isinf_use+:} false; then :
66795 $as_echo_n "(cached) " >&6
66796 else
66799 ac_ext=cpp
66800 ac_cpp='$CXXCPP $CPPFLAGS'
66801 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66802 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66803 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66806 /* end confdefs.h. */
66807 #include <math.h>
66808 #ifdef HAVE_IEEEFP_H
66809 #include <ieeefp.h>
66810 #endif
66813 main ()
66815 isinf(0);
66817 return 0;
66819 _ACEOF
66820 if ac_fn_cxx_try_compile "$LINENO"; then :
66821 glibcxx_cv_func_isinf_use=yes
66822 else
66823 glibcxx_cv_func_isinf_use=no
66825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66826 ac_ext=c
66827 ac_cpp='$CPP $CPPFLAGS'
66828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
66837 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
66839 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
66840 for ac_func in isinf
66841 do :
66842 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
66843 if test "x$ac_cv_func_isinf" = xyes; then :
66844 cat >>confdefs.h <<_ACEOF
66845 #define HAVE_ISINF 1
66846 _ACEOF
66849 done
66851 else
66853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
66854 $as_echo_n "checking for _isinf declaration... " >&6; }
66855 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
66856 if ${glibcxx_cv_func__isinf_use+:} false; then :
66857 $as_echo_n "(cached) " >&6
66858 else
66861 ac_ext=cpp
66862 ac_cpp='$CXXCPP $CPPFLAGS'
66863 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66864 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66865 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66868 /* end confdefs.h. */
66869 #include <math.h>
66870 #ifdef HAVE_IEEEFP_H
66871 #include <ieeefp.h>
66872 #endif
66875 main ()
66877 _isinf(0);
66879 return 0;
66881 _ACEOF
66882 if ac_fn_cxx_try_compile "$LINENO"; then :
66883 glibcxx_cv_func__isinf_use=yes
66884 else
66885 glibcxx_cv_func__isinf_use=no
66887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66888 ac_ext=c
66889 ac_cpp='$CPP $CPPFLAGS'
66890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
66899 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
66901 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
66902 for ac_func in _isinf
66903 do :
66904 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
66905 if test "x$ac_cv_func__isinf" = xyes; then :
66906 cat >>confdefs.h <<_ACEOF
66907 #define HAVE__ISINF 1
66908 _ACEOF
66911 done
66920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
66921 $as_echo_n "checking for isnan declaration... " >&6; }
66922 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
66923 if ${glibcxx_cv_func_isnan_use+:} false; then :
66924 $as_echo_n "(cached) " >&6
66925 else
66928 ac_ext=cpp
66929 ac_cpp='$CXXCPP $CPPFLAGS'
66930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66935 /* end confdefs.h. */
66936 #include <math.h>
66937 #ifdef HAVE_IEEEFP_H
66938 #include <ieeefp.h>
66939 #endif
66942 main ()
66944 isnan(0);
66946 return 0;
66948 _ACEOF
66949 if ac_fn_cxx_try_compile "$LINENO"; then :
66950 glibcxx_cv_func_isnan_use=yes
66951 else
66952 glibcxx_cv_func_isnan_use=no
66954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66955 ac_ext=c
66956 ac_cpp='$CPP $CPPFLAGS'
66957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
66966 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
66968 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
66969 for ac_func in isnan
66970 do :
66971 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
66972 if test "x$ac_cv_func_isnan" = xyes; then :
66973 cat >>confdefs.h <<_ACEOF
66974 #define HAVE_ISNAN 1
66975 _ACEOF
66978 done
66980 else
66982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
66983 $as_echo_n "checking for _isnan declaration... " >&6; }
66984 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
66985 if ${glibcxx_cv_func__isnan_use+:} false; then :
66986 $as_echo_n "(cached) " >&6
66987 else
66990 ac_ext=cpp
66991 ac_cpp='$CXXCPP $CPPFLAGS'
66992 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66993 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66994 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66997 /* end confdefs.h. */
66998 #include <math.h>
66999 #ifdef HAVE_IEEEFP_H
67000 #include <ieeefp.h>
67001 #endif
67004 main ()
67006 _isnan(0);
67008 return 0;
67010 _ACEOF
67011 if ac_fn_cxx_try_compile "$LINENO"; then :
67012 glibcxx_cv_func__isnan_use=yes
67013 else
67014 glibcxx_cv_func__isnan_use=no
67016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67017 ac_ext=c
67018 ac_cpp='$CPP $CPPFLAGS'
67019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
67028 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
67030 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
67031 for ac_func in _isnan
67032 do :
67033 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
67034 if test "x$ac_cv_func__isnan" = xyes; then :
67035 cat >>confdefs.h <<_ACEOF
67036 #define HAVE__ISNAN 1
67037 _ACEOF
67040 done
67049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
67050 $as_echo_n "checking for finite declaration... " >&6; }
67051 if test x${glibcxx_cv_func_finite_use+set} != xset; then
67052 if ${glibcxx_cv_func_finite_use+:} false; then :
67053 $as_echo_n "(cached) " >&6
67054 else
67057 ac_ext=cpp
67058 ac_cpp='$CXXCPP $CPPFLAGS'
67059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67064 /* end confdefs.h. */
67065 #include <math.h>
67066 #ifdef HAVE_IEEEFP_H
67067 #include <ieeefp.h>
67068 #endif
67071 main ()
67073 finite(0);
67075 return 0;
67077 _ACEOF
67078 if ac_fn_cxx_try_compile "$LINENO"; then :
67079 glibcxx_cv_func_finite_use=yes
67080 else
67081 glibcxx_cv_func_finite_use=no
67083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67084 ac_ext=c
67085 ac_cpp='$CPP $CPPFLAGS'
67086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
67095 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
67097 if test x$glibcxx_cv_func_finite_use = x"yes"; then
67098 for ac_func in finite
67099 do :
67100 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
67101 if test "x$ac_cv_func_finite" = xyes; then :
67102 cat >>confdefs.h <<_ACEOF
67103 #define HAVE_FINITE 1
67104 _ACEOF
67107 done
67109 else
67111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
67112 $as_echo_n "checking for _finite declaration... " >&6; }
67113 if test x${glibcxx_cv_func__finite_use+set} != xset; then
67114 if ${glibcxx_cv_func__finite_use+:} false; then :
67115 $as_echo_n "(cached) " >&6
67116 else
67119 ac_ext=cpp
67120 ac_cpp='$CXXCPP $CPPFLAGS'
67121 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67122 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67123 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67126 /* end confdefs.h. */
67127 #include <math.h>
67128 #ifdef HAVE_IEEEFP_H
67129 #include <ieeefp.h>
67130 #endif
67133 main ()
67135 _finite(0);
67137 return 0;
67139 _ACEOF
67140 if ac_fn_cxx_try_compile "$LINENO"; then :
67141 glibcxx_cv_func__finite_use=yes
67142 else
67143 glibcxx_cv_func__finite_use=no
67145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67146 ac_ext=c
67147 ac_cpp='$CPP $CPPFLAGS'
67148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
67157 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
67159 if test x$glibcxx_cv_func__finite_use = x"yes"; then
67160 for ac_func in _finite
67161 do :
67162 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
67163 if test "x$ac_cv_func__finite" = xyes; then :
67164 cat >>confdefs.h <<_ACEOF
67165 #define HAVE__FINITE 1
67166 _ACEOF
67169 done
67178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
67179 $as_echo_n "checking for sincos declaration... " >&6; }
67180 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
67181 if ${glibcxx_cv_func_sincos_use+:} false; then :
67182 $as_echo_n "(cached) " >&6
67183 else
67186 ac_ext=cpp
67187 ac_cpp='$CXXCPP $CPPFLAGS'
67188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67193 /* end confdefs.h. */
67194 #include <math.h>
67196 main ()
67198 sincos(0, 0, 0);
67200 return 0;
67202 _ACEOF
67203 if ac_fn_cxx_try_compile "$LINENO"; then :
67204 glibcxx_cv_func_sincos_use=yes
67205 else
67206 glibcxx_cv_func_sincos_use=no
67208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67209 ac_ext=c
67210 ac_cpp='$CPP $CPPFLAGS'
67211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
67220 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
67222 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
67223 for ac_func in sincos
67224 do :
67225 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
67226 if test "x$ac_cv_func_sincos" = xyes; then :
67227 cat >>confdefs.h <<_ACEOF
67228 #define HAVE_SINCOS 1
67229 _ACEOF
67232 done
67234 else
67236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
67237 $as_echo_n "checking for _sincos declaration... " >&6; }
67238 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
67239 if ${glibcxx_cv_func__sincos_use+:} false; then :
67240 $as_echo_n "(cached) " >&6
67241 else
67244 ac_ext=cpp
67245 ac_cpp='$CXXCPP $CPPFLAGS'
67246 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67247 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67248 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67251 /* end confdefs.h. */
67252 #include <math.h>
67254 main ()
67256 _sincos(0, 0, 0);
67258 return 0;
67260 _ACEOF
67261 if ac_fn_cxx_try_compile "$LINENO"; then :
67262 glibcxx_cv_func__sincos_use=yes
67263 else
67264 glibcxx_cv_func__sincos_use=no
67266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67267 ac_ext=c
67268 ac_cpp='$CPP $CPPFLAGS'
67269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
67278 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
67280 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
67281 for ac_func in _sincos
67282 do :
67283 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
67284 if test "x$ac_cv_func__sincos" = xyes; then :
67285 cat >>confdefs.h <<_ACEOF
67286 #define HAVE__SINCOS 1
67287 _ACEOF
67290 done
67299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
67300 $as_echo_n "checking for fpclass declaration... " >&6; }
67301 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
67302 if ${glibcxx_cv_func_fpclass_use+:} false; then :
67303 $as_echo_n "(cached) " >&6
67304 else
67307 ac_ext=cpp
67308 ac_cpp='$CXXCPP $CPPFLAGS'
67309 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67310 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67311 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67314 /* end confdefs.h. */
67315 #include <math.h>
67316 #ifdef HAVE_IEEEFP_H
67317 #include <ieeefp.h>
67318 #endif
67321 main ()
67323 fpclass(0);
67325 return 0;
67327 _ACEOF
67328 if ac_fn_cxx_try_compile "$LINENO"; then :
67329 glibcxx_cv_func_fpclass_use=yes
67330 else
67331 glibcxx_cv_func_fpclass_use=no
67333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67334 ac_ext=c
67335 ac_cpp='$CPP $CPPFLAGS'
67336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
67345 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
67347 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
67348 for ac_func in fpclass
67349 do :
67350 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
67351 if test "x$ac_cv_func_fpclass" = xyes; then :
67352 cat >>confdefs.h <<_ACEOF
67353 #define HAVE_FPCLASS 1
67354 _ACEOF
67357 done
67359 else
67361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
67362 $as_echo_n "checking for _fpclass declaration... " >&6; }
67363 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
67364 if ${glibcxx_cv_func__fpclass_use+:} false; then :
67365 $as_echo_n "(cached) " >&6
67366 else
67369 ac_ext=cpp
67370 ac_cpp='$CXXCPP $CPPFLAGS'
67371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67376 /* end confdefs.h. */
67377 #include <math.h>
67378 #ifdef HAVE_IEEEFP_H
67379 #include <ieeefp.h>
67380 #endif
67383 main ()
67385 _fpclass(0);
67387 return 0;
67389 _ACEOF
67390 if ac_fn_cxx_try_compile "$LINENO"; then :
67391 glibcxx_cv_func__fpclass_use=yes
67392 else
67393 glibcxx_cv_func__fpclass_use=no
67395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67396 ac_ext=c
67397 ac_cpp='$CPP $CPPFLAGS'
67398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
67407 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
67409 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
67410 for ac_func in _fpclass
67411 do :
67412 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
67413 if test "x$ac_cv_func__fpclass" = xyes; then :
67414 cat >>confdefs.h <<_ACEOF
67415 #define HAVE__FPCLASS 1
67416 _ACEOF
67419 done
67428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
67429 $as_echo_n "checking for qfpclass declaration... " >&6; }
67430 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
67431 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
67432 $as_echo_n "(cached) " >&6
67433 else
67436 ac_ext=cpp
67437 ac_cpp='$CXXCPP $CPPFLAGS'
67438 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67439 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67440 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67443 /* end confdefs.h. */
67444 #include <math.h>
67445 #ifdef HAVE_IEEEFP_H
67446 #include <ieeefp.h>
67447 #endif
67450 main ()
67452 qfpclass(0);
67454 return 0;
67456 _ACEOF
67457 if ac_fn_cxx_try_compile "$LINENO"; then :
67458 glibcxx_cv_func_qfpclass_use=yes
67459 else
67460 glibcxx_cv_func_qfpclass_use=no
67462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67463 ac_ext=c
67464 ac_cpp='$CPP $CPPFLAGS'
67465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
67474 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
67476 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
67477 for ac_func in qfpclass
67478 do :
67479 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
67480 if test "x$ac_cv_func_qfpclass" = xyes; then :
67481 cat >>confdefs.h <<_ACEOF
67482 #define HAVE_QFPCLASS 1
67483 _ACEOF
67486 done
67488 else
67490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
67491 $as_echo_n "checking for _qfpclass declaration... " >&6; }
67492 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
67493 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
67494 $as_echo_n "(cached) " >&6
67495 else
67498 ac_ext=cpp
67499 ac_cpp='$CXXCPP $CPPFLAGS'
67500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67505 /* end confdefs.h. */
67506 #include <math.h>
67507 #ifdef HAVE_IEEEFP_H
67508 #include <ieeefp.h>
67509 #endif
67512 main ()
67514 _qfpclass(0);
67516 return 0;
67518 _ACEOF
67519 if ac_fn_cxx_try_compile "$LINENO"; then :
67520 glibcxx_cv_func__qfpclass_use=yes
67521 else
67522 glibcxx_cv_func__qfpclass_use=no
67524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67525 ac_ext=c
67526 ac_cpp='$CPP $CPPFLAGS'
67527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
67536 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
67538 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
67539 for ac_func in _qfpclass
67540 do :
67541 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
67542 if test "x$ac_cv_func__qfpclass" = xyes; then :
67543 cat >>confdefs.h <<_ACEOF
67544 #define HAVE__QFPCLASS 1
67545 _ACEOF
67548 done
67557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
67558 $as_echo_n "checking for hypot declaration... " >&6; }
67559 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
67560 if ${glibcxx_cv_func_hypot_use+:} false; then :
67561 $as_echo_n "(cached) " >&6
67562 else
67565 ac_ext=cpp
67566 ac_cpp='$CXXCPP $CPPFLAGS'
67567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67572 /* end confdefs.h. */
67573 #include <math.h>
67575 main ()
67577 hypot(0, 0);
67579 return 0;
67581 _ACEOF
67582 if ac_fn_cxx_try_compile "$LINENO"; then :
67583 glibcxx_cv_func_hypot_use=yes
67584 else
67585 glibcxx_cv_func_hypot_use=no
67587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67588 ac_ext=c
67589 ac_cpp='$CPP $CPPFLAGS'
67590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
67599 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
67601 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
67602 for ac_func in hypot
67603 do :
67604 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
67605 if test "x$ac_cv_func_hypot" = xyes; then :
67606 cat >>confdefs.h <<_ACEOF
67607 #define HAVE_HYPOT 1
67608 _ACEOF
67611 done
67613 else
67615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
67616 $as_echo_n "checking for _hypot declaration... " >&6; }
67617 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
67618 if ${glibcxx_cv_func__hypot_use+:} false; then :
67619 $as_echo_n "(cached) " >&6
67620 else
67623 ac_ext=cpp
67624 ac_cpp='$CXXCPP $CPPFLAGS'
67625 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67626 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67627 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67630 /* end confdefs.h. */
67631 #include <math.h>
67633 main ()
67635 _hypot(0, 0);
67637 return 0;
67639 _ACEOF
67640 if ac_fn_cxx_try_compile "$LINENO"; then :
67641 glibcxx_cv_func__hypot_use=yes
67642 else
67643 glibcxx_cv_func__hypot_use=no
67645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67646 ac_ext=c
67647 ac_cpp='$CPP $CPPFLAGS'
67648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
67657 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
67659 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
67660 for ac_func in _hypot
67661 do :
67662 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
67663 if test "x$ac_cv_func__hypot" = xyes; then :
67664 cat >>confdefs.h <<_ACEOF
67665 #define HAVE__HYPOT 1
67666 _ACEOF
67669 done
67678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
67679 $as_echo_n "checking for float trig functions... " >&6; }
67680 if ${glibcxx_cv_func_float_trig_use+:} false; then :
67681 $as_echo_n "(cached) " >&6
67682 else
67685 ac_ext=cpp
67686 ac_cpp='$CXXCPP $CPPFLAGS'
67687 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67688 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67689 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67692 /* end confdefs.h. */
67693 #include <math.h>
67695 main ()
67697 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
67699 return 0;
67701 _ACEOF
67702 if ac_fn_cxx_try_compile "$LINENO"; then :
67703 glibcxx_cv_func_float_trig_use=yes
67704 else
67705 glibcxx_cv_func_float_trig_use=no
67707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67708 ac_ext=c
67709 ac_cpp='$CPP $CPPFLAGS'
67710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
67717 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
67718 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
67719 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
67720 do :
67721 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67722 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67723 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
67724 cat >>confdefs.h <<_ACEOF
67725 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67726 _ACEOF
67729 done
67731 else
67732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
67733 $as_echo_n "checking for _float trig functions... " >&6; }
67734 if ${glibcxx_cv_func__float_trig_use+:} false; then :
67735 $as_echo_n "(cached) " >&6
67736 else
67739 ac_ext=cpp
67740 ac_cpp='$CXXCPP $CPPFLAGS'
67741 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67742 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67743 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67746 /* end confdefs.h. */
67747 #include <math.h>
67749 main ()
67751 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
67753 return 0;
67755 _ACEOF
67756 if ac_fn_cxx_try_compile "$LINENO"; then :
67757 glibcxx_cv_func__float_trig_use=yes
67758 else
67759 glibcxx_cv_func__float_trig_use=no
67761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67762 ac_ext=c
67763 ac_cpp='$CPP $CPPFLAGS'
67764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
67771 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
67772 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
67773 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
67774 do :
67775 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67776 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67777 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
67778 cat >>confdefs.h <<_ACEOF
67779 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67780 _ACEOF
67783 done
67792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
67793 $as_echo_n "checking for float round functions... " >&6; }
67794 if ${glibcxx_cv_func_float_round_use+:} false; then :
67795 $as_echo_n "(cached) " >&6
67796 else
67799 ac_ext=cpp
67800 ac_cpp='$CXXCPP $CPPFLAGS'
67801 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67802 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67803 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67806 /* end confdefs.h. */
67807 #include <math.h>
67809 main ()
67811 ceilf (0); floorf (0);
67813 return 0;
67815 _ACEOF
67816 if ac_fn_cxx_try_compile "$LINENO"; then :
67817 glibcxx_cv_func_float_round_use=yes
67818 else
67819 glibcxx_cv_func_float_round_use=no
67821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67822 ac_ext=c
67823 ac_cpp='$CPP $CPPFLAGS'
67824 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67825 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67826 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
67831 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
67832 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
67833 for ac_func in ceilf floorf
67834 do :
67835 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67836 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67837 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
67838 cat >>confdefs.h <<_ACEOF
67839 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67840 _ACEOF
67843 done
67845 else
67846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
67847 $as_echo_n "checking for _float round functions... " >&6; }
67848 if ${glibcxx_cv_func__float_round_use+:} false; then :
67849 $as_echo_n "(cached) " >&6
67850 else
67853 ac_ext=cpp
67854 ac_cpp='$CXXCPP $CPPFLAGS'
67855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67860 /* end confdefs.h. */
67861 #include <math.h>
67863 main ()
67865 _ceilf (0); _floorf (0);
67867 return 0;
67869 _ACEOF
67870 if ac_fn_cxx_try_compile "$LINENO"; then :
67871 glibcxx_cv_func__float_round_use=yes
67872 else
67873 glibcxx_cv_func__float_round_use=no
67875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67876 ac_ext=c
67877 ac_cpp='$CPP $CPPFLAGS'
67878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
67885 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
67886 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
67887 for ac_func in _ceilf _floorf
67888 do :
67889 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67890 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67891 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
67892 cat >>confdefs.h <<_ACEOF
67893 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67894 _ACEOF
67897 done
67907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
67908 $as_echo_n "checking for expf declaration... " >&6; }
67909 if test x${glibcxx_cv_func_expf_use+set} != xset; then
67910 if ${glibcxx_cv_func_expf_use+:} false; then :
67911 $as_echo_n "(cached) " >&6
67912 else
67915 ac_ext=cpp
67916 ac_cpp='$CXXCPP $CPPFLAGS'
67917 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67918 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67919 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67922 /* end confdefs.h. */
67923 #include <math.h>
67924 #ifdef HAVE_IEEEFP_H
67925 #include <ieeefp.h>
67926 #endif
67929 main ()
67931 expf(0);
67933 return 0;
67935 _ACEOF
67936 if ac_fn_cxx_try_compile "$LINENO"; then :
67937 glibcxx_cv_func_expf_use=yes
67938 else
67939 glibcxx_cv_func_expf_use=no
67941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67942 ac_ext=c
67943 ac_cpp='$CPP $CPPFLAGS'
67944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
67953 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
67955 if test x$glibcxx_cv_func_expf_use = x"yes"; then
67956 for ac_func in expf
67957 do :
67958 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
67959 if test "x$ac_cv_func_expf" = xyes; then :
67960 cat >>confdefs.h <<_ACEOF
67961 #define HAVE_EXPF 1
67962 _ACEOF
67965 done
67967 else
67969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
67970 $as_echo_n "checking for _expf declaration... " >&6; }
67971 if test x${glibcxx_cv_func__expf_use+set} != xset; then
67972 if ${glibcxx_cv_func__expf_use+:} false; then :
67973 $as_echo_n "(cached) " >&6
67974 else
67977 ac_ext=cpp
67978 ac_cpp='$CXXCPP $CPPFLAGS'
67979 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67980 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67981 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67984 /* end confdefs.h. */
67985 #include <math.h>
67986 #ifdef HAVE_IEEEFP_H
67987 #include <ieeefp.h>
67988 #endif
67991 main ()
67993 _expf(0);
67995 return 0;
67997 _ACEOF
67998 if ac_fn_cxx_try_compile "$LINENO"; then :
67999 glibcxx_cv_func__expf_use=yes
68000 else
68001 glibcxx_cv_func__expf_use=no
68003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68004 ac_ext=c
68005 ac_cpp='$CPP $CPPFLAGS'
68006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
68015 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
68017 if test x$glibcxx_cv_func__expf_use = x"yes"; then
68018 for ac_func in _expf
68019 do :
68020 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
68021 if test "x$ac_cv_func__expf" = xyes; then :
68022 cat >>confdefs.h <<_ACEOF
68023 #define HAVE__EXPF 1
68024 _ACEOF
68027 done
68036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
68037 $as_echo_n "checking for isnanf declaration... " >&6; }
68038 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
68039 if ${glibcxx_cv_func_isnanf_use+:} false; then :
68040 $as_echo_n "(cached) " >&6
68041 else
68044 ac_ext=cpp
68045 ac_cpp='$CXXCPP $CPPFLAGS'
68046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68051 /* end confdefs.h. */
68052 #include <math.h>
68053 #ifdef HAVE_IEEEFP_H
68054 #include <ieeefp.h>
68055 #endif
68058 main ()
68060 isnanf(0);
68062 return 0;
68064 _ACEOF
68065 if ac_fn_cxx_try_compile "$LINENO"; then :
68066 glibcxx_cv_func_isnanf_use=yes
68067 else
68068 glibcxx_cv_func_isnanf_use=no
68070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68071 ac_ext=c
68072 ac_cpp='$CPP $CPPFLAGS'
68073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
68082 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
68084 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
68085 for ac_func in isnanf
68086 do :
68087 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
68088 if test "x$ac_cv_func_isnanf" = xyes; then :
68089 cat >>confdefs.h <<_ACEOF
68090 #define HAVE_ISNANF 1
68091 _ACEOF
68094 done
68096 else
68098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
68099 $as_echo_n "checking for _isnanf declaration... " >&6; }
68100 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
68101 if ${glibcxx_cv_func__isnanf_use+:} false; then :
68102 $as_echo_n "(cached) " >&6
68103 else
68106 ac_ext=cpp
68107 ac_cpp='$CXXCPP $CPPFLAGS'
68108 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68109 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68110 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68113 /* end confdefs.h. */
68114 #include <math.h>
68115 #ifdef HAVE_IEEEFP_H
68116 #include <ieeefp.h>
68117 #endif
68120 main ()
68122 _isnanf(0);
68124 return 0;
68126 _ACEOF
68127 if ac_fn_cxx_try_compile "$LINENO"; then :
68128 glibcxx_cv_func__isnanf_use=yes
68129 else
68130 glibcxx_cv_func__isnanf_use=no
68132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68133 ac_ext=c
68134 ac_cpp='$CPP $CPPFLAGS'
68135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
68144 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
68146 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
68147 for ac_func in _isnanf
68148 do :
68149 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
68150 if test "x$ac_cv_func__isnanf" = xyes; then :
68151 cat >>confdefs.h <<_ACEOF
68152 #define HAVE__ISNANF 1
68153 _ACEOF
68156 done
68165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
68166 $as_echo_n "checking for isinff declaration... " >&6; }
68167 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
68168 if ${glibcxx_cv_func_isinff_use+:} false; then :
68169 $as_echo_n "(cached) " >&6
68170 else
68173 ac_ext=cpp
68174 ac_cpp='$CXXCPP $CPPFLAGS'
68175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68180 /* end confdefs.h. */
68181 #include <math.h>
68182 #ifdef HAVE_IEEEFP_H
68183 #include <ieeefp.h>
68184 #endif
68187 main ()
68189 isinff(0);
68191 return 0;
68193 _ACEOF
68194 if ac_fn_cxx_try_compile "$LINENO"; then :
68195 glibcxx_cv_func_isinff_use=yes
68196 else
68197 glibcxx_cv_func_isinff_use=no
68199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68200 ac_ext=c
68201 ac_cpp='$CPP $CPPFLAGS'
68202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
68211 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
68213 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
68214 for ac_func in isinff
68215 do :
68216 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
68217 if test "x$ac_cv_func_isinff" = xyes; then :
68218 cat >>confdefs.h <<_ACEOF
68219 #define HAVE_ISINFF 1
68220 _ACEOF
68223 done
68225 else
68227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
68228 $as_echo_n "checking for _isinff declaration... " >&6; }
68229 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
68230 if ${glibcxx_cv_func__isinff_use+:} false; then :
68231 $as_echo_n "(cached) " >&6
68232 else
68235 ac_ext=cpp
68236 ac_cpp='$CXXCPP $CPPFLAGS'
68237 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68238 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68239 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68242 /* end confdefs.h. */
68243 #include <math.h>
68244 #ifdef HAVE_IEEEFP_H
68245 #include <ieeefp.h>
68246 #endif
68249 main ()
68251 _isinff(0);
68253 return 0;
68255 _ACEOF
68256 if ac_fn_cxx_try_compile "$LINENO"; then :
68257 glibcxx_cv_func__isinff_use=yes
68258 else
68259 glibcxx_cv_func__isinff_use=no
68261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68262 ac_ext=c
68263 ac_cpp='$CPP $CPPFLAGS'
68264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
68273 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
68275 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
68276 for ac_func in _isinff
68277 do :
68278 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
68279 if test "x$ac_cv_func__isinff" = xyes; then :
68280 cat >>confdefs.h <<_ACEOF
68281 #define HAVE__ISINFF 1
68282 _ACEOF
68285 done
68294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
68295 $as_echo_n "checking for atan2f declaration... " >&6; }
68296 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
68297 if ${glibcxx_cv_func_atan2f_use+:} false; then :
68298 $as_echo_n "(cached) " >&6
68299 else
68302 ac_ext=cpp
68303 ac_cpp='$CXXCPP $CPPFLAGS'
68304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68309 /* end confdefs.h. */
68310 #include <math.h>
68312 main ()
68314 atan2f(0, 0);
68316 return 0;
68318 _ACEOF
68319 if ac_fn_cxx_try_compile "$LINENO"; then :
68320 glibcxx_cv_func_atan2f_use=yes
68321 else
68322 glibcxx_cv_func_atan2f_use=no
68324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68325 ac_ext=c
68326 ac_cpp='$CPP $CPPFLAGS'
68327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
68336 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
68338 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
68339 for ac_func in atan2f
68340 do :
68341 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
68342 if test "x$ac_cv_func_atan2f" = xyes; then :
68343 cat >>confdefs.h <<_ACEOF
68344 #define HAVE_ATAN2F 1
68345 _ACEOF
68348 done
68350 else
68352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
68353 $as_echo_n "checking for _atan2f declaration... " >&6; }
68354 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
68355 if ${glibcxx_cv_func__atan2f_use+:} false; then :
68356 $as_echo_n "(cached) " >&6
68357 else
68360 ac_ext=cpp
68361 ac_cpp='$CXXCPP $CPPFLAGS'
68362 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68363 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68364 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68367 /* end confdefs.h. */
68368 #include <math.h>
68370 main ()
68372 _atan2f(0, 0);
68374 return 0;
68376 _ACEOF
68377 if ac_fn_cxx_try_compile "$LINENO"; then :
68378 glibcxx_cv_func__atan2f_use=yes
68379 else
68380 glibcxx_cv_func__atan2f_use=no
68382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68383 ac_ext=c
68384 ac_cpp='$CPP $CPPFLAGS'
68385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
68394 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
68396 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
68397 for ac_func in _atan2f
68398 do :
68399 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
68400 if test "x$ac_cv_func__atan2f" = xyes; then :
68401 cat >>confdefs.h <<_ACEOF
68402 #define HAVE__ATAN2F 1
68403 _ACEOF
68406 done
68415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
68416 $as_echo_n "checking for fabsf declaration... " >&6; }
68417 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
68418 if ${glibcxx_cv_func_fabsf_use+:} false; then :
68419 $as_echo_n "(cached) " >&6
68420 else
68423 ac_ext=cpp
68424 ac_cpp='$CXXCPP $CPPFLAGS'
68425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68430 /* end confdefs.h. */
68431 #include <math.h>
68432 #ifdef HAVE_IEEEFP_H
68433 #include <ieeefp.h>
68434 #endif
68437 main ()
68439 fabsf(0);
68441 return 0;
68443 _ACEOF
68444 if ac_fn_cxx_try_compile "$LINENO"; then :
68445 glibcxx_cv_func_fabsf_use=yes
68446 else
68447 glibcxx_cv_func_fabsf_use=no
68449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68450 ac_ext=c
68451 ac_cpp='$CPP $CPPFLAGS'
68452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
68461 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
68463 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
68464 for ac_func in fabsf
68465 do :
68466 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
68467 if test "x$ac_cv_func_fabsf" = xyes; then :
68468 cat >>confdefs.h <<_ACEOF
68469 #define HAVE_FABSF 1
68470 _ACEOF
68473 done
68475 else
68477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
68478 $as_echo_n "checking for _fabsf declaration... " >&6; }
68479 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
68480 if ${glibcxx_cv_func__fabsf_use+:} false; then :
68481 $as_echo_n "(cached) " >&6
68482 else
68485 ac_ext=cpp
68486 ac_cpp='$CXXCPP $CPPFLAGS'
68487 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68488 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68489 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68492 /* end confdefs.h. */
68493 #include <math.h>
68494 #ifdef HAVE_IEEEFP_H
68495 #include <ieeefp.h>
68496 #endif
68499 main ()
68501 _fabsf(0);
68503 return 0;
68505 _ACEOF
68506 if ac_fn_cxx_try_compile "$LINENO"; then :
68507 glibcxx_cv_func__fabsf_use=yes
68508 else
68509 glibcxx_cv_func__fabsf_use=no
68511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68512 ac_ext=c
68513 ac_cpp='$CPP $CPPFLAGS'
68514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
68523 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
68525 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
68526 for ac_func in _fabsf
68527 do :
68528 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
68529 if test "x$ac_cv_func__fabsf" = xyes; then :
68530 cat >>confdefs.h <<_ACEOF
68531 #define HAVE__FABSF 1
68532 _ACEOF
68535 done
68544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
68545 $as_echo_n "checking for fmodf declaration... " >&6; }
68546 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
68547 if ${glibcxx_cv_func_fmodf_use+:} false; then :
68548 $as_echo_n "(cached) " >&6
68549 else
68552 ac_ext=cpp
68553 ac_cpp='$CXXCPP $CPPFLAGS'
68554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68559 /* end confdefs.h. */
68560 #include <math.h>
68562 main ()
68564 fmodf(0, 0);
68566 return 0;
68568 _ACEOF
68569 if ac_fn_cxx_try_compile "$LINENO"; then :
68570 glibcxx_cv_func_fmodf_use=yes
68571 else
68572 glibcxx_cv_func_fmodf_use=no
68574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68575 ac_ext=c
68576 ac_cpp='$CPP $CPPFLAGS'
68577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
68586 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
68588 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
68589 for ac_func in fmodf
68590 do :
68591 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
68592 if test "x$ac_cv_func_fmodf" = xyes; then :
68593 cat >>confdefs.h <<_ACEOF
68594 #define HAVE_FMODF 1
68595 _ACEOF
68598 done
68600 else
68602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
68603 $as_echo_n "checking for _fmodf declaration... " >&6; }
68604 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
68605 if ${glibcxx_cv_func__fmodf_use+:} false; then :
68606 $as_echo_n "(cached) " >&6
68607 else
68610 ac_ext=cpp
68611 ac_cpp='$CXXCPP $CPPFLAGS'
68612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68617 /* end confdefs.h. */
68618 #include <math.h>
68620 main ()
68622 _fmodf(0, 0);
68624 return 0;
68626 _ACEOF
68627 if ac_fn_cxx_try_compile "$LINENO"; then :
68628 glibcxx_cv_func__fmodf_use=yes
68629 else
68630 glibcxx_cv_func__fmodf_use=no
68632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68633 ac_ext=c
68634 ac_cpp='$CPP $CPPFLAGS'
68635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
68644 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
68646 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
68647 for ac_func in _fmodf
68648 do :
68649 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
68650 if test "x$ac_cv_func__fmodf" = xyes; then :
68651 cat >>confdefs.h <<_ACEOF
68652 #define HAVE__FMODF 1
68653 _ACEOF
68656 done
68665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
68666 $as_echo_n "checking for frexpf declaration... " >&6; }
68667 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
68668 if ${glibcxx_cv_func_frexpf_use+:} false; then :
68669 $as_echo_n "(cached) " >&6
68670 else
68673 ac_ext=cpp
68674 ac_cpp='$CXXCPP $CPPFLAGS'
68675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68680 /* end confdefs.h. */
68681 #include <math.h>
68683 main ()
68685 frexpf(0, 0);
68687 return 0;
68689 _ACEOF
68690 if ac_fn_cxx_try_compile "$LINENO"; then :
68691 glibcxx_cv_func_frexpf_use=yes
68692 else
68693 glibcxx_cv_func_frexpf_use=no
68695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68696 ac_ext=c
68697 ac_cpp='$CPP $CPPFLAGS'
68698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
68707 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
68709 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
68710 for ac_func in frexpf
68711 do :
68712 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
68713 if test "x$ac_cv_func_frexpf" = xyes; then :
68714 cat >>confdefs.h <<_ACEOF
68715 #define HAVE_FREXPF 1
68716 _ACEOF
68719 done
68721 else
68723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
68724 $as_echo_n "checking for _frexpf declaration... " >&6; }
68725 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
68726 if ${glibcxx_cv_func__frexpf_use+:} false; then :
68727 $as_echo_n "(cached) " >&6
68728 else
68731 ac_ext=cpp
68732 ac_cpp='$CXXCPP $CPPFLAGS'
68733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68738 /* end confdefs.h. */
68739 #include <math.h>
68741 main ()
68743 _frexpf(0, 0);
68745 return 0;
68747 _ACEOF
68748 if ac_fn_cxx_try_compile "$LINENO"; then :
68749 glibcxx_cv_func__frexpf_use=yes
68750 else
68751 glibcxx_cv_func__frexpf_use=no
68753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68754 ac_ext=c
68755 ac_cpp='$CPP $CPPFLAGS'
68756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
68765 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
68767 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
68768 for ac_func in _frexpf
68769 do :
68770 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
68771 if test "x$ac_cv_func__frexpf" = xyes; then :
68772 cat >>confdefs.h <<_ACEOF
68773 #define HAVE__FREXPF 1
68774 _ACEOF
68777 done
68786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
68787 $as_echo_n "checking for hypotf declaration... " >&6; }
68788 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
68789 if ${glibcxx_cv_func_hypotf_use+:} false; then :
68790 $as_echo_n "(cached) " >&6
68791 else
68794 ac_ext=cpp
68795 ac_cpp='$CXXCPP $CPPFLAGS'
68796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68801 /* end confdefs.h. */
68802 #include <math.h>
68804 main ()
68806 hypotf(0, 0);
68808 return 0;
68810 _ACEOF
68811 if ac_fn_cxx_try_compile "$LINENO"; then :
68812 glibcxx_cv_func_hypotf_use=yes
68813 else
68814 glibcxx_cv_func_hypotf_use=no
68816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68817 ac_ext=c
68818 ac_cpp='$CPP $CPPFLAGS'
68819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
68828 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
68830 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
68831 for ac_func in hypotf
68832 do :
68833 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
68834 if test "x$ac_cv_func_hypotf" = xyes; then :
68835 cat >>confdefs.h <<_ACEOF
68836 #define HAVE_HYPOTF 1
68837 _ACEOF
68840 done
68842 else
68844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
68845 $as_echo_n "checking for _hypotf declaration... " >&6; }
68846 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
68847 if ${glibcxx_cv_func__hypotf_use+:} false; then :
68848 $as_echo_n "(cached) " >&6
68849 else
68852 ac_ext=cpp
68853 ac_cpp='$CXXCPP $CPPFLAGS'
68854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68859 /* end confdefs.h. */
68860 #include <math.h>
68862 main ()
68864 _hypotf(0, 0);
68866 return 0;
68868 _ACEOF
68869 if ac_fn_cxx_try_compile "$LINENO"; then :
68870 glibcxx_cv_func__hypotf_use=yes
68871 else
68872 glibcxx_cv_func__hypotf_use=no
68874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68875 ac_ext=c
68876 ac_cpp='$CPP $CPPFLAGS'
68877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
68886 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
68888 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
68889 for ac_func in _hypotf
68890 do :
68891 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
68892 if test "x$ac_cv_func__hypotf" = xyes; then :
68893 cat >>confdefs.h <<_ACEOF
68894 #define HAVE__HYPOTF 1
68895 _ACEOF
68898 done
68907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
68908 $as_echo_n "checking for ldexpf declaration... " >&6; }
68909 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
68910 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
68911 $as_echo_n "(cached) " >&6
68912 else
68915 ac_ext=cpp
68916 ac_cpp='$CXXCPP $CPPFLAGS'
68917 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68918 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68919 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68922 /* end confdefs.h. */
68923 #include <math.h>
68925 main ()
68927 ldexpf(0, 0);
68929 return 0;
68931 _ACEOF
68932 if ac_fn_cxx_try_compile "$LINENO"; then :
68933 glibcxx_cv_func_ldexpf_use=yes
68934 else
68935 glibcxx_cv_func_ldexpf_use=no
68937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68938 ac_ext=c
68939 ac_cpp='$CPP $CPPFLAGS'
68940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
68949 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
68951 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
68952 for ac_func in ldexpf
68953 do :
68954 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
68955 if test "x$ac_cv_func_ldexpf" = xyes; then :
68956 cat >>confdefs.h <<_ACEOF
68957 #define HAVE_LDEXPF 1
68958 _ACEOF
68961 done
68963 else
68965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
68966 $as_echo_n "checking for _ldexpf declaration... " >&6; }
68967 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
68968 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
68969 $as_echo_n "(cached) " >&6
68970 else
68973 ac_ext=cpp
68974 ac_cpp='$CXXCPP $CPPFLAGS'
68975 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68976 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68977 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68980 /* end confdefs.h. */
68981 #include <math.h>
68983 main ()
68985 _ldexpf(0, 0);
68987 return 0;
68989 _ACEOF
68990 if ac_fn_cxx_try_compile "$LINENO"; then :
68991 glibcxx_cv_func__ldexpf_use=yes
68992 else
68993 glibcxx_cv_func__ldexpf_use=no
68995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68996 ac_ext=c
68997 ac_cpp='$CPP $CPPFLAGS'
68998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
69007 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
69009 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
69010 for ac_func in _ldexpf
69011 do :
69012 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
69013 if test "x$ac_cv_func__ldexpf" = xyes; then :
69014 cat >>confdefs.h <<_ACEOF
69015 #define HAVE__LDEXPF 1
69016 _ACEOF
69019 done
69028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
69029 $as_echo_n "checking for logf declaration... " >&6; }
69030 if test x${glibcxx_cv_func_logf_use+set} != xset; then
69031 if ${glibcxx_cv_func_logf_use+:} false; then :
69032 $as_echo_n "(cached) " >&6
69033 else
69036 ac_ext=cpp
69037 ac_cpp='$CXXCPP $CPPFLAGS'
69038 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69039 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69040 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69043 /* end confdefs.h. */
69044 #include <math.h>
69045 #ifdef HAVE_IEEEFP_H
69046 #include <ieeefp.h>
69047 #endif
69050 main ()
69052 logf(0);
69054 return 0;
69056 _ACEOF
69057 if ac_fn_cxx_try_compile "$LINENO"; then :
69058 glibcxx_cv_func_logf_use=yes
69059 else
69060 glibcxx_cv_func_logf_use=no
69062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69063 ac_ext=c
69064 ac_cpp='$CPP $CPPFLAGS'
69065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
69074 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
69076 if test x$glibcxx_cv_func_logf_use = x"yes"; then
69077 for ac_func in logf
69078 do :
69079 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
69080 if test "x$ac_cv_func_logf" = xyes; then :
69081 cat >>confdefs.h <<_ACEOF
69082 #define HAVE_LOGF 1
69083 _ACEOF
69086 done
69088 else
69090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
69091 $as_echo_n "checking for _logf declaration... " >&6; }
69092 if test x${glibcxx_cv_func__logf_use+set} != xset; then
69093 if ${glibcxx_cv_func__logf_use+:} false; then :
69094 $as_echo_n "(cached) " >&6
69095 else
69098 ac_ext=cpp
69099 ac_cpp='$CXXCPP $CPPFLAGS'
69100 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69101 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69102 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69105 /* end confdefs.h. */
69106 #include <math.h>
69107 #ifdef HAVE_IEEEFP_H
69108 #include <ieeefp.h>
69109 #endif
69112 main ()
69114 _logf(0);
69116 return 0;
69118 _ACEOF
69119 if ac_fn_cxx_try_compile "$LINENO"; then :
69120 glibcxx_cv_func__logf_use=yes
69121 else
69122 glibcxx_cv_func__logf_use=no
69124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69125 ac_ext=c
69126 ac_cpp='$CPP $CPPFLAGS'
69127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
69136 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
69138 if test x$glibcxx_cv_func__logf_use = x"yes"; then
69139 for ac_func in _logf
69140 do :
69141 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
69142 if test "x$ac_cv_func__logf" = xyes; then :
69143 cat >>confdefs.h <<_ACEOF
69144 #define HAVE__LOGF 1
69145 _ACEOF
69148 done
69157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
69158 $as_echo_n "checking for log10f declaration... " >&6; }
69159 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
69160 if ${glibcxx_cv_func_log10f_use+:} false; then :
69161 $as_echo_n "(cached) " >&6
69162 else
69165 ac_ext=cpp
69166 ac_cpp='$CXXCPP $CPPFLAGS'
69167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69172 /* end confdefs.h. */
69173 #include <math.h>
69174 #ifdef HAVE_IEEEFP_H
69175 #include <ieeefp.h>
69176 #endif
69179 main ()
69181 log10f(0);
69183 return 0;
69185 _ACEOF
69186 if ac_fn_cxx_try_compile "$LINENO"; then :
69187 glibcxx_cv_func_log10f_use=yes
69188 else
69189 glibcxx_cv_func_log10f_use=no
69191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69192 ac_ext=c
69193 ac_cpp='$CPP $CPPFLAGS'
69194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
69203 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
69205 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
69206 for ac_func in log10f
69207 do :
69208 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
69209 if test "x$ac_cv_func_log10f" = xyes; then :
69210 cat >>confdefs.h <<_ACEOF
69211 #define HAVE_LOG10F 1
69212 _ACEOF
69215 done
69217 else
69219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
69220 $as_echo_n "checking for _log10f declaration... " >&6; }
69221 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
69222 if ${glibcxx_cv_func__log10f_use+:} false; then :
69223 $as_echo_n "(cached) " >&6
69224 else
69227 ac_ext=cpp
69228 ac_cpp='$CXXCPP $CPPFLAGS'
69229 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69230 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69231 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69234 /* end confdefs.h. */
69235 #include <math.h>
69236 #ifdef HAVE_IEEEFP_H
69237 #include <ieeefp.h>
69238 #endif
69241 main ()
69243 _log10f(0);
69245 return 0;
69247 _ACEOF
69248 if ac_fn_cxx_try_compile "$LINENO"; then :
69249 glibcxx_cv_func__log10f_use=yes
69250 else
69251 glibcxx_cv_func__log10f_use=no
69253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69254 ac_ext=c
69255 ac_cpp='$CPP $CPPFLAGS'
69256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
69265 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
69267 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
69268 for ac_func in _log10f
69269 do :
69270 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
69271 if test "x$ac_cv_func__log10f" = xyes; then :
69272 cat >>confdefs.h <<_ACEOF
69273 #define HAVE__LOG10F 1
69274 _ACEOF
69277 done
69286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
69287 $as_echo_n "checking for modff declaration... " >&6; }
69288 if test x${glibcxx_cv_func_modff_use+set} != xset; then
69289 if ${glibcxx_cv_func_modff_use+:} false; then :
69290 $as_echo_n "(cached) " >&6
69291 else
69294 ac_ext=cpp
69295 ac_cpp='$CXXCPP $CPPFLAGS'
69296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69301 /* end confdefs.h. */
69302 #include <math.h>
69304 main ()
69306 modff(0, 0);
69308 return 0;
69310 _ACEOF
69311 if ac_fn_cxx_try_compile "$LINENO"; then :
69312 glibcxx_cv_func_modff_use=yes
69313 else
69314 glibcxx_cv_func_modff_use=no
69316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69317 ac_ext=c
69318 ac_cpp='$CPP $CPPFLAGS'
69319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
69328 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
69330 if test x$glibcxx_cv_func_modff_use = x"yes"; then
69331 for ac_func in modff
69332 do :
69333 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
69334 if test "x$ac_cv_func_modff" = xyes; then :
69335 cat >>confdefs.h <<_ACEOF
69336 #define HAVE_MODFF 1
69337 _ACEOF
69340 done
69342 else
69344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
69345 $as_echo_n "checking for _modff declaration... " >&6; }
69346 if test x${glibcxx_cv_func__modff_use+set} != xset; then
69347 if ${glibcxx_cv_func__modff_use+:} false; then :
69348 $as_echo_n "(cached) " >&6
69349 else
69352 ac_ext=cpp
69353 ac_cpp='$CXXCPP $CPPFLAGS'
69354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69359 /* end confdefs.h. */
69360 #include <math.h>
69362 main ()
69364 _modff(0, 0);
69366 return 0;
69368 _ACEOF
69369 if ac_fn_cxx_try_compile "$LINENO"; then :
69370 glibcxx_cv_func__modff_use=yes
69371 else
69372 glibcxx_cv_func__modff_use=no
69374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69375 ac_ext=c
69376 ac_cpp='$CPP $CPPFLAGS'
69377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
69386 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
69388 if test x$glibcxx_cv_func__modff_use = x"yes"; then
69389 for ac_func in _modff
69390 do :
69391 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
69392 if test "x$ac_cv_func__modff" = xyes; then :
69393 cat >>confdefs.h <<_ACEOF
69394 #define HAVE__MODFF 1
69395 _ACEOF
69398 done
69407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
69408 $as_echo_n "checking for modf declaration... " >&6; }
69409 if test x${glibcxx_cv_func_modf_use+set} != xset; then
69410 if ${glibcxx_cv_func_modf_use+:} false; then :
69411 $as_echo_n "(cached) " >&6
69412 else
69415 ac_ext=cpp
69416 ac_cpp='$CXXCPP $CPPFLAGS'
69417 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69418 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69419 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69422 /* end confdefs.h. */
69423 #include <math.h>
69425 main ()
69427 modf(0, 0);
69429 return 0;
69431 _ACEOF
69432 if ac_fn_cxx_try_compile "$LINENO"; then :
69433 glibcxx_cv_func_modf_use=yes
69434 else
69435 glibcxx_cv_func_modf_use=no
69437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69438 ac_ext=c
69439 ac_cpp='$CPP $CPPFLAGS'
69440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
69449 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
69451 if test x$glibcxx_cv_func_modf_use = x"yes"; then
69452 for ac_func in modf
69453 do :
69454 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
69455 if test "x$ac_cv_func_modf" = xyes; then :
69456 cat >>confdefs.h <<_ACEOF
69457 #define HAVE_MODF 1
69458 _ACEOF
69461 done
69463 else
69465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
69466 $as_echo_n "checking for _modf declaration... " >&6; }
69467 if test x${glibcxx_cv_func__modf_use+set} != xset; then
69468 if ${glibcxx_cv_func__modf_use+:} false; then :
69469 $as_echo_n "(cached) " >&6
69470 else
69473 ac_ext=cpp
69474 ac_cpp='$CXXCPP $CPPFLAGS'
69475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69480 /* end confdefs.h. */
69481 #include <math.h>
69483 main ()
69485 _modf(0, 0);
69487 return 0;
69489 _ACEOF
69490 if ac_fn_cxx_try_compile "$LINENO"; then :
69491 glibcxx_cv_func__modf_use=yes
69492 else
69493 glibcxx_cv_func__modf_use=no
69495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69496 ac_ext=c
69497 ac_cpp='$CPP $CPPFLAGS'
69498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
69507 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
69509 if test x$glibcxx_cv_func__modf_use = x"yes"; then
69510 for ac_func in _modf
69511 do :
69512 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
69513 if test "x$ac_cv_func__modf" = xyes; then :
69514 cat >>confdefs.h <<_ACEOF
69515 #define HAVE__MODF 1
69516 _ACEOF
69519 done
69528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
69529 $as_echo_n "checking for powf declaration... " >&6; }
69530 if test x${glibcxx_cv_func_powf_use+set} != xset; then
69531 if ${glibcxx_cv_func_powf_use+:} false; then :
69532 $as_echo_n "(cached) " >&6
69533 else
69536 ac_ext=cpp
69537 ac_cpp='$CXXCPP $CPPFLAGS'
69538 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69539 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69540 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69543 /* end confdefs.h. */
69544 #include <math.h>
69546 main ()
69548 powf(0, 0);
69550 return 0;
69552 _ACEOF
69553 if ac_fn_cxx_try_compile "$LINENO"; then :
69554 glibcxx_cv_func_powf_use=yes
69555 else
69556 glibcxx_cv_func_powf_use=no
69558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69559 ac_ext=c
69560 ac_cpp='$CPP $CPPFLAGS'
69561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
69570 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
69572 if test x$glibcxx_cv_func_powf_use = x"yes"; then
69573 for ac_func in powf
69574 do :
69575 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
69576 if test "x$ac_cv_func_powf" = xyes; then :
69577 cat >>confdefs.h <<_ACEOF
69578 #define HAVE_POWF 1
69579 _ACEOF
69582 done
69584 else
69586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
69587 $as_echo_n "checking for _powf declaration... " >&6; }
69588 if test x${glibcxx_cv_func__powf_use+set} != xset; then
69589 if ${glibcxx_cv_func__powf_use+:} false; then :
69590 $as_echo_n "(cached) " >&6
69591 else
69594 ac_ext=cpp
69595 ac_cpp='$CXXCPP $CPPFLAGS'
69596 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69597 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69598 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69601 /* end confdefs.h. */
69602 #include <math.h>
69604 main ()
69606 _powf(0, 0);
69608 return 0;
69610 _ACEOF
69611 if ac_fn_cxx_try_compile "$LINENO"; then :
69612 glibcxx_cv_func__powf_use=yes
69613 else
69614 glibcxx_cv_func__powf_use=no
69616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69617 ac_ext=c
69618 ac_cpp='$CPP $CPPFLAGS'
69619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
69628 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
69630 if test x$glibcxx_cv_func__powf_use = x"yes"; then
69631 for ac_func in _powf
69632 do :
69633 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
69634 if test "x$ac_cv_func__powf" = xyes; then :
69635 cat >>confdefs.h <<_ACEOF
69636 #define HAVE__POWF 1
69637 _ACEOF
69640 done
69649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
69650 $as_echo_n "checking for sqrtf declaration... " >&6; }
69651 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
69652 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
69653 $as_echo_n "(cached) " >&6
69654 else
69657 ac_ext=cpp
69658 ac_cpp='$CXXCPP $CPPFLAGS'
69659 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69660 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69661 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69664 /* end confdefs.h. */
69665 #include <math.h>
69666 #ifdef HAVE_IEEEFP_H
69667 #include <ieeefp.h>
69668 #endif
69671 main ()
69673 sqrtf(0);
69675 return 0;
69677 _ACEOF
69678 if ac_fn_cxx_try_compile "$LINENO"; then :
69679 glibcxx_cv_func_sqrtf_use=yes
69680 else
69681 glibcxx_cv_func_sqrtf_use=no
69683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69684 ac_ext=c
69685 ac_cpp='$CPP $CPPFLAGS'
69686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
69695 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
69697 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
69698 for ac_func in sqrtf
69699 do :
69700 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
69701 if test "x$ac_cv_func_sqrtf" = xyes; then :
69702 cat >>confdefs.h <<_ACEOF
69703 #define HAVE_SQRTF 1
69704 _ACEOF
69707 done
69709 else
69711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
69712 $as_echo_n "checking for _sqrtf declaration... " >&6; }
69713 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
69714 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
69715 $as_echo_n "(cached) " >&6
69716 else
69719 ac_ext=cpp
69720 ac_cpp='$CXXCPP $CPPFLAGS'
69721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69726 /* end confdefs.h. */
69727 #include <math.h>
69728 #ifdef HAVE_IEEEFP_H
69729 #include <ieeefp.h>
69730 #endif
69733 main ()
69735 _sqrtf(0);
69737 return 0;
69739 _ACEOF
69740 if ac_fn_cxx_try_compile "$LINENO"; then :
69741 glibcxx_cv_func__sqrtf_use=yes
69742 else
69743 glibcxx_cv_func__sqrtf_use=no
69745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69746 ac_ext=c
69747 ac_cpp='$CPP $CPPFLAGS'
69748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
69757 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
69759 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
69760 for ac_func in _sqrtf
69761 do :
69762 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
69763 if test "x$ac_cv_func__sqrtf" = xyes; then :
69764 cat >>confdefs.h <<_ACEOF
69765 #define HAVE__SQRTF 1
69766 _ACEOF
69769 done
69778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
69779 $as_echo_n "checking for sincosf declaration... " >&6; }
69780 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
69781 if ${glibcxx_cv_func_sincosf_use+:} false; then :
69782 $as_echo_n "(cached) " >&6
69783 else
69786 ac_ext=cpp
69787 ac_cpp='$CXXCPP $CPPFLAGS'
69788 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69789 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69790 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69793 /* end confdefs.h. */
69794 #include <math.h>
69796 main ()
69798 sincosf(0, 0, 0);
69800 return 0;
69802 _ACEOF
69803 if ac_fn_cxx_try_compile "$LINENO"; then :
69804 glibcxx_cv_func_sincosf_use=yes
69805 else
69806 glibcxx_cv_func_sincosf_use=no
69808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69809 ac_ext=c
69810 ac_cpp='$CPP $CPPFLAGS'
69811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
69820 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
69822 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
69823 for ac_func in sincosf
69824 do :
69825 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
69826 if test "x$ac_cv_func_sincosf" = xyes; then :
69827 cat >>confdefs.h <<_ACEOF
69828 #define HAVE_SINCOSF 1
69829 _ACEOF
69832 done
69834 else
69836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
69837 $as_echo_n "checking for _sincosf declaration... " >&6; }
69838 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
69839 if ${glibcxx_cv_func__sincosf_use+:} false; then :
69840 $as_echo_n "(cached) " >&6
69841 else
69844 ac_ext=cpp
69845 ac_cpp='$CXXCPP $CPPFLAGS'
69846 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69847 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69848 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69851 /* end confdefs.h. */
69852 #include <math.h>
69854 main ()
69856 _sincosf(0, 0, 0);
69858 return 0;
69860 _ACEOF
69861 if ac_fn_cxx_try_compile "$LINENO"; then :
69862 glibcxx_cv_func__sincosf_use=yes
69863 else
69864 glibcxx_cv_func__sincosf_use=no
69866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69867 ac_ext=c
69868 ac_cpp='$CPP $CPPFLAGS'
69869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
69878 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
69880 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
69881 for ac_func in _sincosf
69882 do :
69883 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
69884 if test "x$ac_cv_func__sincosf" = xyes; then :
69885 cat >>confdefs.h <<_ACEOF
69886 #define HAVE__SINCOSF 1
69887 _ACEOF
69890 done
69899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
69900 $as_echo_n "checking for finitef declaration... " >&6; }
69901 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
69902 if ${glibcxx_cv_func_finitef_use+:} false; then :
69903 $as_echo_n "(cached) " >&6
69904 else
69907 ac_ext=cpp
69908 ac_cpp='$CXXCPP $CPPFLAGS'
69909 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69910 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69911 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69914 /* end confdefs.h. */
69915 #include <math.h>
69916 #ifdef HAVE_IEEEFP_H
69917 #include <ieeefp.h>
69918 #endif
69921 main ()
69923 finitef(0);
69925 return 0;
69927 _ACEOF
69928 if ac_fn_cxx_try_compile "$LINENO"; then :
69929 glibcxx_cv_func_finitef_use=yes
69930 else
69931 glibcxx_cv_func_finitef_use=no
69933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69934 ac_ext=c
69935 ac_cpp='$CPP $CPPFLAGS'
69936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
69945 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
69947 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
69948 for ac_func in finitef
69949 do :
69950 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
69951 if test "x$ac_cv_func_finitef" = xyes; then :
69952 cat >>confdefs.h <<_ACEOF
69953 #define HAVE_FINITEF 1
69954 _ACEOF
69957 done
69959 else
69961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
69962 $as_echo_n "checking for _finitef declaration... " >&6; }
69963 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
69964 if ${glibcxx_cv_func__finitef_use+:} false; then :
69965 $as_echo_n "(cached) " >&6
69966 else
69969 ac_ext=cpp
69970 ac_cpp='$CXXCPP $CPPFLAGS'
69971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69976 /* end confdefs.h. */
69977 #include <math.h>
69978 #ifdef HAVE_IEEEFP_H
69979 #include <ieeefp.h>
69980 #endif
69983 main ()
69985 _finitef(0);
69987 return 0;
69989 _ACEOF
69990 if ac_fn_cxx_try_compile "$LINENO"; then :
69991 glibcxx_cv_func__finitef_use=yes
69992 else
69993 glibcxx_cv_func__finitef_use=no
69995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69996 ac_ext=c
69997 ac_cpp='$CPP $CPPFLAGS'
69998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
70007 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
70009 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
70010 for ac_func in _finitef
70011 do :
70012 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
70013 if test "x$ac_cv_func__finitef" = xyes; then :
70014 cat >>confdefs.h <<_ACEOF
70015 #define HAVE__FINITEF 1
70016 _ACEOF
70019 done
70028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
70029 $as_echo_n "checking for long double trig functions... " >&6; }
70030 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
70031 $as_echo_n "(cached) " >&6
70032 else
70035 ac_ext=cpp
70036 ac_cpp='$CXXCPP $CPPFLAGS'
70037 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70038 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70039 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70042 /* end confdefs.h. */
70043 #include <math.h>
70045 main ()
70047 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
70049 return 0;
70051 _ACEOF
70052 if ac_fn_cxx_try_compile "$LINENO"; then :
70053 glibcxx_cv_func_long_double_trig_use=yes
70054 else
70055 glibcxx_cv_func_long_double_trig_use=no
70057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70058 ac_ext=c
70059 ac_cpp='$CPP $CPPFLAGS'
70060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
70067 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
70068 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
70069 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
70070 do :
70071 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
70072 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
70073 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
70074 cat >>confdefs.h <<_ACEOF
70075 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
70076 _ACEOF
70079 done
70081 else
70082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
70083 $as_echo_n "checking for _long double trig functions... " >&6; }
70084 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
70085 $as_echo_n "(cached) " >&6
70086 else
70089 ac_ext=cpp
70090 ac_cpp='$CXXCPP $CPPFLAGS'
70091 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70092 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70093 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70096 /* end confdefs.h. */
70097 #include <math.h>
70099 main ()
70101 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
70103 return 0;
70105 _ACEOF
70106 if ac_fn_cxx_try_compile "$LINENO"; then :
70107 glibcxx_cv_func__long_double_trig_use=yes
70108 else
70109 glibcxx_cv_func__long_double_trig_use=no
70111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70112 ac_ext=c
70113 ac_cpp='$CPP $CPPFLAGS'
70114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
70121 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
70122 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
70123 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
70124 do :
70125 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
70126 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
70127 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
70128 cat >>confdefs.h <<_ACEOF
70129 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
70130 _ACEOF
70133 done
70142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
70143 $as_echo_n "checking for long double round functions... " >&6; }
70144 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
70145 $as_echo_n "(cached) " >&6
70146 else
70149 ac_ext=cpp
70150 ac_cpp='$CXXCPP $CPPFLAGS'
70151 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70152 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70153 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70156 /* end confdefs.h. */
70157 #include <math.h>
70159 main ()
70161 ceill (0); floorl (0);
70163 return 0;
70165 _ACEOF
70166 if ac_fn_cxx_try_compile "$LINENO"; then :
70167 glibcxx_cv_func_long_double_round_use=yes
70168 else
70169 glibcxx_cv_func_long_double_round_use=no
70171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70172 ac_ext=c
70173 ac_cpp='$CPP $CPPFLAGS'
70174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
70181 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
70182 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
70183 for ac_func in ceill floorl
70184 do :
70185 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
70186 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
70187 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
70188 cat >>confdefs.h <<_ACEOF
70189 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
70190 _ACEOF
70193 done
70195 else
70196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
70197 $as_echo_n "checking for _long double round functions... " >&6; }
70198 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
70199 $as_echo_n "(cached) " >&6
70200 else
70203 ac_ext=cpp
70204 ac_cpp='$CXXCPP $CPPFLAGS'
70205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70210 /* end confdefs.h. */
70211 #include <math.h>
70213 main ()
70215 _ceill (0); _floorl (0);
70217 return 0;
70219 _ACEOF
70220 if ac_fn_cxx_try_compile "$LINENO"; then :
70221 glibcxx_cv_func__long_double_round_use=yes
70222 else
70223 glibcxx_cv_func__long_double_round_use=no
70225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70226 ac_ext=c
70227 ac_cpp='$CPP $CPPFLAGS'
70228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
70235 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
70236 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
70237 for ac_func in _ceill _floorl
70238 do :
70239 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
70240 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
70241 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
70242 cat >>confdefs.h <<_ACEOF
70243 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
70244 _ACEOF
70247 done
70257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
70258 $as_echo_n "checking for isnanl declaration... " >&6; }
70259 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
70260 if ${glibcxx_cv_func_isnanl_use+:} false; then :
70261 $as_echo_n "(cached) " >&6
70262 else
70265 ac_ext=cpp
70266 ac_cpp='$CXXCPP $CPPFLAGS'
70267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70272 /* end confdefs.h. */
70273 #include <math.h>
70274 #ifdef HAVE_IEEEFP_H
70275 #include <ieeefp.h>
70276 #endif
70279 main ()
70281 isnanl(0);
70283 return 0;
70285 _ACEOF
70286 if ac_fn_cxx_try_compile "$LINENO"; then :
70287 glibcxx_cv_func_isnanl_use=yes
70288 else
70289 glibcxx_cv_func_isnanl_use=no
70291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70292 ac_ext=c
70293 ac_cpp='$CPP $CPPFLAGS'
70294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
70303 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
70305 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
70306 for ac_func in isnanl
70307 do :
70308 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
70309 if test "x$ac_cv_func_isnanl" = xyes; then :
70310 cat >>confdefs.h <<_ACEOF
70311 #define HAVE_ISNANL 1
70312 _ACEOF
70315 done
70317 else
70319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
70320 $as_echo_n "checking for _isnanl declaration... " >&6; }
70321 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
70322 if ${glibcxx_cv_func__isnanl_use+:} false; then :
70323 $as_echo_n "(cached) " >&6
70324 else
70327 ac_ext=cpp
70328 ac_cpp='$CXXCPP $CPPFLAGS'
70329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70334 /* end confdefs.h. */
70335 #include <math.h>
70336 #ifdef HAVE_IEEEFP_H
70337 #include <ieeefp.h>
70338 #endif
70341 main ()
70343 _isnanl(0);
70345 return 0;
70347 _ACEOF
70348 if ac_fn_cxx_try_compile "$LINENO"; then :
70349 glibcxx_cv_func__isnanl_use=yes
70350 else
70351 glibcxx_cv_func__isnanl_use=no
70353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70354 ac_ext=c
70355 ac_cpp='$CPP $CPPFLAGS'
70356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
70365 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
70367 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
70368 for ac_func in _isnanl
70369 do :
70370 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
70371 if test "x$ac_cv_func__isnanl" = xyes; then :
70372 cat >>confdefs.h <<_ACEOF
70373 #define HAVE__ISNANL 1
70374 _ACEOF
70377 done
70386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
70387 $as_echo_n "checking for isinfl declaration... " >&6; }
70388 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
70389 if ${glibcxx_cv_func_isinfl_use+:} false; then :
70390 $as_echo_n "(cached) " >&6
70391 else
70394 ac_ext=cpp
70395 ac_cpp='$CXXCPP $CPPFLAGS'
70396 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70397 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70398 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70401 /* end confdefs.h. */
70402 #include <math.h>
70403 #ifdef HAVE_IEEEFP_H
70404 #include <ieeefp.h>
70405 #endif
70408 main ()
70410 isinfl(0);
70412 return 0;
70414 _ACEOF
70415 if ac_fn_cxx_try_compile "$LINENO"; then :
70416 glibcxx_cv_func_isinfl_use=yes
70417 else
70418 glibcxx_cv_func_isinfl_use=no
70420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70421 ac_ext=c
70422 ac_cpp='$CPP $CPPFLAGS'
70423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
70432 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
70434 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
70435 for ac_func in isinfl
70436 do :
70437 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
70438 if test "x$ac_cv_func_isinfl" = xyes; then :
70439 cat >>confdefs.h <<_ACEOF
70440 #define HAVE_ISINFL 1
70441 _ACEOF
70444 done
70446 else
70448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
70449 $as_echo_n "checking for _isinfl declaration... " >&6; }
70450 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
70451 if ${glibcxx_cv_func__isinfl_use+:} false; then :
70452 $as_echo_n "(cached) " >&6
70453 else
70456 ac_ext=cpp
70457 ac_cpp='$CXXCPP $CPPFLAGS'
70458 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70459 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70460 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70463 /* end confdefs.h. */
70464 #include <math.h>
70465 #ifdef HAVE_IEEEFP_H
70466 #include <ieeefp.h>
70467 #endif
70470 main ()
70472 _isinfl(0);
70474 return 0;
70476 _ACEOF
70477 if ac_fn_cxx_try_compile "$LINENO"; then :
70478 glibcxx_cv_func__isinfl_use=yes
70479 else
70480 glibcxx_cv_func__isinfl_use=no
70482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70483 ac_ext=c
70484 ac_cpp='$CPP $CPPFLAGS'
70485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
70494 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
70496 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
70497 for ac_func in _isinfl
70498 do :
70499 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
70500 if test "x$ac_cv_func__isinfl" = xyes; then :
70501 cat >>confdefs.h <<_ACEOF
70502 #define HAVE__ISINFL 1
70503 _ACEOF
70506 done
70515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
70516 $as_echo_n "checking for atan2l declaration... " >&6; }
70517 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
70518 if ${glibcxx_cv_func_atan2l_use+:} false; then :
70519 $as_echo_n "(cached) " >&6
70520 else
70523 ac_ext=cpp
70524 ac_cpp='$CXXCPP $CPPFLAGS'
70525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70530 /* end confdefs.h. */
70531 #include <math.h>
70533 main ()
70535 atan2l(0, 0);
70537 return 0;
70539 _ACEOF
70540 if ac_fn_cxx_try_compile "$LINENO"; then :
70541 glibcxx_cv_func_atan2l_use=yes
70542 else
70543 glibcxx_cv_func_atan2l_use=no
70545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70546 ac_ext=c
70547 ac_cpp='$CPP $CPPFLAGS'
70548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
70557 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
70559 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
70560 for ac_func in atan2l
70561 do :
70562 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
70563 if test "x$ac_cv_func_atan2l" = xyes; then :
70564 cat >>confdefs.h <<_ACEOF
70565 #define HAVE_ATAN2L 1
70566 _ACEOF
70569 done
70571 else
70573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
70574 $as_echo_n "checking for _atan2l declaration... " >&6; }
70575 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
70576 if ${glibcxx_cv_func__atan2l_use+:} false; then :
70577 $as_echo_n "(cached) " >&6
70578 else
70581 ac_ext=cpp
70582 ac_cpp='$CXXCPP $CPPFLAGS'
70583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70588 /* end confdefs.h. */
70589 #include <math.h>
70591 main ()
70593 _atan2l(0, 0);
70595 return 0;
70597 _ACEOF
70598 if ac_fn_cxx_try_compile "$LINENO"; then :
70599 glibcxx_cv_func__atan2l_use=yes
70600 else
70601 glibcxx_cv_func__atan2l_use=no
70603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70604 ac_ext=c
70605 ac_cpp='$CPP $CPPFLAGS'
70606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
70615 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
70617 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
70618 for ac_func in _atan2l
70619 do :
70620 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
70621 if test "x$ac_cv_func__atan2l" = xyes; then :
70622 cat >>confdefs.h <<_ACEOF
70623 #define HAVE__ATAN2L 1
70624 _ACEOF
70627 done
70636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
70637 $as_echo_n "checking for expl declaration... " >&6; }
70638 if test x${glibcxx_cv_func_expl_use+set} != xset; then
70639 if ${glibcxx_cv_func_expl_use+:} false; then :
70640 $as_echo_n "(cached) " >&6
70641 else
70644 ac_ext=cpp
70645 ac_cpp='$CXXCPP $CPPFLAGS'
70646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70651 /* end confdefs.h. */
70652 #include <math.h>
70653 #ifdef HAVE_IEEEFP_H
70654 #include <ieeefp.h>
70655 #endif
70658 main ()
70660 expl(0);
70662 return 0;
70664 _ACEOF
70665 if ac_fn_cxx_try_compile "$LINENO"; then :
70666 glibcxx_cv_func_expl_use=yes
70667 else
70668 glibcxx_cv_func_expl_use=no
70670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70671 ac_ext=c
70672 ac_cpp='$CPP $CPPFLAGS'
70673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
70682 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
70684 if test x$glibcxx_cv_func_expl_use = x"yes"; then
70685 for ac_func in expl
70686 do :
70687 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
70688 if test "x$ac_cv_func_expl" = xyes; then :
70689 cat >>confdefs.h <<_ACEOF
70690 #define HAVE_EXPL 1
70691 _ACEOF
70694 done
70696 else
70698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
70699 $as_echo_n "checking for _expl declaration... " >&6; }
70700 if test x${glibcxx_cv_func__expl_use+set} != xset; then
70701 if ${glibcxx_cv_func__expl_use+:} false; then :
70702 $as_echo_n "(cached) " >&6
70703 else
70706 ac_ext=cpp
70707 ac_cpp='$CXXCPP $CPPFLAGS'
70708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70713 /* end confdefs.h. */
70714 #include <math.h>
70715 #ifdef HAVE_IEEEFP_H
70716 #include <ieeefp.h>
70717 #endif
70720 main ()
70722 _expl(0);
70724 return 0;
70726 _ACEOF
70727 if ac_fn_cxx_try_compile "$LINENO"; then :
70728 glibcxx_cv_func__expl_use=yes
70729 else
70730 glibcxx_cv_func__expl_use=no
70732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70733 ac_ext=c
70734 ac_cpp='$CPP $CPPFLAGS'
70735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
70744 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
70746 if test x$glibcxx_cv_func__expl_use = x"yes"; then
70747 for ac_func in _expl
70748 do :
70749 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
70750 if test "x$ac_cv_func__expl" = xyes; then :
70751 cat >>confdefs.h <<_ACEOF
70752 #define HAVE__EXPL 1
70753 _ACEOF
70756 done
70765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
70766 $as_echo_n "checking for fabsl declaration... " >&6; }
70767 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
70768 if ${glibcxx_cv_func_fabsl_use+:} false; then :
70769 $as_echo_n "(cached) " >&6
70770 else
70773 ac_ext=cpp
70774 ac_cpp='$CXXCPP $CPPFLAGS'
70775 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70776 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70777 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70780 /* end confdefs.h. */
70781 #include <math.h>
70782 #ifdef HAVE_IEEEFP_H
70783 #include <ieeefp.h>
70784 #endif
70787 main ()
70789 fabsl(0);
70791 return 0;
70793 _ACEOF
70794 if ac_fn_cxx_try_compile "$LINENO"; then :
70795 glibcxx_cv_func_fabsl_use=yes
70796 else
70797 glibcxx_cv_func_fabsl_use=no
70799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70800 ac_ext=c
70801 ac_cpp='$CPP $CPPFLAGS'
70802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
70811 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
70813 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
70814 for ac_func in fabsl
70815 do :
70816 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
70817 if test "x$ac_cv_func_fabsl" = xyes; then :
70818 cat >>confdefs.h <<_ACEOF
70819 #define HAVE_FABSL 1
70820 _ACEOF
70823 done
70825 else
70827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
70828 $as_echo_n "checking for _fabsl declaration... " >&6; }
70829 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
70830 if ${glibcxx_cv_func__fabsl_use+:} false; then :
70831 $as_echo_n "(cached) " >&6
70832 else
70835 ac_ext=cpp
70836 ac_cpp='$CXXCPP $CPPFLAGS'
70837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70842 /* end confdefs.h. */
70843 #include <math.h>
70844 #ifdef HAVE_IEEEFP_H
70845 #include <ieeefp.h>
70846 #endif
70849 main ()
70851 _fabsl(0);
70853 return 0;
70855 _ACEOF
70856 if ac_fn_cxx_try_compile "$LINENO"; then :
70857 glibcxx_cv_func__fabsl_use=yes
70858 else
70859 glibcxx_cv_func__fabsl_use=no
70861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70862 ac_ext=c
70863 ac_cpp='$CPP $CPPFLAGS'
70864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
70873 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
70875 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
70876 for ac_func in _fabsl
70877 do :
70878 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
70879 if test "x$ac_cv_func__fabsl" = xyes; then :
70880 cat >>confdefs.h <<_ACEOF
70881 #define HAVE__FABSL 1
70882 _ACEOF
70885 done
70894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
70895 $as_echo_n "checking for fmodl declaration... " >&6; }
70896 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
70897 if ${glibcxx_cv_func_fmodl_use+:} false; then :
70898 $as_echo_n "(cached) " >&6
70899 else
70902 ac_ext=cpp
70903 ac_cpp='$CXXCPP $CPPFLAGS'
70904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70909 /* end confdefs.h. */
70910 #include <math.h>
70912 main ()
70914 fmodl(0, 0);
70916 return 0;
70918 _ACEOF
70919 if ac_fn_cxx_try_compile "$LINENO"; then :
70920 glibcxx_cv_func_fmodl_use=yes
70921 else
70922 glibcxx_cv_func_fmodl_use=no
70924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70925 ac_ext=c
70926 ac_cpp='$CPP $CPPFLAGS'
70927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
70936 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
70938 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
70939 for ac_func in fmodl
70940 do :
70941 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
70942 if test "x$ac_cv_func_fmodl" = xyes; then :
70943 cat >>confdefs.h <<_ACEOF
70944 #define HAVE_FMODL 1
70945 _ACEOF
70948 done
70950 else
70952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
70953 $as_echo_n "checking for _fmodl declaration... " >&6; }
70954 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
70955 if ${glibcxx_cv_func__fmodl_use+:} false; then :
70956 $as_echo_n "(cached) " >&6
70957 else
70960 ac_ext=cpp
70961 ac_cpp='$CXXCPP $CPPFLAGS'
70962 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70963 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70964 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70967 /* end confdefs.h. */
70968 #include <math.h>
70970 main ()
70972 _fmodl(0, 0);
70974 return 0;
70976 _ACEOF
70977 if ac_fn_cxx_try_compile "$LINENO"; then :
70978 glibcxx_cv_func__fmodl_use=yes
70979 else
70980 glibcxx_cv_func__fmodl_use=no
70982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70983 ac_ext=c
70984 ac_cpp='$CPP $CPPFLAGS'
70985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
70994 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
70996 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
70997 for ac_func in _fmodl
70998 do :
70999 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
71000 if test "x$ac_cv_func__fmodl" = xyes; then :
71001 cat >>confdefs.h <<_ACEOF
71002 #define HAVE__FMODL 1
71003 _ACEOF
71006 done
71015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
71016 $as_echo_n "checking for frexpl declaration... " >&6; }
71017 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
71018 if ${glibcxx_cv_func_frexpl_use+:} false; then :
71019 $as_echo_n "(cached) " >&6
71020 else
71023 ac_ext=cpp
71024 ac_cpp='$CXXCPP $CPPFLAGS'
71025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71030 /* end confdefs.h. */
71031 #include <math.h>
71033 main ()
71035 frexpl(0, 0);
71037 return 0;
71039 _ACEOF
71040 if ac_fn_cxx_try_compile "$LINENO"; then :
71041 glibcxx_cv_func_frexpl_use=yes
71042 else
71043 glibcxx_cv_func_frexpl_use=no
71045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71046 ac_ext=c
71047 ac_cpp='$CPP $CPPFLAGS'
71048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
71057 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
71059 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
71060 for ac_func in frexpl
71061 do :
71062 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
71063 if test "x$ac_cv_func_frexpl" = xyes; then :
71064 cat >>confdefs.h <<_ACEOF
71065 #define HAVE_FREXPL 1
71066 _ACEOF
71069 done
71071 else
71073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
71074 $as_echo_n "checking for _frexpl declaration... " >&6; }
71075 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
71076 if ${glibcxx_cv_func__frexpl_use+:} false; then :
71077 $as_echo_n "(cached) " >&6
71078 else
71081 ac_ext=cpp
71082 ac_cpp='$CXXCPP $CPPFLAGS'
71083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71088 /* end confdefs.h. */
71089 #include <math.h>
71091 main ()
71093 _frexpl(0, 0);
71095 return 0;
71097 _ACEOF
71098 if ac_fn_cxx_try_compile "$LINENO"; then :
71099 glibcxx_cv_func__frexpl_use=yes
71100 else
71101 glibcxx_cv_func__frexpl_use=no
71103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71104 ac_ext=c
71105 ac_cpp='$CPP $CPPFLAGS'
71106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
71115 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
71117 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
71118 for ac_func in _frexpl
71119 do :
71120 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
71121 if test "x$ac_cv_func__frexpl" = xyes; then :
71122 cat >>confdefs.h <<_ACEOF
71123 #define HAVE__FREXPL 1
71124 _ACEOF
71127 done
71136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
71137 $as_echo_n "checking for hypotl declaration... " >&6; }
71138 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
71139 if ${glibcxx_cv_func_hypotl_use+:} false; then :
71140 $as_echo_n "(cached) " >&6
71141 else
71144 ac_ext=cpp
71145 ac_cpp='$CXXCPP $CPPFLAGS'
71146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71147 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71151 /* end confdefs.h. */
71152 #include <math.h>
71154 main ()
71156 hypotl(0, 0);
71158 return 0;
71160 _ACEOF
71161 if ac_fn_cxx_try_compile "$LINENO"; then :
71162 glibcxx_cv_func_hypotl_use=yes
71163 else
71164 glibcxx_cv_func_hypotl_use=no
71166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71167 ac_ext=c
71168 ac_cpp='$CPP $CPPFLAGS'
71169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
71178 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
71180 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
71181 for ac_func in hypotl
71182 do :
71183 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
71184 if test "x$ac_cv_func_hypotl" = xyes; then :
71185 cat >>confdefs.h <<_ACEOF
71186 #define HAVE_HYPOTL 1
71187 _ACEOF
71190 done
71192 else
71194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
71195 $as_echo_n "checking for _hypotl declaration... " >&6; }
71196 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
71197 if ${glibcxx_cv_func__hypotl_use+:} false; then :
71198 $as_echo_n "(cached) " >&6
71199 else
71202 ac_ext=cpp
71203 ac_cpp='$CXXCPP $CPPFLAGS'
71204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71209 /* end confdefs.h. */
71210 #include <math.h>
71212 main ()
71214 _hypotl(0, 0);
71216 return 0;
71218 _ACEOF
71219 if ac_fn_cxx_try_compile "$LINENO"; then :
71220 glibcxx_cv_func__hypotl_use=yes
71221 else
71222 glibcxx_cv_func__hypotl_use=no
71224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71225 ac_ext=c
71226 ac_cpp='$CPP $CPPFLAGS'
71227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
71236 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
71238 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
71239 for ac_func in _hypotl
71240 do :
71241 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
71242 if test "x$ac_cv_func__hypotl" = xyes; then :
71243 cat >>confdefs.h <<_ACEOF
71244 #define HAVE__HYPOTL 1
71245 _ACEOF
71248 done
71257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
71258 $as_echo_n "checking for ldexpl declaration... " >&6; }
71259 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
71260 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
71261 $as_echo_n "(cached) " >&6
71262 else
71265 ac_ext=cpp
71266 ac_cpp='$CXXCPP $CPPFLAGS'
71267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71272 /* end confdefs.h. */
71273 #include <math.h>
71275 main ()
71277 ldexpl(0, 0);
71279 return 0;
71281 _ACEOF
71282 if ac_fn_cxx_try_compile "$LINENO"; then :
71283 glibcxx_cv_func_ldexpl_use=yes
71284 else
71285 glibcxx_cv_func_ldexpl_use=no
71287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71288 ac_ext=c
71289 ac_cpp='$CPP $CPPFLAGS'
71290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
71299 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
71301 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
71302 for ac_func in ldexpl
71303 do :
71304 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
71305 if test "x$ac_cv_func_ldexpl" = xyes; then :
71306 cat >>confdefs.h <<_ACEOF
71307 #define HAVE_LDEXPL 1
71308 _ACEOF
71311 done
71313 else
71315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
71316 $as_echo_n "checking for _ldexpl declaration... " >&6; }
71317 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
71318 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
71319 $as_echo_n "(cached) " >&6
71320 else
71323 ac_ext=cpp
71324 ac_cpp='$CXXCPP $CPPFLAGS'
71325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71330 /* end confdefs.h. */
71331 #include <math.h>
71333 main ()
71335 _ldexpl(0, 0);
71337 return 0;
71339 _ACEOF
71340 if ac_fn_cxx_try_compile "$LINENO"; then :
71341 glibcxx_cv_func__ldexpl_use=yes
71342 else
71343 glibcxx_cv_func__ldexpl_use=no
71345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71346 ac_ext=c
71347 ac_cpp='$CPP $CPPFLAGS'
71348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
71357 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
71359 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
71360 for ac_func in _ldexpl
71361 do :
71362 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
71363 if test "x$ac_cv_func__ldexpl" = xyes; then :
71364 cat >>confdefs.h <<_ACEOF
71365 #define HAVE__LDEXPL 1
71366 _ACEOF
71369 done
71378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
71379 $as_echo_n "checking for logl declaration... " >&6; }
71380 if test x${glibcxx_cv_func_logl_use+set} != xset; then
71381 if ${glibcxx_cv_func_logl_use+:} false; then :
71382 $as_echo_n "(cached) " >&6
71383 else
71386 ac_ext=cpp
71387 ac_cpp='$CXXCPP $CPPFLAGS'
71388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71393 /* end confdefs.h. */
71394 #include <math.h>
71395 #ifdef HAVE_IEEEFP_H
71396 #include <ieeefp.h>
71397 #endif
71400 main ()
71402 logl(0);
71404 return 0;
71406 _ACEOF
71407 if ac_fn_cxx_try_compile "$LINENO"; then :
71408 glibcxx_cv_func_logl_use=yes
71409 else
71410 glibcxx_cv_func_logl_use=no
71412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71413 ac_ext=c
71414 ac_cpp='$CPP $CPPFLAGS'
71415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
71424 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
71426 if test x$glibcxx_cv_func_logl_use = x"yes"; then
71427 for ac_func in logl
71428 do :
71429 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
71430 if test "x$ac_cv_func_logl" = xyes; then :
71431 cat >>confdefs.h <<_ACEOF
71432 #define HAVE_LOGL 1
71433 _ACEOF
71436 done
71438 else
71440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
71441 $as_echo_n "checking for _logl declaration... " >&6; }
71442 if test x${glibcxx_cv_func__logl_use+set} != xset; then
71443 if ${glibcxx_cv_func__logl_use+:} false; then :
71444 $as_echo_n "(cached) " >&6
71445 else
71448 ac_ext=cpp
71449 ac_cpp='$CXXCPP $CPPFLAGS'
71450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71455 /* end confdefs.h. */
71456 #include <math.h>
71457 #ifdef HAVE_IEEEFP_H
71458 #include <ieeefp.h>
71459 #endif
71462 main ()
71464 _logl(0);
71466 return 0;
71468 _ACEOF
71469 if ac_fn_cxx_try_compile "$LINENO"; then :
71470 glibcxx_cv_func__logl_use=yes
71471 else
71472 glibcxx_cv_func__logl_use=no
71474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71475 ac_ext=c
71476 ac_cpp='$CPP $CPPFLAGS'
71477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
71486 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
71488 if test x$glibcxx_cv_func__logl_use = x"yes"; then
71489 for ac_func in _logl
71490 do :
71491 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
71492 if test "x$ac_cv_func__logl" = xyes; then :
71493 cat >>confdefs.h <<_ACEOF
71494 #define HAVE__LOGL 1
71495 _ACEOF
71498 done
71507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
71508 $as_echo_n "checking for log10l declaration... " >&6; }
71509 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
71510 if ${glibcxx_cv_func_log10l_use+:} false; then :
71511 $as_echo_n "(cached) " >&6
71512 else
71515 ac_ext=cpp
71516 ac_cpp='$CXXCPP $CPPFLAGS'
71517 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71518 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71519 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71522 /* end confdefs.h. */
71523 #include <math.h>
71524 #ifdef HAVE_IEEEFP_H
71525 #include <ieeefp.h>
71526 #endif
71529 main ()
71531 log10l(0);
71533 return 0;
71535 _ACEOF
71536 if ac_fn_cxx_try_compile "$LINENO"; then :
71537 glibcxx_cv_func_log10l_use=yes
71538 else
71539 glibcxx_cv_func_log10l_use=no
71541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71542 ac_ext=c
71543 ac_cpp='$CPP $CPPFLAGS'
71544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
71553 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
71555 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
71556 for ac_func in log10l
71557 do :
71558 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
71559 if test "x$ac_cv_func_log10l" = xyes; then :
71560 cat >>confdefs.h <<_ACEOF
71561 #define HAVE_LOG10L 1
71562 _ACEOF
71565 done
71567 else
71569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
71570 $as_echo_n "checking for _log10l declaration... " >&6; }
71571 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
71572 if ${glibcxx_cv_func__log10l_use+:} false; then :
71573 $as_echo_n "(cached) " >&6
71574 else
71577 ac_ext=cpp
71578 ac_cpp='$CXXCPP $CPPFLAGS'
71579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71584 /* end confdefs.h. */
71585 #include <math.h>
71586 #ifdef HAVE_IEEEFP_H
71587 #include <ieeefp.h>
71588 #endif
71591 main ()
71593 _log10l(0);
71595 return 0;
71597 _ACEOF
71598 if ac_fn_cxx_try_compile "$LINENO"; then :
71599 glibcxx_cv_func__log10l_use=yes
71600 else
71601 glibcxx_cv_func__log10l_use=no
71603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71604 ac_ext=c
71605 ac_cpp='$CPP $CPPFLAGS'
71606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
71615 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
71617 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
71618 for ac_func in _log10l
71619 do :
71620 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
71621 if test "x$ac_cv_func__log10l" = xyes; then :
71622 cat >>confdefs.h <<_ACEOF
71623 #define HAVE__LOG10L 1
71624 _ACEOF
71627 done
71636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
71637 $as_echo_n "checking for modfl declaration... " >&6; }
71638 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
71639 if ${glibcxx_cv_func_modfl_use+:} false; then :
71640 $as_echo_n "(cached) " >&6
71641 else
71644 ac_ext=cpp
71645 ac_cpp='$CXXCPP $CPPFLAGS'
71646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71651 /* end confdefs.h. */
71652 #include <math.h>
71654 main ()
71656 modfl(0, 0);
71658 return 0;
71660 _ACEOF
71661 if ac_fn_cxx_try_compile "$LINENO"; then :
71662 glibcxx_cv_func_modfl_use=yes
71663 else
71664 glibcxx_cv_func_modfl_use=no
71666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71667 ac_ext=c
71668 ac_cpp='$CPP $CPPFLAGS'
71669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
71678 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
71680 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
71681 for ac_func in modfl
71682 do :
71683 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
71684 if test "x$ac_cv_func_modfl" = xyes; then :
71685 cat >>confdefs.h <<_ACEOF
71686 #define HAVE_MODFL 1
71687 _ACEOF
71690 done
71692 else
71694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
71695 $as_echo_n "checking for _modfl declaration... " >&6; }
71696 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
71697 if ${glibcxx_cv_func__modfl_use+:} false; then :
71698 $as_echo_n "(cached) " >&6
71699 else
71702 ac_ext=cpp
71703 ac_cpp='$CXXCPP $CPPFLAGS'
71704 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71705 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71706 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71709 /* end confdefs.h. */
71710 #include <math.h>
71712 main ()
71714 _modfl(0, 0);
71716 return 0;
71718 _ACEOF
71719 if ac_fn_cxx_try_compile "$LINENO"; then :
71720 glibcxx_cv_func__modfl_use=yes
71721 else
71722 glibcxx_cv_func__modfl_use=no
71724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71725 ac_ext=c
71726 ac_cpp='$CPP $CPPFLAGS'
71727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
71736 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
71738 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
71739 for ac_func in _modfl
71740 do :
71741 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
71742 if test "x$ac_cv_func__modfl" = xyes; then :
71743 cat >>confdefs.h <<_ACEOF
71744 #define HAVE__MODFL 1
71745 _ACEOF
71748 done
71757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
71758 $as_echo_n "checking for powl declaration... " >&6; }
71759 if test x${glibcxx_cv_func_powl_use+set} != xset; then
71760 if ${glibcxx_cv_func_powl_use+:} false; then :
71761 $as_echo_n "(cached) " >&6
71762 else
71765 ac_ext=cpp
71766 ac_cpp='$CXXCPP $CPPFLAGS'
71767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71768 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71772 /* end confdefs.h. */
71773 #include <math.h>
71775 main ()
71777 powl(0, 0);
71779 return 0;
71781 _ACEOF
71782 if ac_fn_cxx_try_compile "$LINENO"; then :
71783 glibcxx_cv_func_powl_use=yes
71784 else
71785 glibcxx_cv_func_powl_use=no
71787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71788 ac_ext=c
71789 ac_cpp='$CPP $CPPFLAGS'
71790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
71799 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
71801 if test x$glibcxx_cv_func_powl_use = x"yes"; then
71802 for ac_func in powl
71803 do :
71804 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
71805 if test "x$ac_cv_func_powl" = xyes; then :
71806 cat >>confdefs.h <<_ACEOF
71807 #define HAVE_POWL 1
71808 _ACEOF
71811 done
71813 else
71815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
71816 $as_echo_n "checking for _powl declaration... " >&6; }
71817 if test x${glibcxx_cv_func__powl_use+set} != xset; then
71818 if ${glibcxx_cv_func__powl_use+:} false; then :
71819 $as_echo_n "(cached) " >&6
71820 else
71823 ac_ext=cpp
71824 ac_cpp='$CXXCPP $CPPFLAGS'
71825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71830 /* end confdefs.h. */
71831 #include <math.h>
71833 main ()
71835 _powl(0, 0);
71837 return 0;
71839 _ACEOF
71840 if ac_fn_cxx_try_compile "$LINENO"; then :
71841 glibcxx_cv_func__powl_use=yes
71842 else
71843 glibcxx_cv_func__powl_use=no
71845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71846 ac_ext=c
71847 ac_cpp='$CPP $CPPFLAGS'
71848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
71857 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
71859 if test x$glibcxx_cv_func__powl_use = x"yes"; then
71860 for ac_func in _powl
71861 do :
71862 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
71863 if test "x$ac_cv_func__powl" = xyes; then :
71864 cat >>confdefs.h <<_ACEOF
71865 #define HAVE__POWL 1
71866 _ACEOF
71869 done
71878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
71879 $as_echo_n "checking for sqrtl declaration... " >&6; }
71880 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
71881 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
71882 $as_echo_n "(cached) " >&6
71883 else
71886 ac_ext=cpp
71887 ac_cpp='$CXXCPP $CPPFLAGS'
71888 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71889 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71890 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71893 /* end confdefs.h. */
71894 #include <math.h>
71895 #ifdef HAVE_IEEEFP_H
71896 #include <ieeefp.h>
71897 #endif
71900 main ()
71902 sqrtl(0);
71904 return 0;
71906 _ACEOF
71907 if ac_fn_cxx_try_compile "$LINENO"; then :
71908 glibcxx_cv_func_sqrtl_use=yes
71909 else
71910 glibcxx_cv_func_sqrtl_use=no
71912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71913 ac_ext=c
71914 ac_cpp='$CPP $CPPFLAGS'
71915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
71924 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
71926 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
71927 for ac_func in sqrtl
71928 do :
71929 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
71930 if test "x$ac_cv_func_sqrtl" = xyes; then :
71931 cat >>confdefs.h <<_ACEOF
71932 #define HAVE_SQRTL 1
71933 _ACEOF
71936 done
71938 else
71940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
71941 $as_echo_n "checking for _sqrtl declaration... " >&6; }
71942 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
71943 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
71944 $as_echo_n "(cached) " >&6
71945 else
71948 ac_ext=cpp
71949 ac_cpp='$CXXCPP $CPPFLAGS'
71950 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71951 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71952 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71955 /* end confdefs.h. */
71956 #include <math.h>
71957 #ifdef HAVE_IEEEFP_H
71958 #include <ieeefp.h>
71959 #endif
71962 main ()
71964 _sqrtl(0);
71966 return 0;
71968 _ACEOF
71969 if ac_fn_cxx_try_compile "$LINENO"; then :
71970 glibcxx_cv_func__sqrtl_use=yes
71971 else
71972 glibcxx_cv_func__sqrtl_use=no
71974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71975 ac_ext=c
71976 ac_cpp='$CPP $CPPFLAGS'
71977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
71986 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
71988 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
71989 for ac_func in _sqrtl
71990 do :
71991 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
71992 if test "x$ac_cv_func__sqrtl" = xyes; then :
71993 cat >>confdefs.h <<_ACEOF
71994 #define HAVE__SQRTL 1
71995 _ACEOF
71998 done
72007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
72008 $as_echo_n "checking for sincosl declaration... " >&6; }
72009 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
72010 if ${glibcxx_cv_func_sincosl_use+:} false; then :
72011 $as_echo_n "(cached) " >&6
72012 else
72015 ac_ext=cpp
72016 ac_cpp='$CXXCPP $CPPFLAGS'
72017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72022 /* end confdefs.h. */
72023 #include <math.h>
72025 main ()
72027 sincosl(0, 0, 0);
72029 return 0;
72031 _ACEOF
72032 if ac_fn_cxx_try_compile "$LINENO"; then :
72033 glibcxx_cv_func_sincosl_use=yes
72034 else
72035 glibcxx_cv_func_sincosl_use=no
72037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72038 ac_ext=c
72039 ac_cpp='$CPP $CPPFLAGS'
72040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
72049 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
72051 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
72052 for ac_func in sincosl
72053 do :
72054 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
72055 if test "x$ac_cv_func_sincosl" = xyes; then :
72056 cat >>confdefs.h <<_ACEOF
72057 #define HAVE_SINCOSL 1
72058 _ACEOF
72061 done
72063 else
72065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
72066 $as_echo_n "checking for _sincosl declaration... " >&6; }
72067 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
72068 if ${glibcxx_cv_func__sincosl_use+:} false; then :
72069 $as_echo_n "(cached) " >&6
72070 else
72073 ac_ext=cpp
72074 ac_cpp='$CXXCPP $CPPFLAGS'
72075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72080 /* end confdefs.h. */
72081 #include <math.h>
72083 main ()
72085 _sincosl(0, 0, 0);
72087 return 0;
72089 _ACEOF
72090 if ac_fn_cxx_try_compile "$LINENO"; then :
72091 glibcxx_cv_func__sincosl_use=yes
72092 else
72093 glibcxx_cv_func__sincosl_use=no
72095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72096 ac_ext=c
72097 ac_cpp='$CPP $CPPFLAGS'
72098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
72107 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
72109 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
72110 for ac_func in _sincosl
72111 do :
72112 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
72113 if test "x$ac_cv_func__sincosl" = xyes; then :
72114 cat >>confdefs.h <<_ACEOF
72115 #define HAVE__SINCOSL 1
72116 _ACEOF
72119 done
72128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
72129 $as_echo_n "checking for finitel declaration... " >&6; }
72130 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
72131 if ${glibcxx_cv_func_finitel_use+:} false; then :
72132 $as_echo_n "(cached) " >&6
72133 else
72136 ac_ext=cpp
72137 ac_cpp='$CXXCPP $CPPFLAGS'
72138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72143 /* end confdefs.h. */
72144 #include <math.h>
72145 #ifdef HAVE_IEEEFP_H
72146 #include <ieeefp.h>
72147 #endif
72150 main ()
72152 finitel(0);
72154 return 0;
72156 _ACEOF
72157 if ac_fn_cxx_try_compile "$LINENO"; then :
72158 glibcxx_cv_func_finitel_use=yes
72159 else
72160 glibcxx_cv_func_finitel_use=no
72162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72163 ac_ext=c
72164 ac_cpp='$CPP $CPPFLAGS'
72165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
72174 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
72176 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
72177 for ac_func in finitel
72178 do :
72179 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
72180 if test "x$ac_cv_func_finitel" = xyes; then :
72181 cat >>confdefs.h <<_ACEOF
72182 #define HAVE_FINITEL 1
72183 _ACEOF
72186 done
72188 else
72190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
72191 $as_echo_n "checking for _finitel declaration... " >&6; }
72192 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
72193 if ${glibcxx_cv_func__finitel_use+:} false; then :
72194 $as_echo_n "(cached) " >&6
72195 else
72198 ac_ext=cpp
72199 ac_cpp='$CXXCPP $CPPFLAGS'
72200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72205 /* end confdefs.h. */
72206 #include <math.h>
72207 #ifdef HAVE_IEEEFP_H
72208 #include <ieeefp.h>
72209 #endif
72212 main ()
72214 _finitel(0);
72216 return 0;
72218 _ACEOF
72219 if ac_fn_cxx_try_compile "$LINENO"; then :
72220 glibcxx_cv_func__finitel_use=yes
72221 else
72222 glibcxx_cv_func__finitel_use=no
72224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72225 ac_ext=c
72226 ac_cpp='$CPP $CPPFLAGS'
72227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
72236 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
72238 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
72239 for ac_func in _finitel
72240 do :
72241 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
72242 if test "x$ac_cv_func__finitel" = xyes; then :
72243 cat >>confdefs.h <<_ACEOF
72244 #define HAVE__FINITEL 1
72245 _ACEOF
72248 done
72256 LIBS="$ac_save_LIBS"
72257 CXXFLAGS="$ac_save_CXXFLAGS"
72260 ac_test_CXXFLAGS="${CXXFLAGS+set}"
72261 ac_save_CXXFLAGS="$CXXFLAGS"
72262 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
72265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
72266 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
72267 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
72268 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
72269 $as_echo_n "(cached) " >&6
72270 else
72273 ac_ext=cpp
72274 ac_cpp='$CXXCPP $CPPFLAGS'
72275 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72276 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72277 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72280 /* end confdefs.h. */
72281 #include <stdlib.h>
72283 main ()
72285 at_quick_exit(0);
72287 return 0;
72289 _ACEOF
72290 if ac_fn_cxx_try_compile "$LINENO"; then :
72291 glibcxx_cv_func_at_quick_exit_use=yes
72292 else
72293 glibcxx_cv_func_at_quick_exit_use=no
72295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72296 ac_ext=c
72297 ac_cpp='$CPP $CPPFLAGS'
72298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
72307 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
72308 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
72309 for ac_func in at_quick_exit
72310 do :
72311 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
72312 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
72313 cat >>confdefs.h <<_ACEOF
72314 #define HAVE_AT_QUICK_EXIT 1
72315 _ACEOF
72318 done
72323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
72324 $as_echo_n "checking for quick_exit declaration... " >&6; }
72325 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
72326 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
72327 $as_echo_n "(cached) " >&6
72328 else
72331 ac_ext=cpp
72332 ac_cpp='$CXXCPP $CPPFLAGS'
72333 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72334 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72335 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72338 /* end confdefs.h. */
72339 #include <stdlib.h>
72341 main ()
72343 quick_exit(0);
72345 return 0;
72347 _ACEOF
72348 if ac_fn_cxx_try_compile "$LINENO"; then :
72349 glibcxx_cv_func_quick_exit_use=yes
72350 else
72351 glibcxx_cv_func_quick_exit_use=no
72353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72354 ac_ext=c
72355 ac_cpp='$CPP $CPPFLAGS'
72356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
72365 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
72366 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
72367 for ac_func in quick_exit
72368 do :
72369 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
72370 if test "x$ac_cv_func_quick_exit" = xyes; then :
72371 cat >>confdefs.h <<_ACEOF
72372 #define HAVE_QUICK_EXIT 1
72373 _ACEOF
72376 done
72381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
72382 $as_echo_n "checking for strtold declaration... " >&6; }
72383 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
72384 if ${glibcxx_cv_func_strtold_use+:} false; then :
72385 $as_echo_n "(cached) " >&6
72386 else
72389 ac_ext=cpp
72390 ac_cpp='$CXXCPP $CPPFLAGS'
72391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72396 /* end confdefs.h. */
72397 #include <stdlib.h>
72399 main ()
72401 strtold(0, 0);
72403 return 0;
72405 _ACEOF
72406 if ac_fn_cxx_try_compile "$LINENO"; then :
72407 glibcxx_cv_func_strtold_use=yes
72408 else
72409 glibcxx_cv_func_strtold_use=no
72411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72412 ac_ext=c
72413 ac_cpp='$CPP $CPPFLAGS'
72414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
72423 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
72424 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
72425 for ac_func in strtold
72426 do :
72427 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
72428 if test "x$ac_cv_func_strtold" = xyes; then :
72429 cat >>confdefs.h <<_ACEOF
72430 #define HAVE_STRTOLD 1
72431 _ACEOF
72434 done
72441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
72442 $as_echo_n "checking for strtof declaration... " >&6; }
72443 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
72444 if ${glibcxx_cv_func_strtof_use+:} false; then :
72445 $as_echo_n "(cached) " >&6
72446 else
72449 ac_ext=cpp
72450 ac_cpp='$CXXCPP $CPPFLAGS'
72451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72456 /* end confdefs.h. */
72457 #include <stdlib.h>
72459 main ()
72461 strtof(0, 0);
72463 return 0;
72465 _ACEOF
72466 if ac_fn_cxx_try_compile "$LINENO"; then :
72467 glibcxx_cv_func_strtof_use=yes
72468 else
72469 glibcxx_cv_func_strtof_use=no
72471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72472 ac_ext=c
72473 ac_cpp='$CPP $CPPFLAGS'
72474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
72483 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
72484 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
72485 for ac_func in strtof
72486 do :
72487 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
72488 if test "x$ac_cv_func_strtof" = xyes; then :
72489 cat >>confdefs.h <<_ACEOF
72490 #define HAVE_STRTOF 1
72491 _ACEOF
72494 done
72501 CXXFLAGS="$ac_save_CXXFLAGS"
72504 *-vxworks*)
72505 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
72507 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
72509 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
72511 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
72513 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
72515 $as_echo "#define HAVE_COSF 1" >>confdefs.h
72517 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
72519 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
72521 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
72523 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
72525 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
72527 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
72529 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
72531 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
72533 $as_echo "#define HAVE_POWF 1" >>confdefs.h
72535 $as_echo "#define HAVE_SINF 1" >>confdefs.h
72537 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
72539 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
72541 $as_echo "#define HAVE_TANF 1" >>confdefs.h
72543 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
72549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosl declaration" >&5
72550 $as_echo_n "checking for acosl declaration... " >&6; }
72551 if ${glibcxx_cv_func_acosl_use+:} false; then :
72552 $as_echo_n "(cached) " >&6
72553 else
72556 ac_ext=c
72557 ac_cpp='$CPP $CPPFLAGS'
72558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72563 /* end confdefs.h. */
72565 #include <math.h>
72566 #ifdef HAVE_IEEEFP_H
72567 # include <ieeefp.h>
72568 #endif
72569 #undef acosl
72572 main ()
72575 void (*f)(void) = (void (*)(void))acosl;
72578 return 0;
72580 _ACEOF
72581 if ac_fn_c_try_compile "$LINENO"; then :
72582 glibcxx_cv_func_acosl_use=yes
72584 else
72585 glibcxx_cv_func_acosl_use=no
72587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_acosl_use" >&5
72590 $as_echo "$glibcxx_cv_func_acosl_use" >&6; }
72591 if test "x$glibcxx_cv_func_acosl_use" = xyes; then
72592 cat >>confdefs.h <<_ACEOF
72593 #define HAVE_ACOSL 1
72594 _ACEOF
72600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinl declaration" >&5
72601 $as_echo_n "checking for asinl declaration... " >&6; }
72602 if ${glibcxx_cv_func_asinl_use+:} false; then :
72603 $as_echo_n "(cached) " >&6
72604 else
72607 ac_ext=c
72608 ac_cpp='$CPP $CPPFLAGS'
72609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72614 /* end confdefs.h. */
72616 #include <math.h>
72617 #ifdef HAVE_IEEEFP_H
72618 # include <ieeefp.h>
72619 #endif
72620 #undef asinl
72623 main ()
72626 void (*f)(void) = (void (*)(void))asinl;
72629 return 0;
72631 _ACEOF
72632 if ac_fn_c_try_compile "$LINENO"; then :
72633 glibcxx_cv_func_asinl_use=yes
72635 else
72636 glibcxx_cv_func_asinl_use=no
72638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_asinl_use" >&5
72641 $as_echo "$glibcxx_cv_func_asinl_use" >&6; }
72642 if test "x$glibcxx_cv_func_asinl_use" = xyes; then
72643 cat >>confdefs.h <<_ACEOF
72644 #define HAVE_ASINL 1
72645 _ACEOF
72651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
72652 $as_echo_n "checking for atan2l declaration... " >&6; }
72653 if ${glibcxx_cv_func_atan2l_use+:} false; then :
72654 $as_echo_n "(cached) " >&6
72655 else
72658 ac_ext=c
72659 ac_cpp='$CPP $CPPFLAGS'
72660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72665 /* end confdefs.h. */
72667 #include <math.h>
72668 #ifdef HAVE_IEEEFP_H
72669 # include <ieeefp.h>
72670 #endif
72671 #undef atan2l
72674 main ()
72677 void (*f)(void) = (void (*)(void))atan2l;
72680 return 0;
72682 _ACEOF
72683 if ac_fn_c_try_compile "$LINENO"; then :
72684 glibcxx_cv_func_atan2l_use=yes
72686 else
72687 glibcxx_cv_func_atan2l_use=no
72689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
72692 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
72693 if test "x$glibcxx_cv_func_atan2l_use" = xyes; then
72694 cat >>confdefs.h <<_ACEOF
72695 #define HAVE_ATAN2L 1
72696 _ACEOF
72702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanl declaration" >&5
72703 $as_echo_n "checking for atanl declaration... " >&6; }
72704 if ${glibcxx_cv_func_atanl_use+:} false; then :
72705 $as_echo_n "(cached) " >&6
72706 else
72709 ac_ext=c
72710 ac_cpp='$CPP $CPPFLAGS'
72711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72716 /* end confdefs.h. */
72718 #include <math.h>
72719 #ifdef HAVE_IEEEFP_H
72720 # include <ieeefp.h>
72721 #endif
72722 #undef atanl
72725 main ()
72728 void (*f)(void) = (void (*)(void))atanl;
72731 return 0;
72733 _ACEOF
72734 if ac_fn_c_try_compile "$LINENO"; then :
72735 glibcxx_cv_func_atanl_use=yes
72737 else
72738 glibcxx_cv_func_atanl_use=no
72740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atanl_use" >&5
72743 $as_echo "$glibcxx_cv_func_atanl_use" >&6; }
72744 if test "x$glibcxx_cv_func_atanl_use" = xyes; then
72745 cat >>confdefs.h <<_ACEOF
72746 #define HAVE_ATANL 1
72747 _ACEOF
72753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceill declaration" >&5
72754 $as_echo_n "checking for ceill declaration... " >&6; }
72755 if ${glibcxx_cv_func_ceill_use+:} false; then :
72756 $as_echo_n "(cached) " >&6
72757 else
72760 ac_ext=c
72761 ac_cpp='$CPP $CPPFLAGS'
72762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72767 /* end confdefs.h. */
72769 #include <math.h>
72770 #ifdef HAVE_IEEEFP_H
72771 # include <ieeefp.h>
72772 #endif
72773 #undef ceill
72776 main ()
72779 void (*f)(void) = (void (*)(void))ceill;
72782 return 0;
72784 _ACEOF
72785 if ac_fn_c_try_compile "$LINENO"; then :
72786 glibcxx_cv_func_ceill_use=yes
72788 else
72789 glibcxx_cv_func_ceill_use=no
72791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ceill_use" >&5
72794 $as_echo "$glibcxx_cv_func_ceill_use" >&6; }
72795 if test "x$glibcxx_cv_func_ceill_use" = xyes; then
72796 cat >>confdefs.h <<_ACEOF
72797 #define HAVE_CEILL 1
72798 _ACEOF
72804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosl declaration" >&5
72805 $as_echo_n "checking for cosl declaration... " >&6; }
72806 if ${glibcxx_cv_func_cosl_use+:} false; then :
72807 $as_echo_n "(cached) " >&6
72808 else
72811 ac_ext=c
72812 ac_cpp='$CPP $CPPFLAGS'
72813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72818 /* end confdefs.h. */
72820 #include <math.h>
72821 #ifdef HAVE_IEEEFP_H
72822 # include <ieeefp.h>
72823 #endif
72824 #undef cosl
72827 main ()
72830 void (*f)(void) = (void (*)(void))cosl;
72833 return 0;
72835 _ACEOF
72836 if ac_fn_c_try_compile "$LINENO"; then :
72837 glibcxx_cv_func_cosl_use=yes
72839 else
72840 glibcxx_cv_func_cosl_use=no
72842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_cosl_use" >&5
72845 $as_echo "$glibcxx_cv_func_cosl_use" >&6; }
72846 if test "x$glibcxx_cv_func_cosl_use" = xyes; then
72847 cat >>confdefs.h <<_ACEOF
72848 #define HAVE_COSL 1
72849 _ACEOF
72855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshl declaration" >&5
72856 $as_echo_n "checking for coshl declaration... " >&6; }
72857 if ${glibcxx_cv_func_coshl_use+:} false; then :
72858 $as_echo_n "(cached) " >&6
72859 else
72862 ac_ext=c
72863 ac_cpp='$CPP $CPPFLAGS'
72864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72869 /* end confdefs.h. */
72871 #include <math.h>
72872 #ifdef HAVE_IEEEFP_H
72873 # include <ieeefp.h>
72874 #endif
72875 #undef coshl
72878 main ()
72881 void (*f)(void) = (void (*)(void))coshl;
72884 return 0;
72886 _ACEOF
72887 if ac_fn_c_try_compile "$LINENO"; then :
72888 glibcxx_cv_func_coshl_use=yes
72890 else
72891 glibcxx_cv_func_coshl_use=no
72893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_coshl_use" >&5
72896 $as_echo "$glibcxx_cv_func_coshl_use" >&6; }
72897 if test "x$glibcxx_cv_func_coshl_use" = xyes; then
72898 cat >>confdefs.h <<_ACEOF
72899 #define HAVE_COSHL 1
72900 _ACEOF
72906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
72907 $as_echo_n "checking for expl declaration... " >&6; }
72908 if ${glibcxx_cv_func_expl_use+:} false; then :
72909 $as_echo_n "(cached) " >&6
72910 else
72913 ac_ext=c
72914 ac_cpp='$CPP $CPPFLAGS'
72915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72920 /* end confdefs.h. */
72922 #include <math.h>
72923 #ifdef HAVE_IEEEFP_H
72924 # include <ieeefp.h>
72925 #endif
72926 #undef expl
72929 main ()
72932 void (*f)(void) = (void (*)(void))expl;
72935 return 0;
72937 _ACEOF
72938 if ac_fn_c_try_compile "$LINENO"; then :
72939 glibcxx_cv_func_expl_use=yes
72941 else
72942 glibcxx_cv_func_expl_use=no
72944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
72947 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
72948 if test "x$glibcxx_cv_func_expl_use" = xyes; then
72949 cat >>confdefs.h <<_ACEOF
72950 #define HAVE_EXPL 1
72951 _ACEOF
72957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
72958 $as_echo_n "checking for fabsl declaration... " >&6; }
72959 if ${glibcxx_cv_func_fabsl_use+:} false; then :
72960 $as_echo_n "(cached) " >&6
72961 else
72964 ac_ext=c
72965 ac_cpp='$CPP $CPPFLAGS'
72966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72971 /* end confdefs.h. */
72973 #include <math.h>
72974 #ifdef HAVE_IEEEFP_H
72975 # include <ieeefp.h>
72976 #endif
72977 #undef fabsl
72980 main ()
72983 void (*f)(void) = (void (*)(void))fabsl;
72986 return 0;
72988 _ACEOF
72989 if ac_fn_c_try_compile "$LINENO"; then :
72990 glibcxx_cv_func_fabsl_use=yes
72992 else
72993 glibcxx_cv_func_fabsl_use=no
72995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
72998 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
72999 if test "x$glibcxx_cv_func_fabsl_use" = xyes; then
73000 cat >>confdefs.h <<_ACEOF
73001 #define HAVE_FABSL 1
73002 _ACEOF
73008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorl declaration" >&5
73009 $as_echo_n "checking for floorl declaration... " >&6; }
73010 if ${glibcxx_cv_func_floorl_use+:} false; then :
73011 $as_echo_n "(cached) " >&6
73012 else
73015 ac_ext=c
73016 ac_cpp='$CPP $CPPFLAGS'
73017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73022 /* end confdefs.h. */
73024 #include <math.h>
73025 #ifdef HAVE_IEEEFP_H
73026 # include <ieeefp.h>
73027 #endif
73028 #undef floorl
73031 main ()
73034 void (*f)(void) = (void (*)(void))floorl;
73037 return 0;
73039 _ACEOF
73040 if ac_fn_c_try_compile "$LINENO"; then :
73041 glibcxx_cv_func_floorl_use=yes
73043 else
73044 glibcxx_cv_func_floorl_use=no
73046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_floorl_use" >&5
73049 $as_echo "$glibcxx_cv_func_floorl_use" >&6; }
73050 if test "x$glibcxx_cv_func_floorl_use" = xyes; then
73051 cat >>confdefs.h <<_ACEOF
73052 #define HAVE_FLOORL 1
73053 _ACEOF
73059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
73060 $as_echo_n "checking for fmodl declaration... " >&6; }
73061 if ${glibcxx_cv_func_fmodl_use+:} false; then :
73062 $as_echo_n "(cached) " >&6
73063 else
73066 ac_ext=c
73067 ac_cpp='$CPP $CPPFLAGS'
73068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73073 /* end confdefs.h. */
73075 #include <math.h>
73076 #ifdef HAVE_IEEEFP_H
73077 # include <ieeefp.h>
73078 #endif
73079 #undef fmodl
73082 main ()
73085 void (*f)(void) = (void (*)(void))fmodl;
73088 return 0;
73090 _ACEOF
73091 if ac_fn_c_try_compile "$LINENO"; then :
73092 glibcxx_cv_func_fmodl_use=yes
73094 else
73095 glibcxx_cv_func_fmodl_use=no
73097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
73100 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
73101 if test "x$glibcxx_cv_func_fmodl_use" = xyes; then
73102 cat >>confdefs.h <<_ACEOF
73103 #define HAVE_FMODL 1
73104 _ACEOF
73110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
73111 $as_echo_n "checking for frexpl declaration... " >&6; }
73112 if ${glibcxx_cv_func_frexpl_use+:} false; then :
73113 $as_echo_n "(cached) " >&6
73114 else
73117 ac_ext=c
73118 ac_cpp='$CPP $CPPFLAGS'
73119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73124 /* end confdefs.h. */
73126 #include <math.h>
73127 #ifdef HAVE_IEEEFP_H
73128 # include <ieeefp.h>
73129 #endif
73130 #undef frexpl
73133 main ()
73136 void (*f)(void) = (void (*)(void))frexpl;
73139 return 0;
73141 _ACEOF
73142 if ac_fn_c_try_compile "$LINENO"; then :
73143 glibcxx_cv_func_frexpl_use=yes
73145 else
73146 glibcxx_cv_func_frexpl_use=no
73148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
73151 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
73152 if test "x$glibcxx_cv_func_frexpl_use" = xyes; then
73153 cat >>confdefs.h <<_ACEOF
73154 #define HAVE_FREXPL 1
73155 _ACEOF
73161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
73162 $as_echo_n "checking for ldexpl declaration... " >&6; }
73163 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
73164 $as_echo_n "(cached) " >&6
73165 else
73168 ac_ext=c
73169 ac_cpp='$CPP $CPPFLAGS'
73170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73175 /* end confdefs.h. */
73177 #include <math.h>
73178 #ifdef HAVE_IEEEFP_H
73179 # include <ieeefp.h>
73180 #endif
73181 #undef ldexpl
73184 main ()
73187 void (*f)(void) = (void (*)(void))ldexpl;
73190 return 0;
73192 _ACEOF
73193 if ac_fn_c_try_compile "$LINENO"; then :
73194 glibcxx_cv_func_ldexpl_use=yes
73196 else
73197 glibcxx_cv_func_ldexpl_use=no
73199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
73202 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
73203 if test "x$glibcxx_cv_func_ldexpl_use" = xyes; then
73204 cat >>confdefs.h <<_ACEOF
73205 #define HAVE_LDEXPL 1
73206 _ACEOF
73212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
73213 $as_echo_n "checking for log10l declaration... " >&6; }
73214 if ${glibcxx_cv_func_log10l_use+:} false; then :
73215 $as_echo_n "(cached) " >&6
73216 else
73219 ac_ext=c
73220 ac_cpp='$CPP $CPPFLAGS'
73221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73226 /* end confdefs.h. */
73228 #include <math.h>
73229 #ifdef HAVE_IEEEFP_H
73230 # include <ieeefp.h>
73231 #endif
73232 #undef log10l
73235 main ()
73238 void (*f)(void) = (void (*)(void))log10l;
73241 return 0;
73243 _ACEOF
73244 if ac_fn_c_try_compile "$LINENO"; then :
73245 glibcxx_cv_func_log10l_use=yes
73247 else
73248 glibcxx_cv_func_log10l_use=no
73250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
73253 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
73254 if test "x$glibcxx_cv_func_log10l_use" = xyes; then
73255 cat >>confdefs.h <<_ACEOF
73256 #define HAVE_LOG10L 1
73257 _ACEOF
73263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
73264 $as_echo_n "checking for logl declaration... " >&6; }
73265 if ${glibcxx_cv_func_logl_use+:} false; then :
73266 $as_echo_n "(cached) " >&6
73267 else
73270 ac_ext=c
73271 ac_cpp='$CPP $CPPFLAGS'
73272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73277 /* end confdefs.h. */
73279 #include <math.h>
73280 #ifdef HAVE_IEEEFP_H
73281 # include <ieeefp.h>
73282 #endif
73283 #undef logl
73286 main ()
73289 void (*f)(void) = (void (*)(void))logl;
73292 return 0;
73294 _ACEOF
73295 if ac_fn_c_try_compile "$LINENO"; then :
73296 glibcxx_cv_func_logl_use=yes
73298 else
73299 glibcxx_cv_func_logl_use=no
73301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
73304 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
73305 if test "x$glibcxx_cv_func_logl_use" = xyes; then
73306 cat >>confdefs.h <<_ACEOF
73307 #define HAVE_LOGL 1
73308 _ACEOF
73314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
73315 $as_echo_n "checking for modfl declaration... " >&6; }
73316 if ${glibcxx_cv_func_modfl_use+:} false; then :
73317 $as_echo_n "(cached) " >&6
73318 else
73321 ac_ext=c
73322 ac_cpp='$CPP $CPPFLAGS'
73323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73328 /* end confdefs.h. */
73330 #include <math.h>
73331 #ifdef HAVE_IEEEFP_H
73332 # include <ieeefp.h>
73333 #endif
73334 #undef modfl
73337 main ()
73340 void (*f)(void) = (void (*)(void))modfl;
73343 return 0;
73345 _ACEOF
73346 if ac_fn_c_try_compile "$LINENO"; then :
73347 glibcxx_cv_func_modfl_use=yes
73349 else
73350 glibcxx_cv_func_modfl_use=no
73352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
73355 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
73356 if test "x$glibcxx_cv_func_modfl_use" = xyes; then
73357 cat >>confdefs.h <<_ACEOF
73358 #define HAVE_MODFL 1
73359 _ACEOF
73365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
73366 $as_echo_n "checking for powl declaration... " >&6; }
73367 if ${glibcxx_cv_func_powl_use+:} false; then :
73368 $as_echo_n "(cached) " >&6
73369 else
73372 ac_ext=c
73373 ac_cpp='$CPP $CPPFLAGS'
73374 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73375 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73379 /* end confdefs.h. */
73381 #include <math.h>
73382 #ifdef HAVE_IEEEFP_H
73383 # include <ieeefp.h>
73384 #endif
73385 #undef powl
73388 main ()
73391 void (*f)(void) = (void (*)(void))powl;
73394 return 0;
73396 _ACEOF
73397 if ac_fn_c_try_compile "$LINENO"; then :
73398 glibcxx_cv_func_powl_use=yes
73400 else
73401 glibcxx_cv_func_powl_use=no
73403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
73406 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
73407 if test "x$glibcxx_cv_func_powl_use" = xyes; then
73408 cat >>confdefs.h <<_ACEOF
73409 #define HAVE_POWL 1
73410 _ACEOF
73416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinl declaration" >&5
73417 $as_echo_n "checking for sinl declaration... " >&6; }
73418 if ${glibcxx_cv_func_sinl_use+:} false; then :
73419 $as_echo_n "(cached) " >&6
73420 else
73423 ac_ext=c
73424 ac_cpp='$CPP $CPPFLAGS'
73425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73430 /* end confdefs.h. */
73432 #include <math.h>
73433 #ifdef HAVE_IEEEFP_H
73434 # include <ieeefp.h>
73435 #endif
73436 #undef sinl
73439 main ()
73442 void (*f)(void) = (void (*)(void))sinl;
73445 return 0;
73447 _ACEOF
73448 if ac_fn_c_try_compile "$LINENO"; then :
73449 glibcxx_cv_func_sinl_use=yes
73451 else
73452 glibcxx_cv_func_sinl_use=no
73454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sinl_use" >&5
73457 $as_echo "$glibcxx_cv_func_sinl_use" >&6; }
73458 if test "x$glibcxx_cv_func_sinl_use" = xyes; then
73459 cat >>confdefs.h <<_ACEOF
73460 #define HAVE_SINL 1
73461 _ACEOF
73467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhl declaration" >&5
73468 $as_echo_n "checking for sinhl declaration... " >&6; }
73469 if ${glibcxx_cv_func_sinhl_use+:} false; then :
73470 $as_echo_n "(cached) " >&6
73471 else
73474 ac_ext=c
73475 ac_cpp='$CPP $CPPFLAGS'
73476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73481 /* end confdefs.h. */
73483 #include <math.h>
73484 #ifdef HAVE_IEEEFP_H
73485 # include <ieeefp.h>
73486 #endif
73487 #undef sinhl
73490 main ()
73493 void (*f)(void) = (void (*)(void))sinhl;
73496 return 0;
73498 _ACEOF
73499 if ac_fn_c_try_compile "$LINENO"; then :
73500 glibcxx_cv_func_sinhl_use=yes
73502 else
73503 glibcxx_cv_func_sinhl_use=no
73505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sinhl_use" >&5
73508 $as_echo "$glibcxx_cv_func_sinhl_use" >&6; }
73509 if test "x$glibcxx_cv_func_sinhl_use" = xyes; then
73510 cat >>confdefs.h <<_ACEOF
73511 #define HAVE_SINHL 1
73512 _ACEOF
73518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
73519 $as_echo_n "checking for sqrtl declaration... " >&6; }
73520 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
73521 $as_echo_n "(cached) " >&6
73522 else
73525 ac_ext=c
73526 ac_cpp='$CPP $CPPFLAGS'
73527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73532 /* end confdefs.h. */
73534 #include <math.h>
73535 #ifdef HAVE_IEEEFP_H
73536 # include <ieeefp.h>
73537 #endif
73538 #undef sqrtl
73541 main ()
73544 void (*f)(void) = (void (*)(void))sqrtl;
73547 return 0;
73549 _ACEOF
73550 if ac_fn_c_try_compile "$LINENO"; then :
73551 glibcxx_cv_func_sqrtl_use=yes
73553 else
73554 glibcxx_cv_func_sqrtl_use=no
73556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
73559 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
73560 if test "x$glibcxx_cv_func_sqrtl_use" = xyes; then
73561 cat >>confdefs.h <<_ACEOF
73562 #define HAVE_SQRTL 1
73563 _ACEOF
73569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanl declaration" >&5
73570 $as_echo_n "checking for tanl declaration... " >&6; }
73571 if ${glibcxx_cv_func_tanl_use+:} false; then :
73572 $as_echo_n "(cached) " >&6
73573 else
73576 ac_ext=c
73577 ac_cpp='$CPP $CPPFLAGS'
73578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73583 /* end confdefs.h. */
73585 #include <math.h>
73586 #ifdef HAVE_IEEEFP_H
73587 # include <ieeefp.h>
73588 #endif
73589 #undef tanl
73592 main ()
73595 void (*f)(void) = (void (*)(void))tanl;
73598 return 0;
73600 _ACEOF
73601 if ac_fn_c_try_compile "$LINENO"; then :
73602 glibcxx_cv_func_tanl_use=yes
73604 else
73605 glibcxx_cv_func_tanl_use=no
73607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_tanl_use" >&5
73610 $as_echo "$glibcxx_cv_func_tanl_use" >&6; }
73611 if test "x$glibcxx_cv_func_tanl_use" = xyes; then
73612 cat >>confdefs.h <<_ACEOF
73613 #define HAVE_TANL 1
73614 _ACEOF
73620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhl declaration" >&5
73621 $as_echo_n "checking for tanhl declaration... " >&6; }
73622 if ${glibcxx_cv_func_tanhl_use+:} false; then :
73623 $as_echo_n "(cached) " >&6
73624 else
73627 ac_ext=c
73628 ac_cpp='$CPP $CPPFLAGS'
73629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73634 /* end confdefs.h. */
73636 #include <math.h>
73637 #ifdef HAVE_IEEEFP_H
73638 # include <ieeefp.h>
73639 #endif
73640 #undef tanhl
73643 main ()
73646 void (*f)(void) = (void (*)(void))tanhl;
73649 return 0;
73651 _ACEOF
73652 if ac_fn_c_try_compile "$LINENO"; then :
73653 glibcxx_cv_func_tanhl_use=yes
73655 else
73656 glibcxx_cv_func_tanhl_use=no
73658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_tanhl_use" >&5
73661 $as_echo "$glibcxx_cv_func_tanhl_use" >&6; }
73662 if test "x$glibcxx_cv_func_tanhl_use" = xyes; then
73663 cat >>confdefs.h <<_ACEOF
73664 #define HAVE_TANHL 1
73665 _ACEOF
73671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
73672 $as_echo_n "checking for hypotl declaration... " >&6; }
73673 if ${glibcxx_cv_func_hypotl_use+:} false; then :
73674 $as_echo_n "(cached) " >&6
73675 else
73678 ac_ext=c
73679 ac_cpp='$CPP $CPPFLAGS'
73680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73685 /* end confdefs.h. */
73687 #include <math.h>
73688 #ifdef HAVE_IEEEFP_H
73689 # include <ieeefp.h>
73690 #endif
73691 #undef hypotl
73694 main ()
73697 void (*f)(void) = (void (*)(void))hypotl;
73700 return 0;
73702 _ACEOF
73703 if ac_fn_c_try_compile "$LINENO"; then :
73704 glibcxx_cv_func_hypotl_use=yes
73706 else
73707 glibcxx_cv_func_hypotl_use=no
73709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
73712 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
73713 if test "x$glibcxx_cv_func_hypotl_use" = xyes; then
73714 cat >>confdefs.h <<_ACEOF
73715 #define HAVE_HYPOTL 1
73716 _ACEOF
73722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
73723 $as_echo_n "checking for ldexpf declaration... " >&6; }
73724 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
73725 $as_echo_n "(cached) " >&6
73726 else
73729 ac_ext=c
73730 ac_cpp='$CPP $CPPFLAGS'
73731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73736 /* end confdefs.h. */
73738 #include <math.h>
73739 #ifdef HAVE_IEEEFP_H
73740 # include <ieeefp.h>
73741 #endif
73742 #undef ldexpf
73745 main ()
73748 void (*f)(void) = (void (*)(void))ldexpf;
73751 return 0;
73753 _ACEOF
73754 if ac_fn_c_try_compile "$LINENO"; then :
73755 glibcxx_cv_func_ldexpf_use=yes
73757 else
73758 glibcxx_cv_func_ldexpf_use=no
73760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
73763 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
73764 if test "x$glibcxx_cv_func_ldexpf_use" = xyes; then
73765 cat >>confdefs.h <<_ACEOF
73766 #define HAVE_LDEXPF 1
73767 _ACEOF
73773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
73774 $as_echo_n "checking for modff declaration... " >&6; }
73775 if ${glibcxx_cv_func_modff_use+:} false; then :
73776 $as_echo_n "(cached) " >&6
73777 else
73780 ac_ext=c
73781 ac_cpp='$CPP $CPPFLAGS'
73782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73787 /* end confdefs.h. */
73789 #include <math.h>
73790 #ifdef HAVE_IEEEFP_H
73791 # include <ieeefp.h>
73792 #endif
73793 #undef modff
73796 main ()
73799 void (*f)(void) = (void (*)(void))modff;
73802 return 0;
73804 _ACEOF
73805 if ac_fn_c_try_compile "$LINENO"; then :
73806 glibcxx_cv_func_modff_use=yes
73808 else
73809 glibcxx_cv_func_modff_use=no
73811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
73814 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
73815 if test "x$glibcxx_cv_func_modff_use" = xyes; then
73816 cat >>confdefs.h <<_ACEOF
73817 #define HAVE_MODFF 1
73818 _ACEOF
73824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
73825 $as_echo_n "checking for hypotf declaration... " >&6; }
73826 if ${glibcxx_cv_func_hypotf_use+:} false; then :
73827 $as_echo_n "(cached) " >&6
73828 else
73831 ac_ext=c
73832 ac_cpp='$CPP $CPPFLAGS'
73833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73838 /* end confdefs.h. */
73840 #include <math.h>
73841 #ifdef HAVE_IEEEFP_H
73842 # include <ieeefp.h>
73843 #endif
73844 #undef hypotf
73847 main ()
73850 void (*f)(void) = (void (*)(void))hypotf;
73853 return 0;
73855 _ACEOF
73856 if ac_fn_c_try_compile "$LINENO"; then :
73857 glibcxx_cv_func_hypotf_use=yes
73859 else
73860 glibcxx_cv_func_hypotf_use=no
73862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
73865 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
73866 if test "x$glibcxx_cv_func_hypotf_use" = xyes; then
73867 cat >>confdefs.h <<_ACEOF
73868 #define HAVE_HYPOTF 1
73869 _ACEOF
73875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
73876 $as_echo_n "checking for frexpf declaration... " >&6; }
73877 if ${glibcxx_cv_func_frexpf_use+:} false; then :
73878 $as_echo_n "(cached) " >&6
73879 else
73882 ac_ext=c
73883 ac_cpp='$CPP $CPPFLAGS'
73884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73889 /* end confdefs.h. */
73891 #include <math.h>
73892 #ifdef HAVE_IEEEFP_H
73893 # include <ieeefp.h>
73894 #endif
73895 #undef frexpf
73898 main ()
73901 void (*f)(void) = (void (*)(void))frexpf;
73904 return 0;
73906 _ACEOF
73907 if ac_fn_c_try_compile "$LINENO"; then :
73908 glibcxx_cv_func_frexpf_use=yes
73910 else
73911 glibcxx_cv_func_frexpf_use=no
73913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
73916 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
73917 if test "x$glibcxx_cv_func_frexpf_use" = xyes; then
73918 cat >>confdefs.h <<_ACEOF
73919 #define HAVE_FREXPF 1
73920 _ACEOF
73928 as_fn_error $? "No support for this host/target combination." "$LINENO" 5
73930 esac
73934 # At some point, we should differentiate between architectures
73935 # like x86, which have long double versions, and alpha/powerpc/etc.,
73936 # which don't. For the time being, punt.
73937 if test x"long_double_math_on_this_cpu" = x"yes"; then
73938 $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
73940 $as_echo "#define HAVE_ASINL 1" >>confdefs.h
73942 $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
73944 $as_echo "#define HAVE_ATANL 1" >>confdefs.h
73946 $as_echo "#define HAVE_CEILL 1" >>confdefs.h
73948 $as_echo "#define HAVE_COSL 1" >>confdefs.h
73950 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
73952 $as_echo "#define HAVE_EXPL 1" >>confdefs.h
73954 $as_echo "#define HAVE_FABSL 1" >>confdefs.h
73956 $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
73958 $as_echo "#define HAVE_FMODL 1" >>confdefs.h
73960 $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
73962 $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
73964 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
73966 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
73968 $as_echo "#define HAVE_MODFL 1" >>confdefs.h
73970 $as_echo "#define HAVE_POWL 1" >>confdefs.h
73972 $as_echo "#define HAVE_SINCOSL 1" >>confdefs.h
73974 $as_echo "#define HAVE_SINL 1" >>confdefs.h
73976 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
73978 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
73980 $as_echo "#define HAVE_TANL 1" >>confdefs.h
73982 $as_echo "#define HAVE_TANHL 1" >>confdefs.h
73987 # Check for _Unwind_GetIPInfo.
73990 # Check whether --with-system-libunwind was given.
73991 if test "${with_system_libunwind+set}" = set; then :
73992 withval=$with_system_libunwind;
73995 # If system-libunwind was not specifically set, pick a default setting.
73996 if test x$with_system_libunwind = x; then
73997 case ${target} in
73998 ia64-*-hpux*) with_system_libunwind=yes ;;
73999 *) with_system_libunwind=no ;;
74000 esac
74002 # Based on system-libunwind and target, do we have ipinfo?
74003 if test x$with_system_libunwind = xyes; then
74004 case ${target} in
74005 ia64-*-*) have_unwind_getipinfo=no ;;
74006 *) have_unwind_getipinfo=yes ;;
74007 esac
74008 else
74009 # Darwin before version 9 does not have _Unwind_GetIPInfo.
74011 case ${target} in
74012 *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
74013 *) have_unwind_getipinfo=yes ;;
74014 esac
74018 if test x$have_unwind_getipinfo = xyes; then
74020 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
74025 # Check whether --enable-linux-futex was given.
74026 if test "${enable_linux_futex+set}" = set; then :
74027 enableval=$enable_linux_futex;
74028 case "$enableval" in
74029 yes|no|default) ;;
74030 *) as_fn_error $? "Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
74031 esac
74033 else
74034 enable_linux_futex=default
74038 case "$target" in
74039 *-linux* | *-uclinux*)
74040 case "$enable_linux_futex" in
74041 default)
74042 # If headers don't have gettid/futex syscalls definition, then
74043 # default to no, otherwise there will be compile time failures.
74044 # Otherwise, default to yes. If we don't detect we are
74045 # compiled/linked against NPTL and not cross-compiling, check
74046 # if programs are run by default against NPTL and if not, issue
74047 # a warning.
74048 enable_linux_futex=no
74049 if test x$gcc_no_link = xyes; then
74050 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
74052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74053 /* end confdefs.h. */
74054 #include <sys/syscall.h>
74055 #include <unistd.h>
74056 int lk;
74058 main ()
74060 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
74062 return 0;
74064 _ACEOF
74065 if ac_fn_c_try_link "$LINENO"; then :
74066 save_LIBS="$LIBS"
74067 LIBS="-lpthread $LIBS"
74068 if test x$gcc_no_link = xyes; then
74069 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
74071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74072 /* end confdefs.h. */
74073 #ifndef _GNU_SOURCE
74074 #define _GNU_SOURCE 1
74075 #endif
74076 #include <pthread.h>
74077 pthread_t th; void *status;
74079 main ()
74081 pthread_tryjoin_np (th, &status);
74083 return 0;
74085 _ACEOF
74086 if ac_fn_c_try_link "$LINENO"; then :
74087 enable_linux_futex=yes
74088 else
74089 if test x$cross_compiling = xno; then
74090 if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
74091 | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
74092 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
74093 If so, please configure with --disable-linux-futex" >&5
74094 $as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
74095 If so, please configure with --disable-linux-futex" >&2;}
74098 enable_linux_futex=yes
74100 rm -f core conftest.err conftest.$ac_objext \
74101 conftest$ac_exeext conftest.$ac_ext
74102 LIBS="$save_LIBS"
74104 rm -f core conftest.err conftest.$ac_objext \
74105 conftest$ac_exeext conftest.$ac_ext
74107 yes)
74108 if test x$gcc_no_link = xyes; then
74109 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
74111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74112 /* end confdefs.h. */
74113 #include <sys/syscall.h>
74114 #include <unistd.h>
74115 int lk;
74117 main ()
74119 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
74121 return 0;
74123 _ACEOF
74124 if ac_fn_c_try_link "$LINENO"; then :
74126 else
74127 as_fn_error $? "SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
74129 rm -f core conftest.err conftest.$ac_objext \
74130 conftest$ac_exeext conftest.$ac_ext
74132 esac
74135 enable_linux_futex=no
74137 esac
74138 if test x$enable_linux_futex = xyes; then
74140 $as_echo "#define HAVE_LINUX_FUTEX 1" >>confdefs.h
74147 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
74149 acx_cv_header_stdint=stddef.h
74150 acx_cv_header_stdint_kind="(already complete)"
74151 for i in stdint.h $inttype_headers; do
74152 unset ac_cv_type_uintptr_t
74153 unset ac_cv_type_uintmax_t
74154 unset ac_cv_type_int_least32_t
74155 unset ac_cv_type_int_fast32_t
74156 unset ac_cv_type_uint64_t
74157 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
74158 ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
74159 #include <$i>
74161 if test "x$ac_cv_type_uintmax_t" = xyes; then :
74162 acx_cv_header_stdint=$i
74163 else
74164 continue
74167 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
74168 #include <$i>
74170 if test "x$ac_cv_type_uintptr_t" = xyes; then :
74172 else
74173 acx_cv_header_stdint_kind="(mostly complete)"
74176 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
74177 #include <$i>
74179 if test "x$ac_cv_type_int_least32_t" = xyes; then :
74181 else
74182 acx_cv_header_stdint_kind="(mostly complete)"
74185 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
74186 #include <$i>
74188 if test "x$ac_cv_type_int_fast32_t" = xyes; then :
74190 else
74191 acx_cv_header_stdint_kind="(mostly complete)"
74194 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
74195 #include <$i>
74197 if test "x$ac_cv_type_uint64_t" = xyes; then :
74199 else
74200 acx_cv_header_stdint_kind="(lacks uint64_t)"
74203 break
74204 done
74205 if test "$acx_cv_header_stdint" = stddef.h; then
74206 acx_cv_header_stdint_kind="(lacks uintmax_t)"
74207 for i in stdint.h $inttype_headers; do
74208 unset ac_cv_type_uintptr_t
74209 unset ac_cv_type_uint32_t
74210 unset ac_cv_type_uint64_t
74211 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
74212 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
74213 #include <$i>
74215 if test "x$ac_cv_type_uint32_t" = xyes; then :
74216 acx_cv_header_stdint=$i
74217 else
74218 continue
74221 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
74222 #include <$i>
74224 if test "x$ac_cv_type_uint64_t" = xyes; then :
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 :
74235 break
74236 done
74238 if test "$acx_cv_header_stdint" = stddef.h; then
74239 acx_cv_header_stdint_kind="(u_intXX_t style)"
74240 for i in sys/types.h $inttype_headers; do
74241 unset ac_cv_type_u_int32_t
74242 unset ac_cv_type_u_int64_t
74243 $as_echo_n "looking for u_intXX_t types in $i, " >&6
74244 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
74245 #include <$i>
74247 if test "x$ac_cv_type_u_int32_t" = xyes; then :
74248 acx_cv_header_stdint=$i
74249 else
74250 continue
74253 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
74254 #include <$i>
74256 if test "x$ac_cv_type_u_int64_t" = xyes; then :
74260 break
74261 done
74263 if test "$acx_cv_header_stdint" = stddef.h; then
74264 acx_cv_header_stdint_kind="(using manual detection)"
74267 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
74268 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
74269 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
74270 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
74271 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
74273 # ----------------- Summarize what we found so far
74275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in include/gstdint.h" >&5
74276 $as_echo_n "checking what to include in include/gstdint.h... " >&6; }
74278 case `$as_basename -- include/gstdint.h ||
74279 $as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
74280 Xinclude/gstdint.h : 'X\(//\)$' \| \
74281 Xinclude/gstdint.h : 'X\(/\)' \| . 2>/dev/null ||
74282 $as_echo X/include/gstdint.h |
74283 sed '/^.*\/\([^/][^/]*\)\/*$/{
74284 s//\1/
74287 /^X\/\(\/\/\)$/{
74288 s//\1/
74291 /^X\/\(\/\).*/{
74292 s//\1/
74295 s/.*/./; q'` in
74296 stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
74297 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
74298 inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
74299 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
74300 *) ;;
74301 esac
74303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
74304 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
74306 # ----------------- done included file, check C basic types --------
74308 # Lacking an uintptr_t? Test size of void *
74309 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
74310 stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
74311 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
74312 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
74313 # This bug is HP SR number 8606223364.
74314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
74315 $as_echo_n "checking size of void *... " >&6; }
74316 if ${ac_cv_sizeof_void_p+:} false; then :
74317 $as_echo_n "(cached) " >&6
74318 else
74319 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
74321 else
74322 if test "$ac_cv_type_void_p" = yes; then
74323 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
74324 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
74325 as_fn_error 77 "cannot compute sizeof (void *)
74326 See \`config.log' for more details" "$LINENO" 5; }
74327 else
74328 ac_cv_sizeof_void_p=0
74333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
74334 $as_echo "$ac_cv_sizeof_void_p" >&6; }
74338 cat >>confdefs.h <<_ACEOF
74339 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
74340 _ACEOF
74343 esac
74345 # Lacking an uint64_t? Test size of long
74346 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
74347 stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
74348 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
74349 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
74350 # This bug is HP SR number 8606223364.
74351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
74352 $as_echo_n "checking size of long... " >&6; }
74353 if ${ac_cv_sizeof_long+:} false; then :
74354 $as_echo_n "(cached) " >&6
74355 else
74356 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
74358 else
74359 if test "$ac_cv_type_long" = yes; then
74360 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
74361 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
74362 as_fn_error 77 "cannot compute sizeof (long)
74363 See \`config.log' for more details" "$LINENO" 5; }
74364 else
74365 ac_cv_sizeof_long=0
74370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
74371 $as_echo "$ac_cv_sizeof_long" >&6; }
74375 cat >>confdefs.h <<_ACEOF
74376 #define SIZEOF_LONG $ac_cv_sizeof_long
74377 _ACEOF
74380 esac
74382 if test $acx_cv_header_stdint = stddef.h; then
74383 # Lacking a good header? Test size of everything and deduce all types.
74384 # The cast to long int works around a bug in the HP C Compiler
74385 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
74386 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
74387 # This bug is HP SR number 8606223364.
74388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
74389 $as_echo_n "checking size of int... " >&6; }
74390 if ${ac_cv_sizeof_int+:} false; then :
74391 $as_echo_n "(cached) " >&6
74392 else
74393 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
74395 else
74396 if test "$ac_cv_type_int" = yes; then
74397 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
74398 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
74399 as_fn_error 77 "cannot compute sizeof (int)
74400 See \`config.log' for more details" "$LINENO" 5; }
74401 else
74402 ac_cv_sizeof_int=0
74407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
74408 $as_echo "$ac_cv_sizeof_int" >&6; }
74412 cat >>confdefs.h <<_ACEOF
74413 #define SIZEOF_INT $ac_cv_sizeof_int
74414 _ACEOF
74417 # The cast to long int works around a bug in the HP C Compiler
74418 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
74419 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
74420 # This bug is HP SR number 8606223364.
74421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
74422 $as_echo_n "checking size of short... " >&6; }
74423 if ${ac_cv_sizeof_short+:} false; then :
74424 $as_echo_n "(cached) " >&6
74425 else
74426 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
74428 else
74429 if test "$ac_cv_type_short" = yes; then
74430 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
74431 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
74432 as_fn_error 77 "cannot compute sizeof (short)
74433 See \`config.log' for more details" "$LINENO" 5; }
74434 else
74435 ac_cv_sizeof_short=0
74440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
74441 $as_echo "$ac_cv_sizeof_short" >&6; }
74445 cat >>confdefs.h <<_ACEOF
74446 #define SIZEOF_SHORT $ac_cv_sizeof_short
74447 _ACEOF
74450 # The cast to long int works around a bug in the HP C Compiler
74451 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
74452 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
74453 # This bug is HP SR number 8606223364.
74454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
74455 $as_echo_n "checking size of char... " >&6; }
74456 if ${ac_cv_sizeof_char+:} false; then :
74457 $as_echo_n "(cached) " >&6
74458 else
74459 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
74461 else
74462 if test "$ac_cv_type_char" = yes; then
74463 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
74464 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
74465 as_fn_error 77 "cannot compute sizeof (char)
74466 See \`config.log' for more details" "$LINENO" 5; }
74467 else
74468 ac_cv_sizeof_char=0
74473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
74474 $as_echo "$ac_cv_sizeof_char" >&6; }
74478 cat >>confdefs.h <<_ACEOF
74479 #define SIZEOF_CHAR $ac_cv_sizeof_char
74480 _ACEOF
74484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
74485 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
74486 case "$ac_cv_sizeof_char" in
74487 1) acx_cv_type_int8_t=char ;;
74488 *) as_fn_error $? "no 8-bit type, please report a bug" "$LINENO" 5
74489 esac
74490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
74491 $as_echo "$acx_cv_type_int8_t" >&6; }
74493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
74494 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
74495 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
74496 2:*) acx_cv_type_int16_t=int ;;
74497 *:2) acx_cv_type_int16_t=short ;;
74498 *) as_fn_error $? "no 16-bit type, please report a bug" "$LINENO" 5
74499 esac
74500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
74501 $as_echo "$acx_cv_type_int16_t" >&6; }
74503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
74504 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
74505 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
74506 4:*) acx_cv_type_int32_t=int ;;
74507 *:4) acx_cv_type_int32_t=long ;;
74508 *) as_fn_error $? "no 32-bit type, please report a bug" "$LINENO" 5
74509 esac
74510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
74511 $as_echo "$acx_cv_type_int32_t" >&6; }
74514 # These tests are here to make the output prettier
74516 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
74517 case "$ac_cv_sizeof_long" in
74518 8) acx_cv_type_int64_t=long ;;
74519 esac
74520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
74521 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
74522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
74523 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
74526 # Now we can use the above types
74528 if test "$ac_cv_type_uintptr_t" != yes; then
74529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
74530 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
74531 case $ac_cv_sizeof_void_p in
74532 2) acx_cv_type_intptr_t=int16_t ;;
74533 4) acx_cv_type_intptr_t=int32_t ;;
74534 8) acx_cv_type_intptr_t=int64_t ;;
74535 *) as_fn_error $? "no equivalent for intptr_t, please report a bug" "$LINENO" 5
74536 esac
74537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
74538 $as_echo "$acx_cv_type_intptr_t" >&6; }
74541 # ----------------- done all checks, emit header -------------
74542 ac_config_commands="$ac_config_commands include/gstdint.h"
74548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU c++filt" >&5
74549 $as_echo_n "checking for GNU c++filt... " >&6; }
74550 if ${ac_cv_path_CXXFILT+:} false; then :
74551 $as_echo_n "(cached) " >&6
74552 else
74553 if test -z "$CXXFILT"; then
74554 ac_path_CXXFILT_found=false
74555 # Loop through the user's path and test for each of PROGNAME-LIST
74556 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
74557 for as_dir in $PATH
74559 IFS=$as_save_IFS
74560 test -z "$as_dir" && as_dir=.
74561 for ac_prog in c++filt gc++filt; do
74562 for ac_exec_ext in '' $ac_executable_extensions; do
74563 ac_path_CXXFILT="$as_dir/$ac_prog$ac_exec_ext"
74564 as_fn_executable_p "$ac_path_CXXFILT" || continue
74565 # Check for GNU $ac_path_CXXFILT
74566 case `"$ac_path_CXXFILT" --version 2>&1` in
74567 *GNU*)
74568 ac_cv_path_CXXFILT=$ac_path_CXXFILT && ac_path_CXXFILT_found=:;;
74569 esac
74571 $ac_path_CXXFILT_found && break 3
74572 done
74573 done
74574 done
74575 IFS=$as_save_IFS
74576 if test -z "$ac_cv_path_CXXFILT"; then
74579 else
74580 ac_cv_path_CXXFILT=$CXXFILT
74584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_CXXFILT" >&5
74585 $as_echo "$ac_cv_path_CXXFILT" >&6; }
74586 CXXFILT=$ac_cv_path_CXXFILT
74590 # Check whether --enable-symvers was given.
74591 if test "${enable_symvers+set}" = set; then :
74592 enableval=$enable_symvers;
74593 case "$enableval" in
74594 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export|sun) ;;
74595 *) as_fn_error $? "Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
74596 esac
74598 else
74599 enable_symvers=yes
74604 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
74605 # don't know enough about $LD to do tricks...
74607 # Sun style symbol versions needs GNU c++filt for make_sunver.pl to work
74608 # with extern "C++" in version scripts.
74611 # Turn a 'yes' into a suitable default.
74612 if test x$enable_symvers = xyes ; then
74613 if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
74614 enable_symvers=no
74615 else
74616 if test $with_gnu_ld = yes ; then
74617 case ${target_os} in
74618 hpux*)
74619 enable_symvers=no ;;
74621 enable_symvers=gnu ;;
74622 esac
74623 else
74624 case ${target_os} in
74625 darwin*)
74626 enable_symvers=darwin ;;
74627 # Sun symbol versioning exists since Solaris 2.5.
74628 solaris2.[5-9]* | solaris2.1[0-9]*)
74629 # make_sunver.pl needs GNU c++filt to support extern "C++" in
74630 # version scripts, so disable symbol versioning if none can be
74631 # found.
74632 if test -z "$ac_cv_path_CXXFILT"; then
74633 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
74634 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
74635 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === no GNU c++filt could be found." >&5
74636 $as_echo "$as_me: WARNING: === no GNU c++filt could be found." >&2;}
74637 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
74638 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
74639 enable_symvers=no
74640 else
74641 enable_symvers=sun
74645 enable_symvers=no ;;
74646 esac
74651 # Check to see if 'darwin' or 'darwin-export' can win.
74652 if test x$enable_symvers = xdarwin-export ; then
74653 enable_symvers=darwin
74656 # Check if 'sun' was requested on non-Solaris 2 platforms.
74657 if test x$enable_symvers = xsun ; then
74658 case ${target_os} in
74659 solaris2*)
74660 # All fine.
74663 # Unlikely to work.
74664 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
74665 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
74666 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not targetting Solaris 2." >&5
74667 $as_echo "$as_me: WARNING: === you are not targetting Solaris 2." >&2;}
74668 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
74669 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
74670 enable_symvers=no
74672 esac
74675 # Check to see if 'gnu' can win.
74676 if test $enable_symvers = gnu ||
74677 test $enable_symvers = gnu-versioned-namespace ||
74678 test $enable_symvers = sun; then
74679 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
74680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
74681 $as_echo_n "checking for shared libgcc... " >&6; }
74682 ac_save_CFLAGS="$CFLAGS"
74683 CFLAGS=' -lgcc_s'
74684 if test x$gcc_no_link = xyes; then
74685 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
74687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74688 /* end confdefs.h. */
74691 main ()
74693 return 0;
74695 return 0;
74697 _ACEOF
74698 if ac_fn_c_try_link "$LINENO"; then :
74699 glibcxx_shared_libgcc=yes
74700 else
74701 glibcxx_shared_libgcc=no
74703 rm -f core conftest.err conftest.$ac_objext \
74704 conftest$ac_exeext conftest.$ac_ext
74705 CFLAGS="$ac_save_CFLAGS"
74706 if test $glibcxx_shared_libgcc = no; then
74707 cat > conftest.c <<EOF
74708 int main (void) { return 0; }
74710 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
74711 -shared -shared-libgcc -o conftest.so \
74712 conftest.c -v 2>&1 >/dev/null \
74713 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
74714 rm -f conftest.c conftest.so
74715 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
74716 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
74717 if test x$gcc_no_link = xyes; then
74718 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
74720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74721 /* end confdefs.h. */
74724 main ()
74726 return 0;
74728 return 0;
74730 _ACEOF
74731 if ac_fn_c_try_link "$LINENO"; then :
74732 glibcxx_shared_libgcc=yes
74734 rm -f core conftest.err conftest.$ac_objext \
74735 conftest$ac_exeext conftest.$ac_ext
74736 CFLAGS="$ac_save_CFLAGS"
74739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_shared_libgcc" >&5
74740 $as_echo "$glibcxx_shared_libgcc" >&6; }
74742 # For GNU ld, we need at least this version. The format is described in
74743 # GLIBCXX_CHECK_LINKER_FEATURES above.
74744 glibcxx_min_gnu_ld_version=21400
74746 # If no shared libgcc, can't win.
74747 if test $glibcxx_shared_libgcc != yes; then
74748 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
74749 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
74750 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not building a shared libgcc_s." >&5
74751 $as_echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
74752 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
74753 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
74754 enable_symvers=no
74755 elif test $with_gnu_ld != yes && test $enable_symvers = sun; then
74756 : All interesting versions of Sun ld support sun style symbol versioning.
74757 elif test $with_gnu_ld != yes ; then
74758 # just fail for now
74759 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
74760 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
74761 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not using the GNU linker." >&5
74762 $as_echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
74763 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
74764 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
74765 enable_symvers=no
74766 elif test $glibcxx_ld_is_gold = yes ; then
74767 : All versions of gold support symbol versioning.
74768 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
74769 # The right tools, the right setup, but too old. Fallbacks?
74770 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
74771 $as_echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
74772 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
74773 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
74774 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
74775 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
74776 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
74777 $as_echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
74778 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
74779 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
74780 enable_symvers=no
74784 # For libtool versioning info, format is CURRENT:REVISION:AGE
74785 libtool_VERSION=6:29:0
74787 # Everything parsed; figure out what files and settings to use.
74788 case $enable_symvers in
74790 SYMVER_FILE=config/abi/pre/none.ver
74792 gnu)
74793 SYMVER_FILE=config/abi/pre/gnu.ver
74795 $as_echo "#define _GLIBCXX_SYMVER_GNU 1" >>confdefs.h
74798 gnu-versioned-namespace)
74799 libtool_VERSION=8:0:0
74800 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
74802 $as_echo "#define _GLIBCXX_SYMVER_GNU_NAMESPACE 1" >>confdefs.h
74805 darwin)
74806 SYMVER_FILE=config/abi/pre/gnu.ver
74808 $as_echo "#define _GLIBCXX_SYMVER_DARWIN 1" >>confdefs.h
74811 sun)
74812 SYMVER_FILE=config/abi/pre/gnu.ver
74814 $as_echo "#define _GLIBCXX_SYMVER_SUN 1" >>confdefs.h
74817 esac
74819 if test x$enable_symvers != xno ; then
74821 $as_echo "#define _GLIBCXX_SYMVER 1" >>confdefs.h
74825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
74826 $as_echo_n "checking whether the target supports .symver directive... " >&6; }
74827 if ${glibcxx_cv_have_as_symver_directive+:} false; then :
74828 $as_echo_n "(cached) " >&6
74829 else
74831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74832 /* end confdefs.h. */
74833 void foo (void); __asm (".symver foo, bar@SYMVER");
74835 main ()
74839 return 0;
74841 _ACEOF
74842 if ac_fn_c_try_compile "$LINENO"; then :
74843 glibcxx_cv_have_as_symver_directive=yes
74844 else
74845 glibcxx_cv_have_as_symver_directive=no
74847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_as_symver_directive" >&5
74850 $as_echo "$glibcxx_cv_have_as_symver_directive" >&6; }
74851 if test $glibcxx_cv_have_as_symver_directive = yes; then
74853 $as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
74864 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
74865 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
74867 if test $enable_symvers != no ; then
74868 case ${target_os} in
74869 # The Solaris 2 runtime linker doesn't support the GNU extension of
74870 # binding the same symbol to different versions
74871 solaris2*)
74873 # Other platforms with GNU symbol versioning (GNU/Linux, more?) do.
74876 $as_echo "#define HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT 1" >>confdefs.h
74879 esac
74882 # Now, set up compatibility support, if any.
74883 # In addition, need this to deal with std::size_t mangling in
74884 # src/compatibility.cc. In a perfect world, could use
74885 # typeid(std::size_t).name()[0] to do direct substitution.
74886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t as unsigned int" >&5
74887 $as_echo_n "checking for size_t as unsigned int... " >&6; }
74888 ac_save_CFLAGS="$CFLAGS"
74889 CFLAGS="-Werror"
74890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74891 /* end confdefs.h. */
74894 main ()
74896 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
74898 return 0;
74900 _ACEOF
74901 if ac_fn_c_try_compile "$LINENO"; then :
74902 glibcxx_size_t_is_i=yes
74903 else
74904 glibcxx_size_t_is_i=no
74906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74907 CFLAGS=$ac_save_CFLAGS
74908 if test "$glibcxx_size_t_is_i" = yes; then
74910 $as_echo "#define _GLIBCXX_SIZE_T_IS_UINT 1" >>confdefs.h
74913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_size_t_is_i" >&5
74914 $as_echo "$glibcxx_size_t_is_i" >&6; }
74916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t as int" >&5
74917 $as_echo_n "checking for ptrdiff_t as int... " >&6; }
74918 ac_save_CFLAGS="$CFLAGS"
74919 CFLAGS="-Werror"
74920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74921 /* end confdefs.h. */
74924 main ()
74926 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
74928 return 0;
74930 _ACEOF
74931 if ac_fn_c_try_compile "$LINENO"; then :
74932 glibcxx_ptrdiff_t_is_i=yes
74933 else
74934 glibcxx_ptrdiff_t_is_i=no
74936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74937 CFLAGS=$ac_save_CFLAGS
74938 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
74940 $as_echo "#define _GLIBCXX_PTRDIFF_T_IS_INT 1" >>confdefs.h
74943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_ptrdiff_t_is_i" >&5
74944 $as_echo "$glibcxx_ptrdiff_t_is_i" >&6; }
74949 # Check whether --enable-libstdcxx-visibility was given.
74950 if test "${enable_libstdcxx_visibility+set}" = set; then :
74951 enableval=$enable_libstdcxx_visibility;
74952 case "$enableval" in
74953 yes|no) ;;
74954 *) as_fn_error $? "Argument to enable/disable libstdcxx-visibility must be yes or no" "$LINENO" 5 ;;
74955 esac
74957 else
74958 enable_libstdcxx_visibility=yes
74963 if test x$enable_libstdcxx_visibility = xyes ; then
74964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
74965 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
74966 if ${glibcxx_cv_have_attribute_visibility+:} false; then :
74967 $as_echo_n "(cached) " >&6
74968 else
74970 save_CFLAGS="$CFLAGS"
74971 CFLAGS="$CFLAGS -Werror"
74972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74973 /* end confdefs.h. */
74974 void __attribute__((visibility("hidden"))) foo(void) { }
74976 main ()
74980 return 0;
74982 _ACEOF
74983 if ac_fn_c_try_compile "$LINENO"; then :
74984 glibcxx_cv_have_attribute_visibility=yes
74985 else
74986 glibcxx_cv_have_attribute_visibility=no
74988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74989 CFLAGS="$save_CFLAGS"
74991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_attribute_visibility" >&5
74992 $as_echo "$glibcxx_cv_have_attribute_visibility" >&6; }
74993 if test $glibcxx_cv_have_attribute_visibility = no; then
74994 enable_libstdcxx_visibility=no
74999 { $as_echo "$as_me:${as_lineno-$LINENO}: visibility supported: $enable_libstdcxx_visibility" >&5
75000 $as_echo "$as_me: visibility supported: $enable_libstdcxx_visibility" >&6;}
75004 # Check whether --enable-libstdcxx-dual-abi was given.
75005 if test "${enable_libstdcxx_dual_abi+set}" = set; then :
75006 enableval=$enable_libstdcxx_dual_abi;
75007 case "$enableval" in
75008 yes|no) ;;
75009 *) as_fn_error $? "Argument to enable/disable libstdcxx-dual-abi must be yes or no" "$LINENO" 5 ;;
75010 esac
75012 else
75013 enable_libstdcxx_dual_abi=yes
75017 if test x$enable_symvers = xgnu-versioned-namespace; then
75018 # gnu-versioned-namespace is incompatible with the dual ABI.
75019 enable_libstdcxx_dual_abi="no"
75021 if test x"$enable_libstdcxx_dual_abi" != xyes; then
75022 { $as_echo "$as_me:${as_lineno-$LINENO}: dual ABI is disabled" >&5
75023 $as_echo "$as_me: dual ABI is disabled" >&6;}
75024 default_libstdcxx_abi="gcc4-compatible"
75029 if test x$enable_libstdcxx_dual_abi = xyes; then
75030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default std::string ABI to use" >&5
75031 $as_echo_n "checking for default std::string ABI to use... " >&6; }
75033 # Check whether --with-default-libstdcxx-abi was given.
75034 if test "${with_default_libstdcxx_abi+set}" = set; then :
75035 withval=$with_default_libstdcxx_abi; case "$withval" in
75036 gcc4-compatible) default_libstdcxx_abi="gcc4-compatible" ;;
75037 new|cxx11) default_libstdcxx_abi="new" ;;
75038 c++*|gnu++*) as_fn_error $? "Supported arguments for --with-default-libstdcxx-abi have changed, use \"new\" or \"gcc4-compatible\"" "$LINENO" 5 ;;
75039 *) as_fn_error $? "Invalid argument for --with-default-libstdcxx-abi" "$LINENO" 5 ;;
75040 esac
75042 else
75043 default_libstdcxx_abi="new"
75046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${default_libstdcxx_abi}" >&5
75047 $as_echo "${default_libstdcxx_abi}" >&6; }
75049 if test $default_libstdcxx_abi = "new"; then
75050 glibcxx_cxx11_abi=1
75051 glibcxx_cxx98_abi=0
75052 else
75053 glibcxx_cxx11_abi=0
75054 glibcxx_cxx98_abi=1
75060 ac_ldbl_compat=no
75061 ac_ldbl_alt128_compat=no
75062 ac_ldbl_ieee128_default=no
75063 LONG_DOUBLE_COMPAT_FLAGS="-mlong-double-64"
75064 LONG_DOUBLE_128_FLAGS=
75065 LONG_DOUBLE_ALT128_COMPAT_FLAGS=
75066 case "$target" in
75067 powerpc*-*-linux* | \
75068 sparc*-*-linux* | \
75069 s390*-*-linux* | \
75070 alpha*-*-linux*)
75071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75072 /* end confdefs.h. */
75075 main ()
75078 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
75079 #error no need for long double compatibility
75080 #endif
75083 return 0;
75085 _ACEOF
75086 if ac_fn_c_try_compile "$LINENO"; then :
75087 ac_ldbl_compat=yes
75088 else
75089 ac_ldbl_compat=no
75091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75092 if test "$ac_ldbl_compat" = yes; then
75094 $as_echo "#define _GLIBCXX_LONG_DOUBLE_COMPAT 1" >>confdefs.h
75096 port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
75097 case "$target" in
75098 powerpc*-*-linux*)
75099 LONG_DOUBLE_COMPAT_FLAGS="$LONG_DOUBLE_COMPAT_FLAGS -mno-gnu-attribute"
75100 # Check for IEEE128 support in libm:
75101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __frexpieee128 in -lm" >&5
75102 $as_echo_n "checking for __frexpieee128 in -lm... " >&6; }
75103 if ${ac_cv_lib_m___frexpieee128+:} false; then :
75104 $as_echo_n "(cached) " >&6
75105 else
75106 ac_check_lib_save_LIBS=$LIBS
75107 LIBS="-lm $LIBS"
75108 if test x$gcc_no_link = xyes; then
75109 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
75111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75112 /* end confdefs.h. */
75114 /* Override any GCC internal prototype to avoid an error.
75115 Use char because int might match the return type of a GCC
75116 builtin and then its argument prototype would still apply. */
75117 #ifdef __cplusplus
75118 extern "C"
75119 #endif
75120 char __frexpieee128 ();
75122 main ()
75124 return __frexpieee128 ();
75126 return 0;
75128 _ACEOF
75129 if ac_fn_c_try_link "$LINENO"; then :
75130 ac_cv_lib_m___frexpieee128=yes
75131 else
75132 ac_cv_lib_m___frexpieee128=no
75134 rm -f core conftest.err conftest.$ac_objext \
75135 conftest$ac_exeext conftest.$ac_ext
75136 LIBS=$ac_check_lib_save_LIBS
75138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m___frexpieee128" >&5
75139 $as_echo "$ac_cv_lib_m___frexpieee128" >&6; }
75140 if test "x$ac_cv_lib_m___frexpieee128" = xyes; then :
75141 ac_ldbl_ieee128_in_libc=yes
75142 else
75143 ac_ldbl_ieee128_in_libc=no
75146 if test $ac_ldbl_ieee128_in_libc = yes; then
75147 # Determine which long double format is the compiler's default:
75148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75149 /* end confdefs.h. */
75152 main ()
75155 #ifndef __LONG_DOUBLE_IEEE128__
75156 #error compiler defaults to ibm128
75157 #endif
75160 return 0;
75162 _ACEOF
75163 if ac_fn_c_try_compile "$LINENO"; then :
75164 ac_ldbl_ieee128_default=yes
75165 else
75166 ac_ldbl_ieee128_default=no
75168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75169 # Library objects should use default long double format.
75170 if test "$ac_ldbl_ieee128_default" = yes; then
75171 LONG_DOUBLE_128_FLAGS="-mno-gnu-attribute"
75172 # Except for the ones that explicitly use these flags:
75173 LONG_DOUBLE_ALT128_COMPAT_FLAGS="-mabi=ibmlongdouble -mno-gnu-attribute -Wno-psabi"
75174 else
75175 LONG_DOUBLE_128_FLAGS="-mno-gnu-attribute"
75176 LONG_DOUBLE_ALT128_COMPAT_FLAGS="-mabi=ieeelongdouble -mno-gnu-attribute -Wno-psabi"
75179 $as_echo "#define _GLIBCXX_LONG_DOUBLE_ALT128_COMPAT 1" >>confdefs.h
75181 port_specific_symbol_files="$port_specific_symbol_files \$(top_srcdir)/config/os/gnu-linux/ldbl-ieee128-extra.ver"
75182 ac_ldbl_alt128_compat=yes
75183 else
75184 ac_ldbl_alt128_compat=no
75187 esac
75189 esac
75196 # Check if assembler supports disabling hardware capability support.
75198 test -z "$HWCAP_CFLAGS" && HWCAP_CFLAGS=''
75200 # Restrict the test to Solaris, other assemblers (e.g. AIX as) have -nH
75201 # with a different meaning.
75202 case ${target_os} in
75203 solaris2*)
75204 ac_save_CFLAGS="$CFLAGS"
75205 CFLAGS="$CFLAGS -Wa,-nH"
75207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for as that supports -Wa,-nH" >&5
75208 $as_echo_n "checking for as that supports -Wa,-nH... " >&6; }
75209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75210 /* end confdefs.h. */
75213 main ()
75215 return 0;
75217 return 0;
75219 _ACEOF
75220 if ac_fn_c_try_compile "$LINENO"; then :
75221 ac_hwcap_flags=yes
75222 else
75223 ac_hwcap_flags=no
75225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75226 if test "$ac_hwcap_flags" = "yes"; then
75227 HWCAP_CFLAGS="-Wa,-nH $HWCAP_CFLAGS"
75229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_hwcap_flags" >&5
75230 $as_echo "$ac_hwcap_flags" >&6; }
75232 CFLAGS="$ac_save_CFLAGS"
75234 esac
75239 # Check if assembler supports rdrand opcode.
75241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rdrand support in assembler" >&5
75242 $as_echo_n "checking for rdrand support in assembler... " >&6; }
75243 if ${ac_cv_x86_rdrand+:} false; then :
75244 $as_echo_n "(cached) " >&6
75245 else
75247 ac_cv_x86_rdrand=no
75248 case "$target" in
75249 i?86-*-* | \
75250 x86_64-*-*)
75251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75252 /* end confdefs.h. */
75255 main ()
75257 asm("rdrand %eax");
75259 return 0;
75261 _ACEOF
75262 if ac_fn_c_try_compile "$LINENO"; then :
75263 ac_cv_x86_rdrand=yes
75264 else
75265 ac_cv_x86_rdrand=no
75267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75268 esac
75272 if test $ac_cv_x86_rdrand = yes; then
75274 $as_echo "#define _GLIBCXX_X86_RDRAND 1" >>confdefs.h
75277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_x86_rdrand" >&5
75278 $as_echo "$ac_cv_x86_rdrand" >&6; }
75280 # Check if assembler supports rdseed opcode.
75282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rdseed support in assembler" >&5
75283 $as_echo_n "checking for rdseed support in assembler... " >&6; }
75284 if ${ac_cv_x86_rdseed+:} false; then :
75285 $as_echo_n "(cached) " >&6
75286 else
75288 ac_cv_x86_rdseed=no
75289 case "$target" in
75290 i?86-*-* | \
75291 x86_64-*-*)
75292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75293 /* end confdefs.h. */
75296 main ()
75298 asm("rdseed %eax");
75300 return 0;
75302 _ACEOF
75303 if ac_fn_c_try_compile "$LINENO"; then :
75304 ac_cv_x86_rdseed=yes
75305 else
75306 ac_cv_x86_rdseed=no
75308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75309 esac
75313 if test $ac_cv_x86_rdseed = yes; then
75315 $as_echo "#define _GLIBCXX_X86_RDSEED 1" >>confdefs.h
75318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_x86_rdseed" >&5
75319 $as_echo "$ac_cv_x86_rdseed" >&6; }
75322 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
75324 # Do checks for resource limit functions.
75327 ac_ext=cpp
75328 ac_cpp='$CXXCPP $CPPFLAGS'
75329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75333 setrlimit_have_headers=yes
75334 for ac_header in unistd.h sys/time.h sys/resource.h
75335 do :
75336 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
75337 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
75338 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
75339 cat >>confdefs.h <<_ACEOF
75340 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
75341 _ACEOF
75343 else
75344 setrlimit_have_headers=no
75347 done
75349 # If don't have the headers, then we can't run the tests now, and we
75350 # won't be seeing any of these during testsuite compilation.
75351 if test $setrlimit_have_headers = yes; then
75352 # Can't do these in a loop, else the resulting syntax is wrong.
75354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_DATA" >&5
75355 $as_echo_n "checking for RLIMIT_DATA... " >&6; }
75356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75357 /* end confdefs.h. */
75358 #include <unistd.h>
75359 #include <sys/time.h>
75360 #include <sys/resource.h>
75363 main ()
75365 int f = RLIMIT_DATA ;
75367 return 0;
75369 _ACEOF
75370 if ac_fn_cxx_try_compile "$LINENO"; then :
75371 glibcxx_mresult=1
75372 else
75373 glibcxx_mresult=0
75375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75377 cat >>confdefs.h <<_ACEOF
75378 #define HAVE_LIMIT_DATA $glibcxx_mresult
75379 _ACEOF
75381 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
75382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
75383 $as_echo "$res" >&6; }
75386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_RSS" >&5
75387 $as_echo_n "checking for RLIMIT_RSS... " >&6; }
75388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75389 /* end confdefs.h. */
75390 #include <unistd.h>
75391 #include <sys/time.h>
75392 #include <sys/resource.h>
75395 main ()
75397 int f = RLIMIT_RSS ;
75399 return 0;
75401 _ACEOF
75402 if ac_fn_cxx_try_compile "$LINENO"; then :
75403 glibcxx_mresult=1
75404 else
75405 glibcxx_mresult=0
75407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75409 cat >>confdefs.h <<_ACEOF
75410 #define HAVE_LIMIT_RSS $glibcxx_mresult
75411 _ACEOF
75413 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
75414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
75415 $as_echo "$res" >&6; }
75418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_VMEM" >&5
75419 $as_echo_n "checking for RLIMIT_VMEM... " >&6; }
75420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75421 /* end confdefs.h. */
75422 #include <unistd.h>
75423 #include <sys/time.h>
75424 #include <sys/resource.h>
75427 main ()
75429 int f = RLIMIT_VMEM ;
75431 return 0;
75433 _ACEOF
75434 if ac_fn_cxx_try_compile "$LINENO"; then :
75435 glibcxx_mresult=1
75436 else
75437 glibcxx_mresult=0
75439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75441 cat >>confdefs.h <<_ACEOF
75442 #define HAVE_LIMIT_VMEM $glibcxx_mresult
75443 _ACEOF
75445 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
75446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
75447 $as_echo "$res" >&6; }
75450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_AS" >&5
75451 $as_echo_n "checking for RLIMIT_AS... " >&6; }
75452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75453 /* end confdefs.h. */
75454 #include <unistd.h>
75455 #include <sys/time.h>
75456 #include <sys/resource.h>
75459 main ()
75461 int f = RLIMIT_AS ;
75463 return 0;
75465 _ACEOF
75466 if ac_fn_cxx_try_compile "$LINENO"; then :
75467 glibcxx_mresult=1
75468 else
75469 glibcxx_mresult=0
75471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75473 cat >>confdefs.h <<_ACEOF
75474 #define HAVE_LIMIT_AS $glibcxx_mresult
75475 _ACEOF
75477 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
75478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
75479 $as_echo "$res" >&6; }
75482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_FSIZE" >&5
75483 $as_echo_n "checking for RLIMIT_FSIZE... " >&6; }
75484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75485 /* end confdefs.h. */
75486 #include <unistd.h>
75487 #include <sys/time.h>
75488 #include <sys/resource.h>
75491 main ()
75493 int f = RLIMIT_FSIZE ;
75495 return 0;
75497 _ACEOF
75498 if ac_fn_cxx_try_compile "$LINENO"; then :
75499 glibcxx_mresult=1
75500 else
75501 glibcxx_mresult=0
75503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75505 cat >>confdefs.h <<_ACEOF
75506 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
75507 _ACEOF
75509 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
75510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
75511 $as_echo "$res" >&6; }
75514 # Check for rlimit, setrlimit.
75515 if ${glibcxx_cv_setrlimit+:} false; then :
75516 $as_echo_n "(cached) " >&6
75517 else
75519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75520 /* end confdefs.h. */
75521 #include <unistd.h>
75522 #include <sys/time.h>
75523 #include <sys/resource.h>
75526 main ()
75528 struct rlimit r;
75529 setrlimit(0, &r);
75531 return 0;
75533 _ACEOF
75534 if ac_fn_cxx_try_compile "$LINENO"; then :
75535 glibcxx_cv_setrlimit=yes
75536 else
75537 glibcxx_cv_setrlimit=no
75539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for testsuite resource limits support" >&5
75546 $as_echo_n "checking for testsuite resource limits support... " >&6; }
75547 if test $setrlimit_have_headers = yes && test $glibcxx_cv_setrlimit = yes; then
75548 ac_res_limits=yes
75550 $as_echo "#define _GLIBCXX_RES_LIMITS 1" >>confdefs.h
75552 else
75553 ac_res_limits=no
75555 ac_ext=c
75556 ac_cpp='$CPP $CPPFLAGS'
75557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res_limits" >&5
75562 $as_echo "$ac_res_limits" >&6; }
75565 if $GLIBCXX_IS_NATIVE ; then
75566 # Look for setenv, so that extended locale tests can be performed.
75568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setenv declaration" >&5
75569 $as_echo_n "checking for setenv declaration... " >&6; }
75570 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
75571 if ${glibcxx_cv_func_setenv_use+:} false; then :
75572 $as_echo_n "(cached) " >&6
75573 else
75576 ac_ext=cpp
75577 ac_cpp='$CXXCPP $CPPFLAGS'
75578 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75579 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75580 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75583 /* end confdefs.h. */
75584 #include <stdlib.h>
75586 main ()
75588 setenv(0, 0, 0);
75590 return 0;
75592 _ACEOF
75593 if ac_fn_cxx_try_compile "$LINENO"; then :
75594 glibcxx_cv_func_setenv_use=yes
75595 else
75596 glibcxx_cv_func_setenv_use=no
75598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75599 ac_ext=c
75600 ac_cpp='$CPP $CPPFLAGS'
75601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_setenv_use" >&5
75610 $as_echo "$glibcxx_cv_func_setenv_use" >&6; }
75611 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
75612 for ac_func in setenv
75613 do :
75614 ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
75615 if test "x$ac_cv_func_setenv" = xyes; then :
75616 cat >>confdefs.h <<_ACEOF
75617 #define HAVE_SETENV 1
75618 _ACEOF
75621 done
75627 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
75628 test $enable_symvers != no; then
75629 case "$host" in
75630 *-*-cygwin*)
75631 enable_abi_check=no ;;
75633 enable_abi_check=yes ;;
75634 esac
75635 else
75636 # Only build this as native, since automake does not understand
75637 # CXX_FOR_BUILD.
75638 enable_abi_check=no
75641 # Export file names for ABI checking.
75642 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}"
75644 baseline_subdir_switch="$abi_baseline_subdir_switch"
75648 # For gthread support. Depends on GLIBCXX_ENABLE_SYMVERS.
75650 # Check whether --enable-libstdcxx-threads was given.
75651 if test "${enable_libstdcxx_threads+set}" = set; then :
75652 enableval=$enable_libstdcxx_threads;
75653 case "$enableval" in
75654 yes|no) ;;
75655 *) as_fn_error $? "Argument to enable/disable libstdcxx-threads must be yes or no" "$LINENO" 5 ;;
75656 esac
75658 else
75659 enable_libstdcxx_threads=auto
75664 if test x$enable_libstdcxx_threads = xauto ||
75665 test x$enable_libstdcxx_threads = xyes; then
75668 ac_ext=cpp
75669 ac_cpp='$CXXCPP $CPPFLAGS'
75670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75675 ac_save_CXXFLAGS="$CXXFLAGS"
75676 CXXFLAGS="$CXXFLAGS -fno-exceptions \
75677 -I${toplevel_srcdir}/libgcc -I${toplevel_builddir}/libgcc"
75679 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
75680 case $target_thread_file in
75681 posix)
75682 CXXFLAGS="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
75683 esac
75685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it can be safely assumed that mutex_timedlock is available" >&5
75686 $as_echo_n "checking whether it can be safely assumed that mutex_timedlock is available... " >&6; }
75688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75689 /* end confdefs.h. */
75690 #include <unistd.h>
75692 main ()
75695 // In case of POSIX threads check _POSIX_TIMEOUTS.
75696 #if (defined(_PTHREADS) \
75697 && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
75698 #error
75699 #endif
75702 return 0;
75704 _ACEOF
75705 if ac_fn_cxx_try_compile "$LINENO"; then :
75706 ac_gthread_use_mutex_timedlock=1
75707 else
75708 ac_gthread_use_mutex_timedlock=0
75710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75713 cat >>confdefs.h <<_ACEOF
75714 #define _GTHREAD_USE_MUTEX_TIMEDLOCK $ac_gthread_use_mutex_timedlock
75715 _ACEOF
75718 if test $ac_gthread_use_mutex_timedlock = 1 ; then res_mutex_timedlock=yes ;
75719 else res_mutex_timedlock=no ; fi
75720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res_mutex_timedlock" >&5
75721 $as_echo "$res_mutex_timedlock" >&6; }
75723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthreads library" >&5
75724 $as_echo_n "checking for gthreads library... " >&6; }
75726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75727 /* end confdefs.h. */
75728 #include "gthr.h"
75730 main ()
75733 #ifndef __GTHREADS_CXX0X
75734 #error
75735 #endif
75738 return 0;
75740 _ACEOF
75741 if ac_fn_cxx_try_compile "$LINENO"; then :
75742 ac_has_gthreads=yes
75743 else
75744 ac_has_gthreads=no
75746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75747 else
75748 ac_has_gthreads=no
75751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gthreads" >&5
75752 $as_echo "$ac_has_gthreads" >&6; }
75754 if test x"$ac_has_gthreads" = x"yes"; then
75756 $as_echo "#define _GLIBCXX_HAS_GTHREADS 1" >>confdefs.h
75759 # Also check for pthread_rwlock_t for std::shared_timed_mutex in C++14
75760 # but only do so if we're using pthread in the gthread library.
75761 # On VxWorks for example, pthread_rwlock_t is defined in sys/types.h
75762 # but the pthread library is not there by default and the gthread library
75763 # does not use it.
75764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75765 /* end confdefs.h. */
75766 #include "gthr.h"
75768 main ()
75771 #if (!defined(_PTHREADS))
75772 #error
75773 #endif
75776 return 0;
75778 _ACEOF
75779 if ac_fn_cxx_try_compile "$LINENO"; then :
75780 ac_gthread_use_pthreads=yes
75781 else
75782 ac_gthread_use_pthreads=no
75784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75785 if test x"$ac_gthread_use_pthreads" = x"yes"; then
75786 ac_fn_cxx_check_type "$LINENO" "pthread_rwlock_t" "ac_cv_type_pthread_rwlock_t" "#include \"gthr.h\"
75788 if test "x$ac_cv_type_pthread_rwlock_t" = xyes; then :
75790 $as_echo "#define _GLIBCXX_USE_PTHREAD_RWLOCK_T 1" >>confdefs.h
75797 ac_fn_cxx_check_header_mongrel "$LINENO" "semaphore.h" "ac_cv_header_semaphore_h" "$ac_includes_default"
75798 if test "x$ac_cv_header_semaphore_h" = xyes; then :
75800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for POSIX Semaphores and sem_timedwait" >&5
75801 $as_echo_n "checking for POSIX Semaphores and sem_timedwait... " >&6; }
75802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75803 /* end confdefs.h. */
75805 #include <unistd.h>
75806 #include <semaphore.h>
75807 #include <limits.h>
75810 main ()
75813 #if !defined _POSIX_TIMEOUTS || _POSIX_TIMEOUTS <= 0
75814 # error "POSIX Timeouts option not supported"
75815 #elif !defined _POSIX_SEMAPHORES || _POSIX_SEMAPHORES <= 0
75816 # error "POSIX Semaphores option not supported"
75817 #else
75818 #if defined SEM_VALUE_MAX
75819 constexpr int sem_value_max = SEM_VALUE_MAX;
75820 #elif defined _POSIX_SEM_VALUE_MAX
75821 constexpr int sem_value_max = _POSIX_SEM_VALUE_MAX;
75822 #else
75823 # error "SEM_VALUE_MAX not available"
75824 #endif
75825 sem_t sem;
75826 sem_init(&sem, 0, sem_value_max);
75827 struct timespec ts = { 0 };
75828 sem_timedwait(&sem, &ts);
75829 #endif
75832 return 0;
75834 _ACEOF
75835 if ac_fn_cxx_try_compile "$LINENO"; then :
75836 ac_have_posix_semaphore=yes
75837 else
75838 ac_have_posix_semaphore=no
75840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75841 else
75842 ac_have_posix_semaphore=no
75847 if test $ac_have_posix_semaphore = yes ; then
75849 $as_echo "#define _GLIBCXX_HAVE_POSIX_SEMAPHORE 1" >>confdefs.h
75852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_have_posix_semaphore" >&5
75853 $as_echo "$ac_have_posix_semaphore" >&6; }
75855 CXXFLAGS="$ac_save_CXXFLAGS"
75856 ac_ext=c
75857 ac_cpp='$CPP $CPPFLAGS'
75858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75864 # For Filesystem TS.
75865 for ac_header in fcntl.h dirent.h sys/statvfs.h utime.h
75866 do :
75867 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
75868 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
75869 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
75870 cat >>confdefs.h <<_ACEOF
75871 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
75872 _ACEOF
75876 done
75879 # Check whether --enable-libstdcxx-filesystem-ts was given.
75880 if test "${enable_libstdcxx_filesystem_ts+set}" = set; then :
75881 enableval=$enable_libstdcxx_filesystem_ts;
75882 case "$enableval" in
75883 yes|no|auto) ;;
75884 *) as_fn_error $? "Unknown argument to enable/disable libstdcxx-filesystem-ts" "$LINENO" 5 ;;
75885 esac
75887 else
75888 enable_libstdcxx_filesystem_ts=auto
75893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build Filesystem TS support" >&5
75894 $as_echo_n "checking whether to build Filesystem TS support... " >&6; }
75895 if test x"$ac_cv_header_dirent_h" != x"yes"; then
75896 enable_libstdcxx_filesystem_ts=no
75898 if test x"$enable_libstdcxx_filesystem_ts" = x"auto"; then
75899 case "${target_os}" in
75900 freebsd*|netbsd*|openbsd*|dragonfly*|darwin*)
75901 enable_libstdcxx_filesystem_ts=yes
75903 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu | uclinux*)
75904 enable_libstdcxx_filesystem_ts=yes
75906 rtems*)
75907 enable_libstdcxx_filesystem_ts=yes
75909 solaris*)
75910 enable_libstdcxx_filesystem_ts=yes
75912 mingw*)
75913 enable_libstdcxx_filesystem_ts=yes
75916 enable_libstdcxx_filesystem_ts=no
75918 esac
75920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_filesystem_ts" >&5
75921 $as_echo "$enable_libstdcxx_filesystem_ts" >&6; }
75925 ac_ext=cpp
75926 ac_cpp='$CXXCPP $CPPFLAGS'
75927 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75928 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75929 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75931 ac_save_CXXFLAGS="$CXXFLAGS"
75932 CXXFLAGS="$CXXFLAGS -fno-exceptions"
75933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct dirent.d_type" >&5
75934 $as_echo_n "checking for struct dirent.d_type... " >&6; }
75935 if ${glibcxx_cv_dirent_d_type+:} false; then :
75936 $as_echo_n "(cached) " >&6
75937 else
75938 if test x$gcc_no_link = xyes; then
75939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75940 /* end confdefs.h. */
75941 #include <dirent.h>
75943 main ()
75946 struct dirent d;
75947 if (sizeof d.d_type) return 0;
75950 return 0;
75952 _ACEOF
75953 if ac_fn_cxx_try_compile "$LINENO"; then :
75954 glibcxx_cv_dirent_d_type=yes
75955 else
75956 glibcxx_cv_dirent_d_type=no
75958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75959 else
75960 if test x$gcc_no_link = xyes; then
75961 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
75963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75964 /* end confdefs.h. */
75965 #include <dirent.h>
75967 main ()
75970 struct dirent d;
75971 if (sizeof d.d_type) return 0;
75974 return 0;
75976 _ACEOF
75977 if ac_fn_cxx_try_link "$LINENO"; then :
75978 glibcxx_cv_dirent_d_type=yes
75979 else
75980 glibcxx_cv_dirent_d_type=no
75982 rm -f core conftest.err conftest.$ac_objext \
75983 conftest$ac_exeext conftest.$ac_ext
75988 if test $glibcxx_cv_dirent_d_type = yes; then
75990 $as_echo "#define HAVE_STRUCT_DIRENT_D_TYPE 1" >>confdefs.h
75993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_dirent_d_type" >&5
75994 $as_echo "$glibcxx_cv_dirent_d_type" >&6; }
75995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realpath" >&5
75996 $as_echo_n "checking for realpath... " >&6; }
75997 if ${glibcxx_cv_realpath+:} false; then :
75998 $as_echo_n "(cached) " >&6
75999 else
76000 if test x$gcc_no_link = xyes; then
76001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76002 /* end confdefs.h. */
76004 #include <limits.h>
76005 #include <stdlib.h>
76006 #include <unistd.h>
76009 main ()
76012 #if _XOPEN_VERSION < 500
76013 #error
76014 #elif _XOPEN_VERSION >= 700 || defined(PATH_MAX)
76015 char *tmp = realpath((const char*)NULL, (char*)NULL);
76016 #else
76017 #error
76018 #endif
76021 return 0;
76023 _ACEOF
76024 if ac_fn_cxx_try_compile "$LINENO"; then :
76025 glibcxx_cv_realpath=yes
76026 else
76027 glibcxx_cv_realpath=no
76029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76030 else
76031 if test x$gcc_no_link = xyes; then
76032 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76035 /* end confdefs.h. */
76037 #include <limits.h>
76038 #include <stdlib.h>
76039 #include <unistd.h>
76042 main ()
76045 #if _XOPEN_VERSION < 500
76046 #error
76047 #elif _XOPEN_VERSION >= 700 || defined(PATH_MAX)
76048 char *tmp = realpath((const char*)NULL, (char*)NULL);
76049 #else
76050 #error
76051 #endif
76054 return 0;
76056 _ACEOF
76057 if ac_fn_cxx_try_link "$LINENO"; then :
76058 glibcxx_cv_realpath=yes
76059 else
76060 glibcxx_cv_realpath=no
76062 rm -f core conftest.err conftest.$ac_objext \
76063 conftest$ac_exeext conftest.$ac_ext
76068 if test $glibcxx_cv_realpath = yes; then
76070 $as_echo "#define _GLIBCXX_USE_REALPATH 1" >>confdefs.h
76073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_realpath" >&5
76074 $as_echo "$glibcxx_cv_realpath" >&6; }
76075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for utimensat" >&5
76076 $as_echo_n "checking for utimensat... " >&6; }
76077 if ${glibcxx_cv_utimensat+:} false; then :
76078 $as_echo_n "(cached) " >&6
76079 else
76080 if test x$gcc_no_link = xyes; then
76081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76082 /* end confdefs.h. */
76084 #include <fcntl.h>
76085 #include <sys/stat.h>
76088 main ()
76091 struct timespec ts[2] = { { 0, UTIME_OMIT }, { 1, 1 } };
76092 int i = utimensat(AT_FDCWD, "path", ts, 0);
76095 return 0;
76097 _ACEOF
76098 if ac_fn_cxx_try_compile "$LINENO"; then :
76099 glibcxx_cv_utimensat=yes
76100 else
76101 glibcxx_cv_utimensat=no
76103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76104 else
76105 if test x$gcc_no_link = xyes; then
76106 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76109 /* end confdefs.h. */
76111 #include <fcntl.h>
76112 #include <sys/stat.h>
76115 main ()
76118 struct timespec ts[2] = { { 0, UTIME_OMIT }, { 1, 1 } };
76119 int i = utimensat(AT_FDCWD, "path", ts, 0);
76122 return 0;
76124 _ACEOF
76125 if ac_fn_cxx_try_link "$LINENO"; then :
76126 glibcxx_cv_utimensat=yes
76127 else
76128 glibcxx_cv_utimensat=no
76130 rm -f core conftest.err conftest.$ac_objext \
76131 conftest$ac_exeext conftest.$ac_ext
76136 if test $glibcxx_cv_utimensat = yes; then
76138 $as_echo "#define _GLIBCXX_USE_UTIMENSAT 1" >>confdefs.h
76141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_utimensat" >&5
76142 $as_echo "$glibcxx_cv_utimensat" >&6; }
76143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for utime" >&5
76144 $as_echo_n "checking for utime... " >&6; }
76145 if ${glibcxx_cv_utime+:} false; then :
76146 $as_echo_n "(cached) " >&6
76147 else
76148 if test x$gcc_no_link = xyes; then
76149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76150 /* end confdefs.h. */
76152 #include <utime.h>
76155 main ()
76158 struct utimbuf t = { 1, 1 };
76159 int i = utime("path", &t);
76162 return 0;
76164 _ACEOF
76165 if ac_fn_cxx_try_compile "$LINENO"; then :
76166 glibcxx_cv_utime=yes
76167 else
76168 glibcxx_cv_utime=no
76170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76171 else
76172 if test x$gcc_no_link = xyes; then
76173 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76176 /* end confdefs.h. */
76178 #include <utime.h>
76181 main ()
76184 struct utimbuf t = { 1, 1 };
76185 int i = utime("path", &t);
76188 return 0;
76190 _ACEOF
76191 if ac_fn_cxx_try_link "$LINENO"; then :
76192 glibcxx_cv_utime=yes
76193 else
76194 glibcxx_cv_utime=no
76196 rm -f core conftest.err conftest.$ac_objext \
76197 conftest$ac_exeext conftest.$ac_ext
76202 if test $glibcxx_cv_utime = yes; then
76204 $as_echo "#define _GLIBCXX_USE_UTIME 1" >>confdefs.h
76207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_utime" >&5
76208 $as_echo "$glibcxx_cv_utime" >&6; }
76209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lstat" >&5
76210 $as_echo_n "checking for lstat... " >&6; }
76211 if ${glibcxx_cv_lstat+:} false; then :
76212 $as_echo_n "(cached) " >&6
76213 else
76214 if test x$gcc_no_link = xyes; then
76215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76216 /* end confdefs.h. */
76217 #include <sys/stat.h>
76219 main ()
76222 struct stat st;
76223 int i = lstat("path", &st);
76226 return 0;
76228 _ACEOF
76229 if ac_fn_cxx_try_compile "$LINENO"; then :
76230 glibcxx_cv_lstat=yes
76231 else
76232 glibcxx_cv_lstat=no
76234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76235 else
76236 if test x$gcc_no_link = xyes; then
76237 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76240 /* end confdefs.h. */
76241 #include <sys/stat.h>
76243 main ()
76246 struct stat st;
76247 int i = lstat("path", &st);
76250 return 0;
76252 _ACEOF
76253 if ac_fn_cxx_try_link "$LINENO"; then :
76254 glibcxx_cv_lstat=yes
76255 else
76256 glibcxx_cv_lstat=no
76258 rm -f core conftest.err conftest.$ac_objext \
76259 conftest$ac_exeext conftest.$ac_ext
76264 if test $glibcxx_cv_lstat = yes; then
76266 $as_echo "#define _GLIBCXX_USE_LSTAT 1" >>confdefs.h
76269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_lstat" >&5
76270 $as_echo "$glibcxx_cv_lstat" >&6; }
76271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct stat.st_mtim.tv_nsec" >&5
76272 $as_echo_n "checking for struct stat.st_mtim.tv_nsec... " >&6; }
76273 if ${glibcxx_cv_st_mtim+:} false; then :
76274 $as_echo_n "(cached) " >&6
76275 else
76276 if test x$gcc_no_link = xyes; then
76277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76278 /* end confdefs.h. */
76279 #include <sys/stat.h>
76281 main ()
76284 struct stat st;
76285 return st.st_mtim.tv_nsec;
76288 return 0;
76290 _ACEOF
76291 if ac_fn_cxx_try_compile "$LINENO"; then :
76292 glibcxx_cv_st_mtim=yes
76293 else
76294 glibcxx_cv_st_mtim=no
76296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76297 else
76298 if test x$gcc_no_link = xyes; then
76299 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76302 /* end confdefs.h. */
76303 #include <sys/stat.h>
76305 main ()
76308 struct stat st;
76309 return st.st_mtim.tv_nsec;
76312 return 0;
76314 _ACEOF
76315 if ac_fn_cxx_try_link "$LINENO"; then :
76316 glibcxx_cv_st_mtim=yes
76317 else
76318 glibcxx_cv_st_mtim=no
76320 rm -f core conftest.err conftest.$ac_objext \
76321 conftest$ac_exeext conftest.$ac_ext
76326 if test $glibcxx_cv_st_mtim = yes; then
76328 $as_echo "#define _GLIBCXX_USE_ST_MTIM 1" >>confdefs.h
76331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_st_mtim" >&5
76332 $as_echo "$glibcxx_cv_st_mtim" >&6; }
76333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fchmod" >&5
76334 $as_echo_n "checking for fchmod... " >&6; }
76335 if ${glibcxx_cv_fchmod+:} false; then :
76336 $as_echo_n "(cached) " >&6
76337 else
76338 if test x$gcc_no_link = xyes; then
76339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76340 /* end confdefs.h. */
76341 #include <sys/stat.h>
76343 main ()
76345 fchmod(1, S_IWUSR);
76347 return 0;
76349 _ACEOF
76350 if ac_fn_cxx_try_compile "$LINENO"; then :
76351 glibcxx_cv_fchmod=yes
76352 else
76353 glibcxx_cv_fchmod=no
76355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76356 else
76357 if test x$gcc_no_link = xyes; then
76358 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76361 /* end confdefs.h. */
76362 #include <sys/stat.h>
76364 main ()
76366 fchmod(1, S_IWUSR);
76368 return 0;
76370 _ACEOF
76371 if ac_fn_cxx_try_link "$LINENO"; then :
76372 glibcxx_cv_fchmod=yes
76373 else
76374 glibcxx_cv_fchmod=no
76376 rm -f core conftest.err conftest.$ac_objext \
76377 conftest$ac_exeext conftest.$ac_ext
76382 if test $glibcxx_cv_fchmod = yes; then
76384 $as_echo "#define _GLIBCXX_USE_FCHMOD 1" >>confdefs.h
76387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_fchmod" >&5
76388 $as_echo "$glibcxx_cv_fchmod" >&6; }
76389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fchmodat" >&5
76390 $as_echo_n "checking for fchmodat... " >&6; }
76391 if ${glibcxx_cv_fchmodat+:} false; then :
76392 $as_echo_n "(cached) " >&6
76393 else
76394 if test x$gcc_no_link = xyes; then
76395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76396 /* end confdefs.h. */
76398 #include <fcntl.h>
76399 #include <sys/stat.h>
76402 main ()
76404 fchmodat(AT_FDCWD, "", 0, AT_SYMLINK_NOFOLLOW);
76406 return 0;
76408 _ACEOF
76409 if ac_fn_cxx_try_compile "$LINENO"; then :
76410 glibcxx_cv_fchmodat=yes
76411 else
76412 glibcxx_cv_fchmodat=no
76414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76415 else
76416 if test x$gcc_no_link = xyes; then
76417 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76420 /* end confdefs.h. */
76422 #include <fcntl.h>
76423 #include <sys/stat.h>
76426 main ()
76428 fchmodat(AT_FDCWD, "", 0, AT_SYMLINK_NOFOLLOW);
76430 return 0;
76432 _ACEOF
76433 if ac_fn_cxx_try_link "$LINENO"; then :
76434 glibcxx_cv_fchmodat=yes
76435 else
76436 glibcxx_cv_fchmodat=no
76438 rm -f core conftest.err conftest.$ac_objext \
76439 conftest$ac_exeext conftest.$ac_ext
76444 if test $glibcxx_cv_fchmodat = yes; then
76446 $as_echo "#define _GLIBCXX_USE_FCHMODAT 1" >>confdefs.h
76449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_fchmodat" >&5
76450 $as_echo "$glibcxx_cv_fchmodat" >&6; }
76451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sendfile that can copy files" >&5
76452 $as_echo_n "checking for sendfile that can copy files... " >&6; }
76453 if ${glibcxx_cv_sendfile+:} false; then :
76454 $as_echo_n "(cached) " >&6
76455 else
76456 case "${target_os}" in
76457 gnu* | linux* | solaris* | uclinux*)
76458 if test x$gcc_no_link = xyes; then
76459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76460 /* end confdefs.h. */
76461 #include <sys/sendfile.h>
76463 main ()
76465 sendfile(1, 2, (off_t*)0, sizeof 1);
76467 return 0;
76469 _ACEOF
76470 if ac_fn_cxx_try_compile "$LINENO"; then :
76471 glibcxx_cv_sendfile=yes
76472 else
76473 glibcxx_cv_sendfile=no
76475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76476 else
76477 if test x$gcc_no_link = xyes; then
76478 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76481 /* end confdefs.h. */
76482 #include <sys/sendfile.h>
76484 main ()
76486 sendfile(1, 2, (off_t*)0, sizeof 1);
76488 return 0;
76490 _ACEOF
76491 if ac_fn_cxx_try_link "$LINENO"; then :
76492 glibcxx_cv_sendfile=yes
76493 else
76494 glibcxx_cv_sendfile=no
76496 rm -f core conftest.err conftest.$ac_objext \
76497 conftest$ac_exeext conftest.$ac_ext
76501 glibcxx_cv_sendfile=no
76503 esac
76507 if test $glibcxx_cv_sendfile = yes; then
76509 $as_echo "#define _GLIBCXX_USE_SENDFILE 1" >>confdefs.h
76512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sendfile" >&5
76513 $as_echo "$glibcxx_cv_sendfile" >&6; }
76514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for link" >&5
76515 $as_echo_n "checking for link... " >&6; }
76516 if ${glibcxx_cv_link+:} false; then :
76517 $as_echo_n "(cached) " >&6
76518 else
76519 if test x$gcc_no_link = xyes; then
76520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76521 /* end confdefs.h. */
76522 #include <unistd.h>
76524 main ()
76526 link("", "");
76528 return 0;
76530 _ACEOF
76531 if ac_fn_cxx_try_compile "$LINENO"; then :
76532 glibcxx_cv_link=yes
76533 else
76534 glibcxx_cv_link=no
76536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76537 else
76538 if test x$gcc_no_link = xyes; then
76539 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76542 /* end confdefs.h. */
76543 #include <unistd.h>
76545 main ()
76547 link("", "");
76549 return 0;
76551 _ACEOF
76552 if ac_fn_cxx_try_link "$LINENO"; then :
76553 glibcxx_cv_link=yes
76554 else
76555 glibcxx_cv_link=no
76557 rm -f core conftest.err conftest.$ac_objext \
76558 conftest$ac_exeext conftest.$ac_ext
76563 if test $glibcxx_cv_link = yes; then
76565 $as_echo "#define HAVE_LINK 1" >>confdefs.h
76568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_link" >&5
76569 $as_echo "$glibcxx_cv_link" >&6; }
76570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readlink" >&5
76571 $as_echo_n "checking for readlink... " >&6; }
76572 if ${glibcxx_cv_readlink+:} false; then :
76573 $as_echo_n "(cached) " >&6
76574 else
76575 if test x$gcc_no_link = xyes; then
76576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76577 /* end confdefs.h. */
76578 #include <unistd.h>
76580 main ()
76582 char buf[32]; readlink("", buf, sizeof(buf));
76584 return 0;
76586 _ACEOF
76587 if ac_fn_cxx_try_compile "$LINENO"; then :
76588 glibcxx_cv_readlink=yes
76589 else
76590 glibcxx_cv_readlink=no
76592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76593 else
76594 if test x$gcc_no_link = xyes; then
76595 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76598 /* end confdefs.h. */
76599 #include <unistd.h>
76601 main ()
76603 char buf[32]; readlink("", buf, sizeof(buf));
76605 return 0;
76607 _ACEOF
76608 if ac_fn_cxx_try_link "$LINENO"; then :
76609 glibcxx_cv_readlink=yes
76610 else
76611 glibcxx_cv_readlink=no
76613 rm -f core conftest.err conftest.$ac_objext \
76614 conftest$ac_exeext conftest.$ac_ext
76619 if test $glibcxx_cv_readlink = yes; then
76621 $as_echo "#define HAVE_READLINK 1" >>confdefs.h
76624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_readlink" >&5
76625 $as_echo "$glibcxx_cv_readlink" >&6; }
76626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for symlink" >&5
76627 $as_echo_n "checking for symlink... " >&6; }
76628 if ${glibcxx_cv_symlink+:} false; then :
76629 $as_echo_n "(cached) " >&6
76630 else
76631 if test x$gcc_no_link = xyes; then
76632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76633 /* end confdefs.h. */
76634 #include <unistd.h>
76636 main ()
76638 symlink("", "");
76640 return 0;
76642 _ACEOF
76643 if ac_fn_cxx_try_compile "$LINENO"; then :
76644 glibcxx_cv_symlink=yes
76645 else
76646 glibcxx_cv_symlink=no
76648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76649 else
76650 if test x$gcc_no_link = xyes; then
76651 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76654 /* end confdefs.h. */
76655 #include <unistd.h>
76657 main ()
76659 symlink("", "");
76661 return 0;
76663 _ACEOF
76664 if ac_fn_cxx_try_link "$LINENO"; then :
76665 glibcxx_cv_symlink=yes
76666 else
76667 glibcxx_cv_symlink=no
76669 rm -f core conftest.err conftest.$ac_objext \
76670 conftest$ac_exeext conftest.$ac_ext
76675 if test $glibcxx_cv_symlink = yes; then
76677 $as_echo "#define HAVE_SYMLINK 1" >>confdefs.h
76680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_symlink" >&5
76681 $as_echo "$glibcxx_cv_symlink" >&6; }
76682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncate" >&5
76683 $as_echo_n "checking for truncate... " >&6; }
76684 if ${glibcxx_cv_truncate+:} false; then :
76685 $as_echo_n "(cached) " >&6
76686 else
76687 if test x$gcc_no_link = xyes; then
76688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76689 /* end confdefs.h. */
76690 #include <unistd.h>
76692 main ()
76694 truncate("", 99);
76696 return 0;
76698 _ACEOF
76699 if ac_fn_cxx_try_compile "$LINENO"; then :
76700 glibcxx_cv_truncate=yes
76701 else
76702 glibcxx_cv_truncate=no
76704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76705 else
76706 if test x$gcc_no_link = xyes; then
76707 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76710 /* end confdefs.h. */
76711 #include <unistd.h>
76713 main ()
76715 truncate("", 99);
76717 return 0;
76719 _ACEOF
76720 if ac_fn_cxx_try_link "$LINENO"; then :
76721 glibcxx_cv_truncate=yes
76722 else
76723 glibcxx_cv_truncate=no
76725 rm -f core conftest.err conftest.$ac_objext \
76726 conftest$ac_exeext conftest.$ac_ext
76731 if test $glibcxx_cv_truncate = yes; then
76733 $as_echo "#define HAVE_TRUNCATE 1" >>confdefs.h
76736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_truncate" >&5
76737 $as_echo "$glibcxx_cv_truncate" >&6; }
76738 CXXFLAGS="$ac_save_CXXFLAGS"
76739 ac_ext=c
76740 ac_cpp='$CPP $CPPFLAGS'
76741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76747 # For Networking TS.
76748 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
76749 do :
76750 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
76751 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
76752 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
76753 cat >>confdefs.h <<_ACEOF
76754 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
76755 _ACEOF
76759 done
76762 # For Transactional Memory TS
76764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how size_t is mangled" >&5
76765 $as_echo_n "checking how size_t is mangled... " >&6; }
76766 if ${glibcxx_cv_size_t_mangling+:} false; then :
76767 $as_echo_n "(cached) " >&6
76768 else
76770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76771 /* end confdefs.h. */
76774 main ()
76776 extern __SIZE_TYPE__ x; extern unsigned long x;
76778 return 0;
76780 _ACEOF
76781 if ac_fn_c_try_compile "$LINENO"; then :
76782 glibcxx_cv_size_t_mangling=m
76783 else
76785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76786 /* end confdefs.h. */
76789 main ()
76791 extern __SIZE_TYPE__ x; extern unsigned int x;
76793 return 0;
76795 _ACEOF
76796 if ac_fn_c_try_compile "$LINENO"; then :
76797 glibcxx_cv_size_t_mangling=j
76798 else
76800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76801 /* end confdefs.h. */
76804 main ()
76806 extern __SIZE_TYPE__ x; extern unsigned long long x;
76808 return 0;
76810 _ACEOF
76811 if ac_fn_c_try_compile "$LINENO"; then :
76812 glibcxx_cv_size_t_mangling=y
76813 else
76815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76816 /* end confdefs.h. */
76819 main ()
76821 extern __SIZE_TYPE__ x; extern unsigned short x;
76823 return 0;
76825 _ACEOF
76826 if ac_fn_c_try_compile "$LINENO"; then :
76827 glibcxx_cv_size_t_mangling=t
76828 else
76830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76831 /* end confdefs.h. */
76834 main ()
76836 extern __SIZE_TYPE__ x; extern __int20 unsigned x;
76838 return 0;
76840 _ACEOF
76841 if ac_fn_c_try_compile "$LINENO"; then :
76842 glibcxx_cv_size_t_mangling=u6uint20
76843 else
76844 glibcxx_cv_size_t_mangling=x
76846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_size_t_mangling" >&5
76862 $as_echo "$glibcxx_cv_size_t_mangling" >&6; }
76863 if test $glibcxx_cv_size_t_mangling = x; then
76864 as_fn_error $? "Unknown underlying type for size_t" "$LINENO" 5
76867 cat >>confdefs.h <<_ACEOF
76868 #define _GLIBCXX_MANGLE_SIZE_T $glibcxx_cv_size_t_mangling
76869 _ACEOF
76873 # Check which release added std::exception_ptr for the target
76875 if test $enable_symvers != no; then
76876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for first version to support std::exception_ptr" >&5
76877 $as_echo_n "checking for first version to support std::exception_ptr... " >&6; }
76878 case ${target} in
76879 aarch64-*-* | alpha-*-* | hppa*-*-* | i?86-*-* | x86_64-*-* | \
76880 m68k-*-* | powerpc*-*-* | s390*-*-* | *-*-solaris* )
76881 ac_exception_ptr_since_gcc46=yes
76884 # If the value of this macro changes then we will need to hardcode
76885 # yes/no here for additional targets based on the original value.
76886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76887 /* end confdefs.h. */
76890 main ()
76893 #if __GCC_ATOMIC_INT_LOCK_FREE <= 1
76894 # error atomic int not always lock free
76895 #endif
76898 return 0;
76900 _ACEOF
76901 if ac_fn_c_try_compile "$LINENO"; then :
76902 ac_exception_ptr_since_gcc46=yes
76903 else
76904 ac_exception_ptr_since_gcc46=no
76906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76908 esac
76909 if test x"$ac_exception_ptr_since_gcc46" = x"yes" ; then
76911 $as_echo "#define HAVE_EXCEPTION_PTR_SINCE_GCC46 1" >>confdefs.h
76913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 4.6.0" >&5
76914 $as_echo "4.6.0" >&6; }
76915 else
76916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 7.1.0" >&5
76917 $as_echo "7.1.0" >&6; }
76922 # Define documentation rules conditionally.
76924 # See if makeinfo has been installed and is modern enough
76925 # that we can use it.
76927 # Extract the first word of "makeinfo", so it can be a program name with args.
76928 set dummy makeinfo; ac_word=$2
76929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
76930 $as_echo_n "checking for $ac_word... " >&6; }
76931 if ${ac_cv_prog_MAKEINFO+:} false; then :
76932 $as_echo_n "(cached) " >&6
76933 else
76934 if test -n "$MAKEINFO"; then
76935 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
76936 else
76937 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
76938 for as_dir in $PATH
76940 IFS=$as_save_IFS
76941 test -z "$as_dir" && as_dir=.
76942 for ac_exec_ext in '' $ac_executable_extensions; do
76943 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
76944 ac_cv_prog_MAKEINFO="makeinfo"
76945 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
76946 break 2
76948 done
76949 done
76950 IFS=$as_save_IFS
76954 MAKEINFO=$ac_cv_prog_MAKEINFO
76955 if test -n "$MAKEINFO"; then
76956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
76957 $as_echo "$MAKEINFO" >&6; }
76958 else
76959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
76960 $as_echo "no" >&6; }
76964 if test -n "$MAKEINFO"; then
76965 # Found it, now check the version.
76966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modern makeinfo" >&5
76967 $as_echo_n "checking for modern makeinfo... " >&6; }
76968 if ${gcc_cv_prog_makeinfo_modern+:} false; then :
76969 $as_echo_n "(cached) " >&6
76970 else
76971 ac_prog_version=`eval $MAKEINFO --version 2>&1 |
76972 sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
76974 case $ac_prog_version in
76975 '') gcc_cv_prog_makeinfo_modern=no;;
76976 4.[4-9]*|4.[1-9][0-9]*|[5-9]*|[1-9][0-9]*) gcc_cv_prog_makeinfo_modern=yes;;
76977 *) gcc_cv_prog_makeinfo_modern=no;;
76978 esac
76981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_makeinfo_modern" >&5
76982 $as_echo "$gcc_cv_prog_makeinfo_modern" >&6; }
76983 else
76984 gcc_cv_prog_makeinfo_modern=no
76986 if test $gcc_cv_prog_makeinfo_modern = no; then
76987 MAKEINFO="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
76990 if test $gcc_cv_prog_makeinfo_modern = "yes"; then
76991 BUILD_INFO_TRUE=
76992 BUILD_INFO_FALSE='#'
76993 else
76994 BUILD_INFO_TRUE='#'
76995 BUILD_INFO_FALSE=
76999 # Check for doxygen
77000 # Extract the first word of "doxygen", so it can be a program name with args.
77001 set dummy doxygen; ac_word=$2
77002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
77003 $as_echo_n "checking for $ac_word... " >&6; }
77004 if ${ac_cv_prog_DOXYGEN+:} false; then :
77005 $as_echo_n "(cached) " >&6
77006 else
77007 if test -n "$DOXYGEN"; then
77008 ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
77009 else
77010 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77011 for as_dir in $PATH
77013 IFS=$as_save_IFS
77014 test -z "$as_dir" && as_dir=.
77015 for ac_exec_ext in '' $ac_executable_extensions; do
77016 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
77017 ac_cv_prog_DOXYGEN="yes"
77018 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
77019 break 2
77021 done
77022 done
77023 IFS=$as_save_IFS
77025 test -z "$ac_cv_prog_DOXYGEN" && ac_cv_prog_DOXYGEN="no"
77028 DOXYGEN=$ac_cv_prog_DOXYGEN
77029 if test -n "$DOXYGEN"; then
77030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
77031 $as_echo "$DOXYGEN" >&6; }
77032 else
77033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
77034 $as_echo "no" >&6; }
77038 # Extract the first word of "dot", so it can be a program name with args.
77039 set dummy dot; ac_word=$2
77040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
77041 $as_echo_n "checking for $ac_word... " >&6; }
77042 if ${ac_cv_prog_DOT+:} false; then :
77043 $as_echo_n "(cached) " >&6
77044 else
77045 if test -n "$DOT"; then
77046 ac_cv_prog_DOT="$DOT" # Let the user override the test.
77047 else
77048 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77049 for as_dir in $PATH
77051 IFS=$as_save_IFS
77052 test -z "$as_dir" && as_dir=.
77053 for ac_exec_ext in '' $ac_executable_extensions; do
77054 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
77055 ac_cv_prog_DOT="yes"
77056 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
77057 break 2
77059 done
77060 done
77061 IFS=$as_save_IFS
77063 test -z "$ac_cv_prog_DOT" && ac_cv_prog_DOT="no"
77066 DOT=$ac_cv_prog_DOT
77067 if test -n "$DOT"; then
77068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
77069 $as_echo "$DOT" >&6; }
77070 else
77071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
77072 $as_echo "no" >&6; }
77077 # Check for docbook
77078 # Extract the first word of "xmlcatalog", so it can be a program name with args.
77079 set dummy xmlcatalog; ac_word=$2
77080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
77081 $as_echo_n "checking for $ac_word... " >&6; }
77082 if ${ac_cv_prog_XMLCATALOG+:} false; then :
77083 $as_echo_n "(cached) " >&6
77084 else
77085 if test -n "$XMLCATALOG"; then
77086 ac_cv_prog_XMLCATALOG="$XMLCATALOG" # Let the user override the test.
77087 else
77088 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77089 for as_dir in $PATH
77091 IFS=$as_save_IFS
77092 test -z "$as_dir" && as_dir=.
77093 for ac_exec_ext in '' $ac_executable_extensions; do
77094 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
77095 ac_cv_prog_XMLCATALOG="yes"
77096 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
77097 break 2
77099 done
77100 done
77101 IFS=$as_save_IFS
77103 test -z "$ac_cv_prog_XMLCATALOG" && ac_cv_prog_XMLCATALOG="no"
77106 XMLCATALOG=$ac_cv_prog_XMLCATALOG
77107 if test -n "$XMLCATALOG"; then
77108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLCATALOG" >&5
77109 $as_echo "$XMLCATALOG" >&6; }
77110 else
77111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
77112 $as_echo "no" >&6; }
77116 # Extract the first word of "xsltproc", so it can be a program name with args.
77117 set dummy xsltproc; ac_word=$2
77118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
77119 $as_echo_n "checking for $ac_word... " >&6; }
77120 if ${ac_cv_prog_XSLTPROC+:} false; then :
77121 $as_echo_n "(cached) " >&6
77122 else
77123 if test -n "$XSLTPROC"; then
77124 ac_cv_prog_XSLTPROC="$XSLTPROC" # Let the user override the test.
77125 else
77126 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77127 for as_dir in $PATH
77129 IFS=$as_save_IFS
77130 test -z "$as_dir" && as_dir=.
77131 for ac_exec_ext in '' $ac_executable_extensions; do
77132 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
77133 ac_cv_prog_XSLTPROC="yes"
77134 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
77135 break 2
77137 done
77138 done
77139 IFS=$as_save_IFS
77141 test -z "$ac_cv_prog_XSLTPROC" && ac_cv_prog_XSLTPROC="no"
77144 XSLTPROC=$ac_cv_prog_XSLTPROC
77145 if test -n "$XSLTPROC"; then
77146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
77147 $as_echo "$XSLTPROC" >&6; }
77148 else
77149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
77150 $as_echo "no" >&6; }
77154 # Extract the first word of "xmllint", so it can be a program name with args.
77155 set dummy xmllint; ac_word=$2
77156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
77157 $as_echo_n "checking for $ac_word... " >&6; }
77158 if ${ac_cv_prog_XMLLINT+:} false; then :
77159 $as_echo_n "(cached) " >&6
77160 else
77161 if test -n "$XMLLINT"; then
77162 ac_cv_prog_XMLLINT="$XMLLINT" # Let the user override the test.
77163 else
77164 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77165 for as_dir in $PATH
77167 IFS=$as_save_IFS
77168 test -z "$as_dir" && as_dir=.
77169 for ac_exec_ext in '' $ac_executable_extensions; do
77170 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
77171 ac_cv_prog_XMLLINT="yes"
77172 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
77173 break 2
77175 done
77176 done
77177 IFS=$as_save_IFS
77179 test -z "$ac_cv_prog_XMLLINT" && ac_cv_prog_XMLLINT="no"
77182 XMLLINT=$ac_cv_prog_XMLLINT
77183 if test -n "$XMLLINT"; then
77184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
77185 $as_echo "$XMLLINT" >&6; }
77186 else
77187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
77188 $as_echo "no" >&6; }
77194 glibcxx_docbook_url=http://docbook.sourceforge.net/release/xsl-ns/current/
77196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for local stylesheet directory" >&5
77197 $as_echo_n "checking for local stylesheet directory... " >&6; }
77198 glibcxx_local_stylesheets=no
77199 if test x${XMLCATALOG} = xyes && xsl_style_dir=`xmlcatalog "" $glibcxx_docbook_url 2>/dev/null`
77200 then
77201 XSL_STYLE_DIR=`echo $xsl_style_dir | sed -n 's;^file://;;p'`
77202 glibcxx_local_stylesheets=yes
77203 else
77204 for dir in \
77205 /usr/share/sgml/docbook/xsl-ns-stylesheets \
77206 /usr/share/xml/docbook/stylesheet/docbook-xsl-ns \
77207 /usr/share/xml/docbook/stylesheet/nwalsh5/current \
77208 /usr/share/xml/docbook/stylesheet/nwalsh/current
77210 if test -d $dir; then
77211 glibcxx_local_stylesheets=yes
77212 XSL_STYLE_DIR=$dir
77213 break
77215 done
77217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_local_stylesheets" >&5
77218 $as_echo "$glibcxx_local_stylesheets" >&6; }
77220 if test x"$glibcxx_local_stylesheets" = x"yes"; then
77222 { $as_echo "$as_me:${as_lineno-$LINENO}: $XSL_STYLE_DIR" >&5
77223 $as_echo "$as_me: $XSL_STYLE_DIR" >&6;}
77225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for docbook stylesheets for documentation creation" >&5
77226 $as_echo_n "checking for docbook stylesheets for documentation creation... " >&6; }
77227 glibcxx_stylesheets=no
77228 if test x${XMLCATALOG} = xno || xmlcatalog "" $glibcxx_docbook_url/xhtml/docbook.xsl >/dev/null 2>&1; then
77229 if test x${XSLTPROC} = xyes && echo '<title/>' | xsltproc --noout --nonet --xinclude $glibcxx_docbook_url/xhtml/docbook.xsl - 2>/dev/null; then
77230 glibcxx_stylesheets=yes
77233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_stylesheets" >&5
77234 $as_echo "$glibcxx_stylesheets" >&6; }
77236 else
77237 glibcxx_stylesheets=no
77240 # Check for epub3 dependencies.
77241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for epub3 stylesheets for documentation creation" >&5
77242 $as_echo_n "checking for epub3 stylesheets for documentation creation... " >&6; }
77243 glibcxx_epub_stylesheets=no
77244 if test x"$glibcxx_local_stylesheets" = x"yes"; then
77245 if test -f "$XSL_STYLE_DIR/epub3/chunk.xsl"; then
77246 glibcxx_epub_stylesheets=yes
77249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_epub_stylesheets" >&5
77250 $as_echo "$glibcxx_epub_stylesheets" >&6; }
77251 if test x"$glibcxx_epub_stylesheets" = x"yes"; then
77252 BUILD_EPUB_TRUE=
77253 BUILD_EPUB_FALSE='#'
77254 else
77255 BUILD_EPUB_TRUE='#'
77256 BUILD_EPUB_FALSE=
77262 # Check for xml/html dependencies.
77263 if test $ac_cv_prog_DOXYGEN = "yes" &&
77264 test $ac_cv_prog_DOT = "yes" &&
77265 test $ac_cv_prog_XSLTPROC = "yes" &&
77266 test $ac_cv_prog_XMLLINT = "yes" &&
77267 test $glibcxx_stylesheets = "yes"; then
77268 BUILD_XML_TRUE=
77269 BUILD_XML_FALSE='#'
77270 else
77271 BUILD_XML_TRUE='#'
77272 BUILD_XML_FALSE=
77276 if test $ac_cv_prog_DOXYGEN = "yes" &&
77277 test $ac_cv_prog_DOT = "yes" &&
77278 test $ac_cv_prog_XSLTPROC = "yes" &&
77279 test $ac_cv_prog_XMLLINT = "yes" &&
77280 test $glibcxx_stylesheets = "yes"; then
77281 BUILD_HTML_TRUE=
77282 BUILD_HTML_FALSE='#'
77283 else
77284 BUILD_HTML_TRUE='#'
77285 BUILD_HTML_FALSE=
77289 # Check for man dependencies.
77290 if test $ac_cv_prog_DOXYGEN = "yes" &&
77291 test $ac_cv_prog_DOT = "yes"; then
77292 BUILD_MAN_TRUE=
77293 BUILD_MAN_FALSE='#'
77294 else
77295 BUILD_MAN_TRUE='#'
77296 BUILD_MAN_FALSE=
77300 # Check for pdf dependencies.
77301 # Extract the first word of "dblatex", so it can be a program name with args.
77302 set dummy dblatex; ac_word=$2
77303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
77304 $as_echo_n "checking for $ac_word... " >&6; }
77305 if ${ac_cv_prog_DBLATEX+:} false; then :
77306 $as_echo_n "(cached) " >&6
77307 else
77308 if test -n "$DBLATEX"; then
77309 ac_cv_prog_DBLATEX="$DBLATEX" # Let the user override the test.
77310 else
77311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77312 for as_dir in $PATH
77314 IFS=$as_save_IFS
77315 test -z "$as_dir" && as_dir=.
77316 for ac_exec_ext in '' $ac_executable_extensions; do
77317 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
77318 ac_cv_prog_DBLATEX="yes"
77319 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
77320 break 2
77322 done
77323 done
77324 IFS=$as_save_IFS
77326 test -z "$ac_cv_prog_DBLATEX" && ac_cv_prog_DBLATEX="no"
77329 DBLATEX=$ac_cv_prog_DBLATEX
77330 if test -n "$DBLATEX"; then
77331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBLATEX" >&5
77332 $as_echo "$DBLATEX" >&6; }
77333 else
77334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
77335 $as_echo "no" >&6; }
77339 # Extract the first word of "pdflatex", so it can be a program name with args.
77340 set dummy pdflatex; ac_word=$2
77341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
77342 $as_echo_n "checking for $ac_word... " >&6; }
77343 if ${ac_cv_prog_PDFLATEX+:} false; then :
77344 $as_echo_n "(cached) " >&6
77345 else
77346 if test -n "$PDFLATEX"; then
77347 ac_cv_prog_PDFLATEX="$PDFLATEX" # Let the user override the test.
77348 else
77349 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77350 for as_dir in $PATH
77352 IFS=$as_save_IFS
77353 test -z "$as_dir" && as_dir=.
77354 for ac_exec_ext in '' $ac_executable_extensions; do
77355 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
77356 ac_cv_prog_PDFLATEX="yes"
77357 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
77358 break 2
77360 done
77361 done
77362 IFS=$as_save_IFS
77364 test -z "$ac_cv_prog_PDFLATEX" && ac_cv_prog_PDFLATEX="no"
77367 PDFLATEX=$ac_cv_prog_PDFLATEX
77368 if test -n "$PDFLATEX"; then
77369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PDFLATEX" >&5
77370 $as_echo "$PDFLATEX" >&6; }
77371 else
77372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
77373 $as_echo "no" >&6; }
77377 if test $ac_cv_prog_DOXYGEN = "yes" &&
77378 test $ac_cv_prog_DOT = "yes" &&
77379 test $ac_cv_prog_XSLTPROC = "yes" &&
77380 test $ac_cv_prog_XMLLINT = "yes" &&
77381 test $ac_cv_prog_DBLATEX = "yes" &&
77382 test $ac_cv_prog_PDFLATEX = "yes"; then
77383 BUILD_PDF_TRUE=
77384 BUILD_PDF_FALSE='#'
77385 else
77386 BUILD_PDF_TRUE='#'
77387 BUILD_PDF_FALSE=
77391 case "$build" in
77392 *-*-darwin* ) glibcxx_include_dir_notparallel=yes ;;
77393 * ) glibcxx_include_dir_notparallel=no ;;
77394 esac
77395 if test $glibcxx_include_dir_notparallel = "yes"; then
77396 INCLUDE_DIR_NOTPARALLEL_TRUE=
77397 INCLUDE_DIR_NOTPARALLEL_FALSE='#'
77398 else
77399 INCLUDE_DIR_NOTPARALLEL_TRUE='#'
77400 INCLUDE_DIR_NOTPARALLEL_FALSE=
77404 # Propagate the target-specific source directories through the build chain.
77405 ATOMICITY_SRCDIR=config/${atomicity_dir}
77406 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
77407 ATOMIC_FLAGS=${atomic_flags}
77408 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
77409 OS_INC_SRCDIR=config/${os_include_dir}
77410 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
77411 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
77412 CPU_OPT_EXT_RANDOM=config/${cpu_opt_ext_random}
77413 CPU_OPT_BITS_RANDOM=config/${cpu_opt_bits_random}
77424 # Conditionalize the makefile for this target machine.
77425 tmake_file_=
77426 for f in ${tmake_file}
77428 if test -f ${srcdir}/config/$f
77429 then
77430 tmake_file_="${tmake_file_} \$(srcdir)/config/$f"
77432 done
77433 tmake_file="${tmake_file_}"
77436 # Add CET specific flags if Intel CET is enabled.
77437 # Check whether --enable-cet was given.
77438 if test "${enable_cet+set}" = set; then :
77439 enableval=$enable_cet;
77440 case "$enableval" in
77441 yes|no|auto) ;;
77442 *) as_fn_error $? "Unknown argument to enable/disable cet" "$LINENO" 5 ;;
77443 esac
77445 else
77446 enable_cet=auto
77450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CET support" >&5
77451 $as_echo_n "checking for CET support... " >&6; }
77453 # NB: Avoid nested save_CFLAGS and save_LDFLAGS.
77454 case "$host" in
77455 i[34567]86-*-linux* | x86_64-*-linux*)
77456 case "$enable_cet" in
77457 auto)
77458 # Check if target supports multi-byte NOPs
77459 # and if compiler and assembler support CET insn.
77460 cet_save_CFLAGS="$CFLAGS"
77461 CFLAGS="$CFLAGS -fcf-protection"
77462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77463 /* end confdefs.h. */
77466 main ()
77469 #if !defined(__SSE2__)
77470 #error target does not support multi-byte NOPs
77471 #else
77472 asm ("setssbsy");
77473 #endif
77476 return 0;
77478 _ACEOF
77479 if ac_fn_c_try_compile "$LINENO"; then :
77480 enable_cet=yes
77481 else
77482 enable_cet=no
77484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77485 CFLAGS="$cet_save_CFLAGS"
77487 yes)
77488 # Check if assembler supports CET.
77489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77490 /* end confdefs.h. */
77493 main ()
77495 asm ("setssbsy");
77497 return 0;
77499 _ACEOF
77500 if ac_fn_c_try_compile "$LINENO"; then :
77502 else
77503 as_fn_error $? "assembler with CET support is required for --enable-cet" "$LINENO" 5
77505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77507 esac
77510 enable_cet=no
77512 esac
77513 if test x$enable_cet = xyes; then
77514 CET_FLAGS="-fcf-protection -mshstk"
77515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
77516 $as_echo "yes" >&6; }
77517 else
77518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
77519 $as_echo "no" >&6; }
77522 EXTRA_CXX_FLAGS="$EXTRA_CXX_FLAGS $CET_FLAGS"
77523 EXTRA_CFLAGS="$EXTRA_CFLAGS $CET_FLAGS"
77527 # Determine cross-compile flags and AM_CONDITIONALs.
77528 #AC_SUBST(GLIBCXX_IS_NATIVE)
77529 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
77530 if test $is_hosted = yes; then
77531 GLIBCXX_HOSTED_TRUE=
77532 GLIBCXX_HOSTED_FALSE='#'
77533 else
77534 GLIBCXX_HOSTED_TRUE='#'
77535 GLIBCXX_HOSTED_FALSE=
77539 if test $enable_libstdcxx_pch = yes; then
77540 GLIBCXX_BUILD_PCH_TRUE=
77541 GLIBCXX_BUILD_PCH_FALSE='#'
77542 else
77543 GLIBCXX_BUILD_PCH_TRUE='#'
77544 GLIBCXX_BUILD_PCH_FALSE=
77548 if test $enable_float128 = yes; then
77549 ENABLE_FLOAT128_TRUE=
77550 ENABLE_FLOAT128_FALSE='#'
77551 else
77552 ENABLE_FLOAT128_TRUE='#'
77553 ENABLE_FLOAT128_FALSE=
77557 if test $enable_libstdcxx_allocator_flag = new; then
77558 ENABLE_ALLOCATOR_NEW_TRUE=
77559 ENABLE_ALLOCATOR_NEW_FALSE='#'
77560 else
77561 ENABLE_ALLOCATOR_NEW_TRUE='#'
77562 ENABLE_ALLOCATOR_NEW_FALSE=
77566 if test $enable_cheaders = c; then
77567 GLIBCXX_C_HEADERS_C_TRUE=
77568 GLIBCXX_C_HEADERS_C_FALSE='#'
77569 else
77570 GLIBCXX_C_HEADERS_C_TRUE='#'
77571 GLIBCXX_C_HEADERS_C_FALSE=
77575 if test $enable_cheaders = c_std; then
77576 GLIBCXX_C_HEADERS_C_STD_TRUE=
77577 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
77578 else
77579 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
77580 GLIBCXX_C_HEADERS_C_STD_FALSE=
77584 if test $enable_cheaders = c_global; then
77585 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
77586 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
77587 else
77588 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
77589 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
77593 if test $c_compatibility = yes; then
77594 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
77595 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
77596 else
77597 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
77598 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
77602 if test $enable_libstdcxx_debug = yes; then
77603 GLIBCXX_BUILD_DEBUG_TRUE=
77604 GLIBCXX_BUILD_DEBUG_FALSE='#'
77605 else
77606 GLIBCXX_BUILD_DEBUG_TRUE='#'
77607 GLIBCXX_BUILD_DEBUG_FALSE=
77611 if test $enable_extern_template = yes; then
77612 ENABLE_EXTERN_TEMPLATE_TRUE=
77613 ENABLE_EXTERN_TEMPLATE_FALSE='#'
77614 else
77615 ENABLE_EXTERN_TEMPLATE_TRUE='#'
77616 ENABLE_EXTERN_TEMPLATE_FALSE=
77620 if test $python_mod_dir != no; then
77621 ENABLE_PYTHONDIR_TRUE=
77622 ENABLE_PYTHONDIR_FALSE='#'
77623 else
77624 ENABLE_PYTHONDIR_TRUE='#'
77625 ENABLE_PYTHONDIR_FALSE=
77629 if test $enable_werror = yes; then
77630 ENABLE_WERROR_TRUE=
77631 ENABLE_WERROR_FALSE='#'
77632 else
77633 ENABLE_WERROR_TRUE='#'
77634 ENABLE_WERROR_FALSE=
77638 if test $enable_vtable_verify = yes; then
77639 ENABLE_VTABLE_VERIFY_TRUE=
77640 ENABLE_VTABLE_VERIFY_FALSE='#'
77641 else
77642 ENABLE_VTABLE_VERIFY_TRUE='#'
77643 ENABLE_VTABLE_VERIFY_FALSE=
77647 if test $enable_symvers != no; then
77648 ENABLE_SYMVERS_TRUE=
77649 ENABLE_SYMVERS_FALSE='#'
77650 else
77651 ENABLE_SYMVERS_TRUE='#'
77652 ENABLE_SYMVERS_FALSE=
77656 if test $enable_symvers = gnu; then
77657 ENABLE_SYMVERS_GNU_TRUE=
77658 ENABLE_SYMVERS_GNU_FALSE='#'
77659 else
77660 ENABLE_SYMVERS_GNU_TRUE='#'
77661 ENABLE_SYMVERS_GNU_FALSE=
77665 if test $enable_symvers = gnu-versioned-namespace; then
77666 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
77667 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
77668 else
77669 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
77670 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
77674 if test $enable_symvers = darwin; then
77675 ENABLE_SYMVERS_DARWIN_TRUE=
77676 ENABLE_SYMVERS_DARWIN_FALSE='#'
77677 else
77678 ENABLE_SYMVERS_DARWIN_TRUE='#'
77679 ENABLE_SYMVERS_DARWIN_FALSE=
77683 if test $enable_symvers = sun; then
77684 ENABLE_SYMVERS_SUN_TRUE=
77685 ENABLE_SYMVERS_SUN_FALSE='#'
77686 else
77687 ENABLE_SYMVERS_SUN_TRUE='#'
77688 ENABLE_SYMVERS_SUN_FALSE=
77692 if test $enable_libstdcxx_visibility = yes; then
77693 ENABLE_VISIBILITY_TRUE=
77694 ENABLE_VISIBILITY_FALSE='#'
77695 else
77696 ENABLE_VISIBILITY_TRUE='#'
77697 ENABLE_VISIBILITY_FALSE=
77701 if test $enable_libstdcxx_dual_abi = yes; then
77702 ENABLE_DUAL_ABI_TRUE=
77703 ENABLE_DUAL_ABI_FALSE='#'
77704 else
77705 ENABLE_DUAL_ABI_TRUE='#'
77706 ENABLE_DUAL_ABI_FALSE=
77710 if test $glibcxx_cxx11_abi = 1; then
77711 ENABLE_CXX11_ABI_TRUE=
77712 ENABLE_CXX11_ABI_FALSE='#'
77713 else
77714 ENABLE_CXX11_ABI_TRUE='#'
77715 ENABLE_CXX11_ABI_FALSE=
77719 if test $ac_ldbl_compat = yes; then
77720 GLIBCXX_LDBL_COMPAT_TRUE=
77721 GLIBCXX_LDBL_COMPAT_FALSE='#'
77722 else
77723 GLIBCXX_LDBL_COMPAT_TRUE='#'
77724 GLIBCXX_LDBL_COMPAT_FALSE=
77728 if test $ac_ldbl_alt128_compat = yes; then
77729 GLIBCXX_LDBL_ALT128_COMPAT_TRUE=
77730 GLIBCXX_LDBL_ALT128_COMPAT_FALSE='#'
77731 else
77732 GLIBCXX_LDBL_ALT128_COMPAT_TRUE='#'
77733 GLIBCXX_LDBL_ALT128_COMPAT_FALSE=
77737 if test $enable_libstdcxx_filesystem_ts = yes; then
77738 ENABLE_FILESYSTEM_TS_TRUE=
77739 ENABLE_FILESYSTEM_TS_FALSE='#'
77740 else
77741 ENABLE_FILESYSTEM_TS_TRUE='#'
77742 ENABLE_FILESYSTEM_TS_FALSE=
77748 cat >confcache <<\_ACEOF
77749 # This file is a shell script that caches the results of configure
77750 # tests run on this system so they can be shared between configure
77751 # scripts and configure runs, see configure's option --config-cache.
77752 # It is not useful on other systems. If it contains results you don't
77753 # want to keep, you may remove or edit it.
77755 # config.status only pays attention to the cache file if you give it
77756 # the --recheck option to rerun configure.
77758 # `ac_cv_env_foo' variables (set or unset) will be overridden when
77759 # loading this file, other *unset* `ac_cv_foo' will be assigned the
77760 # following values.
77762 _ACEOF
77764 # The following way of writing the cache mishandles newlines in values,
77765 # but we know of no workaround that is simple, portable, and efficient.
77766 # So, we kill variables containing newlines.
77767 # Ultrix sh set writes to stderr and can't be redirected directly,
77768 # and sets the high bit in the cache file unless we assign to the vars.
77770 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
77771 eval ac_val=\$$ac_var
77772 case $ac_val in #(
77773 *${as_nl}*)
77774 case $ac_var in #(
77775 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
77776 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
77777 esac
77778 case $ac_var in #(
77779 _ | IFS | as_nl) ;; #(
77780 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
77781 *) { eval $ac_var=; unset $ac_var;} ;;
77782 esac ;;
77783 esac
77784 done
77786 (set) 2>&1 |
77787 case $as_nl`(ac_space=' '; set) 2>&1` in #(
77788 *${as_nl}ac_space=\ *)
77789 # `set' does not quote correctly, so add quotes: double-quote
77790 # substitution turns \\\\ into \\, and sed turns \\ into \.
77791 sed -n \
77792 "s/'/'\\\\''/g;
77793 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
77794 ;; #(
77796 # `set' quotes correctly as required by POSIX, so do not add quotes.
77797 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
77799 esac |
77800 sort
77802 sed '
77803 /^ac_cv_env_/b end
77804 t clear
77805 :clear
77806 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
77807 t end
77808 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
77809 :end' >>confcache
77810 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
77811 if test -w "$cache_file"; then
77812 if test "x$cache_file" != "x/dev/null"; then
77813 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
77814 $as_echo "$as_me: updating cache $cache_file" >&6;}
77815 if test ! -f "$cache_file" || test -h "$cache_file"; then
77816 cat confcache >"$cache_file"
77817 else
77818 case $cache_file in #(
77819 */* | ?:*)
77820 mv -f confcache "$cache_file"$$ &&
77821 mv -f "$cache_file"$$ "$cache_file" ;; #(
77823 mv -f confcache "$cache_file" ;;
77824 esac
77827 else
77828 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
77829 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
77832 rm -f confcache
77834 if test ${multilib} = yes; then
77835 multilib_arg="--enable-multilib"
77836 else
77837 multilib_arg=
77840 # Export all the install information.
77842 glibcxx_toolexecdir=no
77843 glibcxx_toolexeclibdir=no
77844 glibcxx_prefixdir=$prefix
77846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gxx-include-dir" >&5
77847 $as_echo_n "checking for gxx-include-dir... " >&6; }
77849 # Check whether --with-gxx-include-dir was given.
77850 if test "${with_gxx_include_dir+set}" = set; then :
77851 withval=$with_gxx_include_dir; case "$withval" in
77852 yes) as_fn_error $? "Missing directory for --with-gxx-include-dir" "$LINENO" 5 ;;
77853 no) gxx_include_dir=no ;;
77854 *) gxx_include_dir=$withval ;;
77855 esac
77856 else
77857 gxx_include_dir=no
77860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
77861 $as_echo "$gxx_include_dir" >&6; }
77863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
77864 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
77865 # Check whether --enable-version-specific-runtime-libs was given.
77866 if test "${enable_version_specific_runtime_libs+set}" = set; then :
77867 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
77868 yes) version_specific_libs=yes ;;
77869 no) version_specific_libs=no ;;
77870 *) as_fn_error $? "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
77871 esac
77872 else
77873 version_specific_libs=no
77876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
77877 $as_echo "$version_specific_libs" >&6; }
77880 # Check whether --with-toolexeclibdir was given.
77881 if test "${with_toolexeclibdir+set}" = set; then :
77882 withval=$with_toolexeclibdir; case ${with_toolexeclibdir} in
77886 with_toolexeclibdir=`echo $with_toolexeclibdir | sed 's,/$,,'`
77888 esac
77889 else
77890 with_toolexeclibdir=no
77895 # Default case for install directory for include files.
77896 if test $version_specific_libs = no && test $gxx_include_dir = no; then
77897 gxx_include_dir='include/c++/${gcc_version}'
77898 if test -n "$with_cross_host" &&
77899 test x"$with_cross_host" != x"no"; then
77900 gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
77901 else
77902 gxx_include_dir='${prefix}/'"$gxx_include_dir"
77906 # Version-specific runtime libs processing.
77907 if test $version_specific_libs = yes; then
77908 # Need the gcc compiler version to know where to install libraries
77909 # and header files if --enable-version-specific-runtime-libs option
77910 # is selected. FIXME: these variables are misnamed, there are
77911 # no executables installed in _toolexecdir or _toolexeclibdir.
77912 if test x"$gxx_include_dir" = x"no"; then
77913 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
77915 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
77916 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
77919 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
77920 # Install a library built with a cross compiler in tooldir, not libdir.
77921 if test x"$glibcxx_toolexecdir" = x"no"; then
77922 if test -n "$with_cross_host" &&
77923 test x"$with_cross_host" != x"no"; then
77924 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
77925 case ${with_toolexeclibdir} in
77927 glibcxx_toolexeclibdir='${toolexecdir}/lib'
77930 glibcxx_toolexeclibdir=${with_toolexeclibdir}
77932 esac
77933 else
77934 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
77935 glibcxx_toolexeclibdir='${libdir}'
77937 multi_os_directory=`$CXX -print-multi-os-directory`
77938 case $multi_os_directory in
77939 .) ;; # Avoid trailing /.
77940 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
77941 esac
77944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for install location" >&5
77945 $as_echo_n "checking for install location... " >&6; }
77946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
77947 $as_echo "$gxx_include_dir" >&6; }
77955 # Export all the include and flag information to Makefiles.
77957 # Used for every C++ compile we perform.
77958 GLIBCXX_INCLUDES="\
77959 -I$glibcxx_builddir/include/$host_alias \
77960 -I$glibcxx_builddir/include \
77961 -I$glibcxx_srcdir/libsupc++"
77963 # For Canadian crosses, pick this up too.
77964 if test $CANADIAN = yes; then
77965 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
77968 # Stuff in the actual top level. Currently only used by libsupc++ to
77969 # get unwind* headers from the libgcc dir.
77970 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc -I$(toplevel_srcdir)/include'
77971 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc'
77973 # Now, export this to all the little Makefiles....
77978 # Optimization flags that are probably a good idea for thrill-seekers. Just
77979 # uncomment the lines below and make, everything else is ready to go...
77980 # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
77981 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
77984 WARN_FLAGS="-Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi=2"
77988 # Determine what GCC version number to use in filesystem paths.
77990 get_gcc_base_ver="cat"
77992 # Check whether --with-gcc-major-version-only was given.
77993 if test "${with_gcc_major_version_only+set}" = set; then :
77994 withval=$with_gcc_major_version_only; if test x$with_gcc_major_version_only = xyes ; then
77995 get_gcc_base_ver="sed -e 's/^\([0-9]*\).*/\1/'"
78003 ac_config_files="$ac_config_files Makefile"
78005 ac_config_files="$ac_config_files scripts/testsuite_flags"
78007 ac_config_files="$ac_config_files scripts/extract_symvers"
78009 ac_config_files="$ac_config_files doc/xsl/customization.xsl"
78012 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
78013 # that multilib installs will end up installed in the correct place.
78014 # The testsuite needs it for multilib-aware ABI baseline files.
78015 # To work around this not being passed down from config-ml.in ->
78016 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
78017 # append it here. Only modify Makefiles that have just been created.
78019 # Also, get rid of this simulated-VPATH thing that automake does.
78020 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"
78023 ac_config_commands="$ac_config_commands generate-headers"
78026 cat >confcache <<\_ACEOF
78027 # This file is a shell script that caches the results of configure
78028 # tests run on this system so they can be shared between configure
78029 # scripts and configure runs, see configure's option --config-cache.
78030 # It is not useful on other systems. If it contains results you don't
78031 # want to keep, you may remove or edit it.
78033 # config.status only pays attention to the cache file if you give it
78034 # the --recheck option to rerun configure.
78036 # `ac_cv_env_foo' variables (set or unset) will be overridden when
78037 # loading this file, other *unset* `ac_cv_foo' will be assigned the
78038 # following values.
78040 _ACEOF
78042 # The following way of writing the cache mishandles newlines in values,
78043 # but we know of no workaround that is simple, portable, and efficient.
78044 # So, we kill variables containing newlines.
78045 # Ultrix sh set writes to stderr and can't be redirected directly,
78046 # and sets the high bit in the cache file unless we assign to the vars.
78048 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
78049 eval ac_val=\$$ac_var
78050 case $ac_val in #(
78051 *${as_nl}*)
78052 case $ac_var in #(
78053 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
78054 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
78055 esac
78056 case $ac_var in #(
78057 _ | IFS | as_nl) ;; #(
78058 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
78059 *) { eval $ac_var=; unset $ac_var;} ;;
78060 esac ;;
78061 esac
78062 done
78064 (set) 2>&1 |
78065 case $as_nl`(ac_space=' '; set) 2>&1` in #(
78066 *${as_nl}ac_space=\ *)
78067 # `set' does not quote correctly, so add quotes: double-quote
78068 # substitution turns \\\\ into \\, and sed turns \\ into \.
78069 sed -n \
78070 "s/'/'\\\\''/g;
78071 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
78072 ;; #(
78074 # `set' quotes correctly as required by POSIX, so do not add quotes.
78075 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
78077 esac |
78078 sort
78080 sed '
78081 /^ac_cv_env_/b end
78082 t clear
78083 :clear
78084 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
78085 t end
78086 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
78087 :end' >>confcache
78088 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
78089 if test -w "$cache_file"; then
78090 if test "x$cache_file" != "x/dev/null"; then
78091 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
78092 $as_echo "$as_me: updating cache $cache_file" >&6;}
78093 if test ! -f "$cache_file" || test -h "$cache_file"; then
78094 cat confcache >"$cache_file"
78095 else
78096 case $cache_file in #(
78097 */* | ?:*)
78098 mv -f confcache "$cache_file"$$ &&
78099 mv -f "$cache_file"$$ "$cache_file" ;; #(
78101 mv -f confcache "$cache_file" ;;
78102 esac
78105 else
78106 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
78107 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
78110 rm -f confcache
78112 test "x$prefix" = xNONE && prefix=$ac_default_prefix
78113 # Let make expand exec_prefix.
78114 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
78116 DEFS=-DHAVE_CONFIG_H
78118 ac_libobjs=
78119 ac_ltlibobjs=
78121 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
78122 # 1. Remove the extension, and $U if already installed.
78123 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
78124 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
78125 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
78126 # will be set to the directory where LIBOBJS objects are built.
78127 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
78128 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
78129 done
78130 LIBOBJS=$ac_libobjs
78132 LTLIBOBJS=$ac_ltlibobjs
78135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
78136 $as_echo_n "checking that generated files are newer than configure... " >&6; }
78137 if test -n "$am_sleep_pid"; then
78138 # Hide warnings about reused PIDs.
78139 wait $am_sleep_pid 2>/dev/null
78141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
78142 $as_echo "done" >&6; }
78143 if test -n "$EXEEXT"; then
78144 am__EXEEXT_TRUE=
78145 am__EXEEXT_FALSE='#'
78146 else
78147 am__EXEEXT_TRUE='#'
78148 am__EXEEXT_FALSE=
78151 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
78152 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
78153 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78155 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
78156 as_fn_error $? "conditional \"GLIBCXX_HOSTED\" was never defined.
78157 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78159 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
78160 as_fn_error $? "conditional \"GLIBCXX_BUILD_PCH\" was never defined.
78161 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78163 if test -z "${ENABLE_FLOAT128_TRUE}" && test -z "${ENABLE_FLOAT128_FALSE}"; then
78164 as_fn_error $? "conditional \"ENABLE_FLOAT128\" was never defined.
78165 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78167 if test -z "${ENABLE_ALLOCATOR_NEW_TRUE}" && test -z "${ENABLE_ALLOCATOR_NEW_FALSE}"; then
78168 as_fn_error $? "conditional \"ENABLE_ALLOCATOR_NEW\" was never defined.
78169 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78171 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
78172 as_fn_error $? "conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
78173 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78175 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
78176 as_fn_error $? "conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
78177 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78179 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
78180 as_fn_error $? "conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
78181 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78183 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
78184 as_fn_error $? "conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
78185 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78187 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
78188 as_fn_error $? "conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
78189 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78191 if test -z "${ENABLE_EXTERN_TEMPLATE_TRUE}" && test -z "${ENABLE_EXTERN_TEMPLATE_FALSE}"; then
78192 as_fn_error $? "conditional \"ENABLE_EXTERN_TEMPLATE\" was never defined.
78193 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78195 if test -z "${ENABLE_PYTHONDIR_TRUE}" && test -z "${ENABLE_PYTHONDIR_FALSE}"; then
78196 as_fn_error $? "conditional \"ENABLE_PYTHONDIR\" was never defined.
78197 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78199 if test -z "${ENABLE_WERROR_TRUE}" && test -z "${ENABLE_WERROR_FALSE}"; then
78200 as_fn_error $? "conditional \"ENABLE_WERROR\" was never defined.
78201 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78203 if test -z "${VTV_CYGMIN_TRUE}" && test -z "${VTV_CYGMIN_FALSE}"; then
78204 as_fn_error $? "conditional \"VTV_CYGMIN\" was never defined.
78205 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78207 if test -z "${ENABLE_VTABLE_VERIFY_TRUE}" && test -z "${ENABLE_VTABLE_VERIFY_FALSE}"; then
78208 as_fn_error $? "conditional \"ENABLE_VTABLE_VERIFY\" was never defined.
78209 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78211 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
78212 as_fn_error $? "conditional \"ENABLE_SYMVERS\" was never defined.
78213 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78215 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
78216 as_fn_error $? "conditional \"ENABLE_SYMVERS_GNU\" was never defined.
78217 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78219 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
78220 as_fn_error $? "conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
78221 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78223 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
78224 as_fn_error $? "conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
78225 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78227 if test -z "${ENABLE_SYMVERS_SUN_TRUE}" && test -z "${ENABLE_SYMVERS_SUN_FALSE}"; then
78228 as_fn_error $? "conditional \"ENABLE_SYMVERS_SUN\" was never defined.
78229 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78231 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
78232 as_fn_error $? "conditional \"ENABLE_VISIBILITY\" was never defined.
78233 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78235 if test -z "${ENABLE_DUAL_ABI_TRUE}" && test -z "${ENABLE_DUAL_ABI_FALSE}"; then
78236 as_fn_error $? "conditional \"ENABLE_DUAL_ABI\" was never defined.
78237 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78239 if test -z "${ENABLE_CXX11_ABI_TRUE}" && test -z "${ENABLE_CXX11_ABI_FALSE}"; then
78240 as_fn_error $? "conditional \"ENABLE_CXX11_ABI\" was never defined.
78241 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78243 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
78244 as_fn_error $? "conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
78245 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78247 if test -z "${GLIBCXX_LDBL_ALT128_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_ALT128_COMPAT_FALSE}"; then
78248 as_fn_error $? "conditional \"GLIBCXX_LDBL_ALT128_COMPAT\" was never defined.
78249 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78251 if test -z "${ENABLE_FILESYSTEM_TS_TRUE}" && test -z "${ENABLE_FILESYSTEM_TS_FALSE}"; then
78252 as_fn_error $? "conditional \"ENABLE_FILESYSTEM_TS\" was never defined.
78253 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78255 if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
78256 as_fn_error $? "conditional \"BUILD_INFO\" was never defined.
78257 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78259 if test -z "${BUILD_EPUB_TRUE}" && test -z "${BUILD_EPUB_FALSE}"; then
78260 as_fn_error $? "conditional \"BUILD_EPUB\" was never defined.
78261 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78263 if test -z "${BUILD_XML_TRUE}" && test -z "${BUILD_XML_FALSE}"; then
78264 as_fn_error $? "conditional \"BUILD_XML\" was never defined.
78265 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78267 if test -z "${BUILD_HTML_TRUE}" && test -z "${BUILD_HTML_FALSE}"; then
78268 as_fn_error $? "conditional \"BUILD_HTML\" was never defined.
78269 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78271 if test -z "${BUILD_MAN_TRUE}" && test -z "${BUILD_MAN_FALSE}"; then
78272 as_fn_error $? "conditional \"BUILD_MAN\" was never defined.
78273 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78275 if test -z "${BUILD_PDF_TRUE}" && test -z "${BUILD_PDF_FALSE}"; then
78276 as_fn_error $? "conditional \"BUILD_PDF\" was never defined.
78277 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78279 if test -z "${INCLUDE_DIR_NOTPARALLEL_TRUE}" && test -z "${INCLUDE_DIR_NOTPARALLEL_FALSE}"; then
78280 as_fn_error $? "conditional \"INCLUDE_DIR_NOTPARALLEL\" was never defined.
78281 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78284 : "${CONFIG_STATUS=./config.status}"
78285 ac_write_fail=0
78286 ac_clean_files_save=$ac_clean_files
78287 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
78288 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
78289 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
78290 as_write_fail=0
78291 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
78292 #! $SHELL
78293 # Generated by $as_me.
78294 # Run this file to recreate the current configuration.
78295 # Compiler output produced by configure, useful for debugging
78296 # configure, is in config.log if it exists.
78298 debug=false
78299 ac_cs_recheck=false
78300 ac_cs_silent=false
78302 SHELL=\${CONFIG_SHELL-$SHELL}
78303 export SHELL
78304 _ASEOF
78305 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
78306 ## -------------------- ##
78307 ## M4sh Initialization. ##
78308 ## -------------------- ##
78310 # Be more Bourne compatible
78311 DUALCASE=1; export DUALCASE # for MKS sh
78312 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
78313 emulate sh
78314 NULLCMD=:
78315 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
78316 # is contrary to our usage. Disable this feature.
78317 alias -g '${1+"$@"}'='"$@"'
78318 setopt NO_GLOB_SUBST
78319 else
78320 case `(set -o) 2>/dev/null` in #(
78321 *posix*) :
78322 set -o posix ;; #(
78323 *) :
78325 esac
78329 as_nl='
78331 export as_nl
78332 # Printing a long string crashes Solaris 7 /usr/bin/printf.
78333 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
78334 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
78335 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
78336 # Prefer a ksh shell builtin over an external printf program on Solaris,
78337 # but without wasting forks for bash or zsh.
78338 if test -z "$BASH_VERSION$ZSH_VERSION" \
78339 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
78340 as_echo='print -r --'
78341 as_echo_n='print -rn --'
78342 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
78343 as_echo='printf %s\n'
78344 as_echo_n='printf %s'
78345 else
78346 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
78347 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
78348 as_echo_n='/usr/ucb/echo -n'
78349 else
78350 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
78351 as_echo_n_body='eval
78352 arg=$1;
78353 case $arg in #(
78354 *"$as_nl"*)
78355 expr "X$arg" : "X\\(.*\\)$as_nl";
78356 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
78357 esac;
78358 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
78360 export as_echo_n_body
78361 as_echo_n='sh -c $as_echo_n_body as_echo'
78363 export as_echo_body
78364 as_echo='sh -c $as_echo_body as_echo'
78367 # The user is always right.
78368 if test "${PATH_SEPARATOR+set}" != set; then
78369 PATH_SEPARATOR=:
78370 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78371 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
78372 PATH_SEPARATOR=';'
78377 # IFS
78378 # We need space, tab and new line, in precisely that order. Quoting is
78379 # there to prevent editors from complaining about space-tab.
78380 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
78381 # splitting by setting IFS to empty value.)
78382 IFS=" "" $as_nl"
78384 # Find who we are. Look in the path if we contain no directory separator.
78385 as_myself=
78386 case $0 in #((
78387 *[\\/]* ) as_myself=$0 ;;
78388 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
78389 for as_dir in $PATH
78391 IFS=$as_save_IFS
78392 test -z "$as_dir" && as_dir=.
78393 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
78394 done
78395 IFS=$as_save_IFS
78398 esac
78399 # We did not find ourselves, most probably we were run as `sh COMMAND'
78400 # in which case we are not to be found in the path.
78401 if test "x$as_myself" = x; then
78402 as_myself=$0
78404 if test ! -f "$as_myself"; then
78405 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
78406 exit 1
78409 # Unset variables that we do not need and which cause bugs (e.g. in
78410 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
78411 # suppresses any "Segmentation fault" message there. '((' could
78412 # trigger a bug in pdksh 5.2.14.
78413 for as_var in BASH_ENV ENV MAIL MAILPATH
78414 do eval test x\${$as_var+set} = xset \
78415 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
78416 done
78417 PS1='$ '
78418 PS2='> '
78419 PS4='+ '
78421 # NLS nuisances.
78422 LC_ALL=C
78423 export LC_ALL
78424 LANGUAGE=C
78425 export LANGUAGE
78427 # CDPATH.
78428 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
78431 # as_fn_error STATUS ERROR [LINENO LOG_FD]
78432 # ----------------------------------------
78433 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
78434 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
78435 # script with STATUS, using 1 if that was 0.
78436 as_fn_error ()
78438 as_status=$1; test $as_status -eq 0 && as_status=1
78439 if test "$4"; then
78440 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
78441 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
78443 $as_echo "$as_me: error: $2" >&2
78444 as_fn_exit $as_status
78445 } # as_fn_error
78448 # as_fn_set_status STATUS
78449 # -----------------------
78450 # Set $? to STATUS, without forking.
78451 as_fn_set_status ()
78453 return $1
78454 } # as_fn_set_status
78456 # as_fn_exit STATUS
78457 # -----------------
78458 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
78459 as_fn_exit ()
78461 set +e
78462 as_fn_set_status $1
78463 exit $1
78464 } # as_fn_exit
78466 # as_fn_unset VAR
78467 # ---------------
78468 # Portably unset VAR.
78469 as_fn_unset ()
78471 { eval $1=; unset $1;}
78473 as_unset=as_fn_unset
78474 # as_fn_append VAR VALUE
78475 # ----------------------
78476 # Append the text in VALUE to the end of the definition contained in VAR. Take
78477 # advantage of any shell optimizations that allow amortized linear growth over
78478 # repeated appends, instead of the typical quadratic growth present in naive
78479 # implementations.
78480 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
78481 eval 'as_fn_append ()
78483 eval $1+=\$2
78485 else
78486 as_fn_append ()
78488 eval $1=\$$1\$2
78490 fi # as_fn_append
78492 # as_fn_arith ARG...
78493 # ------------------
78494 # Perform arithmetic evaluation on the ARGs, and store the result in the
78495 # global $as_val. Take advantage of shells that can avoid forks. The arguments
78496 # must be portable across $(()) and expr.
78497 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
78498 eval 'as_fn_arith ()
78500 as_val=$(( $* ))
78502 else
78503 as_fn_arith ()
78505 as_val=`expr "$@" || test $? -eq 1`
78507 fi # as_fn_arith
78510 if expr a : '\(a\)' >/dev/null 2>&1 &&
78511 test "X`expr 00001 : '.*\(...\)'`" = X001; then
78512 as_expr=expr
78513 else
78514 as_expr=false
78517 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
78518 as_basename=basename
78519 else
78520 as_basename=false
78523 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
78524 as_dirname=dirname
78525 else
78526 as_dirname=false
78529 as_me=`$as_basename -- "$0" ||
78530 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
78531 X"$0" : 'X\(//\)$' \| \
78532 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
78533 $as_echo X/"$0" |
78534 sed '/^.*\/\([^/][^/]*\)\/*$/{
78535 s//\1/
78538 /^X\/\(\/\/\)$/{
78539 s//\1/
78542 /^X\/\(\/\).*/{
78543 s//\1/
78546 s/.*/./; q'`
78548 # Avoid depending upon Character Ranges.
78549 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
78550 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
78551 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
78552 as_cr_digits='0123456789'
78553 as_cr_alnum=$as_cr_Letters$as_cr_digits
78555 ECHO_C= ECHO_N= ECHO_T=
78556 case `echo -n x` in #(((((
78557 -n*)
78558 case `echo 'xy\c'` in
78559 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
78560 xy) ECHO_C='\c';;
78561 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
78562 ECHO_T=' ';;
78563 esac;;
78565 ECHO_N='-n';;
78566 esac
78568 rm -f conf$$ conf$$.exe conf$$.file
78569 if test -d conf$$.dir; then
78570 rm -f conf$$.dir/conf$$.file
78571 else
78572 rm -f conf$$.dir
78573 mkdir conf$$.dir 2>/dev/null
78575 if (echo >conf$$.file) 2>/dev/null; then
78576 if ln -s conf$$.file conf$$ 2>/dev/null; then
78577 as_ln_s='ln -s'
78578 # ... but there are two gotchas:
78579 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
78580 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
78581 # In both cases, we have to default to `cp -pR'.
78582 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
78583 as_ln_s='cp -pR'
78584 elif ln conf$$.file conf$$ 2>/dev/null; then
78585 as_ln_s=ln
78586 else
78587 as_ln_s='cp -pR'
78589 else
78590 as_ln_s='cp -pR'
78592 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
78593 rmdir conf$$.dir 2>/dev/null
78596 # as_fn_mkdir_p
78597 # -------------
78598 # Create "$as_dir" as a directory, including parents if necessary.
78599 as_fn_mkdir_p ()
78602 case $as_dir in #(
78603 -*) as_dir=./$as_dir;;
78604 esac
78605 test -d "$as_dir" || eval $as_mkdir_p || {
78606 as_dirs=
78607 while :; do
78608 case $as_dir in #(
78609 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
78610 *) as_qdir=$as_dir;;
78611 esac
78612 as_dirs="'$as_qdir' $as_dirs"
78613 as_dir=`$as_dirname -- "$as_dir" ||
78614 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
78615 X"$as_dir" : 'X\(//\)[^/]' \| \
78616 X"$as_dir" : 'X\(//\)$' \| \
78617 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
78618 $as_echo X"$as_dir" |
78619 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
78620 s//\1/
78623 /^X\(\/\/\)[^/].*/{
78624 s//\1/
78627 /^X\(\/\/\)$/{
78628 s//\1/
78631 /^X\(\/\).*/{
78632 s//\1/
78635 s/.*/./; q'`
78636 test -d "$as_dir" && break
78637 done
78638 test -z "$as_dirs" || eval "mkdir $as_dirs"
78639 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
78642 } # as_fn_mkdir_p
78643 if mkdir -p . 2>/dev/null; then
78644 as_mkdir_p='mkdir -p "$as_dir"'
78645 else
78646 test -d ./-p && rmdir ./-p
78647 as_mkdir_p=false
78651 # as_fn_executable_p FILE
78652 # -----------------------
78653 # Test if FILE is an executable regular file.
78654 as_fn_executable_p ()
78656 test -f "$1" && test -x "$1"
78657 } # as_fn_executable_p
78658 as_test_x='test -x'
78659 as_executable_p=as_fn_executable_p
78661 # Sed expression to map a string onto a valid CPP name.
78662 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
78664 # Sed expression to map a string onto a valid variable name.
78665 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
78668 exec 6>&1
78669 ## ----------------------------------- ##
78670 ## Main body of $CONFIG_STATUS script. ##
78671 ## ----------------------------------- ##
78672 _ASEOF
78673 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
78675 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
78676 # Save the log message, to keep $0 and so on meaningful, and to
78677 # report actual input values of CONFIG_FILES etc. instead of their
78678 # values after options handling.
78679 ac_log="
78680 This file was extended by package-unused $as_me version-unused, which was
78681 generated by GNU Autoconf 2.69. Invocation command line was
78683 CONFIG_FILES = $CONFIG_FILES
78684 CONFIG_HEADERS = $CONFIG_HEADERS
78685 CONFIG_LINKS = $CONFIG_LINKS
78686 CONFIG_COMMANDS = $CONFIG_COMMANDS
78687 $ $0 $@
78689 on `(hostname || uname -n) 2>/dev/null | sed 1q`
78692 _ACEOF
78694 case $ac_config_files in *"
78695 "*) set x $ac_config_files; shift; ac_config_files=$*;;
78696 esac
78698 case $ac_config_headers in *"
78699 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
78700 esac
78703 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
78704 # Files that config.status was made for.
78705 config_files="$ac_config_files"
78706 config_headers="$ac_config_headers"
78707 config_commands="$ac_config_commands"
78709 _ACEOF
78711 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
78712 ac_cs_usage="\
78713 \`$as_me' instantiates files and other configuration actions
78714 from templates according to the current configuration. Unless the files
78715 and actions are specified as TAGs, all are instantiated by default.
78717 Usage: $0 [OPTION]... [TAG]...
78719 -h, --help print this help, then exit
78720 -V, --version print version number and configuration settings, then exit
78721 --config print configuration, then exit
78722 -q, --quiet, --silent
78723 do not print progress messages
78724 -d, --debug don't remove temporary files
78725 --recheck update $as_me by reconfiguring in the same conditions
78726 --file=FILE[:TEMPLATE]
78727 instantiate the configuration file FILE
78728 --header=FILE[:TEMPLATE]
78729 instantiate the configuration header FILE
78731 Configuration files:
78732 $config_files
78734 Configuration headers:
78735 $config_headers
78737 Configuration commands:
78738 $config_commands
78740 Report bugs to the package provider."
78742 _ACEOF
78743 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
78744 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
78745 ac_cs_version="\\
78746 package-unused config.status version-unused
78747 configured by $0, generated by GNU Autoconf 2.69,
78748 with options \\"\$ac_cs_config\\"
78750 Copyright (C) 2012 Free Software Foundation, Inc.
78751 This config.status script is free software; the Free Software Foundation
78752 gives unlimited permission to copy, distribute and modify it."
78754 ac_pwd='$ac_pwd'
78755 srcdir='$srcdir'
78756 INSTALL='$INSTALL'
78757 MKDIR_P='$MKDIR_P'
78758 AWK='$AWK'
78759 test -n "\$AWK" || AWK=awk
78760 _ACEOF
78762 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
78763 # The default lists apply if the user does not specify any file.
78764 ac_need_defaults=:
78765 while test $# != 0
78767 case $1 in
78768 --*=?*)
78769 ac_option=`expr "X$1" : 'X\([^=]*\)='`
78770 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
78771 ac_shift=:
78773 --*=)
78774 ac_option=`expr "X$1" : 'X\([^=]*\)='`
78775 ac_optarg=
78776 ac_shift=:
78779 ac_option=$1
78780 ac_optarg=$2
78781 ac_shift=shift
78783 esac
78785 case $ac_option in
78786 # Handling of the options.
78787 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
78788 ac_cs_recheck=: ;;
78789 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
78790 $as_echo "$ac_cs_version"; exit ;;
78791 --config | --confi | --conf | --con | --co | --c )
78792 $as_echo "$ac_cs_config"; exit ;;
78793 --debug | --debu | --deb | --de | --d | -d )
78794 debug=: ;;
78795 --file | --fil | --fi | --f )
78796 $ac_shift
78797 case $ac_optarg in
78798 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
78799 '') as_fn_error $? "missing file argument" ;;
78800 esac
78801 as_fn_append CONFIG_FILES " '$ac_optarg'"
78802 ac_need_defaults=false;;
78803 --header | --heade | --head | --hea )
78804 $ac_shift
78805 case $ac_optarg in
78806 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
78807 esac
78808 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
78809 ac_need_defaults=false;;
78810 --he | --h)
78811 # Conflict between --help and --header
78812 as_fn_error $? "ambiguous option: \`$1'
78813 Try \`$0 --help' for more information.";;
78814 --help | --hel | -h )
78815 $as_echo "$ac_cs_usage"; exit ;;
78816 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
78817 | -silent | --silent | --silen | --sile | --sil | --si | --s)
78818 ac_cs_silent=: ;;
78820 # This is an error.
78821 -*) as_fn_error $? "unrecognized option: \`$1'
78822 Try \`$0 --help' for more information." ;;
78824 *) as_fn_append ac_config_targets " $1"
78825 ac_need_defaults=false ;;
78827 esac
78828 shift
78829 done
78831 ac_configure_extra_args=
78833 if $ac_cs_silent; then
78834 exec 6>/dev/null
78835 ac_configure_extra_args="$ac_configure_extra_args --silent"
78838 _ACEOF
78839 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
78840 if \$ac_cs_recheck; then
78841 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
78842 shift
78843 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
78844 CONFIG_SHELL='$SHELL'
78845 export CONFIG_SHELL
78846 exec "\$@"
78849 _ACEOF
78850 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
78851 exec 5>>config.log
78853 echo
78854 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
78855 ## Running $as_me. ##
78856 _ASBOX
78857 $as_echo "$ac_log"
78858 } >&5
78860 _ACEOF
78861 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
78863 # INIT-COMMANDS
78866 srcdir="$srcdir"
78867 host="$host"
78868 target="$target"
78869 with_multisubdir="$with_multisubdir"
78870 with_multisrctop="$with_multisrctop"
78871 with_target_subdir="$with_target_subdir"
78872 ac_configure_args="${multilib_arg} ${ac_configure_args}"
78873 multi_basedir="$multi_basedir"
78874 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
78875 CC="$CC"
78876 CXX="$CXX"
78877 GFORTRAN="$GFORTRAN"
78878 GDC="$GDC"
78881 # The HP-UX ksh and POSIX shell print the target directory to stdout
78882 # if CDPATH is set.
78883 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
78885 sed_quote_subst='$sed_quote_subst'
78886 double_quote_subst='$double_quote_subst'
78887 delay_variable_subst='$delay_variable_subst'
78888 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
78889 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
78890 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
78891 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
78892 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
78893 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
78894 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
78895 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
78896 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
78897 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
78898 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
78899 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
78900 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
78901 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
78902 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
78903 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
78904 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
78905 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
78906 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
78907 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
78908 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
78909 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
78910 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
78911 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
78912 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
78913 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
78914 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
78915 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
78916 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
78917 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
78918 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
78919 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
78920 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
78921 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
78922 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
78923 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
78924 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
78925 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
78926 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
78927 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
78928 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
78929 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
78930 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
78931 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
78932 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
78933 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
78934 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
78935 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
78936 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"`'
78937 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
78938 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
78939 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
78940 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
78941 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
78942 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
78943 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
78944 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
78945 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
78946 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
78947 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
78948 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
78949 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
78950 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
78951 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
78952 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
78953 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
78954 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
78955 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
78956 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
78957 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
78958 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
78959 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
78960 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
78961 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
78962 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
78963 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
78964 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
78965 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
78966 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
78967 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
78968 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
78969 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
78970 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
78971 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
78972 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
78973 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
78974 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
78975 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
78976 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
78977 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
78978 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
78979 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
78980 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
78981 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
78982 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
78983 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
78984 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
78985 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
78986 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
78987 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
78988 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
78989 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
78990 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
78991 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
78992 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
78993 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
78994 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
78995 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
78996 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
78997 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
78998 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
78999 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
79000 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
79001 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
79002 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
79003 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
79004 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
79005 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
79006 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
79007 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
79008 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
79009 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
79010 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
79011 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
79012 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
79013 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
79014 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
79015 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
79016 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
79017 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
79018 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
79019 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
79020 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
79021 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
79022 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
79023 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
79024 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
79025 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
79026 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
79027 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
79028 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
79029 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
79030 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
79031 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
79032 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
79033 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
79034 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
79035 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
79036 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
79037 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
79038 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
79039 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
79040 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
79041 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
79042 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
79043 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
79044 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
79045 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
79046 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
79047 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
79048 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
79049 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
79050 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
79051 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
79052 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
79053 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
79054 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
79055 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
79056 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
79057 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
79058 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
79059 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
79060 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
79061 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
79062 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
79064 LTCC='$LTCC'
79065 LTCFLAGS='$LTCFLAGS'
79066 compiler='$compiler_DEFAULT'
79068 # A function that is used when there is no print builtin or printf.
79069 func_fallback_echo ()
79071 eval 'cat <<_LTECHO_EOF
79073 _LTECHO_EOF'
79076 # Quote evaled strings.
79077 for var in SHELL \
79078 ECHO \
79079 SED \
79080 GREP \
79081 EGREP \
79082 FGREP \
79083 LD \
79084 NM \
79085 LN_S \
79086 lt_SP2NL \
79087 lt_NL2SP \
79088 reload_flag \
79089 OBJDUMP \
79090 deplibs_check_method \
79091 file_magic_cmd \
79092 AR \
79093 AR_FLAGS \
79094 STRIP \
79095 RANLIB \
79096 CC \
79097 CFLAGS \
79098 compiler \
79099 lt_cv_sys_global_symbol_pipe \
79100 lt_cv_sys_global_symbol_to_cdecl \
79101 lt_cv_sys_global_symbol_to_c_name_address \
79102 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
79103 lt_prog_compiler_no_builtin_flag \
79104 lt_prog_compiler_wl \
79105 lt_prog_compiler_pic \
79106 lt_prog_compiler_static \
79107 lt_cv_prog_compiler_c_o \
79108 need_locks \
79109 DSYMUTIL \
79110 NMEDIT \
79111 LIPO \
79112 OTOOL \
79113 OTOOL64 \
79114 shrext_cmds \
79115 export_dynamic_flag_spec \
79116 whole_archive_flag_spec \
79117 compiler_needs_object \
79118 with_gnu_ld \
79119 allow_undefined_flag \
79120 no_undefined_flag \
79121 hardcode_libdir_flag_spec \
79122 hardcode_libdir_flag_spec_ld \
79123 hardcode_libdir_separator \
79124 fix_srcfile_path \
79125 exclude_expsyms \
79126 include_expsyms \
79127 file_list_spec \
79128 variables_saved_for_relink \
79129 libname_spec \
79130 library_names_spec \
79131 soname_spec \
79132 install_override_mode \
79133 finish_eval \
79134 old_striplib \
79135 striplib \
79136 compiler_lib_search_dirs \
79137 predep_objects \
79138 postdep_objects \
79139 predeps \
79140 postdeps \
79141 compiler_lib_search_path \
79142 LD_CXX \
79143 reload_flag_CXX \
79144 compiler_CXX \
79145 lt_prog_compiler_no_builtin_flag_CXX \
79146 lt_prog_compiler_wl_CXX \
79147 lt_prog_compiler_pic_CXX \
79148 lt_prog_compiler_static_CXX \
79149 lt_cv_prog_compiler_c_o_CXX \
79150 export_dynamic_flag_spec_CXX \
79151 whole_archive_flag_spec_CXX \
79152 compiler_needs_object_CXX \
79153 with_gnu_ld_CXX \
79154 allow_undefined_flag_CXX \
79155 no_undefined_flag_CXX \
79156 hardcode_libdir_flag_spec_CXX \
79157 hardcode_libdir_flag_spec_ld_CXX \
79158 hardcode_libdir_separator_CXX \
79159 fix_srcfile_path_CXX \
79160 exclude_expsyms_CXX \
79161 include_expsyms_CXX \
79162 file_list_spec_CXX \
79163 compiler_lib_search_dirs_CXX \
79164 predep_objects_CXX \
79165 postdep_objects_CXX \
79166 predeps_CXX \
79167 postdeps_CXX \
79168 compiler_lib_search_path_CXX; do
79169 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
79170 *[\\\\\\\`\\"\\\$]*)
79171 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
79174 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
79176 esac
79177 done
79179 # Double-quote double-evaled strings.
79180 for var in reload_cmds \
79181 old_postinstall_cmds \
79182 old_postuninstall_cmds \
79183 old_archive_cmds \
79184 extract_expsyms_cmds \
79185 old_archive_from_new_cmds \
79186 old_archive_from_expsyms_cmds \
79187 archive_cmds \
79188 archive_expsym_cmds \
79189 module_cmds \
79190 module_expsym_cmds \
79191 export_symbols_cmds \
79192 prelink_cmds \
79193 postinstall_cmds \
79194 postuninstall_cmds \
79195 finish_cmds \
79196 sys_lib_search_path_spec \
79197 sys_lib_dlsearch_path_spec \
79198 reload_cmds_CXX \
79199 old_archive_cmds_CXX \
79200 old_archive_from_new_cmds_CXX \
79201 old_archive_from_expsyms_cmds_CXX \
79202 archive_cmds_CXX \
79203 archive_expsym_cmds_CXX \
79204 module_cmds_CXX \
79205 module_expsym_cmds_CXX \
79206 export_symbols_cmds_CXX \
79207 prelink_cmds_CXX; do
79208 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
79209 *[\\\\\\\`\\"\\\$]*)
79210 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
79213 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
79215 esac
79216 done
79218 ac_aux_dir='$ac_aux_dir'
79219 xsi_shell='$xsi_shell'
79220 lt_shell_append='$lt_shell_append'
79222 # See if we are running on zsh, and set the options which allow our
79223 # commands through without removal of \ escapes INIT.
79224 if test -n "\${ZSH_VERSION+set}" ; then
79225 setopt NO_GLOB_SUBST
79229 PACKAGE='$PACKAGE'
79230 VERSION='$VERSION'
79231 TIMESTAMP='$TIMESTAMP'
79232 RM='$RM'
79233 ofile='$ofile'
79240 GCC="$GCC"
79241 CC="$CC"
79242 acx_cv_header_stdint="$acx_cv_header_stdint"
79243 acx_cv_type_int8_t="$acx_cv_type_int8_t"
79244 acx_cv_type_int16_t="$acx_cv_type_int16_t"
79245 acx_cv_type_int32_t="$acx_cv_type_int32_t"
79246 acx_cv_type_int64_t="$acx_cv_type_int64_t"
79247 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
79248 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
79249 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
79250 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
79251 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
79252 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
79253 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
79254 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
79255 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
79258 _ACEOF
79260 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
79262 # Handling of arguments.
79263 for ac_config_target in $ac_config_targets
79265 case $ac_config_target in
79266 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
79267 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
79268 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
79269 "include/gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
79270 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
79271 "scripts/testsuite_flags") CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
79272 "scripts/extract_symvers") CONFIG_FILES="$CONFIG_FILES scripts/extract_symvers" ;;
79273 "doc/xsl/customization.xsl") CONFIG_FILES="$CONFIG_FILES doc/xsl/customization.xsl" ;;
79274 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
79275 "libsupc++/Makefile") CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
79276 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
79277 "src/c++98/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++98/Makefile" ;;
79278 "src/c++11/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++11/Makefile" ;;
79279 "src/c++17/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++17/Makefile" ;;
79280 "src/c++20/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++20/Makefile" ;;
79281 "src/filesystem/Makefile") CONFIG_FILES="$CONFIG_FILES src/filesystem/Makefile" ;;
79282 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
79283 "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
79284 "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
79285 "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
79286 "generate-headers") CONFIG_COMMANDS="$CONFIG_COMMANDS generate-headers" ;;
79288 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
79289 esac
79290 done
79293 # If the user did not use the arguments to specify the items to instantiate,
79294 # then the envvar interface is used. Set only those that are not.
79295 # We use the long form for the default assignment because of an extremely
79296 # bizarre bug on SunOS 4.1.3.
79297 if $ac_need_defaults; then
79298 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
79299 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
79300 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
79303 # Have a temporary directory for convenience. Make it in the build tree
79304 # simply because there is no reason against having it here, and in addition,
79305 # creating and moving files from /tmp can sometimes cause problems.
79306 # Hook for its removal unless debugging.
79307 # Note that there is a small window in which the directory will not be cleaned:
79308 # after its creation but before its name has been assigned to `$tmp'.
79309 $debug ||
79311 tmp= ac_tmp=
79312 trap 'exit_status=$?
79313 : "${ac_tmp:=$tmp}"
79314 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
79316 trap 'as_fn_exit 1' 1 2 13 15
79318 # Create a (secure) tmp directory for tmp files.
79321 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
79322 test -d "$tmp"
79323 } ||
79325 tmp=./conf$$-$RANDOM
79326 (umask 077 && mkdir "$tmp")
79327 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
79328 ac_tmp=$tmp
79330 # Set up the scripts for CONFIG_FILES section.
79331 # No need to generate them if there are no CONFIG_FILES.
79332 # This happens for instance with `./config.status config.h'.
79333 if test -n "$CONFIG_FILES"; then
79336 ac_cr=`echo X | tr X '\015'`
79337 # On cygwin, bash can eat \r inside `` if the user requested igncr.
79338 # But we know of no other shell where ac_cr would be empty at this
79339 # point, so we can use a bashism as a fallback.
79340 if test "x$ac_cr" = x; then
79341 eval ac_cr=\$\'\\r\'
79343 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
79344 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
79345 ac_cs_awk_cr='\\r'
79346 else
79347 ac_cs_awk_cr=$ac_cr
79350 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
79351 _ACEOF
79355 echo "cat >conf$$subs.awk <<_ACEOF" &&
79356 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
79357 echo "_ACEOF"
79358 } >conf$$subs.sh ||
79359 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
79360 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
79361 ac_delim='%!_!# '
79362 for ac_last_try in false false false false false :; do
79363 . ./conf$$subs.sh ||
79364 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
79366 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
79367 if test $ac_delim_n = $ac_delim_num; then
79368 break
79369 elif $ac_last_try; then
79370 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
79371 else
79372 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
79374 done
79375 rm -f conf$$subs.sh
79377 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
79378 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
79379 _ACEOF
79380 sed -n '
79382 s/^/S["/; s/!.*/"]=/
79385 s/^[^!]*!//
79386 :repl
79387 t repl
79388 s/'"$ac_delim"'$//
79389 t delim
79392 s/\(.\{148\}\)..*/\1/
79393 t more1
79394 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
79397 b repl
79398 :more1
79399 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
79402 s/.\{148\}//
79403 t nl
79404 :delim
79406 s/\(.\{148\}\)..*/\1/
79407 t more2
79408 s/["\\]/\\&/g; s/^/"/; s/$/"/
79411 :more2
79412 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
79415 s/.\{148\}//
79416 t delim
79417 ' <conf$$subs.awk | sed '
79418 /^[^""]/{
79420 s/\n//
79422 ' >>$CONFIG_STATUS || ac_write_fail=1
79423 rm -f conf$$subs.awk
79424 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
79425 _ACAWK
79426 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
79427 for (key in S) S_is_set[key] = 1
79428 FS = "\a"
79432 line = $ 0
79433 nfields = split(line, field, "@")
79434 substed = 0
79435 len = length(field[1])
79436 for (i = 2; i < nfields; i++) {
79437 key = field[i]
79438 keylen = length(key)
79439 if (S_is_set[key]) {
79440 value = S[key]
79441 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
79442 len += length(value) + length(field[++i])
79443 substed = 1
79444 } else
79445 len += 1 + keylen
79448 print line
79451 _ACAWK
79452 _ACEOF
79453 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
79454 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
79455 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
79456 else
79458 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
79459 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
79460 _ACEOF
79462 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
79463 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
79464 # trailing colons and then remove the whole line if VPATH becomes empty
79465 # (actually we leave an empty line to preserve line numbers).
79466 if test "x$srcdir" = x.; then
79467 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
79469 s///
79470 s/^/:/
79471 s/[ ]*$/:/
79472 s/:\$(srcdir):/:/g
79473 s/:\${srcdir}:/:/g
79474 s/:@srcdir@:/:/g
79475 s/^:*//
79476 s/:*$//
79478 s/\(=[ ]*\).*/\1/
79480 s/\n//
79481 s/^[^=]*=[ ]*$//
79485 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
79486 fi # test -n "$CONFIG_FILES"
79488 # Set up the scripts for CONFIG_HEADERS section.
79489 # No need to generate them if there are no CONFIG_HEADERS.
79490 # This happens for instance with `./config.status Makefile'.
79491 if test -n "$CONFIG_HEADERS"; then
79492 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
79493 BEGIN {
79494 _ACEOF
79496 # Transform confdefs.h into an awk script `defines.awk', embedded as
79497 # here-document in config.status, that substitutes the proper values into
79498 # config.h.in to produce config.h.
79500 # Create a delimiter string that does not exist in confdefs.h, to ease
79501 # handling of long lines.
79502 ac_delim='%!_!# '
79503 for ac_last_try in false false :; do
79504 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
79505 if test -z "$ac_tt"; then
79506 break
79507 elif $ac_last_try; then
79508 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
79509 else
79510 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
79512 done
79514 # For the awk script, D is an array of macro values keyed by name,
79515 # likewise P contains macro parameters if any. Preserve backslash
79516 # newline sequences.
79518 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
79519 sed -n '
79520 s/.\{148\}/&'"$ac_delim"'/g
79521 t rset
79522 :rset
79523 s/^[ ]*#[ ]*define[ ][ ]*/ /
79524 t def
79526 :def
79527 s/\\$//
79528 t bsnl
79529 s/["\\]/\\&/g
79530 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
79531 D["\1"]=" \3"/p
79532 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
79534 :bsnl
79535 s/["\\]/\\&/g
79536 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
79537 D["\1"]=" \3\\\\\\n"\\/p
79538 t cont
79539 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
79540 t cont
79542 :cont
79544 s/.\{148\}/&'"$ac_delim"'/g
79545 t clear
79546 :clear
79547 s/\\$//
79548 t bsnlc
79549 s/["\\]/\\&/g; s/^/"/; s/$/"/p
79551 :bsnlc
79552 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
79553 b cont
79554 ' <confdefs.h | sed '
79555 s/'"$ac_delim"'/"\\\
79556 "/g' >>$CONFIG_STATUS || ac_write_fail=1
79558 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
79559 for (key in D) D_is_set[key] = 1
79560 FS = "\a"
79562 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
79563 line = \$ 0
79564 split(line, arg, " ")
79565 if (arg[1] == "#") {
79566 defundef = arg[2]
79567 mac1 = arg[3]
79568 } else {
79569 defundef = substr(arg[1], 2)
79570 mac1 = arg[2]
79572 split(mac1, mac2, "(") #)
79573 macro = mac2[1]
79574 prefix = substr(line, 1, index(line, defundef) - 1)
79575 if (D_is_set[macro]) {
79576 # Preserve the white space surrounding the "#".
79577 print prefix "define", macro P[macro] D[macro]
79578 next
79579 } else {
79580 # Replace #undef with comments. This is necessary, for example,
79581 # in the case of _POSIX_SOURCE, which is predefined and required
79582 # on some systems where configure will not decide to define it.
79583 if (defundef == "undef") {
79584 print "/*", prefix defundef, macro, "*/"
79585 next
79589 { print }
79590 _ACAWK
79591 _ACEOF
79592 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
79593 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
79594 fi # test -n "$CONFIG_HEADERS"
79597 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
79598 shift
79599 for ac_tag
79601 case $ac_tag in
79602 :[FHLC]) ac_mode=$ac_tag; continue;;
79603 esac
79604 case $ac_mode$ac_tag in
79605 :[FHL]*:*);;
79606 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
79607 :[FH]-) ac_tag=-:-;;
79608 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
79609 esac
79610 ac_save_IFS=$IFS
79611 IFS=:
79612 set x $ac_tag
79613 IFS=$ac_save_IFS
79614 shift
79615 ac_file=$1
79616 shift
79618 case $ac_mode in
79619 :L) ac_source=$1;;
79620 :[FH])
79621 ac_file_inputs=
79622 for ac_f
79624 case $ac_f in
79625 -) ac_f="$ac_tmp/stdin";;
79626 *) # Look for the file first in the build tree, then in the source tree
79627 # (if the path is not absolute). The absolute path cannot be DOS-style,
79628 # because $ac_f cannot contain `:'.
79629 test -f "$ac_f" ||
79630 case $ac_f in
79631 [\\/$]*) false;;
79632 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
79633 esac ||
79634 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
79635 esac
79636 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
79637 as_fn_append ac_file_inputs " '$ac_f'"
79638 done
79640 # Let's still pretend it is `configure' which instantiates (i.e., don't
79641 # use $as_me), people would be surprised to read:
79642 # /* config.h. Generated by config.status. */
79643 configure_input='Generated from '`
79644 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
79645 `' by configure.'
79646 if test x"$ac_file" != x-; then
79647 configure_input="$ac_file. $configure_input"
79648 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
79649 $as_echo "$as_me: creating $ac_file" >&6;}
79651 # Neutralize special characters interpreted by sed in replacement strings.
79652 case $configure_input in #(
79653 *\&* | *\|* | *\\* )
79654 ac_sed_conf_input=`$as_echo "$configure_input" |
79655 sed 's/[\\\\&|]/\\\\&/g'`;; #(
79656 *) ac_sed_conf_input=$configure_input;;
79657 esac
79659 case $ac_tag in
79660 *:-:* | *:-) cat >"$ac_tmp/stdin" \
79661 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
79662 esac
79664 esac
79666 ac_dir=`$as_dirname -- "$ac_file" ||
79667 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
79668 X"$ac_file" : 'X\(//\)[^/]' \| \
79669 X"$ac_file" : 'X\(//\)$' \| \
79670 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
79671 $as_echo X"$ac_file" |
79672 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
79673 s//\1/
79676 /^X\(\/\/\)[^/].*/{
79677 s//\1/
79680 /^X\(\/\/\)$/{
79681 s//\1/
79684 /^X\(\/\).*/{
79685 s//\1/
79688 s/.*/./; q'`
79689 as_dir="$ac_dir"; as_fn_mkdir_p
79690 ac_builddir=.
79692 case "$ac_dir" in
79693 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
79695 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
79696 # A ".." for each directory in $ac_dir_suffix.
79697 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
79698 case $ac_top_builddir_sub in
79699 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
79700 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
79701 esac ;;
79702 esac
79703 ac_abs_top_builddir=$ac_pwd
79704 ac_abs_builddir=$ac_pwd$ac_dir_suffix
79705 # for backward compatibility:
79706 ac_top_builddir=$ac_top_build_prefix
79708 case $srcdir in
79709 .) # We are building in place.
79710 ac_srcdir=.
79711 ac_top_srcdir=$ac_top_builddir_sub
79712 ac_abs_top_srcdir=$ac_pwd ;;
79713 [\\/]* | ?:[\\/]* ) # Absolute name.
79714 ac_srcdir=$srcdir$ac_dir_suffix;
79715 ac_top_srcdir=$srcdir
79716 ac_abs_top_srcdir=$srcdir ;;
79717 *) # Relative name.
79718 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
79719 ac_top_srcdir=$ac_top_build_prefix$srcdir
79720 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
79721 esac
79722 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
79725 case $ac_mode in
79728 # CONFIG_FILE
79731 case $INSTALL in
79732 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
79733 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
79734 esac
79735 ac_MKDIR_P=$MKDIR_P
79736 case $MKDIR_P in
79737 [\\/$]* | ?:[\\/]* ) ;;
79738 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
79739 esac
79740 _ACEOF
79742 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
79743 # If the template does not know about datarootdir, expand it.
79744 # FIXME: This hack should be removed a few years after 2.60.
79745 ac_datarootdir_hack=; ac_datarootdir_seen=
79746 ac_sed_dataroot='
79747 /datarootdir/ {
79751 /@datadir@/p
79752 /@docdir@/p
79753 /@infodir@/p
79754 /@localedir@/p
79755 /@mandir@/p'
79756 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
79757 *datarootdir*) ac_datarootdir_seen=yes;;
79758 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
79759 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
79760 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
79761 _ACEOF
79762 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
79763 ac_datarootdir_hack='
79764 s&@datadir@&$datadir&g
79765 s&@docdir@&$docdir&g
79766 s&@infodir@&$infodir&g
79767 s&@localedir@&$localedir&g
79768 s&@mandir@&$mandir&g
79769 s&\\\${datarootdir}&$datarootdir&g' ;;
79770 esac
79771 _ACEOF
79773 # Neutralize VPATH when `$srcdir' = `.'.
79774 # Shell code in configure.ac might set extrasub.
79775 # FIXME: do we really want to maintain this feature?
79776 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
79777 ac_sed_extra="$ac_vpsub
79778 $extrasub
79779 _ACEOF
79780 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
79782 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
79783 s|@configure_input@|$ac_sed_conf_input|;t t
79784 s&@top_builddir@&$ac_top_builddir_sub&;t t
79785 s&@top_build_prefix@&$ac_top_build_prefix&;t t
79786 s&@srcdir@&$ac_srcdir&;t t
79787 s&@abs_srcdir@&$ac_abs_srcdir&;t t
79788 s&@top_srcdir@&$ac_top_srcdir&;t t
79789 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
79790 s&@builddir@&$ac_builddir&;t t
79791 s&@abs_builddir@&$ac_abs_builddir&;t t
79792 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
79793 s&@INSTALL@&$ac_INSTALL&;t t
79794 s&@MKDIR_P@&$ac_MKDIR_P&;t t
79795 $ac_datarootdir_hack
79797 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
79798 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
79800 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
79801 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
79802 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
79803 "$ac_tmp/out"`; test -z "$ac_out"; } &&
79804 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
79805 which seems to be undefined. Please make sure it is defined" >&5
79806 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
79807 which seems to be undefined. Please make sure it is defined" >&2;}
79809 rm -f "$ac_tmp/stdin"
79810 case $ac_file in
79811 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
79812 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
79813 esac \
79814 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
79818 # CONFIG_HEADER
79820 if test x"$ac_file" != x-; then
79822 $as_echo "/* $configure_input */" \
79823 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
79824 } >"$ac_tmp/config.h" \
79825 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
79826 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
79827 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
79828 $as_echo "$as_me: $ac_file is unchanged" >&6;}
79829 else
79830 rm -f "$ac_file"
79831 mv "$ac_tmp/config.h" "$ac_file" \
79832 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
79834 else
79835 $as_echo "/* $configure_input */" \
79836 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
79837 || as_fn_error $? "could not create -" "$LINENO" 5
79839 # Compute "$ac_file"'s index in $config_headers.
79840 _am_arg="$ac_file"
79841 _am_stamp_count=1
79842 for _am_header in $config_headers :; do
79843 case $_am_header in
79844 $_am_arg | $_am_arg:* )
79845 break ;;
79847 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
79848 esac
79849 done
79850 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
79851 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
79852 X"$_am_arg" : 'X\(//\)[^/]' \| \
79853 X"$_am_arg" : 'X\(//\)$' \| \
79854 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
79855 $as_echo X"$_am_arg" |
79856 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
79857 s//\1/
79860 /^X\(\/\/\)[^/].*/{
79861 s//\1/
79864 /^X\(\/\/\)$/{
79865 s//\1/
79868 /^X\(\/\).*/{
79869 s//\1/
79872 s/.*/./; q'`/stamp-h$_am_stamp_count
79875 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
79876 $as_echo "$as_me: executing $ac_file commands" >&6;}
79878 esac
79881 case $ac_file$ac_mode in
79882 "default-1":C)
79883 # Only add multilib support code if we just rebuilt the top-level
79884 # Makefile.
79885 case " $CONFIG_FILES " in
79886 *" Makefile "*)
79887 ac_file=Makefile . ${multi_basedir}/config-ml.in
79889 esac ;;
79890 "libtool":C)
79892 # See if we are running on zsh, and set the options which allow our
79893 # commands through without removal of \ escapes.
79894 if test -n "${ZSH_VERSION+set}" ; then
79895 setopt NO_GLOB_SUBST
79898 cfgfile="${ofile}T"
79899 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
79900 $RM "$cfgfile"
79902 cat <<_LT_EOF >> "$cfgfile"
79903 #! $SHELL
79905 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
79906 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
79907 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
79908 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
79910 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
79911 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
79912 # Written by Gordon Matzigkeit, 1996
79914 # This file is part of GNU Libtool.
79916 # GNU Libtool is free software; you can redistribute it and/or
79917 # modify it under the terms of the GNU General Public License as
79918 # published by the Free Software Foundation; either version 2 of
79919 # the License, or (at your option) any later version.
79921 # As a special exception to the GNU General Public License,
79922 # if you distribute this file as part of a program or library that
79923 # is built using GNU Libtool, you may include this file under the
79924 # same distribution terms that you use for the rest of that program.
79926 # GNU Libtool is distributed in the hope that it will be useful,
79927 # but WITHOUT ANY WARRANTY; without even the implied warranty of
79928 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
79929 # GNU General Public License for more details.
79931 # You should have received a copy of the GNU General Public License
79932 # along with GNU Libtool; see the file COPYING. If not, a copy
79933 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
79934 # obtained by writing to the Free Software Foundation, Inc.,
79935 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
79938 # The names of the tagged configurations supported by this script.
79939 available_tags="CXX "
79941 # ### BEGIN LIBTOOL CONFIG
79943 # Which release of libtool.m4 was used?
79944 macro_version=$macro_version
79945 macro_revision=$macro_revision
79947 # Whether or not to build shared libraries.
79948 build_libtool_libs=$enable_shared
79950 # Whether or not to build static libraries.
79951 build_old_libs=$enable_static
79953 # What type of objects to build.
79954 pic_mode=$pic_mode
79956 # Whether or not to optimize for fast installation.
79957 fast_install=$enable_fast_install
79959 # Shell to use when invoking shell scripts.
79960 SHELL=$lt_SHELL
79962 # An echo program that protects backslashes.
79963 ECHO=$lt_ECHO
79965 # The host system.
79966 host_alias=$host_alias
79967 host=$host
79968 host_os=$host_os
79970 # The build system.
79971 build_alias=$build_alias
79972 build=$build
79973 build_os=$build_os
79975 # A sed program that does not truncate output.
79976 SED=$lt_SED
79978 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
79979 Xsed="\$SED -e 1s/^X//"
79981 # A grep program that handles long lines.
79982 GREP=$lt_GREP
79984 # An ERE matcher.
79985 EGREP=$lt_EGREP
79987 # A literal string matcher.
79988 FGREP=$lt_FGREP
79990 # A BSD- or MS-compatible name lister.
79991 NM=$lt_NM
79993 # Whether we need soft or hard links.
79994 LN_S=$lt_LN_S
79996 # What is the maximum length of a command?
79997 max_cmd_len=$max_cmd_len
79999 # Object file suffix (normally "o").
80000 objext=$ac_objext
80002 # Executable file suffix (normally "").
80003 exeext=$exeext
80005 # whether the shell understands "unset".
80006 lt_unset=$lt_unset
80008 # turn spaces into newlines.
80009 SP2NL=$lt_lt_SP2NL
80011 # turn newlines into spaces.
80012 NL2SP=$lt_lt_NL2SP
80014 # An object symbol dumper.
80015 OBJDUMP=$lt_OBJDUMP
80017 # Method to check whether dependent libraries are shared objects.
80018 deplibs_check_method=$lt_deplibs_check_method
80020 # Command to use when deplibs_check_method == "file_magic".
80021 file_magic_cmd=$lt_file_magic_cmd
80023 # The archiver.
80024 AR=$lt_AR
80025 AR_FLAGS=$lt_AR_FLAGS
80027 # A symbol stripping program.
80028 STRIP=$lt_STRIP
80030 # Commands used to install an old-style archive.
80031 RANLIB=$lt_RANLIB
80032 old_postinstall_cmds=$lt_old_postinstall_cmds
80033 old_postuninstall_cmds=$lt_old_postuninstall_cmds
80035 # Whether to use a lock for old archive extraction.
80036 lock_old_archive_extraction=$lock_old_archive_extraction
80038 # A C compiler.
80039 LTCC=$lt_CC
80041 # LTCC compiler flags.
80042 LTCFLAGS=$lt_CFLAGS
80044 # Take the output of nm and produce a listing of raw symbols and C names.
80045 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
80047 # Transform the output of nm in a proper C declaration.
80048 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
80050 # Transform the output of nm in a C name address pair.
80051 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
80053 # Transform the output of nm in a C name address pair when lib prefix is needed.
80054 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
80056 # The name of the directory that contains temporary libtool files.
80057 objdir=$objdir
80059 # Used to examine libraries when file_magic_cmd begins with "file".
80060 MAGIC_CMD=$MAGIC_CMD
80062 # Must we lock files when doing compilation?
80063 need_locks=$lt_need_locks
80065 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
80066 DSYMUTIL=$lt_DSYMUTIL
80068 # Tool to change global to local symbols on Mac OS X.
80069 NMEDIT=$lt_NMEDIT
80071 # Tool to manipulate fat objects and archives on Mac OS X.
80072 LIPO=$lt_LIPO
80074 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
80075 OTOOL=$lt_OTOOL
80077 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
80078 OTOOL64=$lt_OTOOL64
80080 # Old archive suffix (normally "a").
80081 libext=$libext
80083 # Shared library suffix (normally ".so").
80084 shrext_cmds=$lt_shrext_cmds
80086 # The commands to extract the exported symbol list from a shared archive.
80087 extract_expsyms_cmds=$lt_extract_expsyms_cmds
80089 # Variables whose values should be saved in libtool wrapper scripts and
80090 # restored at link time.
80091 variables_saved_for_relink=$lt_variables_saved_for_relink
80093 # Do we need the "lib" prefix for modules?
80094 need_lib_prefix=$need_lib_prefix
80096 # Do we need a version for libraries?
80097 need_version=$need_version
80099 # Library versioning type.
80100 version_type=$version_type
80102 # Shared library runtime path variable.
80103 runpath_var=$runpath_var
80105 # Shared library path variable.
80106 shlibpath_var=$shlibpath_var
80108 # Is shlibpath searched before the hard-coded library search path?
80109 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
80111 # Format of library name prefix.
80112 libname_spec=$lt_libname_spec
80114 # List of archive names. First name is the real one, the rest are links.
80115 # The last name is the one that the linker finds with -lNAME
80116 library_names_spec=$lt_library_names_spec
80118 # The coded name of the library, if different from the real name.
80119 soname_spec=$lt_soname_spec
80121 # Permission mode override for installation of shared libraries.
80122 install_override_mode=$lt_install_override_mode
80124 # Command to use after installation of a shared archive.
80125 postinstall_cmds=$lt_postinstall_cmds
80127 # Command to use after uninstallation of a shared archive.
80128 postuninstall_cmds=$lt_postuninstall_cmds
80130 # Commands used to finish a libtool library installation in a directory.
80131 finish_cmds=$lt_finish_cmds
80133 # As "finish_cmds", except a single script fragment to be evaled but
80134 # not shown.
80135 finish_eval=$lt_finish_eval
80137 # Whether we should hardcode library paths into libraries.
80138 hardcode_into_libs=$hardcode_into_libs
80140 # Compile-time system search path for libraries.
80141 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
80143 # Run-time system search path for libraries.
80144 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
80146 # Whether dlopen is supported.
80147 dlopen_support=$enable_dlopen
80149 # Whether dlopen of programs is supported.
80150 dlopen_self=$enable_dlopen_self
80152 # Whether dlopen of statically linked programs is supported.
80153 dlopen_self_static=$enable_dlopen_self_static
80155 # Commands to strip libraries.
80156 old_striplib=$lt_old_striplib
80157 striplib=$lt_striplib
80160 # The linker used to build libraries.
80161 LD=$lt_LD
80163 # How to create reloadable object files.
80164 reload_flag=$lt_reload_flag
80165 reload_cmds=$lt_reload_cmds
80167 # Commands used to build an old-style archive.
80168 old_archive_cmds=$lt_old_archive_cmds
80170 # A language specific compiler.
80171 CC=$lt_compiler
80173 # Is the compiler the GNU compiler?
80174 with_gcc=$GCC
80176 # Compiler flag to turn off builtin functions.
80177 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
80179 # How to pass a linker flag through the compiler.
80180 wl=$lt_lt_prog_compiler_wl
80182 # Additional compiler flags for building library objects.
80183 pic_flag=$lt_lt_prog_compiler_pic
80185 # Compiler flag to prevent dynamic linking.
80186 link_static_flag=$lt_lt_prog_compiler_static
80188 # Does compiler simultaneously support -c and -o options?
80189 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
80191 # Whether or not to add -lc for building shared libraries.
80192 build_libtool_need_lc=$archive_cmds_need_lc
80194 # Whether or not to disallow shared libs when runtime libs are static.
80195 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
80197 # Compiler flag to allow reflexive dlopens.
80198 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
80200 # Compiler flag to generate shared objects directly from archives.
80201 whole_archive_flag_spec=$lt_whole_archive_flag_spec
80203 # Whether the compiler copes with passing no objects directly.
80204 compiler_needs_object=$lt_compiler_needs_object
80206 # Create an old-style archive from a shared archive.
80207 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
80209 # Create a temporary old-style archive to link instead of a shared archive.
80210 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
80212 # Commands used to build a shared archive.
80213 archive_cmds=$lt_archive_cmds
80214 archive_expsym_cmds=$lt_archive_expsym_cmds
80216 # Commands used to build a loadable module if different from building
80217 # a shared archive.
80218 module_cmds=$lt_module_cmds
80219 module_expsym_cmds=$lt_module_expsym_cmds
80221 # Whether we are building with GNU ld or not.
80222 with_gnu_ld=$lt_with_gnu_ld
80224 # Flag that allows shared libraries with undefined symbols to be built.
80225 allow_undefined_flag=$lt_allow_undefined_flag
80227 # Flag that enforces no undefined symbols.
80228 no_undefined_flag=$lt_no_undefined_flag
80230 # Flag to hardcode \$libdir into a binary during linking.
80231 # This must work even if \$libdir does not exist
80232 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
80234 # If ld is used when linking, flag to hardcode \$libdir into a binary
80235 # during linking. This must work even if \$libdir does not exist.
80236 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
80238 # Whether we need a single "-rpath" flag with a separated argument.
80239 hardcode_libdir_separator=$lt_hardcode_libdir_separator
80241 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
80242 # DIR into the resulting binary.
80243 hardcode_direct=$hardcode_direct
80245 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
80246 # DIR into the resulting binary and the resulting library dependency is
80247 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
80248 # library is relocated.
80249 hardcode_direct_absolute=$hardcode_direct_absolute
80251 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
80252 # into the resulting binary.
80253 hardcode_minus_L=$hardcode_minus_L
80255 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
80256 # into the resulting binary.
80257 hardcode_shlibpath_var=$hardcode_shlibpath_var
80259 # Set to "yes" if building a shared library automatically hardcodes DIR
80260 # into the library and all subsequent libraries and executables linked
80261 # against it.
80262 hardcode_automatic=$hardcode_automatic
80264 # Set to yes if linker adds runtime paths of dependent libraries
80265 # to runtime path list.
80266 inherit_rpath=$inherit_rpath
80268 # Whether libtool must link a program against all its dependency libraries.
80269 link_all_deplibs=$link_all_deplibs
80271 # Fix the shell variable \$srcfile for the compiler.
80272 fix_srcfile_path=$lt_fix_srcfile_path
80274 # Set to "yes" if exported symbols are required.
80275 always_export_symbols=$always_export_symbols
80277 # The commands to list exported symbols.
80278 export_symbols_cmds=$lt_export_symbols_cmds
80280 # Symbols that should not be listed in the preloaded symbols.
80281 exclude_expsyms=$lt_exclude_expsyms
80283 # Symbols that must always be exported.
80284 include_expsyms=$lt_include_expsyms
80286 # Commands necessary for linking programs (against libraries) with templates.
80287 prelink_cmds=$lt_prelink_cmds
80289 # Specify filename containing input files.
80290 file_list_spec=$lt_file_list_spec
80292 # How to hardcode a shared library path into an executable.
80293 hardcode_action=$hardcode_action
80295 # The directories searched by this compiler when creating a shared library.
80296 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
80298 # Dependencies to place before and after the objects being linked to
80299 # create a shared library.
80300 predep_objects=$lt_predep_objects
80301 postdep_objects=$lt_postdep_objects
80302 predeps=$lt_predeps
80303 postdeps=$lt_postdeps
80305 # The library search path used internally by the compiler when linking
80306 # a shared library.
80307 compiler_lib_search_path=$lt_compiler_lib_search_path
80309 # ### END LIBTOOL CONFIG
80311 _LT_EOF
80313 case $host_os in
80314 aix3*)
80315 cat <<\_LT_EOF >> "$cfgfile"
80316 # AIX sometimes has problems with the GCC collect2 program. For some
80317 # reason, if we set the COLLECT_NAMES environment variable, the problems
80318 # vanish in a puff of smoke.
80319 if test "X${COLLECT_NAMES+set}" != Xset; then
80320 COLLECT_NAMES=
80321 export COLLECT_NAMES
80323 _LT_EOF
80325 esac
80328 ltmain="$ac_aux_dir/ltmain.sh"
80331 # We use sed instead of cat because bash on DJGPP gets confused if
80332 # if finds mixed CR/LF and LF-only lines. Since sed operates in
80333 # text mode, it properly converts lines to CR/LF. This bash problem
80334 # is reportedly fixed, but why not run on old versions too?
80335 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
80336 || (rm -f "$cfgfile"; exit 1)
80338 case $xsi_shell in
80339 yes)
80340 cat << \_LT_EOF >> "$cfgfile"
80342 # func_dirname file append nondir_replacement
80343 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
80344 # otherwise set result to NONDIR_REPLACEMENT.
80345 func_dirname ()
80347 case ${1} in
80348 */*) func_dirname_result="${1%/*}${2}" ;;
80349 * ) func_dirname_result="${3}" ;;
80350 esac
80353 # func_basename file
80354 func_basename ()
80356 func_basename_result="${1##*/}"
80359 # func_dirname_and_basename file append nondir_replacement
80360 # perform func_basename and func_dirname in a single function
80361 # call:
80362 # dirname: Compute the dirname of FILE. If nonempty,
80363 # add APPEND to the result, otherwise set result
80364 # to NONDIR_REPLACEMENT.
80365 # value returned in "$func_dirname_result"
80366 # basename: Compute filename of FILE.
80367 # value retuned in "$func_basename_result"
80368 # Implementation must be kept synchronized with func_dirname
80369 # and func_basename. For efficiency, we do not delegate to
80370 # those functions but instead duplicate the functionality here.
80371 func_dirname_and_basename ()
80373 case ${1} in
80374 */*) func_dirname_result="${1%/*}${2}" ;;
80375 * ) func_dirname_result="${3}" ;;
80376 esac
80377 func_basename_result="${1##*/}"
80380 # func_stripname prefix suffix name
80381 # strip PREFIX and SUFFIX off of NAME.
80382 # PREFIX and SUFFIX must not contain globbing or regex special
80383 # characters, hashes, percent signs, but SUFFIX may contain a leading
80384 # dot (in which case that matches only a dot).
80385 func_stripname ()
80387 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
80388 # positional parameters, so assign one to ordinary parameter first.
80389 func_stripname_result=${3}
80390 func_stripname_result=${func_stripname_result#"${1}"}
80391 func_stripname_result=${func_stripname_result%"${2}"}
80394 # func_opt_split
80395 func_opt_split ()
80397 func_opt_split_opt=${1%%=*}
80398 func_opt_split_arg=${1#*=}
80401 # func_lo2o object
80402 func_lo2o ()
80404 case ${1} in
80405 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
80406 *) func_lo2o_result=${1} ;;
80407 esac
80410 # func_xform libobj-or-source
80411 func_xform ()
80413 func_xform_result=${1%.*}.lo
80416 # func_arith arithmetic-term...
80417 func_arith ()
80419 func_arith_result=$(( $* ))
80422 # func_len string
80423 # STRING may not start with a hyphen.
80424 func_len ()
80426 func_len_result=${#1}
80429 _LT_EOF
80431 *) # Bourne compatible functions.
80432 cat << \_LT_EOF >> "$cfgfile"
80434 # func_dirname file append nondir_replacement
80435 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
80436 # otherwise set result to NONDIR_REPLACEMENT.
80437 func_dirname ()
80439 # Extract subdirectory from the argument.
80440 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
80441 if test "X$func_dirname_result" = "X${1}"; then
80442 func_dirname_result="${3}"
80443 else
80444 func_dirname_result="$func_dirname_result${2}"
80448 # func_basename file
80449 func_basename ()
80451 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
80455 # func_stripname prefix suffix name
80456 # strip PREFIX and SUFFIX off of NAME.
80457 # PREFIX and SUFFIX must not contain globbing or regex special
80458 # characters, hashes, percent signs, but SUFFIX may contain a leading
80459 # dot (in which case that matches only a dot).
80460 # func_strip_suffix prefix name
80461 func_stripname ()
80463 case ${2} in
80464 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
80465 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
80466 esac
80469 # sed scripts:
80470 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
80471 my_sed_long_arg='1s/^-[^=]*=//'
80473 # func_opt_split
80474 func_opt_split ()
80476 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
80477 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
80480 # func_lo2o object
80481 func_lo2o ()
80483 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
80486 # func_xform libobj-or-source
80487 func_xform ()
80489 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
80492 # func_arith arithmetic-term...
80493 func_arith ()
80495 func_arith_result=`expr "$@"`
80498 # func_len string
80499 # STRING may not start with a hyphen.
80500 func_len ()
80502 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
80505 _LT_EOF
80506 esac
80508 case $lt_shell_append in
80509 yes)
80510 cat << \_LT_EOF >> "$cfgfile"
80512 # func_append var value
80513 # Append VALUE to the end of shell variable VAR.
80514 func_append ()
80516 eval "$1+=\$2"
80518 _LT_EOF
80521 cat << \_LT_EOF >> "$cfgfile"
80523 # func_append var value
80524 # Append VALUE to the end of shell variable VAR.
80525 func_append ()
80527 eval "$1=\$$1\$2"
80530 _LT_EOF
80532 esac
80535 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
80536 || (rm -f "$cfgfile"; exit 1)
80538 mv -f "$cfgfile" "$ofile" ||
80539 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
80540 chmod +x "$ofile"
80543 cat <<_LT_EOF >> "$ofile"
80545 # ### BEGIN LIBTOOL TAG CONFIG: CXX
80547 # The linker used to build libraries.
80548 LD=$lt_LD_CXX
80550 # How to create reloadable object files.
80551 reload_flag=$lt_reload_flag_CXX
80552 reload_cmds=$lt_reload_cmds_CXX
80554 # Commands used to build an old-style archive.
80555 old_archive_cmds=$lt_old_archive_cmds_CXX
80557 # A language specific compiler.
80558 CC=$lt_compiler_CXX
80560 # Is the compiler the GNU compiler?
80561 with_gcc=$GCC_CXX
80563 # Compiler flag to turn off builtin functions.
80564 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
80566 # How to pass a linker flag through the compiler.
80567 wl=$lt_lt_prog_compiler_wl_CXX
80569 # Additional compiler flags for building library objects.
80570 pic_flag=$lt_lt_prog_compiler_pic_CXX
80572 # Compiler flag to prevent dynamic linking.
80573 link_static_flag=$lt_lt_prog_compiler_static_CXX
80575 # Does compiler simultaneously support -c and -o options?
80576 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
80578 # Whether or not to add -lc for building shared libraries.
80579 build_libtool_need_lc=$archive_cmds_need_lc_CXX
80581 # Whether or not to disallow shared libs when runtime libs are static.
80582 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
80584 # Compiler flag to allow reflexive dlopens.
80585 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
80587 # Compiler flag to generate shared objects directly from archives.
80588 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
80590 # Whether the compiler copes with passing no objects directly.
80591 compiler_needs_object=$lt_compiler_needs_object_CXX
80593 # Create an old-style archive from a shared archive.
80594 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
80596 # Create a temporary old-style archive to link instead of a shared archive.
80597 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
80599 # Commands used to build a shared archive.
80600 archive_cmds=$lt_archive_cmds_CXX
80601 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
80603 # Commands used to build a loadable module if different from building
80604 # a shared archive.
80605 module_cmds=$lt_module_cmds_CXX
80606 module_expsym_cmds=$lt_module_expsym_cmds_CXX
80608 # Whether we are building with GNU ld or not.
80609 with_gnu_ld=$lt_with_gnu_ld_CXX
80611 # Flag that allows shared libraries with undefined symbols to be built.
80612 allow_undefined_flag=$lt_allow_undefined_flag_CXX
80614 # Flag that enforces no undefined symbols.
80615 no_undefined_flag=$lt_no_undefined_flag_CXX
80617 # Flag to hardcode \$libdir into a binary during linking.
80618 # This must work even if \$libdir does not exist
80619 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
80621 # If ld is used when linking, flag to hardcode \$libdir into a binary
80622 # during linking. This must work even if \$libdir does not exist.
80623 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
80625 # Whether we need a single "-rpath" flag with a separated argument.
80626 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
80628 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
80629 # DIR into the resulting binary.
80630 hardcode_direct=$hardcode_direct_CXX
80632 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
80633 # DIR into the resulting binary and the resulting library dependency is
80634 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
80635 # library is relocated.
80636 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
80638 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
80639 # into the resulting binary.
80640 hardcode_minus_L=$hardcode_minus_L_CXX
80642 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
80643 # into the resulting binary.
80644 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
80646 # Set to "yes" if building a shared library automatically hardcodes DIR
80647 # into the library and all subsequent libraries and executables linked
80648 # against it.
80649 hardcode_automatic=$hardcode_automatic_CXX
80651 # Set to yes if linker adds runtime paths of dependent libraries
80652 # to runtime path list.
80653 inherit_rpath=$inherit_rpath_CXX
80655 # Whether libtool must link a program against all its dependency libraries.
80656 link_all_deplibs=$link_all_deplibs_CXX
80658 # Fix the shell variable \$srcfile for the compiler.
80659 fix_srcfile_path=$lt_fix_srcfile_path_CXX
80661 # Set to "yes" if exported symbols are required.
80662 always_export_symbols=$always_export_symbols_CXX
80664 # The commands to list exported symbols.
80665 export_symbols_cmds=$lt_export_symbols_cmds_CXX
80667 # Symbols that should not be listed in the preloaded symbols.
80668 exclude_expsyms=$lt_exclude_expsyms_CXX
80670 # Symbols that must always be exported.
80671 include_expsyms=$lt_include_expsyms_CXX
80673 # Commands necessary for linking programs (against libraries) with templates.
80674 prelink_cmds=$lt_prelink_cmds_CXX
80676 # Specify filename containing input files.
80677 file_list_spec=$lt_file_list_spec_CXX
80679 # How to hardcode a shared library path into an executable.
80680 hardcode_action=$hardcode_action_CXX
80682 # The directories searched by this compiler when creating a shared library.
80683 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
80685 # Dependencies to place before and after the objects being linked to
80686 # create a shared library.
80687 predep_objects=$lt_predep_objects_CXX
80688 postdep_objects=$lt_postdep_objects_CXX
80689 predeps=$lt_predeps_CXX
80690 postdeps=$lt_postdeps_CXX
80692 # The library search path used internally by the compiler when linking
80693 # a shared library.
80694 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
80696 # ### END LIBTOOL TAG CONFIG: CXX
80697 _LT_EOF
80700 "include/gstdint.h":C)
80701 if test "$GCC" = yes; then
80702 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
80703 else
80704 echo "/* generated for $CC */" > tmp-stdint.h
80707 sed 's/^ *//' >> tmp-stdint.h <<EOF
80709 #ifndef GCC_GENERATED_STDINT_H
80710 #define GCC_GENERATED_STDINT_H 1
80712 #include <sys/types.h>
80715 if test "$acx_cv_header_stdint" != stdint.h; then
80716 echo "#include <stddef.h>" >> tmp-stdint.h
80718 if test "$acx_cv_header_stdint" != stddef.h; then
80719 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
80722 sed 's/^ *//' >> tmp-stdint.h <<EOF
80723 /* glibc uses these symbols as guards to prevent redefinitions. */
80724 #ifdef __int8_t_defined
80725 #define _INT8_T
80726 #define _INT16_T
80727 #define _INT32_T
80728 #endif
80729 #ifdef __uint32_t_defined
80730 #define _UINT32_T
80731 #endif
80735 # ----------------- done header, emit basic int types -------------
80736 if test "$acx_cv_header_stdint" = stddef.h; then
80737 sed 's/^ *//' >> tmp-stdint.h <<EOF
80739 #ifndef _UINT8_T
80740 #define _UINT8_T
80741 #ifndef __uint8_t_defined
80742 #define __uint8_t_defined
80743 #ifndef uint8_t
80744 typedef unsigned $acx_cv_type_int8_t uint8_t;
80745 #endif
80746 #endif
80747 #endif
80749 #ifndef _UINT16_T
80750 #define _UINT16_T
80751 #ifndef __uint16_t_defined
80752 #define __uint16_t_defined
80753 #ifndef uint16_t
80754 typedef unsigned $acx_cv_type_int16_t uint16_t;
80755 #endif
80756 #endif
80757 #endif
80759 #ifndef _UINT32_T
80760 #define _UINT32_T
80761 #ifndef __uint32_t_defined
80762 #define __uint32_t_defined
80763 #ifndef uint32_t
80764 typedef unsigned $acx_cv_type_int32_t uint32_t;
80765 #endif
80766 #endif
80767 #endif
80769 #ifndef _INT8_T
80770 #define _INT8_T
80771 #ifndef __int8_t_defined
80772 #define __int8_t_defined
80773 #ifndef int8_t
80774 typedef $acx_cv_type_int8_t int8_t;
80775 #endif
80776 #endif
80777 #endif
80779 #ifndef _INT16_T
80780 #define _INT16_T
80781 #ifndef __int16_t_defined
80782 #define __int16_t_defined
80783 #ifndef int16_t
80784 typedef $acx_cv_type_int16_t int16_t;
80785 #endif
80786 #endif
80787 #endif
80789 #ifndef _INT32_T
80790 #define _INT32_T
80791 #ifndef __int32_t_defined
80792 #define __int32_t_defined
80793 #ifndef int32_t
80794 typedef $acx_cv_type_int32_t int32_t;
80795 #endif
80796 #endif
80797 #endif
80799 elif test "$ac_cv_type_u_int32_t" = yes; then
80800 sed 's/^ *//' >> tmp-stdint.h <<EOF
80802 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
80803 #ifndef _INT8_T
80804 #define _INT8_T
80805 #endif
80806 #ifndef _INT16_T
80807 #define _INT16_T
80808 #endif
80809 #ifndef _INT32_T
80810 #define _INT32_T
80811 #endif
80813 #ifndef _UINT8_T
80814 #define _UINT8_T
80815 #ifndef __uint8_t_defined
80816 #define __uint8_t_defined
80817 #ifndef uint8_t
80818 typedef u_int8_t uint8_t;
80819 #endif
80820 #endif
80821 #endif
80823 #ifndef _UINT16_T
80824 #define _UINT16_T
80825 #ifndef __uint16_t_defined
80826 #define __uint16_t_defined
80827 #ifndef uint16_t
80828 typedef u_int16_t uint16_t;
80829 #endif
80830 #endif
80831 #endif
80833 #ifndef _UINT32_T
80834 #define _UINT32_T
80835 #ifndef __uint32_t_defined
80836 #define __uint32_t_defined
80837 #ifndef uint32_t
80838 typedef u_int32_t uint32_t;
80839 #endif
80840 #endif
80841 #endif
80843 else
80844 sed 's/^ *//' >> tmp-stdint.h <<EOF
80846 /* Some systems have guard macros to prevent redefinitions, define them. */
80847 #ifndef _INT8_T
80848 #define _INT8_T
80849 #endif
80850 #ifndef _INT16_T
80851 #define _INT16_T
80852 #endif
80853 #ifndef _INT32_T
80854 #define _INT32_T
80855 #endif
80856 #ifndef _UINT8_T
80857 #define _UINT8_T
80858 #endif
80859 #ifndef _UINT16_T
80860 #define _UINT16_T
80861 #endif
80862 #ifndef _UINT32_T
80863 #define _UINT32_T
80864 #endif
80868 # ------------- done basic int types, emit int64_t types ------------
80869 if test "$ac_cv_type_uint64_t" = yes; then
80870 sed 's/^ *//' >> tmp-stdint.h <<EOF
80872 /* system headers have good uint64_t and int64_t */
80873 #ifndef _INT64_T
80874 #define _INT64_T
80875 #endif
80876 #ifndef _UINT64_T
80877 #define _UINT64_T
80878 #endif
80880 elif test "$ac_cv_type_u_int64_t" = yes; then
80881 sed 's/^ *//' >> tmp-stdint.h <<EOF
80883 /* system headers have an u_int64_t (and int64_t) */
80884 #ifndef _INT64_T
80885 #define _INT64_T
80886 #endif
80887 #ifndef _UINT64_T
80888 #define _UINT64_T
80889 #ifndef __uint64_t_defined
80890 #define __uint64_t_defined
80891 #ifndef uint64_t
80892 typedef u_int64_t uint64_t;
80893 #endif
80894 #endif
80895 #endif
80897 elif test -n "$acx_cv_type_int64_t"; then
80898 sed 's/^ *//' >> tmp-stdint.h <<EOF
80900 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
80901 #ifndef _INT64_T
80902 #define _INT64_T
80903 #ifndef int64_t
80904 typedef $acx_cv_type_int64_t int64_t;
80905 #endif
80906 #endif
80907 #ifndef _UINT64_T
80908 #define _UINT64_T
80909 #ifndef __uint64_t_defined
80910 #define __uint64_t_defined
80911 #ifndef uint64_t
80912 typedef unsigned $acx_cv_type_int64_t uint64_t;
80913 #endif
80914 #endif
80915 #endif
80917 else
80918 sed 's/^ *//' >> tmp-stdint.h <<EOF
80920 /* some common heuristics for int64_t, using compiler-specific tests */
80921 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
80922 #ifndef _INT64_T
80923 #define _INT64_T
80924 #ifndef __int64_t_defined
80925 #ifndef int64_t
80926 typedef long long int64_t;
80927 #endif
80928 #endif
80929 #endif
80930 #ifndef _UINT64_T
80931 #define _UINT64_T
80932 #ifndef uint64_t
80933 typedef unsigned long long uint64_t;
80934 #endif
80935 #endif
80937 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
80938 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
80939 does not implement __extension__. But that compiler doesn't define
80940 __GNUC_MINOR__. */
80941 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
80942 # define __extension__
80943 # endif
80945 # ifndef _INT64_T
80946 # define _INT64_T
80947 # ifndef int64_t
80948 __extension__ typedef long long int64_t;
80949 # endif
80950 # endif
80951 # ifndef _UINT64_T
80952 # define _UINT64_T
80953 # ifndef uint64_t
80954 __extension__ typedef unsigned long long uint64_t;
80955 # endif
80956 # endif
80958 #elif !defined __STRICT_ANSI__
80959 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
80961 # ifndef _INT64_T
80962 # define _INT64_T
80963 # ifndef int64_t
80964 typedef __int64 int64_t;
80965 # endif
80966 # endif
80967 # ifndef _UINT64_T
80968 # define _UINT64_T
80969 # ifndef uint64_t
80970 typedef unsigned __int64 uint64_t;
80971 # endif
80972 # endif
80973 # endif /* compiler */
80975 #endif /* ANSI version */
80979 # ------------- done int64_t types, emit intptr types ------------
80980 if test "$ac_cv_type_uintptr_t" != yes; then
80981 sed 's/^ *//' >> tmp-stdint.h <<EOF
80983 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
80984 #ifndef __uintptr_t_defined
80985 #ifndef uintptr_t
80986 typedef u$acx_cv_type_intptr_t uintptr_t;
80987 #endif
80988 #endif
80989 #ifndef __intptr_t_defined
80990 #ifndef intptr_t
80991 typedef $acx_cv_type_intptr_t intptr_t;
80992 #endif
80993 #endif
80997 # ------------- done intptr types, emit int_least types ------------
80998 if test "$ac_cv_type_int_least32_t" != yes; then
80999 sed 's/^ *//' >> tmp-stdint.h <<EOF
81001 /* Define int_least types */
81002 typedef int8_t int_least8_t;
81003 typedef int16_t int_least16_t;
81004 typedef int32_t int_least32_t;
81005 #ifdef _INT64_T
81006 typedef int64_t int_least64_t;
81007 #endif
81009 typedef uint8_t uint_least8_t;
81010 typedef uint16_t uint_least16_t;
81011 typedef uint32_t uint_least32_t;
81012 #ifdef _UINT64_T
81013 typedef uint64_t uint_least64_t;
81014 #endif
81018 # ------------- done intptr types, emit int_fast types ------------
81019 if test "$ac_cv_type_int_fast32_t" != yes; then
81020 sed 's/^ *//' >> tmp-stdint.h <<EOF
81022 /* Define int_fast types. short is often slow */
81023 typedef int8_t int_fast8_t;
81024 typedef int int_fast16_t;
81025 typedef int32_t int_fast32_t;
81026 #ifdef _INT64_T
81027 typedef int64_t int_fast64_t;
81028 #endif
81030 typedef uint8_t uint_fast8_t;
81031 typedef unsigned int uint_fast16_t;
81032 typedef uint32_t uint_fast32_t;
81033 #ifdef _UINT64_T
81034 typedef uint64_t uint_fast64_t;
81035 #endif
81039 if test "$ac_cv_type_uintmax_t" != yes; then
81040 sed 's/^ *//' >> tmp-stdint.h <<EOF
81042 /* Define intmax based on what we found */
81043 #ifndef intmax_t
81044 #ifdef _INT64_T
81045 typedef int64_t intmax_t;
81046 #else
81047 typedef long intmax_t;
81048 #endif
81049 #endif
81050 #ifndef uintmax_t
81051 #ifdef _UINT64_T
81052 typedef uint64_t uintmax_t;
81053 #else
81054 typedef unsigned long uintmax_t;
81055 #endif
81056 #endif
81060 sed 's/^ *//' >> tmp-stdint.h <<EOF
81062 #endif /* GCC_GENERATED_STDINT_H */
81065 if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
81066 rm -f tmp-stdint.h
81067 else
81068 mv -f tmp-stdint.h include/gstdint.h
81072 "scripts/testsuite_flags":F) chmod +x scripts/testsuite_flags ;;
81073 "scripts/extract_symvers":F) chmod +x scripts/extract_symvers ;;
81074 "include/Makefile":F) cat > vpsed$$ << \_EOF
81075 s!`test -f '$<' || echo '$(srcdir)/'`!!
81076 _EOF
81077 sed -f vpsed$$ $ac_file > tmp$$
81078 mv tmp$$ $ac_file
81079 rm vpsed$$
81080 echo 'MULTISUBDIR =' >> $ac_file
81081 ml_norecursion=yes
81082 . ${multi_basedir}/config-ml.in
81083 { ml_norecursion=; unset ml_norecursion;}
81085 "libsupc++/Makefile":F) cat > vpsed$$ << \_EOF
81086 s!`test -f '$<' || echo '$(srcdir)/'`!!
81087 _EOF
81088 sed -f vpsed$$ $ac_file > tmp$$
81089 mv tmp$$ $ac_file
81090 rm vpsed$$
81091 echo 'MULTISUBDIR =' >> $ac_file
81092 ml_norecursion=yes
81093 . ${multi_basedir}/config-ml.in
81094 { ml_norecursion=; unset ml_norecursion;}
81096 "src/Makefile":F) cat > vpsed$$ << \_EOF
81097 s!`test -f '$<' || echo '$(srcdir)/'`!!
81098 _EOF
81099 sed -f vpsed$$ $ac_file > tmp$$
81100 mv tmp$$ $ac_file
81101 rm vpsed$$
81102 echo 'MULTISUBDIR =' >> $ac_file
81103 ml_norecursion=yes
81104 . ${multi_basedir}/config-ml.in
81105 { ml_norecursion=; unset ml_norecursion;}
81107 "src/c++98/Makefile":F) cat > vpsed$$ << \_EOF
81108 s!`test -f '$<' || echo '$(srcdir)/'`!!
81109 _EOF
81110 sed -f vpsed$$ $ac_file > tmp$$
81111 mv tmp$$ $ac_file
81112 rm vpsed$$
81113 echo 'MULTISUBDIR =' >> $ac_file
81114 ml_norecursion=yes
81115 . ${multi_basedir}/config-ml.in
81116 { ml_norecursion=; unset ml_norecursion;}
81118 "src/c++11/Makefile":F) cat > vpsed$$ << \_EOF
81119 s!`test -f '$<' || echo '$(srcdir)/'`!!
81120 _EOF
81121 sed -f vpsed$$ $ac_file > tmp$$
81122 mv tmp$$ $ac_file
81123 rm vpsed$$
81124 echo 'MULTISUBDIR =' >> $ac_file
81125 ml_norecursion=yes
81126 . ${multi_basedir}/config-ml.in
81127 { ml_norecursion=; unset ml_norecursion;}
81129 "src/c++17/Makefile":F) cat > vpsed$$ << \_EOF
81130 s!`test -f '$<' || echo '$(srcdir)/'`!!
81131 _EOF
81132 sed -f vpsed$$ $ac_file > tmp$$
81133 mv tmp$$ $ac_file
81134 rm vpsed$$
81135 echo 'MULTISUBDIR =' >> $ac_file
81136 ml_norecursion=yes
81137 . ${multi_basedir}/config-ml.in
81138 { ml_norecursion=; unset ml_norecursion;}
81140 "src/c++20/Makefile":F) cat > vpsed$$ << \_EOF
81141 s!`test -f '$<' || echo '$(srcdir)/'`!!
81142 _EOF
81143 sed -f vpsed$$ $ac_file > tmp$$
81144 mv tmp$$ $ac_file
81145 rm vpsed$$
81146 echo 'MULTISUBDIR =' >> $ac_file
81147 ml_norecursion=yes
81148 . ${multi_basedir}/config-ml.in
81149 { ml_norecursion=; unset ml_norecursion;}
81151 "src/filesystem/Makefile":F) cat > vpsed$$ << \_EOF
81152 s!`test -f '$<' || echo '$(srcdir)/'`!!
81153 _EOF
81154 sed -f vpsed$$ $ac_file > tmp$$
81155 mv tmp$$ $ac_file
81156 rm vpsed$$
81157 echo 'MULTISUBDIR =' >> $ac_file
81158 ml_norecursion=yes
81159 . ${multi_basedir}/config-ml.in
81160 { ml_norecursion=; unset ml_norecursion;}
81162 "doc/Makefile":F) cat > vpsed$$ << \_EOF
81163 s!`test -f '$<' || echo '$(srcdir)/'`!!
81164 _EOF
81165 sed -f vpsed$$ $ac_file > tmp$$
81166 mv tmp$$ $ac_file
81167 rm vpsed$$
81168 echo 'MULTISUBDIR =' >> $ac_file
81169 ml_norecursion=yes
81170 . ${multi_basedir}/config-ml.in
81171 { ml_norecursion=; unset ml_norecursion;}
81173 "po/Makefile":F) cat > vpsed$$ << \_EOF
81174 s!`test -f '$<' || echo '$(srcdir)/'`!!
81175 _EOF
81176 sed -f vpsed$$ $ac_file > tmp$$
81177 mv tmp$$ $ac_file
81178 rm vpsed$$
81179 echo 'MULTISUBDIR =' >> $ac_file
81180 ml_norecursion=yes
81181 . ${multi_basedir}/config-ml.in
81182 { ml_norecursion=; unset ml_norecursion;}
81184 "testsuite/Makefile":F) cat > vpsed$$ << \_EOF
81185 s!`test -f '$<' || echo '$(srcdir)/'`!!
81186 _EOF
81187 sed -f vpsed$$ $ac_file > tmp$$
81188 mv tmp$$ $ac_file
81189 rm vpsed$$
81190 echo 'MULTISUBDIR =' >> $ac_file
81191 ml_norecursion=yes
81192 . ${multi_basedir}/config-ml.in
81193 { ml_norecursion=; unset ml_norecursion;}
81195 "python/Makefile":F) cat > vpsed$$ << \_EOF
81196 s!`test -f '$<' || echo '$(srcdir)/'`!!
81197 _EOF
81198 sed -f vpsed$$ $ac_file > tmp$$
81199 mv tmp$$ $ac_file
81200 rm vpsed$$
81201 echo 'MULTISUBDIR =' >> $ac_file
81202 ml_norecursion=yes
81203 . ${multi_basedir}/config-ml.in
81204 { ml_norecursion=; unset ml_norecursion;}
81206 "generate-headers":C) (cd include && ${MAKE-make} pch_build= ) ;;
81208 esac
81209 done # for ac_tag
81212 as_fn_exit 0
81213 _ACEOF
81214 ac_clean_files=$ac_clean_files_save
81216 test $ac_write_fail = 0 ||
81217 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
81220 # configure is writing to config.log, and then calls config.status.
81221 # config.status does its own redirection, appending to config.log.
81222 # Unfortunately, on DOS this fails, as config.log is still kept open
81223 # by configure, so config.status won't be able to write to it; its
81224 # output is simply discarded. So we exec the FD to /dev/null,
81225 # effectively closing config.log, so it can be properly (re)opened and
81226 # appended to by config.status. When coming back to configure, we
81227 # need to make the FD available again.
81228 if test "$no_create" != yes; then
81229 ac_cs_success=:
81230 ac_config_status_args=
81231 test "$silent" = yes &&
81232 ac_config_status_args="$ac_config_status_args --quiet"
81233 exec 5>/dev/null
81234 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
81235 exec 5>>config.log
81236 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
81237 # would make configure fail if this is the last instruction.
81238 $ac_cs_success || as_fn_exit 1
81240 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
81241 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
81242 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}